Displaying 2 results from an estimated 2 matches for "taul1".
Did you mean:
tau1
2011 Oct 25
1
McFadden r^2 and the inrercept
...f my data with mlogit and the following commands. I would 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+...
2011 Dec 19
1
Mlogit missing value problem
...ain. Now the attached sambledata is in csv form 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 thi...