SOBIasymp {tsBSS} | R Documentation |
Second-order Separation Sub-White-Noise Asymptotic Testing with SOBI
Description
The function uses SOBI (Second Order Blind Identification) to test whether the last p-k
latent series are pure white noise, assuming a p-variate second-order stationary blind source separation (BSS) model. The test is asymptotic.
Usage
SOBIasymp(X, ...)
## Default S3 method:
SOBIasymp(X, k, tau = 1:12, eps = 1e-06, maxiter = 200, ...)
## S3 method for class 'ts'
SOBIasymp(X, ...)
## S3 method for class 'xts'
SOBIasymp(X, ...)
## S3 method for class 'zoo'
SOBIasymp(X, ...)
Arguments
X |
A numeric matrix or a multivariate time series object of class |
k |
The number of latent series that are not white noise. Can be between |
tau |
The lags for the SOBI autocovariance matrices. |
eps |
The convergence tolerance for the joint diagonalization. |
maxiter |
The maximum number of iterations for the joint diagonalization. |
... |
Further arguments to be passed to or from methods. |
Details
SOBI standardizes X
with n
samples and jointly diagonalizes the autocovariance matrices of the standardized data for a chosen set of lags tau
, yielding a transformation \bf W
giving the latent variables as {\bf S} = {\bf X} {\bf W}
. Assume, without loss of generality, that the latent components are ordered in decreasing order with respect to the sums of squares of the corresponding "eigenvalues" produced by the joint diagonalization. Under the null hypothesis the lower right corner (p - k) \times (p - k)
blocks of the autocovariance matrices of the sources are zero matrices and the sum m
of their squared norms over all lags can be used as a test statistic in inference on the true number of latent white noise series.
This function conducts the hypothesis test using the asymptotic null distribution of m
, a chi-squared distribution with T(p - k)(p - k + 1)/2
degrees of freedom where T
is the number of autocovariance matrices used by SOBI.
Value
A list of class ictest, inheriting from class htest, containing:
statistic |
The value of the test statistic. |
p.value |
The p-value of the test. |
parameter |
The degrees of freedom of the asymptotic null distribution. |
method |
Character string indicating which test was performed. |
data.name |
Character string giving the name of the data. |
alternative |
Character string specifying the alternative hypothesis. |
k |
The number of latent series that are not white noise used in the testing problem. |
W |
The transformation matrix to the latent series. |
S |
Multivariate time series with the centered source components. |
D |
The underlying eigenvalues of the autocovariance matrix. |
MU |
The location of the data which was subtracted before calculating SOBI. |
tau |
The used set of lags for the SOBI autocovariance matrices. |
Author(s)
Klaus Nordhausen, Joni Virta
References
Virta, J. and Nordhausen, K. (2021), Determining the Signal Dimension in Second Order Source Separation. Statistica Sinica, 31, 135–156.
See Also
Examples
n <- 1000
A <- matrix(rnorm(16), 4, 4)
s1 <- arima.sim(list(ar = c(0, 0.6)), n)
s2 <- arima.sim(list(ma = c(0, -0.5)), n)
s3 <- rnorm(n)
s4 <- rnorm(n)
S <- cbind(s1, s2, s3, s4)
X <- S %*% t(A)
asymp_res_1 <- SOBIasymp(X, k = 1)
asymp_res_1
asymp_res_2 <- SOBIasymp(X, k = 2)
asymp_res_2
# Plots of the estimated sources, the last two are white noise
plot(asymp_res_2)
# Note that AMUSEasymp with lag 1 does not work due to the lack of short range dependencies
AMUSEasymp(X, k = 1)