Lecture 21
Duke University
STA 199 - Summer 2023
2023-11-09
– Clone ae-21
– Keep up with Slack
– Draft Report Due November 15
– Exam-2 released November 16
— Cumulative with a focus on content post Exam-1
– Close Issues on GitHub
– Incorporate feedback into Draft Report
Note: You do not need to go back and change your proposal
– \(\mu\)
– \(\hat{p}\)
– \(\bar{x}\)
– \(\pi\)
– \(\mu\) – True mean
– \(\hat{p}\) – sample proportion
– \(\bar{x}\) – sample mean
– \(\pi\) – True proportion
Last time, we tested if you could read Martian. The null and alternative hypotheses were as followed:
\(Ho: \pi = 0.5\)
\(Ha: \pi > 0.5\)
– Why \(\pi\)?
– Why 0.5?
– Why > ?
– Based on the visualization, is it likely to see our statistic under the assumption of the null hypothesis?
A statistical tool to help back up our visual conclusion is called a p-value
. The definition of a p-value can be broken down into the following part:
– probability
– of observing our statistic
– or something “more extreme”
– given that the null hypothesis is true
Note: When we say more extreme, we either mean greater, smaller, or different. This is dictated by our alternative hypothesis!
– What is our p-value here?
We use p-values to write decisions and conclusions:
– Decision: Reject or Fail to reject the null hypothesis
– Conclusion: Strong or Weak evidence to conclude the alternative hypothesis
— Why we can’t conclude the null
— hypothesis testing