Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Time and censor variable in survival analysis

    Hi everyone,
    So I'm using this individual level longitudinal dataset that carries data on drug use for 15 years...I have used tsspell command and created spells in which people have been drug free...I know the number of spells,spell lengths, the beginning and the end of spells and their frequencies.However,I want to use streg/stcox commands and am sort of confused how to define my "time" variable together with my failure or censor variable.
    Your insight on this is appreciated.
Working...
X