public class Lilliefors extends HypothesisTest
lillie.test
in package nortest
.Constructor and Description |
---|
Lilliefors(double[] sample)
Perform the Lilliefors test to test for the null hypothesis that data come from a normally
distributed population with an estimated sample mean and variance.
|
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 |
statistics()
Get the test statistics.
|
isNullRejected, nGroups, nObs, oneSidedPvalue
public Lilliefors(double[] sample)
sample
- a samplepublic String getNullHypothesis()
HypothesisTest
getNullHypothesis
in class HypothesisTest
public String getAlternativeHypothesis()
HypothesisTest
getAlternativeHypothesis
in class HypothesisTest
public double statistics()
HypothesisTest
statistics
in class HypothesisTest
public double pValue()
HypothesisTest
pValue
in class HypothesisTest
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.