public class BoxTest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BoxTest.Type
The type of test.
|
Modifier and Type | Field and Description |
---|---|
int |
df
The degree of freedom.
|
double |
pvalue
p-value
|
double |
q
Box-Pierce or Ljung-Box statistic.
|
BoxTest.Type |
type
The type of test.
|
Modifier and Type | Method and Description |
---|---|
static BoxTest |
ljung(double[] x,
int lag)
Box-Pierce test.
|
static BoxTest |
pierce(double[] x,
int lag)
Box-Pierce test.
|
java.lang.String |
toString() |
public final BoxTest.Type type
public final int df
public final double q
public final double pvalue
public java.lang.String toString()
toString
in class java.lang.Object
public static BoxTest pierce(double[] x, int lag)
x
- time serieslag
- the statistic will be based on lag autocorrelation coefficients.public static BoxTest ljung(double[] x, int lag)
x
- time serieslag
- the statistic will be based on lag autocorrelation coefficients.