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 computationMon, 22 Dec 2008 04:38:40 -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/Dec/22/t1229945959o2pj6i59hicewi0.htm/, Retrieved Mon, 29 Apr 2024 12:01:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=36012, Retrieved Mon, 29 Apr 2024 12:01:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact235
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
F    D  [Multiple Regression] [The Seatbelt Law ...] [2008-11-15 12:00:57] [93834488277b53a4510bfd06084ae13b]
-   PD    [Multiple Regression] [] [2008-11-15 18:50:27] [93834488277b53a4510bfd06084ae13b]
-    D      [Multiple Regression] [Paper - Multiple ...] [2008-12-21 14:45:31] [85841a4a203c2f9589565c024425a91b]
-   PD        [Multiple Regression] [Paper - Multiple ...] [2008-12-21 15:09:11] [85841a4a203c2f9589565c024425a91b]
- R  D            [Multiple Regression] [Paper - Multiple ...] [2008-12-22 11:38:40] [07b7cf1321bc38017c2c7efcf91ca696] [Current]
Feedback Forum

Post a new message
Dataseries X:
127.96	0
127.47	0
126.47	0
125.75	0
125.42	0
125.14	0
125.15	0
125.51	0
125.63	0
126.22	0
126.88	0
127.96	0
128.74	0
129.6	0
131.2	0
132.72	0
134.67	0
135.94	0
136.39	0
136.74	0
137.2	0
137.36	0
138.63	0
141.07	0
143.32	0
147.91	0
152.56	0
151.61	0
156.56	0
157.45	0
158.13	0
159.18	0
159.47	0
159.79	0
161.65	0
162.77	0
163.48	0
166.16	0
163.86	0
162.12	0
149.08	0
145.32	0
141.21	0
134.68	0
133.65	0
139.17	0
138.61	0
144.96	1
157.99	1
167.18	1
174.48	1
182.77	1
190.00	1
189.70	1
188.90	1
198.28	1
201.18	1
204.14	1
221.02	1
221.12	1
220.68	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 7 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36012&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36012&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36012&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 time7 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Gasindex[t] = + 139.980708860760 + 48.9882278481013dumivariable[t] + 0.718215189873432M1[t] -2.11435443037975M2[t] -0.0643544303797487M3[t] + 1.21564556962026M4[t] + 1.36764556962025M5[t] + 0.931645569620248M6[t] + 0.177645569620252M7[t] + 1.09964556962026M8[t] + 1.64764556962025M9[t] + 3.55764556962025M10[t] + 7.57964556962026M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Gasindex[t] =  +  139.980708860760 +  48.9882278481013dumivariable[t] +  0.718215189873432M1[t] -2.11435443037975M2[t] -0.0643544303797487M3[t] +  1.21564556962026M4[t] +  1.36764556962025M5[t] +  0.931645569620248M6[t] +  0.177645569620252M7[t] +  1.09964556962026M8[t] +  1.64764556962025M9[t] +  3.55764556962025M10[t] +  7.57964556962026M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36012&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Gasindex[t] =  +  139.980708860760 +  48.9882278481013dumivariable[t] +  0.718215189873432M1[t] -2.11435443037975M2[t] -0.0643544303797487M3[t] +  1.21564556962026M4[t] +  1.36764556962025M5[t] +  0.931645569620248M6[t] +  0.177645569620252M7[t] +  1.09964556962026M8[t] +  1.64764556962025M9[t] +  3.55764556962025M10[t] +  7.57964556962026M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36012&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36012&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
Gasindex[t] = + 139.980708860760 + 48.9882278481013dumivariable[t] + 0.718215189873432M1[t] -2.11435443037975M2[t] -0.0643544303797487M3[t] + 1.21564556962026M4[t] + 1.36764556962025M5[t] + 0.931645569620248M6[t] + 0.177645569620252M7[t] + 1.09964556962026M8[t] + 1.64764556962025M9[t] + 3.55764556962025M10[t] + 7.57964556962026M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)139.9807088607608.29110616.883200
dumivariable48.98822784810135.5070458.895600
M10.71821518987343210.8289660.06630.9473960.473698
M2-2.1143544303797511.357516-0.18620.8531010.426551
M3-0.064354430379748711.357516-0.00570.9955030.497751
M41.2156455696202611.3575160.1070.9152080.457604
M51.3676455696202511.3575160.12040.9046550.452327
M60.93164556962024811.3575160.0820.9349650.467482
M70.17764556962025211.3575160.01560.9875850.493793
M81.0996455696202611.3575160.09680.9232720.461636
M91.6476455696202511.3575160.14510.8852620.442631
M103.5576455696202511.3575160.31320.7554540.377727
M117.5796455696202611.3575160.66740.5077330.253866

