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 computationWed, 26 Nov 2008 11:17: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/2008/Nov/26/t1227723493y5suqyegjjrvccu.htm/, Retrieved Sun, 19 May 2024 07:22:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25687, Retrieved Sun, 19 May 2024 07:22:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsmultiple lineair regression
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [multiple lineair ...] [2008-11-26 18:17:37] [962e6c9020896982bc8283b8971710a9] [Current]
Feedback Forum

Post a new message
Dataseries X:
147768	0
137507	0
136919	0
136151	0
133001	0
125554	0
119647	0
114158	0
116193	0
152803	0
161761	0
160942	0
149470	0
139208	0
134588	0
130322	0
126611	0
122401	0
117352	0
112135	0
112879	0
148729	0
157230	0
157221	0
146681	0
136524	0
132111	0
125326	0
122716	0
116615	0
113719	0
110737	0
112093	0
143565	0
149946	0
149147	0
134339	0
122683	0
115614	0
116566	0
111272	0
104609	0
101802	0
94542	0
93051	0
124129	0
130374	0
123946	0
114971	0
105531	0
104919	0
104782	0
101281	0
94545	0
93248	0
84031	0
87486	0
115867	0
120327	1
117008	1
108811	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 6 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25687&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25687&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25687&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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
jonger_dan_25[t] = + 123953.758620690 -8571.75862068966economische_crisis[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
jonger_dan_25[t] =  +  123953.758620690 -8571.75862068966economische_crisis[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25687&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]jonger_dan_25[t] =  +  123953.758620690 -8571.75862068966economische_crisis[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25687&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25687&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
jonger_dan_25[t] = + 123953.758620690 -8571.75862068966economische_crisis[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)123953.7586206902518.33568649.220500
economische_crisis-8571.7586206896611355.804569-0.75480.4533510.226675

\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) & 123953.758620690 & 2518.335686 & 49.2205 & 0 & 0 \tabularnewline
economische_crisis & -8571.75862068966 & 11355.804569 & -0.7548 & 0.453351 & 0.226675 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25687&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]123953.758620690[/C][C]2518.335686[/C][C]49.2205[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]economische_crisis[/C][C]-8571.75862068966[/C][C]11355.804569[/C][C]-0.7548[/C][C]0.453351[/C][C]0.226675[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25687&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25687&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)123953.7586206902518.33568649.220500
economische_crisis-8571.7586206896611355.804569-0.75480.4533510.226675







