search for: racedata

Displaying 2 results from an estimated 2 matches for "racedata".

Did you mean: tracedata
2012 Jun 19
1
weird --no 'dimnames' attribute for array-- error for R lordif package
Hi All, ? I am trying to use the lordif package in R and can't figure out the reason for the above error when I try to run the calctheta() function. ################## # read data using foreign package - 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) >i...
2011 Aug 25
1
duplicate 'row.names' are not allowed???
Hi I have an example file in excel and i have following instructions to open and analyze the data in it. > library(RODBC) > library(mlogit) > z<-odbcConnectExcel("C:\\2008 Racedata.xls") Everything ok untill the next command > x<-mlogit.data(y,choice="winner",shape="long",id.var="datekey",alt.var="horseno") Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.8", "1.11", "1.6", : dupl...