---
title: "Bivariate Modeling Assignment B"
subtitle: "Chi-Square Test of Association and Correlation Analysis"
author: "your name here"
format: pdf
execute:
  echo: true
  warning: false
  message: false
---


```{r}
# put the code to load any necessary R libraries and read in your cleaned data here. Delete this text afterward.
```

# (B ~ C) Chi-Square test of Association

1. **Identify response and explanatory variables**


2. **Visualize and summarise bivariate relationship** 


3. **Write the null and research hypothesis in words and symbols.**



Let $p_{i}$ be the true ...


$H_{0}: p_{1} = p_{2} = ...$   

$H_{A}:$ At least ... 

  
4. **Identify, justify, and perform the analysis**


5. **Assess the evidence and make a conclusion.**


\newpage
 
# (Q ~ Q) Correlation Analysis


1. **Identify response and explanatory variables**


2. **Visualize and summarise bivariate relationship** 


3. **Write the null and research hypothesis in words and symbols.**



Let $\rho$ be the true ... 


$H_{0}: \rho = 0$  

$H_{A}: \rho \neq 0$   

4. **Identify, justify, and perform the analysis**


5. **Assess the evidence and make a conclusion.**

