View source: R/wrappers_prior.R
| prior_normal | R Documentation |
'prior_normal()' specifies normal priors for location parameters and exponential priors for scale parameters. It is intended for MAP and Bayesian inference, not for 'classic()'.
prior_normal(
Intercept_sd = 10,
mu_sd = 10,
b_sd = 10,
sigma_rate = 1/5,
tau_rate = 1/5,
...
)
Intercept_sd |
Standard deviation for the intercept prior. If 'NULL', no intercept prior is added. |
mu_sd |
Standard deviation for mean/intercept priors. If 'NULL', no mean prior is added. |
b_sd |
Standard deviation for coefficient priors. If 'NULL', no coefficient prior is added. |
sigma_rate |
Rate for residual standard deviation priors. The default '1 / 5' gives an exponential prior with mean 5. If 'NULL', no sigma prior is added. |
tau_rate |
Rate for random-effect standard deviation priors. The default '1 / 5' gives an exponential prior with mean 5. If 'NULL', no tau prior is added. |
... |
Optional wrapper-specific hyperparameters. |
A list with class '"rtmb_prior"' and 'type = "normal"'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.