get_approx_x_range_ord: Get the approximate range of x-values given a single, known...

Description Usage Arguments Value

View source: R/univariate_models.R

Description

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).

Usage

1
get_approx_x_range_ord(v, th_v, mod_spec)

Arguments

v

The response (a single value, not a vector)

th_v

The parameter vector

mod_spec

The model specification

Value

An approximate range for x


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.