RAnEnExtra::verifyBias calculates bias.

verifyBias(anen.ver, obs.ver, boot = F, R = 1000, na.rm = T, parallel = F)

Arguments

anen.ver

A 4-dimensional array. This array is usually created from the value column of the analogs member in the results of RAnEn::generateAnalogs. The dimensions should be [stations, times, lead times, members].

obs.ver

A 3-dimensional array. The dimensions should be [stations, times, lead times]. You can generate the array using RAnEn::alignObservations.

boot

Whether to use bootstrap.

R

The number of bootstrap replicates. Used by the function boot::boot.

na.rm

Whether to remove NA values.

parallel

Whether to turn on parallel processing.

Details

RMSE ^ 2 = CRMSE ^ 2 + Bias ^ 2

To set the number of cores to use when parallel is used, options(mc.cores = 8).

Bootstrap confidence interval is defaulted to 0.95. To change this, use options(RAnEnExtra_boot_conf = 0.9).