Description Usage Arguments Value References See Also Examples
View source: R/popReconstruct_hyperparameters.R
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.
1 | popReconstruct_hyperparameters(abs_deviations, p, alpha, survival = NULL)
|
abs_deviations |
[ |
p |
[ |
alpha |
[ |
survival |
[ |
Nested list of alpha (shape) and beta (scale) parameters for the variance of each model component.
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.
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
Other popReconstruct:
popReconstruct_fit()
,
rbindlist_dts()
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
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.