Package org.drip.measure.statistics
Class PopulationCentralMeasures
java.lang.Object
org.drip.measure.statistics.PopulationCentralMeasures
public class PopulationCentralMeasures
extends java.lang.Object
PopulationCentralMeasures holds the Population Central Measures (Mean, and Variance) of the
Population. It provides the following Functionality:
- PopulationCentralMeasures Constructor
- Retrieve the Population Mean
- Retrieve the Population Variance
- Compute the Draw's z-Score around the Population Mean
| Module | Computational Core Module |
| Library | Numerical Analysis Library |
| Project | Rd Continuous/Discrete Probability Measures |
| Package | R1 Rd Thin Thick Moments |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description PopulationCentralMeasures(double mean, double variance)PopulationCentralMeasures Constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PopulationCentralMeasures
public PopulationCentralMeasures(double mean, double variance) throws java.lang.ExceptionPopulationCentralMeasures Constructor- Parameters:
mean- Population Meanvariance- Population Variance- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
mean
public double mean()Retrieve the Population Mean- Returns:
- The Population Mean
-
variance
public double variance()Retrieve the Population Variance- Returns:
- The Population Variance
-
zScore
public double zScore(double x) throws java.lang.ExceptionCompute the Draw's z-Score around the Population Mean- Parameters:
x- The Next Draw- Returns:
- The Draw's z-Score around the Population Mean
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-