rmse: Root Mean Square Error

rmseR Documentation

Root Mean Square Error

Description

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

Usage

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

A1 <- solve(cov(neoOpen))

## Not run: 
A2 <- LoGo(neoOpen)

root <- rmse(A1, A2)

## End(Not run)


AlexChristensen/NetworkToolbox documentation built on March 6, 2023, 5:08 p.m.