airfare dataset

airfare

airfare

Wooldridge Source: Jiyoung Kwon, a former doctoral student in economics at MSU, kindly provided these data, which she obtained from the Domestic Airline Fares Consumer Report by the U.S. Department of Transportation. Data loads lazily. data

Format

A data.frame with 4596 observations on 14 variables:

  • year: 1997, 1998, 1999, 2000
  • id: route identifier
  • dist: distance, in miles
  • passen: avg. passengers per day
  • fare: avg. one-way fare, $
  • bmktshr: fraction market, biggest carrier
  • ldist: log(distance)
  • y98: =1 if year == 1998
  • y99: =1 if year == 1999
  • y00: =1 if year == 2000
  • lfare: log(fare)
  • ldistsq: ldist^2
  • concen: = bmktshr
  • lpassen: log(passen)

Source

https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041

data('airfare')

Notes

This data set nicely illustrates the different estimates obtained when applying pooled OLS, random effects, and fixed effects.

Used in Text: pages 506-507, 581

Examples

str(airfare)
  • Maintainer: Justin M. Shea
  • License: GPL-3
  • Last published: 2024-12-04

About the dataset

  • Number of rows: 4596
  • Number of columns: 14
  • Class: data.frame

Column names and types (First 10)

  • year:integer
  • id:integer
  • dist:integer
  • passen:integer
  • fare:integer
  • bmktshr:numeric
  • ldist:numeric
  • y98:integer
  • y99:integer
  • y00:integer