/*------------------------------------------------------------------- ECO520 BA TOOLS II Exmple: Regression Analysis Topic: Butler Trucking Company Butler Trucking Company’s business involves deliveries throughout its local area and that the managers want to estimate the total daily travel time for their drivers in order to develop better work schedules for the company’s drivers. Source: Camm, Jeffrey D., James Cochran, Michael Fry. Essentials of Business Analytics, 2nd Edition. Cengage Learning, 20160219. --------------------------------------------------------------------*/ filename webdat url "http://bigblue.depaul.edu/jlee141/econdata/eco520/butler.csv" ; /* Import Chicago Community data*/ PROC IMPORT OUT= traveltime DATAFILE= webdat DBMS=CSV REPLACE; GETNAMES=YES; DATAROW=2; RUN; proc contents ; run ; proc reg data=traveltime ; model time = miles ; model time = miles deliveries ; model time = miles deliveries highway / vif ; run ; quit ;