š -> 12/02/24: ECS132-D9
[Lecture Slide Link]
š¤ Vocab
ā Unit and Larger Context
Small summary
āļø -> Scratch Notes
Type of Hypothesis Testing:
- Proportion
- Difference in means
- Single Sample
One tail or two tail?
Example:
Flip a coin 50 times and see 30 heads
Claim: The test is unfair
Test your claim with 95% significance level
- State the hypothesis
- Compute the test statistic
- p-value/critical value/confidence interval
For this example, using confidence interval
z-crit of two tailed 95% significance is 1.96
se of proportion is
- Conclusion/Decision
Since p=0.5 is contained inside the 95% CI, we fail to reject (FTR) the null hypothesis and conclude that the dice is fair with 95% level of confidence
Confidence Interval: Iām 95% sure that the true mean lies in between [low, high] where the variance (
) can be approximated by (sample variance).
Transclude of ECS132-D9-2024-12-02-18.30.32.excalidraw
- a <-
-> b <- ->
Example) Given salmon and tuna weights as follows:
| Salmon | Tuna | |
|---|---|---|
| Sample Average ( | 20 | 15 |
| Sample Variance | 1 | 2 |
| Sample Size ( | 15 | 20 |
| At 3% significance level, test the claim that salmon pop weight is at least 2lbs more than the population on average. |
- State hypothesis
- Test Statistic
- p-value/critical value/97% CI
option a:
z-crit for 97% significance is 1.88
š -> Links
Resources
- Put useful links here
Connections
- Link all related words