CSE 163
Statistical Testing�
Suh Young Choi��🎶 Listening to: Hades Soundtrack�💬 Before Class: Do you have a favorite class at UW (besides CSE 163, of course)?
STAT
Announcements
Checkpoint 3 due TONIGHT!
Resubmission Cycle closes tomorrow (2/10)
THA 4 due Thursday (2/12)
Project EDA / Portfolio Milestone out now; due next Thursday (2/19)
2
Last Time
This Time
3
What is Statistics?
4
“The study of models to gather, understand, and draw conclusions from real-world data.”
Some uses:
Statistics 101
5
Summary Statistics
Distributions
Uniform Dist.
Everything equally likely
Examples:
Normal Dist.
Bell shaped, centered around mean
Examples:
Central Limit Theorem says…
Distribution of sample means approaches a normal distribution as the number of samples grows!
Hypothesis Tests
Null Hypothesis is the hypothesis that supports the pre-existing expectations or probability
Alternative Hypothesis is the hypothesis that something is different, one that if true, would allow us to reject the null hypothesis
Our p-value is the chance that this situation would happen in a world bound by the null hypothesis
Type 1 and Type 2 Errors�������
** “Accept” is used here to mean “fail to reject”
Type 1 and Type 2 Errors
You visited Hall Health Center to check if you have the flu. Your doctor says you don’t have it, while you actually have the flu. What type of error did the doctor make?
Null Hypothesis:
You don’t have the flu
Answer on Slido!
# 3550867
Choosing the Right Test
Factors to consider
Types of Tests
12
Data Science is Science!
Some problems that occur in science
Why does this matter?
13
Next Time
Before Next Time
14