environmentaltools.temporal.cdf

environmentaltools.temporal.cdf(df: DataFrame, param: dict, ppf: bool = False)[source]

Computes the cumulative distribution function

Parameters:
  • df (*) – raw time series

  • param (*) – the parameters of the probability model

  • ppf (*) – boolean for selecting the method for the computation. Defaults is False (creating a previous mesh of data). False is computed from the probability models (sometimes it is not possible).

Returns:

the non-excedence probability

Return type:

  • prob (pd.DataFrame)