Skip to content

Section 2.3, Exercise 7: Why are we using the column nox to create the quadratic term? #53

Answered by Mdnaimulislam
eraunio asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you very much for bringing this to our attention. You are absolutely correct in your observation, and I appreciate your diligence in identifying this error. The use of the cube of "nox" in our initial solution was indeed a mistake. For the purpose of comparing linear and quadratic fits by regressing "ptratio" onto "crim", the correct approach is to square the "ptratio" variable to create the quadratic term.

The error in the solution was an oversight, and I have since corrected the materials on the website to accurately reflect the proper approach. Discussions and feedback like this are invaluable, as they help ensure the accuracy and reliability of our educational content. I am grat…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mdnaimulislam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants