CreatePsaData: Generate/read Latin hyper cube sample of parameters for...

CreatePsaDataR Documentation

Generate/read Latin hyper cube sample of parameters for sensitivity analysis

Description

Generate Latin hyper cube sample of input parameters based on their distributions for probabilistic sensitivity analysis. If file (sample of parameters) already exists, then read Latin hyper cube sample of input parameters.

Usage

CreatePsaData(
  country_codes,
  vaccine = "4vHPV",
  psa_runs = 0,
  seed_state = 1,
  psadat_file = "psadat.csv",
  psadat_vimc_file = "psadat_vimc.csv",
  run_lhs = FALSE
)

Arguments

country_codes

ISO3 country codes of countries

vaccine

bivalent/quadrivalent or nonavalent HPV vaccine

psa_runs

integer, simulation runs for sensitivity analysis

seed_state

integer, seed value for random number generator

psadat_file

character string, file to save Latin hyper cube sample of input parameters

psadat_vimc_file

character string, file to save Latin hyper cube sample of input parameters (VIMC format)

run_lhs

logical, if TRUE create new sample of input parameters, if FALSE, read sample of input parameters from file

Value

Null return value; disease burden estimates are saved to corresponding files

Examples

  CreatePsaData (
    country_codes    = c("AFG", "ALB"),
    vaccine          = "4vHPV",
    psa_runs         = 200,
    seed_state       = 1,
    psadat_file      = "psadat.csv",
    psadat_vimc_file = "psadat_vimc.csv",
    run_lhs          = TRUE)

lshtm-vimc/prime documentation built on April 21, 2024, 3:21 a.m.