incrementPhi: (Internal) Increment exposure record variable: phi

View source: R/eligibility_functions.R

incrementPhiR Documentation

(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
)

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.

Value

incrementPhi returns an updated exposure record.


TestDesign documentation built on Sept. 11, 2024, 7:12 p.m.