python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to change the reference category of the dependent variable in statsmodels when using Multi-nominal Regression?
I am trying to alter the reference category of the dependent variable (what party somebody voted for) while using statsmodels. I know that using C(socialclass, Treatment(reference=2)) allows me to cha...
Richard Nixon
Votes: 0
Answers: 0
Multinomial logit with random effects does not converge using mblogit
I would like to estimate a random effects (RE) multinomial logit model.
I have been applying mblogit from the mclogit package. However, once I introduce RE into my model, it fails to converge.
Is ther...
Barbora
Votes: 0
Answers: 0
Predicting multinom model in R - NAs are not allowed in subscripted assignments
I'm having an issue with a recurring error in a multinomial model I'm trying to create. Specifically, the error occurs when trying to predict test data with the trained model. The test and training da...
thedavincicoder
Votes: 0
Answers: 1
Is there an R function for a multiple group goodness of fit chi squared test?
S.giganteus <- matrix(c(0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 1, 7, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 2, 3, 0,...
André Rabie
Votes: 0
Answers: 1