How do you estimate the scale parameter for a random parameter logit using mlogit in R -
i trying estimate random parameter logit/mixed logit model using mlogit
package in r. model looks this,
wlsq.obese_conf.model <- mlogit(formula = choice ~ noadveff + tab + infreq_1 + weightloss + i(weightloss^2) + optout + cost| -1 | 0, data = mlogit.obese_conf, rpar = c(noadveff = 'n', tab = 'n', infreq_1 = 'n', weightloss = 'n', optout1 = "n"), r = 100, halton = na, print.level = 0, panel = true, estimate = true, weights = weighting.x )
i running same model on different subsample, , need compare scale parameters between 2 subsamples. however, have not been able identify method extracting parameter - know how can in mlogit
?
Comments
Post a Comment