Overview
All questions are inside file.
Here is preview:
---
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
# turn on the tidyverse package
library(tidyverse)
```
---------------------
**The problems below use the UWEC data consisting of a sample of students randomly selected from the University of Wisconsin at Eau Claire. The file is `uwec.csv`, and contains 13 variables for each student, and in particular the following four relevant variables:**
- `sex`: Gender of student
- `gpa`: College GPA
- `residency`: Residency status of student
- `comp`: Student’s composite ACT score
```{r, message=FALSE, warning=FALSE}
# Read-in data
uwec <- read.csv("uwec.csv", header=TRUE)
```
---------------------
### Problem 1
Among students majoring in the College of Arts and Science, is there an association between student gender and having a GPA above 3.00? Run an appropriate hypothesis test to investigate this, and provide null and alternative hypotheses, test statistic value, *p*-value, and conclusion stated in problem context.
```{r, message=FALSE, warning=FALSE}
# Data preparation
# Code to run the test
```
* **Null hypothesis:**
* **Alternative hypothesis:**
* **Observed test statistic value:**
* **P-value:**
* **Decision/conclusion (in problem context):**
---------------------
### Problem 2
Do residents and non-residents display different levels of consistency in ACT composite scores? Run a hypothesis test useful for investigating this question. Provide null and alternative hypotheses, test statistic value, *p*-value, and conclusion stated in problem context.
```{r, message=FALSE, warning=FALSE}
# Set a seed value for reproducible results
set.seed(8224166)
# Data preparation
# Code to run the test
```
* **Null hypothesis:**
* **Alternative hypothesis:**
* **Observed test statistic value:**
* **P-value:**
* **Decision/conclusion (in problem context):**
---------------------
### Problem 3
**Refer to Problem 2.** Use bootstrapping to find a 95% confidence interval for the true ratio of mean deviances. Provide an interpretation of the interval result in context, and use the CI to assess the claim that resident student ACT composite scores are 50% more variable as compared to non-resident students.
```{r, message=FALSE, warning=FALSE}
# Set a seed value for reproducible results
set.seed(888813)
# Perform bootstrapping
```
**WRITE ANSWER AND INTERPRETATIONS HERE**