makeDiagnosticExposureRecord function

(Internal) Collect diagnostic exposure record

(Internal) Collect diagnostic exposure record

makeDiagnosticExposureRecord is an internal function for collecting diagnostic exposure record.

makeDiagnosticExposureRecord( true_theta, segment_record, diagnostic_exposure_record, config, simulation_constants )

Arguments

  • true_theta: examinee's true theta. Used to determine the segment the true theta belongs to.
  • segment_record: a named list containing counts on theta segments.
  • diagnostic_exposure_record: a named list containing the diagnostic exposure record.
  • config: a config_Shadow object. Use createShadowTestConfig for this.
  • simulation_constants: a named list containing simulation constants.

Returns

makeDiagnosticExposureRecord returns an updated exposure record.

  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22