Fixed three typos (#332)

* Fixed Model Chapter Typo

* Update rmarkdown.Rmd

* Update model-basics.Rmd
This commit is contained in:
Cooper Morris 2016-08-28 08:05:27 -05:00 committed by Hadley Wickham
parent 39f63327ed
commit 7f7fbcc9e7
3 changed files with 3 additions and 3 deletions

View File

@ -237,7 +237,7 @@ These are exactly the same values we got with `optim()`! Behind the scenes `lm()
## Visualising models
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.
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 track. 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 powerful because they allow us to use models to remove striking patterns so we can study the subtler trends that remain.

View File

@ -20,7 +20,7 @@ This book is not going to give you a deep understanding of the mathematical theo
* In [model building], you'll learn how to use models to pull out known
patterns in real data. Once you have recognised an important pattern
it's useful to make it explicitly in a model, because then you can
more easily see the subtler signals that remina.
more easily see the subtler signals that remain.
* In [many models], you'll learn how to use many simple models to help
understand complex datasets. This is a powerful technique, but to access

View File

@ -128,7 +128,7 @@ The following sections dives into the three components of an R Markdown document
## Text formatting with Markdown
Prose in `.Rmd` files is written in Markdown, a light weight set of conventions for formatting plan text files. Markdown is designed to be easy to read and easy to write. It is also very easy to learn. The guide below shows how to use Pandoc's Markdown, a slightly extended version of Markdown that R Markdown understands.
Prose in `.Rmd` files is written in Markdown, a light weight set of conventions for formatting plain text files. Markdown is designed to be easy to read and easy to write. It is also very easy to learn. The guide below shows how to use Pandoc's Markdown, a slightly extended version of Markdown that R Markdown understands.
```{r, echo = FALSE, comment = ""}
cat(readr::read_file("rmarkdown/markdown.Rmd"))