Displaying 20 results from an estimated 10000 matches similar to: "Multinomial logistic regression in an ANOVA-like framework"
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 =
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
2008 Nov 26
1
Estimates of coefficient variances and covariances from a multinomial logistic regression?
Hello and thanks in advance for any help,
I am using the 'multinom' function from the nnet package to calculate a
multinomial logistic regression. I would like to get a matrix estimates of
the estimated coefficient variances and covariances. Am I missing some
easy way to extract these?
Grant
[[alternative HTML version deleted]]
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
2007 Mar 26
1
fitted probabilities in multinomial logistic regression are identical for each level
I was hoping for some advice regarding possible explanations for the
fitted probability values I obtained for a multinomial logistic
regression. The analysis aims to predict whether Capgras delusions
(present/absent) are associated with group (ABH, SV, homicide; values
= 1,2,3,), controlling for previous violence. What has me puzzled is
that for each combination the fitted probabilities are
2013 May 24
1
Multinomial logistic regression
Is it possible to use function "glm" in case when my outcome variable has 5
different classes? I have seen examples only when using binomial outcome
variable.
What about using function "multinom"? How do I to get the signifigance and
the confidence levels of the coefficients and the value of goodness of the
model with this function?
Thank You for Your help!
--
View this
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
2004 May 07
1
scores from multinomial logistic regression
Dear all,
I'm interested in extracting the score from multinomial logistic regression
models fit using multinom, to assess the stregth of assocation of the
parameter with the response (akin to the score from clogit/cox regression).
currently I'm using R 1.8.1.
Is there a function that will extract the score from a multinom object or
how i can get back to it? or from using glm?
I
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,
2012 Jan 05
2
difference of the multinomial logistic regression results between multinom() function in R and SPSS
Dear all,
I have found some difference of the results between multinom() function in
R and multinomial logistic regression in SPSS software.
The input data, model and parameters are below:
choles <- c(94, 158, 133, 164, 162, 182, 140, 157, 146, 182);
sbp <- c(105, 121, 128, 149, 132, 103, 97, 128, 114, 129);
case <- c(1, 3, 3, 2, 1, 2, 3, 1, 2, 2);
result <- multinom(case ~ choles
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]]
2005 May 13
1
multinom(): likelihood of model?
Hi all,
I'm working on a multinomial (or "polytomous") logistic regression
using R and have made great progress using multinom() from the nnet
library. My response variable has three categories, and there are two
different possible predictors. I'd like to use the likelihoods of
certain models (ie, saturated, fitteds, and null) to calculate
Nagelkerke R-squared values for
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),
2003 Jan 24
3
Multinomial Logit Models
Hi
I am wanting to fit some multinomial logit models (multinom command in
package nnet)
Is it possible to do any model checking techniques on these models
e.g. residual, leverage etc. I cannot seem to find any commands that
will allow me to do this.
Many thanks
----------------------
L.E.Gross
L.E.Gross at maths.hull.ac.uk
2011 Apr 23
0
nnet Multinom output of ordered predictors
Hello,
I apologize if this seems like an obvious question, but I have been looking
everywhere and have yet to find an answer.
I am doing a multinomial regression with multinom() in the nnet package. I
have a 3 level ordered response (ordered()) variable and 4 predictors, 3 of
which are numerical and one which is an ordered factor (also ordered()) with
5 levels (a, b, c, d, e).
My question is in
2004 Sep 23
3
multinomial logistic regression
Hi, how can I do multinomial logistic regression in R?
I think glm() can only handle binary response
variable, and polr() can only handle ordinal response
variable. how to do logistic regression with
multinomial response variable?
Thanks
__________________________________
2005 Apr 13
2
multinom and contrasts
Hi,
I found that using different contrasts (e.g.
contr.helmert vs. contr.treatment) will generate
different fitted probabilities from multinomial
logistic regression using multinom(); while the fitted
probabilities from binary logistic regression seem to
be the same. Why is that? and for multinomial logisitc
regression, what contrast should be used? I guess it's
helmert?
here is an example
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
2013 May 01
2
Factors and Multinomial Logistic Regression
Dear All,
I am trying to reproduce the example that I found online here
http://bit.ly/11VG4ha
However, when I run my script (pasted at the end of the email), I notice
that there is a factor 2 between the values for the coefficients for the
categorical variable female calculated by my script and in the online
example.
Any idea about where this difference comes from?
Besides, how can I
2005 Jan 07
2
help with polytomous logistic regression
Hi!
I'm trying to do some ploytomous logistic regression using multinom() in the nnet package, but am a bit confused about interpretation of the results
Is it possible to get the following quantities:
I: maximum likelihood estimates to test for fit of model and significance of each predictor
(I would like to produce a table of the following type)
Analysis of Variance: MLE (values are