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, 23 Nov 2011 08:06:16 -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/23/t1322053852lzh68iqz2z0jmbb.htm/, Retrieved Fri, 26 Apr 2024 13:41:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=146503, Retrieved Fri, 26 Apr 2024 13:41:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact142
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WsS7] [2011-11-23 13:06:16] [d519577d845e738b812f706f10c86f64] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	8	1	14	4
2	8	3	82	1
3	8	2	14	3
4	8	1	16	5
5	8	5	140	7
6	8	8	173	2
7	8	3	9	8
8	8	8	13	6
1	12	12	17	4
2	12	3	16	9
3	12	8	21	7
4	12	3	14	2
5	12	3	15	12
6	12	3	10	8
7	12	3	14	1
8	12	1	16	6
9	12	2	14	10
10	12	20	17	3
11	12	2	10	5
12	12	1	23	11
1	9	1	21	2
2	9	6	14	4
3	9	8	14	7
4	9	5	14	11
5	9	1	16	5
6	9	7	14	1
7	9	7	14	9
8	9	5	7	3
9	9	8	17	10
1	14	2	14	3
2	14	5	21	4
3	14	2	24	7
4	14	5	7	6
5	14	1	30	13
6	14	2	93	16
7	14	6	14	9
8	14	3	14	1
9	14	6	107	10
10	14	6	231	5
11	14	1	385	2
12	14	2	14	11
13	14	10	29	14
14	14	1	16	15
1	13	2	7	10
2	13	1	21	3
3	13	1	14	2
4	13	1	17	13
5	13	6	14	4
6	13	4	21	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ jenkins.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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146503&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146503&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146503&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 time4 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







