ICA 7

Assignment is due 10/18/26
Published

October 10, 2026

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

Quarto 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
Wage = load_data('Wage')
Boston = load_data('Boston')

Problem 1

From the Applied Section in Chapter 7: Problem 7

Problem 2

From the Applied Section in Chapter 7: Problem 9 a, b, c