In this section the task is to calculate P^ z1-alpha/2 …
I am having trouble calculating correct Z1. I have to go back and check all the videos (in the absence of course pdf) to see what it means. if someone can help me how to calculate this part or point me to the lecture where it is mentioned how to do it.
I figured it out, make sure to watch the video “Confidence Intervals for Proportion”, the last video of Lesson 1, especially the second half of the video. You should get everything from that to proceed.
Also, per @Jos comment, yes, the formula as written is confusing to look at, but it is Z and the subscript is (1 - alpha / 2), which is in fact a formula to passed into the function call, and then that is used to compute the upper and lower values.
The p-hat from exercise 9 is not the same as the one from exercise 7. The ‘pp’ variable from exercise 7 was a probability combination of the control and variation metrics, whereas the p-hat from exercise 9 is calculated separately for each of those metrics. I hope it makes sense.
I think more context would be helpful for us to troubleshoot. If you use the provided hint of the z function stats.norm.ppf and the square root function np.sqrt, I don’t see how there could be rounding errors.
yes i used stats.norm.ppf and np.sqrt, and the values I get are extremely close to test values, close enough to round correctly, but not exact so the answer is wrong. Very strange…anyway everything else is correct so I passed the assignment.