Learn R Programming

GrFA (version 0.2.1)

TraceRatio: Trace ratio

Description

Evaluation of the estimated factors by trace ratios, the values is between 0 and 1, higher values means better estimation.

Usage

TraceRatio(G, Ghat)

Value

trace ratio

defined as \(\mathrm{TR} = \mathrm{tr} ( \mathbf{G}' \widehat{\mathbf{G}} (\widehat{\mathbf{G}}'\widehat{\mathbf{G}})^{-1} \widehat{\mathbf{G}}'\mathbf{G})/\mathrm{tr}(\mathbf{G'G})\).

Arguments

G

the true factors.

Ghat

the estimated factors.