EasyDeepLearn

How do you formulate null and alternative hypotheses?

easy

Answer

  • Null H0: the 'no effect' / 'no difference' hypothesis (μA  =  μB,  β  =  0,  treatment  has  no  impact)({\mu}_{A}\; = \;{\mu}_{B}, \;{\beta}\; = \;0, \;\mathrm{treatment}\;\mathrm{has}\;\mathrm{no}\;\mathrm{impact}).
  • Alternative H1: what we suspect (μA    μB  twosided,  or  μA  >  μB  onesided)({\mu}_{A}\; \ne \;{\mu}_{B}\;\mathrm{two} - \mathrm{sided}, \;\mathrm{or}\;{\mu}_{A}\; > \;{\mu}_{B}\;\mathrm{one} - \mathrm{sided}).
  • One-sided tests are more powerful but only appropriate when you commit ex ante to the direction.
  • Rule: define H0 / H1 before seeing the data.
  • Post-hoc directional testing inflates type I error.
Check yourself — multiple choice
  • H0 = what we suspect
  • H0: no-effect; H1: suspected direction (two-sided or one-sided committed ex ante); post-hoc direction inflates type I
  • H1 = mean = 0
  • Same thing

H0: no-effect; H1: alternative; commit direction before data.

#hypothesis-testing

Practise Statistics Fundamentals

215 interview questions in this topic.

Related questions