mulbar {timsac}R Documentation

Multivariate Bayesian Method of AR Model Fitting

Description

Determine multivariate autoregressive models by a Bayesian procedure. The basic least squares estimates of the parameters are obtained by the householder transformation.

Usage

  mulbar(y, max.order = NULL, plot = FALSE)

Arguments

y

a multivariate time series.

max.order

upper limit of the order of AR model, less than or equal to n/2dn/2d where nn is the length and dd is the dimension of the time series y. Default is min(2n,n/2d)min(2 \sqrt{n}, n/2d).

plot

logical. If TRUE, daic is plotted.

Details

The statistic AIC is defined by

AIC=nlog(det(v))+2k,AIC = n \log(det(v)) + 2k,

where nn is the number of data, vv is the estimate of innovation variance matrix, detdet is the determinant and kk is the number of free parameters.

Bayesian weight of the mm-th order model is defined by

W(n)=const×C(m)m+1,W(n) = const \times \frac{C(m)}{m+1},

where constconst is the normalizing constant and C(m)=exp(0.5AIC(m))C(m)=\exp(-0.5 AIC(m)). The Bayesian estimates of partial autoregression coefficient matrices of forward and backward models are obtained by (m=1,,lag)(m = 1,\ldots,lag)

G(m)=G(m)D(m),G(m) = G(m) D(m),

H(m)=H(m)D(m),H(m) = H(m) D(m),

where the original G(m)G(m) and H(m)H(m) are the (conditional) maximum likelihood estimates of the highest order coefficient matrices of forward and backward AR models of order mm and D(m)D(m) is defined by

D(m)=W(m)++W(lag).D(m) = W(m) + \ldots + W(lag).

The equivalent number of parameters for the Bayesian model is defined by

ek={D(1)2++D(lag)2}id+id(id+1)2ek = \{ D(1)^2 + \ldots + D(lag)^2 \} id + \frac{id(id+1)}{2}

where idid denotes dimension of the process.

Value

mean

mean.

var

variance.

v

innovation variance.

aic

AIC.

aicmin

minimum AIC.

daic

AIC-aicmin.

order.maice

order of minimum AIC.

v.maice

MAICE innovation variance.

bweight

Bayesian weights.

integra.bweight

integrated Bayesian Weights.

arcoef.for

AR coefficients (forward model). arcoef.for[i,j,k] shows the value of ii-th row, jj-th column, kk-th order.

arcoef.back

AR coefficients (backward model). arcoef.back[i,j,k] shows the value of ii-th row, jj-th column, kk-th order.

pacoef.for

partial autoregression coefficients (forward model).

pacoef.back

partial autoregression coefficients (backward model).

v.bay

innovation variance of the Bayesian model.

aic.bay

equivalent AIC of the Bayesian (forward) model.

References

H.Akaike (1978) A Bayesian Extension of The Minimum AIC Procedure of Autoregressive Model Fitting. Research Memo. NO.126, The Institute of Statistical Mathematics.

G.Kitagawa and H.Akaike (1978) A Procedure for The Modeling of Non-stationary Time Series. Ann. Inst. Statist. Math., 30, B, 351–363.

H.Akaike, G.Kitagawa, E.Arahata and F.Tada (1979) Computer Science Monograph, No.11, Timsac78. The Institute of Statistical Mathematics.

Examples

data(Powerplant)
z <- mulbar(Powerplant, max.order = 10)
z$pacoef.for
z$pacoef.back

[Package timsac version 1.3.8-4 Index]