\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) & 139.980708860760 & 8.291106 & 16.8832 & 0 & 0 \tabularnewline
dumivariable & 48.9882278481013 & 5.507045 & 8.8956 & 0 & 0 \tabularnewline
M1 & 0.718215189873432 & 10.828966 & 0.0663 & 0.947396 & 0.473698 \tabularnewline
M2 & -2.11435443037975 & 11.357516 & -0.1862 & 0.853101 & 0.426551 \tabularnewline
M3 & -0.0643544303797487 & 11.357516 & -0.0057 & 0.995503 & 0.497751 \tabularnewline
M4 & 1.21564556962026 & 11.357516 & 0.107 & 0.915208 & 0.457604 \tabularnewline
M5 & 1.36764556962025 & 11.357516 & 0.1204 & 0.904655 & 0.452327 \tabularnewline
M6 & 0.931645569620248 & 11.357516 & 0.082 & 0.934965 & 0.467482 \tabularnewline
M7 & 0.177645569620252 & 11.357516 & 0.0156 & 0.987585 & 0.493793 \tabularnewline
M8 & 1.09964556962026 & 11.357516 & 0.0968 & 0.923272 & 0.461636 \tabularnewline
M9 & 1.64764556962025 & 11.357516 & 0.1451 & 0.885262 & 0.442631 \tabularnewline
M10 & 3.55764556962025 & 11.357516 & 0.3132 & 0.755454 & 0.377727 \tabularnewline
M11 & 7.57964556962026 & 11.357516 & 0.6674 & 0.507733 & 0.253866 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36012&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]139.980708860760[/C][C]8.291106[/C][C]16.8832[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dumivariable[/C][C]48.9882278481013[/C][C]5.507045[/C][C]8.8956[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.718215189873432[/C][C]10.828966[/C][C]0.0663[/C][C]0.947396[/C][C]0.473698[/C][/ROW]
[ROW][C]M2[/C][C]-2.11435443037975[/C][C]11.357516[/C][C]-0.1862[/C][C]0.853101[/C][C]0.426551[/C][/ROW]
[ROW][C]M3[/C][C]-0.0643544303797487[/C][C]11.357516[/C][C]-0.0057[/C][C]0.995503[/C][C]0.497751[/C][/ROW]
[ROW][C]M4[/C][C]1.21564556962026[/C][C]11.357516[/C][C]0.107[/C][C]0.915208[/C][C]0.457604[/C][/ROW]
[ROW][C]M5[/C][C]1.36764556962025[/C][C]11.357516[/C][C]0.1204[/C][C]0.904655[/C][C]0.452327[/C][/ROW]
[ROW][C]M6[/C][C]0.931645569620248[/C][C]11.357516[/C][C]0.082[/C][C]0.934965[/C][C]0.467482[/C][/ROW]
[ROW][C]M7[/C][C]0.177645569620252[/C][C]11.357516[/C][C]0.0156[/C][C]0.987585[/C][C]0.493793[/C][/ROW]
[ROW][C]M8[/C][C]1.09964556962026[/C][C]11.357516[/C][C]0.0968[/C][C]0.923272[/C][C]0.461636[/C][/ROW]
[ROW][C]M9[/C][C]1.64764556962025[/C][C]11.357516[/C][C]0.1451[/C][C]0.885262[/C][C]0.442631[/C][/ROW]
[ROW][C]M10[/C][C]3.55764556962025[/C][C]11.357516[/C][C]0.3132[/C][C]0.755454[/C][C]0.377727[/C][/ROW]
[ROW][C]M11[/C][C]7.57964556962026[/C][C]11.357516[/C][C]0.6674[/C][C]0.507733[/C][C]0.253866[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36012&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36012&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)139.9807088607608.29110616.883200
dumivariable48.98822784810135.5070458.895600
M10.71821518987343210.8289660.06630.9473960.473698
M2-2.1143544303797511.357516-0.18620.8531010.426551
M3-0.064354430379748711.357516-0.00570.9955030.497751
M41.2156455696202611.3575160.1070.9152080.457604
M51.3676455696202511.3575160.12040.9046550.452327
M60.93164556962024811.3575160.0820.9349650.467482
M70.17764556962025211.3575160.01560.9875850.493793
M81.0996455696202611.3575160.09680.9232720.461636
M91.6476455696202511.3575160.14510.8852620.442631
M103.5576455696202511.3575160.31320.7554540.377727
M117.5796455696202611.3575160.66740.5077330.253866







Multiple Linear Regression - Regression Statistics
Multiple R0.793206893209096
R-squared0.629177175434427
Adjusted R-squared0.536471469293034
F-TEST (value)6.78682253360776
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value6.04391812597527e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.8731684436086
Sum Squared Residuals15333.6072102532

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.793206893209096 \tabularnewline
R-squared & 0.629177175434427 \tabularnewline
Adjusted R-squared & 0.536471469293034 \tabularnewline
F-TEST (value) & 6.78682253360776 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 6.04391812597527e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 17.8731684436086 \tabularnewline
Sum Squared Residuals & 15333.6072102532 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36012&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.793206893209096[/C][/ROW]
[ROW][C]R-squared[/C][C]0.629177175434427[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.536471469293034[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.78682253360776[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]6.04391812597527e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]17.8731684436086[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15333.6072102532[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36012&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36012&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.793206893209096
R-squared0.629177175434427
Adjusted R-squared0.536471469293034
F-TEST (value)6.78682253360776
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value6.04391812597527e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.8731684436086
Sum Squared Residuals15333.6072102532







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1127.96140.698924050633-12.7389240506328
2127.47137.866354430380-10.3963544303798
3126.47139.916354430380-13.4463544303797
4125.75141.196354430380-15.4463544303798
5125.42141.348354430380-15.9283544303797
6125.14140.912354430380-15.7723544303797
7125.15140.158354430380-15.0083544303797
8125.51141.080354430380-15.5703544303797
9125.63141.628354430380-15.9983544303798
10126.22143.538354430380-17.3183544303797
11126.88147.560354430380-20.6803544303798
12127.96139.980708860760-12.0207088607595
13128.74140.698924050633-11.9589240506329
14129.6137.866354430380-8.26635443037975
15131.2139.916354430380-8.71635443037976
16132.72141.196354430380-8.47635443037975
17134.67141.348354430380-6.67835443037976
18135.94140.912354430380-4.97235443037974
19136.39140.158354430380-3.76835443037976
20136.74141.080354430380-4.34035443037974
21137.2141.628354430380-4.42835443037976
22137.36143.538354430380-6.17835443037973
23138.63147.560354430380-8.93035443037975
24141.07139.9807088607601.0892911392405
25143.32140.6989240506332.62107594936707
26147.91137.86635443038010.0436455696203
27152.56139.91635443038012.6436455696203
28151.61141.19635443038010.4136455696203
29156.56141.34835443038015.2116455696203
30157.45140.91235443038016.5376455696203
31158.13140.15835443038017.9716455696203
32159.18141.08035443038018.0996455696203
33159.47141.62835443038017.8416455696203
34159.79143.53835443038016.2516455696203
35161.65147.56035443038014.0896455696203
36162.77139.98070886075922.7892911392405
37163.48140.69892405063322.7810759493671
38166.16137.86635443038028.2936455696203
39163.86139.91635443038023.9436455696203
40162.12141.19635443038020.9236455696203
41149.08141.3483544303807.73164556962026
42145.32140.9123544303804.40764556962025
43141.21140.1583544303801.05164556962026
44134.68141.080354430380-6.40035443037975
45133.65141.628354430380-7.97835443037974
46139.17143.538354430380-4.36835443037976
47138.61147.560354430380-8.95035443037973
48144.96188.968936708861-44.0089367088608
49157.99189.687151898734-31.6971518987342
50167.18186.854582278481-19.674582278481
51174.48188.904582278481-14.4245822784810
52182.77190.184582278481-7.414582278481
53190190.336582278481-0.336582278481011
54189.7189.900582278481-0.200582278481015
55188.9189.146582278481-0.246582278481004
56198.28190.0685822784818.21141772151898
57201.18190.61658227848110.563417721519
58204.14192.52658227848111.6134177215190
59221.02196.54858227848124.471417721519
60221.12188.96893670886132.1510632911392
61220.68189.68715189873430.9928481012658

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 127.96 & 140.698924050633 & -12.7389240506328 \tabularnewline
2 & 127.47 & 137.866354430380 & -10.3963544303798 \tabularnewline
3 & 126.47 & 139.916354430380 & -13.4463544303797 \tabularnewline
4 & 125.75 & 141.196354430380 & -15.4463544303798 \tabularnewline
5 & 125.42 & 141.348354430380 & -15.9283544303797 \tabularnewline
6 & 125.14 & 140.912354430380 & -15.7723544303797 \tabularnewline
7 & 125.15 & 140.158354430380 & -15.0083544303797 \tabularnewline
8 & 125.51 & 141.080354430380 & -15.5703544303797 \tabularnewline
9 & 125.63 & 141.628354430380 & -15.9983544303798 \tabularnewline
10 & 126.22 & 143.538354430380 & -17.3183544303797 \tabularnewline
11 & 126.88 & 147.560354430380 & -20.6803544303798 \tabularnewline
12 & 127.96 & 139.980708860760 & -12.0207088607595 \tabularnewline
13 & 128.74 & 140.698924050633 & -11.9589240506329 \tabularnewline
14 & 129.6 & 137.866354430380 & -8.26635443037975 \tabularnewline
15 & 131.2 & 139.916354430380 & -8.71635443037976 \tabularnewline
16 & 132.72 & 141.196354430380 & -8.47635443037975 \tabularnewline
17 & 134.67 & 141.348354430380 & -6.67835443037976 \tabularnewline
18 & 135.94 & 140.912354430380 & -4.97235443037974 \tabularnewline
19 & 136.39 & 140.158354430380 & -3.76835443037976 \tabularnewline
20 & 136.74 & 141.080354430380 & -4.34035443037974 \tabularnewline
21 & 137.2 & 141.628354430380 & -4.42835443037976 \tabularnewline
22 & 137.36 & 143.538354430380 & -6.17835443037973 \tabularnewline
23 & 138.63 & 147.560354430380 & -8.93035443037975 \tabularnewline
24 & 141.07 & 139.980708860760 & 1.0892911392405 \tabularnewline
25 & 143.32 & 140.698924050633 & 2.62107594936707 \tabularnewline
26 & 147.91 & 137.866354430380 & 10.0436455696203 \tabularnewline
27 & 152.56 & 139.916354430380 & 12.6436455696203 \tabularnewline
28 & 151.61 & 141.196354430380 & 10.4136455696203 \tabularnewline
29 & 156.56 & 141.348354430380 & 15.2116455696203 \tabularnewline
30 & 157.45 & 140.912354430380 & 16.5376455696203 \tabularnewline
31 & 158.13 & 140.158354430380 & 17.9716455696203 \tabularnewline
32 & 159.18 & 141.080354430380 & 18.0996455696203 \tabularnewline
33 & 159.47 & 141.628354430380 & 17.8416455696203 \tabularnewline
34 & 159.79 & 143.538354430380 & 16.2516455696203 \tabularnewline
35 & 161.65 & 147.560354430380 & 14.0896455696203 \tabularnewline
36 & 162.77 & 139.980708860759 & 22.7892911392405 \tabularnewline
37 & 163.48 & 140.698924050633 & 22.7810759493671 \tabularnewline
38 & 166.16 & 137.866354430380 & 28.2936455696203 \tabularnewline
39 & 163.86 & 139.916354430380 & 23.9436455696203 \tabularnewline
40 & 162.12 & 141.196354430380 & 20.9236455696203 \tabularnewline
41 & 149.08 & 141.348354430380 & 7.73164556962026 \tabularnewline
42 & 145.32 & 140.912354430380 & 4.40764556962025 \tabularnewline
43 & 141.21 & 140.158354430380 & 1.05164556962026 \tabularnewline
44 & 134.68 & 141.080354430380 & -6.40035443037975 \tabularnewline
45 & 133.65 & 141.628354430380 & -7.97835443037974 \tabularnewline
46 & 139.17 & 143.538354430380 & -4.36835443037976 \tabularnewline
47 & 138.61 & 147.560354430380 & -8.95035443037973 \tabularnewline
48 & 144.96 & 188.968936708861 & -44.0089367088608 \tabularnewline
49 & 157.99 & 189.687151898734 & -31.6971518987342 \tabularnewline
50 & 167.18 & 186.854582278481 & -19.674582278481 \tabularnewline
51 & 174.48 & 188.904582278481 & -14.4245822784810 \tabularnewline
52 & 182.77 & 190.184582278481 & -7.414582278481 \tabularnewline
53 & 190 & 190.336582278481 & -0.336582278481011 \tabularnewline
54 & 189.7 & 189.900582278481 & -0.200582278481015 \tabularnewline
55 & 188.9 & 189.146582278481 & -0.246582278481004 \tabularnewline
56 & 198.28 & 190.068582278481 & 8.21141772151898 \tabularnewline
57 & 201.18 & 190.616582278481 & 10.563417721519 \tabularnewline
58 & 204.14 & 192.526582278481 & 11.6134177215190 \tabularnewline
59 & 221.02 & 196.548582278481 & 24.471417721519 \tabularnewline
60 & 221.12 & 188.968936708861 & 32.1510632911392 \tabularnewline
61 & 220.68 & 189.687151898734 & 30.9928481012658 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36012&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]127.96[/C][C]140.698924050633[/C][C]-12.7389240506328[/C][/ROW]
[ROW][C]2[/C][C]127.47[/C][C]137.866354430380[/C][C]-10.3963544303798[/C][/ROW]
[ROW][C]3[/C][C]126.47[/C][C]139.916354430380[/C][C]-13.4463544303797[/C][/ROW]
[ROW][C]4[/C][C]125.75[/C][C]141.196354430380[/C][C]-15.4463544303798[/C][/ROW]
[ROW][C]5[/C][C]125.42[/C][C]141.348354430380[/C][C]-15.9283544303797[/C][/ROW]
[ROW][C]6[/C][C]125.14[/C][C]140.912354430380[/C][C]-15.7723544303797[/C][/ROW]
[ROW][C]7[/C][C]125.15[/C][C]140.158354430380[/C][C]-15.0083544303797[/C][/ROW]
[ROW][C]8[/C][C]125.51[/C][C]141.080354430380[/C][C]-15.5703544303797[/C][/ROW]
[ROW][C]9[/C][C]125.63[/C][C]141.628354430380[/C][C]-15.9983544303798[/C][/ROW]
[ROW][C]10[/C][C]126.22[/C][C]143.538354430380[/C][C]-17.3183544303797[/C][/ROW]
[ROW][C]11[/C][C]126.88[/C][C]147.560354430380[/C][C]-20.6803544303798[/C][/ROW]
[ROW][C]12[/C][C]127.96[/C][C]139.980708860760[/C][C]-12.0207088607595[/C][/ROW]
[ROW][C]13[/C][C]128.74[/C][C]140.698924050633[/C][C]-11.9589240506329[/C][/ROW]
[ROW][C]14[/C][C]129.6[/C][C]137.866354430380[/C][C]-8.26635443037975[/C][/ROW]
[ROW][C]15[/C][C]131.2[/C][C]139.916354430380[/C][C]-8.71635443037976[/C][/ROW]
[ROW][C]16[/C][C]132.72[/C][C]141.196354430380[/C][C]-8.47635443037975[/C][/ROW]
[ROW][C]17[/C][C]134.67[/C][C]141.348354430380[/C][C]-6.67835443037976[/C][/ROW]
[ROW][C]18[/C][C]135.94[/C][C]140.912354430380[/C][C]-4.97235443037974[/C][/ROW]
[ROW][C]19[/C][C]136.39[/C][C]140.158354430380[/C][C]-3.76835443037976[/C][/ROW]
[ROW][C]20[/C][C]136.74[/C][C]141.080354430380[/C][C]-4.34035443037974[/C][/ROW]
[ROW][C]21[/C][C]137.2[/C][C]141.628354430380[/C][C]-4.42835443037976[/C][/ROW]
[ROW][C]22[/C][C]137.36[/C][C]143.538354430380[/C][C]-6.17835443037973[/C][/ROW]
[ROW][C]23[/C][C]138.63[/C][C]147.560354430380[/C][C]-8.93035443037975[/C][/ROW]
[ROW][C]24[/C][C]141.07[/C][C]139.980708860760[/C][C]1.0892911392405[/C][/ROW]
[ROW][C]25[/C][C]143.32[/C][C]140.698924050633[/C][C]2.62107594936707[/C][/ROW]
[ROW][C]26[/C][C]147.91[/C][C]137.866354430380[/C][C]10.0436455696203[/C][/ROW]
[ROW][C]27[/C][C]152.56[/C][C]139.916354430380[/C][C]12.6436455696203[/C][/ROW]
[ROW][C]28[/C][C]151.61[/C][C]141.196354430380[/C][C]10.4136455696203[/C][/ROW]
[ROW][C]29[/C][C]156.56[/C][C]141.348354430380[/C][C]15.2116455696203[/C][/ROW]
[ROW][C]30[/C][C]157.45[/C][C]140.912354430380[/C][C]16.5376455696203[/C][/ROW]
[ROW][C]31[/C][C]158.13[/C][C]140.158354430380[/C][C]17.9716455696203[/C][/ROW]
[ROW][C]32[/C][C]159.18[/C][C]141.080354430380[/C][C]18.0996455696203[/C][/ROW]
[ROW][C]33[/C][C]159.47[/C][C]141.628354430380[/C][C]17.8416455696203[/C][/ROW]
[ROW][C]34[/C][C]159.79[/C][C]143.538354430380[/C][C]16.2516455696203[/C][/ROW]
[ROW][C]35[/C][C]161.65[/C][C]147.560354430380[/C][C]14.0896455696203[/C][/ROW]
[ROW][C]36[/C][C]162.77[/C][C]139.980708860759[/C][C]22.7892911392405[/C][/ROW]
[ROW][C]37[/C][C]163.48[/C][C]140.698924050633[/C][C]22.7810759493671[/C][/ROW]
[ROW][C]38[/C][C]166.16[/C][C]137.866354430380[/C][C]28.2936455696203[/C][/ROW]
[ROW][C]39[/C][C]163.86[/C][C]139.916354430380[/C][C]23.9436455696203[/C][/ROW]
[ROW][C]40[/C][C]162.12[/C][C]141.196354430380[/C][C]20.9236455696203[/C][/ROW]
[ROW][C]41[/C][C]149.08[/C][C]141.348354430380[/C][C]7.73164556962026[/C][/ROW]
[ROW][C]42[/C][C]145.32[/C][C]140.912354430380[/C][C]4.40764556962025[/C][/ROW]
[ROW][C]43[/C][C]141.21[/C][C]140.158354430380[/C][C]1.05164556962026[/C][/ROW]
[ROW][C]44[/C][C]134.68[/C][C]141.080354430380[/C][C]-6.40035443037975[/C][/ROW]
[ROW][C]45[/C][C]133.65[/C][C]141.628354430380[/C][C]-7.97835443037974[/C][/ROW]
[ROW][C]46[/C][C]139.17[/C][C]143.538354430380[/C][C]-4.36835443037976[/C][/ROW]
[ROW][C]47[/C][C]138.61[/C][C]147.560354430380[/C][C]-8.95035443037973[/C][/ROW]
[ROW][C]48[/C][C]144.96[/C][C]188.968936708861[/C][C]-44.0089367088608[/C][/ROW]
[ROW][C]49[/C][C]157.99[/C][C]189.687151898734[/C][C]-31.6971518987342[/C][/ROW]
[ROW][C]50[/C][C]167.18[/C][C]186.854582278481[/C][C]-19.674582278481[/C][/ROW]
[ROW][C]51[/C][C]174.48[/C][C]188.904582278481[/C][C]-14.4245822784810[/C][/ROW]
[ROW][C]52[/C][C]182.77[/C][C]190.184582278481[/C][C]-7.414582278481[/C][/ROW]
[ROW][C]53[/C][C]190[/C][C]190.336582278481[/C][C]-0.336582278481011[/C][/ROW]
[ROW][C]54[/C][C]189.7[/C][C]189.900582278481[/C][C]-0.200582278481015[/C][/ROW]
[ROW][C]55[/C][C]188.9[/C][C]189.146582278481[/C][C]-0.246582278481004[/C][/ROW]
[ROW][C]56[/C][C]198.28[/C][C]190.068582278481[/C][C]8.21141772151898[/C][/ROW]
[ROW][C]57[/C][C]201.18[/C][C]190.616582278481[/C][C]10.563417721519[/C][/ROW]
[ROW][C]58[/C][C]204.14[/C][C]192.526582278481[/C][C]11.6134177215190[/C][/ROW]
[ROW][C]59[/C][C]221.02[/C][C]196.548582278481[/C][C]24.471417721519[/C][/ROW]
[ROW][C]60[/C][C]221.12[/C][C]188.968936708861[/C][C]32.1510632911392[/C][/ROW]
[ROW][C]61[/C][C]220.68[/C][C]189.687151898734[/C][C]30.9928481012658[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36012&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36012&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
1127.96140.698924050633-12.7389240506328
2127.47137.866354430380-10.3963544303798
3126.47139.916354430380-13.4463544303797
4125.75141.196354430380-15.4463544303798
5125.42141.348354430380-15.9283544303797
6125.14140.912354430380-15.7723544303797
7125.15140.158354430380-15.0083544303797
8125.51141.080354430380-15.5703544303797
9125.63141.628354430380-15.9983544303798
10126.22143.538354430380-17.3183544303797
11126.88147.560354430380-20.6803544303798
12127.96139.980708860760-12.0207088607595
13128.74140.698924050633-11.9589240506329
14129.6137.866354430380-8.26635443037975
15131.2139.916354430380-8.71635443037976
16132.72141.196354430380-8.47635443037975
17134.67141.348354430380-6.67835443037976
18135.94140.912354430380-4.97235443037974
19136.39140.158354430380-3.76835443037976
20136.74141.080354430380-4.34035443037974
21137.2141.628354430380-4.42835443037976
22137.36143.538354430380-6.17835443037973
23138.63147.560354430380-8.93035443037975
24141.07139.9807088607601.0892911392405
25143.32140.6989240506332.62107594936707
26147.91137.86635443038010.0436455696203
27152.56139.91635443038012.6436455696203
28151.61141.19635443038010.4136455696203
29156.56141.34835443038015.2116455696203
30157.45140.91235443038016.5376455696203
31158.13140.15835443038017.9716455696203
32159.18141.08035443038018.0996455696203
33159.47141.62835443038017.8416455696203
34159.79143.53835443038016.2516455696203
35161.65147.56035443038014.0896455696203
36162.77139.98070886075922.7892911392405
37163.48140.69892405063322.7810759493671
38166.16137.86635443038028.2936455696203
39163.86139.91635443038023.9436455696203
40162.12141.19635443038020.9236455696203
41149.08141.3483544303807.73164556962026
42145.32140.9123544303804.40764556962025
43141.21140.1583544303801.05164556962026
44134.68141.080354430380-6.40035443037975
45133.65141.628354430380-7.97835443037974
46139.17143.538354430380-4.36835443037976
47138.61147.560354430380-8.95035443037973
48144.96188.968936708861-44.0089367088608
49157.99189.687151898734-31.6971518987342
50167.18186.854582278481-19.674582278481
51174.48188.904582278481-14.4245822784810
52182.77190.184582278481-7.414582278481
53190190.336582278481-0.336582278481011
54189.7189.900582278481-0.200582278481015
55188.9189.146582278481-0.246582278481004
56198.28190.0685822784818.21141772151898
57201.18190.61658227848110.563417721519
58204.14192.52658227848111.6134177215190
59221.02196.54858227848124.471417721519
60221.12188.96893670886132.1510632911392
61220.68189.68715189873430.9928481012658







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01031252362126920.02062504724253850.98968747637873
170.007174814925012040.01434962985002410.992825185074988
180.005488254056771490.01097650811354300.994511745943229
190.003911010863220170.007822021726440350.99608898913678
200.002621408346111510.005242816692223030.997378591653889
210.001779731660916300.003559463321832600.998220268339084
220.001155829537330450.002311659074660900.99884417046267
230.0008551027399226130.001710205479845230.999144897260077
240.0006314158825731120.001262831765146220.999368584117427
250.0007397983455749260.001479596691149850.999260201654425
260.001283569110982820.002567138221965640.998716430889017
270.002881049595029680.005762099190059360.99711895040497
280.004057482922328960.008114965844657920.995942517077671
290.006935308337338480.01387061667467700.993064691662662
300.01002747231247520.02005494462495040.989972527687525
310.01321402250313550.02642804500627100.986785977496864
320.01615767694100250.03231535388200490.983842323058998
330.01799286561658530.03598573123317050.982007134383415
340.01811079689182790.03622159378365580.981889203108172
350.01732508182844740.03465016365689480.982674918171553
360.01814596582241060.03629193164482110.98185403417759
370.01939798031873370.03879596063746750.980602019681266
380.03422201018857160.06844402037714330.965777989811428
390.04636144851571040.09272289703142080.95363855148429
400.05270612629555510.1054122525911100.947293873704445
410.03468243457061700.06936486914123410.965317565429383
420.02084724930296580.04169449860593170.979152750697034
430.01157392080005410.02314784160010820.988426079199946
440.004942391302069850.00988478260413970.99505760869793
450.001776713040858050.00355342608171610.998223286959142

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0103125236212692 & 0.0206250472425385 & 0.98968747637873 \tabularnewline
17 & 0.00717481492501204 & 0.0143496298500241 & 0.992825185074988 \tabularnewline
18 & 0.00548825405677149 & 0.0109765081135430 & 0.994511745943229 \tabularnewline
19 & 0.00391101086322017 & 0.00782202172644035 & 0.99608898913678 \tabularnewline
20 & 0.00262140834611151 & 0.00524281669222303 & 0.997378591653889 \tabularnewline
21 & 0.00177973166091630 & 0.00355946332183260 & 0.998220268339084 \tabularnewline
22 & 0.00115582953733045 & 0.00231165907466090 & 0.99884417046267 \tabularnewline
23 & 0.000855102739922613 & 0.00171020547984523 & 0.999144897260077 \tabularnewline
24 & 0.000631415882573112 & 0.00126283176514622 & 0.999368584117427 \tabularnewline
25 & 0.000739798345574926 & 0.00147959669114985 & 0.999260201654425 \tabularnewline
26 & 0.00128356911098282 & 0.00256713822196564 & 0.998716430889017 \tabularnewline
27 & 0.00288104959502968 & 0.00576209919005936 & 0.99711895040497 \tabularnewline
28 & 0.00405748292232896 & 0.00811496584465792 & 0.995942517077671 \tabularnewline
29 & 0.00693530833733848 & 0.0138706166746770 & 0.993064691662662 \tabularnewline
30 & 0.0100274723124752 & 0.0200549446249504 & 0.989972527687525 \tabularnewline
31 & 0.0132140225031355 & 0.0264280450062710 & 0.986785977496864 \tabularnewline
32 & 0.0161576769410025 & 0.0323153538820049 & 0.983842323058998 \tabularnewline
33 & 0.0179928656165853 & 0.0359857312331705 & 0.982007134383415 \tabularnewline
34 & 0.0181107968918279 & 0.0362215937836558 & 0.981889203108172 \tabularnewline
35 & 0.0173250818284474 & 0.0346501636568948 & 0.982674918171553 \tabularnewline
36 & 0.0181459658224106 & 0.0362919316448211 & 0.98185403417759 \tabularnewline
37 & 0.0193979803187337 & 0.0387959606374675 & 0.980602019681266 \tabularnewline
38 & 0.0342220101885716 & 0.0684440203771433 & 0.965777989811428 \tabularnewline
39 & 0.0463614485157104 & 0.0927228970314208 & 0.95363855148429 \tabularnewline
40 & 0.0527061262955551 & 0.105412252591110 & 0.947293873704445 \tabularnewline
41 & 0.0346824345706170 & 0.0693648691412341 & 0.965317565429383 \tabularnewline
42 & 0.0208472493029658 & 0.0416944986059317 & 0.979152750697034 \tabularnewline
43 & 0.0115739208000541 & 0.0231478416001082 & 0.988426079199946 \tabularnewline
44 & 0.00494239130206985 & 0.0098847826041397 & 0.99505760869793 \tabularnewline
45 & 0.00177671304085805 & 0.0035534260817161 & 0.998223286959142 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36012&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]16[/C][C]0.0103125236212692[/C][C]0.0206250472425385[/C][C]0.98968747637873[/C][/ROW]
[ROW][C]17[/C][C]0.00717481492501204[/C][C]0.0143496298500241[/C][C]0.992825185074988[/C][/ROW]
[ROW][C]18[/C][C]0.00548825405677149[/C][C]0.0109765081135430[/C][C]0.994511745943229[/C][/ROW]
[ROW][C]19[/C][C]0.00391101086322017[/C][C]0.00782202172644035[/C][C]0.99608898913678[/C][/ROW]
[ROW][C]20[/C][C]0.00262140834611151[/C][C]0.00524281669222303[/C][C]0.997378591653889[/C][/ROW]
[ROW][C]21[/C][C]0.00177973166091630[/C][C]0.00355946332183260[/C][C]0.998220268339084[/C][/ROW]
[ROW][C]22[/C][C]0.00115582953733045[/C][C]0.00231165907466090[/C][C]0.99884417046267[/C][/ROW]
[ROW][C]23[/C][C]0.000855102739922613[/C][C]0.00171020547984523[/C][C]0.999144897260077[/C][/ROW]
[ROW][C]24[/C][C]0.000631415882573112[/C][C]0.00126283176514622[/C][C]0.999368584117427[/C][/ROW]
[ROW][C]25[/C][C]0.000739798345574926[/C][C]0.00147959669114985[/C][C]0.999260201654425[/C][/ROW]
[ROW][C]26[/C][C]0.00128356911098282[/C][C]0.00256713822196564[/C][C]0.998716430889017[/C][/ROW]
[ROW][C]27[/C][C]0.00288104959502968[/C][C]0.00576209919005936[/C][C]0.99711895040497[/C][/ROW]
[ROW][C]28[/C][C]0.00405748292232896[/C][C]0.00811496584465792[/C][C]0.995942517077671[/C][/ROW]
[ROW][C]29[/C][C]0.00693530833733848[/C][C]0.0138706166746770[/C][C]0.993064691662662[/C][/ROW]
[ROW][C]30[/C][C]0.0100274723124752[/C][C]0.0200549446249504[/C][C]0.989972527687525[/C][/ROW]
[ROW][C]31[/C][C]0.0132140225031355[/C][C]0.0264280450062710[/C][C]0.986785977496864[/C][/ROW]
[ROW][C]32[/C][C]0.0161576769410025[/C][C]0.0323153538820049[/C][C]0.983842323058998[/C][/ROW]
[ROW][C]33[/C][C]0.0179928656165853[/C][C]0.0359857312331705[/C][C]0.982007134383415[/C][/ROW]
[ROW][C]34[/C][C]0.0181107968918279[/C][C]0.0362215937836558[/C][C]0.981889203108172[/C][/ROW]
[ROW][C]35[/C][C]0.0173250818284474[/C][C]0.0346501636568948[/C][C]0.982674918171553[/C][/ROW]
[ROW][C]36[/C][C]0.0181459658224106[/C][C]0.0362919316448211[/C][C]0.98185403417759[/C][/ROW]
[ROW][C]37[/C][C]0.0193979803187337[/C][C]0.0387959606374675[/C][C]0.980602019681266[/C][/ROW]
[ROW][C]38[/C][C]0.0342220101885716[/C][C]0.0684440203771433[/C][C]0.965777989811428[/C][/ROW]
[ROW][C]39[/C][C]0.0463614485157104[/C][C]0.0927228970314208[/C][C]0.95363855148429[/C][/ROW]
[ROW][C]40[/C][C]0.0527061262955551[/C][C]0.105412252591110[/C][C]0.947293873704445[/C][/ROW]
[ROW][C]41[/C][C]0.0346824345706170[/C][C]0.0693648691412341[/C][C]0.965317565429383[/C][/ROW]
[ROW][C]42[/C][C]0.0208472493029658[/C][C]0.0416944986059317[/C][C]0.979152750697034[/C][/ROW]
[ROW][C]43[/C][C]0.0115739208000541[/C][C]0.0231478416001082[/C][C]0.988426079199946[/C][/ROW]
[ROW][C]44[/C][C]0.00494239130206985[/C][C]0.0098847826041397[/C][C]0.99505760869793[/C][/ROW]
[ROW][C]45[/C][C]0.00177671304085805[/C][C]0.0035534260817161[/C][C]0.998223286959142[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36012&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36012&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
160.01031252362126920.02062504724253850.98968747637873
170.007174814925012040.01434962985002410.992825185074988
180.005488254056771490.01097650811354300.994511745943229
190.003911010863220170.007822021726440350.99608898913678
200.002621408346111510.005242816692223030.997378591653889
210.001779731660916300.003559463321832600.998220268339084
220.001155829537330450.002311659074660900.99884417046267
230.0008551027399226130.001710205479845230.999144897260077
240.0006314158825731120.001262831765146220.999368584117427
250.0007397983455749260.001479596691149850.999260201654425
260.001283569110982820.002567138221965640.998716430889017
270.002881049595029680.005762099190059360.99711895040497
280.004057482922328960.008114965844657920.995942517077671
290.006935308337338480.01387061667467700.993064691662662
300.01002747231247520.02005494462495040.989972527687525
310.01321402250313550.02642804500627100.986785977496864
320.01615767694100250.03231535388200490.983842323058998
330.01799286561658530.03598573123317050.982007134383415
340.01811079689182790.03622159378365580.981889203108172
350.01732508182844740.03465016365689480.982674918171553
360.01814596582241060.03629193164482110.98185403417759
370.01939798031873370.03879596063746750.980602019681266
380.03422201018857160.06844402037714330.965777989811428
390.04636144851571040.09272289703142080.95363855148429
400.05270612629555510.1054122525911100.947293873704445
410.03468243457061700.06936486914123410.965317565429383
420.02084724930296580.04169449860593170.979152750697034
430.01157392080005410.02314784160010820.988426079199946
440.004942391302069850.00988478260413970.99505760869793
450.001776713040858050.00355342608171610.998223286959142







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level120.4NOK
5% type I error level260.866666666666667NOK
10% type I error level290.966666666666667NOK

\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 & 12 & 0.4 & NOK \tabularnewline
5% type I error level & 26 & 0.866666666666667 & NOK \tabularnewline
10% type I error level & 29 & 0.966666666666667 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36012&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]12[/C][C]0.4[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]26[/C][C]0.866666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]29[/C][C]0.966666666666667[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36012&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36012&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 level120.4NOK
5% type I error level260.866666666666667NOK
10% type I error level290.966666666666667NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}