Package org.drip.validation.evidence
Class R1Ensemble
java.lang.Object
org.drip.validation.evidence.R1Ensemble
- All Implemented Interfaces:
NativeR1PITGenerator
public class R1Ensemble extends java.lang.Object implements NativeR1PITGenerator
R1Ensemble contains the Ensemble Collection of Statistical R1 Samples and their Test
Statistic Evaluators.
- Bhattacharya, B., and D. Habtzghi (2002): Median of the p-value under the Alternate Hypothesis American Statistician 56 (3) 202-206
- Head, M. L., L. Holman, R, Lanfear, A. T. Kahn, and M. D. Jennions (2015): The Extent and Consequences of p-Hacking in Science PLoS Biology 13 (3) e1002106
- Wasserstein, R. L., and N. A. Lazar (2016): The ASA’s Statement on p-values: Context, Process, and Purpose American Statistician 70 (2) 129-133
- Wetzels, R., D. Matzke, M. D. Lee, J. N. Rouder, G, J, Iverson, and E. J. Wagenmakers (2011): Statistical Evidence in Experimental Psychology: An Empirical Comparison using 855 t-Tests Perspectives in Psychological Science 6 (3) 291-298
- Wikipedia (2019): p-value https://en.wikipedia.org/wiki/P-value
- Module = Computational Core Module
- Library = Model Validation Analytics Library
- Project = Risk Factor and Hypothesis Validation, Evidence Processing, and Model Testing
- Package = Sample and Ensemble Evidence Processors
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description R1Ensemble(R1Sample[] r1SampleArray, R1TestStatisticEvaluator[] r1TestStatisticEvaluatorArray)R1Ensemble Constructor -
Method Summary
Modifier and Type Method Description double[][]evaluatedSampleTestStatistic()Retrieve the Computed Ensemble Test StatisticsR1ProbabilityIntegralTransformnativeProbabilityIntegralTransform()Generate the PIT over the Sample Instance RealizationsR1ProbabilityIntegralTransform[]probabilityIntegralTransformArray()Retrieve the Array of Probability Integral Transforms, one for each Test StatisticR1Sample[]sampleArray()Retrieve the Array of the Statistical Hypothesis SamplesR1PITTester[]significanceTest()Construct the Test Statistic Based Significance Test Hypothesis ArrayR1StatisticalTestOutcome[]statisticalTest(double testStatistic, SignificanceTestSetting pTestSetting)Compute the Array of Statistical Test OutcomesR1TestStatisticEvaluator[]testStatisticEvaluatorArray()Retrieve the Array of the Test Statistic EvaluatorsR1TTestOutcome[]tTest(double testStatistic)Compute the Array of t-Test ResultsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
R1Ensemble
public R1Ensemble(R1Sample[] r1SampleArray, R1TestStatisticEvaluator[] r1TestStatisticEvaluatorArray) throws java.lang.ExceptionR1Ensemble Constructor- Parameters:
r1SampleArray- Array of the Statistical Hypothesis Samplesr1TestStatisticEvaluatorArray- Array of the Test Statistic Evaluators- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
evaluatedSampleTestStatistic
public double[][] evaluatedSampleTestStatistic()Retrieve the Computed Ensemble Test Statistics- Returns:
- The Computed Ensemble Test Statistics
-
sampleArray
Retrieve the Array of the Statistical Hypothesis Samples- Returns:
- The Array of the Statistical Hypothesis Samples
-
testStatisticEvaluatorArray
Retrieve the Array of the Test Statistic Evaluators- Returns:
- The Array of the Test Statistic Evaluators
-
probabilityIntegralTransformArray
Retrieve the Array of Probability Integral Transforms, one for each Test Statistic- Returns:
- The Array of Probability Integral Transforms
-
significanceTest
Construct the Test Statistic Based Significance Test Hypothesis Array- Returns:
- The Test Statistic Based Significance Test Hypothesis Array
-
tTest
Compute the Array of t-Test Results- Parameters:
testStatistic- The Test Statistic- Returns:
- The Array of t-Test Results
-
statisticalTest
public R1StatisticalTestOutcome[] statisticalTest(double testStatistic, SignificanceTestSetting pTestSetting)Compute the Array of Statistical Test Outcomes- Parameters:
testStatistic- The Realized Test StatisticpTestSetting- The P-Test Setting- Returns:
- The Array of Statistical Test Outcomes
-
nativeProbabilityIntegralTransform
Description copied from interface:NativeR1PITGeneratorGenerate the PIT over the Sample Instance Realizations- Specified by:
nativeProbabilityIntegralTransformin interfaceNativeR1PITGenerator- Returns:
- PIT over the Sample Instance Realizations
-