Displaying 1 result from an estimated 1 matches for "q120".
Did you mean:
120
2010 Aug 13
1
mlogit error
...bservations.
I get the following error:
Error in `row.names<-.data.frame`(`*tmp*`, value = c("NA.NA", "NA.NA", :
duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique value when setting 'row.names': ‘NA.NA’
My code:
> flevel1$Q120<-as.factor(flevel1$Q120)
> MData<-mlogit.data(flevel1, varying=NULL,choice="Q120", shape="wide")
> LogitModel<-mlogit(flevel1$Q120~1|flevel1$Q92, data=MData)
MData[1:10,]
Q56 Q92 Q102 Q119 Q120
1.1 10 7 10 10 FALSE
1.10 10 7 10 10 TRUE
1.2...