Displaying 2 results from an estimated 2 matches for "logitmodel".
2007 May 18
1
Bootstrapped standard errors
Dear Friends,
I'm trying to learn to how to get Bootstrapped standard errors for estimated coefficients from a regression.
For instance suppose I have the following model
logitmodel <- glm (y~X1+X2+X3, family=binomial(link="logit"))
beta <- logitmodel$coef
can somebody please guide me on how to use the package boot to obtain bootstrapped SE's for the associated betas.
Thanks in advance
Anup
---------------------------------
Boardwalk for $500?...
2010 Aug 13
1
mlogit error
...:
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 10 7 10 10 FALSE
1.3 10 7 10 10 FALSE
1.4 10 7 10 10 FALSE
1.5 10 7 10 10 FALSE
1.6 10 7 10 10 FALSE
1....