Displaying 1 result from an estimated 1 matches for "mallidata".
Did you mean:
call_data
2011 Oct 25
1
McFadden r^2 and the inrercept
...logit 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+seitsemäntaikahdeksa...