similar to: reduced set of alternatives in package mlogit

Displaying 20 results from an estimated 10000 matches similar to: "reduced set of alternatives in package mlogit"

2016 Mar 31
1
reduced set of alternatives in package mlogit
code? example data? We can only guess based on your vague post. "PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code." Moreover, this sounds like a statistical question, not a question about R programming, and so might be more appropriate for a statistical list like stats.stackexchange.com .
2016 Apr 01
0
reduced set of alternatives in package mlogit
-----Original Message----- From: Bert Gunter [mailto:bgunter.4567 at gmail.com] Sent: quinta-feira, 31 de mar?o de 2016 20:22 To: Jose Marcos Ferraro <jose.ferraro at LOGITeng.com> Cc: r-help at r-project.org Subject: Re: [R] reduced set of alternatives in package mlogit code? example data? We can only guess based on your vague post. "PLEASE do read the posting guide
2016 Apr 01
1
reduced set of alternatives in package mlogit
Hi Jose, You're referring to your response variable when you're saying it's missing some of the choices, right? Are your response choices ever known or do they just occur with extremely low frequency? Either way, I think the mlogit package would be inappropriate for you. I imagine you would have much better luck using MCMCpack or writing a model with rstan or something Bayesian.
2016 Apr 13
0
reduced set of alternatives in package mlogit
To back up Ber's please have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON Canada > -----Original Message----- > From: jose.ferraro at logiteng.com > Sent: Wed, 13 Apr 2016 17:18:35 +0000 > To: cdesjard at umn.edu > Subject: Re: [R] reduced set of
2012 Oct 01
2
mlogit and model-based recursive partitioning
Hello: Has anyone tried to model-based recursive partition (using mob from package party; thanks Achim and colleagues) a data set based on a multinomial logit model (using mlogit from package mlogit; thanks Yves)? I attempted to do so, but there are at least two reasons why I could not. First, in mob I am not quite sure that a model of class StatModel exists for mlogit models. Second, as
2010 Jun 06
2
fitting multinomial logistic regression
Sir, I want to fit a multinomial logistic regression in R.I think mlogit() is the function for doing this. mlogit () is in packege globaltest.But, I can not install this package. I use the following: install.packages("globaltest") Can you help me? Regards, Suman Dhara [[alternative HTML version deleted]]
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 07
3
mlogit
I am trying to follow this example for multinomial logistic regression http://www.ats.ucla.edu/stat/r/dae/mlogit.htm However, I cannot get it to work properly. This is the output I get, and I get an error when I try to use the mlogit function. Any ideas as to why this happens? > mydata <- read.csv(url("http://www.ats.ucla.edu/stat/r/dae/mlogit.csv")) > attach(mydata) >
2011 Apr 10
2
Multinomial Logit Model with lots of Dummy Variables
Hi All, I am attempting to build a Multinomial Logit model with dummy variables of the following form: Dependent Variable : 0-8 Discrete Choices Dummy Variable 1: 965 dummy varsghpow at student.monash.edu.augh@gp1.com Dummy Variable 2: 805 dummy vars The data set I am using has the dummy columns pre-created, so it's a table of 72,381 rows and 1770 columns. The first 965 columns represent
2009 Aug 01
4
Likelihood Function for Multinomial Logistic Regression and its partial derivatives
Hi, I would like to apply the L-BFGS optimization algorithm to compute the MLE of a multilevel multinomial Logistic Regression. The likelihood formula for this model has as one of the summands the formula for computing the likelihood of an ordinary (single-level) multinomial logit regression. So I would basically need the R implementation for this formula. The L-BFGS algorithm also requires
2010 Aug 13
1
mlogit error
Hi, I'm trying to fit a multinomial logistic regression to my data which consists of 5 discrete variables (scales 1:10) and 1000 observations. I get the following error: Error in `row.names<-.data.frame`(`*tmp*`, value = c("NA.NA", "NA.NA", : duplicate 'row.names' are not allowed In addition: Warning message: non-unique value when setting
2008 Apr 11
1
Multinomial Logit Regression
Hi all, I have a dataset with a response variable with three categories (1, 2, 3) and a lot of continuous variables. I'd like to make a MLR with these variables. I've been watching the libraries nnet and zelig for this purpose but I don't understand them well. I use a training sample data to make the MLR. train.set <- sample(1:1000,1000*0.7) I have done this: library(nnet) net
2011 Jun 20
1
Stepwise model comparisons for mlogit
I am trying to perform a backwards stepwise variable selection with an mlogit model. The usual functions, step(), drop1(), and dropterm() do not work for mlogit models. Update() works but I am only able to use it manually, i.e. I have to type in each variable I wish to remove by hand on a separate line. My goal is to write some code that will systematically remove a certain set of variables
2012 Jul 30
1
length of variable in mlogit
Dear all, does anybody have experience with building logits in Mlogit? I want to test the use of a couple of alternative specific variables with a generic regression coefficient. However, one of them simply does not work. R says the length of this variable is different. Problem: If I check the length of this special variable, I get a value, which also other variables have ? and with those, the
2011 Feb 28
4
mlogit.data
I am trying to estimate multinomial logit models off of a .csv table in IDCASE IDALT format where I have ROWS HHID PERID CASE ALTNUM NUMALTS CHOSEN IVTT OVTT TVTT COST DIST WKZONE HMZONE RSPOPDEN RSEMPDEN WKPOPDEN.... 1 1 2 1 1 1 5 1 13.38 2.00 15.38 70.63 7.69 664 726 15.52 9.96 37.26 2 2 2 1 1 2 5 0 18.38 2.00
2008 Apr 12
2
Predict Function
Hi all - my first time here and am having an issue with the Predict function. I am using a tutorial as a guide, locate here: http://www.ats.ucla.edu/STAT/R/dae/mlogit.htm My code gives this error > newdata1$predicted <- predict(mlogit,newdata=newdata1,type="response") Error in `$<-.data.frame`(`*tmp*`, "predicted", value = c(0.332822934960197, : replacement has
2008 Jan 10
1
Fwd: multinomial regression for clustered data
Hello dear R-users, does any of you know a way to perform a multinomial regression with clustered data (i.e. repeated measurements)? I made the first analysis with Stata option vce cluster in the mlogit command but was looking for a similar functionality in R too... thanks all! niccolò [[alternative HTML version deleted]]
2010 Jan 17
4
datasets para regresión logística binomial y multinomial
Buenas. Sé que en R hay multitud de datasets y me haría falta alguno que trataran de variables relacionadas con salud, sobre todo para aprender más acerca de cómo realizar una regresión logística binomial o multinomial. Gracias..
2013 Apr 07
3
mlogit error
Dear List I am trying to fit a multinomial model using the mlogit package. Attempting to load the data into mlogit presents the following error. MLOG<-mlogit.data(Mult3,shape="long",choice="CHOICE",alt.var="mode.ids",indivs = "set3",chid.var = "obs") Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.1", "1.2",
2010 Nov 18
0
Mixed multinomial logit model (mlogit script)
Dear all, I am trying to run a mixed multinomial logit model in R since my response variable has 4 non-ordinal categories. I am using the package mlogit that estimates the parameters by maximum likelihood methods. First of all, I prepared my data using the mlogit.data command. In the mlogit command, one can introduce alternative-specific (fixed factors??) and individual-specific (random