ICA 6

Assignment is due 10/11/26.
Published

October 7, 2026

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

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

Problem 1

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

Problem 2

From the Applied Section in Chapter 6: Problem 11 a(ignore Best Subset and PCR), b, c