Dear Statalisters,
I have a question on the command stcompet.
I am considering the entry into a marriage or a dissolution from cohabitation, as
competing risks.
In order to do that, I stset my observations by considering marriage (uniontype==2) as the failure.
Then, I use stcompet to set the dissolution (compet1(1) ) as the competing risk.
This is the code:
stset time, failure(uniontype==2) id(pidnew)
drop cif*
stcompet cif=ci , compet1(1) by(wave5) level(90)
I would like to understand how censored cases are treated.
1) Are they considered in the computation?
2) Should I specify a different competing risk (e.g. compet2(0)) for the censored individuals?
Potential code:
stset time, failure(uniontype==2) id(pidnew)
drop cif*
stcompet cif=ci , compet1(1) compet2(0) by(wave5) level(90)
I would like to understand if you have suggestion on the correct way of proceeding, since I have slightly different curves depending on whether I
am setting censored as competing risks or not.
Thank you and best,
Lydia
Related Posts with Question on stcompet
Cox regression assumptionI am doing a research to examine the association between sleep and all-cause mortality. The average …
New Stata 16 versions of dolog, dotex and dologx on SSCThanks as always to Kit Baum, new versions of the dolog, dotex and dologx packages are now available…
reshape - wide connectionsI have variables in wide that belong together i groups (eg. var1a and var2a). I would like to reshap…
how to get x-standardized coefficient in logistic regression, i.e., reproduce results from "listcoef" commandI was trying to get the standardized coefficient from ologit model. "listcoef" can produce the table…
SEM, error coefficients output.Hi, How can I receive the outputs for the "path coefficient" of error terms to each items of a laten…
Subscribe to:
Post Comments (Atom)
0 Response to Question on stcompet
Post a Comment