Package jline.api.sim
Class HypothesisTestResult
java.lang.Object
jline.api.sim.HypothesisTestResult
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
FieldsModifier and TypeFieldDescriptionfinal intNumber of observations the test used.final doubleThe p-value.final booleanTrue when the null hypothesis is rejected at the requested level.final doubleThe test statistic.final doubleThe standardized statistic, NaN when the null law is used exactly. -
Constructor Summary
ConstructorsConstructorDescriptionHypothesisTestResult(double statistic, double zscore, double pvalue, boolean reject, int nobs) -
Method Summary
-
Field Details
-
statistic
public final double statisticThe test statistic. -
zscore
public final double zscoreThe standardized statistic, NaN when the null law is used exactly. -
pvalue
public final double pvalueThe p-value. -
reject
public final boolean rejectTrue when the null hypothesis is rejected at the requested level. -
nobs
public final int nobsNumber of observations the test used.
-
-
Constructor Details
-
HypothesisTestResult
public HypothesisTestResult(double statistic, double zscore, double pvalue, boolean reject, int nobs)
-