public class SingleSequenceAgnosticMetrics
extends java.lang.Object
Constructor and Description |
---|
SingleSequenceAgnosticMetrics(double[] adblSequence,
R1 distPopulation)
Build out the Sequence and their Metrics
|
Modifier and Type | Method and Description |
---|---|
PivotedDepartureBounds |
centralMomentBound(double dblLevel,
int iMoment)
Retrieve the Mean Departure Bounds Using the Central Moment Bounding Inequality
|
PivotedDepartureBounds |
chebyshevAssociationBound(R1ToR1 au1,
boolean bNonDecreasing1,
R1ToR1 au2,
boolean bNonDecreasing2)
Retrieve the Chebyshev's Association Joint Expectation Bound
|
PivotedDepartureBounds |
chebyshevBound(double dblLevel)
Retrieve the Mean Departure Bounds Using the Chebyshev's Inequality
|
PivotedDepartureBounds |
chebyshevCantelliBound(double dblLevel)
Retrieve the Mean Departure Bounds Using the Chebyshev-Cantelli Inequality
|
double |
empiricalAnchorMoment(int iMoment,
double dblAnchor,
boolean bAbsolute)
Compute the Specified Anchor Moment of the Sample Sequence
|
double |
empiricalCentralMoment(int iMoment,
boolean bAbsolute)
Compute the Specified Central Moment of the Sample Sequence
|
double |
empiricalExpectation()
Retrieve the Sample Expectation
|
double |
empiricalRawMoment(int iMoment,
boolean bAbsolute)
Compute the Specified Raw Moment of the Sample Sequence
|
double |
empiricalVariance()
Retrieve the Sample Variance
|
SingleSequenceAgnosticMetrics |
functionSequenceMetrics(R1ToR1 au)
Generate the Metrics for the Univariate Function Sequence
|
boolean |
isPositive()
Retrieve the Sequence Positiveness Flag
|
double |
markovUpperProbabilityBound(double dblLevel,
R1ToR1 auNonDecreasing)
Retrieve the Markov Upper Limiting Probability Bound for the Specified Level:
- P (X gte t) lte E[f(X)] / f(t)
|
R1 |
populationDistribution()
Retrieve the Population Distribution
|
double |
populationMean()
Retrieve the Population Mean
|
double |
populationVariance()
Retrieve the Population Variance
|
double[] |
sequence()
Retrieve the Input Sequence
|
PivotedDepartureBounds |
weakLawAverageBounds(double dblLevel)
Estimate Mean Departure Bounds of the Average using the Weak Law of Large Numbers
|
public SingleSequenceAgnosticMetrics(double[] adblSequence, R1 distPopulation) throws java.lang.Exception
adblSequence
- Array of Sequence EntriesdistPopulation
- The True Underlying Generator Distribution of the Populationjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double empiricalCentralMoment(int iMoment, boolean bAbsolute) throws java.lang.Exception
iMoment
- The MomentbAbsolute
- TRUE - The Moment sought is on the Absolute Valuejava.lang.Exception
- Thrown if the Inputs are invalidpublic double empiricalRawMoment(int iMoment, boolean bAbsolute) throws java.lang.Exception
iMoment
- The MomentbAbsolute
- TRUE - The Moment sought is on the Absolute Valuejava.lang.Exception
- Thrown if the Inputs are invalidpublic double empiricalAnchorMoment(int iMoment, double dblAnchor, boolean bAbsolute) throws java.lang.Exception
iMoment
- The MomentdblAnchor
- The Anchor Pivot off of which the Moment is calculatedbAbsolute
- TRUE - The Moment sought is on the Absolute Valuejava.lang.Exception
- Thrown if the Inputs are invalidpublic SingleSequenceAgnosticMetrics functionSequenceMetrics(R1ToR1 au)
au
- The Univariate Functionpublic R1 populationDistribution()
public double empiricalExpectation()
public double populationMean()
public double empiricalVariance()
public double populationVariance()
public boolean isPositive()
public double[] sequence()
public double markovUpperProbabilityBound(double dblLevel, R1ToR1 auNonDecreasing) throws java.lang.Exception
dblLevel
- The Specified LevelauNonDecreasing
- The Non-decreasing Bounding Transformer Functionjava.lang.Exception
- Thrown if the Inputs are invalidpublic PivotedDepartureBounds chebyshevBound(double dblLevel)
dblLevel
- The Level at which the Departure is soughtpublic PivotedDepartureBounds centralMomentBound(double dblLevel, int iMoment)
dblLevel
- The Level at which the Departure is soughtiMoment
- The Moment Bound soughtpublic PivotedDepartureBounds chebyshevCantelliBound(double dblLevel)
dblLevel
- The Level at which the Departure is soughtpublic PivotedDepartureBounds chebyshevAssociationBound(R1ToR1 au1, boolean bNonDecreasing1, R1ToR1 au2, boolean bNonDecreasing2)
au1
- Function 1 Operating On Sequence 1bNonDecreasing1
- TRUE - Function 1 is non-decreasingau2
- Function 2 Operating On Sequence 2bNonDecreasing2
- TRUE - Function 2 is non-decreasingpublic PivotedDepartureBounds weakLawAverageBounds(double dblLevel)
dblLevel
- The Level at which the Departure is sought