popReconstruct_hyperparameters: Calculate Hyperparameters for the popReconstruct Model

Description Usage Arguments Value References See Also Examples

View source: R/popReconstruct_hyperparameters.R

Description

Use elicited expert opinion about the observable marginal quantities in the popReconstruct model to quantify uncertainty in the input parameters.

Elicitation statement is "there is a p_{ν}% probability that the true values are within plus-or-minus η_{ν} x 100 percent of the initial point estimates. See references for more details.

Usage

1
popReconstruct_hyperparameters(abs_deviations, p, alpha, survival = NULL)

Arguments

abs_deviations

[list()]
Named list of absolute deviations η_{ν} used in elicitation statement for each ccmpp/model component.

p

[list()]
Named list of central p_{ν}% probability interval used in elicitation statement for each ccmpp/model component.

alpha

[list()]
Named list for alpha (shape) parameter of inverse gamma distribution for each ccmpp/model component.

survival

[numeric()]
Initial age-sex specific survival proportion estimates. Must be non-NULL if 'survival' parameter is included in the other input arguments.

Value

Nested list of alpha (shape) and beta (scale) parameters for the variance of each model component.

References

Wheldon, Mark C., Adrian E. Raftery, Samuel J. Clark, and Patrick Gerland. 2013. “Reconstructing Past Populations With Uncertainty From Fragmentary Data.” Journal of the American Statistical Association 108 (501): 96–110. https://doi.org/10.1080/01621459.2012.737729.

popReconstruct R Package

Wheldon, Mark C., Adrian E. Raftery, Samuel J. Clark, and Patrick Gerland. 2015. “Bayesian Reconstruction of Two-Sex Populations by Age: Estimating Sex Ratios at Birth and Sex Ratios of Mortality.” Journal of the Royal Statistical Society. Series A: Statistics in Society 178 (4): 977–1007. https://doi.org/10.1111/rssa.12104.

markalava/Bayesian-Reconstruction github repo

See Also

Other popReconstruct: popReconstruct_fit(), rbindlist_dts()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
abs_deviations <- list(
  srb = 0.1,
  asfr = 0.1,
  population = 0.1,
  survival = 0.1,
  net_migration = 0.2
)
p <- list(
  srb = 0.9,
  asfr = 0.9,
  population = 0.9,
  survival = 0.9,
  net_migration = 0.9
)
alpha <- list(
  srb = 0.5,
  asfr = 0.5,
  population = 0.5,
  survival = 0.5,
  net_migration = 0.5
)
hyperparameters <- popReconstruct_hyperparameters(
  abs_deviations,
  p,
  alpha,
  survival = demCore::thailand_initial_estimates$survival$value
)

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