Hi Phil,
I hope you’re well – I have a question about how we can estimate the M2/M2*/C2 statistic for longitudinal IRT models.
The C2 statistic compares the model-implied (expected) proportions of item response patterns against the observed proportions. However, it seems like the observed proportions and the expected proportions would be different at each timepoint. After reviewing the code, I can’t figure out how the function handles the multiple timepoints.
- Are the observed proportions computed using both timepoints? The observed data is (of course) different at the two timepoints, so how do we handle that?
- Are the expected (model-implied) proportions computed using “Theta” variable from both timepoints? Again, I expect theta to be different at both timepoints, which one do I use?
- Finally, the N used to compute the statistic, if we are using data from multiple timepoints, does that impact the N value used?
That’s hard to articulate, so let me refer to the code in
the function in hopes of clarifying: https://github.com/philchalmers/mirt/blob/master/R/M2.R
- lines 175 and 176 are using variable “Theta” to compute the probability trace
- “EIs” and “prob” are then used later to compute the fit statistics
- Is Theta a single dimension or multidimensional? Do you compute a **unique** expected probability at each timepoint?
Would greatly appreciate any input on this, as I’m trying to write out the C2 statistic for a CDM/DCM and it’s giving me fits.
Thanks again for all the work you do on the mirt library and hope to thank you in person once conferences are back up and running.
Charlie
--
You received this message because you are subscribed to the Google Groups "mirt-package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mirt-package/cab4d9f8-ae97-42d1-90ad-fa54125b4fd1n%40googlegroups.com.