
---
title: "M4: Deciding on a research question"
author: "Your group's names (and SUNet IDs)"
date: "`r Sys.Date()`"
output: pdf_document
---

```{r setup, include = FALSE}
knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE)
library(coursekata)
library(here)
```

<!-- Fill in every line marked [...]. The step numbers match the steps on the
handout. One of you should knit this to PDF (Session -> Restart R, then
Knit -> Knit to PDF) and submit this file and the PDF on Gradescope, adding
the other members of your group. -->

## Step 1. Your shared folder

- **Who will upload the up-to-date version of this file to the shared folder at the end of class:** [...]

## Step 2. Your claim and dataset

- **The claim, with its number:** [...]
- **The dataset (name and link):** [...]
- **Why your group chose this pair:** [...]

## Step 3. Your data, in the group folder

<!-- Put the dataset in data/raw/ in your group folder, then copy your loading
code from M3 into the chunk below. -->

```{r load-data}
# Replace this with your loading code from M3, for example:
#   my_data <- read.csv(here("data", "raw", "your-file.csv"))
# (Fingers is only here so the file knits before you start.)
my_data <- Fingers

dim(my_data)
str(my_data)
```

## Step 4. Question 1: how strong is the relationship?

- **Your question, in one sentence** (name both variables as in `str()`): [...]
- **The outcome, and whether it's quantitative or categorical:** [...]
- **The explanatory variable, and whether it's quantitative or categorical:** [...]
- **The word equation** (outcome = explanatory variable + other stuff): [...]
- **What you expect** (which way the relationship goes, and roughly how strong, in the units of the outcome): [...]

## Step 5. Processes that could produce the relationship

<!-- At least three different DGPs. Write your own first; then ask an AI tool
for more and mark any you add as the AI's. Add lines if you need them. -->

1. **DGP:** [...]
   **What you'd see in the data if this DGP were at work:** [...]
2. **DGP:** [...]
   **What you'd see in the data if this DGP were at work:** [...]
3. **DGP:** [...]
   **What you'd see in the data if this DGP were at work:** [...]

- **What you asked the AI tool, and which of its suggestions you added (marked above):** [...]

## Step 6. Other variables that could help

<!-- Variables in your dataset that could help tell your DGPs apart. Add
lines if you need them. -->

- **Variable:** [...] **What it measures:** [...] **Which DGP it could help check:** [...]
- **Variable:** [...] **What it measures:** [...] **Which DGP it could help check:** [...]

- **Anything you'd need that isn't in this dataset, and where it might be:** [...]

## Step 7. Question 2: building on an alternative DGP

- **The alternative DGP you're building on (from step 5):** [...]
- **Your second question, in one sentence:** [...]
- **Every variable this question needs, and where each comes from (this dataset or another):** [...]

## Step 8. Your TA's suggestions

[...]
