Two factories A and B manufacture bulbs. A sample of 300 bulbs from A shows 15 defective, while a sample of 200 bulbs from B shows 10 defective.
Test whether there is a significant difference in the proportions of defective bulbs produced by the two factories at 5% significance level.
Explain the formula for the test statistic and state its assumptions .