PSA_calib_values: Merge calibration outputs and sample PSA values

View source: R/PSA_helpers.R

PSA_calib_valuesR Documentation

Merge calibration outputs and sample PSA values

Description

Merge calibration outputs and sample PSA values

Usage

PSA_calib_values(
  .l_calib_res_lists = l_optim_lists,
  .search_method = "Directed",
  .PSA_samples = 10000,
  .l_params = NULL,
  .transform_ = FALSE
)

Arguments

.l_calib_res_lists

A list of calibration results lists. The function will use the outputs of calibration to sample PSA values or tabulate them appropriately.

.search_method

Class of calibration method. Currently supports "Directed", "Random" and "Bayesian".

.PSA_samples

The number of PSA samples to sample or tabulate.

.l_params

A list that contains a vector of parameter names, distributions and distributions' arguments.

.transform_

Logical, if TRUE the back transformation functions in the .l_params list will be used to transform the parameters to their original scale.

Examples

## Not run: 
l_optim_lists <- list(GA_optimise_lLLK, GA_optimise_wSSE,
                      GB_optimise_lLLK, GB_optimise_wSSE,
                      NM_optimise_lLLK, NM_optimise_wSSE,
                      SA_optimise_lLLK, SA_optimise_wSSE)

calibrated_values <- PSA_calib_values(.l_calib_res_lists = l_optim_lists)

## End(Not run)

W-Mohammed/calibrater documentation built on Oct. 14, 2023, 1:57 a.m.