Skip to content

Commit

Permalink
Fix 95% quantile
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkucharski authored and avallecam committed Oct 11, 2024
1 parent 1045953 commit 6aee9fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ess_mcmcpack <- coda::effectiveSize(result_mcmcpack)
# from data.frame of MCMC samples
get_param <- function(x){
apply(x,2,function(y){
val <- signif(quantile(y,c(0.5,0.025,0.0975)),3)
val <- signif(quantile(y,c(0.5,0.025,0.975)),3)
val_text <- paste0(val[1], " (95%: CrI: ", val[2], "-", val[3], ")")})
}
Expand Down

0 comments on commit 6aee9fe

Please sign in to comment.