Update model-basics.Rmd (#228)

This commit is contained in:
S'busiso Mkhondwane 2016-08-12 19:43:58 +02:00 committed by Hadley Wickham
parent 814ac613da
commit 4e87d50a93
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ These are exactly the same values we got with `optim()`! Behind the scenes `lm()
For simple models, like the one above, you can figure out what pattern the model captures by carefully studying the model family and the fitted coefficients. And if you ever take a statistics course on modelling, you're likely to spend a lot of time doing just that. Here, however, we're going to take a different tack. We're going to focus on understanding a model by looking at its predictions. This has a big advantage: every type of predictive model makes predictions (otherwise what use would it be?) so we can use the same set of techniques to understand any type of predictive model.
It's also useful to see what the model doesn't capture, the so called residuals which are left after subtracting the predictions from the data. Residuals are a powerful because they allow us to use models to remove striking patterns so we can study the subtler trends that remain.
It's also useful to see what the model doesn't capture, the so called residuals which are left after subtracting the predictions from the data. Residuals are powerful because they allow us to use models to remove striking patterns so we can study the subtler trends that remain.
### Predictions