View source: R/054-additional-process-measurement-0-7.R
| process_dependent_discrimination_audit | R Documentation |
Residualises a process variable against person/item baselines, then tests whether the theta-response slope changes with that residual process value. This is a transparent diagnostic inspired by 2026 evidence on conditional response-time/discrimination dependencies, not an exact reproduction of the published meta-analytic model.
process_dependent_discrimination_audit(
data,
response,
theta,
process,
person,
item,
nonlinear = TRUE
)
data |
Long-format response data. |
response |
Binary response column. |
theta |
Person latent-score column. |
process |
RT/gaze/process measure. |
person, item |
Identifier columns. |
nonlinear |
If TRUE and mgcv is installed, additionally estimate a smooth theta-by-process diagnostic surface. |
An object of class "eye_process_dependent_discrimination", stored as a named list, with components "process_model", "response_model", "interaction", "smooth_model", "residual_process", "status", "caveat". It contains process-dependent item discrimination and associated metadata or diagnostics needed to interpret the result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.