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
stcurve showing wrong timeHi Statalist, I am running a survival analysis to find the difference in an event between 4 differe…
performing xtgcause when my data are not cointegratedDear all, I'm currently working on my thesis about the relationship between financial development, t…
Time seriesI use ID as a symbol for the company I use, each company has more than 1 event with different dates.…
How to divide column totals with an output that includes 95%CIDear all, I have a dataset with two continuous variables. I had calculated the total of each column …
stcurve showing wrong analysis (follow-up) timeHi Statalist, I am running a survival analysis to find the difference in occurence of an event betw…
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