pcbic.subpatterns function

Obtain the best subpattern among the patterns.

Obtain the best subpattern among the patterns.

Obtains the best pattern and its BIC among the patterns obtainable by summing two consecutive terms in pattern0.

pcbic.subpatterns(eigenvals, n, pattern0)

Arguments

  • eigenvals: The QQ-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 KK-vector (Q1Q_1, ... , QKQ_K) as in (13.8).

Returns

A list containing:

  • pattern: A double matrix containing the pattern evaluated.
  • bic: A vector containing the BIC for the above pattern matrix.

Examples

# NA

See Also

pcbic, pcbic.stepwise, and pcbic.unite.

  • Maintainer: James Balamuta
  • License: MIT + file LICENSE
  • Last published: 2020-10-31