pastas.stats.metrics.sse ======================== .. py:function:: pastas.stats.metrics.sse(obs: pandas.Series | None = None, sim: pandas.Series | None = None, res: pandas.Series | None = None, missing: str = 'drop') -> float Compute the Sum of the Squared Errors (SSE). :param sim: Series with the simulated values. :type sim: pandas.Series, optional :param obs: The Series with the observed values. :type obs: pandas.Series, optional :param res: The Series with the residual values. If time series for the residuals are provided, the sim and obs arguments are ignored. Note that the residuals must be computed as `obs - sim` here. :type res: pandas.Series, optional :param missing: string with the rule to deal with missing values. Only "drop" is supported now. :type missing: str, optional .. rubric:: Notes The Sum of the Squared Errors (SSE) is calculated as follows: .. math:: \text{SSE} = \sum(\epsilon^2) where :math:`\epsilon` are the errors. .. !! processed by numpydoc !!