CS319 – US AirFare Analysis

This is an end of term project of CS319 at the University of Wisconsin – Madison. I chose this project because I love traveling, but I’ve noticed that flight ticket prices can fluctuate quite a bit. This sparked my interest in understanding these fluctuations, and I want to dig deeper into analyzing fare trends and identifying the factors that influence ticket prices.


Objectives

  • Airline Fare Adjustments: Examining how airlines like UA and AA (high-priced) and G4, F9 (low-priced) adjust fares based on demand and the pandemic.
  • Fare Trends: Analyzing fare reductions in 2020-2021, post-pandemic changes, and seasonal fare variations to predict future trends.
  • Factors Affecting Fares: Identifying the impact of seasons, market demand, and unexpected events like the pandemic on prices.
  • Consumer Insights: Helping regular flyers identify the best times to buy tickets and select airlines effectively.

Project Process

  1. Project Planning and Objective Definition
  2. Fetching the Data
  3. Data Collection and Preprocessing
  4. Exploratory Data Analysis (EDA)
  5. Data Visualization
  6. Summary

Data Overview

Column NameDescription
YearYear
quarterQuarter
mkt_fareThe average fare for the route for the airline
city1The name and state of the first city
city2The name and state of the second city
carairlineidThe airline ID identifying the airline operating the flight
carThe airline code identifying the airline
carpaxThe number of passengers carried by the airline on the route
carpaxshareThe market share of the airline on a specific route
caravgfareCarrier’s average fare for the route
fareinc_minThe smallest fare change
fareinc_minpaxshThe share of passengers paying the minimum fare increase
fareinc_maxThe largest fare change
fareinc_maxpaxshThe share of passengers paying the maximum fare increase
fare_inc_x3paxshThe percentage of passengers paying three times minimum fare
price_categoryDerived Column, Fare category (e.g., Low, Medium, High fare levels)
demand_levelDerived Column, Demand level for the flight (e.g., High, Medium, Low demand)

Date Visualization

I’m Ting-Yu Hu

Welcome to my website ! ❤︎


EDUCATION

Master of Information Science

@ University of Wisconsin-Madison

Bachelor of Information Management /  E-commerce Credit Program & Information Visualization Credit Program

@ Fu Jen Catholic University 



Let’s Connect !