ScaledInvChiSquareDistribution#
- class ScaledInverseChiSquareDistribution(amplitude: float = 1.0, df: float = 1.0, scale: float = 1.0, loc: float = 0.0, normalize: bool = False)[source]#
Bases:
BaseDistribution- Attributes:
Methods
cdf(x)Compute the cumulative density function (CDF) for the distribution.
logcdf(x)Compute the log cumulative density function (logCDF) for the distribution.
logpdf(x)Compute the log probability density function (logPDF) for the distribution.
pdf(x)Compute the probability density function (PDF) for the distribution.
scipy_like(a[, loc, scale])stats()Computes and returns the statistical properties of the distribution, including,
from_scipy_params
- cdf(x: ndarray) ndarray[source]#
Compute the cumulative density function (CDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the CDF.
- logcdf(x: ndarray) ndarray[source]#
Compute the log cumulative density function (logCDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the logCDF.
- logpdf(x: ndarray) ndarray[source]#
Compute the log probability density function (logPDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the logPDF.
- pdf(x: ndarray) ndarray[source]#
Compute the probability density function (PDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the PDF.
- classmethod scipy_like(a, loc: float = 0.0, scale=1.0)[source]#
Deprecated since version 1.0.7: Use from_scipy_params instead of scipy_like. scipy_like will be removed in a future release.
- stats() Dict[str, float][source]#
Computes and returns the statistical properties of the distribution, including,
mean,
median,
variance, and
standard deviation.
- Returns:
A dictionary containing statistical properties such as mean, variance, etc.
- Return type:
Notes
If any of the parameter is not computable for a distribution, this method returns None.
This class internally utilizes the following functions from utilities_d module:
Recommended Import#
from pymultifit.distributions import ScaledInverseChiSquareDistribution
Full Import#
from pymultifit.distributions.generalized.scaledInvChiSquare_d import ScaledInverseChiSquareDistribution