adjustAlphaToReduceSpike function

(Internal) Apply spike-reduction mechanism on exposure rates

(Internal) Apply spike-reduction mechanism on exposure rates

adjustAlphaToReduceSpike is an internal function for applying spike-reduction mechanism on exposure rates.

adjustAlphaToReduceSpike( exposure_record, segment_prob_of_final_theta, segments_visited, eligibility_flag_in_final_theta_segment, x, simulation_constants )

Arguments

  • exposure_record: a named list containing exposure records.
  • segment_prob_of_final_theta: the certainty that the final theta estimate belongs in the segment for the final theta estimate. This is 1 when exposure control method is ELIGIBILITY, BIGM, and a probability when exposure control method is BIGM-BAYESIAN.
  • segments_visited: visited segments. This means a set of all segments that all interim theta estimates for this examinee belonged to. The segment that the final theta estimate belonged to is not considered a visited segment.
  • eligibility_flag_in_final_theta_segment: a named list containing eligibility flags in the segment the final theta estimate belongs to.
  • x: an output_Shadow object, containing data for a single examinee.
  • simulation_constants: a named list containing simulation constants.

Returns

clipEligibilityRates returns an updated exposure record.

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