Aan de slagGa gratis aan de slag

Analyzing regression output

You are interested in how well the model you've just built fits the data. To measure this, you want to calculate the median absolute difference between the true and predicted earnings. You run the following line of code:

median(abs(biopics$earnings - model_1$fitted.values), na.rm = TRUE)

What do you think will be the result?

Deze oefening maakt deel uit van de cursus

Handling Missing Data with Imputations in R

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen