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: margins with stcrreg
From
Jonathan Latner <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: margins with stcrreg
Date
Sun, 15 Sep 2013 10:50:05 -0500
using the following do file below, how do i interpret the margins? is it correct to say that the predicted hazard of failtype=1 is 5.99, given the competing risk of failtype=2?
use http://www.stata-press.com/data/r13/hypoxia, clear
stset dftime, failure(failtype == 1)
stcrreg ifp tumsize pelnode, compete(failtype == 2) noshr
margins
in my data, which examines a borrower's risk of foreclosure against the competing risk of prepayment, running a margins command yields 5.56. does this mean a borrower's risk of foreclosure against their competing risk of prepayment is 5.56?
if all this is true, why are the margins command returning a whole number? it seems like this ought to be a decimal, like .0599 in the hypoxia data or .0556 in my data. in other words, the command would return a percent, i.e. a patient has a 5.66% risk of failtype=1. hopefully, that all makes sense.
Jonathan
*
* 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/