---
title: "ETC 2420/5242 Lab 4 2017"
author: "Di Cook"
date: "Week 4"
output: pdf_document
---
```{r echo = FALSE, message = FALSE, warning = FALSE, warning = FALSE}
knitr::opts_chunk$set(
message = FALSE,
warning = FALSE,
error = FALSE,
echo = FALSE,
collapse = TRUE,
comment = "#",
fig.height = 4,
fig.width = 8,
fig.align = "center",
cache = FALSE
)
```
## Purpose
This lab is to examine different statistical distributions, fit distributions to samples by estimating the parameters by maximum likelihood and checking the fit with QQ-plots.
## Reading
Read the material on maximum likelihood estimation at [https://onlinecourses.science.psu.edu/stat414/node/191](https://onlinecourses.science.psu.edu/stat414/node/191).
Read the code in the lecture notes from Week 3. Particularly look at the functions for making QQ-plots, computing and plotting the likelihood functions.
## Warmup exercises
- Compute these probabilities for $X\sim N(3.3, 1.1)$
+ $P(X<1.3)$
+ $P(X>1.9)$
+ $P(1.8