library(tidyverse)
library(broom)
library(patchwork)
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.
$
to start and end your LaTex syntax.The null hypothesis is $H_0:\beta_1 = 0$
is rendered as "The null hypothesis is \(H_0:\beta_1 = 0\)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.
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).