Hi all, and thanks in advance for any responses.
I'm estimating the following model: mlogit enroll_method ses_index2 i.race2 physical2 emotion2 i.enroll_site enroll_age i.period, vce(robust), where enroll_method is one of six contraceptive methods selected at enrollment in a study and ses_index2 is a composite index with continuous values.
For each enroll_method, I have run the margins command to get the predicted probability at the 10th and 90th percentile values of the ses_index2:
margins, at(ses_index2=(1 6)) predict(outcome(2))
For this example I get the following results:
Predictive margins Number of obs = 12,316
Model VCE : Robust
Expression : Pr(enroll_method==2), predict(outcome(2))
1._at : ses_index2 = 1
2._at : ses_index2 = 6
------------------------------------------------------------------------------
| Delta-method
| Margin Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_at |
1 | .1607696 .004946 32.50 0.000 .1510756 .1704636
2 | .114489 .0061308 18.67 0.000 .102473 .1265051
------------------------------------------------------------------------------
I now want to test whether .1607696 is significantly different than .114489, but am having trouble finding sufficient documentation to do this on (1) a continuous independent variable and (2) for different values of the same independent variable.
Any and all advice would be deeply appreciated!
Best,
Kelsey
Related Posts with Testing for difference in marginal effects at two values of same continuous independent variable
destring return strange messageI tried to destring a variable but the "destring" return strange message. When I looked at the chara…
Newey-West regressionHi, I am trying to run a Newey-West regression, however I do not quite understand how should I choos…
comparing two timelines and converting date from 1960 to 2020I have multiple timelines I am attempting to analyse. After converting the dates to a numerical form…
Meta regression: Random and Fixed effects / reg and aregDear all, I have a question that is probably specific to meta regression analyses. I refer to Feld…
How to run a regression with dummies in STATA?Hello, I have the following regression: CSAD= alpha + (beta1)(1-Dummy)(Return) + (beta2)(Dummy)(…
Subscribe to:
Post Comments (Atom)
0 Response to Testing for difference in marginal effects at two values of same continuous independent variable
Post a Comment