```
<- read.csv("olives.csv")
olives ## if this didn't work,
## then your data and your .qmd file for Lab04
## are in different folders.
## Put both files in your Lab04 folder.
```

# Lab04: Hypothesis Test for a Single Mean

Due date: 2022-10-21

Use the dataset olives. Download the data and save the CSV file into your Lab04 directory (so that it is submit when you upload your Lab04 folder).

Read the help file about olives, to better understand the data set.

Please submit a folder containing your Quarto input (qmd) and output (html) documents for this lab, named `Lab04`

, to our shared Google Drive folder when you are finished.

Pick a numeric variable of your choice and use it for the rest of this assignment. No code needed here.

Make a histogram of your numeric variable and describe its shape.

Perform a hypothesis test of your numeric variable against 50% using \(\alpha = 0.02\). Please state your hypotheses.

Based on your test, which hypothesis is more likely given the data? State your conclusion as either “reject H0” or “fail to reject H0”, and explain why this conclusion is appropriate.

Interpret in context of the data your conclusion of the hypothesis test.

Interpret, in context of the data, the confidence interval that appropriately matches your hypothesis test above.

Pick a value for which you are guaranteed to reject the null hypothesis, H0. Justify your conclusion by updating your

`t.test(...)`

code.Pick a value for which you are guaranteed to fail to reject the null hypothesis, H0. Justify your conclusion by updating your

`t.test(...)`

code.