I'm trying to get infit & outfit mean-square statistics for a Rasch model run with the raschtest command in Stata 15.1. The output displays and stores standardized infit & outfit statistics, but I specifically want mean-square infit and outfit (it's for a course assignment, so it's not a matter of the relative usefulness of the statistics but the assignment's requirements).
If you're unfamiliar with raschtest, you can find thorough documentation in the stata journal.
The documentation for the command indicates that I can get the unstandardized statistics using the genfit option, but that option keeps throwing an error. I reproduced the error with the code below, using data from De Boeck & Wilson (2004):
This produces the error __000028 not found, which I will admit has not really helped me understand the situation.
Any help on either how to fix the error produced by the genfit option or how to produce mean-square infit and outfit statistics using raschtest would be greatly appreciated!
If you're unfamiliar with raschtest, you can find thorough documentation in the stata journal.
The documentation for the command indicates that I can get the unstandardized statistics using the genfit option, but that option keeps throwing an error. I reproduced the error with the code below, using data from De Boeck & Wilson (2004):
Code:
webuse masc1 gen id = _n raschtest q1-q9, id(id) meandif genfit(outfit infit)
Any help on either how to fix the error produced by the genfit option or how to produce mean-square infit and outfit statistics using raschtest would be greatly appreciated!