need to solve following set of problems
An Introduction to Statistical Learning with Applications in R, Second Edition
which is available in the below file
Chapter 2: #1 all parts, #6, and #8 all parts
Chapter 3: #5, #6, #9 (a), (b), (c), (e), (f), #10 (a)-(g), #11 (a), (b), (c), (f), #13 all parts, #15 all parts
For the applied problems, you need to provide R codes .