New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dscore estimation under different transformations #29
Comments
stefvanbuuren
added a commit
that referenced
this issue
Oct 5, 2018
I have now found out that option 1 cannot work. The posteriors are not normal. See https://stefvanbuuren.name/dbook1/sec-dscoreestimation.html#numerical-example for an example that shows that it is skewed. |
The above code will not work anymore in |
stefvanbuuren
added a commit
that referenced
this issue
May 6, 2021
Solved in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would expect that ability estimation is insensitive to a linear transformation of the ability scale, but such turns out to be the case only approximately. The following script compares two scales (one D-score and one logit), that produces (slightly) different estimates.
When tracking down differences between the two methods, I found that taking out the division
(qp[2] - qp[1])
innormalize()
will produce the same prior. After that, the next divergence appears incpc <- t(exp(outer(0:m, qp) + c(0, -cumsum(delta))))
inposterior()
. This suggest that the exponential transform here introduces instability. I have no time to further dive in and smooth out differences, and have put back(qp[2] - qp[1])
intonormalise()
, but evidently this is somewhat fishy.Some options to pursue:
ltm
,sirt
or similar packages that can estimate EAP.The text was updated successfully, but these errors were encountered: