estimateComponents2: Estimate variance components
Description
Estimate variance components in a two-parameter model where \(X \sim
N(0, \sigma^2 (r_1 Q + (1 - r_1) (r_2 Q^(-1) + (1 - r_2) I)))\)
Usage
estimateComponents2(X, Q)
Value
A vector with r1 and r2
Arguments
- X
An n x p data matrix.
- Q
A p x p psd matrix giving the similarity between the
variables.