rho
. There are num_blocks
blocks each with size, block_size
. The variance,
sigma2
, is constant for each feature and defaulted
to 1.cov_block_autocorrelation(num_blocks, block_size, rho,
sigma2 = 1)
The matrix $\Sigma^{(\rho)}$ is the autocorrelated block discussed above.
The value of rho
must be such that $|\rho| <
1$ to ensure that the covariance matrix is positive
definite.
The size of the resulting matrix is $p \times p$,
where p = num_blocks * block_size
.
The block-diagonal covariance matrix with autocorrelated blocks was popularized by Guo et al. (2007) for studying classification of high-dimensional data.