Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 23 Nov 2010 15:38:30 +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/Nov/23/t1290526913gt7zlu4h9w4zjuv.htm/, Retrieved Tue, 16 Apr 2024 13:34:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=99307, Retrieved Tue, 16 Apr 2024 13:34:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [WS7] [2010-11-23 15:38:30] [c084290a4f21190336d1cf92fa739bdc] [Current]
Feedback Forum

Post a new message
Dataseries X:
475	2	60	0	0	0
530	1	67	1	0	0
550	2	91	1	1	0
550	1	150	0	2	0
625	3	110	1	2	0
650	2	86	1	2	1
650	2	86	0	0	1
720	3	145	1	2	1
795	3	150	1	0	0
515	2	85	1	2	0
535	2	100	1	2	0
550	2	84	0	0	0
600	2	94	1	0	0
600	2	149	0	1	0
660	3	105	1	2	0
695	2	106	1	0	0
720	3	132	1	0	0
750	2	130	1	2	0
750	3	165	1	2	0
850	2	127	1	2	1
850	2	119	1	0	1
875	3	126	1	2	1
900	2	133	1	2	1
595	2	89	1	1	1
765	3	147	1	2	1
495	1	59	1	0	1
525	1	58	0	0	1
525	1	56	0	0	1
595	2	90	1	2	0
650	1	80	1	0	1
695	3	135	0	0	1
615	2	125	0	2	0
460	2	80	1	0	0
650	2	100	1	1	1
650	2	76	1	0	1
475	1	65	1	1	0
530	2	75	1	1	0
575	2	95	1	2	1
650	2	85	1	1	1
650	1	106	1	0	1
875	2	135	1	0	1
500	2	95	0	1	1
625	2	60	1	2	0
730	2	112	1	2	1
750	2	150	1	1	1
700	2	100	0	2	0
830	2	125	1	0	1
995	2	100	1	2	1
850	3	150	1	2	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time10 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 & 10 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99307&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]10 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=99307&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Bewoonbareopp[t] = -5.67046259550761 + 0.137285102691268Huurprijs[t] + 14.8450455533362Slaapkamers[t] -12.2215844419713Terras[t] + 3.47547927851639Garage[t] -8.17900748560341Nieuwbouw[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bewoonbareopp[t] =  -5.67046259550761 +  0.137285102691268Huurprijs[t] +  14.8450455533362Slaapkamers[t] -12.2215844419713Terras[t] +  3.47547927851639Garage[t] -8.17900748560341Nieuwbouw[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99307&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bewoonbareopp[t] =  -5.67046259550761 +  0.137285102691268Huurprijs[t] +  14.8450455533362Slaapkamers[t] -12.2215844419713Terras[t] +  3.47547927851639Garage[t] -8.17900748560341Nieuwbouw[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99307&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99307&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
Bewoonbareopp[t] = -5.67046259550761 + 0.137285102691268Huurprijs[t] + 14.8450455533362Slaapkamers[t] -12.2215844419713Terras[t] + 3.47547927851639Garage[t] -8.17900748560341Nieuwbouw[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-5.6704625955076116.156965-0.3510.7273310.363666
Huurprijs0.1372851026912680.031384.37497.6e-053.8e-05
Slaapkamers14.84504555333625.9422662.49820.0163850.008192
Terras-12.22158444197137.584623-1.61140.1144180.057209
Garage3.475479278516393.5421260.98120.331990.165995
Nieuwbouw-8.179007485603416.93058-1.18010.2444350.122217

\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) & -5.67046259550761 & 16.156965 & -0.351 & 0.727331 & 0.363666 \tabularnewline
Huurprijs & 0.137285102691268 & 0.03138 & 4.3749 & 7.6e-05 & 3.8e-05 \tabularnewline
Slaapkamers & 14.8450455533362 & 5.942266 & 2.4982 & 0.016385 & 0.008192 \tabularnewline
Terras & -12.2215844419713 & 7.584623 & -1.6114 & 0.114418 & 0.057209 \tabularnewline
Garage & 3.47547927851639 & 3.542126 & 0.9812 & 0.33199 & 0.165995 \tabularnewline
Nieuwbouw & -8.17900748560341 & 6.93058 & -1.1801 & 0.244435 & 0.122217 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99307&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]-5.67046259550761[/C][C]16.156965[/C][C]-0.351[/C][C]0.727331[/C][C]0.363666[/C][/ROW]
[ROW][C]Huurprijs[/C][C]0.137285102691268[/C][C]0.03138[/C][C]4.3749[/C][C]7.6e-05[/C][C]3.8e-05[/C][/ROW]
[ROW][C]Slaapkamers[/C][C]14.8450455533362[/C][C]5.942266[/C][C]2.4982[/C][C]0.016385[/C][C]0.008192[/C][/ROW]
[ROW][C]Terras[/C][C]-12.2215844419713[/C][C]7.584623[/C][C]-1.6114[/C][C]0.114418[/C][C]0.057209[/C][/ROW]
[ROW][C]Garage[/C][C]3.47547927851639[/C][C]3.542126[/C][C]0.9812[/C][C]0.33199[/C][C]0.165995[/C][/ROW]
[ROW][C]Nieuwbouw[/C][C]-8.17900748560341[/C][C]6.93058[/C][C]-1.1801[/C][C]0.244435[/C][C]0.122217[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99307&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99307&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)-5.6704625955076116.156965-0.3510.7273310.363666
Huurprijs0.1372851026912680.031384.37497.6e-053.8e-05
Slaapkamers14.84504555333625.9422662.49820.0163850.008192
Terras-12.22158444197137.584623-1.61140.1144180.057209
Garage3.475479278516393.5421260.98120.331990.165995
Nieuwbouw-8.179007485603416.93058-1.18010.2444350.122217







Multiple Linear Regression - Regression Statistics
Multiple R0.754739307243435
R-squared0.5696314218983
Adjusted R-squared0.519588563979497
F-TEST (value)11.3828715143040
F-TEST (DF numerator)5
F-TEST (DF denominator)43
p-value4.94771190018284e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.6986735197444
Sum Squared Residuals18422.7086755096

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.754739307243435 \tabularnewline
R-squared & 0.5696314218983 \tabularnewline
Adjusted R-squared & 0.519588563979497 \tabularnewline
F-TEST (value) & 11.3828715143040 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 4.94771190018284e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 20.6986735197444 \tabularnewline
Sum Squared Residuals & 18422.7086755096 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99307&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.754739307243435[/C][/ROW]
[ROW][C]R-squared[/C][C]0.5696314218983[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.519588563979497[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]11.3828715143040[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]4.94771190018284e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]20.6986735197444[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]18422.7086755096[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99307&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99307&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.754739307243435
R-squared0.5696314218983
Adjusted R-squared0.519588563979497
F-TEST (value)11.3828715143040
F-TEST (DF numerator)5
F-TEST (DF denominator)43
p-value4.94771190018284e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.6986735197444
Sum Squared Residuals18422.7086755096







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
16089.230052289517-29.2300522895171
26769.7141029422292-2.71410294222919
39190.78032982790720.219670172092798
415091.632347995058758.3676520049413
5110119.397237361605-9.39723736160492
68699.805311889947-13.8053118899470
786105.075937774886-19.0759377748855
8145124.26031463167220.7396853683281
9150135.78474626208814.2152537379124
108589.4508305122292-4.45083051222923
1110092.19653256605467.80346743394542
128499.5264349913622-15.5264349913622
139494.1691056839542-0.169105683954195
14149109.86616940444239.1338305955581
15105124.202215955799-19.2022159557993
16106107.211190439625-1.21119043962463
17132125.4883635602436.51163643975744
18130121.7128296446778.28717035532286
19165136.55787519801328.4421248019866
20127127.262332428201-0.262332428200508
21119120.311373871168-1.31137387116772
22126145.539505548818-19.5395055488184
23133134.126587562764-1.12658756276389
248988.77915196341080.220848036589164
25147130.43814425277916.5618557472210
265956.73011686243142.26988313756857
275873.0702543851408-15.0702543851408
285673.0702543851408-17.0702543851408
2990100.433638727531-10.4336387275306
308078.0093077795781.99069222042207
31135126.0988129493298.9011870506712
32125115.4009252233279.59907477667266
338074.94919130717675.05080869282329
3410096.32983261143063.67016738856944
357692.8543533329142-16.8543533329142
366565.6389015727259-0.638901572725882
377588.0346277740819-13.0346277740818
389589.50892918810195.49107081189812
398596.3298326114306-11.3298326114306
4010678.00930777957827.9906922204221
41135123.74350143844911.2564985615506
429587.95865164971187.04134835028825
4360104.552191808269-44.5521918082687
44112110.7881201052481.21187989475162
45150110.05834288055739.9416571194427
46100127.070158952085-27.0701589520851
47125117.5656718173427.43432818265764
48100147.168672318434-47.1686723184343
49150142.1073779815377.89262201846325

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 60 & 89.230052289517 & -29.2300522895171 \tabularnewline
2 & 67 & 69.7141029422292 & -2.71410294222919 \tabularnewline
3 & 91 & 90.7803298279072 & 0.219670172092798 \tabularnewline
4 & 150 & 91.6323479950587 & 58.3676520049413 \tabularnewline
5 & 110 & 119.397237361605 & -9.39723736160492 \tabularnewline
6 & 86 & 99.805311889947 & -13.8053118899470 \tabularnewline
7 & 86 & 105.075937774886 & -19.0759377748855 \tabularnewline
8 & 145 & 124.260314631672 & 20.7396853683281 \tabularnewline
9 & 150 & 135.784746262088 & 14.2152537379124 \tabularnewline
10 & 85 & 89.4508305122292 & -4.45083051222923 \tabularnewline
11 & 100 & 92.1965325660546 & 7.80346743394542 \tabularnewline
12 & 84 & 99.5264349913622 & -15.5264349913622 \tabularnewline
13 & 94 & 94.1691056839542 & -0.169105683954195 \tabularnewline
14 & 149 & 109.866169404442 & 39.1338305955581 \tabularnewline
15 & 105 & 124.202215955799 & -19.2022159557993 \tabularnewline
16 & 106 & 107.211190439625 & -1.21119043962463 \tabularnewline
17 & 132 & 125.488363560243 & 6.51163643975744 \tabularnewline
18 & 130 & 121.712829644677 & 8.28717035532286 \tabularnewline
19 & 165 & 136.557875198013 & 28.4421248019866 \tabularnewline
20 & 127 & 127.262332428201 & -0.262332428200508 \tabularnewline
21 & 119 & 120.311373871168 & -1.31137387116772 \tabularnewline
22 & 126 & 145.539505548818 & -19.5395055488184 \tabularnewline
23 & 133 & 134.126587562764 & -1.12658756276389 \tabularnewline
24 & 89 & 88.7791519634108 & 0.220848036589164 \tabularnewline
25 & 147 & 130.438144252779 & 16.5618557472210 \tabularnewline
26 & 59 & 56.7301168624314 & 2.26988313756857 \tabularnewline
27 & 58 & 73.0702543851408 & -15.0702543851408 \tabularnewline
28 & 56 & 73.0702543851408 & -17.0702543851408 \tabularnewline
29 & 90 & 100.433638727531 & -10.4336387275306 \tabularnewline
30 & 80 & 78.009307779578 & 1.99069222042207 \tabularnewline
31 & 135 & 126.098812949329 & 8.9011870506712 \tabularnewline
32 & 125 & 115.400925223327 & 9.59907477667266 \tabularnewline
33 & 80 & 74.9491913071767 & 5.05080869282329 \tabularnewline
34 & 100 & 96.3298326114306 & 3.67016738856944 \tabularnewline
35 & 76 & 92.8543533329142 & -16.8543533329142 \tabularnewline
36 & 65 & 65.6389015727259 & -0.638901572725882 \tabularnewline
37 & 75 & 88.0346277740819 & -13.0346277740818 \tabularnewline
38 & 95 & 89.5089291881019 & 5.49107081189812 \tabularnewline
39 & 85 & 96.3298326114306 & -11.3298326114306 \tabularnewline
40 & 106 & 78.009307779578 & 27.9906922204221 \tabularnewline
41 & 135 & 123.743501438449 & 11.2564985615506 \tabularnewline
42 & 95 & 87.9586516497118 & 7.04134835028825 \tabularnewline
43 & 60 & 104.552191808269 & -44.5521918082687 \tabularnewline
44 & 112 & 110.788120105248 & 1.21187989475162 \tabularnewline
45 & 150 & 110.058342880557 & 39.9416571194427 \tabularnewline
46 & 100 & 127.070158952085 & -27.0701589520851 \tabularnewline
47 & 125 & 117.565671817342 & 7.43432818265764 \tabularnewline
48 & 100 & 147.168672318434 & -47.1686723184343 \tabularnewline
49 & 150 & 142.107377981537 & 7.89262201846325 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99307&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]60[/C][C]89.230052289517[/C][C]-29.2300522895171[/C][/ROW]
[ROW][C]2[/C][C]67[/C][C]69.7141029422292[/C][C]-2.71410294222919[/C][/ROW]
[ROW][C]3[/C][C]91[/C][C]90.7803298279072[/C][C]0.219670172092798[/C][/ROW]
[ROW][C]4[/C][C]150[/C][C]91.6323479950587[/C][C]58.3676520049413[/C][/ROW]
[ROW][C]5[/C][C]110[/C][C]119.397237361605[/C][C]-9.39723736160492[/C][/ROW]
[ROW][C]6[/C][C]86[/C][C]99.805311889947[/C][C]-13.8053118899470[/C][/ROW]
[ROW][C]7[/C][C]86[/C][C]105.075937774886[/C][C]-19.0759377748855[/C][/ROW]
[ROW][C]8[/C][C]145[/C][C]124.260314631672[/C][C]20.7396853683281[/C][/ROW]
[ROW][C]9[/C][C]150[/C][C]135.784746262088[/C][C]14.2152537379124[/C][/ROW]
[ROW][C]10[/C][C]85[/C][C]89.4508305122292[/C][C]-4.45083051222923[/C][/ROW]
[ROW][C]11[/C][C]100[/C][C]92.1965325660546[/C][C]7.80346743394542[/C][/ROW]
[ROW][C]12[/C][C]84[/C][C]99.5264349913622[/C][C]-15.5264349913622[/C][/ROW]
[ROW][C]13[/C][C]94[/C][C]94.1691056839542[/C][C]-0.169105683954195[/C][/ROW]
[ROW][C]14[/C][C]149[/C][C]109.866169404442[/C][C]39.1338305955581[/C][/ROW]
[ROW][C]15[/C][C]105[/C][C]124.202215955799[/C][C]-19.2022159557993[/C][/ROW]
[ROW][C]16[/C][C]106[/C][C]107.211190439625[/C][C]-1.21119043962463[/C][/ROW]
[ROW][C]17[/C][C]132[/C][C]125.488363560243[/C][C]6.51163643975744[/C][/ROW]
[ROW][C]18[/C][C]130[/C][C]121.712829644677[/C][C]8.28717035532286[/C][/ROW]
[ROW][C]19[/C][C]165[/C][C]136.557875198013[/C][C]28.4421248019866[/C][/ROW]
[ROW][C]20[/C][C]127[/C][C]127.262332428201[/C][C]-0.262332428200508[/C][/ROW]
[ROW][C]21[/C][C]119[/C][C]120.311373871168[/C][C]-1.31137387116772[/C][/ROW]
[ROW][C]22[/C][C]126[/C][C]145.539505548818[/C][C]-19.5395055488184[/C][/ROW]
[ROW][C]23[/C][C]133[/C][C]134.126587562764[/C][C]-1.12658756276389[/C][/ROW]
[ROW][C]24[/C][C]89[/C][C]88.7791519634108[/C][C]0.220848036589164[/C][/ROW]
[ROW][C]25[/C][C]147[/C][C]130.438144252779[/C][C]16.5618557472210[/C][/ROW]
[ROW][C]26[/C][C]59[/C][C]56.7301168624314[/C][C]2.26988313756857[/C][/ROW]
[ROW][C]27[/C][C]58[/C][C]73.0702543851408[/C][C]-15.0702543851408[/C][/ROW]
[ROW][C]28[/C][C]56[/C][C]73.0702543851408[/C][C]-17.0702543851408[/C][/ROW]
[ROW][C]29[/C][C]90[/C][C]100.433638727531[/C][C]-10.4336387275306[/C][/ROW]
[ROW][C]30[/C][C]80[/C][C]78.009307779578[/C][C]1.99069222042207[/C][/ROW]
[ROW][C]31[/C][C]135[/C][C]126.098812949329[/C][C]8.9011870506712[/C][/ROW]
[ROW][C]32[/C][C]125[/C][C]115.400925223327[/C][C]9.59907477667266[/C][/ROW]
[ROW][C]33[/C][C]80[/C][C]74.9491913071767[/C][C]5.05080869282329[/C][/ROW]
[ROW][C]34[/C][C]100[/C][C]96.3298326114306[/C][C]3.67016738856944[/C][/ROW]
[ROW][C]35[/C][C]76[/C][C]92.8543533329142[/C][C]-16.8543533329142[/C][/ROW]
[ROW][C]36[/C][C]65[/C][C]65.6389015727259[/C][C]-0.638901572725882[/C][/ROW]
[ROW][C]37[/C][C]75[/C][C]88.0346277740819[/C][C]-13.0346277740818[/C][/ROW]
[ROW][C]38[/C][C]95[/C][C]89.5089291881019[/C][C]5.49107081189812[/C][/ROW]
[ROW][C]39[/C][C]85[/C][C]96.3298326114306[/C][C]-11.3298326114306[/C][/ROW]
[ROW][C]40[/C][C]106[/C][C]78.009307779578[/C][C]27.9906922204221[/C][/ROW]
[ROW][C]41[/C][C]135[/C][C]123.743501438449[/C][C]11.2564985615506[/C][/ROW]
[ROW][C]42[/C][C]95[/C][C]87.9586516497118[/C][C]7.04134835028825[/C][/ROW]
[ROW][C]43[/C][C]60[/C][C]104.552191808269[/C][C]-44.5521918082687[/C][/ROW]
[ROW][C]44[/C][C]112[/C][C]110.788120105248[/C][C]1.21187989475162[/C][/ROW]
[ROW][C]45[/C][C]150[/C][C]110.058342880557[/C][C]39.9416571194427[/C][/ROW]
[ROW][C]46[/C][C]100[/C][C]127.070158952085[/C][C]-27.0701589520851[/C][/ROW]
[ROW][C]47[/C][C]125[/C][C]117.565671817342[/C][C]7.43432818265764[/C][/ROW]
[ROW][C]48[/C][C]100[/C][C]147.168672318434[/C][C]-47.1686723184343[/C][/ROW]
[ROW][C]49[/C][C]150[/C][C]142.107377981537[/C][C]7.89262201846325[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99307&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99307&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
16089.230052289517-29.2300522895171
26769.7141029422292-2.71410294222919
39190.78032982790720.219670172092798
415091.632347995058758.3676520049413
5110119.397237361605-9.39723736160492
68699.805311889947-13.8053118899470
786105.075937774886-19.0759377748855
8145124.26031463167220.7396853683281
9150135.78474626208814.2152537379124
108589.4508305122292-4.45083051222923
1110092.19653256605467.80346743394542
128499.5264349913622-15.5264349913622
139494.1691056839542-0.169105683954195
14149109.86616940444239.1338305955581
15105124.202215955799-19.2022159557993
16106107.211190439625-1.21119043962463
17132125.4883635602436.51163643975744
18130121.7128296446778.28717035532286
19165136.55787519801328.4421248019866
20127127.262332428201-0.262332428200508
21119120.311373871168-1.31137387116772
22126145.539505548818-19.5395055488184
23133134.126587562764-1.12658756276389
248988.77915196341080.220848036589164
25147130.43814425277916.5618557472210
265956.73011686243142.26988313756857
275873.0702543851408-15.0702543851408
285673.0702543851408-17.0702543851408
2990100.433638727531-10.4336387275306
308078.0093077795781.99069222042207
31135126.0988129493298.9011870506712
32125115.4009252233279.59907477667266
338074.94919130717675.05080869282329
3410096.32983261143063.67016738856944
357692.8543533329142-16.8543533329142
366565.6389015727259-0.638901572725882
377588.0346277740819-13.0346277740818
389589.50892918810195.49107081189812
398596.3298326114306-11.3298326114306
4010678.00930777957827.9906922204221
41135123.74350143844911.2564985615506
429587.95865164971187.04134835028825
4360104.552191808269-44.5521918082687
44112110.7881201052481.21187989475162
45150110.05834288055739.9416571194427
46100127.070158952085-27.0701589520851
47125117.5656718173427.43432818265764
48100147.168672318434-47.1686723184343
49150142.1073779815377.89262201846325







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.6395350371896420.7209299256207150.360464962810358
100.4742285923171220.9484571846342450.525771407682878
110.3318116383009850.663623276601970.668188361699015
120.2331134062426430.4662268124852860.766886593757357
130.1718119731727000.3436239463453990.8281880268273
140.2240109234306960.4480218468613920.775989076569304
150.4027288599758480.8054577199516960.597271140024152
160.3598928709909390.7197857419818790.64010712900906
170.3183090376127560.6366180752255110.681690962387244
180.5371399722647970.9257200554704060.462860027735203
190.5612209142608160.8775581714783680.438779085739184
200.5748934363768370.8502131272463270.425106563623163
210.4789098013396130.9578196026792250.521090198660387
220.5195638052670910.9608723894658170.480436194732909
230.4693722373627040.9387444747254070.530627762637296
240.4463405149062150.892681029812430.553659485093785
250.434928052241240.869856104482480.56507194775876
260.384688418950920.769376837901840.61531158104908
270.3401327600397220.6802655200794440.659867239960278
280.3656297581799900.7312595163599810.63437024182001
290.3267313061708560.6534626123417130.673268693829144
300.2644786557348930.5289573114697860.735521344265107
310.2237209277503340.4474418555006680.776279072249666
320.2555626838723380.5111253677446760.744437316127662
330.1965344137063650.3930688274127290.803465586293635
340.1368404244897020.2736808489794040.863159575510298
350.2482968411729240.4965936823458470.751703158827076
360.1930298064075090.3860596128150170.806970193592491
370.1279099543676050.2558199087352110.872090045632395
380.07626288740269750.1525257748053950.923737112597303
390.0937741904669380.1875483809338760.906225809533062
400.0754300865308880.1508601730617760.924569913469112

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.639535037189642 & 0.720929925620715 & 0.360464962810358 \tabularnewline
10 & 0.474228592317122 & 0.948457184634245 & 0.525771407682878 \tabularnewline
11 & 0.331811638300985 & 0.66362327660197 & 0.668188361699015 \tabularnewline
12 & 0.233113406242643 & 0.466226812485286 & 0.766886593757357 \tabularnewline
13 & 0.171811973172700 & 0.343623946345399 & 0.8281880268273 \tabularnewline
14 & 0.224010923430696 & 0.448021846861392 & 0.775989076569304 \tabularnewline
15 & 0.402728859975848 & 0.805457719951696 & 0.597271140024152 \tabularnewline
16 & 0.359892870990939 & 0.719785741981879 & 0.64010712900906 \tabularnewline
17 & 0.318309037612756 & 0.636618075225511 & 0.681690962387244 \tabularnewline
18 & 0.537139972264797 & 0.925720055470406 & 0.462860027735203 \tabularnewline
19 & 0.561220914260816 & 0.877558171478368 & 0.438779085739184 \tabularnewline
20 & 0.574893436376837 & 0.850213127246327 & 0.425106563623163 \tabularnewline
21 & 0.478909801339613 & 0.957819602679225 & 0.521090198660387 \tabularnewline
22 & 0.519563805267091 & 0.960872389465817 & 0.480436194732909 \tabularnewline
23 & 0.469372237362704 & 0.938744474725407 & 0.530627762637296 \tabularnewline
24 & 0.446340514906215 & 0.89268102981243 & 0.553659485093785 \tabularnewline
25 & 0.43492805224124 & 0.86985610448248 & 0.56507194775876 \tabularnewline
26 & 0.38468841895092 & 0.76937683790184 & 0.61531158104908 \tabularnewline
27 & 0.340132760039722 & 0.680265520079444 & 0.659867239960278 \tabularnewline
28 & 0.365629758179990 & 0.731259516359981 & 0.63437024182001 \tabularnewline
29 & 0.326731306170856 & 0.653462612341713 & 0.673268693829144 \tabularnewline
30 & 0.264478655734893 & 0.528957311469786 & 0.735521344265107 \tabularnewline
31 & 0.223720927750334 & 0.447441855500668 & 0.776279072249666 \tabularnewline
32 & 0.255562683872338 & 0.511125367744676 & 0.744437316127662 \tabularnewline
33 & 0.196534413706365 & 0.393068827412729 & 0.803465586293635 \tabularnewline
34 & 0.136840424489702 & 0.273680848979404 & 0.863159575510298 \tabularnewline
35 & 0.248296841172924 & 0.496593682345847 & 0.751703158827076 \tabularnewline
36 & 0.193029806407509 & 0.386059612815017 & 0.806970193592491 \tabularnewline
37 & 0.127909954367605 & 0.255819908735211 & 0.872090045632395 \tabularnewline
38 & 0.0762628874026975 & 0.152525774805395 & 0.923737112597303 \tabularnewline
39 & 0.093774190466938 & 0.187548380933876 & 0.906225809533062 \tabularnewline
40 & 0.075430086530888 & 0.150860173061776 & 0.924569913469112 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99307&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]9[/C][C]0.639535037189642[/C][C]0.720929925620715[/C][C]0.360464962810358[/C][/ROW]
[ROW][C]10[/C][C]0.474228592317122[/C][C]0.948457184634245[/C][C]0.525771407682878[/C][/ROW]
[ROW][C]11[/C][C]0.331811638300985[/C][C]0.66362327660197[/C][C]0.668188361699015[/C][/ROW]
[ROW][C]12[/C][C]0.233113406242643[/C][C]0.466226812485286[/C][C]0.766886593757357[/C][/ROW]
[ROW][C]13[/C][C]0.171811973172700[/C][C]0.343623946345399[/C][C]0.8281880268273[/C][/ROW]
[ROW][C]14[/C][C]0.224010923430696[/C][C]0.448021846861392[/C][C]0.775989076569304[/C][/ROW]
[ROW][C]15[/C][C]0.402728859975848[/C][C]0.805457719951696[/C][C]0.597271140024152[/C][/ROW]
[ROW][C]16[/C][C]0.359892870990939[/C][C]0.719785741981879[/C][C]0.64010712900906[/C][/ROW]
[ROW][C]17[/C][C]0.318309037612756[/C][C]0.636618075225511[/C][C]0.681690962387244[/C][/ROW]
[ROW][C]18[/C][C]0.537139972264797[/C][C]0.925720055470406[/C][C]0.462860027735203[/C][/ROW]
[ROW][C]19[/C][C]0.561220914260816[/C][C]0.877558171478368[/C][C]0.438779085739184[/C][/ROW]
[ROW][C]20[/C][C]0.574893436376837[/C][C]0.850213127246327[/C][C]0.425106563623163[/C][/ROW]
[ROW][C]21[/C][C]0.478909801339613[/C][C]0.957819602679225[/C][C]0.521090198660387[/C][/ROW]
[ROW][C]22[/C][C]0.519563805267091[/C][C]0.960872389465817[/C][C]0.480436194732909[/C][/ROW]
[ROW][C]23[/C][C]0.469372237362704[/C][C]0.938744474725407[/C][C]0.530627762637296[/C][/ROW]
[ROW][C]24[/C][C]0.446340514906215[/C][C]0.89268102981243[/C][C]0.553659485093785[/C][/ROW]
[ROW][C]25[/C][C]0.43492805224124[/C][C]0.86985610448248[/C][C]0.56507194775876[/C][/ROW]
[ROW][C]26[/C][C]0.38468841895092[/C][C]0.76937683790184[/C][C]0.61531158104908[/C][/ROW]
[ROW][C]27[/C][C]0.340132760039722[/C][C]0.680265520079444[/C][C]0.659867239960278[/C][/ROW]
[ROW][C]28[/C][C]0.365629758179990[/C][C]0.731259516359981[/C][C]0.63437024182001[/C][/ROW]
[ROW][C]29[/C][C]0.326731306170856[/C][C]0.653462612341713[/C][C]0.673268693829144[/C][/ROW]
[ROW][C]30[/C][C]0.264478655734893[/C][C]0.528957311469786[/C][C]0.735521344265107[/C][/ROW]
[ROW][C]31[/C][C]0.223720927750334[/C][C]0.447441855500668[/C][C]0.776279072249666[/C][/ROW]
[ROW][C]32[/C][C]0.255562683872338[/C][C]0.511125367744676[/C][C]0.744437316127662[/C][/ROW]
[ROW][C]33[/C][C]0.196534413706365[/C][C]0.393068827412729[/C][C]0.803465586293635[/C][/ROW]
[ROW][C]34[/C][C]0.136840424489702[/C][C]0.273680848979404[/C][C]0.863159575510298[/C][/ROW]
[ROW][C]35[/C][C]0.248296841172924[/C][C]0.496593682345847[/C][C]0.751703158827076[/C][/ROW]
[ROW][C]36[/C][C]0.193029806407509[/C][C]0.386059612815017[/C][C]0.806970193592491[/C][/ROW]
[ROW][C]37[/C][C]0.127909954367605[/C][C]0.255819908735211[/C][C]0.872090045632395[/C][/ROW]
[ROW][C]38[/C][C]0.0762628874026975[/C][C]0.152525774805395[/C][C]0.923737112597303[/C][/ROW]
[ROW][C]39[/C][C]0.093774190466938[/C][C]0.187548380933876[/C][C]0.906225809533062[/C][/ROW]
[ROW][C]40[/C][C]0.075430086530888[/C][C]0.150860173061776[/C][C]0.924569913469112[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99307&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99307&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
90.6395350371896420.7209299256207150.360464962810358
100.4742285923171220.9484571846342450.525771407682878
110.3318116383009850.663623276601970.668188361699015
120.2331134062426430.4662268124852860.766886593757357
130.1718119731727000.3436239463453990.8281880268273
140.2240109234306960.4480218468613920.775989076569304
150.4027288599758480.8054577199516960.597271140024152
160.3598928709909390.7197857419818790.64010712900906
170.3183090376127560.6366180752255110.681690962387244
180.5371399722647970.9257200554704060.462860027735203
190.5612209142608160.8775581714783680.438779085739184
200.5748934363768370.8502131272463270.425106563623163
210.4789098013396130.9578196026792250.521090198660387
220.5195638052670910.9608723894658170.480436194732909
230.4693722373627040.9387444747254070.530627762637296
240.4463405149062150.892681029812430.553659485093785
250.434928052241240.869856104482480.56507194775876
260.384688418950920.769376837901840.61531158104908
270.3401327600397220.6802655200794440.659867239960278
280.3656297581799900.7312595163599810.63437024182001
290.3267313061708560.6534626123417130.673268693829144
300.2644786557348930.5289573114697860.735521344265107
310.2237209277503340.4474418555006680.776279072249666
320.2555626838723380.5111253677446760.744437316127662
330.1965344137063650.3930688274127290.803465586293635
340.1368404244897020.2736808489794040.863159575510298
350.2482968411729240.4965936823458470.751703158827076
360.1930298064075090.3860596128150170.806970193592491
370.1279099543676050.2558199087352110.872090045632395
380.07626288740269750.1525257748053950.923737112597303
390.0937741904669380.1875483809338760.906225809533062
400.0754300865308880.1508601730617760.924569913469112







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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