Skip to contents

Get a properly parameterized prior distribution for selected model parameters.

Usage

get_parameterized_prior_dist(parameter_name, prior_params)

Arguments

parameter_name

Name of the parameter in the wwinference Stan model

prior_params

Named list of prior hyperparameter values, as the output of wwinference::get_params()

Value

A distributional distribution object parameterized by the priors, e.g. a distributional::dist_normal() object. Errors if the user requests an unknown parameter.