13/32
Part 3 of 6 · p and the intervalLearn and do
The interval's multiplier leaves alpha/2 in each tail
The p-value used cdf to turn a point into a share of the curve. The interval needs the reverse, a share in and a point out, and at alpha = 0.05 that point is 1.96. multiplier is the function you write at the end of this step.
for alpha in (0.10, 0.05, 0.01):
m = multiplier(alpha)
level = f"{1 - alpha:.0%}"
print(f"alpha {alpha:.2f} {level} interval multiplier {m:.3f}")
What multiplier does a 99% interval use?
Pick one to see what it prints.
Pick an answer above to see the rest