Skip to content

Commit

Permalink
Editing questions in lab 6 to avoid confusing/misleading exercises.
Browse files Browse the repository at this point in the history
  • Loading branch information
mamcisaac committed Nov 16, 2022
1 parent 6d32fb7 commit 0f13e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 06_inf_for_categorical_data/inf_for_categorical_data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The dataset is called `yrbss`.

1. What are the counts within each category for the amount of days these students have texted while driving within the past 30 days?

2. What is the proportion of people who have texted while driving every day in the past 30 days and never wear helmets?
2. What is the proportion of people who have texted while driving every day in the past 30 days among those who never wear helmets?

Remember that you can use `filter` to limit the dataset to just non-helmet wearers.
Here, we will name the dataset `no_helmet`.
Expand Down Expand Up @@ -179,7 +179,7 @@ For some of the exercises below, you will conduct inference comparing two propor
In such cases, you have a response variable that is categorical, and an explanatory variable that is also categorical, and you are comparing the proportions of success of the response variable across the levels of the explanatory variable.
This means that when using `infer`, you need to include both variables within `specify`.

1. Is there convincing evidence that those who sleep 10+ hours per day are more likely to strength train every day of the week?
1. Is there convincing evidence that those who sleep 10+ hours per day are more likely to strength train every day of the week than those who don't sleep 10+ hours per day?
As always, write out the hypotheses for any tests you conduct and outline the status of the conditions for inference.
If you find a significant difference, also quantify this difference with a confidence interval.

Expand Down

0 comments on commit 0f13e28

Please sign in to comment.