What is the Z-test for Proportions in Statistics? Easy Explanation for Data Science Interviews

The z-test is a great asset to use when exploring proportions. In this video, I go over conducting both one-proportion and two-proportion tests, using loads of step-by-step examples. I’ll also share some of my top tips on when to use “pooled” vs. “unpooled” variance.
🟢Get all my free data science interview resources
www.emmading.com/resources
🟡 Product Case Interview Cheatsheet www.emmading.com/product-case...
🟠 Statistics Interview Cheatsheet www.emmading.com/statistics-i...
🟣 Behavioral Interview Cheatsheet www.emmading.com/behavioral-i...
🔵 Data Science Resume Checklist www.emmading.com/data-science...
✅ We work with Experienced Data Scientists to help them land their next dream jobs. Apply now: www.emmading.com/coaching
// Comment
Got any questions? Something to add?
Write a comment below to chat.
// Let's connect on LinkedIn:
/ emmading001
====================
Contents of this video:
====================
00:00 Introduction
00:53 Why Use Z-Test for Proportions?
02:24 One-Proportion Z-Test
07:37 Two-Proportion Z-Test
13:00 Confidence interval example
13:35 Conclusion

Пікірлер: 16

  • @emma_ding
    @emma_ding Жыл бұрын

    Thanks to Yue Cao for pointing out my mistakes at 10:50! It should be 0.5 instead of 0.05. Sorry guys, I will triple check my code before publishing it next time.

  • @baizunshan5534
    @baizunshan5534 Жыл бұрын

    Thanks Emma. I was thinking about testing the CTR last night and today all of my questions are answers in this video! A great demonstration of presenting using Notion as well.

  • @emma_ding

    @emma_ding

    Жыл бұрын

    Thanks for your comment, Baizun! Glad you found my video helpful. 😊

  • @user-ur1mm6tw6u
    @user-ur1mm6tw6u Жыл бұрын

    Hi Emma, Thanks for your sharing, and I have a question, how do you make sure ad impressions are independent Bernoulli trials, since it can be one user behind tons of ad impressions and clicks, how do you measure this impact is acceptable or not, and still keep the assumption of the data points are independent ? many thanks.

  • @zioncheng7798
    @zioncheng7798 Жыл бұрын

    Great video as always! A question: Why do we use Z-test instead of T-test? My understanding is that T-test should be used when the standard deviation of the underlying population is unknown, which is true here since we can't run the experiment for the whole population. Could you please tell me what I am missing here? Thanks!

  • @vegetableball
    @vegetableball Жыл бұрын

    I think the most mathematical part of the procedure is the Central Limit Theorem which asserts that the sample proportion has a distribution approximately Gaussian given some statistical assumptions. The note mentions Slutsky's theorem but not Central Limit Theorem...

  • @gaiusmarius6291
    @gaiusmarius6291 Жыл бұрын

    Thank you! this is awesome!

  • @calmpuffin
    @calmpuffin Жыл бұрын

    Great vid!

  • @junqichen6241
    @junqichen6241 Жыл бұрын

    I liked the presentation material you put together. May I ask what tool you used to create it? Thanks!

  • @emma_ding

    @emma_ding

    Жыл бұрын

    Thanks for your comment, Junqi! I used Notion. 😊 Hope this helps!

  • @emma_ding
    @emma_ding Жыл бұрын

    Many of you have asked me to share my presentation notes, and now… I have them for you! Download all the PDFs of my Notion pages at www.emmading.com/get-all-my-free-resources. Enjoy!

  • @cococnk388
    @cococnk388 Жыл бұрын

    Emma thanks for the awesome video .. For the pooled variance or un Pooled variance I think it comes from the fact that .. if the two samples have equal or un equal variance .. so we will kind of do the F ratio first .. Then for equal variance we use a pooled variance For an un equal variance between the two samples we use unpooled variance for the standard error in the test statistic formula. 😅 hope i am not mixing things ! Thanks.

  • @cherylf4788

    @cherylf4788

    Жыл бұрын

    Yes I think so too! Just a follow-up question, under what scenario can we not perform an F-test? (i.e. is there a minimum size or other requirement for the F-test result to be valid?)

  • @yuecao1740
    @yuecao1740 Жыл бұрын

    10:50 the square root calculation seems wrong - should be 0.5 instead of 0.05

  • @emma_ding

    @emma_ding

    Жыл бұрын

    Thanks Yue! My mistake adding an extra 0.

  • @TohaBgood2
    @TohaBgood2 Жыл бұрын

    Great video! But some of the Python math is wrong. You applied the square root only to the last terms in two places for pooled and unpooled std. You’re just missing a set of parentheses in those two places. Otherwise, great video! Keep it up!

Келесі