Sampling distributions - the difference between two proportions

Sampling distributions - the difference between two proportions

If X∼B(nx,px) and Y∼B(ny,py) where X and Y are independent, then the expectation and variance of the distribution Px−Py are given by

E(Px−Py)=px−pyandVar(Px−Py)=pxqxnx+pyqyny

If np and nq are both greater than 5 for each population, then Px−Py can be approximated with a normal distribution. In other words

Px−Py∼N(px−py,pxqxnx+pyqyny)

the confidence interval is given by

px−py±cVar(Px−Py)

The value of c depends on the level of confidence you need for your confidence interval.

Level of confidence Value of c
90% 1.64
95% 1.96
99% 2.58
Sources: 1

Connect With Me!