Data 621 Final Project Presentation - Jim Lung
Jim Lung
05-15-2018
An Overview of Forecasting Methodology:
David S. Walonick (1993)
Achieve the dataset from: https://data.iowa.gov/Economy/Iowa-Liquor-Sales/m3tr-qhgy.
| Month | Year | City | CategoryName | Bottles Sold | Sale (Dollars) |
|---|---|---|---|---|---|
| 1 | 2017 | DES MOINES | BLENDED WHISKIES | 6.901226 | 35100.55 |
| 1 | 2017 | DES MOINES | CANADIAN WHISKIES | 7.926108 | 112301.42 |
| 1 | 2017 | DES MOINES | CORN WHISKIES | 3.170261 | 948.75 |
| 1 | 2017 | DES MOINES | IOWA DISTILLERY WHISKIES | 1.592121 | 716.73 |
| 1 | 2017 | DES MOINES | IRISH WHISKIES | 6.342434 | 31019.63 |
| 1 | 2017 | DES MOINES | SCOTCH WHISKIES | 6.065074 | 35540.77 |
Bottles Sold ~ CategoryName + Sale (Dollars)+ Bottle Volume (ml)+ State Bottle Cost+ State Bottle Retail+ Volume Sold (Gallons), data=iowa_data_reduced2) | rn | GVIF | Df | GVIF1/(2*Df) | Adjusted_GVIF |
|---|---|---|---|---|
| CategoryName | 255.8244 | 9 | 1.360738 | 1.851608e+00 |
Sale (Dollars) |
277.4708 | 1 | 16.657454 | 2.774708e+02 |
State Bottle Cost |
1823143.9656 | 1 | 1350.238485 | 1.823144e+06 |
State Bottle Retail |
1820815.5428 | 1 | 1349.375983 | 1.820816e+06 |
Bottles Sold~1,data=iowa_data_reduced2),direction = “forward”,
scope=~CategoryName +Sale (Dollars)+ Bottle Volume (ml)
+State Bottle Cost+State Bottle Retail+Volume Sold (Gallons),trace = FALSE)| rn | GVIF | Df | GVIF1/(2*Df) | Adjusted_GVIF |
|---|---|---|---|---|
Volume Sold (Gallons) |
60.38886 | 1 | 7.771027 | 60.388858 |
| CategoryName | 391.52906 | 9 | 1.393293 | 1.941265 |
State Bottle Retail |
58.81699 | 1 | 7.669224 | 58.816992 |
Bottles Sold)~1,data=iowa_data_reduced2),direction = “forward”,
scope=~CategoryName +Sale (Dollars)+ Bottle Volume (ml)
+State Bottle Cost+State Bottle Retail+Volume Sold (Gallons),trace = FALSE)| rn | GVIF | Df | GVIF1/(2*Df) | Adjusted_GVIF |
|---|---|---|---|---|
| CategoryName | 6372.52413 | 9 | 1.626862 | 2.646679 |
State Bottle Retail |
50.39835 | 1 | 7.099179 | 50.398346 |
Volume Sold (Gallons) |
56.74351 | 1 | 7.532829 | 56.743511 |
Bottle Volume (ml) |
22.88167 | 1 | 4.783479 | 22.881669 |
| Models | AIC | BIC | Deviance | df.residual |
|---|---|---|---|---|
| Correlation | 1363.90365 | 1401.96263 | 9.928481e+05 | 99 |
| Forward regression | 1079.26792 | 1114.13563 | 1.087422e+05 | 96 |
| Log transformation | -11.08298 | 26.72375 | 4.514541e+00 | 97 |