
Nestor R. answered 07/30/19
Professional experienced using mathematics and statistics
P1 = 13/103 = 0.1262 = proportion of households with a dog that were burglarized.
P2 = 23/177 = 0.1299 = proportion of households without a dog that were burglarized.
Test H0: P1 = P2 vs H1+ P1 ^= P2 at alpha=0.05
P = proportion of households burglarized = (13+23) / (103+177) = 26/280 = 0.1286
Q = 1-P = 1-0.1286 = 0.8714.
n1=103, n2=177
z = (P1-P2)/[sqrt(PQ) * sqrt(1/n1 + 1/n2)]
z = -0.0037/[sqrt(0.1121)sqrt(1/103 + 1/177)]
z = -0.0037/[(0.3348)*(0.1239)]
z = -0.0892
Pr(z=-0.0892) ~ 0.4641