I am trying to use mchange within Long and Freese's spost13 package (-findit spost13_ado-) in Stata 15.1.
Here is my code:
Then:
The output from mlogit contains the interaction term:
But the output from the mchange command does not:
Any suggestions would be greatly appreciated!
Here is my code:
Code:
mlogit PaidUnpaidSelf12Cats2 c.WantToBePrimaryEarner#Male
Code:
mchange
Code:
. mlogit PaidUnpaidSelf12Cats2 c.WantToBePrimaryEarner#Male, base(1) Iteration 0: log likelihood = -76.896294 Iteration 1: log likelihood = -71.073489 Iteration 2: log likelihood = -70.583766 Iteration 3: log likelihood = -70.579145 Iteration 4: log likelihood = -70.579144 Multinomial logistic regression Number of obs = 82 LR chi2(4) = 12.63 Prob > chi2 = 0.0132 Log likelihood = -70.579144 Pseudo R2 = 0.0822 ---------------------------------------------------------------------------------------------- PaidUnpaidSelf12Cats2 | Coef. Std. Err. z P>|z| [95% Conf. Interval] -----------------------------+---------------------------------------------------------------- Long | (base outcome) -----------------------------+---------------------------------------------------------------- SensitiveToPay | Male#c.WantToBePrimaryEarner | 0 | .2905134 .1891178 1.54 0.1245 -.0801506 .6611774 1 | .3010523 .1433273 2.10 0.0357 .0201359 .5819687 | _cons | -.6760504 .7109363 -0.95 0.3416 -2.06946 .7173592 -----------------------------+---------------------------------------------------------------- Short | Male#c.WantToBePrimaryEarner | 0 | .4704996 .3818554 1.23 0.2179 -.2779232 1.218922 1 | .697739 .2824248 2.47 0.0135 .1441966 1.251281 | _cons | -4.124606 1.682924 -2.45 0.0143 -7.423075 -.8261363 ----------------------------------------------------------------------------------------------
Code:
. mchange mlogit: Changes in Pr(y) | Number of obs = 82 Expression: Pr(PaidUnpaidSelf12Cats2), predict(outcome()) | Long Sensiti~y Short -------------+--------------------------------- Male | 1 vs 0 | -0.034 -0.066 0.100 p-value | 0.745 0.561 0.134 WantToBePr~r | +1 | -0.062 0.016 0.046 p-value | 0.012 0.661 0.135 +SD | -0.108 0.017 0.092 p-value | 0.008 0.810 0.155 Marginal | -0.066 0.024 0.042 p-value | 0.017 0.488 0.101
Comment