Hi
I currently use Stata 12.
I have 25 test items assessing different components of clinical reasoning. Scores for each item range from 0-2 such that: 0 = wrong diagnosis, 1 = partially correct and 2 = Correct.
I have to compute test item reliability for each facet of clinical reasoning; because the items are scored in a ranked ordinal fashion as step #1, I must obtain a polychoric matrix & use that to compute ordinal reliability coefficients.
I have used the following command:
However, I am running into problems with obtaining this matrix; possibly because of the nature of my variables. ~~my variables do have missing values...some more than others.... Also, the possible range of scores for each item range from 0-2, and some test items were done very well (i.e. almost everyone got a '2') and others were done 50/50 (i.e most 1s)...and some were so difficult that most were left blank (i.e. uncompleted). For example, I have a qtn 17 that has blanks except for one individual/observation that scored a ‘1’.
As such, I keep getting errors messages to the tune of:
1. no variability in qtn17, (or other such qtns)
2. cant calculate numeric derivatives,
missing values encountered...
No variables defined.
3. Matrix R has missing values.
when I check the error code for #3, I get the message from stata that
see below:
~~
But if Stata now permits missing values in matrices (& im using Stata 12)...what is the option to specify that for that so that I can get the command to run ...?
How do I address missing values or lack of variability in items so as to get the polychoric matrix!! I'm pretty sure there has to be a way because I can’t imagine that there aren't datasets without missing values...
Any help on this would be greatly appreciated.
I currently use Stata 12.
I have 25 test items assessing different components of clinical reasoning. Scores for each item range from 0-2 such that: 0 = wrong diagnosis, 1 = partially correct and 2 = Correct.
I have to compute test item reliability for each facet of clinical reasoning; because the items are scored in a ranked ordinal fashion as step #1, I must obtain a polychoric matrix & use that to compute ordinal reliability coefficients.
I have used the following command:
Code:
~~ polychoric x* matrix r = r(R) factormat r, n(20) factors(1)
As such, I keep getting errors messages to the tune of:
1. no variability in qtn17, (or other such qtns)
2. cant calculate numeric derivatives,
missing values encountered...
No variables defined.
3. Matrix R has missing values.
when I check the error code for #3, I get the message from stata that
see below:
Code:
could not calculate numerical derivatives missing values encountered could not calculate numerical derivatives missing values encountered numerical derivatives are approximate nearby values are missing numerical derivatives are approximate nearby values are missing matrix r has missing values r(504);
Code:
~~ matrix has missing values; This return code is now infrequently used because, beginning with version 8, Stata now permits missing values in matrices.”
How do I address missing values or lack of variability in items so as to get the polychoric matrix!! I'm pretty sure there has to be a way because I can’t imagine that there aren't datasets without missing values...
Any help on this would be greatly appreciated.
Comment