Skip to content

Commit

Permalink
survival vec needs to be risk
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Jan 19, 2024
1 parent ab0fa93 commit a13cec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/oobag.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ oobag_brier_surv <- function(y_mat, w_vec, s_vec){
}
# if not available, use a dummy version
mean( (y_mat[,2] - s_vec)^2 )
mean( (y_mat[,2] - (1-s_vec))^2 )
}
Expand Down

0 comments on commit a13cec2

Please sign in to comment.