Module F · freq 50
z = stats.norm.ppf((1+γ)/2)p̂ = k/n (you can leave it as a fraction)ME = z*·√(p̂(1−p̂)/n), and note z* uses the confidence level from part b) (not necessarily the same as γ in part a))n·p̂(1−p̂); normality is only reasonable if it is >5norm.ppf(γ) — two-sided needs (1+γ)/2. γ=0.93 → the 0.965 quantile