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.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    PopulationCentralMeasures​(double mean, double variance)
    PopulationCentralMeasures Constructor
  • Method Summary

    Modifier and Type Method Description
    double mean()
    Retrieve the Population Mean
    double variance()
    Retrieve the Population Variance
    double zScore​(double x)
    Compute the Draw's z-Score around the Population Mean

    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.Exception
      PopulationCentralMeasures Constructor
      Parameters:
      mean - Population Mean
      variance - 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.Exception
      Compute 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