Displaying 1 result from an estimated 1 matches for "mincell".
Did you mean:
mikell
2012 Jun 19
1
weird --no 'dimnames' attribute for array-- error for R lordif package
...age - must be Stata 11 or earlier
racedata<- read.dta("race.dta")???
# item responses
resp.data<-racedata[,-c(1:2)]
# grouping variable is in the second column
af<-racedata[,2]
# run lordif
>race.dif<-lordif(resp.data, af, criterion="Chisqr", alpha=0.05, minCell=1)
>attributes(race.dif)
>ipar1 <- race.dif$ipar
> class(ipar1)
[1] "data.frame"
> class(resp.data)
[1] "data.frame"
> head(ipar1)
????????? a????? cb1
I1 2.565834 1.959045
I2 2.033049 1.389847
I3 2.693962 1.951471
I4 1.772003 1.864188
I5 3.478853...