asadoughi / stat-learning

Notes and exercise attempts for "An Introduction to Statistical Learning"
http://asadoughi.github.io/stat-learning
2.13k stars 1.62k forks source link

Fix answer for chapter 3, question 5. #62

Open lukejduncan opened 8 years ago

lukejduncan commented 8 years ago

The original solution provided renamed Yi' to Xi' creating a dummy variable. The new provided solution extracts Yi', giving the accurate answer to what is Ai'.