Multiple Linear Regression - Estimated Regression Equation
position[t] = + 0.0694650219173059 + 0.219354580603808starters[t] + 0.18457144728292last[t] + 0.0146116079963446since[t] + 0.293778937426623number[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
position[t] =  +  0.0694650219173059 +  0.219354580603808starters[t] +  0.18457144728292last[t] +  0.0146116079963446since[t] +  0.293778937426623number[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146503&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]position[t] =  +  0.0694650219173059 +  0.219354580603808starters[t] +  0.18457144728292last[t] +  0.0146116079963446since[t] +  0.293778937426623number[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146503&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146503&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
position[t] = + 0.0694650219173059 + 0.219354580603808starters[t] + 0.18457144728292last[t] + 0.0146116079963446since[t] + 0.293778937426623number[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.06946502191730592.4432090.02840.9774460.488723
starters0.2193545806038080.2078181.05550.2969530.148476
last0.184571447282920.1277661.44460.1556530.077826
since0.01461160799634460.0069152.11290.0403180.020159
number0.2937789374266230.116622.51910.0154730.007737

\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.0694650219173059 & 2.443209 & 0.0284 & 0.977446 & 0.488723 \tabularnewline
starters & 0.219354580603808 & 0.207818 & 1.0555 & 0.296953 & 0.148476 \tabularnewline
last & 0.18457144728292 & 0.127766 & 1.4446 & 0.155653 & 0.077826 \tabularnewline
since & 0.0146116079963446 & 0.006915 & 2.1129 & 0.040318 & 0.020159 \tabularnewline
number & 0.293778937426623 & 0.11662 & 2.5191 & 0.015473 & 0.007737 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146503&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.0694650219173059[/C][C]2.443209[/C][C]0.0284[/C][C]0.977446[/C][C]0.488723[/C][/ROW]
[ROW][C]starters[/C][C]0.219354580603808[/C][C]0.207818[/C][C]1.0555[/C][C]0.296953[/C][C]0.148476[/C][/ROW]
[ROW][C]last[/C][C]0.18457144728292[/C][C]0.127766[/C][C]1.4446[/C][C]0.155653[/C][C]0.077826[/C][/ROW]
[ROW][C]since[/C][C]0.0146116079963446[/C][C]0.006915[/C][C]2.1129[/C][C]0.040318[/C][C]0.020159[/C][/ROW]
[ROW][C]number[/C][C]0.293778937426623[/C][C]0.11662[/C][C]2.5191[/C][C]0.015473[/C][C]0.007737[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146503&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146503&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.06946502191730592.4432090.02840.9774460.488723
starters0.2193545806038080.2078181.05550.2969530.148476
last0.184571447282920.1277661.44460.1556530.077826
since0.01461160799634460.0069152.11290.0403180.020159
number0.2937789374266230.116622.51910.0154730.007737







Multiple Linear Regression - Regression Statistics
Multiple R0.498984694297235
R-squared0.248985725142906
Adjusted R-squared0.180711700155897
F-TEST (value)3.64685874591813
F-TEST (DF numerator)4
F-TEST (DF denominator)44
p-value0.011903648959678
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.16624934165024
Sum Squared Residuals441.105935314024

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.498984694297235 \tabularnewline
R-squared & 0.248985725142906 \tabularnewline
Adjusted R-squared & 0.180711700155897 \tabularnewline
F-TEST (value) & 3.64685874591813 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 0.011903648959678 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 3.16624934165024 \tabularnewline
Sum Squared Residuals & 441.105935314024 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146503&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.498984694297235[/C][/ROW]
[ROW][C]R-squared[/C][C]0.248985725142906[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.180711700155897[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.64685874591813[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]0.011903648959678[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]3.16624934165024[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]441.105935314024[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146503&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146503&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.498984694297235
R-squared0.248985725142906
Adjusted R-squared0.180711700155897
F-TEST (value)3.64685874591813
F-TEST (DF numerator)4
F-TEST (DF denominator)44
p-value0.011903648959678
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.16624934165024
Sum Squared Residuals441.105935314024







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
113.38855137568601-2.38855137568601
223.86994680172341-1.86994680172341
333.27934388554231-0.279343885542308
443.711553529105320.288446470894678
556.84923658463698-1.84923658463698
666.416239303232-0.416239303231995
774.859751979976622.14024802002338
885.253497773523362.74650222647664
916.3400904422024-5.3400904422024
1026.13323049579289-4.13323049579289
1136.54158789733597-3.54158789733597
1244.04755471781384-0.0475547178138388
1356.99995570007641-1.99995570007641
1465.75178191038820.248218089611801
1573.753775780387223.24622421961278
1684.882750788947183.11724921105282
1796.21321476994392.7867852300561
18107.522883083039142.47711691696086
19114.685873650825416.31412634917459
20126.453926732054715.54607326794529
2113.12262933741099-2.12262933741099
2224.53076319270442-2.53076319270442
2335.78124289955013-2.78124289955013
2446.40264430740786-2.40264430740786
2553.930908109709131.06909189029087
2663.833997827707472.16600217229253
2776.184229327120460.815770672879544
2883.950131552020464.04986844797954
2996.706414535819032.29358546418097
3014.59547136916516-3.59547136916516
3125.54524590441495-3.54524590441495
3235.9167031988351-2.9167031988351
3345.92824126731938-1.92824126731938
3457.58247502408998-2.58247502408998
3569.56891458742248-3.56891458742248
3677.09643078285658-0.0964307828565785
3784.192484941594833.80751505840517
3898.749089263943250.250910736056753
39109.092033968356860.90796603164314
40119.538027551099451.46197244890055
41126.945702868578145.05429713142186
42139.522785379066543.47721462093345
43147.96547038699446.0345296130056
4416.3302880945733-5.3302880945733
4524.29382659725284-2.29382659725284
4633.89776640385181-0.897766403851807
4747.17316953953369-3.17316953953369
4855.40818151511965-0.408181515119654
4964.259983064248361.74001693575164

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1 & 3.38855137568601 & -2.38855137568601 \tabularnewline
2 & 2 & 3.86994680172341 & -1.86994680172341 \tabularnewline
3 & 3 & 3.27934388554231 & -0.279343885542308 \tabularnewline
4 & 4 & 3.71155352910532 & 0.288446470894678 \tabularnewline
5 & 5 & 6.84923658463698 & -1.84923658463698 \tabularnewline
6 & 6 & 6.416239303232 & -0.416239303231995 \tabularnewline
7 & 7 & 4.85975197997662 & 2.14024802002338 \tabularnewline
8 & 8 & 5.25349777352336 & 2.74650222647664 \tabularnewline
9 & 1 & 6.3400904422024 & -5.3400904422024 \tabularnewline
10 & 2 & 6.13323049579289 & -4.13323049579289 \tabularnewline
11 & 3 & 6.54158789733597 & -3.54158789733597 \tabularnewline
12 & 4 & 4.04755471781384 & -0.0475547178138388 \tabularnewline
13 & 5 & 6.99995570007641 & -1.99995570007641 \tabularnewline
14 & 6 & 5.7517819103882 & 0.248218089611801 \tabularnewline
15 & 7 & 3.75377578038722 & 3.24622421961278 \tabularnewline
16 & 8 & 4.88275078894718 & 3.11724921105282 \tabularnewline
17 & 9 & 6.2132147699439 & 2.7867852300561 \tabularnewline
18 & 10 & 7.52288308303914 & 2.47711691696086 \tabularnewline
19 & 11 & 4.68587365082541 & 6.31412634917459 \tabularnewline
20 & 12 & 6.45392673205471 & 5.54607326794529 \tabularnewline
21 & 1 & 3.12262933741099 & -2.12262933741099 \tabularnewline
22 & 2 & 4.53076319270442 & -2.53076319270442 \tabularnewline
23 & 3 & 5.78124289955013 & -2.78124289955013 \tabularnewline
24 & 4 & 6.40264430740786 & -2.40264430740786 \tabularnewline
25 & 5 & 3.93090810970913 & 1.06909189029087 \tabularnewline
26 & 6 & 3.83399782770747 & 2.16600217229253 \tabularnewline
27 & 7 & 6.18422932712046 & 0.815770672879544 \tabularnewline
28 & 8 & 3.95013155202046 & 4.04986844797954 \tabularnewline
29 & 9 & 6.70641453581903 & 2.29358546418097 \tabularnewline
30 & 1 & 4.59547136916516 & -3.59547136916516 \tabularnewline
31 & 2 & 5.54524590441495 & -3.54524590441495 \tabularnewline
32 & 3 & 5.9167031988351 & -2.9167031988351 \tabularnewline
33 & 4 & 5.92824126731938 & -1.92824126731938 \tabularnewline
34 & 5 & 7.58247502408998 & -2.58247502408998 \tabularnewline
35 & 6 & 9.56891458742248 & -3.56891458742248 \tabularnewline
36 & 7 & 7.09643078285658 & -0.0964307828565785 \tabularnewline
37 & 8 & 4.19248494159483 & 3.80751505840517 \tabularnewline
38 & 9 & 8.74908926394325 & 0.250910736056753 \tabularnewline
39 & 10 & 9.09203396835686 & 0.90796603164314 \tabularnewline
40 & 11 & 9.53802755109945 & 1.46197244890055 \tabularnewline
41 & 12 & 6.94570286857814 & 5.05429713142186 \tabularnewline
42 & 13 & 9.52278537906654 & 3.47721462093345 \tabularnewline
43 & 14 & 7.9654703869944 & 6.0345296130056 \tabularnewline
44 & 1 & 6.3302880945733 & -5.3302880945733 \tabularnewline
45 & 2 & 4.29382659725284 & -2.29382659725284 \tabularnewline
46 & 3 & 3.89776640385181 & -0.897766403851807 \tabularnewline
47 & 4 & 7.17316953953369 & -3.17316953953369 \tabularnewline
48 & 5 & 5.40818151511965 & -0.408181515119654 \tabularnewline
49 & 6 & 4.25998306424836 & 1.74001693575164 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146503&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]1[/C][C]3.38855137568601[/C][C]-2.38855137568601[/C][/ROW]
[ROW][C]2[/C][C]2[/C][C]3.86994680172341[/C][C]-1.86994680172341[/C][/ROW]
[ROW][C]3[/C][C]3[/C][C]3.27934388554231[/C][C]-0.279343885542308[/C][/ROW]
[ROW][C]4[/C][C]4[/C][C]3.71155352910532[/C][C]0.288446470894678[/C][/ROW]
[ROW][C]5[/C][C]5[/C][C]6.84923658463698[/C][C]-1.84923658463698[/C][/ROW]
[ROW][C]6[/C][C]6[/C][C]6.416239303232[/C][C]-0.416239303231995[/C][/ROW]
[ROW][C]7[/C][C]7[/C][C]4.85975197997662[/C][C]2.14024802002338[/C][/ROW]
[ROW][C]8[/C][C]8[/C][C]5.25349777352336[/C][C]2.74650222647664[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]6.3400904422024[/C][C]-5.3400904422024[/C][/ROW]
[ROW][C]10[/C][C]2[/C][C]6.13323049579289[/C][C]-4.13323049579289[/C][/ROW]
[ROW][C]11[/C][C]3[/C][C]6.54158789733597[/C][C]-3.54158789733597[/C][/ROW]
[ROW][C]12[/C][C]4[/C][C]4.04755471781384[/C][C]-0.0475547178138388[/C][/ROW]
[ROW][C]13[/C][C]5[/C][C]6.99995570007641[/C][C]-1.99995570007641[/C][/ROW]
[ROW][C]14[/C][C]6[/C][C]5.7517819103882[/C][C]0.248218089611801[/C][/ROW]
[ROW][C]15[/C][C]7[/C][C]3.75377578038722[/C][C]3.24622421961278[/C][/ROW]
[ROW][C]16[/C][C]8[/C][C]4.88275078894718[/C][C]3.11724921105282[/C][/ROW]
[ROW][C]17[/C][C]9[/C][C]6.2132147699439[/C][C]2.7867852300561[/C][/ROW]
[ROW][C]18[/C][C]10[/C][C]7.52288308303914[/C][C]2.47711691696086[/C][/ROW]
[ROW][C]19[/C][C]11[/C][C]4.68587365082541[/C][C]6.31412634917459[/C][/ROW]
[ROW][C]20[/C][C]12[/C][C]6.45392673205471[/C][C]5.54607326794529[/C][/ROW]
[ROW][C]21[/C][C]1[/C][C]3.12262933741099[/C][C]-2.12262933741099[/C][/ROW]
[ROW][C]22[/C][C]2[/C][C]4.53076319270442[/C][C]-2.53076319270442[/C][/ROW]
[ROW][C]23[/C][C]3[/C][C]5.78124289955013[/C][C]-2.78124289955013[/C][/ROW]
[ROW][C]24[/C][C]4[/C][C]6.40264430740786[/C][C]-2.40264430740786[/C][/ROW]
[ROW][C]25[/C][C]5[/C][C]3.93090810970913[/C][C]1.06909189029087[/C][/ROW]
[ROW][C]26[/C][C]6[/C][C]3.83399782770747[/C][C]2.16600217229253[/C][/ROW]
[ROW][C]27[/C][C]7[/C][C]6.18422932712046[/C][C]0.815770672879544[/C][/ROW]
[ROW][C]28[/C][C]8[/C][C]3.95013155202046[/C][C]4.04986844797954[/C][/ROW]
[ROW][C]29[/C][C]9[/C][C]6.70641453581903[/C][C]2.29358546418097[/C][/ROW]
[ROW][C]30[/C][C]1[/C][C]4.59547136916516[/C][C]-3.59547136916516[/C][/ROW]
[ROW][C]31[/C][C]2[/C][C]5.54524590441495[/C][C]-3.54524590441495[/C][/ROW]
[ROW][C]32[/C][C]3[/C][C]5.9167031988351[/C][C]-2.9167031988351[/C][/ROW]
[ROW][C]33[/C][C]4[/C][C]5.92824126731938[/C][C]-1.92824126731938[/C][/ROW]
[ROW][C]34[/C][C]5[/C][C]7.58247502408998[/C][C]-2.58247502408998[/C][/ROW]
[ROW][C]35[/C][C]6[/C][C]9.56891458742248[/C][C]-3.56891458742248[/C][/ROW]
[ROW][C]36[/C][C]7[/C][C]7.09643078285658[/C][C]-0.0964307828565785[/C][/ROW]
[ROW][C]37[/C][C]8[/C][C]4.19248494159483[/C][C]3.80751505840517[/C][/ROW]
[ROW][C]38[/C][C]9[/C][C]8.74908926394325[/C][C]0.250910736056753[/C][/ROW]
[ROW][C]39[/C][C]10[/C][C]9.09203396835686[/C][C]0.90796603164314[/C][/ROW]
[ROW][C]40[/C][C]11[/C][C]9.53802755109945[/C][C]1.46197244890055[/C][/ROW]
[ROW][C]41[/C][C]12[/C][C]6.94570286857814[/C][C]5.05429713142186[/C][/ROW]
[ROW][C]42[/C][C]13[/C][C]9.52278537906654[/C][C]3.47721462093345[/C][/ROW]
[ROW][C]43[/C][C]14[/C][C]7.9654703869944[/C][C]6.0345296130056[/C][/ROW]
[ROW][C]44[/C][C]1[/C][C]6.3302880945733[/C][C]-5.3302880945733[/C][/ROW]
[ROW][C]45[/C][C]2[/C][C]4.29382659725284[/C][C]-2.29382659725284[/C][/ROW]
[ROW][C]46[/C][C]3[/C][C]3.89776640385181[/C][C]-0.897766403851807[/C][/ROW]
[ROW][C]47[/C][C]4[/C][C]7.17316953953369[/C][C]-3.17316953953369[/C][/ROW]
[ROW][C]48[/C][C]5[/C][C]5.40818151511965[/C][C]-0.408181515119654[/C][/ROW]
[ROW][C]49[/C][C]6[/C][C]4.25998306424836[/C][C]1.74001693575164[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146503&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146503&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
113.38855137568601-2.38855137568601
223.86994680172341-1.86994680172341
333.27934388554231-0.279343885542308
443.711553529105320.288446470894678
556.84923658463698-1.84923658463698
666.416239303232-0.416239303231995
774.859751979976622.14024802002338
885.253497773523362.74650222647664
916.3400904422024-5.3400904422024
1026.13323049579289-4.13323049579289
1136.54158789733597-3.54158789733597
1244.04755471781384-0.0475547178138388
1356.99995570007641-1.99995570007641
1465.75178191038820.248218089611801
1573.753775780387223.24622421961278
1684.882750788947183.11724921105282
1796.21321476994392.7867852300561
18107.522883083039142.47711691696086
19114.685873650825416.31412634917459
20126.453926732054715.54607326794529
2113.12262933741099-2.12262933741099
2224.53076319270442-2.53076319270442
2335.78124289955013-2.78124289955013
2446.40264430740786-2.40264430740786
2553.930908109709131.06909189029087
2663.833997827707472.16600217229253
2776.184229327120460.815770672879544
2883.950131552020464.04986844797954
2996.706414535819032.29358546418097
3014.59547136916516-3.59547136916516
3125.54524590441495-3.54524590441495
3235.9167031988351-2.9167031988351
3345.92824126731938-1.92824126731938
3457.58247502408998-2.58247502408998
3569.56891458742248-3.56891458742248
3677.09643078285658-0.0964307828565785
3784.192484941594833.80751505840517
3898.749089263943250.250910736056753
39109.092033968356860.90796603164314
40119.538027551099451.46197244890055
41126.945702868578145.05429713142186
42139.522785379066543.47721462093345
43147.96547038699446.0345296130056
4416.3302880945733-5.3302880945733
4524.29382659725284-2.29382659725284
4633.89776640385181-0.897766403851807
4747.17316953953369-3.17316953953369
4855.40818151511965-0.408181515119654
4964.259983064248361.74001693575164







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.08650524197547330.1730104839509470.913494758024527
90.03244194140507330.06488388281014660.967558058594927
100.03866909915055780.07733819830111570.961330900849442
110.01864622566569150.0372924513313830.981353774334308
120.1481942215707680.2963884431415370.851805778429232
130.0939196259138070.1878392518276140.906080374086193
140.08993113411780410.1798622682356080.910068865882196
150.1844367331427830.3688734662855660.815563266857217
160.209934437608680.4198688752173590.79006556239132
170.2151781980400740.4303563960801470.784821801959926
180.2666038246283540.5332076492567090.733396175371646
190.4897154144243240.9794308288486480.510284585575676
200.662163927399650.67567214520070.33783607260035
210.6121268704715030.7757462590569950.387873129528497
220.5781660050022610.8436679899954790.421833994997739
230.5743973166154620.8512053667690760.425602683384538
240.5526146902301540.8947706195396930.447385309769846
250.4666158461790580.9332316923581160.533384153820942
260.4024827897713620.8049655795427230.597517210228638
270.3368049560888850.6736099121777710.663195043911115
280.3445682516033320.6891365032066650.655431748396668
290.3301842219601140.6603684439202280.669815778039886
300.3761631258041090.7523262516082180.623836874195891
310.4552141500288370.9104283000576750.544785849971163
320.4959538894566430.9919077789132850.504046110543357
330.5768925441734420.8462149116531160.423107455826558
340.6197200325465540.7605599349068930.380279967453446
350.7361878591157810.5276242817684390.263812140884219
360.799109490044540.401781019910920.20089050995546
370.8416012651322480.3167974697355040.158398734867752
380.8763430356920810.2473139286158390.123656964307919
390.8582543959951780.2834912080096440.141745604004822
400.7696344422190250.460731115561950.230365557780975
410.6572970917418550.685405816516290.342702908258145

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.0865052419754733 & 0.173010483950947 & 0.913494758024527 \tabularnewline
9 & 0.0324419414050733 & 0.0648838828101466 & 0.967558058594927 \tabularnewline
10 & 0.0386690991505578 & 0.0773381983011157 & 0.961330900849442 \tabularnewline
11 & 0.0186462256656915 & 0.037292451331383 & 0.981353774334308 \tabularnewline
12 & 0.148194221570768 & 0.296388443141537 & 0.851805778429232 \tabularnewline
13 & 0.093919625913807 & 0.187839251827614 & 0.906080374086193 \tabularnewline
14 & 0.0899311341178041 & 0.179862268235608 & 0.910068865882196 \tabularnewline
15 & 0.184436733142783 & 0.368873466285566 & 0.815563266857217 \tabularnewline
16 & 0.20993443760868 & 0.419868875217359 & 0.79006556239132 \tabularnewline
17 & 0.215178198040074 & 0.430356396080147 & 0.784821801959926 \tabularnewline
18 & 0.266603824628354 & 0.533207649256709 & 0.733396175371646 \tabularnewline
19 & 0.489715414424324 & 0.979430828848648 & 0.510284585575676 \tabularnewline
20 & 0.66216392739965 & 0.6756721452007 & 0.33783607260035 \tabularnewline
21 & 0.612126870471503 & 0.775746259056995 & 0.387873129528497 \tabularnewline
22 & 0.578166005002261 & 0.843667989995479 & 0.421833994997739 \tabularnewline
23 & 0.574397316615462 & 0.851205366769076 & 0.425602683384538 \tabularnewline
24 & 0.552614690230154 & 0.894770619539693 & 0.447385309769846 \tabularnewline
25 & 0.466615846179058 & 0.933231692358116 & 0.533384153820942 \tabularnewline
26 & 0.402482789771362 & 0.804965579542723 & 0.597517210228638 \tabularnewline
27 & 0.336804956088885 & 0.673609912177771 & 0.663195043911115 \tabularnewline
28 & 0.344568251603332 & 0.689136503206665 & 0.655431748396668 \tabularnewline
29 & 0.330184221960114 & 0.660368443920228 & 0.669815778039886 \tabularnewline
30 & 0.376163125804109 & 0.752326251608218 & 0.623836874195891 \tabularnewline
31 & 0.455214150028837 & 0.910428300057675 & 0.544785849971163 \tabularnewline
32 & 0.495953889456643 & 0.991907778913285 & 0.504046110543357 \tabularnewline
33 & 0.576892544173442 & 0.846214911653116 & 0.423107455826558 \tabularnewline
34 & 0.619720032546554 & 0.760559934906893 & 0.380279967453446 \tabularnewline
35 & 0.736187859115781 & 0.527624281768439 & 0.263812140884219 \tabularnewline
36 & 0.79910949004454 & 0.40178101991092 & 0.20089050995546 \tabularnewline
37 & 0.841601265132248 & 0.316797469735504 & 0.158398734867752 \tabularnewline
38 & 0.876343035692081 & 0.247313928615839 & 0.123656964307919 \tabularnewline
39 & 0.858254395995178 & 0.283491208009644 & 0.141745604004822 \tabularnewline
40 & 0.769634442219025 & 0.46073111556195 & 0.230365557780975 \tabularnewline
41 & 0.657297091741855 & 0.68540581651629 & 0.342702908258145 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146503&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]8[/C][C]0.0865052419754733[/C][C]0.173010483950947[/C][C]0.913494758024527[/C][/ROW]
[ROW][C]9[/C][C]0.0324419414050733[/C][C]0.0648838828101466[/C][C]0.967558058594927[/C][/ROW]
[ROW][C]10[/C][C]0.0386690991505578[/C][C]0.0773381983011157[/C][C]0.961330900849442[/C][/ROW]
[ROW][C]11[/C][C]0.0186462256656915[/C][C]0.037292451331383[/C][C]0.981353774334308[/C][/ROW]
[ROW][C]12[/C][C]0.148194221570768[/C][C]0.296388443141537[/C][C]0.851805778429232[/C][/ROW]
[ROW][C]13[/C][C]0.093919625913807[/C][C]0.187839251827614[/C][C]0.906080374086193[/C][/ROW]
[ROW][C]14[/C][C]0.0899311341178041[/C][C]0.179862268235608[/C][C]0.910068865882196[/C][/ROW]
[ROW][C]15[/C][C]0.184436733142783[/C][C]0.368873466285566[/C][C]0.815563266857217[/C][/ROW]
[ROW][C]16[/C][C]0.20993443760868[/C][C]0.419868875217359[/C][C]0.79006556239132[/C][/ROW]
[ROW][C]17[/C][C]0.215178198040074[/C][C]0.430356396080147[/C][C]0.784821801959926[/C][/ROW]
[ROW][C]18[/C][C]0.266603824628354[/C][C]0.533207649256709[/C][C]0.733396175371646[/C][/ROW]
[ROW][C]19[/C][C]0.489715414424324[/C][C]0.979430828848648[/C][C]0.510284585575676[/C][/ROW]
[ROW][C]20[/C][C]0.66216392739965[/C][C]0.6756721452007[/C][C]0.33783607260035[/C][/ROW]
[ROW][C]21[/C][C]0.612126870471503[/C][C]0.775746259056995[/C][C]0.387873129528497[/C][/ROW]
[ROW][C]22[/C][C]0.578166005002261[/C][C]0.843667989995479[/C][C]0.421833994997739[/C][/ROW]
[ROW][C]23[/C][C]0.574397316615462[/C][C]0.851205366769076[/C][C]0.425602683384538[/C][/ROW]
[ROW][C]24[/C][C]0.552614690230154[/C][C]0.894770619539693[/C][C]0.447385309769846[/C][/ROW]
[ROW][C]25[/C][C]0.466615846179058[/C][C]0.933231692358116[/C][C]0.533384153820942[/C][/ROW]
[ROW][C]26[/C][C]0.402482789771362[/C][C]0.804965579542723[/C][C]0.597517210228638[/C][/ROW]
[ROW][C]27[/C][C]0.336804956088885[/C][C]0.673609912177771[/C][C]0.663195043911115[/C][/ROW]
[ROW][C]28[/C][C]0.344568251603332[/C][C]0.689136503206665[/C][C]0.655431748396668[/C][/ROW]
[ROW][C]29[/C][C]0.330184221960114[/C][C]0.660368443920228[/C][C]0.669815778039886[/C][/ROW]
[ROW][C]30[/C][C]0.376163125804109[/C][C]0.752326251608218[/C][C]0.623836874195891[/C][/ROW]
[ROW][C]31[/C][C]0.455214150028837[/C][C]0.910428300057675[/C][C]0.544785849971163[/C][/ROW]
[ROW][C]32[/C][C]0.495953889456643[/C][C]0.991907778913285[/C][C]0.504046110543357[/C][/ROW]
[ROW][C]33[/C][C]0.576892544173442[/C][C]0.846214911653116[/C][C]0.423107455826558[/C][/ROW]
[ROW][C]34[/C][C]0.619720032546554[/C][C]0.760559934906893[/C][C]0.380279967453446[/C][/ROW]
[ROW][C]35[/C][C]0.736187859115781[/C][C]0.527624281768439[/C][C]0.263812140884219[/C][/ROW]
[ROW][C]36[/C][C]0.79910949004454[/C][C]0.40178101991092[/C][C]0.20089050995546[/C][/ROW]
[ROW][C]37[/C][C]0.841601265132248[/C][C]0.316797469735504[/C][C]0.158398734867752[/C][/ROW]
[ROW][C]38[/C][C]0.876343035692081[/C][C]0.247313928615839[/C][C]0.123656964307919[/C][/ROW]
[ROW][C]39[/C][C]0.858254395995178[/C][C]0.283491208009644[/C][C]0.141745604004822[/C][/ROW]
[ROW][C]40[/C][C]0.769634442219025[/C][C]0.46073111556195[/C][C]0.230365557780975[/C][/ROW]
[ROW][C]41[/C][C]0.657297091741855[/C][C]0.68540581651629[/C][C]0.342702908258145[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146503&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146503&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
80.08650524197547330.1730104839509470.913494758024527
90.03244194140507330.06488388281014660.967558058594927
100.03866909915055780.07733819830111570.961330900849442
110.01864622566569150.0372924513313830.981353774334308
120.1481942215707680.2963884431415370.851805778429232
130.0939196259138070.1878392518276140.906080374086193
140.08993113411780410.1798622682356080.910068865882196
150.1844367331427830.3688734662855660.815563266857217
160.209934437608680.4198688752173590.79006556239132
170.2151781980400740.4303563960801470.784821801959926
180.2666038246283540.5332076492567090.733396175371646
190.4897154144243240.9794308288486480.510284585575676
200.662163927399650.67567214520070.33783607260035
210.6121268704715030.7757462590569950.387873129528497
220.5781660050022610.8436679899954790.421833994997739
230.5743973166154620.8512053667690760.425602683384538
240.5526146902301540.8947706195396930.447385309769846
250.4666158461790580.9332316923581160.533384153820942
260.4024827897713620.8049655795427230.597517210228638
270.3368049560888850.6736099121777710.663195043911115
280.3445682516033320.6891365032066650.655431748396668
290.3301842219601140.6603684439202280.669815778039886
300.3761631258041090.7523262516082180.623836874195891
310.4552141500288370.9104283000576750.544785849971163
320.4959538894566430.9919077789132850.504046110543357
330.5768925441734420.8462149116531160.423107455826558
340.6197200325465540.7605599349068930.380279967453446
350.7361878591157810.5276242817684390.263812140884219
360.799109490044540.401781019910920.20089050995546
370.8416012651322480.3167974697355040.158398734867752
380.8763430356920810.2473139286158390.123656964307919
390.8582543959951780.2834912080096440.141745604004822
400.7696344422190250.460731115561950.230365557780975
410.6572970917418550.685405816516290.342702908258145







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

\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 & 1 & 0.0294117647058824 & OK \tabularnewline
10% type I error level & 3 & 0.0882352941176471 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146503&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]1[/C][C]0.0294117647058824[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]3[/C][C]0.0882352941176471[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146503&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146503&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 level10.0294117647058824OK
10% type I error level30.0882352941176471OK



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