Displaying 1 result from an estimated 1 matches for "posret".
Did you mean:
posrel
2008 Apr 28
1
Survival Regression with multiple events per subject
Dear R users!
I want to process a maximum likelihood estimation for a parametric
regression survival time model with multiple events per subject.
the STATA command for this survival regression is:
use survreg
stset failure(exercise), id(optionid)
local regressors itm posret negret
streg `regressors', distribution(weibull)
explanation:
stset declares data to be survival-time data;
exercise is the indicator variable, which shows if the subject is dead or
alive;
optionid is the multiple-record ID variable which means every subject has a
unique id and one subject can...