Hi, I'm using crrstep package to do stepwise covariate selection for the Fine & Gray competing risks regression model. However, I keep getting an error (please see below). Please help!!> PHstep <-crrstep(years~1+var1+var2+var3+var4+var5,scope.min=~1,censorcmprsk, data=crisk, direction=c("forward"), crr.object = FALSE, trace = TRUE, steps = 100) crrstep(formula = years ~ 1 + var1+var2+var3+var4+var5, scope.min = ~1, etype = censorcmprsk, data = crisk, direction = c("forward"), crr.object = FALSE, trace = TRUE, steps = 100) *Error in crr(ftime, fstatus, cov1, variance = TRUE, ...) : unused argument(s) (variance = TRUE)* Thank you very much! [[alternative HTML version deleted]]
Hi Kathy, You should first contact the package maintainer (which is me!) before posting to r-help. Which version of the package are you using? Can you send me a minimally reproducible code? Ravi Ravi Varadhan, Ph.D. Assistant Professor The Center on Aging and Health Division of Geriatric Medicine & Gerontology Johns Hopkins University rvaradhan@jhmi.edu<mailto:rvaradhan@jhmi.edu> 410-502-2619 [[alternative HTML version deleted]]
Possibly Parallel Threads
- Competing Risks Regression with qualitative predictor with more than 2 categories
- crr question‏ in library(cmprsk)
- Error in solve.default peforming Competing risk regression
- crr - computationally singular
- That 'make check-all' problem with the survival package