discrete

Discrete-distribution fitters (1D).

Provides fitter functions and their descriptors for converting between discrete distribution characteristics (PMF, CDF, PPF).

Option taxonomy used here

CharacteristicOption
  • _fit_pmf_to_cdf_1D, _fit_ppf_to_cdf_1D: right_closed — controls the CDF convention:

    • True (default): right-closed, standard convention F(x) = P(ξ x).

    • False: right-open convention F⁻(x) = P(ξ < x).

    The right-open form is useful when computing the CDF of : P(-ξ -x) = P(ξ x) = 1 - P(ξ < x) = 1 - F⁻(x).

    Because this option changes the meaning of the result it is a CharacteristicOption and is encoded into the cache key.

ComputationOption
  • _fit_ppf_to_cdf_1D: n_q_grid — grid resolution for probing the PPF at fit-time. Affects only the accuracy of the table construction, not the semantic meaning of the CDF.