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.
stats()Computes and returns the statistical properties of the distribution, including,
scipy_like
- cdf(x)[source]#
Compute the cumulative density function (CDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the CDF.
- logcdf(x)[source]#
Compute the log cumulative density function (logCDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the logCDF.
- logpdf(x)[source]#
Compute the log probability density function (logPDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the logPDF.
- pdf(x)[source]#
Compute the probability density function (PDF) for the distribution.
- Parameters:
x – Input array at which to evaluate the PDF.
- stats()[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.
- property mean#
The mean of the distribution.
- property median#
The median of the distribution.
- property mode#
The mode of the distribution.
- property stddev#
The standard deviation of the distribution.
- property variance#
The variance of the distribution.
This class internally utilizes the following functions from utilities_d module:
Recommended Import#
from pymultifit.distributions import ScaledInverseChiSquareDistribution
Full Import#
from pymultifit.distributions.scaledInvChiSquare_d import ScaledInverseChiSquareDistribution