Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members
npstat::RatioOfNormals Class Reference
Inheritance diagram for npstat::RatioOfNormals:
Detailed DescriptionFormulae used in the implementation of this class come from D.V. Hinkley, "On the ratio of two correlated normal random variables", Biometrika, v. 56, p. 635 (1969). Constructor & Destructor Documentation◆ RatioOfNormals()
The constructor arguments are as follows: "mu1" and "s1" are the mean and the standard deviation of the normal random variable in the numerator. "mu2" and "s2" are the mean and the standard deviation of the normal random variable in the denominator. "rho" is the correlation coefficient. Member Function Documentation◆ cdf()
Cumulative distribution function Implements npstat::AbsDistribution1D. ◆ classId()
Prototype needed for I/O Implements npstat::AbsDistribution1D. ◆ clone()
"Virtual copy constructor" Implements npstat::AbsDistribution1D. ◆ density()
Probability density Implements npstat::AbsDistribution1D. ◆ exceedance()
1 - cdf, known as "survival function" or "exceedance". Implementations should avoid subtractive cancellation. Implements npstat::AbsDistribution1D. ◆ isEqual()
Comparison for equality. To be implemented by derived classes. Implements npstat::AbsDistribution1D. ◆ quantile()
The quantile function (inverse cdf) Implements npstat::AbsDistribution1D. ◆ random()
Random number generator according to the given distribution. Should return the number of random points used up from the generator. Reimplemented from npstat::AbsDistribution1D. The documentation for this class was generated from the following file:
Generated by 1.9.1 |