search for: evstatus

Displaying 1 result from an estimated 1 matches for "evstatus".

Did you mean: estatus
2011 Jun 14
0
error message trying to plot survival curves from hypothetical covariate profiles
...0 0 0 0 0 0 0 0 ... $ partisan: Factor w/ 3 levels "democrat","mixed",..: 1 1 1 1 1 1 1 1 1 1 ... $ news : num 0 0 0 0 0 0 0 0 0 0 ... $ start : num 2005 2005 2005 2006 2006 ... $ stop : num 2006 2006 2006 2007 2007 ... $ risk : num 1 2 3 1 2 3 1 2 3 1 ... $ evstatus: num 0 0 0 0 0 0 0 0 0 0 ... I am modelling the survival time until the adoption of the policy as follows: mod1<-Surv(newdat$start, newdat$stop, newdat$evstatus) mymod1<-coxph(mod1 ~ news + enviro + partisan + cluster(state) + strata(evstatus), method=c("efron"), robust=TRUE) Ag...