public class DAgostino extends HypothesisTest
dagoTest in fBasics.| Constructor and Description |
|---|
DAgostino(double[] sample)
Perform D'Agostino's test to test for the departure from normality.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternativeHypothesis()
Get the description of the alternative hypothesis.
|
String |
getNullHypothesis()
Get a description of the null hypothesis.
|
double |
pValue()
Get the p-value for the test statistics.
|
double |
pvalueZ1()
Get the p-value for Z1.
|
double |
pvalueZ2()
Get the p-value for Z2.
|
double |
statistics()
Get the test statistics.
|
double |
Z1()
Get Z1.
|
double |
Z2()
Get Z1.
|
isNullRejected, nGroups, nObs, oneSidedPvaluepublic DAgostino(double[] sample)
sample - a samplepublic String getNullHypothesis()
HypothesisTestgetNullHypothesis in class HypothesisTestpublic String getAlternativeHypothesis()
HypothesisTestgetAlternativeHypothesis in class HypothesisTestpublic double Z1()
public double Z2()
public double statistics()
HypothesisTeststatistics in class HypothesisTestpublic double pValue()
HypothesisTestpValue in class HypothesisTestpublic double pvalueZ1()
public double pvalueZ2()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.