powered by
Computes the root mean square error (RMSE) of a sparse model to a full model
rmse(base, test)
Base (or full) model to be evaluated against
Reduced (or testing) model (e.g., a sparse correlation or covariance matrix)
RMSE value (lower values suggest more similarity between the full and sparse model)
# NOT RUN { A1 <- solve(cov(neoOpen)) # } # NOT RUN { A2 <- LoGo(neoOpen) root <- rmse(A1, A2) # } # NOT RUN { # }
Run the code above in your browser using DataLab