Description Arguments Value Examples
Computes the rho, MAE, RMSE, perc, and p-val performance metrics using the compiled C++ function
observed |
a vector of the observed values |
predicted |
a vector of the corresponding predicted values |
A data.frame with components for the various performance metrics:
num_pred | number of predictions |
rho | correlation coefficient between observations and predictions |
mae | mean absolute error |
rmse | root mean square error |
perc | percent correct sign |
p_val | p-value that rho is significantly greater than 0 using Fisher's |
1 | compute_stats(rnorm(100), rnorm(100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.