Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 27 Dec 2009 03:56:37 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/27/t1261911432blukmnbw0w38w0s.htm/, Retrieved Fri, 03 May 2024 03:23:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70830, Retrieved Fri, 03 May 2024 03:23:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact166
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Inschrijvingen ge...] [2009-12-27 10:56:37] [b02b8a83db8a631da1ab9c106b4cdcf2] [Current]
Feedback Forum

Post a new message
Dataseries X:
20366	1
22782	1
19169	1
13807	1
29743	1
25591	1
29096	1
26482	1
22405	1
27044	1
17970	1
18730	1
19684	1
19785	1
18479	1
10698	1
31956	1
29506	1
34506	1
27165	1
26736	1
23691	1
18157	1
17328	1
18205	1
20995	1
17382	1
9367	1
31124	1
26551	1
30651	1
25859	1
25100	1
25778	1
20418	1
18688	1
20424	1
24776	1
19814	1
12738	1
31566	1
30111	1
30019	1
31934	1
25826	1
26835	1
20205	1
17789	1
20520	1
22518	1
15572	0
11509	0
25447	0
24090	0
27786	0
26195	0
20516	0
22759	0
19028	0
16971	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70830&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70830&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70830&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Inschrijvingen[t] = + 20987.3 + 2134.08000000000Dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Inschrijvingen[t] =  +  20987.3 +  2134.08000000000Dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70830&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Inschrijvingen[t] =  +  20987.3 +  2134.08000000000Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70830&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70830&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Estimated Regression Equation
Inschrijvingen[t] = + 20987.3 + 2134.08000000000Dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)20987.31818.20345711.542900
Dummy2134.080000000001991.7420951.07150.2883990.1442

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 20987.3 & 1818.203457 & 11.5429 & 0 & 0 \tabularnewline
Dummy & 2134.08000000000 & 1991.742095 & 1.0715 & 0.288399 & 0.1442 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70830&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]20987.3[/C][C]1818.203457[/C][C]11.5429[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]2134.08000000000[/C][C]1991.742095[/C][C]1.0715[/C][C]0.288399[/C][C]0.1442[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70830&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70830&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)20987.31818.20345711.542900
Dummy2134.080000000001991.7420951.07150.2883990.1442







