Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 21 Nov 2011 09:40:09 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Nov/21/t1321886435txflf91t01wja9x.htm/, Retrieved Thu, 25 Apr 2024 23:39:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=145764, Retrieved Thu, 25 Apr 2024 23:39:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2011-11-21 12:05:30] [aba4febe8a2e49e81bdc61a6c01f5c21]
- R  D    [Multiple Regression] [] [2011-11-21 14:40:09] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
21.8	74.5	22
21.5	74.6	21.8
21.3	75.5	21.5
21.1	76.9	21.3
21.2	76.3	21.1
21	73.8	21.2
20.8	73.4	21
20.5	75.8	20.8
20.4	76.9	20.5
20.1	73.2	20.4
19.9	72.1	20.1
19.6	74.3	19.9
19.4	73.1	19.6
19.2	72.2	19.4
19.1	69.4	19.2
19.1	70.8	19.1
18.9	71.1	19.1
18.7	71.2	18.9
18.7	70.6	18.7
18.7	71.1	18.7
18.4	70.3	18.7
18.4	68.3	18.4
18.3	68.9	18.4
18.4	71.9	18.3
18.3	73.3	18.4
18.3	70.9	18.3
18	70	18.3
17.7	65.5	18
17.7	70.1	17.7
17.9	66.6	17.7
17.6	67.4	17.9
17.7	67.8	17.6
17.4	69.4	17.7
17.1	69.4	17.4
16.8	66.7	17.1
16.5	65	16.8
16.2	63.1	16.5
15.8	65	16.2
15.5	63.9	15.8
15.2	63	15.5
14.9	62.2	15.2
14.6	61.4	14.9
14.4	61	14.6
14.5	58.8	14.4
14.2	61	14.5




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

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

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







