pcbic.subpatterns: Obtain the best subpattern among the patterns.
Description
Obtains the best pattern and its BIC among the patterns obtainable by summing
two consecutive terms in pattern0
.
Usage
pcbic.subpatterns(eigenvals, n, pattern0)
Arguments
eigenvals
The \(Q\)-vector of eigenvalues of the covariance matrix,
in order from largest to smallest.
n
The degrees of freedom in the covariance matrix.
pattern0
The pattern of equalities of the eigenvalues, given by the
\(K\)-vector (\(Q_1\), ... , \(Q_K\)) as in (13.8).
Value
A `list` containing:
- pattern
A double matrix containing the pattern evaluated.
- bic
A vector containing the BIC for the above pattern matrix.