# Corr: Calculate correlation between forecasts and observations, and assess uncertainty

## Description

Calculate correlation between forecasts and observations, and assess uncertainty

## Usage

Corr(fcst, obs, N.eff = NA, conf.level = 0.95, handle.na = "na.fail")

## Arguments

N.eff

user-defined effective sample size to be used in hypothesis test and for confidence bounds; if NA, the length of `obs` is used after removing missing values; default: NA

conf.level

confidence level used the confidence interval; default = 0.95

handle.na

how should missing values in forecasts and observations be handled; possible values are 'na.fail' and 'use.pairwise.complete'; default: 'na.fail'

## Value

vector with correlation, one-sided p-value, and central confidence interval at the user-defined confidence level

## References

Von Storch, Zwiers (2001): Statistical analysis in climate research. Cambridge University Press.

## Examples

# NOT RUN {
data(eurotempforecast)
Corr(rowMeans(ens), obs)
# }