Package jline.api.sim

Class HypothesisTestResult

java.lang.Object
jline.api.sim.HypothesisTestResult

public class HypothesisTestResult extends Object
Outcome of one of the output-analysis hypothesis tests.

Shared by Sim_vonneumann and Sim_shapirowilk; statistic is the von Neumann ratio in the first case and the Shapiro-Wilk W in the second.

Since:
LINE 3.1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    Number of observations the test used.
    final double
    The p-value.
    final boolean
    True when the null hypothesis is rejected at the requested level.
    final double
    The test statistic.
    final double
    The standardized statistic, NaN when the null law is used exactly.
  • Constructor Summary

    Constructors
    Constructor
    Description
    HypothesisTestResult(double statistic, double zscore, double pvalue, boolean reject, int nobs)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • statistic

      public final double statistic
      The test statistic.
    • zscore

      public final double zscore
      The standardized statistic, NaN when the null law is used exactly.
    • pvalue

      public final double pvalue
      The p-value.
    • reject

      public final boolean reject
      True when the null hypothesis is rejected at the requested level.
    • nobs

      public final int nobs
      Number of observations the test used.
  • Constructor Details

    • HypothesisTestResult

      public HypothesisTestResult(double statistic, double zscore, double pvalue, boolean reject, int nobs)