OtherPapers.com - Other Term Papers and Free Essays
Search

Data-Mining

Essay by   •  February 14, 2016  •  Lab Report  •  412 Words (2 Pages)  •  1,273 Views

Essay Preview: Data-Mining

Report this essay
Page 1 of 2

Assignment 2- Question 2

Question: Fit a seasonal model to the variable HSTARTS in the construction data set.

Step 1: We selected the Construction dataset from the FETS Library. We selected the variable Housing starts.

[pic 1]

Step 2: Below is the graph of Housing starts. The graph clearly shows a seasonal trend in the data.

[pic 2]

Step 3: Below is the White noise test and Unit root test for the data.

[pic 3]

Step 4: In order to understand which model is considered the best by SAS I first ran an automatic model fit and below is the fitted model. The model selected was Log exponential Smoothing model.

[pic 4]

Step 5: The distribution of residuals is random and it does not show any kind of trend towards the end as well.

[pic 5]

Step 6: Below is the auto correlation plots for the log exponential model and it shows no lag in the residual and this we can conclude there is no correlation between the residuals.

[pic 6]

Step 7: The White noise test is insignificant thus we can say that the residuals are random. The unit root test and seasonality test show that the model is stationary.

[pic 7]

Step 8:  Below are the estimates of the model which include all the seasonal dummies.

[pic 8]

Step 9: Below are the various fit criteria for the log seasonal smoothing model.

[pic 9]

Step 10: We can see how close the forecast is from the below graph.

[pic 10]

Step 11: I then fit a number of custom models on the data using seasonality and boiled down to the below model which is a Seasonal Dummy+ Quadratic Model fitted by custom fit.

[pic 11]

Step 12: Below is the residual plot for the Seasonal Dummy+ quadratic model and we can see a random distribution of residuals.

[pic 12]

Step 13: From the auto correlation plot we can see some considerable lags between the residuals and thus there is correlation in the residuals.

[pic 13]

Step 14: Below graph shows significant white noise test which shows that the residuals are not random and also from the other graphs we can say the model is not doing well on stationarity as well compared to the log seasonal smoothed model.

[pic 14]

Step 15: Below are the estimates of the seasonal dummies +quadratic model with values of the seasonal dummies.

[pic 15]

Step 16: The various fit parameters are shown below for the seasonal dummies +quadratic model.

[pic 16]

Step 17: We can see the forecast graph as below.

...

...

Download as:   txt (2.3 Kb)   pdf (1.5 Mb)   docx (341.2 Kb)  
Continue for 1 more page »
Only available on OtherPapers.com