summary_frequentist: Summarizes results of frequentist methods

View source: R/frequentist_functions.R

summary_frequentistR Documentation

Summarizes results of frequentist methods

Description

Summarizes results of frequentist methods

Usage

summary_frequentist(optim_options, param_info, optim_results, out_dir)

Arguments

optim_options

List of options of the parameter estimation method, containing:

  • 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.

  • out_dir [Deprecated] Definition of out_dir in optim_options is no longer supported, use the new argument out_dir of estim_param 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),

  • default, named vectors of default values (optional, corresponding parameters are set to these values when the parameter is part of the candidate_param list and when it is not estimated ; these values are also used as first initial values when the parameters are estimated)

  • 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).

  • default, vector of default values per group (optional, the parameter is set to its default value when it is part of the candidate_param list and when it is not estimated ; the default value is also used as first initial value when the parameter is estimated)

optim_results

Results list returned by frequentist method wrappers

out_dir

Path to the directory where the optimization results will be written. (optional, default to getwd())

Value

Prints results of frequentist methods


SticsRPacks/CroptimizR documentation built on June 11, 2025, 12:33 a.m.