rmse: Root Mean Square Error

Description Usage Arguments Value Author(s) Examples

Description

Computes the root mean square error (RMSE) of a sparse model to a full model

Usage

1
rmse(base, test)

Arguments

base

Base (or full) model to be evaluated against

test

Reduced (or testing) model (e.g., a sparse correlation or covariance matrix)

Value

RMSE value (lower values suggest more similarity between the full and sparse model)

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>

Examples

1
2
3
4
5
6
7
8
A1 <- solve(cov(neoOpen))

## Not run: 
A2 <- (neoOpen)

root <- rmse(A1, A2)

## End(Not run)

NetworkToolbox documentation built on May 28, 2021, 5:11 p.m.