hypothesis tests


Summary

Steps:

  1. Deteremine null() and alternate() hypotheses
    • must be mutually exclusive
    • - want to disprove, - want to prove
  2. Choose significance level
    • Usually 5% or 0.05
  3. Calculate p-value
    • Probability of obtaining a result as extreme or more extreme than out observation, in the direction of the alternate hypothesis, assuming the null is true
  4. Conclude hypothesis test
    • if p-value < significance -> reject in favour of
    • if p-value > significance -> inconclusive test, cannot reject , but is not neccesarily true

Concept

Hypothesis test
To decide whether the data is sufficient enough to reject a particular hypothesis about a population

Types

  • t-test, for population mean
  • chi-squared test, for association