18 #ifndef itkChiSquareDistribution_h
19 #define itkChiSquareDistribution_h
23 #include "ITKStatisticsExport.h"
80 virtual double EvaluatePDF(
double x)
const ITK_OVERRIDE;
85 virtual double EvaluatePDF(
double x,
const ParametersType &) const ITK_OVERRIDE;
89 virtual
double EvaluatePDF(
double x,
SizeValueType degreesOfFreedom) const;
93 virtual
double EvaluateCDF(
double x) const ITK_OVERRIDE;
98 virtual
double EvaluateCDF(
double x, const ParametersType &) const ITK_OVERRIDE;
102 virtual
double EvaluateCDF(
double x,
SizeValueType degreesOfFreedom) const;
107 virtual
double EvaluateInverseCDF(
double p) const ITK_OVERRIDE;
113 virtual
double EvaluateInverseCDF(
double p, const ParametersType &) const ITK_OVERRIDE;
118 virtual
double EvaluateInverseCDF(
double p,
SizeValueType degreesOfFreedom) const;
126 virtual SizeValueType GetDegreesOfFreedom() const;
129 virtual
bool HasMean() const ITK_OVERRIDE {
return true; }
132 virtual double GetMean() const ITK_OVERRIDE;
135 virtual
bool HasVariance() const ITK_OVERRIDE {
return true; }
138 virtual double GetVariance() const ITK_OVERRIDE;
145 static
double PDF(
double x, const ParametersType &);
162 static
double CDF(
double x, const ParametersType &);
184 static
double InverseCDF(
double p, const ParametersType &);
196 static
double InverseCDF(
double p,
SizeValueType degreesOfFreedom);
200 virtual ~ChiSquareDistribution() ITK_OVERRIDE {}
202 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
SmartPointer< const Self > ConstPointer
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
ProbabilityDistribution Superclass
virtual SizeValueType GetNumberOfParameters() const override
ChiSquareDistribution Self
SmartPointer< Self > Pointer
Control indentation during Print() invocation.