I am using cmxtmixlogit to check the relationship between Y (action chosen by subject) and X (potential loss incurring if the action is chosen).
X depends on what action subjects chose before, leading to the distribution of X by Y shown below.
Theory suggests that X should decrease 1 significantly, increase 2 significantly, decrease 3 which may or may not be significant, but the effect should be smaller than the effect on 1.
The table below makes me think that the regression might capture the fact that the proportion of 2 out of three actions increases with X. That is, X=14 has much less obs is not taken into account (or it works like outliers?).
Thus, I am thinking to use pweight for the regression. I wondering if using pweight is a proper way to go.
Thanks a lot
Code:
tab X Y,
| Y
X | 1 2 3 | Total
-----------+---------------------------------+----------
2 | 21 0 63 | 84
6.5 | 36 30 167 | 233
7 | 523 0 492 | 1,015
11 | 48 164 1,285 | 1,497
14 | 0 68 50 | 118
18 | 156 0 1,377 | 1,533
-----------+---------------------------------+----------
Total | 784 262 3,434 | 4,480
cmxtmixlogit Y, casevars(X C) #C: controls
margins, dydx(X) outcomes(,altsubpop) # I have unbalanced alternatives
------------------------------------------------------------------------------
| Delta-method
| dy/dx std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
X |
_outcome |
1 | -.0287474 .0047379 -6.07 0.000 -.0380335 -.0194614
2 | .0254602 .00438 5.81 0.000 .0168757 .0340448
3 | .0061816 .0035598 1.74 0.082 -.0007954 .0131586
------------------------------------------------------------------------------
0 Response to When to use pweight
Post a Comment