P-values and confidence intervals made easy
I was recently asked to give a lecture explaining p-values and confidence intervals to budding Python programmers. Given that I don’t have a stats background at all, I was pretty intimidated, but I learned a lot from Jake Vanderplas’ “Statistics for Hackers” (slides, video) and Statistics is Easy! by Shasha and Wilson. I highly recommend Jake’s talk if you’re interested in this stuff.
I wanted to show how to apply shuffling and bootstrapping methods to solve a real-world problem and wrote the notebook below.
Read more...