Hello,
i was wondering...if i have a longitudinal database by visit, with covariates populated at each visit per person..and some variables are modifiable like smoking, drinking, hash use etc. If i were to stset this longitudinal data..and run
would stata create kaplan meiers where at each event time, the risk sets that are created account for changing group memberships? Is that something i could use as a better alternative to the "classic kaplan meier"; that only uses a single time point of baseline/when person starts being at risk for event?
Thanks in advance!
i was wondering...if i have a longitudinal database by visit, with covariates populated at each visit per person..and some variables are modifiable like smoking, drinking, hash use etc. If i were to stset this longitudinal data..and run
Code:
sts graph, by(modifiable var)
Thanks in advance!