I am looking at a way of estimating the marginal utility of individual attributes levels in a discrete choice experiment dataset.
To add a bit of context, I investigated the effect of 5 attributes on policy choices. Each of the choice-sets (8) showed 3 unlabeled alternatives for which the attributes levels were randomly generated. I did not include a status-quo or no-choice option. All my attributes contain discrete and sometimes abstract levels (visual aspect, management type, etc) that cannot be associated with some kind of ordinate scale. My goal is to be able to estimate respondent's utility for every single attribute level using conditional and mixed effect logit models. I would need something like:
attribute1_level1 0.25
attribute1_level2 0.022
attribute2_level1 0.79
.....
attributeN_levelN .....
For now, I tried variations of this, which yields me 5 coefficients : one per attribute. While being interesting, it is of little use to me.
Code:
mixlogit choice, group(group) id(id) rand(div cofe dens vis wtp)
Code:
Mixed logit model Number of obs = 65,184 LR chi2(5) = 3716.46 Log likelihood = -18447.132 Prob > chi2 = 0.0000 ------------------------------------------------------------------------------ response | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- Mean | div | .2495942 .0165369 15.09 0.000 .2171825 .282006 cofe | .0503646 .0137197 3.67 0.000 .0234744 .0772548 dens | .1490932 .0140055 10.65 0.000 .1216429 .1765434 vis | .1604829 .0121192 13.24 0.000 .1367297 .1842362 wtp | -.7906035 .0197152 -40.10 0.000 -.8292446 -.7519625 -------------+---------------------------------------------------------------- SD | div | .394038 .0233942 16.84 0.000 .3481862 .4398897 cofe | .3352769 .022335 15.01 0.000 .2915012 .3790527 dens | .3584852 .0220176 16.28 0.000 .3153314 .401639 vis | .2910277 .0181769 16.01 0.000 .2554015 .3266538 wtp | .8096008 .0200021 40.48 0.000 .7703974 .8488042
After asking around, I was suggested to use the " i. " command along my independant variables, such as this:
Code:
mixlogit choice, group(group) id(id) rand(i.div i.cofe i.dens i.vis i.wtp)
Code:
factor-variable and time-series operators not allowed (error in option rand()) r(101);
Thanks!
Felix
0 Response to Random utility model with mixlogit - obtaining marginal coefficients
Post a Comment