Search found 3 matches

by nuavgkim
Thu Jun 14, 2018 7:17 pm
Forum: R2MLwiN user forum
Topic: predLines after multinomial logit.
Replies: 4
Views: 2032

Re: predLines after multinomial logit.

Thanks for sharing the code, Chris. As you suggested, I will forward the equation to MLWIN and plot from there. I will keep you posted if I make any successful modification to predLines in R.
by nuavgkim
Wed Jun 06, 2018 8:55 pm
Forum: R2MLwiN user forum
Topic: predLines after multinomial logit.
Replies: 4
Views: 2032

Re: predLines after multinomial logit.

Thanks for the response, Chris. I have two follow-up questions. 1. How can I manually expand the dataset? I see that columns used in the model are renamed with prefixes and suffixes, such as FP_ or RP_ and _1 or _2. I wonder (1) how I should rename them and (2) how the expanded dataset suitable for ...
by nuavgkim
Mon Jun 04, 2018 5:33 pm
Forum: R2MLwiN user forum
Topic: predLines after multinomial logit.
Replies: 4
Views: 2032

predLines after multinomial logit.

Hello R2MLwiN users, I am trying to plot predicted probabilities after running a multinomial logistic regression with MCMC algorithm. As I type in the following commands: F5<-logit(lca) ~ 1+age+gender+...+polpart+rile_polarizationC+rile_polarizationC:polpart+(1|lev2)+(1|lev3) m5<-runMLwiN(Formula=F5...