Multiple Linear Regression - Regression Statistics
Multiple R0.139318064540605
R-squared0.0194095231073401
Adjusted R-squared0.00250279074712190
F-TEST (value)1.14803515509661
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.288399170188137
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5749.6641729217
Sum Squared Residuals1917401009.88

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.139318064540605 \tabularnewline
R-squared & 0.0194095231073401 \tabularnewline
Adjusted R-squared & 0.00250279074712190 \tabularnewline
F-TEST (value) & 1.14803515509661 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.288399170188137 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5749.6641729217 \tabularnewline
Sum Squared Residuals & 1917401009.88 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70830&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.139318064540605[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0194095231073401[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.00250279074712190[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.14803515509661[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.288399170188137[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5749.6641729217[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1917401009.88[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70830&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70830&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Regression Statistics
Multiple R0.139318064540605
R-squared0.0194095231073401
Adjusted R-squared0.00250279074712190
F-TEST (value)1.14803515509661
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.288399170188137
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5749.6641729217
Sum Squared Residuals1917401009.88







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12036623121.3800000001-2755.38000000006
22278223121.38-339.379999999998
31916923121.38-3952.38
41380723121.38-9314.38
52974323121.386621.62
62559123121.382469.62
72909623121.385974.62
82648223121.383360.62
92240523121.38-716.379999999999
102704423121.383922.62
111797023121.38-5151.38
121873023121.38-4391.38
131968423121.38-3437.38
141978523121.38-3336.38
151847923121.38-4642.38
161069823121.38-12423.38
173195623121.388834.62
182950623121.386384.62
193450623121.3811384.62
202716523121.384043.62
212673623121.383614.62
222369123121.38569.620000000001
231815723121.38-4964.38
241732823121.38-5793.38
251820523121.38-4916.38
262099523121.38-2126.38
271738223121.38-5739.38
28936723121.38-13754.38
293112423121.388002.62
302655123121.383429.62
313065123121.387529.62
322585923121.382737.62
332510023121.381978.62
342577823121.382656.62
352041823121.38-2703.38
361868823121.38-4433.38
372042423121.38-2697.38
382477623121.381654.62
391981423121.38-3307.38
401273823121.38-10383.38
413156623121.388444.62
423011123121.386989.62
433001923121.386897.62
443193423121.388812.62
452582623121.382704.62
462683523121.383713.62
472020523121.38-2916.38
481778923121.38-5332.38
492052023121.38-2601.38
502251823121.38-603.379999999999
511557220987.3-5415.3
521150920987.3-9478.3
532544720987.34459.7
542409020987.33102.7
552778620987.36798.7
562619520987.35207.7
572051620987.3-471.300000000002
582275920987.31771.70
591902820987.3-1959.3
601697120987.3-4016.3

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 20366 & 23121.3800000001 & -2755.38000000006 \tabularnewline
2 & 22782 & 23121.38 & -339.379999999998 \tabularnewline
3 & 19169 & 23121.38 & -3952.38 \tabularnewline
4 & 13807 & 23121.38 & -9314.38 \tabularnewline
5 & 29743 & 23121.38 & 6621.62 \tabularnewline
6 & 25591 & 23121.38 & 2469.62 \tabularnewline
7 & 29096 & 23121.38 & 5974.62 \tabularnewline
8 & 26482 & 23121.38 & 3360.62 \tabularnewline
9 & 22405 & 23121.38 & -716.379999999999 \tabularnewline
10 & 27044 & 23121.38 & 3922.62 \tabularnewline
11 & 17970 & 23121.38 & -5151.38 \tabularnewline
12 & 18730 & 23121.38 & -4391.38 \tabularnewline
13 & 19684 & 23121.38 & -3437.38 \tabularnewline
14 & 19785 & 23121.38 & -3336.38 \tabularnewline
15 & 18479 & 23121.38 & -4642.38 \tabularnewline
16 & 10698 & 23121.38 & -12423.38 \tabularnewline
17 & 31956 & 23121.38 & 8834.62 \tabularnewline
18 & 29506 & 23121.38 & 6384.62 \tabularnewline
19 & 34506 & 23121.38 & 11384.62 \tabularnewline
20 & 27165 & 23121.38 & 4043.62 \tabularnewline
21 & 26736 & 23121.38 & 3614.62 \tabularnewline
22 & 23691 & 23121.38 & 569.620000000001 \tabularnewline
23 & 18157 & 23121.38 & -4964.38 \tabularnewline
24 & 17328 & 23121.38 & -5793.38 \tabularnewline
25 & 18205 & 23121.38 & -4916.38 \tabularnewline
26 & 20995 & 23121.38 & -2126.38 \tabularnewline
27 & 17382 & 23121.38 & -5739.38 \tabularnewline
28 & 9367 & 23121.38 & -13754.38 \tabularnewline
29 & 31124 & 23121.38 & 8002.62 \tabularnewline
30 & 26551 & 23121.38 & 3429.62 \tabularnewline
31 & 30651 & 23121.38 & 7529.62 \tabularnewline
32 & 25859 & 23121.38 & 2737.62 \tabularnewline
33 & 25100 & 23121.38 & 1978.62 \tabularnewline
34 & 25778 & 23121.38 & 2656.62 \tabularnewline
35 & 20418 & 23121.38 & -2703.38 \tabularnewline
36 & 18688 & 23121.38 & -4433.38 \tabularnewline
37 & 20424 & 23121.38 & -2697.38 \tabularnewline
38 & 24776 & 23121.38 & 1654.62 \tabularnewline
39 & 19814 & 23121.38 & -3307.38 \tabularnewline
40 & 12738 & 23121.38 & -10383.38 \tabularnewline
41 & 31566 & 23121.38 & 8444.62 \tabularnewline
42 & 30111 & 23121.38 & 6989.62 \tabularnewline
43 & 30019 & 23121.38 & 6897.62 \tabularnewline
44 & 31934 & 23121.38 & 8812.62 \tabularnewline
45 & 25826 & 23121.38 & 2704.62 \tabularnewline
46 & 26835 & 23121.38 & 3713.62 \tabularnewline
47 & 20205 & 23121.38 & -2916.38 \tabularnewline
48 & 17789 & 23121.38 & -5332.38 \tabularnewline
49 & 20520 & 23121.38 & -2601.38 \tabularnewline
50 & 22518 & 23121.38 & -603.379999999999 \tabularnewline
51 & 15572 & 20987.3 & -5415.3 \tabularnewline
52 & 11509 & 20987.3 & -9478.3 \tabularnewline
53 & 25447 & 20987.3 & 4459.7 \tabularnewline
54 & 24090 & 20987.3 & 3102.7 \tabularnewline
55 & 27786 & 20987.3 & 6798.7 \tabularnewline
56 & 26195 & 20987.3 & 5207.7 \tabularnewline
57 & 20516 & 20987.3 & -471.300000000002 \tabularnewline
58 & 22759 & 20987.3 & 1771.70 \tabularnewline
59 & 19028 & 20987.3 & -1959.3 \tabularnewline
60 & 16971 & 20987.3 & -4016.3 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70830&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]20366[/C][C]23121.3800000001[/C][C]-2755.38000000006[/C][/ROW]
[ROW][C]2[/C][C]22782[/C][C]23121.38[/C][C]-339.379999999998[/C][/ROW]
[ROW][C]3[/C][C]19169[/C][C]23121.38[/C][C]-3952.38[/C][/ROW]
[ROW][C]4[/C][C]13807[/C][C]23121.38[/C][C]-9314.38[/C][/ROW]
[ROW][C]5[/C][C]29743[/C][C]23121.38[/C][C]6621.62[/C][/ROW]
[ROW][C]6[/C][C]25591[/C][C]23121.38[/C][C]2469.62[/C][/ROW]
[ROW][C]7[/C][C]29096[/C][C]23121.38[/C][C]5974.62[/C][/ROW]
[ROW][C]8[/C][C]26482[/C][C]23121.38[/C][C]3360.62[/C][/ROW]
[ROW][C]9[/C][C]22405[/C][C]23121.38[/C][C]-716.379999999999[/C][/ROW]
[ROW][C]10[/C][C]27044[/C][C]23121.38[/C][C]3922.62[/C][/ROW]
[ROW][C]11[/C][C]17970[/C][C]23121.38[/C][C]-5151.38[/C][/ROW]
[ROW][C]12[/C][C]18730[/C][C]23121.38[/C][C]-4391.38[/C][/ROW]
[ROW][C]13[/C][C]19684[/C][C]23121.38[/C][C]-3437.38[/C][/ROW]
[ROW][C]14[/C][C]19785[/C][C]23121.38[/C][C]-3336.38[/C][/ROW]
[ROW][C]15[/C][C]18479[/C][C]23121.38[/C][C]-4642.38[/C][/ROW]
[ROW][C]16[/C][C]10698[/C][C]23121.38[/C][C]-12423.38[/C][/ROW]
[ROW][C]17[/C][C]31956[/C][C]23121.38[/C][C]8834.62[/C][/ROW]
[ROW][C]18[/C][C]29506[/C][C]23121.38[/C][C]6384.62[/C][/ROW]
[ROW][C]19[/C][C]34506[/C][C]23121.38[/C][C]11384.62[/C][/ROW]
[ROW][C]20[/C][C]27165[/C][C]23121.38[/C][C]4043.62[/C][/ROW]
[ROW][C]21[/C][C]26736[/C][C]23121.38[/C][C]3614.62[/C][/ROW]
[ROW][C]22[/C][C]23691[/C][C]23121.38[/C][C]569.620000000001[/C][/ROW]
[ROW][C]23[/C][C]18157[/C][C]23121.38[/C][C]-4964.38[/C][/ROW]
[ROW][C]24[/C][C]17328[/C][C]23121.38[/C][C]-5793.38[/C][/ROW]
[ROW][C]25[/C][C]18205[/C][C]23121.38[/C][C]-4916.38[/C][/ROW]
[ROW][C]26[/C][C]20995[/C][C]23121.38[/C][C]-2126.38[/C][/ROW]
[ROW][C]27[/C][C]17382[/C][C]23121.38[/C][C]-5739.38[/C][/ROW]
[ROW][C]28[/C][C]9367[/C][C]23121.38[/C][C]-13754.38[/C][/ROW]
[ROW][C]29[/C][C]31124[/C][C]23121.38[/C][C]8002.62[/C][/ROW]
[ROW][C]30[/C][C]26551[/C][C]23121.38[/C][C]3429.62[/C][/ROW]
[ROW][C]31[/C][C]30651[/C][C]23121.38[/C][C]7529.62[/C][/ROW]
[ROW][C]32[/C][C]25859[/C][C]23121.38[/C][C]2737.62[/C][/ROW]
[ROW][C]33[/C][C]25100[/C][C]23121.38[/C][C]1978.62[/C][/ROW]
[ROW][C]34[/C][C]25778[/C][C]23121.38[/C][C]2656.62[/C][/ROW]
[ROW][C]35[/C][C]20418[/C][C]23121.38[/C][C]-2703.38[/C][/ROW]
[ROW][C]36[/C][C]18688[/C][C]23121.38[/C][C]-4433.38[/C][/ROW]
[ROW][C]37[/C][C]20424[/C][C]23121.38[/C][C]-2697.38[/C][/ROW]
[ROW][C]38[/C][C]24776[/C][C]23121.38[/C][C]1654.62[/C][/ROW]
[ROW][C]39[/C][C]19814[/C][C]23121.38[/C][C]-3307.38[/C][/ROW]
[ROW][C]40[/C][C]12738[/C][C]23121.38[/C][C]-10383.38[/C][/ROW]
[ROW][C]41[/C][C]31566[/C][C]23121.38[/C][C]8444.62[/C][/ROW]
[ROW][C]42[/C][C]30111[/C][C]23121.38[/C][C]6989.62[/C][/ROW]
[ROW][C]43[/C][C]30019[/C][C]23121.38[/C][C]6897.62[/C][/ROW]
[ROW][C]44[/C][C]31934[/C][C]23121.38[/C][C]8812.62[/C][/ROW]
[ROW][C]45[/C][C]25826[/C][C]23121.38[/C][C]2704.62[/C][/ROW]
[ROW][C]46[/C][C]26835[/C][C]23121.38[/C][C]3713.62[/C][/ROW]
[ROW][C]47[/C][C]20205[/C][C]23121.38[/C][C]-2916.38[/C][/ROW]
[ROW][C]48[/C][C]17789[/C][C]23121.38[/C][C]-5332.38[/C][/ROW]
[ROW][C]49[/C][C]20520[/C][C]23121.38[/C][C]-2601.38[/C][/ROW]
[ROW][C]50[/C][C]22518[/C][C]23121.38[/C][C]-603.379999999999[/C][/ROW]
[ROW][C]51[/C][C]15572[/C][C]20987.3[/C][C]-5415.3[/C][/ROW]
[ROW][C]52[/C][C]11509[/C][C]20987.3[/C][C]-9478.3[/C][/ROW]
[ROW][C]53[/C][C]25447[/C][C]20987.3[/C][C]4459.7[/C][/ROW]
[ROW][C]54[/C][C]24090[/C][C]20987.3[/C][C]3102.7[/C][/ROW]
[ROW][C]55[/C][C]27786[/C][C]20987.3[/C][C]6798.7[/C][/ROW]
[ROW][C]56[/C][C]26195[/C][C]20987.3[/C][C]5207.7[/C][/ROW]
[ROW][C]57[/C][C]20516[/C][C]20987.3[/C][C]-471.300000000002[/C][/ROW]
[ROW][C]58[/C][C]22759[/C][C]20987.3[/C][C]1771.70[/C][/ROW]
[ROW][C]59[/C][C]19028[/C][C]20987.3[/C][C]-1959.3[/C][/ROW]
[ROW][C]60[/C][C]16971[/C][C]20987.3[/C][C]-4016.3[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70830&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70830&T=4

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12036623121.3800000001-2755.38000000006
22278223121.38-339.379999999998
31916923121.38-3952.38
41380723121.38-9314.38
52974323121.386621.62
62559123121.382469.62
72909623121.385974.62
82648223121.383360.62
92240523121.38-716.379999999999
102704423121.383922.62
111797023121.38-5151.38
121873023121.38-4391.38
131968423121.38-3437.38
141978523121.38-3336.38
151847923121.38-4642.38
161069823121.38-12423.38
173195623121.388834.62
182950623121.386384.62
193450623121.3811384.62
202716523121.384043.62
212673623121.383614.62
222369123121.38569.620000000001
231815723121.38-4964.38
241732823121.38-5793.38
251820523121.38-4916.38
262099523121.38-2126.38
271738223121.38-5739.38
28936723121.38-13754.38
293112423121.388002.62
302655123121.383429.62
313065123121.387529.62
322585923121.382737.62
332510023121.381978.62
342577823121.382656.62
352041823121.38-2703.38
361868823121.38-4433.38
372042423121.38-2697.38
382477623121.381654.62
391981423121.38-3307.38
401273823121.38-10383.38
413156623121.388444.62
423011123121.386989.62
433001923121.386897.62
443193423121.388812.62
452582623121.382704.62
462683523121.383713.62
472020523121.38-2916.38
481778923121.38-5332.38
492052023121.38-2601.38
502251823121.38-603.379999999999
511557220987.3-5415.3
521150920987.3-9478.3
532544720987.34459.7
542409020987.33102.7
552778620987.36798.7
562619520987.35207.7
572051620987.3-471.300000000002
582275920987.31771.70
591902820987.3-1959.3
601697120987.3-4016.3







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.7330092505431660.5339814989136680.266990749456834
60.642560008712540.714879982574920.35743999128746
70.6574995655183820.6850008689632360.342500434481618
80.5680213712586260.8639572574827480.431978628741374
90.4470439828242410.8940879656484820.552956017175759
100.3776259433409210.7552518866818430.622374056659079
110.3653893393062700.7307786786125410.63461066069373
120.3217955692597720.6435911385195440.678204430740228
130.2596890406036690.5193780812073370.740310959396331
140.2031236815804560.4062473631609120.796876318419544
150.1716949029620630.3433898059241260.828305097037937
160.4148559103267480.8297118206534960.585144089673252
170.5734411335669920.8531177328660160.426558866433008
180.6031982188982920.7936035622034150.396801781101708
190.7944388019416590.4111223961166820.205561198058341
200.7606364378541880.4787271242916230.239363562145812
210.7178430449864490.5643139100271010.282156955013550
220.6472810858112280.7054378283775450.352718914188772
230.6255658962355370.7488682075289250.374434103764463
240.6212901465804840.7574197068390320.378709853419516
250.5968945457013240.8062109085973520.403105454298676
260.5302807182576580.9394385634846840.469719281742342
270.5260581308045090.9478837383909810.473941869195491
280.8311684825991050.3376630348017900.168831517400895
290.8672380156559330.2655239686881330.132761984344067
300.836690190423680.3266196191526420.163309809576321
310.8624888765453920.2750222469092160.137511123454608
320.8252579115723730.3494841768552550.174742088427627
330.7765400780091070.4469198439817860.223459921990893
340.7264470354789130.5471059290421740.273552964521087
350.6750721742632690.6498556514734620.324927825736731
360.6509368388469570.6981263223060860.349063161153043
370.5989219925266520.8021560149466970.401078007473348
380.5239064708540220.9521870582919570.476093529145978
390.4816830902279030.9633661804558060.518316909772097
400.7235452745214310.5529094509571390.276454725478569
410.7598530629351610.4802938741296780.240146937064839
420.7648013265685690.4703973468628610.235198673431430
430.7786528109574640.4426943780850710.221347189042536
440.8712600980820890.2574798038358220.128739901917911
450.8426467591009670.3147064817980660.157353240899033
460.847008278068780.3059834438624420.152991721931221
470.7831081227847240.4337837544305520.216891877215276
480.7340074599681660.5319850800636680.265992540031834
490.647346461514350.70530707697130.35265353848565
500.5397034799767560.9205930400464880.460296520023244
510.5210375867639820.9579248264720350.478962413236018
520.8139590492749050.3720819014501890.186040950725095
530.75880387827330.4823922434534010.241196121726701
540.6426313514657650.714737297068470.357368648534235
550.6997152099878570.6005695800242860.300284790012143

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.733009250543166 & 0.533981498913668 & 0.266990749456834 \tabularnewline
6 & 0.64256000871254 & 0.71487998257492 & 0.35743999128746 \tabularnewline
7 & 0.657499565518382 & 0.685000868963236 & 0.342500434481618 \tabularnewline
8 & 0.568021371258626 & 0.863957257482748 & 0.431978628741374 \tabularnewline
9 & 0.447043982824241 & 0.894087965648482 & 0.552956017175759 \tabularnewline
10 & 0.377625943340921 & 0.755251886681843 & 0.622374056659079 \tabularnewline
11 & 0.365389339306270 & 0.730778678612541 & 0.63461066069373 \tabularnewline
12 & 0.321795569259772 & 0.643591138519544 & 0.678204430740228 \tabularnewline
13 & 0.259689040603669 & 0.519378081207337 & 0.740310959396331 \tabularnewline
14 & 0.203123681580456 & 0.406247363160912 & 0.796876318419544 \tabularnewline
15 & 0.171694902962063 & 0.343389805924126 & 0.828305097037937 \tabularnewline
16 & 0.414855910326748 & 0.829711820653496 & 0.585144089673252 \tabularnewline
17 & 0.573441133566992 & 0.853117732866016 & 0.426558866433008 \tabularnewline
18 & 0.603198218898292 & 0.793603562203415 & 0.396801781101708 \tabularnewline
19 & 0.794438801941659 & 0.411122396116682 & 0.205561198058341 \tabularnewline
20 & 0.760636437854188 & 0.478727124291623 & 0.239363562145812 \tabularnewline
21 & 0.717843044986449 & 0.564313910027101 & 0.282156955013550 \tabularnewline
22 & 0.647281085811228 & 0.705437828377545 & 0.352718914188772 \tabularnewline
23 & 0.625565896235537 & 0.748868207528925 & 0.374434103764463 \tabularnewline
24 & 0.621290146580484 & 0.757419706839032 & 0.378709853419516 \tabularnewline
25 & 0.596894545701324 & 0.806210908597352 & 0.403105454298676 \tabularnewline
26 & 0.530280718257658 & 0.939438563484684 & 0.469719281742342 \tabularnewline
27 & 0.526058130804509 & 0.947883738390981 & 0.473941869195491 \tabularnewline
28 & 0.831168482599105 & 0.337663034801790 & 0.168831517400895 \tabularnewline
29 & 0.867238015655933 & 0.265523968688133 & 0.132761984344067 \tabularnewline
30 & 0.83669019042368 & 0.326619619152642 & 0.163309809576321 \tabularnewline
31 & 0.862488876545392 & 0.275022246909216 & 0.137511123454608 \tabularnewline
32 & 0.825257911572373 & 0.349484176855255 & 0.174742088427627 \tabularnewline
33 & 0.776540078009107 & 0.446919843981786 & 0.223459921990893 \tabularnewline
34 & 0.726447035478913 & 0.547105929042174 & 0.273552964521087 \tabularnewline
35 & 0.675072174263269 & 0.649855651473462 & 0.324927825736731 \tabularnewline
36 & 0.650936838846957 & 0.698126322306086 & 0.349063161153043 \tabularnewline
37 & 0.598921992526652 & 0.802156014946697 & 0.401078007473348 \tabularnewline
38 & 0.523906470854022 & 0.952187058291957 & 0.476093529145978 \tabularnewline
39 & 0.481683090227903 & 0.963366180455806 & 0.518316909772097 \tabularnewline
40 & 0.723545274521431 & 0.552909450957139 & 0.276454725478569 \tabularnewline
41 & 0.759853062935161 & 0.480293874129678 & 0.240146937064839 \tabularnewline
42 & 0.764801326568569 & 0.470397346862861 & 0.235198673431430 \tabularnewline
43 & 0.778652810957464 & 0.442694378085071 & 0.221347189042536 \tabularnewline
44 & 0.871260098082089 & 0.257479803835822 & 0.128739901917911 \tabularnewline
45 & 0.842646759100967 & 0.314706481798066 & 0.157353240899033 \tabularnewline
46 & 0.84700827806878 & 0.305983443862442 & 0.152991721931221 \tabularnewline
47 & 0.783108122784724 & 0.433783754430552 & 0.216891877215276 \tabularnewline
48 & 0.734007459968166 & 0.531985080063668 & 0.265992540031834 \tabularnewline
49 & 0.64734646151435 & 0.7053070769713 & 0.35265353848565 \tabularnewline
50 & 0.539703479976756 & 0.920593040046488 & 0.460296520023244 \tabularnewline
51 & 0.521037586763982 & 0.957924826472035 & 0.478962413236018 \tabularnewline
52 & 0.813959049274905 & 0.372081901450189 & 0.186040950725095 \tabularnewline
53 & 0.7588038782733 & 0.482392243453401 & 0.241196121726701 \tabularnewline
54 & 0.642631351465765 & 0.71473729706847 & 0.357368648534235 \tabularnewline
55 & 0.699715209987857 & 0.600569580024286 & 0.300284790012143 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70830&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]5[/C][C]0.733009250543166[/C][C]0.533981498913668[/C][C]0.266990749456834[/C][/ROW]
[ROW][C]6[/C][C]0.64256000871254[/C][C]0.71487998257492[/C][C]0.35743999128746[/C][/ROW]
[ROW][C]7[/C][C]0.657499565518382[/C][C]0.685000868963236[/C][C]0.342500434481618[/C][/ROW]
[ROW][C]8[/C][C]0.568021371258626[/C][C]0.863957257482748[/C][C]0.431978628741374[/C][/ROW]
[ROW][C]9[/C][C]0.447043982824241[/C][C]0.894087965648482[/C][C]0.552956017175759[/C][/ROW]
[ROW][C]10[/C][C]0.377625943340921[/C][C]0.755251886681843[/C][C]0.622374056659079[/C][/ROW]
[ROW][C]11[/C][C]0.365389339306270[/C][C]0.730778678612541[/C][C]0.63461066069373[/C][/ROW]
[ROW][C]12[/C][C]0.321795569259772[/C][C]0.643591138519544[/C][C]0.678204430740228[/C][/ROW]
[ROW][C]13[/C][C]0.259689040603669[/C][C]0.519378081207337[/C][C]0.740310959396331[/C][/ROW]
[ROW][C]14[/C][C]0.203123681580456[/C][C]0.406247363160912[/C][C]0.796876318419544[/C][/ROW]
[ROW][C]15[/C][C]0.171694902962063[/C][C]0.343389805924126[/C][C]0.828305097037937[/C][/ROW]
[ROW][C]16[/C][C]0.414855910326748[/C][C]0.829711820653496[/C][C]0.585144089673252[/C][/ROW]
[ROW][C]17[/C][C]0.573441133566992[/C][C]0.853117732866016[/C][C]0.426558866433008[/C][/ROW]
[ROW][C]18[/C][C]0.603198218898292[/C][C]0.793603562203415[/C][C]0.396801781101708[/C][/ROW]
[ROW][C]19[/C][C]0.794438801941659[/C][C]0.411122396116682[/C][C]0.205561198058341[/C][/ROW]
[ROW][C]20[/C][C]0.760636437854188[/C][C]0.478727124291623[/C][C]0.239363562145812[/C][/ROW]
[ROW][C]21[/C][C]0.717843044986449[/C][C]0.564313910027101[/C][C]0.282156955013550[/C][/ROW]
[ROW][C]22[/C][C]0.647281085811228[/C][C]0.705437828377545[/C][C]0.352718914188772[/C][/ROW]
[ROW][C]23[/C][C]0.625565896235537[/C][C]0.748868207528925[/C][C]0.374434103764463[/C][/ROW]
[ROW][C]24[/C][C]0.621290146580484[/C][C]0.757419706839032[/C][C]0.378709853419516[/C][/ROW]
[ROW][C]25[/C][C]0.596894545701324[/C][C]0.806210908597352[/C][C]0.403105454298676[/C][/ROW]
[ROW][C]26[/C][C]0.530280718257658[/C][C]0.939438563484684[/C][C]0.469719281742342[/C][/ROW]
[ROW][C]27[/C][C]0.526058130804509[/C][C]0.947883738390981[/C][C]0.473941869195491[/C][/ROW]
[ROW][C]28[/C][C]0.831168482599105[/C][C]0.337663034801790[/C][C]0.168831517400895[/C][/ROW]
[ROW][C]29[/C][C]0.867238015655933[/C][C]0.265523968688133[/C][C]0.132761984344067[/C][/ROW]
[ROW][C]30[/C][C]0.83669019042368[/C][C]0.326619619152642[/C][C]0.163309809576321[/C][/ROW]
[ROW][C]31[/C][C]0.862488876545392[/C][C]0.275022246909216[/C][C]0.137511123454608[/C][/ROW]
[ROW][C]32[/C][C]0.825257911572373[/C][C]0.349484176855255[/C][C]0.174742088427627[/C][/ROW]
[ROW][C]33[/C][C]0.776540078009107[/C][C]0.446919843981786[/C][C]0.223459921990893[/C][/ROW]
[ROW][C]34[/C][C]0.726447035478913[/C][C]0.547105929042174[/C][C]0.273552964521087[/C][/ROW]
[ROW][C]35[/C][C]0.675072174263269[/C][C]0.649855651473462[/C][C]0.324927825736731[/C][/ROW]
[ROW][C]36[/C][C]0.650936838846957[/C][C]0.698126322306086[/C][C]0.349063161153043[/C][/ROW]
[ROW][C]37[/C][C]0.598921992526652[/C][C]0.802156014946697[/C][C]0.401078007473348[/C][/ROW]
[ROW][C]38[/C][C]0.523906470854022[/C][C]0.952187058291957[/C][C]0.476093529145978[/C][/ROW]
[ROW][C]39[/C][C]0.481683090227903[/C][C]0.963366180455806[/C][C]0.518316909772097[/C][/ROW]
[ROW][C]40[/C][C]0.723545274521431[/C][C]0.552909450957139[/C][C]0.276454725478569[/C][/ROW]
[ROW][C]41[/C][C]0.759853062935161[/C][C]0.480293874129678[/C][C]0.240146937064839[/C][/ROW]
[ROW][C]42[/C][C]0.764801326568569[/C][C]0.470397346862861[/C][C]0.235198673431430[/C][/ROW]
[ROW][C]43[/C][C]0.778652810957464[/C][C]0.442694378085071[/C][C]0.221347189042536[/C][/ROW]
[ROW][C]44[/C][C]0.871260098082089[/C][C]0.257479803835822[/C][C]0.128739901917911[/C][/ROW]
[ROW][C]45[/C][C]0.842646759100967[/C][C]0.314706481798066[/C][C]0.157353240899033[/C][/ROW]
[ROW][C]46[/C][C]0.84700827806878[/C][C]0.305983443862442[/C][C]0.152991721931221[/C][/ROW]
[ROW][C]47[/C][C]0.783108122784724[/C][C]0.433783754430552[/C][C]0.216891877215276[/C][/ROW]
[ROW][C]48[/C][C]0.734007459968166[/C][C]0.531985080063668[/C][C]0.265992540031834[/C][/ROW]
[ROW][C]49[/C][C]0.64734646151435[/C][C]0.7053070769713[/C][C]0.35265353848565[/C][/ROW]
[ROW][C]50[/C][C]0.539703479976756[/C][C]0.920593040046488[/C][C]0.460296520023244[/C][/ROW]
[ROW][C]51[/C][C]0.521037586763982[/C][C]0.957924826472035[/C][C]0.478962413236018[/C][/ROW]
[ROW][C]52[/C][C]0.813959049274905[/C][C]0.372081901450189[/C][C]0.186040950725095[/C][/ROW]
[ROW][C]53[/C][C]0.7588038782733[/C][C]0.482392243453401[/C][C]0.241196121726701[/C][/ROW]
[ROW][C]54[/C][C]0.642631351465765[/C][C]0.71473729706847[/C][C]0.357368648534235[/C][/ROW]
[ROW][C]55[/C][C]0.699715209987857[/C][C]0.600569580024286[/C][C]0.300284790012143[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70830&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70830&T=5

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.7330092505431660.5339814989136680.266990749456834
60.642560008712540.714879982574920.35743999128746
70.6574995655183820.6850008689632360.342500434481618
80.5680213712586260.8639572574827480.431978628741374
90.4470439828242410.8940879656484820.552956017175759
100.3776259433409210.7552518866818430.622374056659079
110.3653893393062700.7307786786125410.63461066069373
120.3217955692597720.6435911385195440.678204430740228
130.2596890406036690.5193780812073370.740310959396331
140.2031236815804560.4062473631609120.796876318419544
150.1716949029620630.3433898059241260.828305097037937
160.4148559103267480.8297118206534960.585144089673252
170.5734411335669920.8531177328660160.426558866433008
180.6031982188982920.7936035622034150.396801781101708
190.7944388019416590.4111223961166820.205561198058341
200.7606364378541880.4787271242916230.239363562145812
210.7178430449864490.5643139100271010.282156955013550
220.6472810858112280.7054378283775450.352718914188772
230.6255658962355370.7488682075289250.374434103764463
240.6212901465804840.7574197068390320.378709853419516
250.5968945457013240.8062109085973520.403105454298676
260.5302807182576580.9394385634846840.469719281742342
270.5260581308045090.9478837383909810.473941869195491
280.8311684825991050.3376630348017900.168831517400895
290.8672380156559330.2655239686881330.132761984344067
300.836690190423680.3266196191526420.163309809576321
310.8624888765453920.2750222469092160.137511123454608
320.8252579115723730.3494841768552550.174742088427627
330.7765400780091070.4469198439817860.223459921990893
340.7264470354789130.5471059290421740.273552964521087
350.6750721742632690.6498556514734620.324927825736731
360.6509368388469570.6981263223060860.349063161153043
370.5989219925266520.8021560149466970.401078007473348
380.5239064708540220.9521870582919570.476093529145978
390.4816830902279030.9633661804558060.518316909772097
400.7235452745214310.5529094509571390.276454725478569
410.7598530629351610.4802938741296780.240146937064839
420.7648013265685690.4703973468628610.235198673431430
430.7786528109574640.4426943780850710.221347189042536
440.8712600980820890.2574798038358220.128739901917911
450.8426467591009670.3147064817980660.157353240899033
460.847008278068780.3059834438624420.152991721931221
470.7831081227847240.4337837544305520.216891877215276
480.7340074599681660.5319850800636680.265992540031834
490.647346461514350.70530707697130.35265353848565
500.5397034799767560.9205930400464880.460296520023244
510.5210375867639820.9579248264720350.478962413236018
520.8139590492749050.3720819014501890.186040950725095
530.75880387827330.4823922434534010.241196121726701
540.6426313514657650.714737297068470.357368648534235
550.6997152099878570.6005695800242860.300284790012143







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70830&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70830&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70830&T=6

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}