Displaying 20 results from an estimated 9000 matches similar to: "Is there a multinomial exact goodness of fit test in R?"
2008 Jan 17
1
'simulate.p.value' for goodness of fit
R Help on 'chisq.test' states that
"if 'simulate.p.value' is 'TRUE', the p-value is computed by Monte
Carlo simulation with 'B' replicates.
In the contingency table case this is done by random sampling from
the set of all contingency tables with given marginals, and works
only if the marginals are positive...
In the
2008 Jan 08
1
A question on chisq.test
Dear all,
I would like to do a goodness-of-fit test on my data to see if they follow a mixture of 2 poisson distributions. I have small numbers for observed values. Most of them <5. The chisq.test gives warning message: Chi-squared approximation may be incorrect in: chisq.test(x , p = prob). However, the option sim=TURE would suppress the warning message. Does that mean with the option
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
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,
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]]
2002 Apr 22
1
Goodness-of-fit
Hi,
I want to perform goodness of fit test for multinominal distribution. The
easiest way would be to use Chi2, but the measurment errors are not
normally distributed. I thought about using some bootstraping method to
perform the analysis. How can I do it in R?
Tomek
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2012 Nov 06
1
Multinomial MCMCglmm
Thanks for your answers Stephen and Ben,
I hope I am posting on the correct list now.
I managed so far to run the multinomial model with random effect with the
following command:
MCMCglmm(fixed=cbind(Apsy,Mygl,Crle,Crru,Miag,empty) ~
habitat:trait,random=~idh(trait):mesh,family="multinomial12",
data=dataA,rcov=~trait:units)
(where multiple responses are different species,
Habitat
2007 Apr 21
1
Fitting multinomial response in structural equation
Hi - I am confronting a situation where I have a set of structural equation and one or two of my responses are multinomial. I understand that sem would not deal with the unordered response. So I am thinking of the following two ways:
1. Expanding my response to a new set of binary variables corresponding to each label of my multinomial response. Then use each of these as a separate response in my
2005 Aug 04
1
exact goodness-of-fit test
Hello,
I have a question concerning the R-function chisq.test.
For example, I have some count data which can be categorized as follows
class1: 15 observations
class2: 0 observations
class3: 3 observations
class4: 4 observations
I would like to test the hypothesis whether the population probabilities are all equal (=> Test for discrete uniform distribution)
If you have a small sample size
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
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
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
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
__________________________________
2008 May 13
1
How to get predicted marginal (aka predicted mean) after multinomial logistic?
I tried to use the effect() to get predicted marginals for multinomial
logistic as I did for general logistic regression, but failed. Is there
anyway to do that?
Thx!
--
View this message in context: http://www.nabble.com/How-to-get-predicted-marginal-%28aka-predicted-mean%29-after-multinomial-logistic--tp17200114p17200114.html
Sent from the R help mailing list archive at Nabble.com.
2010 Sep 11
2
Generating multinomial distribution and plotting
I have had plenty of succes generating one dimensional variables and plotting
them, but what do i do for more (specifically 2) dimensional multinomial
variables?
I figure i have to create a vector consisting of two 1 dim normallly
distributed variables, that way i can also control the correlation.
But how do i do this :) ?
Many thanks
--
View this message in context:
2011 Dec 23
2
Latent class multinomial (or conditional) logit using R?
Hi everyone?
Does anybody know how can I estimate a
Latent class multinomial (or conditional) logit using R?
I have tried flexmix, poLCA, and
they do not seem to support this model.
thanks in advance
adan
--
View this message in context: http://r.789695.n4.nabble.com/Latent-class-multinomial-or-conditional-logit-using-R-tp4230083p4230083.html
Sent from the R help mailing list archive at
2006 Jun 18
1
Method for selection bias with multinomial treatment
I have to the treatment effect base on the observational data.And the
treatment variable is multinomial rather than binary.Because the
treatment assignment is not random,so the selection-bias exists.Under
this condition,what's the best way to estimate the treatment effect?
I know that if the treatment is binary,I can use propensity score
matching using MatchIt package.But what about
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
2012 Dec 06
1
Fitting a multinomial model to a multi-way factorial design with repeated measures: help on package and syntax
Dear all,
I studied in tank prey fish behavior. Using the design described below
(and R code), I want to test the effects of both habitat and predator
(and interaction) on prey fish's vertical distribution, which was
recorded (with repeated measures) as a categorical variable.
I found that package mlogit might fit to my need but I don't know how to
specify my complex design in the