Wayne's Github Page

A place to learn about statistics

Exercises

Using the same function below, please answer the following questions

perc_error <- function(prediction, data){
    err <- prediction - data
    abs_err <- abs(err / data) * 100
    return(abs_err)
}