R/measure.bias.R

Defines functions measure.bias

Documented in measure.bias

#' @title Bias
#' @description Function to compute the difference between the observed and predicted means. 
#' The measure depends on the index mean.
#' @author J. Bedia, D. San-Mart\'in, S. Herrera
#' @template templateMeasureParams
#' @param dates dates
#' @return A float number corresponding to the bias.
#' @export

measure.bias <- function(indexObs = NULL, indexPrd = NULL, obs = NULL, prd = NULL, dates) {
      indexPrd - indexObs
}
SantanderMetGroup/R_VALUE documentation built on July 4, 2023, 4:27 a.m.