View source: R/summary-sparse.R
fromse | R Documentation |
This function computes estimation error given estimated model and true coefficient.
fromse(x, y, ...)
## S3 method for class 'bvharsp'
fromse(x, y, ...)
x |
Estimated model. |
y |
Coefficient matrix to be compared. |
... |
not used |
Consider the Frobenius Norm \lVert \cdot \rVert_F
.
let \hat{\Phi}
be nrow x k the estimates,
and let \Phi
be the true coefficients matrix.
Then the function computes estimation error by
MSE = 100 \frac{\lVert \hat{\Phi} - \Phi \rVert_F}{nrow \times k}
Frobenius norm value
Bai, R., & Ghosh, M. (2018). High-dimensional multivariate posterior consistency under global-local shrinkage priors. Journal of Multivariate Analysis, 167, 157-170.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.