validate_popReconstruct_hyperparameters: Helper function to validate hyperparameter values

Description Usage Arguments

View source: R/popReconstruct_fit.R

Description

Assert that the list of hyperparameters includes all expected components that are not fixed in the model.

Usage

1
validate_popReconstruct_hyperparameters(hyperparameters, inputs, settings)

Arguments

hyperparameters

[list()]
List for each model component ('srb', 'asfr', ...) that itself contains a list specifying the alpha (shape) and beta (scale) hyperparameters for the variance of each model component.

inputs

[list()]
[data.table()] for each ccmpp input. Requires 'srb', 'asfr', 'baseline'; mortality estimates provided as just 'survival' or two of 'mx', 'ax', and 'qx'; and migration estimates provided as just 'net_migration' or both 'immigration' and 'emigration'. See Section: Inputs for more information on each of the required inputs.

settings

[list()]
Named list of settings for running the popReconstruct model with. The required settings are the same as those required for demCore::ccmpp(), see Section: Settings for these. The optional settings specific to popReconstruct are described in Section: Optional popReconstruct Settings


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