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, oneSidedPvalue
public DAgostino(double[] sample)
sample
- a samplepublic String getNullHypothesis()
HypothesisTest
getNullHypothesis
in class HypothesisTest
public String getAlternativeHypothesis()
HypothesisTest
getAlternativeHypothesis
in class HypothesisTest
public double Z1()
public double Z2()
public double statistics()
HypothesisTest
statistics
in class HypothesisTest
public double pValue()
HypothesisTest
pValue
in class HypothesisTest
public double pvalueZ1()
public double pvalueZ2()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.