calculate_beta: Calculate the beta hyperparameter for popReconstruct variance...

Description Usage Arguments Value

View source: R/popReconstruct_hyperparameters.R

Description

Helper function for calculating the beta parameter of an inverse gamma distribution given absolute deviation from the popReconstruct elicitation statement. Used for quantifying measurement error in popReconstruct components.

Usage

1
calculate_beta(abs_deviation, p, alpha, log_transform)

Arguments

abs_deviation

[numeric(1)]
Expert opinion about the absolute deviation η_{ν} of the initial point estimates for a given probability interval p_{ν}.

p

[numeric(1)]
Central p_{ν}% probability interval used in elicitation statement.

alpha

[numeric(1)]
Alpha (shape) parameter of inverse gamma distribution.

log_transform

[logical(1)]
Whether model component is log transformed in the popReconstruct model.

Value

[numeric(1)] Beta (scale) parameter of inverse gamma distribution for the variance of the popReconstruct model component.


ihmeuw-demographics/popMethods documentation built on Jan. 29, 2021, 12:39 p.m.