Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Using -compare- in margins after -olgoit-?
From
"Ariel Linden, DrPH" <[email protected]>
To
<[email protected]>
Subject
st: Using -compare- in margins after -olgoit-?
Date
Sun, 20 Jan 2013 15:12:00 -0500
Hi All,
Is there a way of using -mcompare()- in margins after ologit (or mlogit for
that matter)?
Given that a prediction must be made at each level of the outcome
independently, I am not sure if/how this would be accomplished.
For example:
webuse fullauto
ologit rep77 i.foreign length mpg
margins foreign, predict(outcome(1))
margins foreign, predict(outcome(2))
margins foreign, predict(outcome(3))
margins foreign, predict(outcome(4))
margins foreign, predict(outcome(5))
So how can I adjust the predicted outcome values, taking into consideration
that I am running 5 different comparisons?
Thanks!
Ariel
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/