Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 22 Dec 2010 18:18:28 +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/22/t1293041827ewm6xhrie8ax2p5.htm/, Retrieved Mon, 06 May 2024 02:08:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114464, Retrieved Mon, 06 May 2024 02:08:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact91
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-22 18:18:28] [c8b0d20ebafa6d61ca10522fa626ae82] [Current]
Feedback Forum

Post a new message
Dataseries X:
6,3	3	0,000
2,1	4	3,406
9,1	4	1,023
15,8	1	-1,638
5,2	4	2,204
10,9	1	0,519
8,3	1	1,717
11	4	-0,372
3,2	5	2,667
7,6	2	-0,260
6,3	1	-1,125
8,6	2	0,477
6,6	2	-0,105
9,5	2	-0,699
4,8	1	0,149
12	1	1,778
3,3	5	1,442
11	2	-0,921
4,7	1	1,929
10,4	3	-0,996
7,4	4	0,017
2,1	5	2,717
7,7	4	-2,301
17,9	1	-2,000
6,1	1	1,792
8,2	1	-0,914
8,4	3	0,130
11,9	3	-1,638
10,8	3	-1,319
13,8	1	0,230
14,3	1	0,544
15,2	2	-0,319
10	4	1,000
11,9	2	0,210
6,5	4	2,283
7,5	5	0,398
10,6	3	-0,553
7,4	1	0,627
8,4	2	0,833
5,7	2	-0,125
4,9	3	0,556
3,2	5	1,744
8,1	2	-1,222
11	2	-0,046
4,9	3	0,301
13,2	2	-0,983
9,7	4	0,622
12,8	1	0,544




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time24 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 24 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114464&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]24 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114464&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114464&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 time24 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
SWS[t] = + 11.3409265669514 -0.884140713721668D[t] -1.34854202512744Wb[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
SWS[t] =  +  11.3409265669514 -0.884140713721668D[t] -1.34854202512744Wb[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114464&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]SWS[t] =  +  11.3409265669514 -0.884140713721668D[t] -1.34854202512744Wb[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114464&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114464&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
SWS[t] = + 11.3409265669514 -0.884140713721668D[t] -1.34854202512744Wb[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)11.34092656695140.88323712.840200
D-0.8841407137216680.316571-2.79290.0076450.003822
Wb-1.348542025127440.33315-4.04780.0002011e-04

\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) & 11.3409265669514 & 0.883237 & 12.8402 & 0 & 0 \tabularnewline
D & -0.884140713721668 & 0.316571 & -2.7929 & 0.007645 & 0.003822 \tabularnewline
Wb & -1.34854202512744 & 0.33315 & -4.0478 & 0.000201 & 1e-04 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114464&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]11.3409265669514[/C][C]0.883237[/C][C]12.8402[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]D[/C][C]-0.884140713721668[/C][C]0.316571[/C][C]-2.7929[/C][C]0.007645[/C][C]0.003822[/C][/ROW]
[ROW][C]Wb[/C][C]-1.34854202512744[/C][C]0.33315[/C][C]-4.0478[/C][C]0.000201[/C][C]1e-04[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114464&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114464&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)11.34092656695140.88323712.840200
D-0.8841407137216680.316571-2.79290.0076450.003822
Wb-1.348542025127440.33315-4.04780.0002011e-04







