select_param_FwdRegAgMIP: Provide a list of candidate parameters to estimate based on...

View source: R/FwdRegAgMIP.R

select_param_FwdRegAgMIPR Documentation

Provide a list of candidate parameters to estimate based on the Forward Selection algorithm proposed in AgMIP calibration phaseIII protocol and a given information criterion

Description

Provide a list of candidate parameters to estimate based on the Forward Selection algorithm proposed in AgMIP calibration phaseIII protocol and a given information criterion

Usage

select_param_FwdRegAgMIP(
  oblig_param_list,
  add_param_list,
  crt_list,
  info_crit_values
)

Arguments

oblig_param_list

Vector of names of parameters that must be estimated (list of obligatory parameters)

add_param_list

Vector of names of additional parameters candidate to the estimation

crt_list

Vector of names of candidate parameters that have been previously used in parameter estimation

info_crit_values

Values of the information criterion obtained so far for the different steps.

Details

This function implements the Forward Selection based on information criterion as described in AgMIP Calibration protocol phase III (Crop model calibration using phenology data) If current information criterion value is superior to the previous one, we replace the previously added candidate parameter in crt_list by the next one in add_param_list. If current information criterion value is inferior to the previous one, we add a new candidate parameter to crt_list

A first estimation using oblig_param_list as candidate parameters must be performed before calling this function

Value

A list that contains: (i) the names of the candidate parameters for next parameter estimation or NULL when all parameters have been tested (next_candidates) (ii) a flag that indicates if the previous parameters tested are selected (selected)


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