šŸ“— -> 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

  1. State the hypothesis
  2. Compute the test statistic
  3. 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

  4. 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).

% Confidence Level
% Significance Level
Confidence Interval

Transclude of ECS132-D9-2024-12-02-18.30.32.excalidraw

  • a <- -> b
  • <- ->

Example) Given salmon and tuna weights as follows:

SalmonTuna
Sample Average ()2015
Sample Variance 12
Sample Size ()1520
At 3% significance level, test the claim that salmon pop weight is at least 2lbs more than the population on average.
  1. State hypothesis
  2. Test Statistic

  3. p-value/critical value/97% CI
    option a:

    z-crit for 97% significance is 1.88

Resources

  • Put useful links here

Connections

  • Link all related words