Econometrics/Spring 2017/Linear regression model / Powered by R / Manual example: good model / R_LMM_special_cases.sagews
231 viewsАвтокорреляция

Loading required package: zoo
Attaching package: ‘zoo’
The following objects are masked from ‘package:base’:
as.Date, as.Date.numeric
Durbin-Watson test
data: d.lm
DW = 1.6368, p-value = 0.1103
alternative hypothesis: true autocorrelation is greater than 0
Error in library(orcutt): there is no package called ‘orcutt’
Traceback:
1. library(orcutt)
2. stop(txt, domain = NA)
Гетероскедастичность





Goldfeld-Quandt test
data: d.lm
GQ = 0.61065, df1 = 8, df2 = 7, p-value = 0.7482
Test stat | Pr(>|t|) | |
---|---|---|
X2 | 2.222 | 0.039 |
X3 | -0.483 | 0.634 |
X4 | 2.040 | 0.056 |
X5 | 0.935 | 0.361 |
Tukey test | 0.840 | 0.401 |
