| ty_link | R Documentation |
Latent-variable linking. The true scores on all occasions (interims on their own reporting scales, and the summative) are jointly multivariate normal, 'tau ~ MVN(mu, Sigma)'. Each observed score equals its true score plus error with the reported (known) SE, and any score may be missing. 'mu' and 'Sigma' are estimated by EM from all students; only the calibration cohort needs summative scores. Because measurement error is modeled rather than ignored, the regression of summative on interims is not attenuated, and a student's projection carries their own interim precision forward.
ty_link(
data,
interims = attr(data, "interims"),
summative = "S",
se_suffix = "_se",
max_iter = 1000,
tol = 1e-06
)
data |
Data frame with interim scores, the summative score, and their SEs. |
interims |
Interim score columns, in time order. |
summative |
Summative score column (NA for students without one yet). |
se_suffix |
Suffix of the SE columns. |
max_iter, tol |
EM controls; 'tol' is relative to the largest parameter in 'Sigma', so it does not depend on the reporting scales. |
A 'ty_link' object with 'mu', 'Sigma', 'vars', 'summative', 'converged', 'iterations' (EM step evaluations), 'loglik'.
sim <- ty_simulate(n_calibration = 300, n_operational = 300, seed = 1)
link <- ty_link(sim)
link
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.