Lably
Skip to content

Almost sure hypothesis testing

  • 3 min read
  • 2 chapters

Related on Lably

Through Statistical hypothesis test

Description

For simplicity, assume we have a sequence of independent and identically distributed normal random variables, xi∼N(μ,1), with mean μ, and unit variance. Suppose that nature or simulation has chosen the true mean to be μ0, then the probability distribution function of the mean, μ, is given by

Pr(μ≤t)=[t∈[μ0,+∞]]

where an Iverson bracket has been used. A naïve approach to estimating this distribution function would be to replace true mean on the right hand side with an estimate such as the sample mean, μ^, but

E⁡[t∈[μ^,+∞]]=Pr(μ^≤t)=Φ(n(t−μ0))→Pr(μ≤t)−0.5[μ0=t]

which means the approximation to the true distribution function will be off by 0.5 at the true mean. However, [μ^,+∞] is nothing more than a one-sided 50% confidence interval; more generally, let Zαn be the critical value used in a one-sided 1−αn confidence interval, then

E⁡[t∈[μ^−Zαnn,+∞]]→Pr(μ≤t)−limn→+∞αn[μ0=t]

If we set αn=0.05, then the error of the approximation is reduced from 0.5 to 0.05, which is a factor of 10. Of course, if we let αn→0, then

E⁡[t∈[μ^−Zαnn,+∞]]→Pr(μ≤t)

However, this only shows that the expectation is close to the limiting value. Naaman (2016) showed that setting the significance level at αn=n−p with p>1 results in a finite number of type I and type II errors w.p.1 under fairly mild regularity conditions. This means that for each t, there exists an N(t), such that for all n>N(t),

[t∈[μ^−Zαnn,+∞]]=Pr(μ≤t)

where the equality holds w.p. 1. So the indicator function of a one-sided a.s. confidence interval is a good approximation to the true distribution function.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Earth science