Hi,
I a running a conjoint experiment and would like to test for heterogenous effects by interacting dichotomized survey variables (here satisfied vs not satisfied with public services) with conjoint attributes. Unfortunately, when running the margins command, most of the output can't be computed ("Not estimable"), see below the commands, followed by the (relevant) multi-level logit output, then the margins output. This issue comes up irrespective of the dichotomized variable I'm using, that is irrespective of its average (ranging from 0.05 to 0.9). Any suggestion would be very much welcome!
I a running a conjoint experiment and would like to test for heterogenous effects by interacting dichotomized survey variables (here satisfied vs not satisfied with public services) with conjoint attributes. Unfortunately, when running the margins command, most of the output can't be computed ("Not estimable"), see below the commands, followed by the (relevant) multi-level logit output, then the margins output. This issue comes up irrespective of the dichotomized variable I'm using, that is irrespective of its average (ranging from 0.05 to 0.9). Any suggestion would be very much welcome!
Code:
local cov1 i.gender i.head_of_household c.log_hh_size c.log_age i.school i.main_source c.poverty i.property_value melogit rating2 i.public_service_satisf##(i.tax_amount ib2.start_provision i.who_to_pay i.how_to_pay i.perks i.town##i.subgroup `cov1') || participant_id: eststo a_public_service_satisf: margins, dydx(tax_amount start_provision who_to_pay how_to_pay perks) at(public_service_satisf=(0 1)) post noatlegend vsquish
Code:
Mixed-effects logistic regression Number of obs = 14,289
Group variable: participant_id Number of groups = 2,384
Obs per group:
min = 4
avg = 6.0
max = 6
Integration method: mvaghermite Integration pts. = 7
Wald chi2(84) = 378.98
Log likelihood = -8896.0602 Prob > chi2 = 0.0000
----------------------------------------------------------------------------------------------------------
rating2 | Coefficient Std. err. z P>|z| [95% conf. interval]
-----------------------------------------+----------------------------------------------------------------
public_service_satisf |
Satisfied | .0259363 1.0731 0.02 0.981 -2.077301 2.129173
|
tax_amount |
Medium | -.5374263 .1228267 -4.38 0.000 -.7781622 -.2966903
High | -.7700518 .1213668 -6.34 0.000 -1.007926 -.5321773
|
start_provision |
6 months before | .0021497 .1206165 0.02 0.986 -.2342543 .2385537
6 months after | -.2991037 .1204549 -2.48 0.013 -.5351909 -.0630166
|
who_to_pay |
Chief | -.1169149 .097738 -1.20 0.232 -.308478 .0746481
|
how_to_pay |
Someone collects | .1651372 .1383391 1.19 0.233 -.1060024 .4362768
USSD | -.1191946 .1398812 -0.85 0.394 -.3933567 .1549675
Mobile app | .0062795 .140295 0.04 0.964 -.2686935 .2812526
|
perks |
Submit complaint | -.1357918 .1196134 -1.14 0.256 -.3702298 .0986461
Vote for services | -.095936 .1196823 -0.80 0.423 -.330509 .1386369
|
public_service_satisf#tax_amount |
Satisfied#Medium | .1387765 .1340347 1.04 0.300 -.1239267 .4014797
Satisfied#High | .1746668 .1324968 1.32 0.187 -.0850221 .4343557
|
public_service_satisf#start_provision |
Satisfied#6 months before | -.0275204 .1319488 -0.21 0.835 -.2861353 .2310946
Satisfied#6 months after | .1664973 .1315453 1.27 0.206 -.0913268 .4243213
|
public_service_satisf#who_to_pay |
Satisfied#Chief | .076321 .1069467 0.71 0.475 -.1332906 .2859326
|
public_service_satisf#how_to_pay |
Satisfied#Someone collects | -.2127704 .1513052 -1.41 0.160 -.5093231 .0837823
Satisfied#USSD | .0838432 .1526913 0.55 0.583 -.2154263 .3831127
Satisfied#Mobile app | -.0129282 .153263 -0.08 0.933 -.3133182 .2874618
|
public_service_satisf#perks |
Satisfied#Submit complaint | -.0242847 .1308269 -0.19 0.853 -.2807007 .2321312
Satisfied#Vote for services | -.0270495 .1310077 -0.21 0.836 -.2838199 .229721
|
public_service_satisf#town |
Satisfied#Mansa | .432457 .5305448 0.82 0.415 -.6073916 1.472306
Satisfied#Samfya | -.1635377 .5408718 -0.30 0.762 -1.223627 .8965515
|
public_service_satisf#subgroup |
Satisfied#Non-compliant | -.0466211 .4815389 -0.10 0.923 -.99042 .8971778
Satisfied#Informal | -.6170218 .5033722 -1.23 0.220 -1.603613 .3695696
Satisfied#Customary | -.4494704 .5056163 -0.89 0.374 -1.44046 .5415194
|
public_service_satisf#town#subgroup |
Satisfied#Mansa#Non-compliant | .2895277 .6365689 0.45 0.649 -.9581244 1.53718
Satisfied#Mansa#Informal | -.8884716 .6292342 -1.41 0.158 -2.121748 .3448047
Satisfied#Mansa#Customary | -.2956435 .6183577 -0.48 0.633 -1.507602 .9163153
Satisfied#Samfya#Non-compliant | -.1800008 .6377472 -0.28 0.778 -1.429962 1.069961
Satisfied#Samfya#Informal | .8933457 .6383552 1.40 0.162 -.3578075 2.144499
Satisfied#Samfya#Customary | .0644839 .6295225 0.10 0.918 -1.169358 1.298325
|
-----------------------------------------+----------------------------------------------------------------
participant_id |
var(_cons)| .757269 .0598686 .6485678 .8841888
----------------------------------------------------------------------------------------------------------
LR test vs. logistic model: chibar2(01) = 421.06 Prob >= chibar2 = 0.0000
Code:
Average marginal effects Number of obs = 14,289
Model VCE: OIM
Expression: Marginal predicted mean, predict()
dy/dx wrt: 2.tax_amount 3.tax_amount 1.start_provision 3.start_provision 2.who_to_pay 2.how_to_pay 3.how_to_pay
4.how_to_pay 2.perks 3.perks
------------------------------------------------------------------------------
| Delta-method
| dy/dx std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
1.tax_amount | (base outcome)
-------------+----------------------------------------------------------------
2.tax_amount |
_at |
1 | . (not estimable)
2 | -.0754126 .0101542 -7.43 0.000 -.0953145 -.0555107
-------------+----------------------------------------------------------------
3.tax_amount |
_at |
1 | . (not estimable)
2 | -.1150761 .0102856 -11.19 0.000 -.1352354 -.0949167
-------------+----------------------------------------------------------------
1.start_pr~n |
_at |
1 | . (not estimable)
2 | -.0048798 .0102896 -0.47 0.635 -.025047 .0152873
-------------+----------------------------------------------------------------
2.start_pr~n | (base outcome)
-------------+----------------------------------------------------------------
3.start_pr~n |
_at |
1 | . (not estimable)
2 | -.025796 .0102893 -2.51 0.012 -.0459626 -.0056294
-------------+----------------------------------------------------------------
1.who_to_pay | (base outcome)
-------------+----------------------------------------------------------------
2.who_to_pay |
_at |
1 | . (not estimable)
2 | -.007873 .0084198 -0.94 0.350 -.0243754 .0086294
-------------+----------------------------------------------------------------
1.how_to_pay | (base outcome)
-------------+----------------------------------------------------------------
2.how_to_pay |
_at |
1 | . (not estimable)
2 | -.0092407 .0118858 -0.78 0.437 -.0325364 .014055
-------------+----------------------------------------------------------------
3.how_to_pay |
_at |
1 | . (not estimable)
2 | -.0068493 .0118607 -0.58 0.564 -.0300958 .0163973
-------------+----------------------------------------------------------------
4.how_to_pay |
_at |
1 | . (not estimable)
2 | -.0012842 .0119188 -0.11 0.914 -.0246446 .0220761
-------------+----------------------------------------------------------------
1.perks | (base outcome)
-------------+----------------------------------------------------------------
2.perks |
_at |
1 | . (not estimable)
2 | -.0309668 .0102418 -3.02 0.002 -.0510404 -.0108931
-------------+----------------------------------------------------------------
3.perks |
_at |
1 | . (not estimable)
2 | -.0236984 .0102603 -2.31 0.021 -.0438083 -.0035886
------------------------------------------------------------------------------

Comment