ECON 370

Logo
source: The Economist

Instructor:
Pamela Jakiela

home
syllabus
schedule


5 Cross-Validation


Readings

Intro to Statistical Learning 5.1

You do not need to read Section 5.1.5 discussing the use of cross-validation for classification problems.


Lecture

Slides from Lecture 5


Lab

Objective: in this lab, you will implement k-fold cross-validation using the data on GDP per capita and educational attainment from lab #1. Your goal is to find the polynomial function of log GDP that best predicts educational attainment. You will do this without using any packages or pre-built functions that implement cross-validation.

A text file outlining the steps in the lab is available here. When you are finished with the lab, you can upload it here.