Description Usage Arguments Value See Also Examples
Determine the subspace dimension for the frequency-wise operator inversion in the estimation of regression coefficients
1 2 | speclagreg.K(X, Y, lags = 0:0, freq = NULL, p = 10, q = 10,
weights = "Bartlett")
|
X |
first process |
Y |
second process, if null then autocovariance of X is computed |
lags |
which A_k should be estimated |
freq |
grid of frequencies for computation as in |
p |
window size for estimation of spectral density of X |
q |
window size for estimation of spectral density of Y and X |
weights |
as in |
Heursiticaly determined subspace size
1 2 3 4 5 6 | n = 100
d = 5
X = rar(n,d=d,Psi=matrix(0,d,d)) # independent d-dim variables
w = 0.4
Y = w*X + (1-w)*rar(n,d=d,Psi=matrix(0,d,d)) # independent d-dim variables
K = speclagreg.K(X, Y, lags=-2:2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.