search for: voittaja

Displaying 3 results from an estimated 3 matches for "voittaja".

2011 Dec 18
2
Dealing with NAs
Hi I am trying to estimate parameter values with mlogit. I attach a part of my data. My code is x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero") summary(mlogit(voittaja ~ Ie-1 , data=x, na.action=na.pass)) But i get Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed Because there is Na in D2. What should i do to make i...
2011 Oct 25
1
McFadden r^2 and the inrercept
...ould like to know also the McFadden R^2 and the intercept, could soweone tell me how that can be done? library(RODBC) library(mlogit) library(foreign) z<-odbcConnectExcel("D:\\MALLI11ARVOT.xls") y<-sqlFetch(z,"Taul1") Mallidata=mlogit.data(y,choice="Voittaja",shape="long",id.var="Numeropäivälähtö",alt.var="Kilpailunumero") summary(mlogit(Voittaja ~ Onkokaikkikengätpois + Onkoosakengistäjalassa+ OurChoicedummy1 +MvaiN+OvaiR+LogFO+kaksi+kolme+neljä+viisi+kuusi+seitsemäntaikahdeksan+yhdeksäntaikymmenen-1 , data=Malli...
2011 Dec 19
1
Mlogit missing value problem
...and it is a part of my real data. I have tried different na.action operations but the result stays the same... My code > library(mlogit) > library(foreign) > z<-odbcConnectExcel("D:\\SAMBLEDATA.csv") > y<-sqlFetch(z,"Taul1") > x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero") > summary(mlogit(voittaja ~ Fa+Ie -1 , data=x, na.action=na.pass)) Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed The reason for this error is in the row 563. There the choice has va...