Displaying 1 result from an estimated 1 matches for "stdcumhaz".
Did you mean:
secumhaz
2011 Mar 07
0
survest() for cph() in Design package
...ator variable to indicate whether age is below 50, 50-69 or >=70,
used as strata in the model
The SAS code is (if this helps to address my question/problem)
proc phreg data=uminers;
model rstime*cc(0)=cr500 smoke25/ entry=rsentry offset=logw rl;
baseline out=ch covariates=covs cumhaz=cumhaz stdcumhaz=secumhaz lowercumhaz=lci
uppercumhaz=uci/ nomean;
strata rstime2;
run;
My R code is:
library(survival)
library(Design)
> uminers<-read.table("uminers.txt",sep='\t',header=T,row.names=NULL)
> fit <- cph(Surv(rsentry,rstime,cc)~cr500+smoke25+strat(rstime2) +offset...