Hello Matplotlib/Python users
I’m attempting to plot the residual regression plots with Pearson correlation coefficient and P-value in Python.
I’ve read an article regarding the simple correlation and linear regression: https://towardsdatascience.com/simple-and-multiple-linear-regression-with-python-c9ab422ec29c
What would be the best way to do it in Python?
Y=Continuous var X=Continuous var Nuisance covariate=Z (Continuous var)
Thanks for considering my request.
Operating system: Ubutnu 16.0.4 Matplotlib version: 3.1.1 Python version: 3.7/Anaconda 2019.10 for Linux Installer