set.seed(1)
<- rnorm(100)
norm hist(x = norm,
xlab = "X Axis Name",
ylab = "Count",
main = "Histogram of 100 observations from a Standard Normal")
Homework 1
This basic R markdown file has some text, inline code, and code chunks!
Example Section
Code Chunks
Unless you include the chunk option #| echo: false
, your code chunk will be displayed in your final document.
Text and Inline Text
The sample mean of the data plotted above (rounded to 3 decimal points) is 0.109 and the variance is 0.807.
What’s the relationship between standard deviation and variance?
\[ \text{Standard Deviation}(X) = \sqrt{\text{Variance}(X)} \]
The standard deviation of the data plotted above is 0.898.