Displaying 5 results from an estimated 5 matches similar to: "trouble getting multinimial logit model to work properly"
2010 Mar 24
0
Getting choropleth map intervals correct
Hello all,
Working on mapping some probabilities using R to a geographic unit called a
TAZ. The below data will work but you will have to set your directory for
the shape file. Never did this before so hopefully this works. ResProbs is
just supposed to be a value between 0-1, sorry if that more complicated than
it needed to be.
TazFile <- "*directory*/TAZ.shp"
TazShape <-
2010 Mar 29
1
Question about 'logit' and 'mlogit' in Zelig
I'm running a multinomial logit in R using the Zelig packages. According to str(trade962a), my dependent variable is a factor with three levels. When I run the multinomial logit I get an error message. However, when I run 'model=logit' it works fine. any ideas on whats wrong?
## MULTINOMIAL LOGIT
anes96two <- zelig(trade962a ~ age962 + education962 + personal962 + economy962 +
2010 Mar 24
0
Zelig: Error message for 'mlogit'
I'm running a multinomial logit in R using the Zelig package. However I get the following error. HELP
anes96two <- zelig(trade962a ~ age962 + education962 + personal962 + economy962 + partisan962 + employment962 + union962 + home962 + market962 + race962 + income962, model="mlogit", data=data96)
#Error in attr(tt, "depFactors")$depFactorVar :
# $ operator is invalid
2010 Mar 24
0
R-help ordinal regression
Dear colleagues,
i am carrying out an ordinal regression model. I try it on SPSS but I "flirt" with R as well. I have a few questions.
1. What is the most reliable/tested/trusted package for ordinal regression in the R world?
2. Also, I have a statistical question. What is the danger of having to many 'empty cells' in ordinal regression? How many empty cells are too many? Do
2005 Aug 19
1
How to create design matrix for LLMNL?
Hello,
I have a small problem with developing design matrix X, which I use in
estimation the log-likelihood of a multinomial logit model.
I have the data:
number of observation - 289
number of choice alternative- 3
number of choice specific variables in matrix X -4
matrix X =289x4
I tried to use the function createX, I know that I have to get design matrix
289x12 (am I right?) but