I'm currently beginning my studies in statistics and all of the examples of confidence interval questions I studied used (let's assume a 95% confidence interval) as a z formula z = 1 - (0.05/2), which would result in 0.975 and then using a z-table in 1.96. The thing is, is the alpha always divided by 2 or are all the examples I studied using a two sided distribution?
Asked
Active
Viewed 1,704 times
1
Caldass_
- 67
1 Answers
2
Yes, it is because you're doing two-sided testing.
When you do two-sided testing, you have to allocate probability to both tails. You pick $0.975$ because $2.5\%$ goes up high, and $2.5\%$ goes down low.
Dave
- 62,186
z = 1 - (alpha/2). I thought it was because since there's a lower and upper limit in a confidence interval, you always divided the alpha by 2. So a 95% confidence interval would always have a Z-value of 1.96. – Caldass_ Jul 23 '20 at 22:05scipy.stats.norm.interval()– Caldass_ Jul 24 '20 at 11:30