incrementPhi function

(Internal) Increment exposure record variable: phi

(Internal) Increment exposure record variable: phi

incrementPhi is an internal function for incrementing an exposure record variable. Specifically, the f_k is incremented by one if the following conditions are simultaneously met:

  • For the final theta segment k, shadowtest assembly was feasible at least one times in any item position while interim theta segment was k.
incrementPhi( exposure_record, segments_to_apply, segment_prob, assembly_was_feasible )

Arguments

  • exposure_record: a named list containing exposure records.
  • segments_to_apply: which segments to apply fading to.
  • segment_prob: a vector containing segment-wise classification probabilities of an ability estimate.
  • assembly_was_feasible: see assemblyInFinalThetaSegmentWasFeasibleAtLeastOnceInInterimThetaSegments.

Returns

incrementPhi returns an updated exposure record.

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