## How exactly does one properly remove the effect of one variable? Residuals, partial correlation, multiple regression, semi-partial?

I ran into trouble trying to remove the effects of one variable on other variables doing the writing my reanalysis of the Noble et al 2015 paper. It was not completely obvious which exact method to use. The authors in their own paper used OLS aka. standard linear regression. However, since I wanted to plot […]