ich möchte einen Trend im Zeitablauf belegen.
Hierfür habe ich den nachfolgenden Datensatz erstellt.
Code: Alles auswählen
Produkte Dummy Jahre
1 2038 0 1
2 2932 0 2
3 3532 0 3
4 4290 0 4
5 6208 0 5
6 6653 0 6
7 7898 0 7
8 9628 0 8
9 9451 1 9
10 10047 1 10
11 9812 1 11
12 9841 1 12
13 11171 1 13
14 14292 1 14
15 17673 1 15
16 19921 0 16
17 20869 0 17
18 22325 0 18
19 23144 0 19
20 24523 0 20
Code: Alles auswählen
> summary(modell10)
Call:
lm(formula = Produkte ~ Dummy + Jahre, data = Forum)
Residuals:
Min 1Q Median 3Q Max
-1533.38 -570.06 81.39 470.19 1708.91
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 65.46 395.89 0.165 0.871
Dummy -3220.23 409.03 -7.873 4.54e-07 ***
Jahre 1210.76 32.51 37.247 < 2e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 832.8 on 17 degrees of freedom
Multiple R-squared: 0.988, Adjusted R-squared: 0.9866
F-statistic: 700.4 on 2 and 17 DF, p-value: < 2.2e-16
> durbinWatsonTest(modell10)
lag Autocorrelation D-W Statistic p-value
1 0.3194353 1.306938 0.036
Alternative hypothesis: rho != 0
Ich habe auch andere Modelle also lin-log, log-lin und Doppel-log ausprobiert, die Autokorrelation tritt bei allen auf.
Wie würdet ihr nun vorgehen?
Theoretisch gäbe es auch die Möglichkeit den Datensatz zu verringern, also nur 10 anstatt 20 Jahre in die Untersuchung einzubeziehen. Davon würde ich aber gerne absehen.
Liebe Grüße
Tobi