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 computationTue, 21 Dec 2010 16:57:19 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/21/t1292950528z0s1cuyl8iicgba.htm/, Retrieved Wed, 15 May 2024 09:06:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113752, Retrieved Wed, 15 May 2024 09:06:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact140
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD  [Multiple Regression] [ws8 - Regressie a...] [2010-11-27 11:23:58] [4a7069087cf9e0eda253aeed7d8c30d6]
-   PD    [Multiple Regression] [Paper - Regressie...] [2010-11-28 20:06:50] [4a7069087cf9e0eda253aeed7d8c30d6]
-   PD      [Multiple Regression] [Paper - Regressie...] [2010-11-29 17:19:35] [4a7069087cf9e0eda253aeed7d8c30d6]
-   PD          [Multiple Regression] [Multiple regressi...] [2010-12-21 16:57:19] [039869833c16fe697975601e6b065e0f] [Current]
Feedback Forum

Post a new message
Dataseries X:
1038.00	0
934.00	0
988.00	0
870.00	0
854.00	0
834.00	0
872.00	0
954.00	0
870.00	0
1238.00	0
1082.00	0
1053.00	0
934.00	0
787.00	0
1081.00	0
908.00	0
995.00	0
825.00	0
822.00	0
856.00	0
887.00	0
1094.00	0
990.00	0
936.00	0
1097.00	0
918.00	0
926.00	0
907.00	0
899.00	0
971.00	0
1087.00	0
1000.00	0
1071.00	0
1190.00	0
1116.00	0
1070.00	0
1314.00	0
1068.00	0
1185.00	0
1215.00	0
1145.00	0
1251.00	1
1363.00	1
1368.00	1
1535.00	1
1853.00	1
1866.00	1
2023.00	1
1373.00	1
1968.00	1
1424.00	1
1160.00	1
1243.00	1
1375.00	1
1539.00	1
1773.00	1
1906.00	1
2076.00	1
2004.00	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113752&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113752&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113752&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
Asielaanvragen[t] = + 1117.44351464435 + 612.225941422594Verandering[t] -88.6887029288698M1[t] -104.88870292887M2[t] -119.08870292887M3[t] -227.88870292887M4[t] -212.68870292887M5[t] -311.133891213389M6[t] -225.733891213389M7[t] -172.133891213389M8[t] -108.533891213389M9[t] + 127.866108786611M10[t] + 49.2661087866109M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Asielaanvragen[t] =  +  1117.44351464435 +  612.225941422594Verandering[t] -88.6887029288698M1[t] -104.88870292887M2[t] -119.08870292887M3[t] -227.88870292887M4[t] -212.68870292887M5[t] -311.133891213389M6[t] -225.733891213389M7[t] -172.133891213389M8[t] -108.533891213389M9[t] +  127.866108786611M10[t] +  49.2661087866109M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113752&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Asielaanvragen[t] =  +  1117.44351464435 +  612.225941422594Verandering[t] -88.6887029288698M1[t] -104.88870292887M2[t] -119.08870292887M3[t] -227.88870292887M4[t] -212.68870292887M5[t] -311.133891213389M6[t] -225.733891213389M7[t] -172.133891213389M8[t] -108.533891213389M9[t] +  127.866108786611M10[t] +  49.2661087866109M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113752&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113752&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
Asielaanvragen[t] = + 1117.44351464435 + 612.225941422594Verandering[t] -88.6887029288698M1[t] -104.88870292887M2[t] -119.08870292887M3[t] -227.88870292887M4[t] -212.68870292887M5[t] -311.133891213389M6[t] -225.733891213389M7[t] -172.133891213389M8[t] -108.533891213389M9[t] + 127.866108786611M10[t] + 49.2661087866109M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1117.4435146443589.50537412.484700
Verandering612.22594142259451.25062811.945700
M1-88.6887029288698118.874945-0.74610.4594230.229711
M2-104.88870292887118.874945-0.88230.3821780.191089
M3-119.08870292887118.874945-1.00180.3216820.160841
M4-227.88870292887118.874945-1.9170.0614550.030728
M5-212.68870292887118.874945-1.78920.0801710.040086
M6-311.133891213389119.095697-2.61250.0121030.006051
M7-225.733891213389119.095697-1.89540.0643330.032167
M8-172.133891213389119.095697-1.44530.1551410.07757
M9-108.533891213389119.095697-0.91130.366880.18344
M10127.866108786611119.0956971.07360.2885830.144292
M1149.2661087866109119.0956970.41370.6810390.34052