Multiple Linear Regression - Regression Statistics
Multiple R0.662227823893283
R-squared0.438545690738434
Adjusted R-squared0.413592165882364
F-TEST (value)17.5744987238451
F-TEST (DF numerator)2
F-TEST (DF denominator)45
p-value2.28862394813234e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.80766861544295
Sum Squared Residuals354.735137436449

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.662227823893283 \tabularnewline
R-squared & 0.438545690738434 \tabularnewline
Adjusted R-squared & 0.413592165882364 \tabularnewline
F-TEST (value) & 17.5744987238451 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 2.28862394813234e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2.80766861544295 \tabularnewline
Sum Squared Residuals & 354.735137436449 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114464&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.662227823893283[/C][/ROW]
[ROW][C]R-squared[/C][C]0.438545690738434[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.413592165882364[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]17.5744987238451[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]2.28862394813234e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]2.80766861544295[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]354.735137436449[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114464&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114464&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.662227823893283
R-squared0.438545690738434
Adjusted R-squared0.413592165882364
F-TEST (value)17.5744987238451
F-TEST (DF numerator)2
F-TEST (DF denominator)45
p-value2.28862394813234e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.80766861544295
Sum Squared Residuals354.735137436449







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
16.38.68850442578636-2.38850442578635
22.13.21122957448064-1.11122957448064
39.16.424805220359322.67519477964067
415.812.66569769038843.13430230961156
55.24.832177088683820.367822911316181
610.99.756892542188561.14310745781144
78.38.141339196085890.158660803914115
8118.30602134541212.6939786545879
93.23.32366141732815-0.123661417328148
107.69.92326606604116-2.32326606604116
116.311.9738956314981-5.67389563149806
128.68.92939059352224-0.32939059352224
136.69.7142420521464-3.11424205214641
149.510.5152760150721-1.01527601507211
154.810.2558530914857-5.45585309148571
16128.059078132553113.94092186744689
173.34.97562539810926-1.67562539810926
181110.81465234465040.185347655349603
194.77.85544828675887-3.15544828675887
2010.410.03165228281330.368347717186713
217.47.78143849763753-0.381438497637525
222.13.25623431607178-1.15623431607178
237.710.9073589118829-3.20735891188293
2417.913.15386990348464.74613009651543
256.18.04019854420133-1.94019854420133
268.211.6893532641962-3.48935326419617
278.48.51319396251979-0.113193962519793
2811.910.89741626294511.00258373705490
2910.810.46723135692940.332768643070551
3013.810.14662118745043.65337881254962
3114.39.723178991560374.57682100843963
3215.210.00283004552375.19716995447632
33106.455821686937253.54417831306275
3411.99.289451314231262.61054868576873
356.54.725642268698751.77435773130125
367.56.38350327234231.11649672765770
3710.69.434248165681831.16575183431817
387.49.6112500034748-2.21125000347479
398.48.44930963257687-0.0493096325768718
405.79.74121289264896-4.04121289264896
414.97.9387150598155-3.03871505981550
423.24.56836570652077-1.36836570652077
438.111.2205634942138-3.12056349421376
44119.63467807266391.36532192733611
454.98.282593276223-3.382593276223
4613.210.89826195020832.3017380497917
479.76.965570572435432.73442942756457
4812.89.723178991560373.07682100843963

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6.3 & 8.68850442578636 & -2.38850442578635 \tabularnewline
2 & 2.1 & 3.21122957448064 & -1.11122957448064 \tabularnewline
3 & 9.1 & 6.42480522035932 & 2.67519477964067 \tabularnewline
4 & 15.8 & 12.6656976903884 & 3.13430230961156 \tabularnewline
5 & 5.2 & 4.83217708868382 & 0.367822911316181 \tabularnewline
6 & 10.9 & 9.75689254218856 & 1.14310745781144 \tabularnewline
7 & 8.3 & 8.14133919608589 & 0.158660803914115 \tabularnewline
8 & 11 & 8.3060213454121 & 2.6939786545879 \tabularnewline
9 & 3.2 & 3.32366141732815 & -0.123661417328148 \tabularnewline
10 & 7.6 & 9.92326606604116 & -2.32326606604116 \tabularnewline
11 & 6.3 & 11.9738956314981 & -5.67389563149806 \tabularnewline
12 & 8.6 & 8.92939059352224 & -0.32939059352224 \tabularnewline
13 & 6.6 & 9.7142420521464 & -3.11424205214641 \tabularnewline
14 & 9.5 & 10.5152760150721 & -1.01527601507211 \tabularnewline
15 & 4.8 & 10.2558530914857 & -5.45585309148571 \tabularnewline
16 & 12 & 8.05907813255311 & 3.94092186744689 \tabularnewline
17 & 3.3 & 4.97562539810926 & -1.67562539810926 \tabularnewline
18 & 11 & 10.8146523446504 & 0.185347655349603 \tabularnewline
19 & 4.7 & 7.85544828675887 & -3.15544828675887 \tabularnewline
20 & 10.4 & 10.0316522828133 & 0.368347717186713 \tabularnewline
21 & 7.4 & 7.78143849763753 & -0.381438497637525 \tabularnewline
22 & 2.1 & 3.25623431607178 & -1.15623431607178 \tabularnewline
23 & 7.7 & 10.9073589118829 & -3.20735891188293 \tabularnewline
24 & 17.9 & 13.1538699034846 & 4.74613009651543 \tabularnewline
25 & 6.1 & 8.04019854420133 & -1.94019854420133 \tabularnewline
26 & 8.2 & 11.6893532641962 & -3.48935326419617 \tabularnewline
27 & 8.4 & 8.51319396251979 & -0.113193962519793 \tabularnewline
28 & 11.9 & 10.8974162629451 & 1.00258373705490 \tabularnewline
29 & 10.8 & 10.4672313569294 & 0.332768643070551 \tabularnewline
30 & 13.8 & 10.1466211874504 & 3.65337881254962 \tabularnewline
31 & 14.3 & 9.72317899156037 & 4.57682100843963 \tabularnewline
32 & 15.2 & 10.0028300455237 & 5.19716995447632 \tabularnewline
33 & 10 & 6.45582168693725 & 3.54417831306275 \tabularnewline
34 & 11.9 & 9.28945131423126 & 2.61054868576873 \tabularnewline
35 & 6.5 & 4.72564226869875 & 1.77435773130125 \tabularnewline
36 & 7.5 & 6.3835032723423 & 1.11649672765770 \tabularnewline
37 & 10.6 & 9.43424816568183 & 1.16575183431817 \tabularnewline
38 & 7.4 & 9.6112500034748 & -2.21125000347479 \tabularnewline
39 & 8.4 & 8.44930963257687 & -0.0493096325768718 \tabularnewline
40 & 5.7 & 9.74121289264896 & -4.04121289264896 \tabularnewline
41 & 4.9 & 7.9387150598155 & -3.03871505981550 \tabularnewline
42 & 3.2 & 4.56836570652077 & -1.36836570652077 \tabularnewline
43 & 8.1 & 11.2205634942138 & -3.12056349421376 \tabularnewline
44 & 11 & 9.6346780726639 & 1.36532192733611 \tabularnewline
45 & 4.9 & 8.282593276223 & -3.382593276223 \tabularnewline
46 & 13.2 & 10.8982619502083 & 2.3017380497917 \tabularnewline
47 & 9.7 & 6.96557057243543 & 2.73442942756457 \tabularnewline
48 & 12.8 & 9.72317899156037 & 3.07682100843963 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114464&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]6.3[/C][C]8.68850442578636[/C][C]-2.38850442578635[/C][/ROW]
[ROW][C]2[/C][C]2.1[/C][C]3.21122957448064[/C][C]-1.11122957448064[/C][/ROW]
[ROW][C]3[/C][C]9.1[/C][C]6.42480522035932[/C][C]2.67519477964067[/C][/ROW]
[ROW][C]4[/C][C]15.8[/C][C]12.6656976903884[/C][C]3.13430230961156[/C][/ROW]
[ROW][C]5[/C][C]5.2[/C][C]4.83217708868382[/C][C]0.367822911316181[/C][/ROW]
[ROW][C]6[/C][C]10.9[/C][C]9.75689254218856[/C][C]1.14310745781144[/C][/ROW]
[ROW][C]7[/C][C]8.3[/C][C]8.14133919608589[/C][C]0.158660803914115[/C][/ROW]
[ROW][C]8[/C][C]11[/C][C]8.3060213454121[/C][C]2.6939786545879[/C][/ROW]
[ROW][C]9[/C][C]3.2[/C][C]3.32366141732815[/C][C]-0.123661417328148[/C][/ROW]
[ROW][C]10[/C][C]7.6[/C][C]9.92326606604116[/C][C]-2.32326606604116[/C][/ROW]
[ROW][C]11[/C][C]6.3[/C][C]11.9738956314981[/C][C]-5.67389563149806[/C][/ROW]
[ROW][C]12[/C][C]8.6[/C][C]8.92939059352224[/C][C]-0.32939059352224[/C][/ROW]
[ROW][C]13[/C][C]6.6[/C][C]9.7142420521464[/C][C]-3.11424205214641[/C][/ROW]
[ROW][C]14[/C][C]9.5[/C][C]10.5152760150721[/C][C]-1.01527601507211[/C][/ROW]
[ROW][C]15[/C][C]4.8[/C][C]10.2558530914857[/C][C]-5.45585309148571[/C][/ROW]
[ROW][C]16[/C][C]12[/C][C]8.05907813255311[/C][C]3.94092186744689[/C][/ROW]
[ROW][C]17[/C][C]3.3[/C][C]4.97562539810926[/C][C]-1.67562539810926[/C][/ROW]
[ROW][C]18[/C][C]11[/C][C]10.8146523446504[/C][C]0.185347655349603[/C][/ROW]
[ROW][C]19[/C][C]4.7[/C][C]7.85544828675887[/C][C]-3.15544828675887[/C][/ROW]
[ROW][C]20[/C][C]10.4[/C][C]10.0316522828133[/C][C]0.368347717186713[/C][/ROW]
[ROW][C]21[/C][C]7.4[/C][C]7.78143849763753[/C][C]-0.381438497637525[/C][/ROW]
[ROW][C]22[/C][C]2.1[/C][C]3.25623431607178[/C][C]-1.15623431607178[/C][/ROW]
[ROW][C]23[/C][C]7.7[/C][C]10.9073589118829[/C][C]-3.20735891188293[/C][/ROW]
[ROW][C]24[/C][C]17.9[/C][C]13.1538699034846[/C][C]4.74613009651543[/C][/ROW]
[ROW][C]25[/C][C]6.1[/C][C]8.04019854420133[/C][C]-1.94019854420133[/C][/ROW]
[ROW][C]26[/C][C]8.2[/C][C]11.6893532641962[/C][C]-3.48935326419617[/C][/ROW]
[ROW][C]27[/C][C]8.4[/C][C]8.51319396251979[/C][C]-0.113193962519793[/C][/ROW]
[ROW][C]28[/C][C]11.9[/C][C]10.8974162629451[/C][C]1.00258373705490[/C][/ROW]
[ROW][C]29[/C][C]10.8[/C][C]10.4672313569294[/C][C]0.332768643070551[/C][/ROW]
[ROW][C]30[/C][C]13.8[/C][C]10.1466211874504[/C][C]3.65337881254962[/C][/ROW]
[ROW][C]31[/C][C]14.3[/C][C]9.72317899156037[/C][C]4.57682100843963[/C][/ROW]
[ROW][C]32[/C][C]15.2[/C][C]10.0028300455237[/C][C]5.19716995447632[/C][/ROW]
[ROW][C]33[/C][C]10[/C][C]6.45582168693725[/C][C]3.54417831306275[/C][/ROW]
[ROW][C]34[/C][C]11.9[/C][C]9.28945131423126[/C][C]2.61054868576873[/C][/ROW]
[ROW][C]35[/C][C]6.5[/C][C]4.72564226869875[/C][C]1.77435773130125[/C][/ROW]
[ROW][C]36[/C][C]7.5[/C][C]6.3835032723423[/C][C]1.11649672765770[/C][/ROW]
[ROW][C]37[/C][C]10.6[/C][C]9.43424816568183[/C][C]1.16575183431817[/C][/ROW]
[ROW][C]38[/C][C]7.4[/C][C]9.6112500034748[/C][C]-2.21125000347479[/C][/ROW]
[ROW][C]39[/C][C]8.4[/C][C]8.44930963257687[/C][C]-0.0493096325768718[/C][/ROW]
[ROW][C]40[/C][C]5.7[/C][C]9.74121289264896[/C][C]-4.04121289264896[/C][/ROW]
[ROW][C]41[/C][C]4.9[/C][C]7.9387150598155[/C][C]-3.03871505981550[/C][/ROW]
[ROW][C]42[/C][C]3.2[/C][C]4.56836570652077[/C][C]-1.36836570652077[/C][/ROW]
[ROW][C]43[/C][C]8.1[/C][C]11.2205634942138[/C][C]-3.12056349421376[/C][/ROW]
[ROW][C]44[/C][C]11[/C][C]9.6346780726639[/C][C]1.36532192733611[/C][/ROW]
[ROW][C]45[/C][C]4.9[/C][C]8.282593276223[/C][C]-3.382593276223[/C][/ROW]
[ROW][C]46[/C][C]13.2[/C][C]10.8982619502083[/C][C]2.3017380497917[/C][/ROW]
[ROW][C]47[/C][C]9.7[/C][C]6.96557057243543[/C][C]2.73442942756457[/C][/ROW]
[ROW][C]48[/C][C]12.8[/C][C]9.72317899156037[/C][C]3.07682100843963[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114464&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114464&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
16.38.68850442578636-2.38850442578635
22.13.21122957448064-1.11122957448064
39.16.424805220359322.67519477964067
415.812.66569769038843.13430230961156
55.24.832177088683820.367822911316181
610.99.756892542188561.14310745781144
78.38.141339196085890.158660803914115
8118.30602134541212.6939786545879
93.23.32366141732815-0.123661417328148
107.69.92326606604116-2.32326606604116
116.311.9738956314981-5.67389563149806
128.68.92939059352224-0.32939059352224
136.69.7142420521464-3.11424205214641
149.510.5152760150721-1.01527601507211
154.810.2558530914857-5.45585309148571
16128.059078132553113.94092186744689
173.34.97562539810926-1.67562539810926
181110.81465234465040.185347655349603
194.77.85544828675887-3.15544828675887
2010.410.03165228281330.368347717186713
217.47.78143849763753-0.381438497637525
222.13.25623431607178-1.15623431607178
237.710.9073589118829-3.20735891188293
2417.913.15386990348464.74613009651543
256.18.04019854420133-1.94019854420133
268.211.6893532641962-3.48935326419617
278.48.51319396251979-0.113193962519793
2811.910.89741626294511.00258373705490
2910.810.46723135692940.332768643070551
3013.810.14662118745043.65337881254962
3114.39.723178991560374.57682100843963
3215.210.00283004552375.19716995447632
33106.455821686937253.54417831306275
3411.99.289451314231262.61054868576873
356.54.725642268698751.77435773130125
367.56.38350327234231.11649672765770
3710.69.434248165681831.16575183431817
387.49.6112500034748-2.21125000347479
398.48.44930963257687-0.0493096325768718
405.79.74121289264896-4.04121289264896
414.97.9387150598155-3.03871505981550
423.24.56836570652077-1.36836570652077
438.111.2205634942138-3.12056349421376
44119.63467807266391.36532192733611
454.98.282593276223-3.382593276223
4613.210.89826195020832.3017380497917
479.76.965570572435432.73442942756457
4812.89.723178991560373.07682100843963







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.4577323674733460.9154647349466930.542267632526654
70.2878519032414060.5757038064828120.712148096758594
80.1934012444968060.3868024889936130.806598755503194
90.1064614216393650.2129228432787310.893538578360635
100.1756168538311310.3512337076622610.82438314616887
110.541440436738010.917119126523980.45855956326199
120.4293860313376510.8587720626753030.570613968662349
130.4236061260505540.8472122521011070.576393873949447
140.3300900383377860.6601800766755720.669909961662214
150.4888230174959280.9776460349918560.511176982504072
160.6495241094938160.7009517810123690.350475890506184
170.5891641694320.8216716611360.410835830568
180.5073302298151120.9853395403697760.492669770184888
190.520867024668670.958265950662660.47913297533133
200.4353679114404540.8707358228809070.564632088559546
210.3493578105181760.6987156210363520.650642189481824
220.2847848554847920.5695697109695840.715215144515208
230.2910534029894670.5821068059789330.708946597010533
240.4637530866583610.9275061733167210.536246913341639
250.4355377579172530.8710755158345050.564462242082747
260.4880884941403520.9761769882807040.511911505859648
270.4043172062119970.8086344124239940.595682793788003
280.3351449232182060.6702898464364120.664855076781794
290.2599035580942710.5198071161885420.740096441905729
300.2857325712588090.5714651425176180.714267428741191
310.377034296868120.754068593736240.62296570313188
320.5796807207242500.8406385585515010.420319279275750
330.6096781878662320.7806436242675360.390321812133768
340.6033660056413480.7932679887173030.396633994358652
350.5381859613418590.9236280773162820.461814038658141
360.4558115076599910.9116230153199810.544188492340009
370.3874506314916730.7749012629833470.612549368508327
380.3524422466093120.7048844932186240.647557753390688
390.2487487305435910.4974974610871820.751251269456409
400.3275741512536740.6551483025073480.672425848746326
410.3353894609739050.670778921947810.664610539026095
420.2338353876884910.4676707753769830.766164612311508

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.457732367473346 & 0.915464734946693 & 0.542267632526654 \tabularnewline
7 & 0.287851903241406 & 0.575703806482812 & 0.712148096758594 \tabularnewline
8 & 0.193401244496806 & 0.386802488993613 & 0.806598755503194 \tabularnewline
9 & 0.106461421639365 & 0.212922843278731 & 0.893538578360635 \tabularnewline
10 & 0.175616853831131 & 0.351233707662261 & 0.82438314616887 \tabularnewline
11 & 0.54144043673801 & 0.91711912652398 & 0.45855956326199 \tabularnewline
12 & 0.429386031337651 & 0.858772062675303 & 0.570613968662349 \tabularnewline
13 & 0.423606126050554 & 0.847212252101107 & 0.576393873949447 \tabularnewline
14 & 0.330090038337786 & 0.660180076675572 & 0.669909961662214 \tabularnewline
15 & 0.488823017495928 & 0.977646034991856 & 0.511176982504072 \tabularnewline
16 & 0.649524109493816 & 0.700951781012369 & 0.350475890506184 \tabularnewline
17 & 0.589164169432 & 0.821671661136 & 0.410835830568 \tabularnewline
18 & 0.507330229815112 & 0.985339540369776 & 0.492669770184888 \tabularnewline
19 & 0.52086702466867 & 0.95826595066266 & 0.47913297533133 \tabularnewline
20 & 0.435367911440454 & 0.870735822880907 & 0.564632088559546 \tabularnewline
21 & 0.349357810518176 & 0.698715621036352 & 0.650642189481824 \tabularnewline
22 & 0.284784855484792 & 0.569569710969584 & 0.715215144515208 \tabularnewline
23 & 0.291053402989467 & 0.582106805978933 & 0.708946597010533 \tabularnewline
24 & 0.463753086658361 & 0.927506173316721 & 0.536246913341639 \tabularnewline
25 & 0.435537757917253 & 0.871075515834505 & 0.564462242082747 \tabularnewline
26 & 0.488088494140352 & 0.976176988280704 & 0.511911505859648 \tabularnewline
27 & 0.404317206211997 & 0.808634412423994 & 0.595682793788003 \tabularnewline
28 & 0.335144923218206 & 0.670289846436412 & 0.664855076781794 \tabularnewline
29 & 0.259903558094271 & 0.519807116188542 & 0.740096441905729 \tabularnewline
30 & 0.285732571258809 & 0.571465142517618 & 0.714267428741191 \tabularnewline
31 & 0.37703429686812 & 0.75406859373624 & 0.62296570313188 \tabularnewline
32 & 0.579680720724250 & 0.840638558551501 & 0.420319279275750 \tabularnewline
33 & 0.609678187866232 & 0.780643624267536 & 0.390321812133768 \tabularnewline
34 & 0.603366005641348 & 0.793267988717303 & 0.396633994358652 \tabularnewline
35 & 0.538185961341859 & 0.923628077316282 & 0.461814038658141 \tabularnewline
36 & 0.455811507659991 & 0.911623015319981 & 0.544188492340009 \tabularnewline
37 & 0.387450631491673 & 0.774901262983347 & 0.612549368508327 \tabularnewline
38 & 0.352442246609312 & 0.704884493218624 & 0.647557753390688 \tabularnewline
39 & 0.248748730543591 & 0.497497461087182 & 0.751251269456409 \tabularnewline
40 & 0.327574151253674 & 0.655148302507348 & 0.672425848746326 \tabularnewline
41 & 0.335389460973905 & 0.67077892194781 & 0.664610539026095 \tabularnewline
42 & 0.233835387688491 & 0.467670775376983 & 0.766164612311508 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114464&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.457732367473346[/C][C]0.915464734946693[/C][C]0.542267632526654[/C][/ROW]
[ROW][C]7[/C][C]0.287851903241406[/C][C]0.575703806482812[/C][C]0.712148096758594[/C][/ROW]
[ROW][C]8[/C][C]0.193401244496806[/C][C]0.386802488993613[/C][C]0.806598755503194[/C][/ROW]
[ROW][C]9[/C][C]0.106461421639365[/C][C]0.212922843278731[/C][C]0.893538578360635[/C][/ROW]
[ROW][C]10[/C][C]0.175616853831131[/C][C]0.351233707662261[/C][C]0.82438314616887[/C][/ROW]
[ROW][C]11[/C][C]0.54144043673801[/C][C]0.91711912652398[/C][C]0.45855956326199[/C][/ROW]
[ROW][C]12[/C][C]0.429386031337651[/C][C]0.858772062675303[/C][C]0.570613968662349[/C][/ROW]
[ROW][C]13[/C][C]0.423606126050554[/C][C]0.847212252101107[/C][C]0.576393873949447[/C][/ROW]
[ROW][C]14[/C][C]0.330090038337786[/C][C]0.660180076675572[/C][C]0.669909961662214[/C][/ROW]
[ROW][C]15[/C][C]0.488823017495928[/C][C]0.977646034991856[/C][C]0.511176982504072[/C][/ROW]
[ROW][C]16[/C][C]0.649524109493816[/C][C]0.700951781012369[/C][C]0.350475890506184[/C][/ROW]
[ROW][C]17[/C][C]0.589164169432[/C][C]0.821671661136[/C][C]0.410835830568[/C][/ROW]
[ROW][C]18[/C][C]0.507330229815112[/C][C]0.985339540369776[/C][C]0.492669770184888[/C][/ROW]
[ROW][C]19[/C][C]0.52086702466867[/C][C]0.95826595066266[/C][C]0.47913297533133[/C][/ROW]
[ROW][C]20[/C][C]0.435367911440454[/C][C]0.870735822880907[/C][C]0.564632088559546[/C][/ROW]
[ROW][C]21[/C][C]0.349357810518176[/C][C]0.698715621036352[/C][C]0.650642189481824[/C][/ROW]
[ROW][C]22[/C][C]0.284784855484792[/C][C]0.569569710969584[/C][C]0.715215144515208[/C][/ROW]
[ROW][C]23[/C][C]0.291053402989467[/C][C]0.582106805978933[/C][C]0.708946597010533[/C][/ROW]
[ROW][C]24[/C][C]0.463753086658361[/C][C]0.927506173316721[/C][C]0.536246913341639[/C][/ROW]
[ROW][C]25[/C][C]0.435537757917253[/C][C]0.871075515834505[/C][C]0.564462242082747[/C][/ROW]
[ROW][C]26[/C][C]0.488088494140352[/C][C]0.976176988280704[/C][C]0.511911505859648[/C][/ROW]
[ROW][C]27[/C][C]0.404317206211997[/C][C]0.808634412423994[/C][C]0.595682793788003[/C][/ROW]
[ROW][C]28[/C][C]0.335144923218206[/C][C]0.670289846436412[/C][C]0.664855076781794[/C][/ROW]
[ROW][C]29[/C][C]0.259903558094271[/C][C]0.519807116188542[/C][C]0.740096441905729[/C][/ROW]
[ROW][C]30[/C][C]0.285732571258809[/C][C]0.571465142517618[/C][C]0.714267428741191[/C][/ROW]
[ROW][C]31[/C][C]0.37703429686812[/C][C]0.75406859373624[/C][C]0.62296570313188[/C][/ROW]
[ROW][C]32[/C][C]0.579680720724250[/C][C]0.840638558551501[/C][C]0.420319279275750[/C][/ROW]
[ROW][C]33[/C][C]0.609678187866232[/C][C]0.780643624267536[/C][C]0.390321812133768[/C][/ROW]
[ROW][C]34[/C][C]0.603366005641348[/C][C]0.793267988717303[/C][C]0.396633994358652[/C][/ROW]
[ROW][C]35[/C][C]0.538185961341859[/C][C]0.923628077316282[/C][C]0.461814038658141[/C][/ROW]
[ROW][C]36[/C][C]0.455811507659991[/C][C]0.911623015319981[/C][C]0.544188492340009[/C][/ROW]
[ROW][C]37[/C][C]0.387450631491673[/C][C]0.774901262983347[/C][C]0.612549368508327[/C][/ROW]
[ROW][C]38[/C][C]0.352442246609312[/C][C]0.704884493218624[/C][C]0.647557753390688[/C][/ROW]
[ROW][C]39[/C][C]0.248748730543591[/C][C]0.497497461087182[/C][C]0.751251269456409[/C][/ROW]
[ROW][C]40[/C][C]0.327574151253674[/C][C]0.655148302507348[/C][C]0.672425848746326[/C][/ROW]
[ROW][C]41[/C][C]0.335389460973905[/C][C]0.67077892194781[/C][C]0.664610539026095[/C][/ROW]
[ROW][C]42[/C][C]0.233835387688491[/C][C]0.467670775376983[/C][C]0.766164612311508[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114464&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114464&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.4577323674733460.9154647349466930.542267632526654
70.2878519032414060.5757038064828120.712148096758594
80.1934012444968060.3868024889936130.806598755503194
90.1064614216393650.2129228432787310.893538578360635
100.1756168538311310.3512337076622610.82438314616887
110.541440436738010.917119126523980.45855956326199
120.4293860313376510.8587720626753030.570613968662349
130.4236061260505540.8472122521011070.576393873949447
140.3300900383377860.6601800766755720.669909961662214
150.4888230174959280.9776460349918560.511176982504072
160.6495241094938160.7009517810123690.350475890506184
170.5891641694320.8216716611360.410835830568
180.5073302298151120.9853395403697760.492669770184888
190.520867024668670.958265950662660.47913297533133
200.4353679114404540.8707358228809070.564632088559546
210.3493578105181760.6987156210363520.650642189481824
220.2847848554847920.5695697109695840.715215144515208
230.2910534029894670.5821068059789330.708946597010533
240.4637530866583610.9275061733167210.536246913341639
250.4355377579172530.8710755158345050.564462242082747
260.4880884941403520.9761769882807040.511911505859648
270.4043172062119970.8086344124239940.595682793788003
280.3351449232182060.6702898464364120.664855076781794
290.2599035580942710.5198071161885420.740096441905729
300.2857325712588090.5714651425176180.714267428741191
310.377034296868120.754068593736240.62296570313188
320.5796807207242500.8406385585515010.420319279275750
330.6096781878662320.7806436242675360.390321812133768
340.6033660056413480.7932679887173030.396633994358652
350.5381859613418590.9236280773162820.461814038658141
360.4558115076599910.9116230153199810.544188492340009
370.3874506314916730.7749012629833470.612549368508327
380.3524422466093120.7048844932186240.647557753390688
390.2487487305435910.4974974610871820.751251269456409
400.3275741512536740.6551483025073480.672425848746326
410.3353894609739050.670778921947810.664610539026095
420.2338353876884910.4676707753769830.766164612311508







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=114464&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=114464&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114464&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 = 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')
}