mod = mirt(Science, 1)
kk=residuals(mod,type='exp')
## I get output as
> head(kk) Comfort Work Future Benefit freq exp res86 1 1 1 1 2 0.124 5.32254 1 3 2 1 1 0.067 3.60516 1 4 2 3 1 0.019 7.04685 1 4 3 1 1 0.006 12.64390 2 1 1 1 1 0.460 0.79557 2 1 2 4 1 0.095 2.932
> itemfit(mod)
Data adjusted so that the lowest category score for every item is 0
item Zh S_X2 df.S_X2 p.S_X2
1 Comfort 0.8609461 5.400696 6 0.4935
2 Work 1.9936005 9.356583 9 0.4050
3 Future 5.0158486 7.731649 8 0.4601
4 Benefit 1.9387007 10.094663 11 0.5219Enter code here...Hello Everyone,
What is the significance of residuals ( below is the output and syntax of the usage)
mod = mirt(Science, 1)
kk=residuals(mod,type='exp')
## I get output as> head(kk)Comfort Work Future Benefit freq exp res86 1 1 1 1 2 0.124 5.32254 1 3 2 1 1 0.067 3.60516 1 4 2 3 1 0.019 7.04685 1 4 3 1 1 0.006 12.64390 2 1 1 1 1 0.460 0.79557 2 1 2 4 1 0.095 2.932
Suppose I also have itemfit output> itemfit(mod)
Data adjusted so that the lowest category score for every item is 0
item Zh S_X2 df.S_X2 p.S_X2
1 Comfort 0.8609461 5.400696 6 0.4935
2 Work 1.9936005 9.356583 9 0.4050
3 Future 5.0158486 7.731649 8 0.4601
4 Benefit 1.9387007 10.094663 11 0.5219
Now my question is what extra information does "residuals" giving me about the items when I already have so many item-statistics telling me about goodness of that item?
How one should interpret the residuals ( terminology "margins" was used in "ltm" package for the residuals/ in other words how one should interpret residuals?
Enter code here...
--
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.
For more options, visit https://groups.google.com/d/optout.
Hello Phil,
Let me put is this way:
in that residual-method function if you specify restype or type='exp' then you get the output something as below,
mod = mirt(Science, 1)
residls=residuals(mod,type='exp')
head(residls)(Reference: http://www.jstatsoft.org/v48/i06/paper page number 11)Comfort Work Future Benefit freq exp res86 1 1 1 1 2 0.124 5.32254 1 3 2 1 1 0.067 3.60516 1 4 2 3 1 0.019 7.04685 1 4 3 1 1 0.006 12.64390 2 1 1 1 1 0.460 0.79557 2 1 2 4 1 0.095 2.932
Now how one should interpreter this output? I hope this one make more sense.