\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) & 1117.44351464435 & 89.505374 & 12.4847 & 0 & 0 \tabularnewline
Verandering & 612.225941422594 & 51.250628 & 11.9457 & 0 & 0 \tabularnewline
M1 & -88.6887029288698 & 118.874945 & -0.7461 & 0.459423 & 0.229711 \tabularnewline
M2 & -104.88870292887 & 118.874945 & -0.8823 & 0.382178 & 0.191089 \tabularnewline
M3 & -119.08870292887 & 118.874945 & -1.0018 & 0.321682 & 0.160841 \tabularnewline
M4 & -227.88870292887 & 118.874945 & -1.917 & 0.061455 & 0.030728 \tabularnewline
M5 & -212.68870292887 & 118.874945 & -1.7892 & 0.080171 & 0.040086 \tabularnewline
M6 & -311.133891213389 & 119.095697 & -2.6125 & 0.012103 & 0.006051 \tabularnewline
M7 & -225.733891213389 & 119.095697 & -1.8954 & 0.064333 & 0.032167 \tabularnewline
M8 & -172.133891213389 & 119.095697 & -1.4453 & 0.155141 & 0.07757 \tabularnewline
M9 & -108.533891213389 & 119.095697 & -0.9113 & 0.36688 & 0.18344 \tabularnewline
M10 & 127.866108786611 & 119.095697 & 1.0736 & 0.288583 & 0.144292 \tabularnewline
M11 & 49.2661087866109 & 119.095697 & 0.4137 & 0.681039 & 0.34052 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113752&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]1117.44351464435[/C][C]89.505374[/C][C]12.4847[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Verandering[/C][C]612.225941422594[/C][C]51.250628[/C][C]11.9457[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-88.6887029288698[/C][C]118.874945[/C][C]-0.7461[/C][C]0.459423[/C][C]0.229711[/C][/ROW]
[ROW][C]M2[/C][C]-104.88870292887[/C][C]118.874945[/C][C]-0.8823[/C][C]0.382178[/C][C]0.191089[/C][/ROW]
[ROW][C]M3[/C][C]-119.08870292887[/C][C]118.874945[/C][C]-1.0018[/C][C]0.321682[/C][C]0.160841[/C][/ROW]
[ROW][C]M4[/C][C]-227.88870292887[/C][C]118.874945[/C][C]-1.917[/C][C]0.061455[/C][C]0.030728[/C][/ROW]
[ROW][C]M5[/C][C]-212.68870292887[/C][C]118.874945[/C][C]-1.7892[/C][C]0.080171[/C][C]0.040086[/C][/ROW]
[ROW][C]M6[/C][C]-311.133891213389[/C][C]119.095697[/C][C]-2.6125[/C][C]0.012103[/C][C]0.006051[/C][/ROW]
[ROW][C]M7[/C][C]-225.733891213389[/C][C]119.095697[/C][C]-1.8954[/C][C]0.064333[/C][C]0.032167[/C][/ROW]
[ROW][C]M8[/C][C]-172.133891213389[/C][C]119.095697[/C][C]-1.4453[/C][C]0.155141[/C][C]0.07757[/C][/ROW]
[ROW][C]M9[/C][C]-108.533891213389[/C][C]119.095697[/C][C]-0.9113[/C][C]0.36688[/C][C]0.18344[/C][/ROW]
[ROW][C]M10[/C][C]127.866108786611[/C][C]119.095697[/C][C]1.0736[/C][C]0.288583[/C][C]0.144292[/C][/ROW]
[ROW][C]M11[/C][C]49.2661087866109[/C][C]119.095697[/C][C]0.4137[/C][C]0.681039[/C][C]0.34052[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113752&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113752&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)1117.4435146443589.50537412.484700
Verandering612.22594142259451.25062811.945700
M1-88.6887029288698118.874945-0.74610.4594230.229711
M2-104.88870292887118.874945-0.88230.3821780.191089
M3-119.08870292887118.874945-1.00180.3216820.160841
M4-227.88870292887118.874945-1.9170.0614550.030728
M5-212.68870292887118.874945-1.78920.0801710.040086
M6-311.133891213389119.095697-2.61250.0121030.006051
M7-225.733891213389119.095697-1.89540.0643330.032167
M8-172.133891213389119.095697-1.44530.1551410.07757
M9-108.533891213389119.095697-0.91130.366880.18344
M10127.866108786611119.0956971.07360.2885830.144292
M1149.2661087866109119.0956970.41370.6810390.34052







Multiple Linear Regression - Regression Statistics
Multiple R0.892748647069733
R-squared0.797000146844838
Adjusted R-squared0.744043663413057
F-TEST (value)15.0500957615801
F-TEST (DF numerator)12
F-TEST (DF denominator)46
p-value3.94029253669714e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation177.167127554879
Sum Squared Residuals1443856.78995816

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.892748647069733 \tabularnewline
R-squared & 0.797000146844838 \tabularnewline
Adjusted R-squared & 0.744043663413057 \tabularnewline
F-TEST (value) & 15.0500957615801 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 3.94029253669714e-12 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 177.167127554879 \tabularnewline
Sum Squared Residuals & 1443856.78995816 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113752&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.892748647069733[/C][/ROW]
[ROW][C]R-squared[/C][C]0.797000146844838[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.744043663413057[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]15.0500957615801[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]3.94029253669714e-12[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]177.167127554879[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1443856.78995816[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113752&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113752&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.892748647069733
R-squared0.797000146844838
Adjusted R-squared0.744043663413057
F-TEST (value)15.0500957615801
F-TEST (DF numerator)12
F-TEST (DF denominator)46
p-value3.94029253669714e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation177.167127554879
Sum Squared Residuals1443856.78995816







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
110381028.754811715489.24518828452053
29341012.55481171548-78.554811715481
3988998.354811715481-10.3548117154812
4870889.554811715481-19.5548117154812
5854904.754811715481-50.7548117154812
6834806.30962343096227.6903765690375
7872891.709623430962-19.7096234309623
8954945.3096234309628.69037656903756
98701008.90962343096-138.909623430962
1012381245.30962343096-7.30962343096233
1110821166.70962343096-84.7096234309624
1210531117.44351464435-64.4435146443515
139341028.75481171548-94.7548117154816
147871012.55481171548-225.554811715481
151081998.35481171548182.6451882845188
16908889.55481171548118.4451882845189
17995904.75481171548190.2451882845188
18825806.30962343096218.6903765690377
19822891.709623430962-69.7096234309624
20856945.309623430962-89.3096234309624
218871008.90962343096-121.909623430962
2210941245.30962343096-151.309623430962
239901166.70962343096-176.709623430962
249361117.44351464435-181.443514644351
2510971028.7548117154868.2451882845184
269181012.55481171548-94.5548117154812
27926998.354811715481-72.3548117154812
28907889.55481171548117.4451882845189
29899904.754811715481-5.75481171548118
30971806.309623430962164.690376569038
311087891.709623430962195.290376569038
321000945.30962343096254.6903765690376
3310711008.9096234309662.0903765690376
3411901245.30962343096-55.3096234309623
3511161166.70962343096-50.7096234309624
3610701117.44351464435-47.4435146443515
3713141028.75481171548285.245188284518
3810681012.5548117154855.4451882845188
391185998.354811715481186.645188284519
401215889.554811715481325.445188284519
411145904.754811715481240.245188284519
4212511418.53556485356-167.535564853556
4313631503.93556485356-140.935564853556
4413681557.53556485356-189.535564853556
4515351621.13556485356-86.1355648535565
4618531857.53556485356-4.53556485355654
4718661778.9355648535687.0644351464435
4820231729.66945606695293.330543933054
4913731640.98075313808-267.980753138076
5019681624.78075313808343.219246861925
5114241610.58075313808-186.580753138075
5211601501.78075313808-341.780753138076
5312431516.98075313808-273.980753138075
5413751418.53556485356-43.5355648535565
5515391503.9355648535635.0644351464435
5617731557.53556485356215.464435146444
5719061621.13556485356284.864435146443
5820761857.53556485356218.464435146444
5920041778.93556485356225.064435146444

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1038 & 1028.75481171548 & 9.24518828452053 \tabularnewline
2 & 934 & 1012.55481171548 & -78.554811715481 \tabularnewline
3 & 988 & 998.354811715481 & -10.3548117154812 \tabularnewline
4 & 870 & 889.554811715481 & -19.5548117154812 \tabularnewline
5 & 854 & 904.754811715481 & -50.7548117154812 \tabularnewline
6 & 834 & 806.309623430962 & 27.6903765690375 \tabularnewline
7 & 872 & 891.709623430962 & -19.7096234309623 \tabularnewline
8 & 954 & 945.309623430962 & 8.69037656903756 \tabularnewline
9 & 870 & 1008.90962343096 & -138.909623430962 \tabularnewline
10 & 1238 & 1245.30962343096 & -7.30962343096233 \tabularnewline
11 & 1082 & 1166.70962343096 & -84.7096234309624 \tabularnewline
12 & 1053 & 1117.44351464435 & -64.4435146443515 \tabularnewline
13 & 934 & 1028.75481171548 & -94.7548117154816 \tabularnewline
14 & 787 & 1012.55481171548 & -225.554811715481 \tabularnewline
15 & 1081 & 998.354811715481 & 82.6451882845188 \tabularnewline
16 & 908 & 889.554811715481 & 18.4451882845189 \tabularnewline
17 & 995 & 904.754811715481 & 90.2451882845188 \tabularnewline
18 & 825 & 806.309623430962 & 18.6903765690377 \tabularnewline
19 & 822 & 891.709623430962 & -69.7096234309624 \tabularnewline
20 & 856 & 945.309623430962 & -89.3096234309624 \tabularnewline
21 & 887 & 1008.90962343096 & -121.909623430962 \tabularnewline
22 & 1094 & 1245.30962343096 & -151.309623430962 \tabularnewline
23 & 990 & 1166.70962343096 & -176.709623430962 \tabularnewline
24 & 936 & 1117.44351464435 & -181.443514644351 \tabularnewline
25 & 1097 & 1028.75481171548 & 68.2451882845184 \tabularnewline
26 & 918 & 1012.55481171548 & -94.5548117154812 \tabularnewline
27 & 926 & 998.354811715481 & -72.3548117154812 \tabularnewline
28 & 907 & 889.554811715481 & 17.4451882845189 \tabularnewline
29 & 899 & 904.754811715481 & -5.75481171548118 \tabularnewline
30 & 971 & 806.309623430962 & 164.690376569038 \tabularnewline
31 & 1087 & 891.709623430962 & 195.290376569038 \tabularnewline
32 & 1000 & 945.309623430962 & 54.6903765690376 \tabularnewline
33 & 1071 & 1008.90962343096 & 62.0903765690376 \tabularnewline
34 & 1190 & 1245.30962343096 & -55.3096234309623 \tabularnewline
35 & 1116 & 1166.70962343096 & -50.7096234309624 \tabularnewline
36 & 1070 & 1117.44351464435 & -47.4435146443515 \tabularnewline
37 & 1314 & 1028.75481171548 & 285.245188284518 \tabularnewline
38 & 1068 & 1012.55481171548 & 55.4451882845188 \tabularnewline
39 & 1185 & 998.354811715481 & 186.645188284519 \tabularnewline
40 & 1215 & 889.554811715481 & 325.445188284519 \tabularnewline
41 & 1145 & 904.754811715481 & 240.245188284519 \tabularnewline
42 & 1251 & 1418.53556485356 & -167.535564853556 \tabularnewline
43 & 1363 & 1503.93556485356 & -140.935564853556 \tabularnewline
44 & 1368 & 1557.53556485356 & -189.535564853556 \tabularnewline
45 & 1535 & 1621.13556485356 & -86.1355648535565 \tabularnewline
46 & 1853 & 1857.53556485356 & -4.53556485355654 \tabularnewline
47 & 1866 & 1778.93556485356 & 87.0644351464435 \tabularnewline
48 & 2023 & 1729.66945606695 & 293.330543933054 \tabularnewline
49 & 1373 & 1640.98075313808 & -267.980753138076 \tabularnewline
50 & 1968 & 1624.78075313808 & 343.219246861925 \tabularnewline
51 & 1424 & 1610.58075313808 & -186.580753138075 \tabularnewline
52 & 1160 & 1501.78075313808 & -341.780753138076 \tabularnewline
53 & 1243 & 1516.98075313808 & -273.980753138075 \tabularnewline
54 & 1375 & 1418.53556485356 & -43.5355648535565 \tabularnewline
55 & 1539 & 1503.93556485356 & 35.0644351464435 \tabularnewline
56 & 1773 & 1557.53556485356 & 215.464435146444 \tabularnewline
57 & 1906 & 1621.13556485356 & 284.864435146443 \tabularnewline
58 & 2076 & 1857.53556485356 & 218.464435146444 \tabularnewline
59 & 2004 & 1778.93556485356 & 225.064435146444 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113752&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]1038[/C][C]1028.75481171548[/C][C]9.24518828452053[/C][/ROW]
[ROW][C]2[/C][C]934[/C][C]1012.55481171548[/C][C]-78.554811715481[/C][/ROW]
[ROW][C]3[/C][C]988[/C][C]998.354811715481[/C][C]-10.3548117154812[/C][/ROW]
[ROW][C]4[/C][C]870[/C][C]889.554811715481[/C][C]-19.5548117154812[/C][/ROW]
[ROW][C]5[/C][C]854[/C][C]904.754811715481[/C][C]-50.7548117154812[/C][/ROW]
[ROW][C]6[/C][C]834[/C][C]806.309623430962[/C][C]27.6903765690375[/C][/ROW]
[ROW][C]7[/C][C]872[/C][C]891.709623430962[/C][C]-19.7096234309623[/C][/ROW]
[ROW][C]8[/C][C]954[/C][C]945.309623430962[/C][C]8.69037656903756[/C][/ROW]
[ROW][C]9[/C][C]870[/C][C]1008.90962343096[/C][C]-138.909623430962[/C][/ROW]
[ROW][C]10[/C][C]1238[/C][C]1245.30962343096[/C][C]-7.30962343096233[/C][/ROW]
[ROW][C]11[/C][C]1082[/C][C]1166.70962343096[/C][C]-84.7096234309624[/C][/ROW]
[ROW][C]12[/C][C]1053[/C][C]1117.44351464435[/C][C]-64.4435146443515[/C][/ROW]
[ROW][C]13[/C][C]934[/C][C]1028.75481171548[/C][C]-94.7548117154816[/C][/ROW]
[ROW][C]14[/C][C]787[/C][C]1012.55481171548[/C][C]-225.554811715481[/C][/ROW]
[ROW][C]15[/C][C]1081[/C][C]998.354811715481[/C][C]82.6451882845188[/C][/ROW]
[ROW][C]16[/C][C]908[/C][C]889.554811715481[/C][C]18.4451882845189[/C][/ROW]
[ROW][C]17[/C][C]995[/C][C]904.754811715481[/C][C]90.2451882845188[/C][/ROW]
[ROW][C]18[/C][C]825[/C][C]806.309623430962[/C][C]18.6903765690377[/C][/ROW]
[ROW][C]19[/C][C]822[/C][C]891.709623430962[/C][C]-69.7096234309624[/C][/ROW]
[ROW][C]20[/C][C]856[/C][C]945.309623430962[/C][C]-89.3096234309624[/C][/ROW]
[ROW][C]21[/C][C]887[/C][C]1008.90962343096[/C][C]-121.909623430962[/C][/ROW]
[ROW][C]22[/C][C]1094[/C][C]1245.30962343096[/C][C]-151.309623430962[/C][/ROW]
[ROW][C]23[/C][C]990[/C][C]1166.70962343096[/C][C]-176.709623430962[/C][/ROW]
[ROW][C]24[/C][C]936[/C][C]1117.44351464435[/C][C]-181.443514644351[/C][/ROW]
[ROW][C]25[/C][C]1097[/C][C]1028.75481171548[/C][C]68.2451882845184[/C][/ROW]
[ROW][C]26[/C][C]918[/C][C]1012.55481171548[/C][C]-94.5548117154812[/C][/ROW]
[ROW][C]27[/C][C]926[/C][C]998.354811715481[/C][C]-72.3548117154812[/C][/ROW]
[ROW][C]28[/C][C]907[/C][C]889.554811715481[/C][C]17.4451882845189[/C][/ROW]
[ROW][C]29[/C][C]899[/C][C]904.754811715481[/C][C]-5.75481171548118[/C][/ROW]
[ROW][C]30[/C][C]971[/C][C]806.309623430962[/C][C]164.690376569038[/C][/ROW]
[ROW][C]31[/C][C]1087[/C][C]891.709623430962[/C][C]195.290376569038[/C][/ROW]
[ROW][C]32[/C][C]1000[/C][C]945.309623430962[/C][C]54.6903765690376[/C][/ROW]
[ROW][C]33[/C][C]1071[/C][C]1008.90962343096[/C][C]62.0903765690376[/C][/ROW]
[ROW][C]34[/C][C]1190[/C][C]1245.30962343096[/C][C]-55.3096234309623[/C][/ROW]
[ROW][C]35[/C][C]1116[/C][C]1166.70962343096[/C][C]-50.7096234309624[/C][/ROW]
[ROW][C]36[/C][C]1070[/C][C]1117.44351464435[/C][C]-47.4435146443515[/C][/ROW]
[ROW][C]37[/C][C]1314[/C][C]1028.75481171548[/C][C]285.245188284518[/C][/ROW]
[ROW][C]38[/C][C]1068[/C][C]1012.55481171548[/C][C]55.4451882845188[/C][/ROW]
[ROW][C]39[/C][C]1185[/C][C]998.354811715481[/C][C]186.645188284519[/C][/ROW]
[ROW][C]40[/C][C]1215[/C][C]889.554811715481[/C][C]325.445188284519[/C][/ROW]
[ROW][C]41[/C][C]1145[/C][C]904.754811715481[/C][C]240.245188284519[/C][/ROW]
[ROW][C]42[/C][C]1251[/C][C]1418.53556485356[/C][C]-167.535564853556[/C][/ROW]
[ROW][C]43[/C][C]1363[/C][C]1503.93556485356[/C][C]-140.935564853556[/C][/ROW]
[ROW][C]44[/C][C]1368[/C][C]1557.53556485356[/C][C]-189.535564853556[/C][/ROW]
[ROW][C]45[/C][C]1535[/C][C]1621.13556485356[/C][C]-86.1355648535565[/C][/ROW]
[ROW][C]46[/C][C]1853[/C][C]1857.53556485356[/C][C]-4.53556485355654[/C][/ROW]
[ROW][C]47[/C][C]1866[/C][C]1778.93556485356[/C][C]87.0644351464435[/C][/ROW]
[ROW][C]48[/C][C]2023[/C][C]1729.66945606695[/C][C]293.330543933054[/C][/ROW]
[ROW][C]49[/C][C]1373[/C][C]1640.98075313808[/C][C]-267.980753138076[/C][/ROW]
[ROW][C]50[/C][C]1968[/C][C]1624.78075313808[/C][C]343.219246861925[/C][/ROW]
[ROW][C]51[/C][C]1424[/C][C]1610.58075313808[/C][C]-186.580753138075[/C][/ROW]
[ROW][C]52[/C][C]1160[/C][C]1501.78075313808[/C][C]-341.780753138076[/C][/ROW]
[ROW][C]53[/C][C]1243[/C][C]1516.98075313808[/C][C]-273.980753138075[/C][/ROW]
[ROW][C]54[/C][C]1375[/C][C]1418.53556485356[/C][C]-43.5355648535565[/C][/ROW]
[ROW][C]55[/C][C]1539[/C][C]1503.93556485356[/C][C]35.0644351464435[/C][/ROW]
[ROW][C]56[/C][C]1773[/C][C]1557.53556485356[/C][C]215.464435146444[/C][/ROW]
[ROW][C]57[/C][C]1906[/C][C]1621.13556485356[/C][C]284.864435146443[/C][/ROW]
[ROW][C]58[/C][C]2076[/C][C]1857.53556485356[/C][C]218.464435146444[/C][/ROW]
[ROW][C]59[/C][C]2004[/C][C]1778.93556485356[/C][C]225.064435146444[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113752&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113752&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
110381028.754811715489.24518828452053
29341012.55481171548-78.554811715481
3988998.354811715481-10.3548117154812
4870889.554811715481-19.5548117154812
5854904.754811715481-50.7548117154812
6834806.30962343096227.6903765690375
7872891.709623430962-19.7096234309623
8954945.3096234309628.69037656903756
98701008.90962343096-138.909623430962
1012381245.30962343096-7.30962343096233
1110821166.70962343096-84.7096234309624
1210531117.44351464435-64.4435146443515
139341028.75481171548-94.7548117154816
147871012.55481171548-225.554811715481
151081998.35481171548182.6451882845188
16908889.55481171548118.4451882845189
17995904.75481171548190.2451882845188
18825806.30962343096218.6903765690377
19822891.709623430962-69.7096234309624
20856945.309623430962-89.3096234309624
218871008.90962343096-121.909623430962
2210941245.30962343096-151.309623430962
239901166.70962343096-176.709623430962
249361117.44351464435-181.443514644351
2510971028.7548117154868.2451882845184
269181012.55481171548-94.5548117154812
27926998.354811715481-72.3548117154812
28907889.55481171548117.4451882845189
29899904.754811715481-5.75481171548118
30971806.309623430962164.690376569038
311087891.709623430962195.290376569038
321000945.30962343096254.6903765690376
3310711008.9096234309662.0903765690376
3411901245.30962343096-55.3096234309623
3511161166.70962343096-50.7096234309624
3610701117.44351464435-47.4435146443515
3713141028.75481171548285.245188284518
3810681012.5548117154855.4451882845188
391185998.354811715481186.645188284519
401215889.554811715481325.445188284519
411145904.754811715481240.245188284519
4212511418.53556485356-167.535564853556
4313631503.93556485356-140.935564853556
4413681557.53556485356-189.535564853556
4515351621.13556485356-86.1355648535565
4618531857.53556485356-4.53556485355654
4718661778.9355648535687.0644351464435
4820231729.66945606695293.330543933054
4913731640.98075313808-267.980753138076
5019681624.78075313808343.219246861925
5114241610.58075313808-186.580753138075
5211601501.78075313808-341.780753138076
5312431516.98075313808-273.980753138075
5413751418.53556485356-43.5355648535565
5515391503.9355648535635.0644351464435
5617731557.53556485356215.464435146444
5719061621.13556485356284.864435146443
5820761857.53556485356218.464435146444
5920041778.93556485356225.064435146444







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.08113603001970060.1622720600394010.9188639699803
170.0515054157822430.1030108315644860.948494584217757
180.01766426336024340.03532852672048680.982335736639757
190.006230861521322350.01246172304264470.993769138478678
200.002905959667172740.005811919334345470.997094040332827
210.0009638371298985980.00192767425979720.999036162870101
220.0008208605169529310.001641721033905860.999179139483047
230.0004650920381572930.0009301840763145860.999534907961843
240.0003594789596981260.0007189579193962520.999640521040302
250.0002158567147621810.0004317134295243610.999784143285238
260.000124501520388370.0002490030407767410.999875498479612
277.70518330326966e-050.0001541036660653930.999922948166967
282.39447123954541e-054.78894247909082e-050.999976055287605
297.21779870049229e-061.44355974009846e-050.9999927822013
307.0476855730999e-061.40953711461998e-050.999992952314427
313.00614113271065e-056.01228226542129e-050.999969938588673
321.34845675676039e-052.69691351352078e-050.999986515432432
331.70739989380218e-053.41479978760437e-050.999982926001062
349.58458313345019e-061.91691662669004e-050.999990415416867
351.22738221957814e-052.45476443915628e-050.999987726177804
367.76830186977637e-050.0001553660373955270.999922316981302
370.0004241812027386510.0008483624054773030.999575818797261
380.02403377089343460.04806754178686920.975966229106565
390.02626510708148190.05253021416296370.973734892918518
400.04090360803925530.08180721607851060.959096391960745
410.03078645581340120.06157291162680250.969213544186599
420.01625937328695860.03251874657391730.98374062671304
430.009150203266448690.01830040653289740.990849796733551

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0811360300197006 & 0.162272060039401 & 0.9188639699803 \tabularnewline
17 & 0.051505415782243 & 0.103010831564486 & 0.948494584217757 \tabularnewline
18 & 0.0176642633602434 & 0.0353285267204868 & 0.982335736639757 \tabularnewline
19 & 0.00623086152132235 & 0.0124617230426447 & 0.993769138478678 \tabularnewline
20 & 0.00290595966717274 & 0.00581191933434547 & 0.997094040332827 \tabularnewline
21 & 0.000963837129898598 & 0.0019276742597972 & 0.999036162870101 \tabularnewline
22 & 0.000820860516952931 & 0.00164172103390586 & 0.999179139483047 \tabularnewline
23 & 0.000465092038157293 & 0.000930184076314586 & 0.999534907961843 \tabularnewline
24 & 0.000359478959698126 & 0.000718957919396252 & 0.999640521040302 \tabularnewline
25 & 0.000215856714762181 & 0.000431713429524361 & 0.999784143285238 \tabularnewline
26 & 0.00012450152038837 & 0.000249003040776741 & 0.999875498479612 \tabularnewline
27 & 7.70518330326966e-05 & 0.000154103666065393 & 0.999922948166967 \tabularnewline
28 & 2.39447123954541e-05 & 4.78894247909082e-05 & 0.999976055287605 \tabularnewline
29 & 7.21779870049229e-06 & 1.44355974009846e-05 & 0.9999927822013 \tabularnewline
30 & 7.0476855730999e-06 & 1.40953711461998e-05 & 0.999992952314427 \tabularnewline
31 & 3.00614113271065e-05 & 6.01228226542129e-05 & 0.999969938588673 \tabularnewline
32 & 1.34845675676039e-05 & 2.69691351352078e-05 & 0.999986515432432 \tabularnewline
33 & 1.70739989380218e-05 & 3.41479978760437e-05 & 0.999982926001062 \tabularnewline
34 & 9.58458313345019e-06 & 1.91691662669004e-05 & 0.999990415416867 \tabularnewline
35 & 1.22738221957814e-05 & 2.45476443915628e-05 & 0.999987726177804 \tabularnewline
36 & 7.76830186977637e-05 & 0.000155366037395527 & 0.999922316981302 \tabularnewline
37 & 0.000424181202738651 & 0.000848362405477303 & 0.999575818797261 \tabularnewline
38 & 0.0240337708934346 & 0.0480675417868692 & 0.975966229106565 \tabularnewline
39 & 0.0262651070814819 & 0.0525302141629637 & 0.973734892918518 \tabularnewline
40 & 0.0409036080392553 & 0.0818072160785106 & 0.959096391960745 \tabularnewline
41 & 0.0307864558134012 & 0.0615729116268025 & 0.969213544186599 \tabularnewline
42 & 0.0162593732869586 & 0.0325187465739173 & 0.98374062671304 \tabularnewline
43 & 0.00915020326644869 & 0.0183004065328974 & 0.990849796733551 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113752&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.0811360300197006[/C][C]0.162272060039401[/C][C]0.9188639699803[/C][/ROW]
[ROW][C]17[/C][C]0.051505415782243[/C][C]0.103010831564486[/C][C]0.948494584217757[/C][/ROW]
[ROW][C]18[/C][C]0.0176642633602434[/C][C]0.0353285267204868[/C][C]0.982335736639757[/C][/ROW]
[ROW][C]19[/C][C]0.00623086152132235[/C][C]0.0124617230426447[/C][C]0.993769138478678[/C][/ROW]
[ROW][C]20[/C][C]0.00290595966717274[/C][C]0.00581191933434547[/C][C]0.997094040332827[/C][/ROW]
[ROW][C]21[/C][C]0.000963837129898598[/C][C]0.0019276742597972[/C][C]0.999036162870101[/C][/ROW]
[ROW][C]22[/C][C]0.000820860516952931[/C][C]0.00164172103390586[/C][C]0.999179139483047[/C][/ROW]
[ROW][C]23[/C][C]0.000465092038157293[/C][C]0.000930184076314586[/C][C]0.999534907961843[/C][/ROW]
[ROW][C]24[/C][C]0.000359478959698126[/C][C]0.000718957919396252[/C][C]0.999640521040302[/C][/ROW]
[ROW][C]25[/C][C]0.000215856714762181[/C][C]0.000431713429524361[/C][C]0.999784143285238[/C][/ROW]
[ROW][C]26[/C][C]0.00012450152038837[/C][C]0.000249003040776741[/C][C]0.999875498479612[/C][/ROW]
[ROW][C]27[/C][C]7.70518330326966e-05[/C][C]0.000154103666065393[/C][C]0.999922948166967[/C][/ROW]
[ROW][C]28[/C][C]2.39447123954541e-05[/C][C]4.78894247909082e-05[/C][C]0.999976055287605[/C][/ROW]
[ROW][C]29[/C][C]7.21779870049229e-06[/C][C]1.44355974009846e-05[/C][C]0.9999927822013[/C][/ROW]
[ROW][C]30[/C][C]7.0476855730999e-06[/C][C]1.40953711461998e-05[/C][C]0.999992952314427[/C][/ROW]
[ROW][C]31[/C][C]3.00614113271065e-05[/C][C]6.01228226542129e-05[/C][C]0.999969938588673[/C][/ROW]
[ROW][C]32[/C][C]1.34845675676039e-05[/C][C]2.69691351352078e-05[/C][C]0.999986515432432[/C][/ROW]
[ROW][C]33[/C][C]1.70739989380218e-05[/C][C]3.41479978760437e-05[/C][C]0.999982926001062[/C][/ROW]
[ROW][C]34[/C][C]9.58458313345019e-06[/C][C]1.91691662669004e-05[/C][C]0.999990415416867[/C][/ROW]
[ROW][C]35[/C][C]1.22738221957814e-05[/C][C]2.45476443915628e-05[/C][C]0.999987726177804[/C][/ROW]
[ROW][C]36[/C][C]7.76830186977637e-05[/C][C]0.000155366037395527[/C][C]0.999922316981302[/C][/ROW]
[ROW][C]37[/C][C]0.000424181202738651[/C][C]0.000848362405477303[/C][C]0.999575818797261[/C][/ROW]
[ROW][C]38[/C][C]0.0240337708934346[/C][C]0.0480675417868692[/C][C]0.975966229106565[/C][/ROW]
[ROW][C]39[/C][C]0.0262651070814819[/C][C]0.0525302141629637[/C][C]0.973734892918518[/C][/ROW]
[ROW][C]40[/C][C]0.0409036080392553[/C][C]0.0818072160785106[/C][C]0.959096391960745[/C][/ROW]
[ROW][C]41[/C][C]0.0307864558134012[/C][C]0.0615729116268025[/C][C]0.969213544186599[/C][/ROW]
[ROW][C]42[/C][C]0.0162593732869586[/C][C]0.0325187465739173[/C][C]0.98374062671304[/C][/ROW]
[ROW][C]43[/C][C]0.00915020326644869[/C][C]0.0183004065328974[/C][C]0.990849796733551[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113752&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113752&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.08113603001970060.1622720600394010.9188639699803
170.0515054157822430.1030108315644860.948494584217757
180.01766426336024340.03532852672048680.982335736639757
190.006230861521322350.01246172304264470.993769138478678
200.002905959667172740.005811919334345470.997094040332827
210.0009638371298985980.00192767425979720.999036162870101
220.0008208605169529310.001641721033905860.999179139483047
230.0004650920381572930.0009301840763145860.999534907961843
240.0003594789596981260.0007189579193962520.999640521040302
250.0002158567147621810.0004317134295243610.999784143285238
260.000124501520388370.0002490030407767410.999875498479612
277.70518330326966e-050.0001541036660653930.999922948166967
282.39447123954541e-054.78894247909082e-050.999976055287605
297.21779870049229e-061.44355974009846e-050.9999927822013
307.0476855730999e-061.40953711461998e-050.999992952314427
313.00614113271065e-056.01228226542129e-050.999969938588673
321.34845675676039e-052.69691351352078e-050.999986515432432
331.70739989380218e-053.41479978760437e-050.999982926001062
349.58458313345019e-061.91691662669004e-050.999990415416867
351.22738221957814e-052.45476443915628e-050.999987726177804
367.76830186977637e-050.0001553660373955270.999922316981302
370.0004241812027386510.0008483624054773030.999575818797261
380.02403377089343460.04806754178686920.975966229106565
390.02626510708148190.05253021416296370.973734892918518
400.04090360803925530.08180721607851060.959096391960745
410.03078645581340120.06157291162680250.969213544186599
420.01625937328695860.03251874657391730.98374062671304
430.009150203266448690.01830040653289740.990849796733551







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level180.642857142857143NOK
5% type I error level230.821428571428571NOK
10% type I error level260.928571428571429NOK

\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 & 18 & 0.642857142857143 & NOK \tabularnewline
5% type I error level & 23 & 0.821428571428571 & NOK \tabularnewline
10% type I error level & 26 & 0.928571428571429 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113752&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]18[/C][C]0.642857142857143[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]23[/C][C]0.821428571428571[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]26[/C][C]0.928571428571429[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113752&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113752&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 level180.642857142857143NOK
5% type I error level230.821428571428571NOK
10% type I error level260.928571428571429NOK



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