Test of Proportions

Discrete cases like X∼Binom, where we have

occurrences total trials

Two-sided tests

H0:θ=θ0,vsHa:θ≠θ0

For a two-sided test, we want to define the critical regions as: if

X≥K(α2)orX≤K′(α2)evidende to suggest θ>θ0 evidence to suggest θ<θ0

we reject H0

One-sided tests

H0:θ=θ0vsHa:θ>θ0

We define the critical region for an α level test as:

Large n

We can use the Central Limit Theorem and use the normal approximation to the binomial distribution

E(X)=nθ0,var(X)=nθ0(1−θ0)Z=X−E(X)Var(X)=X−nθ0nθ0(1−θ0)∼approxN(0,1) under H0

we reject H0 if |Zobs|≥Z1−α2

When n is moderate (not very large)

Z=(x±12)−nθ0nθ0(1−θ0)∼approxN(0,1)

when

{x≥nθ0→+12x<nθ0→−12

for continuity correction