Learn R Programming

irt (version 0.2.9)

rmsd: Calculate Root Mean Square Deviation (RMSD) (or Root Mean Square Error (RMSE))

Description

The formula for RMSD is:

$$RMSD = \sqrt{\frac{\sum_{i = 1}^n(\hat \theta - \theta)^2}{n}}$$

Usage

rmsd(est, true)

Value

A number representing RMSD.

Arguments

est

A numeric vector of estimated values

true

A numeric vector of true values

Author

Emre Gonulates

Examples

Run this code
true <- rnorm(10)
est <- true + runif(10)

Run the code above in your browser using DataLab