ICA 4

Assignment is due 9/27/26
Published

September 21, 2026

From An Introduction to Statistical Learning from James, Witten, Hastie, and Tibshirani (Second Edition)

Please submit an html file.

Due 9/27/26 @ 11:59 PM

Submit the *.html file to Canvas.

Notebook Setup

Create a raw cell and insert this code for those using Positron and Jupyter.

---
title: "TITLE"
author: "NAME HERE"
date: "DATE HERE"
format: 
  html:
    toc: true
    toc-depth: 2
    code-fold: show
    code-line-numbers: true
    embed-resources: true
execute:
  echo: true
  message: false
  warning: false
  error: true
jupyter: python3
---

Import Data

import numpy as np
import pandas as pd
from ISLP import load_data
Boston = load_data('Boston')

Problem 1

From the Applied Section in Chapter 4: Problem 16