馃攳
Measuring Autocorrelation Durbin Watson Statistic - YouTube
Channel: unknown
[0]
In this video clip we learn how to use the聽
Durbin-Watson statistic to measure autocorrelation聽聽
[7]
in regression. This method is used when data are聽
collected over time for detecting autocorrelation.
[18]
Autocorrelation exists if residuals in one聽
time period are related to residuals in another聽聽
[27]
time period. So autocorrelation is correlation of聽
the errors or residuals over time. Here residues聽聽
[40]
show a cyclical pattern, not random. Cyclical聽
patterns are a sign of positive auto correlation.聽聽
[52]
Such a pattern violates the regression assumption聽
that residuals are random and independent.
[63]
The Durbin-Watson statistic is used to test聽
for autocorrelation. Here in H0 null hypothesis聽聽
[74]
we have that positive auto correlation does聽
not exist or residuals are not correlated.聽聽
[85]
H1, we have that positive auto correlation聽
is present or residuals are correlated. So聽聽
[94]
we calculate the Durbin-Watson statistic as聽
follows. The possible range is between 0 and 4.聽聽
[108]
The statistic should be close to 2 if H0 is true.聽聽
[115]
The statistic is less than 2 when there is聽
a positive autocorrelation. A greater than聽聽
[124]
2 value may signal negativeauto correlation,聽
which we do not care much in this problem.
[134]
So here is the process, we calculate聽
the Durbin-Watson test statistic聽聽
[142]
D, then we find the values Dl and Du from the聽
Durbin-Watson table. The table is in our textbook.聽聽
[158]
For sample size n and number of independent聽
variable k, we can find the values of Dl and Du.聽聽
[169]
The decision rule is to reject H0 if聽
D is less than Dl and do not reject H0聽聽
[180]
is d is greater than Du. If D is between聽
Dl and Du, then the result is inconclusive.
[193]
Here we see one example. We have data collected聽
over 15 weeks. We have number of customers;聽聽
[203]
we have sales. We want to see how聽
customers affect sales. So here we have聽聽
[213]
sample size 15, and only one independent variable聽
so we can locate Dl and Du from the Durbin-Watson聽聽
[223]
table. So we can see we have k equals 1, n equals聽聽
[230]
15, assuming alpha, level of significance is 0.05.聽
We can locate the values here, see, and in here.
[245]
Then we can calculate the Durbin-Watson statistic聽
from PhStat. The value is 0.883, less than Dl. So聽聽
[259]
at alpha equals 0.05, there is a positive聽
autocorrelation among the residuals.
[268]
Now we see how to find this D statistic聽
from PhStat. Okay, we go to regression,聽聽
[279]
simple linear regression. Okay,聽
Y variable cell range, we use聽聽
[287]
cells C1 through C16, X variable cell range B1聽
through B16. Here we need some middle result,聽聽
[298]
we check ANOVA and the coefficient tables and聽
then we check there, Durbin-Watson statistic.聽聽
[308]
We click ok, then from here we see the聽
Durbin-Watson statistic as in here.
Most Recent Videos:
You can go back to the homepage right here: Homepage





