post_treat_frequentist: Post-treat results of frequentist methods

View source: R/frequentist_functions.R

post_treat_frequentistR Documentation

Post-treat results of frequentist methods

Description

Post-treat results of frequentist methods

Usage

post_treat_frequentist(optim_options, param_info, optim_results, crit_options)

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 frequentist method wrappers

crit_options

List containing several arguments given to estim_param function: param_names, obs_list, model_function, model_options, param_info, transform_obs, transform_sim that must be passed to main_crit function by the methods wrappers.

Value

Updated results of frequentist method


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