Hi everyone
I have four variables: Event 1 (1: yes, 0: no), time to event 1 (years); event 2 (1: yes, 0: no), time to event 2 (years)
I would like to do competing risks (compete variable event 2), so I have to create one new variable "events" (1: event 1, 2: compete risk has occured) before using stcrreg
Could you please help me with the appropiate syntaxis to make it?
Thank you
Related Posts with Preparing data for competing risks
Analysis with interaction term with three variablesHello everyone, I am trying to run a gravity model with the inclusion of an interaction term compos…
menbreg - interpretation of coefficientsDear statalist community, I am conducting a multilevel negative binomial regression analysis in sta…
T test of two groups in quintiles with dummy varibleHi there, I want to compare the group with Quintile 1 and Quintile 5 regarding higherdegree ( a dumm…
Fixed Effects Poisson or Negative Binomial?Hi, I am trying to choose between a Fixed-Effects Poisson regression model and a Fixed-Effects Nega…
Shortcuts in the do-file editorHi I'm very fond of shortcuts. So, it is very annoying to by accident invoke a copy of a marked line…
Subscribe to:
Post Comments (Atom)
0 Response to Preparing data for competing risks
Post a Comment