Questions tagged [multinomial]
The multinomial distribution provides a probability distribution over three or more possible outcomes. It generalizes the more fundamental binomial distribution (two outcomes).
multinomial
435
questions
0
votes
0
answers
14
views
Significance of the coefficients of a multinomial mixed regression built with npmlt function
I fitted (using npmlt function) a mixte multinomial regression model which ran without errors.
I expected that the outputs of the model include p-values that I didn't find.
My need now is that someone ...
0
votes
0
answers
15
views
How to perform model comparison based on multinom( ) function of nnet package in R? [migrated]
My independent variables are gender and sequence, and the dependent variable is intervention (including 3 intervention methods). I established a multinomial logistic regression model to examine the ...
0
votes
0
answers
20
views
structure of multinomial model in mgcv
I am trying to model the proportions of a variable with four categories through time and at four different sites. Most sites have all four categories of the variable, but some sites only have three ...
-1
votes
0
answers
10
views
multinomial choice model with high-dimension fixed effects
I am running a regression with 1 million observation
outcome: occupation choice(5 category)
fixed effects: high school fixed effects(about 1000 groups), college fixed effects(about 800 groups), and ...
0
votes
0
answers
13
views
post-hoc test for multinomial logistic regression brm model (categorical responce) [migrated]
I apologise as I am very new to this package and I really appreciate any help I can get.
I have a brms model with a categorical response variable (Species) with the following formula, running a ...
0
votes
0
answers
68
views
Missing category in reference level in multinomial GAM with mgcv in R
Consider the multinomial GAM with mgcv in R
library(mgcv)
multinom = gam(list(sound ~ word + s(long, lat),
~ word + s(long, lat),
~ word + s(long, ...
0
votes
1
answer
120
views
Step failure (and iteration limit) in multinomial GAM with mgcv in R
I have a data set with 40 sites (long, lat) by 2 ages by 2 genders by 6 words and 6 dependent sound categories (coded 0 to 5) as simulated here:
sound <- sample(0:5, size=960, replace=T)
...
1
vote
0
answers
56
views
Error in using mlogit function: "replacement has 8 rows, data has 9"
I am trying to estimate a simple multinomial logit model. The utility of a product is given by:
U_{ij}=\beta⋅price_{ij}+fixed_effect_j+ϵ_{ij}.
I have data which contains the choices made by ...
1
vote
0
answers
34
views
Joint hypothesis test with marginaleffects::hypotheses from a nnet::multinom object
I have a multinomial logistic regression model, fitted with nnet::multinom(). My outcome has three categories and I have used one predictor in the model. Ultimately I want to jointly test the null ...
0
votes
0
answers
26
views
Is there an R package for performing Phylogenetic Multinomial Logistic Regression?
I am performing a comparative study (across species) and I would like to test how a single continuous X-variable affects a single Y-variable which is ordinal (0 < 1 < 2), while controlling for ...
1
vote
1
answer
77
views
Estimate Dirichlet parameters from multinomial regression
I am trying to use the predicted probabilities from a multinomial regression using multinom function from the nnet package in R to estimate the parameters for a Dirichlet distribution while taking ...
0
votes
0
answers
19
views
Clustered errors in panel data in Multinomial logistic regression in python (e.g. statsmodels package) sandwich estimator
I am estimating a MNL regression model for customer choices. I have a panel data set with N = \sum_{i=1}^{I} t_{\text{observations}}. Since one individual makes multiple choices in my dataset. ...
0
votes
0
answers
25
views
Estimating Multinomial Logit using xlogit vs. statsmodels
I am trying to estimate a multinomial logit with Python for a discrete choice model. I come from R, where the estimation of the coefficients is the same, but not the predictions.
I am using a known ...
0
votes
0
answers
56
views
Using PSweight for multilevel variable analysis to calculate IPW
I have a data frame named "df", with a treatment variable named "treatment", which is categorical with three values (0 to 2), I also have five other covariates (cov1 to cov5; where ...
0
votes
0
answers
28
views
How to load Pylogit library (without error)
I'm encountering an issue while attempting to use the Pylogit Library. Once I load the library, I'm confronted with the following error message: "ImportError: cannot import name 'Iterable' from '...