|
STK++ 0.9.13
|
FisherSnedecor distribution law. More...
#include <STK_Law_FisherSnedecor.h>

Public Types | |
| typedef IUnivLaw< Real > | Base |
Public Member Functions | |
| FisherSnedecor (int df1=1., int df2=1) | |
| Default constructor. | |
| virtual | ~FisherSnedecor () |
| destructor | |
| int | df1 () const |
| int | df2 () const |
| void | setDf1 (int df1) |
| void | setDf2 (int df2) |
| virtual Real | rand () const |
| virtual Real | pdf (Real const &x) const |
| virtual Real | lpdf (Real const &x) const |
| virtual Real | cdf (Real const &t) const |
| virtual Real | icdf (Real const &p) const |
Public Member Functions inherited from STK::Law::IUnivLaw< Real > | |
| virtual | ~IUnivLaw () |
| Virtual destructor. | |
| virtual Real | lcdf (Real const &t) const |
| compute the lower tail log-cumulative distribution function Give the log-probability that a random variate is less or equal to t. | |
| virtual Real | cdfc (Real const &t) const |
| calculate the complement of cumulative distribution function, called in statistics the survival function. | |
| virtual Real | lcdfc (Real const &t) const |
| calculate the log-complement of cumulative distribution function Give the log-probability that a random variate is greater than t. | |
Public Member Functions inherited from STK::Law::ILawBase | |
| String const & | name () const |
Static Public Member Functions | |
| static Real | rand (int df1, int df2) |
| static Real | pdf (Real const &x, int df1, int df2) |
| static Real | lpdf (Real const &x, int df1, int df2) |
| static Real | cdf (Real const &t, int df1, int df2) |
| static Real | icdf (Real const &p, int df1, int df2) |
Protected Attributes | |
| int | df1_ |
| First degree of freedom. | |
| int | df2_ |
| Second degree of freedom. | |
Protected Attributes inherited from STK::Law::ILawBase | |
| String | name_ |
| Name of the Law. | |
Additional Inherited Members | |
Protected Member Functions inherited from STK::Law::IUnivLaw< Real > | |
| IUnivLaw (String const &name) | |
| Constructor. | |
| IUnivLaw (IUnivLaw const &law) | |
| copy Constructor. | |
Protected Member Functions inherited from STK::Law::ILawBase | |
| ILawBase (String const &name) | |
| Constructor. | |
| ~ILawBase () | |
| destructor. | |
FisherSnedecor distribution law.
In probability theory and statistics, the F-distribution is a continuous probability distribution. It is also known as Snedecor's F distribution or the Fisher–Snedecor distribution (after R. A. Fisher and George W. Snedecor). The F-distribution arises frequently as the null distribution of a test statistic, most notably in the analysis of variance.
If a random variable X has an F-distribution with parameters d1 and d2, we write 
![\[
f(x; d_1,d_2) = \frac{\sqrt{\frac{(d_1\,x)^{d_1}\,\,d_2^{d_2}} {(d_1\,x+d_2)^{d_1+d_2}}}}
{x\,\mathrm{B}\!\left(\frac{d_1}{2},\frac{d_2}{2}\right)}
\]](form_232.png)
Definition at line 62 of file STK_Law_FisherSnedecor.h.
Definition at line 65 of file STK_Law_FisherSnedecor.h.
Default constructor.
| df1,df2 | degree of freedom parameters |
Definition at line 69 of file STK_Law_FisherSnedecor.h.
|
inlinevirtual |
| t | a positive real value |
Implements STK::Law::IUnivLaw< Real >.
Definition at line 71 of file STK_Law_FisherSnedecor.cpp.
| t | a positive real value |
| df1,df2 | degree of freedom parameters |
Definition at line 110 of file STK_Law_FisherSnedecor.cpp.
|
inline |
Definition at line 75 of file STK_Law_FisherSnedecor.h.
References df1_.
Referenced by setDf1().
|
inline |
Definition at line 77 of file STK_Law_FisherSnedecor.h.
References df2_.
Referenced by setDf2().
| p | a probability number |
Implements STK::Law::IUnivLaw< Real >.
Definition at line 78 of file STK_Law_FisherSnedecor.cpp.
| p | a probability number |
| df1,df2 | degree of freedom parameters |
Definition at line 119 of file STK_Law_FisherSnedecor.cpp.
| x | a positive real value |
Reimplemented from STK::Law::IUnivLaw< Real >.
Definition at line 64 of file STK_Law_FisherSnedecor.cpp.
| x | a positive real value |
| df1,df2 | degree of freedom parameters |
Definition at line 102 of file STK_Law_FisherSnedecor.cpp.
| x | a positive real value |
Implements STK::Law::IUnivLaw< Real >.
Definition at line 57 of file STK_Law_FisherSnedecor.cpp.
| x | a positive real value |
| df1,df2 | degree of freedom parameters |
Definition at line 94 of file STK_Law_FisherSnedecor.cpp.
|
virtual |
Implements STK::Law::IUnivLaw< Real >.
Definition at line 50 of file STK_Law_FisherSnedecor.cpp.
| df1,df2 | degree of freedom parameters |
Definition at line 86 of file STK_Law_FisherSnedecor.cpp.
| df1 | set first degree of freedom parameter |
Definition at line 79 of file STK_Law_FisherSnedecor.h.
References df1(), df1_, setDf1(), and STKDOMAIN_ERROR_1ARG.
Referenced by setDf1().
| df2 | set second degree of freedom parameter |
Definition at line 85 of file STK_Law_FisherSnedecor.h.
References df2(), df2_, setDf2(), and STKDOMAIN_ERROR_1ARG.
Referenced by setDf2().
|
protected |
First degree of freedom.
Definition at line 145 of file STK_Law_FisherSnedecor.h.
|
protected |
Second degree of freedom.
Definition at line 147 of file STK_Law_FisherSnedecor.h.