summary_bayesian: Summarizes results of bayesian methods

View source: R/bayesian_functions.R

summary_bayesianR Documentation

Summarizes results of bayesian methods

Description

Summarizes results of bayesian methods

Usage

summary_bayesian(optim_options, param_info, optim_results)

Arguments

optim_options

List of options of the parameter estimation method, containing:

  • out_dir Directory path where to write the optimization results (optional, default to getwd())

  • ranseed Set random seed so that each execution of estim_param give the same results when using the same seed. If you want randomization, set it to NULL, otherwise set it to a number of your choice (e.g. 1234) (optional, default to NULL, which means random seed)

  • specific options depending on the method used. Click on the links to see examples with the simplex and DreamZS methods.

  • path_results [Deprecated] path_results is no longer supported, use out_dir instead.

param_info

Information on the parameters to estimate. Either a list containing:

  • ub and lb, named vectors of upper and lower bounds (-Inf and Inf can be used if init_values is provided),

  • init_values, a data.frame containing initial values to test for the parameters (optional, if not provided, or if less values than number of repetitions of the minimization are provided, the, or part of the, initial values will be randomly generated using LHS sampling within parameter bounds).

or a named list containing for each parameter:

  • sit_list, list the groups of situations for which the current estimated parameter must take different values (see here for an example),

  • ub and lb, vectors of upper and lower bounds (one value per group),

  • init_values, the list of initial values per group (data.frame, one column per group, optional).

optim_results

Results list returned by bayesian method wrappers

Value

Prints results of bayesian methods


SticsRPacks/CroptimizR documentation built on Dec. 16, 2024, 11:54 a.m.