Hello,

 

I'm new to R and work with psychometrics (Item response theory). I was using
a package called "cirt" to model a data that contains only 0s, 1s and 9s. The
package is basically used for Monte Carlo Markov Chain estimation of
parameters and I specified 5000 iterations. The model seems to run fine but
when I try to recover odds ratio statistics using the function "irtfit" (part
of the cirt package), I keep getting the following error. I tried to already
look on R mailing list serves to understand what this could possibly mean. My
only understanding so far is that there is some entry in my data set that is
not a 0, 1 or a 9..or that there's some spacing issue? I did check my data
thoroughly though and there seems to be no issue. 

 

Odds Ratio Statistic 
                 item   Error in rep("*", wholeWidths[i]) : invalid 'times'
argument

 

Can some one please advise? Any ideas would help. Thank you so much!

 

Rohini Sen


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to