TEST FOR DIFFERENCES OF TWO PROPORTIONS OF SAMPLES GOT FROM SAME POPULATION

Using Python

Calculate proportion of the samples drawn from the same population

Calculate combined proportion and standard error

Calculate Z-calculated value, z_critical and p-value

Recommendation:

Plot the curve:


