Generate draws from priors for model terms.
The terms are assumed to be main effects,
except in the case of dynamic SVD priors
(eg SVD_RW()
) where they assumed to
be age-time interactions.
Usage
# S3 method for class 'bage_prior_ar'
generate(x, n = 20, n_draw = 25, ...)
# S3 method for class 'bage_prior_known'
generate(x, n = 20, n_draw = 25, ...)
# S3 method for class 'bage_prior_norm'
generate(x, n = 20, n_draw = 25, ...)
# S3 method for class 'bage_prior_normfixed'
generate(x, n = 20, n_draw = 25, ...)
# S3 method for class 'bage_prior_rw'
generate(x, n = 20, n_draw = 25, ...)
# S3 method for class 'bage_prior_rwseasfix'
generate(x, n = 20, n_draw = 25, ...)
# S3 method for class 'bage_prior_rw2'
generate(x, n = 20, n_draw = 25, ...)
Value
A tibble
See also
priors Overview of priors implemented in bage
augment()
,components()
Draw from posterior or prior distribution for whole model