Multiple Linear Regression - Regression Statistics
Multiple R0.097800041724607
R-squared0.00956484816133486
Adjusted R-squared-0.0072221883105068
F-TEST (value)0.569775861116328
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.453350618851087
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19179.0731879698
Sum Squared Residuals21702374052.6207

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.097800041724607 \tabularnewline
R-squared & 0.00956484816133486 \tabularnewline
Adjusted R-squared & -0.0072221883105068 \tabularnewline
F-TEST (value) & 0.569775861116328 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.453350618851087 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19179.0731879698 \tabularnewline
Sum Squared Residuals & 21702374052.6207 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25687&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.097800041724607[/C][/ROW]
[ROW][C]R-squared[/C][C]0.00956484816133486[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0072221883105068[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.569775861116328[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.453350618851087[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19179.0731879698[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]21702374052.6207[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25687&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25687&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.097800041724607
R-squared0.00956484816133486
Adjusted R-squared-0.0072221883105068
F-TEST (value)0.569775861116328
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.453350618851087
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19179.0731879698
Sum Squared Residuals21702374052.6207







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1147768123953.75862069023814.2413793104
2137507123953.75862069013553.2413793103
3136919123953.75862069012965.2413793103
4136151123953.75862069012197.2413793103
5133001123953.7586206909047.24137931035
6125554123953.7586206901600.24137931034
7119647123953.758620690-4306.75862068965
8114158123953.758620690-9795.75862068966
9116193123953.758620690-7760.75862068966
10152803123953.75862069028849.2413793103
11161761123953.75862069037807.2413793103
12160942123953.75862069036988.2413793103
13149470123953.75862069025516.2413793103
14139208123953.75862069015254.2413793103
15134588123953.75862069010634.2413793103
16130322123953.7586206906368.24137931035
17126611123953.7586206902657.24137931035
18122401123953.758620690-1552.75862068965
19117352123953.758620690-6601.75862068966
20112135123953.758620690-11818.7586206897
21112879123953.758620690-11074.7586206897
22148729123953.75862069024775.2413793103
23157230123953.75862069033276.2413793103
24157221123953.75862069033267.2413793103
25146681123953.75862069022727.2413793103
26136524123953.75862069012570.2413793103
27132111123953.7586206908157.24137931035
28125326123953.7586206901372.24137931034
29122716123953.758620690-1237.75862068965
30116615123953.758620690-7338.75862068966
31113719123953.758620690-10234.7586206897
32110737123953.758620690-13216.7586206897
33112093123953.758620690-11860.7586206897
34143565123953.75862069019611.2413793103
35149946123953.75862069025992.2413793103
36149147123953.75862069025193.2413793103
37134339123953.75862069010385.2413793103
38122683123953.758620690-1270.75862068965
39115614123953.758620690-8339.75862068966
40116566123953.758620690-7387.75862068966
41111272123953.758620690-12681.7586206897
42104609123953.758620690-19344.7586206897
43101802123953.758620690-22151.7586206897
4494542123953.758620690-29411.7586206897
4593051123953.758620690-30902.7586206897
46124129123953.758620690175.241379310345
47130374123953.7586206906420.24137931035
48123946123953.758620690-7.75862068965457
49114971123953.758620690-8982.75862068966
50105531123953.758620690-18422.7586206897
51104919123953.758620690-19034.7586206897
52104782123953.758620690-19171.7586206897
53101281123953.758620690-22672.7586206897
5494545123953.758620690-29408.7586206897
5593248123953.758620690-30705.7586206897
5684031123953.758620690-39922.7586206897
5787486123953.758620690-36467.7586206897
58115867123953.758620690-8086.75862068966
591203271153824945
601170081153821626
61108811115382-6571

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 147768 & 123953.758620690 & 23814.2413793104 \tabularnewline
2 & 137507 & 123953.758620690 & 13553.2413793103 \tabularnewline
3 & 136919 & 123953.758620690 & 12965.2413793103 \tabularnewline
4 & 136151 & 123953.758620690 & 12197.2413793103 \tabularnewline
5 & 133001 & 123953.758620690 & 9047.24137931035 \tabularnewline
6 & 125554 & 123953.758620690 & 1600.24137931034 \tabularnewline
7 & 119647 & 123953.758620690 & -4306.75862068965 \tabularnewline
8 & 114158 & 123953.758620690 & -9795.75862068966 \tabularnewline
9 & 116193 & 123953.758620690 & -7760.75862068966 \tabularnewline
10 & 152803 & 123953.758620690 & 28849.2413793103 \tabularnewline
11 & 161761 & 123953.758620690 & 37807.2413793103 \tabularnewline
12 & 160942 & 123953.758620690 & 36988.2413793103 \tabularnewline
13 & 149470 & 123953.758620690 & 25516.2413793103 \tabularnewline
14 & 139208 & 123953.758620690 & 15254.2413793103 \tabularnewline
15 & 134588 & 123953.758620690 & 10634.2413793103 \tabularnewline
16 & 130322 & 123953.758620690 & 6368.24137931035 \tabularnewline
17 & 126611 & 123953.758620690 & 2657.24137931035 \tabularnewline
18 & 122401 & 123953.758620690 & -1552.75862068965 \tabularnewline
19 & 117352 & 123953.758620690 & -6601.75862068966 \tabularnewline
20 & 112135 & 123953.758620690 & -11818.7586206897 \tabularnewline
21 & 112879 & 123953.758620690 & -11074.7586206897 \tabularnewline
22 & 148729 & 123953.758620690 & 24775.2413793103 \tabularnewline
23 & 157230 & 123953.758620690 & 33276.2413793103 \tabularnewline
24 & 157221 & 123953.758620690 & 33267.2413793103 \tabularnewline
25 & 146681 & 123953.758620690 & 22727.2413793103 \tabularnewline
26 & 136524 & 123953.758620690 & 12570.2413793103 \tabularnewline
27 & 132111 & 123953.758620690 & 8157.24137931035 \tabularnewline
28 & 125326 & 123953.758620690 & 1372.24137931034 \tabularnewline
29 & 122716 & 123953.758620690 & -1237.75862068965 \tabularnewline
30 & 116615 & 123953.758620690 & -7338.75862068966 \tabularnewline
31 & 113719 & 123953.758620690 & -10234.7586206897 \tabularnewline
32 & 110737 & 123953.758620690 & -13216.7586206897 \tabularnewline
33 & 112093 & 123953.758620690 & -11860.7586206897 \tabularnewline
34 & 143565 & 123953.758620690 & 19611.2413793103 \tabularnewline
35 & 149946 & 123953.758620690 & 25992.2413793103 \tabularnewline
36 & 149147 & 123953.758620690 & 25193.2413793103 \tabularnewline
37 & 134339 & 123953.758620690 & 10385.2413793103 \tabularnewline
38 & 122683 & 123953.758620690 & -1270.75862068965 \tabularnewline
39 & 115614 & 123953.758620690 & -8339.75862068966 \tabularnewline
40 & 116566 & 123953.758620690 & -7387.75862068966 \tabularnewline
41 & 111272 & 123953.758620690 & -12681.7586206897 \tabularnewline
42 & 104609 & 123953.758620690 & -19344.7586206897 \tabularnewline
43 & 101802 & 123953.758620690 & -22151.7586206897 \tabularnewline
44 & 94542 & 123953.758620690 & -29411.7586206897 \tabularnewline
45 & 93051 & 123953.758620690 & -30902.7586206897 \tabularnewline
46 & 124129 & 123953.758620690 & 175.241379310345 \tabularnewline
47 & 130374 & 123953.758620690 & 6420.24137931035 \tabularnewline
48 & 123946 & 123953.758620690 & -7.75862068965457 \tabularnewline
49 & 114971 & 123953.758620690 & -8982.75862068966 \tabularnewline
50 & 105531 & 123953.758620690 & -18422.7586206897 \tabularnewline
51 & 104919 & 123953.758620690 & -19034.7586206897 \tabularnewline
52 & 104782 & 123953.758620690 & -19171.7586206897 \tabularnewline
53 & 101281 & 123953.758620690 & -22672.7586206897 \tabularnewline
54 & 94545 & 123953.758620690 & -29408.7586206897 \tabularnewline
55 & 93248 & 123953.758620690 & -30705.7586206897 \tabularnewline
56 & 84031 & 123953.758620690 & -39922.7586206897 \tabularnewline
57 & 87486 & 123953.758620690 & -36467.7586206897 \tabularnewline
58 & 115867 & 123953.758620690 & -8086.75862068966 \tabularnewline
59 & 120327 & 115382 & 4945 \tabularnewline
60 & 117008 & 115382 & 1626 \tabularnewline
61 & 108811 & 115382 & -6571 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25687&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]147768[/C][C]123953.758620690[/C][C]23814.2413793104[/C][/ROW]
[ROW][C]2[/C][C]137507[/C][C]123953.758620690[/C][C]13553.2413793103[/C][/ROW]
[ROW][C]3[/C][C]136919[/C][C]123953.758620690[/C][C]12965.2413793103[/C][/ROW]
[ROW][C]4[/C][C]136151[/C][C]123953.758620690[/C][C]12197.2413793103[/C][/ROW]
[ROW][C]5[/C][C]133001[/C][C]123953.758620690[/C][C]9047.24137931035[/C][/ROW]
[ROW][C]6[/C][C]125554[/C][C]123953.758620690[/C][C]1600.24137931034[/C][/ROW]
[ROW][C]7[/C][C]119647[/C][C]123953.758620690[/C][C]-4306.75862068965[/C][/ROW]
[ROW][C]8[/C][C]114158[/C][C]123953.758620690[/C][C]-9795.75862068966[/C][/ROW]
[ROW][C]9[/C][C]116193[/C][C]123953.758620690[/C][C]-7760.75862068966[/C][/ROW]
[ROW][C]10[/C][C]152803[/C][C]123953.758620690[/C][C]28849.2413793103[/C][/ROW]
[ROW][C]11[/C][C]161761[/C][C]123953.758620690[/C][C]37807.2413793103[/C][/ROW]
[ROW][C]12[/C][C]160942[/C][C]123953.758620690[/C][C]36988.2413793103[/C][/ROW]
[ROW][C]13[/C][C]149470[/C][C]123953.758620690[/C][C]25516.2413793103[/C][/ROW]
[ROW][C]14[/C][C]139208[/C][C]123953.758620690[/C][C]15254.2413793103[/C][/ROW]
[ROW][C]15[/C][C]134588[/C][C]123953.758620690[/C][C]10634.2413793103[/C][/ROW]
[ROW][C]16[/C][C]130322[/C][C]123953.758620690[/C][C]6368.24137931035[/C][/ROW]
[ROW][C]17[/C][C]126611[/C][C]123953.758620690[/C][C]2657.24137931035[/C][/ROW]
[ROW][C]18[/C][C]122401[/C][C]123953.758620690[/C][C]-1552.75862068965[/C][/ROW]
[ROW][C]19[/C][C]117352[/C][C]123953.758620690[/C][C]-6601.75862068966[/C][/ROW]
[ROW][C]20[/C][C]112135[/C][C]123953.758620690[/C][C]-11818.7586206897[/C][/ROW]
[ROW][C]21[/C][C]112879[/C][C]123953.758620690[/C][C]-11074.7586206897[/C][/ROW]
[ROW][C]22[/C][C]148729[/C][C]123953.758620690[/C][C]24775.2413793103[/C][/ROW]
[ROW][C]23[/C][C]157230[/C][C]123953.758620690[/C][C]33276.2413793103[/C][/ROW]
[ROW][C]24[/C][C]157221[/C][C]123953.758620690[/C][C]33267.2413793103[/C][/ROW]
[ROW][C]25[/C][C]146681[/C][C]123953.758620690[/C][C]22727.2413793103[/C][/ROW]
[ROW][C]26[/C][C]136524[/C][C]123953.758620690[/C][C]12570.2413793103[/C][/ROW]
[ROW][C]27[/C][C]132111[/C][C]123953.758620690[/C][C]8157.24137931035[/C][/ROW]
[ROW][C]28[/C][C]125326[/C][C]123953.758620690[/C][C]1372.24137931034[/C][/ROW]
[ROW][C]29[/C][C]122716[/C][C]123953.758620690[/C][C]-1237.75862068965[/C][/ROW]
[ROW][C]30[/C][C]116615[/C][C]123953.758620690[/C][C]-7338.75862068966[/C][/ROW]
[ROW][C]31[/C][C]113719[/C][C]123953.758620690[/C][C]-10234.7586206897[/C][/ROW]
[ROW][C]32[/C][C]110737[/C][C]123953.758620690[/C][C]-13216.7586206897[/C][/ROW]
[ROW][C]33[/C][C]112093[/C][C]123953.758620690[/C][C]-11860.7586206897[/C][/ROW]
[ROW][C]34[/C][C]143565[/C][C]123953.758620690[/C][C]19611.2413793103[/C][/ROW]
[ROW][C]35[/C][C]149946[/C][C]123953.758620690[/C][C]25992.2413793103[/C][/ROW]
[ROW][C]36[/C][C]149147[/C][C]123953.758620690[/C][C]25193.2413793103[/C][/ROW]
[ROW][C]37[/C][C]134339[/C][C]123953.758620690[/C][C]10385.2413793103[/C][/ROW]
[ROW][C]38[/C][C]122683[/C][C]123953.758620690[/C][C]-1270.75862068965[/C][/ROW]
[ROW][C]39[/C][C]115614[/C][C]123953.758620690[/C][C]-8339.75862068966[/C][/ROW]
[ROW][C]40[/C][C]116566[/C][C]123953.758620690[/C][C]-7387.75862068966[/C][/ROW]
[ROW][C]41[/C][C]111272[/C][C]123953.758620690[/C][C]-12681.7586206897[/C][/ROW]
[ROW][C]42[/C][C]104609[/C][C]123953.758620690[/C][C]-19344.7586206897[/C][/ROW]
[ROW][C]43[/C][C]101802[/C][C]123953.758620690[/C][C]-22151.7586206897[/C][/ROW]
[ROW][C]44[/C][C]94542[/C][C]123953.758620690[/C][C]-29411.7586206897[/C][/ROW]
[ROW][C]45[/C][C]93051[/C][C]123953.758620690[/C][C]-30902.7586206897[/C][/ROW]
[ROW][C]46[/C][C]124129[/C][C]123953.758620690[/C][C]175.241379310345[/C][/ROW]
[ROW][C]47[/C][C]130374[/C][C]123953.758620690[/C][C]6420.24137931035[/C][/ROW]
[ROW][C]48[/C][C]123946[/C][C]123953.758620690[/C][C]-7.75862068965457[/C][/ROW]
[ROW][C]49[/C][C]114971[/C][C]123953.758620690[/C][C]-8982.75862068966[/C][/ROW]
[ROW][C]50[/C][C]105531[/C][C]123953.758620690[/C][C]-18422.7586206897[/C][/ROW]
[ROW][C]51[/C][C]104919[/C][C]123953.758620690[/C][C]-19034.7586206897[/C][/ROW]
[ROW][C]52[/C][C]104782[/C][C]123953.758620690[/C][C]-19171.7586206897[/C][/ROW]
[ROW][C]53[/C][C]101281[/C][C]123953.758620690[/C][C]-22672.7586206897[/C][/ROW]
[ROW][C]54[/C][C]94545[/C][C]123953.758620690[/C][C]-29408.7586206897[/C][/ROW]
[ROW][C]55[/C][C]93248[/C][C]123953.758620690[/C][C]-30705.7586206897[/C][/ROW]
[ROW][C]56[/C][C]84031[/C][C]123953.758620690[/C][C]-39922.7586206897[/C][/ROW]
[ROW][C]57[/C][C]87486[/C][C]123953.758620690[/C][C]-36467.7586206897[/C][/ROW]
[ROW][C]58[/C][C]115867[/C][C]123953.758620690[/C][C]-8086.75862068966[/C][/ROW]
[ROW][C]59[/C][C]120327[/C][C]115382[/C][C]4945[/C][/ROW]
[ROW][C]60[/C][C]117008[/C][C]115382[/C][C]1626[/C][/ROW]
[ROW][C]61[/C][C]108811[/C][C]115382[/C][C]-6571[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25687&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25687&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
1147768123953.75862069023814.2413793104
2137507123953.75862069013553.2413793103
3136919123953.75862069012965.2413793103
4136151123953.75862069012197.2413793103
5133001123953.7586206909047.24137931035
6125554123953.7586206901600.24137931034
7119647123953.758620690-4306.75862068965
8114158123953.758620690-9795.75862068966
9116193123953.758620690-7760.75862068966
10152803123953.75862069028849.2413793103
11161761123953.75862069037807.2413793103
12160942123953.75862069036988.2413793103
13149470123953.75862069025516.2413793103
14139208123953.75862069015254.2413793103
15134588123953.75862069010634.2413793103
16130322123953.7586206906368.24137931035
17126611123953.7586206902657.24137931035
18122401123953.758620690-1552.75862068965
19117352123953.758620690-6601.75862068966
20112135123953.758620690-11818.7586206897
21112879123953.758620690-11074.7586206897
22148729123953.75862069024775.2413793103
23157230123953.75862069033276.2413793103
24157221123953.75862069033267.2413793103
25146681123953.75862069022727.2413793103
26136524123953.75862069012570.2413793103
27132111123953.7586206908157.24137931035
28125326123953.7586206901372.24137931034
29122716123953.758620690-1237.75862068965
30116615123953.758620690-7338.75862068966
31113719123953.758620690-10234.7586206897
32110737123953.758620690-13216.7586206897
33112093123953.758620690-11860.7586206897
34143565123953.75862069019611.2413793103
35149946123953.75862069025992.2413793103
36149147123953.75862069025193.2413793103
37134339123953.75862069010385.2413793103
38122683123953.758620690-1270.75862068965
39115614123953.758620690-8339.75862068966
40116566123953.758620690-7387.75862068966
41111272123953.758620690-12681.7586206897
42104609123953.758620690-19344.7586206897
43101802123953.758620690-22151.7586206897
4494542123953.758620690-29411.7586206897
4593051123953.758620690-30902.7586206897
46124129123953.758620690175.241379310345
47130374123953.7586206906420.24137931035
48123946123953.758620690-7.75862068965457
49114971123953.758620690-8982.75862068966
50105531123953.758620690-18422.7586206897
51104919123953.758620690-19034.7586206897
52104782123953.758620690-19171.7586206897
53101281123953.758620690-22672.7586206897
5494545123953.758620690-29408.7586206897
5593248123953.758620690-30705.7586206897
5684031123953.758620690-39922.7586206897
5787486123953.758620690-36467.7586206897
58115867123953.758620690-8086.75862068966
591203271153824945
601170081153821626
61108811115382-6571







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.04603021057883770.09206042115767540.953969789421162
60.04636659114954130.09273318229908270.953633408850459
70.0624968266639590.1249936533279180.937503173336041
80.09134749778370890.1826949955674180.908652502216291
90.08092528962516070.1618505792503210.91907471037484
100.1345763110938310.2691526221876620.865423688906169
110.2904487953389310.5808975906778620.709551204661069
120.4211202693150100.8422405386300190.57887973068499
130.4014948763864190.8029897527728380.598505123613581
140.3291504025704740.6583008051409490.670849597429526
150.2605779520992640.5211559041985280.739422047900736
160.2054475029688910.4108950059377810.794552497031109
170.1657592671225620.3315185342451240.834240732877438
180.1424765524529360.2849531049058730.857523447547064
190.1379364558135940.2758729116271880.862063544186406
200.1539803508945390.3079607017890780.846019649105461
210.1567420312197340.3134840624394670.843257968780266
220.1740937050506850.348187410101370.825906294949315
230.279750571944870.559501143889740.72024942805513
240.4262928994580630.8525857989161260.573707100541937
250.4710555876558030.9421111753116070.528944412344197
260.4488415590402580.8976831180805160.551158440959742
270.4144361118229410.8288722236458830.585563888177059
280.3746763321059630.7493526642119250.625323667894037
290.3385004520729320.6770009041458650.661499547927068
300.3186960597621050.6373921195242110.681303940237895
310.3072718612598270.6145437225196530.692728138740173
320.3053765107420520.6107530214841050.694623489257947
330.2890230785488740.5780461570977480.710976921451126
340.3540210499060230.7080420998120450.645978950093977
350.5568581815040980.8862836369918030.443141818495902
360.805033200516230.3899335989675390.194966799483769
370.8713947747159440.2572104505681120.128605225284056
380.8762642387722060.2474715224555880.123735761227794
390.8659253142152270.2681493715695470.134074685784773
400.8567609965494190.2864780069011620.143239003450581
410.8402144175939530.3195711648120940.159785582406047
420.8279951851435580.3440096297128840.172004814856442
430.8184282967552760.3631434064894480.181571703244724
440.8422955993832810.3154088012334380.157704400616719
450.8670804837071290.2658390325857420.132919516292871
460.8754266205740170.2491467588519670.124573379425983
470.943710664922260.1125786701554820.0562893350777409
480.9747345923126540.05053081537469250.0252654076873463
490.9800601952782430.0398796094435140.019939804721757
500.9707247994019860.05855040119602850.0292752005980142
510.9570224474509880.08595510509802390.0429775525490119
520.9390422765265280.1219154469469440.0609577234734719
530.9039651189313110.1920697621373770.0960348810686886
540.8407845157415350.3184309685169300.159215484258465
550.7451187157549520.5097625684900960.254881284245048
560.73834318361280.52331363277440.2616568163872

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0460302105788377 & 0.0920604211576754 & 0.953969789421162 \tabularnewline
6 & 0.0463665911495413 & 0.0927331822990827 & 0.953633408850459 \tabularnewline
7 & 0.062496826663959 & 0.124993653327918 & 0.937503173336041 \tabularnewline
8 & 0.0913474977837089 & 0.182694995567418 & 0.908652502216291 \tabularnewline
9 & 0.0809252896251607 & 0.161850579250321 & 0.91907471037484 \tabularnewline
10 & 0.134576311093831 & 0.269152622187662 & 0.865423688906169 \tabularnewline
11 & 0.290448795338931 & 0.580897590677862 & 0.709551204661069 \tabularnewline
12 & 0.421120269315010 & 0.842240538630019 & 0.57887973068499 \tabularnewline
13 & 0.401494876386419 & 0.802989752772838 & 0.598505123613581 \tabularnewline
14 & 0.329150402570474 & 0.658300805140949 & 0.670849597429526 \tabularnewline
15 & 0.260577952099264 & 0.521155904198528 & 0.739422047900736 \tabularnewline
16 & 0.205447502968891 & 0.410895005937781 & 0.794552497031109 \tabularnewline
17 & 0.165759267122562 & 0.331518534245124 & 0.834240732877438 \tabularnewline
18 & 0.142476552452936 & 0.284953104905873 & 0.857523447547064 \tabularnewline
19 & 0.137936455813594 & 0.275872911627188 & 0.862063544186406 \tabularnewline
20 & 0.153980350894539 & 0.307960701789078 & 0.846019649105461 \tabularnewline
21 & 0.156742031219734 & 0.313484062439467 & 0.843257968780266 \tabularnewline
22 & 0.174093705050685 & 0.34818741010137 & 0.825906294949315 \tabularnewline
23 & 0.27975057194487 & 0.55950114388974 & 0.72024942805513 \tabularnewline
24 & 0.426292899458063 & 0.852585798916126 & 0.573707100541937 \tabularnewline
25 & 0.471055587655803 & 0.942111175311607 & 0.528944412344197 \tabularnewline
26 & 0.448841559040258 & 0.897683118080516 & 0.551158440959742 \tabularnewline
27 & 0.414436111822941 & 0.828872223645883 & 0.585563888177059 \tabularnewline
28 & 0.374676332105963 & 0.749352664211925 & 0.625323667894037 \tabularnewline
29 & 0.338500452072932 & 0.677000904145865 & 0.661499547927068 \tabularnewline
30 & 0.318696059762105 & 0.637392119524211 & 0.681303940237895 \tabularnewline
31 & 0.307271861259827 & 0.614543722519653 & 0.692728138740173 \tabularnewline
32 & 0.305376510742052 & 0.610753021484105 & 0.694623489257947 \tabularnewline
33 & 0.289023078548874 & 0.578046157097748 & 0.710976921451126 \tabularnewline
34 & 0.354021049906023 & 0.708042099812045 & 0.645978950093977 \tabularnewline
35 & 0.556858181504098 & 0.886283636991803 & 0.443141818495902 \tabularnewline
36 & 0.80503320051623 & 0.389933598967539 & 0.194966799483769 \tabularnewline
37 & 0.871394774715944 & 0.257210450568112 & 0.128605225284056 \tabularnewline
38 & 0.876264238772206 & 0.247471522455588 & 0.123735761227794 \tabularnewline
39 & 0.865925314215227 & 0.268149371569547 & 0.134074685784773 \tabularnewline
40 & 0.856760996549419 & 0.286478006901162 & 0.143239003450581 \tabularnewline
41 & 0.840214417593953 & 0.319571164812094 & 0.159785582406047 \tabularnewline
42 & 0.827995185143558 & 0.344009629712884 & 0.172004814856442 \tabularnewline
43 & 0.818428296755276 & 0.363143406489448 & 0.181571703244724 \tabularnewline
44 & 0.842295599383281 & 0.315408801233438 & 0.157704400616719 \tabularnewline
45 & 0.867080483707129 & 0.265839032585742 & 0.132919516292871 \tabularnewline
46 & 0.875426620574017 & 0.249146758851967 & 0.124573379425983 \tabularnewline
47 & 0.94371066492226 & 0.112578670155482 & 0.0562893350777409 \tabularnewline
48 & 0.974734592312654 & 0.0505308153746925 & 0.0252654076873463 \tabularnewline
49 & 0.980060195278243 & 0.039879609443514 & 0.019939804721757 \tabularnewline
50 & 0.970724799401986 & 0.0585504011960285 & 0.0292752005980142 \tabularnewline
51 & 0.957022447450988 & 0.0859551050980239 & 0.0429775525490119 \tabularnewline
52 & 0.939042276526528 & 0.121915446946944 & 0.0609577234734719 \tabularnewline
53 & 0.903965118931311 & 0.192069762137377 & 0.0960348810686886 \tabularnewline
54 & 0.840784515741535 & 0.318430968516930 & 0.159215484258465 \tabularnewline
55 & 0.745118715754952 & 0.509762568490096 & 0.254881284245048 \tabularnewline
56 & 0.7383431836128 & 0.5233136327744 & 0.2616568163872 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25687&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.0460302105788377[/C][C]0.0920604211576754[/C][C]0.953969789421162[/C][/ROW]
[ROW][C]6[/C][C]0.0463665911495413[/C][C]0.0927331822990827[/C][C]0.953633408850459[/C][/ROW]
[ROW][C]7[/C][C]0.062496826663959[/C][C]0.124993653327918[/C][C]0.937503173336041[/C][/ROW]
[ROW][C]8[/C][C]0.0913474977837089[/C][C]0.182694995567418[/C][C]0.908652502216291[/C][/ROW]
[ROW][C]9[/C][C]0.0809252896251607[/C][C]0.161850579250321[/C][C]0.91907471037484[/C][/ROW]
[ROW][C]10[/C][C]0.134576311093831[/C][C]0.269152622187662[/C][C]0.865423688906169[/C][/ROW]
[ROW][C]11[/C][C]0.290448795338931[/C][C]0.580897590677862[/C][C]0.709551204661069[/C][/ROW]
[ROW][C]12[/C][C]0.421120269315010[/C][C]0.842240538630019[/C][C]0.57887973068499[/C][/ROW]
[ROW][C]13[/C][C]0.401494876386419[/C][C]0.802989752772838[/C][C]0.598505123613581[/C][/ROW]
[ROW][C]14[/C][C]0.329150402570474[/C][C]0.658300805140949[/C][C]0.670849597429526[/C][/ROW]
[ROW][C]15[/C][C]0.260577952099264[/C][C]0.521155904198528[/C][C]0.739422047900736[/C][/ROW]
[ROW][C]16[/C][C]0.205447502968891[/C][C]0.410895005937781[/C][C]0.794552497031109[/C][/ROW]
[ROW][C]17[/C][C]0.165759267122562[/C][C]0.331518534245124[/C][C]0.834240732877438[/C][/ROW]
[ROW][C]18[/C][C]0.142476552452936[/C][C]0.284953104905873[/C][C]0.857523447547064[/C][/ROW]
[ROW][C]19[/C][C]0.137936455813594[/C][C]0.275872911627188[/C][C]0.862063544186406[/C][/ROW]
[ROW][C]20[/C][C]0.153980350894539[/C][C]0.307960701789078[/C][C]0.846019649105461[/C][/ROW]
[ROW][C]21[/C][C]0.156742031219734[/C][C]0.313484062439467[/C][C]0.843257968780266[/C][/ROW]
[ROW][C]22[/C][C]0.174093705050685[/C][C]0.34818741010137[/C][C]0.825906294949315[/C][/ROW]
[ROW][C]23[/C][C]0.27975057194487[/C][C]0.55950114388974[/C][C]0.72024942805513[/C][/ROW]
[ROW][C]24[/C][C]0.426292899458063[/C][C]0.852585798916126[/C][C]0.573707100541937[/C][/ROW]
[ROW][C]25[/C][C]0.471055587655803[/C][C]0.942111175311607[/C][C]0.528944412344197[/C][/ROW]
[ROW][C]26[/C][C]0.448841559040258[/C][C]0.897683118080516[/C][C]0.551158440959742[/C][/ROW]
[ROW][C]27[/C][C]0.414436111822941[/C][C]0.828872223645883[/C][C]0.585563888177059[/C][/ROW]
[ROW][C]28[/C][C]0.374676332105963[/C][C]0.749352664211925[/C][C]0.625323667894037[/C][/ROW]
[ROW][C]29[/C][C]0.338500452072932[/C][C]0.677000904145865[/C][C]0.661499547927068[/C][/ROW]
[ROW][C]30[/C][C]0.318696059762105[/C][C]0.637392119524211[/C][C]0.681303940237895[/C][/ROW]
[ROW][C]31[/C][C]0.307271861259827[/C][C]0.614543722519653[/C][C]0.692728138740173[/C][/ROW]
[ROW][C]32[/C][C]0.305376510742052[/C][C]0.610753021484105[/C][C]0.694623489257947[/C][/ROW]
[ROW][C]33[/C][C]0.289023078548874[/C][C]0.578046157097748[/C][C]0.710976921451126[/C][/ROW]
[ROW][C]34[/C][C]0.354021049906023[/C][C]0.708042099812045[/C][C]0.645978950093977[/C][/ROW]
[ROW][C]35[/C][C]0.556858181504098[/C][C]0.886283636991803[/C][C]0.443141818495902[/C][/ROW]
[ROW][C]36[/C][C]0.80503320051623[/C][C]0.389933598967539[/C][C]0.194966799483769[/C][/ROW]
[ROW][C]37[/C][C]0.871394774715944[/C][C]0.257210450568112[/C][C]0.128605225284056[/C][/ROW]
[ROW][C]38[/C][C]0.876264238772206[/C][C]0.247471522455588[/C][C]0.123735761227794[/C][/ROW]
[ROW][C]39[/C][C]0.865925314215227[/C][C]0.268149371569547[/C][C]0.134074685784773[/C][/ROW]
[ROW][C]40[/C][C]0.856760996549419[/C][C]0.286478006901162[/C][C]0.143239003450581[/C][/ROW]
[ROW][C]41[/C][C]0.840214417593953[/C][C]0.319571164812094[/C][C]0.159785582406047[/C][/ROW]
[ROW][C]42[/C][C]0.827995185143558[/C][C]0.344009629712884[/C][C]0.172004814856442[/C][/ROW]
[ROW][C]43[/C][C]0.818428296755276[/C][C]0.363143406489448[/C][C]0.181571703244724[/C][/ROW]
[ROW][C]44[/C][C]0.842295599383281[/C][C]0.315408801233438[/C][C]0.157704400616719[/C][/ROW]
[ROW][C]45[/C][C]0.867080483707129[/C][C]0.265839032585742[/C][C]0.132919516292871[/C][/ROW]
[ROW][C]46[/C][C]0.875426620574017[/C][C]0.249146758851967[/C][C]0.124573379425983[/C][/ROW]
[ROW][C]47[/C][C]0.94371066492226[/C][C]0.112578670155482[/C][C]0.0562893350777409[/C][/ROW]
[ROW][C]48[/C][C]0.974734592312654[/C][C]0.0505308153746925[/C][C]0.0252654076873463[/C][/ROW]
[ROW][C]49[/C][C]0.980060195278243[/C][C]0.039879609443514[/C][C]0.019939804721757[/C][/ROW]
[ROW][C]50[/C][C]0.970724799401986[/C][C]0.0585504011960285[/C][C]0.0292752005980142[/C][/ROW]
[ROW][C]51[/C][C]0.957022447450988[/C][C]0.0859551050980239[/C][C]0.0429775525490119[/C][/ROW]
[ROW][C]52[/C][C]0.939042276526528[/C][C]0.121915446946944[/C][C]0.0609577234734719[/C][/ROW]
[ROW][C]53[/C][C]0.903965118931311[/C][C]0.192069762137377[/C][C]0.0960348810686886[/C][/ROW]
[ROW][C]54[/C][C]0.840784515741535[/C][C]0.318430968516930[/C][C]0.159215484258465[/C][/ROW]
[ROW][C]55[/C][C]0.745118715754952[/C][C]0.509762568490096[/C][C]0.254881284245048[/C][/ROW]
[ROW][C]56[/C][C]0.7383431836128[/C][C]0.5233136327744[/C][C]0.2616568163872[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25687&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25687&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.04603021057883770.09206042115767540.953969789421162
60.04636659114954130.09273318229908270.953633408850459
70.0624968266639590.1249936533279180.937503173336041
80.09134749778370890.1826949955674180.908652502216291
90.08092528962516070.1618505792503210.91907471037484
100.1345763110938310.2691526221876620.865423688906169
110.2904487953389310.5808975906778620.709551204661069
120.4211202693150100.8422405386300190.57887973068499
130.4014948763864190.8029897527728380.598505123613581
140.3291504025704740.6583008051409490.670849597429526
150.2605779520992640.5211559041985280.739422047900736
160.2054475029688910.4108950059377810.794552497031109
170.1657592671225620.3315185342451240.834240732877438
180.1424765524529360.2849531049058730.857523447547064
190.1379364558135940.2758729116271880.862063544186406
200.1539803508945390.3079607017890780.846019649105461
210.1567420312197340.3134840624394670.843257968780266
220.1740937050506850.348187410101370.825906294949315
230.279750571944870.559501143889740.72024942805513
240.4262928994580630.8525857989161260.573707100541937
250.4710555876558030.9421111753116070.528944412344197
260.4488415590402580.8976831180805160.551158440959742
270.4144361118229410.8288722236458830.585563888177059
280.3746763321059630.7493526642119250.625323667894037
290.3385004520729320.6770009041458650.661499547927068
300.3186960597621050.6373921195242110.681303940237895
310.3072718612598270.6145437225196530.692728138740173
320.3053765107420520.6107530214841050.694623489257947
330.2890230785488740.5780461570977480.710976921451126
340.3540210499060230.7080420998120450.645978950093977
350.5568581815040980.8862836369918030.443141818495902
360.805033200516230.3899335989675390.194966799483769
370.8713947747159440.2572104505681120.128605225284056
380.8762642387722060.2474715224555880.123735761227794
390.8659253142152270.2681493715695470.134074685784773
400.8567609965494190.2864780069011620.143239003450581
410.8402144175939530.3195711648120940.159785582406047
420.8279951851435580.3440096297128840.172004814856442
430.8184282967552760.3631434064894480.181571703244724
440.8422955993832810.3154088012334380.157704400616719
450.8670804837071290.2658390325857420.132919516292871
460.8754266205740170.2491467588519670.124573379425983
470.943710664922260.1125786701554820.0562893350777409
480.9747345923126540.05053081537469250.0252654076873463
490.9800601952782430.0398796094435140.019939804721757
500.9707247994019860.05855040119602850.0292752005980142
510.9570224474509880.08595510509802390.0429775525490119
520.9390422765265280.1219154469469440.0609577234734719
530.9039651189313110.1920697621373770.0960348810686886
540.8407845157415350.3184309685169300.159215484258465
550.7451187157549520.5097625684900960.254881284245048
560.73834318361280.52331363277440.2616568163872







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

\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 & 1 & 0.0192307692307692 & OK \tabularnewline
10% type I error level & 6 & 0.115384615384615 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25687&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]1[/C][C]0.0192307692307692[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]6[/C][C]0.115384615384615[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25687&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25687&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 level10.0192307692307692OK
10% type I error level60.115384615384615NOK



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')
}