Displaying 20 results from an estimated 10000 matches similar to: "Multinomial Logit Models"
2005 Nov 21
2
Multinomial Nested Logit package in R?
Dear R-Help,
I'm hoping to find a Multinomial Nested Logit package in R. It would
be great to find something analogous to "PROC MDC" in SAS:
> The MDC (Multinomial Discrete Choice) procedure analyzes models
> where the
> choice set consists of multiple alternatives. This procedure
> supports conditional logit,
> mixed logit, heteroscedastic extreme value,
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
2006 Sep 10
2
formatting data to be analysed using multinomial logistic regression (nnet)
I am looking into using the multinomial logistic regression option in the
nnet library and have two questions about formatting the data.
1. Can data be analysed in the following format or does it need to be
transformed into count data, such as the housing data in MASS?
Id Crime paranoia hallucinate toc disorg crimhist age
1 2 1 0 1 0 1 25
2 2 0 1 1 1 1 37
3 1 1 0 1 1 0 42
4 3 0
1999 Mar 15
1
multinomial logit model
Dear R users,
I would like to know if there is a package in R
that estimates multinomial logit models (without
using surrogate Poisson models)
-or even better- nested multinomial logit models?
I am using the Windows version of R (Windows 95).
To my understanding, the S package called nnet
does that, but it seems not to work in R.
Thanking in advance for any help,
Marjo Pyy-Martikainen
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]]
2011 Jan 06
4
Different LLRs on multinomial logit models in R and SPSS
Hello, after calculating a multinomial logit regression on my data, I
compared the output to an output retrieved with SPSS 18 (Mac). The
coefficients appear to be the same, but the logLik (and therefore fit)
values differ widely. Why?
The regression in R:
set.seed(1234)
df <- data.frame(
"y"=factor(sample(LETTERS[1:3], 143, repl=T, prob=c(4, 1, 10))),
"a"=sample(1:5,
2005 Jul 27
2
logistic regression: categorical value, and multinomial
I have two questions:
1. If I want to do a binomial logit, how to handle the
categorical response variable? Data for the response
variables are not numerical, but text.
2. What if I want to do a multinomial logit, still
with categorical response variable? The variable has 5
non-numerical response levels, I have to do it with a
multinomial logit.
Any input is highly appreciated! Thanks!
Ed
2007 Jul 19
2
multinomial logit estimation
Good morning,
I'd like to estimate a simple multinomial logit model in R (not a McFadden conditional logit). For instance, I'd like to estimate the probability of someone having one of eight titles in a company with the independent variables being the company characteristics. A binary logit is well documented. What about the multinomial?
Thanks,
Walt Paczkowski
2007 Jun 21
2
Multinomial models
Hello,
I am VERY new to R (one week) and I am trying to run a multinomial logit model.
The model I am using is
> model1 <- multinom(Y ~ X1 + X2 + , ..., Xn)
if I put in
> summary(model1)
I get
#Error in function (classes, fdef, mtable) :
unable to find an inherited method for function "fitted", for
signature "multinom"
and if I put in
> coef(model1)
2003 Mar 27
4
Multinomial logistic regression under R and Stata
Dear Colleagues
I have been fitting some multinomial logistic regression models using R
(version 1.6.1 on a linux box) and Stata 7. Although the vast majority
of the parameter estimates and standard errors I get from R are the same
as those from Stata (given rounding errors and so on), there are a few
estimates for the same model which are quite different. I would be most
grateful if
2000 Oct 24
2
multinominal probit & logit
Dear everybody!
Are there algorithms for multinominal logit/probit available for R? Is it my
fault that I cannot find these in CRAN? Has somebody programmed these?
with best wishes
Ott Toomet
Ott.Toomet at mail.ee
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2002 May 03
3
Regression models for ordinal responses ??
Hello list,
Is there any mean to fit models for ordinal response other than multinomial
polytomous ("multinom" from nnet ) and cumulative logit ("polr" from MASS)?
I am particularly interested in continuation-ratio model and
adjacent-category logit model. It is for the sake of epidemiology in
wild-living populations!
Many thanks,
Emmanuelle Fromont
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
I want to get the logLik to calculate McFadden.R2 ,ML.R2 and
Cragg.Uhler.R2, but the value from multinom does not have logLik.So my
quetion is : is logLik meaningful to multinomial logistic model from
multinom?If it does, how can I get it?
Thank you!
ps: I konw VGAM has function to get the multinomial logistic model
with logLik, but I prefer use the function from "official" R
2012 Mar 14
1
Questing on fitting Baseline category Logit model
Dear all,
I am facing some problem with how to fit a "Baseline category Logit
model" with R. Basically I am considering famous "Alligator" data as
discussed by Agresti. This data can also be found here:
https://onlinecourses.science.psu.edu/stat504/node/174
(there is also an accompanying R file, however the underlying R code
could not load the data properly!!!)
Below are
2005 Sep 08
1
Multinomial Logit and p-values
Hi,
I am trying to obtain p-values for coefficient estimates in a multinomial
logit model. Although I am able to test for significance using other
methods (e.g., Wald statistics), I can't seem to get R to give me simple
p-values. I am sure there is a very simple solution to this, but the R
archives seem to have nothing on this issue. I would appreciate any help.
Thanks in advance!
Best,
2005 Apr 12
1
factors in multinom function (nnet)
Dear All:
I am interested in multinomial logit models (function multinon, library nnet) but I'm having troubles in choose whether to define the predictors as factors or not.
I had posted earlier this example (thanks for the reply ronggui):
worms<- data.frame(year= rep(2000:2004, c(3,3,3,3,3)),age=rep(1:3,5),
2011 Apr 08
1
multinom() residual deviance
Running a binary logit model on the data
df <- data.frame(y=sample(letters[1:3], 100, repl=T),
x=rnorm(100))
reveals some residual deviance:
summary(glm(y ~ ., data=df, family=binomial("logit")))
However, running a multinomial model on that data (multinom, nnet)
reveals a residual deviance:
summary(multinom(y ~ ., data=df))
On page 203, the MASS book says that "here the
2019 Jul 18
2
predict multinomial model con nnet
Hola todos
Cuando realizo las predicciones del modelo multinomial con el paquete nnet,
estas cambian cada vez que lo ejecuto ... saben por qué pasa esto ??
Gracias por la ayuda.
[[alternative HTML version deleted]]
2010 Jun 09
3
bootpred for multinomial
I applied bootpred for multinomial logistic reg. (with nnet package). I used same as theta.fit and theta.predict of R for my data. but give me error. Can I do this with
response vriable;7 levels
predictor variables:5 (1 classifier, 4 continuous)?
Thanks alot
Azam
[[alternative HTML version deleted]]
2008 Jun 20
1
omnibus LR in multinomial model
If one estimates a model using multinom, is it possible to perform the
omnibus LR test ( the analogue to omnibus F in linear models ) using
the output
from multinom ? The residual deviance is there but I was hoping I could
somehow pull out the deviance based on just using an intercept ?
Sample code is below from the CAR book but I wasn't sure how to do it
based on that example. Thanks