Displaying 20 results from an estimated 2000 matches similar to: "Multiple imputation, multinomial response & random effects"
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 Oct 18
1
getting basic descriptive stats off multiple imputation data
Hi, all,
I'm running multiple imputation to handle missing data and I'm running into a problem. I can generate the MI data sets in both amelia and the mi package (they look fine), but I can't figure out how to get pooled results. The examples from the mi package, zelig, etc., all seem to go right to something like a regression, though all I want are the mean and SE for all the
2011 Jan 31
2
Rubin's rules of multiple imputation
Hello all, if I have multiple imputed data sets, is there a command or
function in R in any package you know of to combine those, I know one common
MI approach is rubins rules, is there a way to do this using his rules or
others? I know theres ways, like using Amelia from Gary King's website to
create the imputed data sets, but how to make them into one or combine them
for analysis.
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 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
2009 May 07
0
Weighted multinomial logistic regression using the mlogit package
I have been trying to use the mlogit package to do a multinomial logistic regression, including both alternative-specific and individual-specific variables. I used the mlogit.data function to turn my dataframe into the correct format for the mlogit function, and have been able to run the regression. However, I would like to weight the different cases differently. (Just to clarify, it's not the
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 +
2011 Jan 18
0
multinomial choice modeling with mlogit
Hi all,
Does anyone knows how to handle ordered preferences applying the R
package mlogit (multinomial logit model)? My data set provides for each
customer preferences (given as percentages) for 6 different brands. I
would like to use for model calibration not just that brand with
maximum stated preference.
I know that ordered preferences can be used in the R package MNP
(multinomial Probit
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
2008 Jun 30
3
Is there a good package for multiple imputation of missing values in R?
I'm looking for a package that has a start-of-the-art method of
imputation of missing values in a data frame with both continuous and
factor columns.
I've found transcan() in 'Hmisc', which appears to be possibly suited
to my needs, but I haven't been able to figure out how to get a new
data frame with the imputed values replaced (I don't have Herrell's book).
Any
2010 Dec 15
0
Multinomial Analysis
I want to analyse data with an unordered, multi-level outcome variable, y. I am asking for the appropriate method (or R procedure) to use for this analysis.
> N <- 500
> set.seed(1234)
> data0 <- data.frame(y = as.factor(sample(LETTERS[1:3], N, repl = T,
+ prob = c(10, 12, 14))), x1 = sample(1:7, N, repl = T, prob = c(8,
+ 8, 9, 15, 9, 9, 8)), x2 = sample(1:7, N, repl =
2010 Jul 05
1
Memory problem in multinomial logistic regression
Dear All
I am trying to fit a multinomial logistic regression to a data set with a size of 94279 by 14 entries. The data frame has one "sample" column which is the categorical variable, and the number of different categories is 9. The size of the data set (as a csv file) is less than 10 MB.
I tried to fit a multinomial logistic regression, either using vglm() from the VGAM package or
2008 Dec 14
0
Output mlogit package (multinomial logistic regression)?
Hello,
For my master thesis I conducted a conjoint analysis. Using the
mlogit-package of Yves Croissant I should be able to analyse my choice
data.
I read the whole program of mlogit, but I do not understand how my
coefficients must be interpreted.
Are they a result of P(Y=i) or are they P(Y=i)/P(Y=1) where 1 is my
base category, or are they a result of ln(P(Y=i)/P(Y=1)). I can not
find an answer
2011 May 25
1
Multinomial Logistical Model
On May 24, 2011; 11:06pm Belle wrote:
> Does anyone know how to run Multinomial logistical Model in R in order to
> get predicted probability?
Yes. I could stop there but you shouldn't. The author of the package
provides plenty of examples (and two good vignettes) showing you how to do
this. Suggest you do some work in that area. Look especially at how model
formulas are
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..
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 Jul 16
1
Multinomial logistic regression in complex surveys
Dear R-list members,
I´m using the package "survey" and I need to find a function for
multinomial logistic regression in a complex design. The functions that
I see are only for dicotomic and ordinal variables.
Thank you!
Rosario Austral
________________________________
De: "r-help-request@r-project.org" <r-help-request@r-project.org>
Para:
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
2009 Sep 04
1
Multinomial and Ordinal Logistic Regression - Probability calculation
Dear all,
I am new to R and would like to run a multinomial logistic regression on my dataset (3 predictors for 1 dependent variables)
I have used the vglm function from the VGAM package and got some results. Using the predict() function, I obtained the probability table I was looking for. However, I would like to fully understand how the predict() function generates the probabilities or in