Exercise 1: Overview
Overview of Regression
- Describe three real-life applications in which regression might be useful. Describe the response, as well as the predictors. Is the goal of each application inference or prediction? Explain your answer. 
- Describe the differences between a parametric and a non-parametric statistical learning approach. 
Checking Data with R
- Load in the - Bostondata set in- ISLR2package.
- How many rows are in this data set? How many columns? What do the rows and columns represent? 
- Make some pairwise scatterplots of the predictors (columns) in this data set. Describe your findings. 
- Are any of the predictors associated with per capita crime rate? If so, explain the relationship. 
- Do any of the census tracts of Boston appear to have particularly high crime rates? Tax rates? Pupil-teacher ratios? Comment on the range of each predictor. 
- How many of the census tracts in this data set bound the Charles river? 
- What is the median pupil-teacher ratio among the towns in this data set? 
Probability and Statistics
- Plot normal density curves with different choices of mean and standard deviation. 
- Choose a continuous variable in - Boston. Use the- sample()function to draw a simple random sample of size 20 from this population. Calculate the sample average.
- Repeat 2. several times to get a sampling distribution of the sample mean.