Test of Proportions

Discrete cases like XBinom, 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

XK(α2)orXK(α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=XE(X)Var(X)=Xnθ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

{xnθ0+12x<nθ012

for continuity correction