Hypothesis Testing Flashcards
What are the problems with hypothesis testing in frequentist inference?
- does extremeness make sense?
- evidence is against H0, not for H1
- p-value does not provide weight of evidence for H1, i.e the probability H1 is true
- violates likelihood principal, as calculation of p-value takes into account values not observed
Give a simple vs simple hypothesis
H0: θ = θ0
H1: θ = θ1
How do you find Pr(H0 | y) with simple vs simple hypotheses?
(f(y|θ0) * p0) / (f(y|θ0) * p0) + (f(y|θ1) * p1)
How can you compare multiple hypotheses?
Pr(y | Hi) * pi / sum(to k) pr(y|hj) * pj
Define the Bayes Factor generally
Posterior odds / prior odds
[Pr(H0|y) / Pr(H1|y)] / [p0/p1]
Give the interpretation of values of Bayes Factor
< 3 no evidence for H0 over H1
>3 positive evidence for H0
>20 strong evidence for H0
>150 very strong evidence for H0
Bayes factor for simple vs simple
f(y|θ0) / f(y|θ1)
Bayes factor for composite vs composite
[ ∫(over θ in θ0) f(y|θ0)π(θ) dθ / ∫(over θ in θ1) f(y|θ1)π(θ) dθ ] / [p0/p1]
Bayes factor for simpled vs composite
f(y|θ0) / ∫f(y|θ)*π(θ) dθ
How do you find p0
∫ π(θ) dθ