pastas.stats.dutch.q_ghg ======================== .. py:function:: pastas.stats.dutch.q_ghg(series: pandas.Series, tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, q: float = 0.94, by_year: bool = True) -> pandas.Series Quantiles for the Gemiddeld Hoogste Grondwaterstand. GHG is also called MHGL (Mean High Groundwater Level). :param series: Series to calculate the GHG for. :type series: pandas.Series :param tmin: A string or pandas.Timestamp with the start and end dates for the period (E.g. '1980-01-01 00:00:00' and '2020-01-01 00:00:00'). If None, the entire series is used. :type tmin: pandas.Timestamp or str, optional :param tmax: A string or pandas.Timestamp with the start and end dates for the period (E.g. '1980-01-01 00:00:00' and '2020-01-01 00:00:00'). If None, the entire series is used. :type tmax: pandas.Timestamp or str, optional :param q: quantile fraction of exceedance (default 0.94) :type q: float, optional :param by_year: Take average over quantiles per year (default True) :type by_year: bool, optional .. rubric:: Notes Approximated by taking quantiles of the time series values per year and calculating the mean of the quantiles. The series is first resampled to daily values. .. !! processed by numpydoc !!