powered by
The following function is used to validate the predicted observations with the actual values.
spT.validation(z, zhat, names=FALSE)
The original values (matrix or vector).
The predicted values (matrix or vector).
Logical, if TRUE then print the names of the validation statistics.
Mean Squared Error.
Root Mean Squared Error.
Mean Absolute Error.
Mean Absolute Percentage Error.
Bias.
Relative Bias.
Relative Mean Separation.
spT.pCOVER.
spT.pCOVER
# NOT RUN { ## # 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