Skip to contents

Print a human-readable summary of every prior that was used to fit an mlumr() model, including the effective per-coefficient scales after autoscaling. Mirrors the spirit of rstanarm::prior_summary().

Usage

prior_summary(object, ...)

# Default S3 method
prior_summary(object, ...)

# S3 method for class 'mlumr_fit'
prior_summary(object, digits = 3, ...)

Arguments

object

An mlumr_fit object.

...

Unused.

digits

Number of significant digits for numeric values (default 3).

Value

Invisibly returns a list describing the priors; the side effect is printing a formatted summary.

See also

prior_sensitivity() to quantify how much the posterior moves under alternative prior_beta scales; prior_normal(), prior_student_t(), prior_cauchy(), prior_exponential() for the prior constructors themselves.

Examples

if (FALSE) { # \dontrun{
fit <- mlumr(dat)
prior_summary(fit)
} # }