estimateComponents2: Estimate variance components

View source: R/varianceComponents.R

estimateComponents2R Documentation

Estimate variance components

Description

Estimate variance components in a two-parameter model where X \sim N(0, σ^2 (r_1 Q + (1 - r_1) (r_2 Q^(-1) + (1 - r_2) I)))

Usage

estimateComponents2(X, Q)

Arguments

X

An n x p data matrix.

Q

A p x p psd matrix giving the similarity between the variables.

Value

A vector with r1 and r2


adaptiveGPCA documentation built on Dec. 8, 2022, 5:12 p.m.