-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
Description
Describe the issue linked to the documentation
Common pitfalls in the interpretation of coefficients of linear models
In line 396, plt.scatter(coefs["AGE"], coefs["EXPERIENCE"]), the Experience variable should be on x-axis if it were to follow the labelling in Line 392 plt.xlabel("Experience coefficient").
Similar issue in line 632.
Here is the codefile on Github.
Link to documentation on main website
Suggest a potential alternative/fix
Replace the code in line 396 & 632 with plt.scatter(coefs["EXPERIENCE"], coefs["AGE"])