---
title: "Bivariate Modeling"
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.
```


# (Q ~ B) Two sample T-Test for Independent Groups

1. **Identify response and explanatory variables**


2. **Visualize and summarise bivariate relationship** 


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

Let $\mu_{1}$ be the true mean ...
Let $\mu_{2}$ be the true mean ...

$H_{0}: \mu_{1} - \mu_{2} = 0$  
$H_{A}: \mu_{1} - \mu_{2} \neq 0$ 

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


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


\newpage

# (Q ~ C) Analysis of Variance


1. **Identify response and explanatory variables**


2. **Visualize and summarise bivariate relationship** 


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


Let $\mu_{1}$ be the true mean ...
Let $\mu_{2}$ be the true mean ...
Let $\mu_{3}$ be the true mean ...


$H_{0}: \mu_{1} = \mu_{2} =  ...$   

$H_{A}:$ At least one group mean ...  


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

* **Independence**: 
* **Normality**: 
* **Equal variances**: 


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



# (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.**

