Multiple testing with FDR control for spectral density matrix
Multiple testing with FDR control for spectral density matrix
SpecMulTest() implements a new multiple testing procedure proposed in Chang et al. (2022) for the following Q hypothesis testing problems: [REMOVE_ME]H0,q:fi,j(ω)=0forany(i,j)∈I(q)andω∈J(q)versusH1,q:H0,qisnottrue[REMOVEME2]
for q=1,…,Q. Here, fi,j(ω) represents the cross-spectral density between xt,i and xt,j at frequency ω with xt,i being the i-th component of the p×1 times series xt, and I(q) and J(q) refer to the set of index pairs and the set of frequencies associated with the q-th test, respectively.
SpecMulTest(Q, PVal, alpha =0.05, seq_len =0.01)
Arguments
Q: The number of the hypothesis tests.
PVal: A vector of length Q representing p-values of the Q hypothesis tests.
alpha: The prescribed level for the FDR control. The default is 0.05.
seq_len: The step size for generating a sequence from 0 to 2×logQ−2×log(logQ). The default is 0.01.
Returns
An object of class "hdtstest", which contains the following component: - MultiTest: A logical vector of length Q. If its q-th element is TRUE, it indicates that H0,q should be rejected. Otherwise, H0,q should not be rejected.
Description
SpecMulTest() implements a new multiple testing procedure proposed in Chang et al. (2022) for the following Q hypothesis testing problems:
for q=1,…,Q. Here, fi,j(ω) represents the cross-spectral density between xt,i and xt,j at frequency ω with xt,i being the i-th component of the p×1 times series xt, and I(q) and J(q) refer to the set of index pairs and the set of frequencies associated with the q-th test, respectively.