Skip to content
#

competing-risks

Here are 13 public repositories matching this topic...

turgeonmaxime
turgeonmaxime commented Jul 8, 2021

There's a bug when we try to specify formula_time = ~1 in fitSmoothHazard.fit. This would happen, for example, if we assumed an exponential hazard.

library(casebase)
#> See example usage at http://sahirbhatnagar.com/casebase/
N <- 1000; p <- 30
nzc <- 0.33 * p
x <- matrix(rnorm(N * p), N, p)
dimnames(x)[[2]] <- paste0("x", seq_len(p))
beta <- rnorm(nzc)
fx <- x[, seq(nzc)] %*%

Improve this page

Add a description, image, and links to the competing-risks topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the competing-risks topic, visit your repo's landing page and select "manage topics."

Learn more