Find the RMarkdown Notebook on Github and Run the Code Yourself! Introduction: A Medical Mystery Imagine you’re analyzing data from a clinical trial testing a new treatment. You run a simple chi-square test and find that the treatment has absolutely no effect—the test statistic is exactly zero. Case closed, right? Not so fast. What if...

When Data Lies: Simpson’s Paradox–A Step-by-Step Simulation Code Notebook
Justin Belair


