asked 174k views
3 votes
Consider a hypothesis test of difference of proportions for two independent populations. Suppose random samples produce r1 successes out of n1 trials for the first population and r2 successes out of n2 trials for the second population. What is the sample test statistic for the test

1 Answer

4 votes

Answer:

Explanation:


p_1 = (r_1)/(n_1) \\p_2= (r_2)/(n_2) \\

Pooled proportion


p = (r_1+r_2)/(n_1+n_2)

The hypothesis null would be


H_0: p_1-p_2 =0

Alternate can be either not equal to or < or > according to need

Std error for difference of proportions


=\sqrt{p(1-p)((1)/(n_1) +(1)/(n_2)}

Hence test statistic = p difference/std error

=
\frac{(r_1)/(n_1)- (r_2)/(n_2)}{\sqrt{p(1-p)((1)/(n_1) +(1)/(n_2)}}

where p is given as above as combined proportion.

answered
User Yatin Mistry
by
8.6k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.