|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.arma.ConditionalSumOfSquares
public class ConditionalSumOfSquares
This class does fitting for the ARIMA model by minimizing the conditional sum of squares (CSS). The CSS estimates are conditional on the assumption that the past unobserved errors are 0s.
The values produced here can be used as a starting point for the maximum likelihood algorithm.
Note that the order of integration is taken as an input, not estimated.
| Constructor Summary | |
|---|---|
ConditionalSumOfSquares(TimeSeries xt,
int p,
int d,
int q)
Fit an ARIMA model for the observations. |
|
| Method Summary | |
|---|---|
double |
AIC()
Compute the AIC, a model selection criterion. |
double |
AICC()
Compute the AICC, a model selection criterion. |
ImmutableMatrix |
covariance()
Compute the asymptotic covariance matrix for the estimated parameters, φ and θ. |
ArmaModel |
getFittedARMA()
Get the ARMA coefficients, φ. |
int |
nParams()
Compute the number of parameters for the estimation/fitting. |
ImmutableVector |
stderr()
Compute the asymptotic standard errors for the estimated parameters, φ and θ. |
double |
var()
Get the variance of the white noise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionalSumOfSquares(TimeSeries xt,
int p,
int d,
int q)
xt - the time series of observationsp - the number of AR termsd - the order of integrationq - the number of MA terms| Method Detail |
|---|
public ArmaModel getFittedARMA()
ArmaFitting
getFittedARMA in interface ArmaFittingpublic double var()
ArmaFitting
var in interface ArmaFittingpublic ImmutableMatrix covariance()
The estimators are asymptotically normal.
covariance in interface ArmaFittingpublic ImmutableVector stderr()
The estimators are asymptotically normal.
stderr in interface ArmaFittingpublic int nParams()
the AR terms, MA terms, and variance (sigma^2)
public double AIC()
AIC in interface ArmaFittingpublic double AICC()
AICC in interface ArmaFitting
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||