Learn R Programming

spTimer (version 0.02)

spT.validation: Validation Commands

Description

The following function is used to validate the predicted observations with the actual values.

Usage

spT.validation(z, zhat)

Arguments

z
The original values (matrix or vector).
zhat
The predicted values (matrix or vector).

Value

  • VMSEValidation Mean Squared Error.
  • RMSERoot Mean Squared Error.
  • MAEMean Absolute Error.
  • rBIASRelative Bias.
  • rMSEPRelative Mean Separation.

See Also

spT.pCOVER.

Examples

Run this code
##

# Create `x', which is the true values.
# Create `y', which is the predicted values.

x <- rnorm(10,5,0.1)
y <- rnorm(10,5,1)
spT.validation(x, y)

##

Run the code above in your browser using DataLab