Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accidentally turning on backward step-down procedure in validate and calibrate #142

Open
mzobeck opened this issue May 17, 2024 · 0 comments

Comments

@mzobeck
Copy link

mzobeck commented May 17, 2024

I was trying to set the number of repetitions represented by argument B in the validate and calibrate functions, but I mistakenly specified b instead (e.g. b = 300). I found this mistake activates the same behavior as bw = T, which I don't think is intended.

Example below:

library(rms)
library(survival)

mod <- cph(Surv(time, status) ~ id + rx + sex + age + obstruct + perfor + adhere + nodes + differ + extent + surg + node4,data = colon, surv = T, x = T, y = T)

validate(mod, B = 100)
validate(mod, b = 100)

calibrate(mod, B = 100, u = 360)
calibrate(mod, b = 100, u = 360)
@mzobeck mzobeck changed the title Accidentally turning on backward step-down procedure in validate and calibrate functions Accidentally turning on backward step-down procedure in validate and calibrate May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant