model_hindcast.RdGenerate the FUN (returning GoF) to be used in hindcast optimization
model_hindcast(
  PARAMETER,
  PARAMETER.EXPONENT,
  BASEYEAR,
  TARGETYEARS,
  BASEDATA.ALLYEARS,
  LOG.WEIGHT = F,
  DB.OUTPUT = F
)A vector of parameters to optimize
A list of parameters used in initial calibration (e.g., CES and logit exponents)
A numeric value of base year
A vector of target years
The dataframe returned from dataproc.basedata
if true using log(1+weight) as weight; otherwise weight^0.5 is used as weight in output_metric
A logical variable: with value "T", output database is output; "F" is required in solver
goodness-of-fit (GoF)