SQ_optim | R Documentation |
Main function for parameter estimation
SQ_optim( crit_function, optim_method, obs_daily_path, obs_sum_path, dailyVar, sumVar, obs_sim_path, project_path, output_path, console_path, param_info, optim_options, run2simulate, cores_nb, time_display, saves_daily_output, print_console )
crit_function |
Criterium to optimise depends on the chosen method : Simplex : "crit_log_cwss", "crit_log_cwss_corr", "crit_ols" Dreamzs : "likelihood_log_ciidn" , "likelihood_log_ciidn_corr" |
optim_method |
Estimation method (Dreamzs, Simplex) |
obs_daily_path |
Path to daily observations |
obs_sum_path |
Path to summary observations |
dailyVar |
Vector of variables names to estimate (variables from daily file) |
sumVar |
Vector of the variables names to estimate (variables from summary file) |
obs_sim_path |
Path to the data frame which matches between the names of the simulated and observed variables |
project_path |
Path to the directory of input files |
output_path |
Path where to save results |
console_path |
Path to the console |
param_info |
Information on the parameters to estimate. #' Either a list containing:
or
a named list containing for each parameter the list of situations per group
( |
optim_options |
List of options of the parameter estimation method, containing: |
run2simulate |
Run name to simulate |
cores_nb |
Number of cores to simulate on |
time_display |
Flag (TRUE/FALSE) for display of calculation time |
saves_daily_output |
Boolean to save daily output (if set to "true") |
print_console |
Boolean to print information on the simulation progression on the console (if set to "false") |
prints, graphs and a list containing the results of the parameter estimation,
All results are saved in the folder optim_options$path_results
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.