Displaying 2 results from an estimated 2 matches for "cox3grp".
2013 Apr 24
2
Trouble Computing Type III SS in a Cox Regression
...elp-request at r-project.org wrote:
> Hello All,
>
> Am having some trouble computing Type III SS in a Cox Regression using either drop1 or Anova from the car package. Am hoping that people will take a look to see if they can tell what's going on.
>
> Here is my R code:
>
> cox3grp<- subset(survData,
> Treatment %in% c("DC", "DA", "DO"),
> c("PTNO", "Treatment", "PFS_CENSORED", "PFS_MONTHS", "AGE", "PS2"))
> cox3grp<- droplevels(cox3grp)
> str(cox3grp)
>
> coxCV&l...
2013 Apr 24
1
Trouble Computing Type III SS in a Cox Regression using drop1 and Anova
Hello All,
Am having some trouble computing Type III SS in a Cox Regression using either drop1 or Anova from the car package. Am hoping that people will take a look to see if they can tell what's going on.
Here is my R code:
cox3grp <- subset(survData,
Treatment %in% c("DC", "DA", "DO"),
c("PTNO", "Treatment", "PFS_CENSORED", "PFS_MONTHS", "AGE", "PS2"))
cox3grp <- droplevels(cox3grp)
str(cox3grp)
coxCV <- coxph(Surv(PFS_MONTHS,...