Learn R Programming

TestDesign (version 1.7.0)

incrementPhi: (Internal) Increment exposure record variable: phi

Description

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.

Usage

incrementPhi(
  exposure_record,
  segments_to_apply,
  segment_prob,
  assembly_was_feasible
)

Value

incrementPhi returns an updated exposure record.

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.