Package org.drip.validation.hypothesis
Class TTestOutcome
java.lang.Object
org.drip.validation.hypothesis.TTestOutcome
public class TTestOutcome
extends java.lang.Object
TTestOutcome holds the Results of a Statistic Hypothesis t-Test.
- 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
- Wikipedia (2018): t-statistic https://en.wikipedia.org/wiki/T-statistic
- 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 = Statistical Hypothesis Validation Test Suite
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description TTestOutcome(double testStatistic, int sampleCount, double ensembleMean, double ensembleVariance, double ensembleStandardDeviation, double ensembleStandardError, int ensembleDegreesOfFreedom, double ensemblePredictiveConfidenceInterval, double ensembleTStatistics, double ensembleStandardErrorOffset)TTestOutcome Constructor -
Method Summary
Modifier and Type Method Description intensembleDegreesOfFreedom()Retrieve the Ensemble Degrees of FreedomdoubleensembleMean()Retrieve the Ensemble MeandoubleensemblePredictiveConfidenceInterval()Retrieve the Ensemble Predictive Confidence IntervaldoubleensembleStandardDeviation()Retrieve the Ensemble Standard DeviationdoubleensembleStandardError()Retrieve the Ensemble Standard ErrordoubleensembleStandardErrorOffset()Retrieve the Ensemble Standard Error OffsetdoubleensembleTStatistics()Retrieve the Ensemble t-StatisticsdoubleensembleVariance()Retrieve the Ensemble VarianceintsampleCount()Retrieve the Sample CountdoubletestStatistic()Retrieve the Sample Test StatisticMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TTestOutcome
public TTestOutcome(double testStatistic, int sampleCount, double ensembleMean, double ensembleVariance, double ensembleStandardDeviation, double ensembleStandardError, int ensembleDegreesOfFreedom, double ensemblePredictiveConfidenceInterval, double ensembleTStatistics, double ensembleStandardErrorOffset) throws java.lang.ExceptionTTestOutcome Constructor- Parameters:
testStatistic- Sample Test StatisticsampleCount- Number of Samples in the EnsembleensembleMean- Ensemble MeanensembleVariance- Ensemble VarianceensembleStandardDeviation- Ensemble Standard DeviationensembleStandardError- Ensemble Standard ErrorensembleDegreesOfFreedom- Ensemble Degrees of FreedomensemblePredictiveConfidenceInterval- Ensemble Predictive Confidence IntervalensembleTStatistics- Ensemble t-StatisticsensembleStandardErrorOffset- Ensemble Standard Error Offset- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
testStatistic
public double testStatistic()Retrieve the Sample Test Statistic- Returns:
- The Sample Test Statistic
-
sampleCount
public int sampleCount()Retrieve the Sample Count- Returns:
- The Sample Count
-
ensembleMean
public double ensembleMean()Retrieve the Ensemble Mean- Returns:
- The Ensemble Mean
-
ensembleVariance
public double ensembleVariance()Retrieve the Ensemble Variance- Returns:
- The Ensemble Variance
-
ensembleStandardDeviation
public double ensembleStandardDeviation()Retrieve the Ensemble Standard Deviation- Returns:
- The Ensemble Standard Deviation
-
ensembleStandardError
public double ensembleStandardError()Retrieve the Ensemble Standard Error- Returns:
- The Ensemble Standard Error
-
ensembleDegreesOfFreedom
public int ensembleDegreesOfFreedom()Retrieve the Ensemble Degrees of Freedom- Returns:
- The Ensemble Degrees of Freedom
-
ensemblePredictiveConfidenceInterval
public double ensemblePredictiveConfidenceInterval()Retrieve the Ensemble Predictive Confidence Interval- Returns:
- The Ensemble Predictive Confidence Interval
-
ensembleTStatistics
public double ensembleTStatistics()Retrieve the Ensemble t-Statistics- Returns:
- The Ensemble t-Statistics
-
ensembleStandardErrorOffset
public double ensembleStandardErrorOffset()Retrieve the Ensemble Standard Error Offset- Returns:
- The Ensemble Standard Error Offset
-