Description Usage Arguments Value
View source: R/univariate_models.R
In order to sample efficiently from the posterior density (and, ultimately, to calculate the mean age and confidence intervals), it is helpful to have an approximate estimate for the range of x-values that may be spanned by the posterior density. get_approx_x_range_ord provides a rough estimate of that range using only the likelihood (that is, it does not use the prior, which is usually far flatter than the likelihood; the range itself is also an estimate for the range implied by the likelihood).
1 | get_approx_x_range_ord(v, th_v, mod_spec)
|
v |
The response (a single value, not a vector) |
th_v |
The parameter vector |
mod_spec |
The model specification |
An approximate range for x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.