Displaying 1 result from an estimated 1 matches for "idparticipante".
2012 May 30
0
anova.coxph for multiple events model
...ph. I need to choose which
covariates stay in the final model and i'm using anova but it seems that it
doesn't work with robust variances as a error message appears when I try to
do it:
/PWPfit<-coxph(Surv(ini,fim,status)~Sexo+Transmissao+Regime+HAART+Drogas+Psi+
+ CD4+CV+Neo+IO+cluster(idPARTICIPANTE)+strata(Estrato),data=PWP)
> anova(PWPfit)
Error in anova.coxph(PWPfit) :
Can't do anova tables with robust variances
/
However when I fit two different nested models the function anova seems to
work:
/>
PWPfit<-coxph(Surv(ini,fim,status)~Sexo+Transmissao+Regime+HAART+Drogas+Psi+...