Multiple Linear Regression - Estimated Regression Equation
Constant[t] = -0.731267597549556 + 0.0146779012617584Mortality[t] + 0.974896174406623Marriages[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Constant[t] =  -0.731267597549556 +  0.0146779012617584Mortality[t] +  0.974896174406623Marriages[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145764&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Constant[t] =  -0.731267597549556 +  0.0146779012617584Mortality[t] +  0.974896174406623Marriages[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145764&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145764&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
Constant[t] = -0.731267597549556 + 0.0146779012617584Mortality[t] + 0.974896174406623Marriages[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-0.7312675975495560.485997-1.50470.1398910.069946
Mortality0.01467790126175840.0149490.98180.3317980.165899
Marriages0.9748961744066230.03429228.429400

\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) & -0.731267597549556 & 0.485997 & -1.5047 & 0.139891 & 0.069946 \tabularnewline
Mortality & 0.0146779012617584 & 0.014949 & 0.9818 & 0.331798 & 0.165899 \tabularnewline
Marriages & 0.974896174406623 & 0.034292 & 28.4294 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145764&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]-0.731267597549556[/C][C]0.485997[/C][C]-1.5047[/C][C]0.139891[/C][C]0.069946[/C][/ROW]
[ROW][C]Mortality[/C][C]0.0146779012617584[/C][C]0.014949[/C][C]0.9818[/C][C]0.331798[/C][C]0.165899[/C][/ROW]
[ROW][C]Marriages[/C][C]0.974896174406623[/C][C]0.034292[/C][C]28.4294[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145764&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145764&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)-0.7312675975495560.485997-1.50470.1398910.069946
Mortality0.01467790126175840.0149490.98180.3317980.165899
Marriages0.9748961744066230.03429228.429400







Multiple Linear Regression - Regression Statistics
Multiple R0.997495961281934
R-squared0.99499819277377
Adjusted R-squared0.994760011477283
F-TEST (value)4177.48247846739
F-TEST (DF numerator)2
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.15097980924285
Sum Squared Residuals0.957385917558312

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.997495961281934 \tabularnewline
R-squared & 0.99499819277377 \tabularnewline
Adjusted R-squared & 0.994760011477283 \tabularnewline
F-TEST (value) & 4177.48247846739 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.15097980924285 \tabularnewline
Sum Squared Residuals & 0.957385917558312 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145764&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.997495961281934[/C][/ROW]
[ROW][C]R-squared[/C][C]0.99499819277377[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.994760011477283[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4177.48247846739[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.15097980924285[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.957385917558312[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145764&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145764&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.997495961281934
R-squared0.99499819277377
Adjusted R-squared0.994760011477283
F-TEST (value)4177.48247846739
F-TEST (DF numerator)2
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.15097980924285
Sum Squared Residuals0.957385917558312







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
121.821.8099518833972-0.00995188339717043
221.521.616440438642-0.116440438642015
321.321.3371816974556-0.0371816974556087
421.121.1627515243407-0.0627515243407455
521.220.95896554870240.241034451297631
62121.0197604129886-0.0197604129886322
720.820.8189100176026-0.0189100176026043
820.520.6591577457495-0.159157745749501
920.420.38283458481540.0171654151845516
1020.120.2310367327063-0.131036732706276
1119.919.9224221889964-0.0224221889963603
1219.619.7597343368909-0.159734336890898
1319.419.4496520030548-0.0496520030548071
1419.219.2414626570379-0.0414626570378964
1519.119.00538529862360.0946147013763532
1619.118.92844474294940.171555257050552
1718.918.932848113328-0.0328481133279784
1818.718.7393366685728-0.0393366685728262
1918.718.53555069293440.164449307065553
2018.718.54288964356530.157110356434674
2118.418.5311473225559-0.13114732255592
2218.418.20932266771040.190677332289584
2318.318.21812940846750.0818705915325312
2418.418.16467349481210.235326505187914
2518.318.28271217401920.0172878259807946
2618.318.14999559355030.150004406449675
271818.1367854824147-0.136785482414743
2817.717.7782660744148-0.0782660744148438
2917.717.55331556789690.146684432103056
3017.917.50194291348080.398057086519209
3117.617.7086644693715-0.108664469371519
3217.717.42206677755420.27793322244576
3317.417.5430410370137-0.143041037013714
3417.117.2505721846917-0.150572184691724
3516.816.918472998963-0.118472998962992
3616.516.601051714496-0.101051714496016
3716.216.2806948497767-0.0806948497766884
3815.816.016114009852-0.21611400985204
3915.515.6100098487015-0.110009848701459
4015.215.3043308852439-0.104330885243889
4114.915.0001197119125-0.100119711912494
4214.614.6959085385811-0.0959085385811016
4314.414.39756852575440.00243147424559064
4414.514.17029790809720.329702091902783
4514.214.3000789083137-0.100078908313748

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 21.8 & 21.8099518833972 & -0.00995188339717043 \tabularnewline
2 & 21.5 & 21.616440438642 & -0.116440438642015 \tabularnewline
3 & 21.3 & 21.3371816974556 & -0.0371816974556087 \tabularnewline
4 & 21.1 & 21.1627515243407 & -0.0627515243407455 \tabularnewline
5 & 21.2 & 20.9589655487024 & 0.241034451297631 \tabularnewline
6 & 21 & 21.0197604129886 & -0.0197604129886322 \tabularnewline
7 & 20.8 & 20.8189100176026 & -0.0189100176026043 \tabularnewline
8 & 20.5 & 20.6591577457495 & -0.159157745749501 \tabularnewline
9 & 20.4 & 20.3828345848154 & 0.0171654151845516 \tabularnewline
10 & 20.1 & 20.2310367327063 & -0.131036732706276 \tabularnewline
11 & 19.9 & 19.9224221889964 & -0.0224221889963603 \tabularnewline
12 & 19.6 & 19.7597343368909 & -0.159734336890898 \tabularnewline
13 & 19.4 & 19.4496520030548 & -0.0496520030548071 \tabularnewline
14 & 19.2 & 19.2414626570379 & -0.0414626570378964 \tabularnewline
15 & 19.1 & 19.0053852986236 & 0.0946147013763532 \tabularnewline
16 & 19.1 & 18.9284447429494 & 0.171555257050552 \tabularnewline
17 & 18.9 & 18.932848113328 & -0.0328481133279784 \tabularnewline
18 & 18.7 & 18.7393366685728 & -0.0393366685728262 \tabularnewline
19 & 18.7 & 18.5355506929344 & 0.164449307065553 \tabularnewline
20 & 18.7 & 18.5428896435653 & 0.157110356434674 \tabularnewline
21 & 18.4 & 18.5311473225559 & -0.13114732255592 \tabularnewline
22 & 18.4 & 18.2093226677104 & 0.190677332289584 \tabularnewline
23 & 18.3 & 18.2181294084675 & 0.0818705915325312 \tabularnewline
24 & 18.4 & 18.1646734948121 & 0.235326505187914 \tabularnewline
25 & 18.3 & 18.2827121740192 & 0.0172878259807946 \tabularnewline
26 & 18.3 & 18.1499955935503 & 0.150004406449675 \tabularnewline
27 & 18 & 18.1367854824147 & -0.136785482414743 \tabularnewline
28 & 17.7 & 17.7782660744148 & -0.0782660744148438 \tabularnewline
29 & 17.7 & 17.5533155678969 & 0.146684432103056 \tabularnewline
30 & 17.9 & 17.5019429134808 & 0.398057086519209 \tabularnewline
31 & 17.6 & 17.7086644693715 & -0.108664469371519 \tabularnewline
32 & 17.7 & 17.4220667775542 & 0.27793322244576 \tabularnewline
33 & 17.4 & 17.5430410370137 & -0.143041037013714 \tabularnewline
34 & 17.1 & 17.2505721846917 & -0.150572184691724 \tabularnewline
35 & 16.8 & 16.918472998963 & -0.118472998962992 \tabularnewline
36 & 16.5 & 16.601051714496 & -0.101051714496016 \tabularnewline
37 & 16.2 & 16.2806948497767 & -0.0806948497766884 \tabularnewline
38 & 15.8 & 16.016114009852 & -0.21611400985204 \tabularnewline
39 & 15.5 & 15.6100098487015 & -0.110009848701459 \tabularnewline
40 & 15.2 & 15.3043308852439 & -0.104330885243889 \tabularnewline
41 & 14.9 & 15.0001197119125 & -0.100119711912494 \tabularnewline
42 & 14.6 & 14.6959085385811 & -0.0959085385811016 \tabularnewline
43 & 14.4 & 14.3975685257544 & 0.00243147424559064 \tabularnewline
44 & 14.5 & 14.1702979080972 & 0.329702091902783 \tabularnewline
45 & 14.2 & 14.3000789083137 & -0.100078908313748 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145764&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]21.8[/C][C]21.8099518833972[/C][C]-0.00995188339717043[/C][/ROW]
[ROW][C]2[/C][C]21.5[/C][C]21.616440438642[/C][C]-0.116440438642015[/C][/ROW]
[ROW][C]3[/C][C]21.3[/C][C]21.3371816974556[/C][C]-0.0371816974556087[/C][/ROW]
[ROW][C]4[/C][C]21.1[/C][C]21.1627515243407[/C][C]-0.0627515243407455[/C][/ROW]
[ROW][C]5[/C][C]21.2[/C][C]20.9589655487024[/C][C]0.241034451297631[/C][/ROW]
[ROW][C]6[/C][C]21[/C][C]21.0197604129886[/C][C]-0.0197604129886322[/C][/ROW]
[ROW][C]7[/C][C]20.8[/C][C]20.8189100176026[/C][C]-0.0189100176026043[/C][/ROW]
[ROW][C]8[/C][C]20.5[/C][C]20.6591577457495[/C][C]-0.159157745749501[/C][/ROW]
[ROW][C]9[/C][C]20.4[/C][C]20.3828345848154[/C][C]0.0171654151845516[/C][/ROW]
[ROW][C]10[/C][C]20.1[/C][C]20.2310367327063[/C][C]-0.131036732706276[/C][/ROW]
[ROW][C]11[/C][C]19.9[/C][C]19.9224221889964[/C][C]-0.0224221889963603[/C][/ROW]
[ROW][C]12[/C][C]19.6[/C][C]19.7597343368909[/C][C]-0.159734336890898[/C][/ROW]
[ROW][C]13[/C][C]19.4[/C][C]19.4496520030548[/C][C]-0.0496520030548071[/C][/ROW]
[ROW][C]14[/C][C]19.2[/C][C]19.2414626570379[/C][C]-0.0414626570378964[/C][/ROW]
[ROW][C]15[/C][C]19.1[/C][C]19.0053852986236[/C][C]0.0946147013763532[/C][/ROW]
[ROW][C]16[/C][C]19.1[/C][C]18.9284447429494[/C][C]0.171555257050552[/C][/ROW]
[ROW][C]17[/C][C]18.9[/C][C]18.932848113328[/C][C]-0.0328481133279784[/C][/ROW]
[ROW][C]18[/C][C]18.7[/C][C]18.7393366685728[/C][C]-0.0393366685728262[/C][/ROW]
[ROW][C]19[/C][C]18.7[/C][C]18.5355506929344[/C][C]0.164449307065553[/C][/ROW]
[ROW][C]20[/C][C]18.7[/C][C]18.5428896435653[/C][C]0.157110356434674[/C][/ROW]
[ROW][C]21[/C][C]18.4[/C][C]18.5311473225559[/C][C]-0.13114732255592[/C][/ROW]
[ROW][C]22[/C][C]18.4[/C][C]18.2093226677104[/C][C]0.190677332289584[/C][/ROW]
[ROW][C]23[/C][C]18.3[/C][C]18.2181294084675[/C][C]0.0818705915325312[/C][/ROW]
[ROW][C]24[/C][C]18.4[/C][C]18.1646734948121[/C][C]0.235326505187914[/C][/ROW]
[ROW][C]25[/C][C]18.3[/C][C]18.2827121740192[/C][C]0.0172878259807946[/C][/ROW]
[ROW][C]26[/C][C]18.3[/C][C]18.1499955935503[/C][C]0.150004406449675[/C][/ROW]
[ROW][C]27[/C][C]18[/C][C]18.1367854824147[/C][C]-0.136785482414743[/C][/ROW]
[ROW][C]28[/C][C]17.7[/C][C]17.7782660744148[/C][C]-0.0782660744148438[/C][/ROW]
[ROW][C]29[/C][C]17.7[/C][C]17.5533155678969[/C][C]0.146684432103056[/C][/ROW]
[ROW][C]30[/C][C]17.9[/C][C]17.5019429134808[/C][C]0.398057086519209[/C][/ROW]
[ROW][C]31[/C][C]17.6[/C][C]17.7086644693715[/C][C]-0.108664469371519[/C][/ROW]
[ROW][C]32[/C][C]17.7[/C][C]17.4220667775542[/C][C]0.27793322244576[/C][/ROW]
[ROW][C]33[/C][C]17.4[/C][C]17.5430410370137[/C][C]-0.143041037013714[/C][/ROW]
[ROW][C]34[/C][C]17.1[/C][C]17.2505721846917[/C][C]-0.150572184691724[/C][/ROW]
[ROW][C]35[/C][C]16.8[/C][C]16.918472998963[/C][C]-0.118472998962992[/C][/ROW]
[ROW][C]36[/C][C]16.5[/C][C]16.601051714496[/C][C]-0.101051714496016[/C][/ROW]
[ROW][C]37[/C][C]16.2[/C][C]16.2806948497767[/C][C]-0.0806948497766884[/C][/ROW]
[ROW][C]38[/C][C]15.8[/C][C]16.016114009852[/C][C]-0.21611400985204[/C][/ROW]
[ROW][C]39[/C][C]15.5[/C][C]15.6100098487015[/C][C]-0.110009848701459[/C][/ROW]
[ROW][C]40[/C][C]15.2[/C][C]15.3043308852439[/C][C]-0.104330885243889[/C][/ROW]
[ROW][C]41[/C][C]14.9[/C][C]15.0001197119125[/C][C]-0.100119711912494[/C][/ROW]
[ROW][C]42[/C][C]14.6[/C][C]14.6959085385811[/C][C]-0.0959085385811016[/C][/ROW]
[ROW][C]43[/C][C]14.4[/C][C]14.3975685257544[/C][C]0.00243147424559064[/C][/ROW]
[ROW][C]44[/C][C]14.5[/C][C]14.1702979080972[/C][C]0.329702091902783[/C][/ROW]
[ROW][C]45[/C][C]14.2[/C][C]14.3000789083137[/C][C]-0.100078908313748[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145764&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145764&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
121.821.8099518833972-0.00995188339717043
221.521.616440438642-0.116440438642015
321.321.3371816974556-0.0371816974556087
421.121.1627515243407-0.0627515243407455
521.220.95896554870240.241034451297631
62121.0197604129886-0.0197604129886322
720.820.8189100176026-0.0189100176026043
820.520.6591577457495-0.159157745749501
920.420.38283458481540.0171654151845516
1020.120.2310367327063-0.131036732706276
1119.919.9224221889964-0.0224221889963603
1219.619.7597343368909-0.159734336890898
1319.419.4496520030548-0.0496520030548071
1419.219.2414626570379-0.0414626570378964
1519.119.00538529862360.0946147013763532
1619.118.92844474294940.171555257050552
1718.918.932848113328-0.0328481133279784
1818.718.7393366685728-0.0393366685728262
1918.718.53555069293440.164449307065553
2018.718.54288964356530.157110356434674
2118.418.5311473225559-0.13114732255592
2218.418.20932266771040.190677332289584
2318.318.21812940846750.0818705915325312
2418.418.16467349481210.235326505187914
2518.318.28271217401920.0172878259807946
2618.318.14999559355030.150004406449675
271818.1367854824147-0.136785482414743
2817.717.7782660744148-0.0782660744148438
2917.717.55331556789690.146684432103056
3017.917.50194291348080.398057086519209
3117.617.7086644693715-0.108664469371519
3217.717.42206677755420.27793322244576
3317.417.5430410370137-0.143041037013714
3417.117.2505721846917-0.150572184691724
3516.816.918472998963-0.118472998962992
3616.516.601051714496-0.101051714496016
3716.216.2806948497767-0.0806948497766884
3815.816.016114009852-0.21611400985204
3915.515.6100098487015-0.110009848701459
4015.215.3043308852439-0.104330885243889
4114.915.0001197119125-0.100119711912494
4214.614.6959085385811-0.0959085385811016
4314.414.39756852575440.00243147424559064
4414.514.17029790809720.329702091902783
4514.214.3000789083137-0.100078908313748







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.4648389441079150.9296778882158310.535161055892085
70.3063611397334810.6127222794669610.693638860266519
80.4233318158999260.8466636317998510.576668184100074
90.2905712393164650.5811424786329290.709428760683535
100.2173980774461440.4347961548922890.782601922553856
110.1545979813153260.3091959626306520.845402018684674
120.1397067156928440.2794134313856880.860293284307156
130.09232646751989840.1846529350397970.907673532480102
140.06033292240873440.1206658448174690.939667077591266
150.06651499967180060.1330299993436010.933485000328199
160.08023111654894250.1604622330978850.919768883451057
170.05338373703870090.1067674740774020.946616262961299
180.03463551786453650.0692710357290730.965364482135464
190.03402607052409130.06805214104818260.965973929475909
200.0285836942981290.0571673885962580.971416305701871
210.03831885709113670.07663771418227350.961681142908863
220.03477412540645610.06954825081291230.965225874593544
230.02049999880112780.04099999760225550.979500001198872
240.03226948408917930.06453896817835860.967730515910821
250.02053085746176870.04106171492353730.979469142538231
260.01839985806716340.03679971613432670.981600141932837
270.02458013740156160.04916027480312310.975419862598438
280.02912257562755430.05824515125510870.970877424372446
290.04501403306084130.09002806612168270.954985966939159
300.255443694009440.510887388018880.74455630599056
310.2541263417024510.5082526834049010.745873658297549
320.7612162536143270.4775674927713460.238783746385673
330.7730591246800560.4538817506398890.226940875319944
340.9079023992997480.1841952014005030.0920976007002515
350.9483196423913010.1033607152173980.0516803576086989
360.9277541940539490.1444916118921020.0722458059460509
370.9828669122928470.03426617541430620.0171330877071531
380.9565686707308470.08686265853830650.0434313292691532
390.935292560309080.1294148793818390.0647074396909195

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.464838944107915 & 0.929677888215831 & 0.535161055892085 \tabularnewline
7 & 0.306361139733481 & 0.612722279466961 & 0.693638860266519 \tabularnewline
8 & 0.423331815899926 & 0.846663631799851 & 0.576668184100074 \tabularnewline
9 & 0.290571239316465 & 0.581142478632929 & 0.709428760683535 \tabularnewline
10 & 0.217398077446144 & 0.434796154892289 & 0.782601922553856 \tabularnewline
11 & 0.154597981315326 & 0.309195962630652 & 0.845402018684674 \tabularnewline
12 & 0.139706715692844 & 0.279413431385688 & 0.860293284307156 \tabularnewline
13 & 0.0923264675198984 & 0.184652935039797 & 0.907673532480102 \tabularnewline
14 & 0.0603329224087344 & 0.120665844817469 & 0.939667077591266 \tabularnewline
15 & 0.0665149996718006 & 0.133029999343601 & 0.933485000328199 \tabularnewline
16 & 0.0802311165489425 & 0.160462233097885 & 0.919768883451057 \tabularnewline
17 & 0.0533837370387009 & 0.106767474077402 & 0.946616262961299 \tabularnewline
18 & 0.0346355178645365 & 0.069271035729073 & 0.965364482135464 \tabularnewline
19 & 0.0340260705240913 & 0.0680521410481826 & 0.965973929475909 \tabularnewline
20 & 0.028583694298129 & 0.057167388596258 & 0.971416305701871 \tabularnewline
21 & 0.0383188570911367 & 0.0766377141822735 & 0.961681142908863 \tabularnewline
22 & 0.0347741254064561 & 0.0695482508129123 & 0.965225874593544 \tabularnewline
23 & 0.0204999988011278 & 0.0409999976022555 & 0.979500001198872 \tabularnewline
24 & 0.0322694840891793 & 0.0645389681783586 & 0.967730515910821 \tabularnewline
25 & 0.0205308574617687 & 0.0410617149235373 & 0.979469142538231 \tabularnewline
26 & 0.0183998580671634 & 0.0367997161343267 & 0.981600141932837 \tabularnewline
27 & 0.0245801374015616 & 0.0491602748031231 & 0.975419862598438 \tabularnewline
28 & 0.0291225756275543 & 0.0582451512551087 & 0.970877424372446 \tabularnewline
29 & 0.0450140330608413 & 0.0900280661216827 & 0.954985966939159 \tabularnewline
30 & 0.25544369400944 & 0.51088738801888 & 0.74455630599056 \tabularnewline
31 & 0.254126341702451 & 0.508252683404901 & 0.745873658297549 \tabularnewline
32 & 0.761216253614327 & 0.477567492771346 & 0.238783746385673 \tabularnewline
33 & 0.773059124680056 & 0.453881750639889 & 0.226940875319944 \tabularnewline
34 & 0.907902399299748 & 0.184195201400503 & 0.0920976007002515 \tabularnewline
35 & 0.948319642391301 & 0.103360715217398 & 0.0516803576086989 \tabularnewline
36 & 0.927754194053949 & 0.144491611892102 & 0.0722458059460509 \tabularnewline
37 & 0.982866912292847 & 0.0342661754143062 & 0.0171330877071531 \tabularnewline
38 & 0.956568670730847 & 0.0868626585383065 & 0.0434313292691532 \tabularnewline
39 & 0.93529256030908 & 0.129414879381839 & 0.0647074396909195 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145764&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]6[/C][C]0.464838944107915[/C][C]0.929677888215831[/C][C]0.535161055892085[/C][/ROW]
[ROW][C]7[/C][C]0.306361139733481[/C][C]0.612722279466961[/C][C]0.693638860266519[/C][/ROW]
[ROW][C]8[/C][C]0.423331815899926[/C][C]0.846663631799851[/C][C]0.576668184100074[/C][/ROW]
[ROW][C]9[/C][C]0.290571239316465[/C][C]0.581142478632929[/C][C]0.709428760683535[/C][/ROW]
[ROW][C]10[/C][C]0.217398077446144[/C][C]0.434796154892289[/C][C]0.782601922553856[/C][/ROW]
[ROW][C]11[/C][C]0.154597981315326[/C][C]0.309195962630652[/C][C]0.845402018684674[/C][/ROW]
[ROW][C]12[/C][C]0.139706715692844[/C][C]0.279413431385688[/C][C]0.860293284307156[/C][/ROW]
[ROW][C]13[/C][C]0.0923264675198984[/C][C]0.184652935039797[/C][C]0.907673532480102[/C][/ROW]
[ROW][C]14[/C][C]0.0603329224087344[/C][C]0.120665844817469[/C][C]0.939667077591266[/C][/ROW]
[ROW][C]15[/C][C]0.0665149996718006[/C][C]0.133029999343601[/C][C]0.933485000328199[/C][/ROW]
[ROW][C]16[/C][C]0.0802311165489425[/C][C]0.160462233097885[/C][C]0.919768883451057[/C][/ROW]
[ROW][C]17[/C][C]0.0533837370387009[/C][C]0.106767474077402[/C][C]0.946616262961299[/C][/ROW]
[ROW][C]18[/C][C]0.0346355178645365[/C][C]0.069271035729073[/C][C]0.965364482135464[/C][/ROW]
[ROW][C]19[/C][C]0.0340260705240913[/C][C]0.0680521410481826[/C][C]0.965973929475909[/C][/ROW]
[ROW][C]20[/C][C]0.028583694298129[/C][C]0.057167388596258[/C][C]0.971416305701871[/C][/ROW]
[ROW][C]21[/C][C]0.0383188570911367[/C][C]0.0766377141822735[/C][C]0.961681142908863[/C][/ROW]
[ROW][C]22[/C][C]0.0347741254064561[/C][C]0.0695482508129123[/C][C]0.965225874593544[/C][/ROW]
[ROW][C]23[/C][C]0.0204999988011278[/C][C]0.0409999976022555[/C][C]0.979500001198872[/C][/ROW]
[ROW][C]24[/C][C]0.0322694840891793[/C][C]0.0645389681783586[/C][C]0.967730515910821[/C][/ROW]
[ROW][C]25[/C][C]0.0205308574617687[/C][C]0.0410617149235373[/C][C]0.979469142538231[/C][/ROW]
[ROW][C]26[/C][C]0.0183998580671634[/C][C]0.0367997161343267[/C][C]0.981600141932837[/C][/ROW]
[ROW][C]27[/C][C]0.0245801374015616[/C][C]0.0491602748031231[/C][C]0.975419862598438[/C][/ROW]
[ROW][C]28[/C][C]0.0291225756275543[/C][C]0.0582451512551087[/C][C]0.970877424372446[/C][/ROW]
[ROW][C]29[/C][C]0.0450140330608413[/C][C]0.0900280661216827[/C][C]0.954985966939159[/C][/ROW]
[ROW][C]30[/C][C]0.25544369400944[/C][C]0.51088738801888[/C][C]0.74455630599056[/C][/ROW]
[ROW][C]31[/C][C]0.254126341702451[/C][C]0.508252683404901[/C][C]0.745873658297549[/C][/ROW]
[ROW][C]32[/C][C]0.761216253614327[/C][C]0.477567492771346[/C][C]0.238783746385673[/C][/ROW]
[ROW][C]33[/C][C]0.773059124680056[/C][C]0.453881750639889[/C][C]0.226940875319944[/C][/ROW]
[ROW][C]34[/C][C]0.907902399299748[/C][C]0.184195201400503[/C][C]0.0920976007002515[/C][/ROW]
[ROW][C]35[/C][C]0.948319642391301[/C][C]0.103360715217398[/C][C]0.0516803576086989[/C][/ROW]
[ROW][C]36[/C][C]0.927754194053949[/C][C]0.144491611892102[/C][C]0.0722458059460509[/C][/ROW]
[ROW][C]37[/C][C]0.982866912292847[/C][C]0.0342661754143062[/C][C]0.0171330877071531[/C][/ROW]
[ROW][C]38[/C][C]0.956568670730847[/C][C]0.0868626585383065[/C][C]0.0434313292691532[/C][/ROW]
[ROW][C]39[/C][C]0.93529256030908[/C][C]0.129414879381839[/C][C]0.0647074396909195[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145764&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145764&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
60.4648389441079150.9296778882158310.535161055892085
70.3063611397334810.6127222794669610.693638860266519
80.4233318158999260.8466636317998510.576668184100074
90.2905712393164650.5811424786329290.709428760683535
100.2173980774461440.4347961548922890.782601922553856
110.1545979813153260.3091959626306520.845402018684674
120.1397067156928440.2794134313856880.860293284307156
130.09232646751989840.1846529350397970.907673532480102
140.06033292240873440.1206658448174690.939667077591266
150.06651499967180060.1330299993436010.933485000328199
160.08023111654894250.1604622330978850.919768883451057
170.05338373703870090.1067674740774020.946616262961299
180.03463551786453650.0692710357290730.965364482135464
190.03402607052409130.06805214104818260.965973929475909
200.0285836942981290.0571673885962580.971416305701871
210.03831885709113670.07663771418227350.961681142908863
220.03477412540645610.06954825081291230.965225874593544
230.02049999880112780.04099999760225550.979500001198872
240.03226948408917930.06453896817835860.967730515910821
250.02053085746176870.04106171492353730.979469142538231
260.01839985806716340.03679971613432670.981600141932837
270.02458013740156160.04916027480312310.975419862598438
280.02912257562755430.05824515125510870.970877424372446
290.04501403306084130.09002806612168270.954985966939159
300.255443694009440.510887388018880.74455630599056
310.2541263417024510.5082526834049010.745873658297549
320.7612162536143270.4775674927713460.238783746385673
330.7730591246800560.4538817506398890.226940875319944
340.9079023992997480.1841952014005030.0920976007002515
350.9483196423913010.1033607152173980.0516803576086989
360.9277541940539490.1444916118921020.0722458059460509
370.9828669122928470.03426617541430620.0171330877071531
380.9565686707308470.08686265853830650.0434313292691532
390.935292560309080.1294148793818390.0647074396909195







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145764&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 level50.147058823529412NOK
10% type I error level140.411764705882353NOK



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