data("CollegeDistance")
Stock and Watson (2007) provide separate data files for the students from
Western states and the remaining students. CollegeDistance
includes
both data sets, subsets are easily obtained (see also examples).
Stock, J.H. and Watson, M.W. (2007). Introduction to Econometrics, 2nd ed. Boston: Addison Wesley.
StockWatson2007
## exclude students from Western states
data("CollegeDistance")
cd <- subset(CollegeDistance, region != "west")
summary(cd)
Run the code above in your browser using DataLab