2.8 Exercises

  1. Jeffreys-Lindley’s Paradox

    The Jeffreys-Lindley’s paradox (H. Jeffreys 1961; Dennis V. Lindley 1957) represents an apparent disagreement between the Bayesian and Frequentist frameworks in a hypothesis testing scenario.

    In particular, assume that in a city, 49,581 boys and 48,870 girls have been born over 20 years. Assume that the male births follow a Binomial distribution with probability θ. We wish to test the null hypothesis H0: θ=0.5 versus the alternative hypothesis H1: θ0.5.

    • Show that the posterior model probability for the null model is approximately 0.95. Assume π(H0)=π(H1)=0.5, and that π(θ) follows a uniform distribution, i.e., U(0,1), under H1.
    • Show that the p-value for this hypothesis test is 0.0235 using the normal approximation, YN(N×θ,N×θ×(1θ)).
  2. We want to test H0: μ=μ0 versus H1: μμ0 given YiiidN(μ,σ2).

    Assume π(H0)=π(H1)=0.5, and that π(μ,σ)1/σ under the alternative hypothesis.

    Show that
    p(y|M1)=πN/22Γ(N/2)2N/2(1αnˆσ2)N/2(Nαnˆσ2)1/2Γ(1/2)Γ(αn/2)Γ((αn+1)/2)

    and p(y|M0)=(2π)N/2[2Γ(N/2)(N2Ni=1(yiμ0)2N)N/2]1.

    Then, the posterior odds ratio is:
    PO01=p(y|M0)p(y|M1)=Γ((αn+1)/2)Γ(1/2)Γ(αn/2)(αnˆσ2/N)1/2[1+(μ0ˉy)2αnˆσ2/N](αn+12),

    where αn=N1 and ˆσ2=Ni=1(yiˉy)2N1.

    Find the relationship between the posterior odds ratio and the classical test statistic for the null hypothesis.

  3. Math Test Continues

    Using the setting of the Example: Math Test in Subsection 2.6, test H0: μ=μ0 versus H1: μμ0 where μ0={100,100.5,101,101.5,102}.

    • What is the p-value for these hypothesis tests?
    • Find the posterior model probability of the null model for each μ0.

References

———. 1961. Theory of Probability. London: Oxford University Press.
Lindley, Dennis V. 1957. “A Statistical Paradox.” Biometrika 44 (1/2): 187–92.