search for: streg

Displaying 3 results from an estimated 3 matches for "streg".

Did you mean: streq
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 have multipl...
2011 Feb 25
1
Forced inclusion of varaibles in validate command as well as step
...T, sep=",") attach(data1) coxmodel4 <- coxph(formula=Surv(OS,mors) ~ iAJCC2+iAJCC3+iPS2+iPS3++alder_diag+gender+vol_GTV+iforb2+iforb3+hem_LNL+ser o_thromb+LDH_UNL+ALAT_UNL+BASP_UNL+sero_bili+resection_perf+sero_WBC, data=data1, x=TRUE, y=TRUE,method=c("efron")) coxmodel.streg<-step(coxmodel4) I would like to "lock" iAJCC2 iAJCC3 and iPS2 + iPS3 regardless, but I cannot seem to get the step function to accept this. Further Once I have the model I would like to validate it with the validate command I am presently using this****************...
2012 Jul 06
4
differences between survival models between STATA and R
Dear Community, I have been using two types of survival programs to analyse a data set. The first one is an R function called aftreg. The second one an STATA function called streg. Both of them include the same analyisis with a weibull distribution. Yet, results are very different. Shouldn't the results be the same? Kind regards, J -- View this message in context: http://r.789695.n4.nabble.com/differences-between-survival-models-between-STATA-and-R-tp4635670.html Se...