

In this example I’ll be using the dataset mtcars included in base R. While it doesn’t perfectly control for the confound, it’s a useful tool to mitigate the noise it introduces into your data. We can do that by running a quasi experiment using an Analysis of Covariance (ANCOVA) model. What if you didn’t run the most perfect tightly controlled study and you’re worried there might be some covariate influencing your dataset.
