climpred.metrics._pearson_r¶
-
climpred.metrics._pearson_r(forecast, verif, dim=None, **metric_kwargs)[source]¶ Pearson product-moment correlation coefficient.
A measure of the linear association between the forecast and verification data that is independent of the mean and variance of the individual distributions. This is also known as the Anomaly Correlation Coefficient (ACC) when correlating anomalies.

where
and
represent the standard deviation
of the forecast and verification data over the experimental period, respectively.Note
Use metric
pearson_r_p_valueorpearson_r_eff_p_valueto get the corresponding p value.- Parameters
forecast (xarray object) – Forecast.
verif (xarray object) – Verification data.
dim (str) – Dimension(s) to perform metric over.
metric_kwargs (dict) – see
pearson_r()
- Details:
minimum
-1.0
maximum
1.0
perfect
1.0
orientation
positive