powered by
Creates a symmetric banded Toeplitz matrix
symBandedToeplitz(x, n)
An \(\code{n} \times \code{n}\) symmetric banded Toeplitz matrix whose entries in main band are given by object x.
x
numeric vector or an object of class dbacf.
dbacf
integer specifying number of columns (rows) of banded matrix.
nearPDToeplitz, bandSparse
nearPDToeplitz
bandSparse
alphas <- c(-2, 0.5, -4) (true.acf <- ARMAacf(ma = alphas)) symBandedToeplitz(true.acf, n = 10)
Run the code above in your browser using DataLab