hydromt.stats.skills.mse#

hydromt.stats.skills.mse(sim, obs, dim='time')[source]#

Return the mean squared error (MSE) between two time series.

MSE=frac1Nsumi=1N(eisi)2
Parameters:
  • sim (xarray DataArray) – simulations time series

  • obs (xarray DataArray) – observations time series

  • dim (str, optional) – name of time dimension in sim and obs (the default is ‘time’)

Returns:

the mean squared error

Return type:

xarray DataArray