library(tidyverse)
library(broom)
library(patchwork)

Class announcements

Questions about lab / logistics?

Data analysis life cycle

Data science life cycle from [*R for Data Science*](https://r4ds.had.co.nz/) with modifications from *The Art of Statistics: How to Learn from Data*

Data science life cycle from R for Data Science with modifications from The Art of Statistics: How to Learn from Data

Introducing LaTex

To write mathematical notation, we will use LaTex, a documentation software specifically for technical writing. We can write equations in two ways:

Inline: Your mathematics will display within the line of text.

Displayed: Your mathematics will display outside the line of text

Use $$ to start and end your LaTex syntax. Example: The R Markdown text The null hypothesis is $$H_0:\beta_1 = 0$$ is rendered as "The null hypothesis is \[H_0: \beta_1 = 0\]

One way we will use LaTex is to write model equations:

\[Y = \beta_0 + \beta_1 X + \epsilon\]

Syntax: $$Y = \beta_0 + \beta_1 X + \epsilon$$

Note: You cannot copy and paste mathematical symbols in LaTex. If you do so, you will get a “Unicode” error message when you try to knit the document.

See Mathematics in R Markdown for an overview of the syntax for commonly used equations and symbols.

Questions from Simple linear regression: Introduction video

AE 04: Price vs. Mileage

Clone the ae-04 repo and open a new project in RStudio. Be sure to push your work periodically as you complete the AE.

One person from each breakout room, type your group’s response on Google slides (link in chat).