enstools.scores.normalized_root_mean_square_error¶
- enstools.scores.normalized_root_mean_square_error(reference: DataArray, target: DataArray, method: str = 'iqr') DataArray¶
Normalized RMSE with two normalization methods, absolute range and inter quartile range (less sensitive to outliers)
\[\sqrt{\frac{1}{n}\sum_{i=1}^{n}(reference_i-target_i)^2}/range\]- Parameters:
- referencexarray.DataArray
- targetxarray.DataArray
- method: str
select between the iqr (inter quartile range) or the range (absolute range). Default is “iqr”
- Returns:
- root_mean_square_error: xarray.DataArray
A data array with the time-series of the root mean square error