18 #ifndef itkChiSquareDistribution_h
19 #define itkChiSquareDistribution_h
23 #include "ITKStatisticsExport.h"
82 double EvaluatePDF(
double x)
const override;
87 double EvaluatePDF(
double x,
const ParametersType &)
const override;
91 virtual double EvaluatePDF(
double x,
SizeValueType degreesOfFreedom)
const;
95 double EvaluateCDF(
double x)
const override;
100 double EvaluateCDF(
double x,
const ParametersType &)
const override;
104 virtual double EvaluateCDF(
double x,
SizeValueType degreesOfFreedom)
const;
109 double EvaluateInverseCDF(
double p)
const override;
115 double EvaluateInverseCDF(
double p,
const ParametersType &)
const override;
120 virtual double EvaluateInverseCDF(
double p,
SizeValueType degreesOfFreedom)
const;
131 bool HasMean()
const override {
return true; }
134 double GetMean()
const override;
140 double GetVariance()
const override;
147 static double PDF(
double x,
const ParametersType &);
164 static double CDF(
double x,
const ParametersType &);
186 static double InverseCDF(
double p,
const ParametersType &);
198 static double InverseCDF(
double p,
SizeValueType degreesOfFreedom);
204 void PrintSelf(std::ostream & os,
Indent indent)
const override;
ChiSquareDistribution class defines the interface for a univariate Chi-Square distribution (pdfs...
Light weight base class for most itk classes.
ProbabilityDistribution class defines common interface for statistical distributions (pdfs...
unsigned long SizeValueType
SizeValueType GetNumberOfParameters() const override
Control indentation during Print() invocation.
bool HasVariance() const override
bool HasMean() const override