search for: cteth

Displaying 8 results from an estimated 8 matches for "cteth".

2017 Jul 27
2
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
Hi, Please help about the error I am getting after the h1.dat<- line : this line worked with much more independant variables and bigger data. This time I want to work with just 2 variables cteD & cteTh. What is wrong ? > setwd("C:/Rstudio/Trot") > library(mlogit) > horse1.data<-read.csv("cte2.csv") > h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long") Error in `[[<-.da...
2017 Jul 27
3
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...; On July 27, 2017 8:01:12 AM PDT, sandoz at free.fr wrote: >> Hi, >> Please help about the error I am getting after the h1.dat<- line : >> this line worked with much more independant variables and bigger data. >> This time I want to work with just 2 variables cteD & cteTh. >> What is wrong ? >> >>> setwd("C:/Rstudio/Trot") >>> library(mlogit) >>> horse1.data<-read.csv("cte2.csv") >>> >> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var=&quo...
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...e excuse my brevity. On July 27, 2017 8:01:12 AM PDT, sandoz at free.fr wrote: >Hi, >Please help about the error I am getting after the h1.dat<- line : >this line worked with much more independant variables and bigger data. >This time I want to work with just 2 variables cteD & cteTh. >What is wrong ? > >> setwd("C:/Rstudio/Trot") >> library(mlogit) >> horse1.data<-read.csv("cte2.csv") >> >h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="nbChev",shape="long&...
2017 Jul 27
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...17 8:01:12 AM PDT, sandoz at free.fr wrote: >>> Hi, >>> Please help about the error I am getting after the h1.dat<- line : >>> this line worked with much more independant variables and bigger data. >>> This time I want to work with just 2 variables cteD & cteTh. >>> What is wrong ? >>> >>>> setwd("C:/Rstudio/Trot") >>>> library(mlogit) >>>> horse1.data<-read.csv("cte2.csv") >>>> >>> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var=&quot...
2017 Jul 28
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
...gt;> library(mlogit) >> horse1.data<-read.csv("cte2.csv", header=TRUE, sep=";") >> h1.dat<-mlogit.data(data=horse1.data,choice="win",chid.var="raceid",alt.var="noChev",shape="long") > #mul1.model<-mlogit(win~cteD+cteTh|0|0,data=h1.dat) > #summary(mul1.model) > > Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) : > le tableau de remplacement a 0 lignes, le tableau remplac? en a 26 > >> head(horse1.data,27) > raceid nbChev cteD cteTh win > 1 1 9 29.6...
2017 Jul 28
1
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", "1.9", : duplicate 'row.names' are not allowed
...r in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", "1.9", : duplicate 'row.names' are not allowed In addition: Warning message: non-unique values when setting 'row.names': ?1.9?, ?2.17? > head(horse1.data,27) raceid nbChev cteD cteTh win 1 1 9 29.6 23.8 no 2 1 9 5.3 6.7 no 3 1 9 10.9 11.5 no 4 1 9 8.2 6.7 yes 5 1 9 17.8 18.2 no 6 1 9 26.0 30.0 no 7 1 9 4.4 5.7 no 8 1 9 4.9 6.0 no 9 1 9 4.5 6.9 n...
2017 Jul 28
0
Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit
....frame`(`*tmp*`, value = c("1.9", "1.9", >"1.9", : > duplicate 'row.names' are not allowed >In addition: Warning message: >non-unique values when setting 'row.names': ?1.9?, ?2.17? >> head(horse1.data,27) > raceid nbChev cteD cteTh win >1 1 9 29.6 23.8 no >2 1 9 5.3 6.7 no >3 1 9 10.9 11.5 no >4 1 9 8.2 6.7 yes >5 1 9 17.8 18.2 no >6 1 9 26.0 30.0 no >7 1 9 4.4 5.7 no >8 1 9 4.9 6.0 no...
2017 Aug 02
0
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.9", "1.9", "1.9", : duplicate 'row.names' are not allowed
...me`(`*tmp*`, value = c("1.9", "1.9", "1.9", : > duplicate 'row.names' are not allowed > In addition: Warning message: > non-unique values when setting 'row.names': ?1.9?, ?2.17? > > > head(horse1.data,27) > raceid nbChev cteD cteTh win > 1 1 9 29.6 23.8 no > 2 1 9 5.3 6.7 no > 3 1 9 10.9 11.5 no > 4 1 9 8.2 6.7 yes > 5 1 9 17.8 18.2 no > 6 1 9 26.0 30.0 no > 7 1 9 4.4 5.7 no > 8 1 9 4.9...