Skip to content

Commit 4833635

Browse files
committed
docs
1 parent 107c5e6 commit 4833635

3 files changed

Lines changed: 23 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: performance
33
Title: Assessment of Regression Models Performance
4-
Version: 0.17.0.5
4+
Version: 0.17.0.6
55
Authors@R:
66
c(person(given = "Daniel",
77
family = "Lüdecke",

R/check_priors.R

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,19 @@
4747
#'
4848
#' @examples
4949
#' \dontrun{
50+
#' # model with correctly defined priors. outcome is binary, prior
51+
#' # predictive checks indicate the predicted probability mass based
52+
#' # on the prior distributions - the resulting pattern aligns with
53+
#' # our real-world assumptions
5054
#' model <- insight::download_model("stan_prior_checks_1")
5155
#' plot(check_priors(model, "mmse"))
56+
#'
57+
#' # model with default (weakly informative) priors, which is poorly
58+
#' # calibrated. It pushes probability mass almost exclusively to the
59+
#' # extremes of 0 and 1, leaving the plausible middle range largely
60+
#' # unsupported
61+
#' model <- insight::download_model("stan_prior_checks_2")
62+
#' plot(check_priors(model, "mmse"))
5263
#' }
5364
#' @export
5465
check_priors <- function(model = NULL, ...) {

man/check_priors.Rd

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)