Description Usage Arguments Value References
Given a positive definite covariance matrix Σ, this function calculates the model error between two matrices U and V according to the formula
Trace [ (U-V)' Σ' Σ (U-V) ]/(mn),
where m, n are the dimensions of U (V). If no covariance matrix is specified, the function calculates the model error using the identity covariance matrix, which is equivalent the normalized squared matrix error).
1 | model_error(U, V, Sigma = NULL)
|
U |
matrix (m-by-n) |
V |
matrix (m-by-n) |
Sigma |
positive definite covariance matrix (m-by-m) |
The model error between U
and V
given
Sigma
.
MRCEtsmvr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.