Re# Hypothesis Testing### Description:

  • |400

Using Confidence interval:

  • To test claims about a population mean , we construct a confidence interval (a, b).
    • Claim: Do not reject test-claim if , reject otherwise.
    • Claim: . Do not reject test-claim if , reject otherwise.
    • Claim: . Do not reject test-claim if , reject otherwise.

Null Hypothesis and Alternative Hypothesis

One-tailed vs two-tailed:

  1. , lower one-tailed
  2. , upper one-tailed
  3. , two-tailed

Test statistic:

  • Used to compare against another critical value to evaluate hypothesis
  • All test statistic value must lie outside of Confidence interval , to be rejected
  • For p-value:
  • For t-value: t test
  • For Proportion:
  • For Difference random variable of 2 variables:
    • For known
      • Because
    • For unknown
      • t test use t-distribution with degree of freedom
  • For Match samples
    • with deg
  • For [[Population Proportion#inteference-about-p_1-p_2|Inteference about ]]:
    • Under assumption,
    • With unknown, we can estimate by pooled estimator:

Type 1 Error vs Type 2 Error

Level of significance:

  • Same as probability of making a Type 1 Error
  • When the null hypothesis is true as an equality
  • If the cost of making a Type I error is high, small values of α are preferred.
    • Like medication, must have small LoS
  • If the cost of making a Type I error is not too high, larger values of α are typically used.
    • it is sometimes ok to make mistake, but low chance