A patient named Ana was diagnosed with Fibromyalgia, a long-term syndrome of body pain, and was prescribed anti-depressants. Being the skeptic that she is, Ana didn’t initially believe that anti-depressants would help her symptoms. However, after a couple months of being on the medication she would like to re-evaluates this belief.
00:40
00:40
00:30
00:40
A study of 40 California voters failed to find any significant difference in the proportion that supported increased funding for NASA when comparing Republicans to Democrats (that is, the study retained the null hypothesis).
00:40
05:00
30:00
05:00
30:00
Instead of constructing a confidence interval to learn about the parameter, we could assert the value of a parameter and see whether it is consistent with the data using a hypothesis test. Say you are interested in testing whether there is a clear majority opinion of support or opposition to the project.
What are the null and alternative hypotheses?
01:00
Response: support_before (factor)
# A tibble: 1 × 1
stat
<dbl>
1 0.339
Response: support_before (factor)
Null Hypothesis: point
# A tibble: 500 × 2
replicate stat
<int> <dbl>
1 1 0.519
2 2 0.524
3 3 0.491
4 4 0.514
5 5 0.490
6 6 0.488
7 7 0.504
8 8 0.510
9 9 0.524
10 10 0.484
# ℹ 490 more rows
What would a Type I error be in this context?
01:00
What would a Type II error be in this context?
