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 computationThu, 02 Dec 2010 22:18:02 +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/02/t12913281759j9g5v9cfb9f5un.htm/, Retrieved Sun, 05 May 2024 20:16:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104488, Retrieved Sun, 05 May 2024 20:16:49 +0000
QR Codes:

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

Post a new message
Dataseries X:
-820,8	0
993,3	0
741,7	0
603,6	0
-145,8	0
-35,1	0
395,1	0
523,1	0
462,3	0
183,4	0
791,5	0
344,8	0
-217,0	0
406,7	0
228,6	0
-580,1	0
-1550,4	0
-1447,5	0
-40,1	0
-1033,5	0
-925,6	0
-347,8	0
-447,7	0
-102,6	0
-2062,2	0
-929,7	1
-720,7	1
-1541,8	1
-1432,3	1
-1216,2	1
-212,8	1
-378,2	1
76,9	1
-101,3	1
220,4	1
495,6	1
-1035,2	1
61,8	1
-734,8	1
-6,9	1
-1061,1	1
-854,6	1
-186,5	1
244,0	1
-992,6	1
-335,2	1
316,8	1
477,6	1
-572,1	1
1115,2	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 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 & 8 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104488&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]8 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=104488&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Totaal[t] = -33.5225000000001 + 40.6773461538463Dummy[t] -9.98165384615385t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Totaal[t] =  -33.5225000000001 +  40.6773461538463Dummy[t] -9.98165384615385t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104488&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Totaal[t] =  -33.5225000000001 +  40.6773461538463Dummy[t] -9.98165384615385t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104488&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104488&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
Totaal[t] = -33.5225000000001 + 40.6773461538463Dummy[t] -9.98165384615385t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-33.5225000000001239.130731-0.14020.8891130.444557
Dummy40.6773461538463417.7116320.09740.9228380.461419
t-9.9816538461538514.47285-0.68970.4937860.246893

\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) & -33.5225000000001 & 239.130731 & -0.1402 & 0.889113 & 0.444557 \tabularnewline
Dummy & 40.6773461538463 & 417.711632 & 0.0974 & 0.922838 & 0.461419 \tabularnewline
t & -9.98165384615385 & 14.47285 & -0.6897 & 0.493786 & 0.246893 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104488&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]-33.5225000000001[/C][C]239.130731[/C][C]-0.1402[/C][C]0.889113[/C][C]0.444557[/C][/ROW]
[ROW][C]Dummy[/C][C]40.6773461538463[/C][C]417.711632[/C][C]0.0974[/C][C]0.922838[/C][C]0.461419[/C][/ROW]
[ROW][C]t[/C][C]-9.98165384615385[/C][C]14.47285[/C][C]-0.6897[/C][C]0.493786[/C][C]0.246893[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104488&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104488&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)-33.5225000000001239.130731-0.14020.8891130.444557
Dummy40.6773461538463417.7116320.09740.9228380.461419
t-9.9816538461538514.47285-0.68970.4937860.246893







Multiple Linear Regression - Regression Statistics
Multiple R0.174547615419622
R-squared0.0304668700486763
Adjusted R-squared-0.0107898588854227
F-TEST (value)0.738470325588399
F-TEST (DF numerator)2
F-TEST (DF denominator)47
p-value0.483306201821193
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation737.973458856313
Sum Squared Residuals25596426.8208885

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.174547615419622 \tabularnewline
R-squared & 0.0304668700486763 \tabularnewline
Adjusted R-squared & -0.0107898588854227 \tabularnewline
F-TEST (value) & 0.738470325588399 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.483306201821193 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 737.973458856313 \tabularnewline
Sum Squared Residuals & 25596426.8208885 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104488&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.174547615419622[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0304668700486763[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0107898588854227[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.738470325588399[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.483306201821193[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]737.973458856313[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]25596426.8208885[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104488&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104488&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.174547615419622
R-squared0.0304668700486763
Adjusted R-squared-0.0107898588854227
F-TEST (value)0.738470325588399
F-TEST (DF numerator)2
F-TEST (DF denominator)47
p-value0.483306201821193
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation737.973458856313
Sum Squared Residuals25596426.8208885







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1-820.8-43.5041538461539-777.295846153846
2993.3-53.48580769230721046.78580769231
3741.7-63.4674615384629805.167461538463
4603.6-73.4491153846157677.049115384616
5-145.8-83.4307692307694-62.3692307692306
6-35.1-93.412423076923258.3124230769232
7395.1-103.394076923077498.494076923077
8523.1-113.375730769231636.475730769231
9462.3-123.357384615385585.657384615385
10183.4-133.339038461538316.739038461538
11791.5-143.320692307692934.820692307692
12344.8-153.302346153846498.102346153846
13-217-163.284-53.716
14406.7-173.265653846154579.965653846154
15228.6-183.247307692308411.847307692308
16-580.1-193.228961538461-386.871038461539
17-1550.4-203.210615384615-1347.18938461538
18-1447.5-213.192269230769-1234.30773076923
19-40.1-223.173923076923183.073923076923
20-1033.5-233.155576923077-800.344423076923
21-925.6-243.137230769231-682.46276923077
22-347.8-253.118884615384-94.6811153846156
23-447.7-263.100538461538-184.599461538462
24-102.6-273.082192307692170.482192307692
25-2062.2-283.063846153846-1779.13615384615
26-929.7-252.368153846154-677.331846153846
27-720.7-262.349807692308-458.350192307692
28-1541.8-272.331461538462-1269.46853846154
29-1432.3-282.313115384616-1149.98688461538
30-1216.2-292.294769230769-923.90523076923
31-212.8-302.27642307692389.4764230769232
32-378.2-312.258076923077-65.9419230769229
3376.9-322.239730769231399.139730769231
34-101.3-332.221384615385230.921384615385
35220.4-342.203038461538562.603038461538
36495.6-352.184692307692847.784692307692
37-1035.2-362.166346153846-673.033653846154
3861.8-372.148433.948
39-734.8-382.129653846154-352.670346153846
40-6.9-392.111307692308385.211307692308
41-1061.1-402.092961538462-659.007038461538
42-854.6-412.074615384615-442.525384615385
43-186.5-422.056269230769235.556269230769
44244-432.037923076923676.037923076923
45-992.6-442.019576923077-550.580423076923
46-335.2-452.001230769231116.801230769231
47316.8-461.982884615384778.782884615384
48477.6-471.964538461538949.564538461538
49-572.1-481.946192307692-90.153807692308
501115.2-491.9278461538461607.12784615385

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & -820.8 & -43.5041538461539 & -777.295846153846 \tabularnewline
2 & 993.3 & -53.4858076923072 & 1046.78580769231 \tabularnewline
3 & 741.7 & -63.4674615384629 & 805.167461538463 \tabularnewline
4 & 603.6 & -73.4491153846157 & 677.049115384616 \tabularnewline
5 & -145.8 & -83.4307692307694 & -62.3692307692306 \tabularnewline
6 & -35.1 & -93.4124230769232 & 58.3124230769232 \tabularnewline
7 & 395.1 & -103.394076923077 & 498.494076923077 \tabularnewline
8 & 523.1 & -113.375730769231 & 636.475730769231 \tabularnewline
9 & 462.3 & -123.357384615385 & 585.657384615385 \tabularnewline
10 & 183.4 & -133.339038461538 & 316.739038461538 \tabularnewline
11 & 791.5 & -143.320692307692 & 934.820692307692 \tabularnewline
12 & 344.8 & -153.302346153846 & 498.102346153846 \tabularnewline
13 & -217 & -163.284 & -53.716 \tabularnewline
14 & 406.7 & -173.265653846154 & 579.965653846154 \tabularnewline
15 & 228.6 & -183.247307692308 & 411.847307692308 \tabularnewline
16 & -580.1 & -193.228961538461 & -386.871038461539 \tabularnewline
17 & -1550.4 & -203.210615384615 & -1347.18938461538 \tabularnewline
18 & -1447.5 & -213.192269230769 & -1234.30773076923 \tabularnewline
19 & -40.1 & -223.173923076923 & 183.073923076923 \tabularnewline
20 & -1033.5 & -233.155576923077 & -800.344423076923 \tabularnewline
21 & -925.6 & -243.137230769231 & -682.46276923077 \tabularnewline
22 & -347.8 & -253.118884615384 & -94.6811153846156 \tabularnewline
23 & -447.7 & -263.100538461538 & -184.599461538462 \tabularnewline
24 & -102.6 & -273.082192307692 & 170.482192307692 \tabularnewline
25 & -2062.2 & -283.063846153846 & -1779.13615384615 \tabularnewline
26 & -929.7 & -252.368153846154 & -677.331846153846 \tabularnewline
27 & -720.7 & -262.349807692308 & -458.350192307692 \tabularnewline
28 & -1541.8 & -272.331461538462 & -1269.46853846154 \tabularnewline
29 & -1432.3 & -282.313115384616 & -1149.98688461538 \tabularnewline
30 & -1216.2 & -292.294769230769 & -923.90523076923 \tabularnewline
31 & -212.8 & -302.276423076923 & 89.4764230769232 \tabularnewline
32 & -378.2 & -312.258076923077 & -65.9419230769229 \tabularnewline
33 & 76.9 & -322.239730769231 & 399.139730769231 \tabularnewline
34 & -101.3 & -332.221384615385 & 230.921384615385 \tabularnewline
35 & 220.4 & -342.203038461538 & 562.603038461538 \tabularnewline
36 & 495.6 & -352.184692307692 & 847.784692307692 \tabularnewline
37 & -1035.2 & -362.166346153846 & -673.033653846154 \tabularnewline
38 & 61.8 & -372.148 & 433.948 \tabularnewline
39 & -734.8 & -382.129653846154 & -352.670346153846 \tabularnewline
40 & -6.9 & -392.111307692308 & 385.211307692308 \tabularnewline
41 & -1061.1 & -402.092961538462 & -659.007038461538 \tabularnewline
42 & -854.6 & -412.074615384615 & -442.525384615385 \tabularnewline
43 & -186.5 & -422.056269230769 & 235.556269230769 \tabularnewline
44 & 244 & -432.037923076923 & 676.037923076923 \tabularnewline
45 & -992.6 & -442.019576923077 & -550.580423076923 \tabularnewline
46 & -335.2 & -452.001230769231 & 116.801230769231 \tabularnewline
47 & 316.8 & -461.982884615384 & 778.782884615384 \tabularnewline
48 & 477.6 & -471.964538461538 & 949.564538461538 \tabularnewline
49 & -572.1 & -481.946192307692 & -90.153807692308 \tabularnewline
50 & 1115.2 & -491.927846153846 & 1607.12784615385 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104488&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]-820.8[/C][C]-43.5041538461539[/C][C]-777.295846153846[/C][/ROW]
[ROW][C]2[/C][C]993.3[/C][C]-53.4858076923072[/C][C]1046.78580769231[/C][/ROW]
[ROW][C]3[/C][C]741.7[/C][C]-63.4674615384629[/C][C]805.167461538463[/C][/ROW]
[ROW][C]4[/C][C]603.6[/C][C]-73.4491153846157[/C][C]677.049115384616[/C][/ROW]
[ROW][C]5[/C][C]-145.8[/C][C]-83.4307692307694[/C][C]-62.3692307692306[/C][/ROW]
[ROW][C]6[/C][C]-35.1[/C][C]-93.4124230769232[/C][C]58.3124230769232[/C][/ROW]
[ROW][C]7[/C][C]395.1[/C][C]-103.394076923077[/C][C]498.494076923077[/C][/ROW]
[ROW][C]8[/C][C]523.1[/C][C]-113.375730769231[/C][C]636.475730769231[/C][/ROW]
[ROW][C]9[/C][C]462.3[/C][C]-123.357384615385[/C][C]585.657384615385[/C][/ROW]
[ROW][C]10[/C][C]183.4[/C][C]-133.339038461538[/C][C]316.739038461538[/C][/ROW]
[ROW][C]11[/C][C]791.5[/C][C]-143.320692307692[/C][C]934.820692307692[/C][/ROW]
[ROW][C]12[/C][C]344.8[/C][C]-153.302346153846[/C][C]498.102346153846[/C][/ROW]
[ROW][C]13[/C][C]-217[/C][C]-163.284[/C][C]-53.716[/C][/ROW]
[ROW][C]14[/C][C]406.7[/C][C]-173.265653846154[/C][C]579.965653846154[/C][/ROW]
[ROW][C]15[/C][C]228.6[/C][C]-183.247307692308[/C][C]411.847307692308[/C][/ROW]
[ROW][C]16[/C][C]-580.1[/C][C]-193.228961538461[/C][C]-386.871038461539[/C][/ROW]
[ROW][C]17[/C][C]-1550.4[/C][C]-203.210615384615[/C][C]-1347.18938461538[/C][/ROW]
[ROW][C]18[/C][C]-1447.5[/C][C]-213.192269230769[/C][C]-1234.30773076923[/C][/ROW]
[ROW][C]19[/C][C]-40.1[/C][C]-223.173923076923[/C][C]183.073923076923[/C][/ROW]
[ROW][C]20[/C][C]-1033.5[/C][C]-233.155576923077[/C][C]-800.344423076923[/C][/ROW]
[ROW][C]21[/C][C]-925.6[/C][C]-243.137230769231[/C][C]-682.46276923077[/C][/ROW]
[ROW][C]22[/C][C]-347.8[/C][C]-253.118884615384[/C][C]-94.6811153846156[/C][/ROW]
[ROW][C]23[/C][C]-447.7[/C][C]-263.100538461538[/C][C]-184.599461538462[/C][/ROW]
[ROW][C]24[/C][C]-102.6[/C][C]-273.082192307692[/C][C]170.482192307692[/C][/ROW]
[ROW][C]25[/C][C]-2062.2[/C][C]-283.063846153846[/C][C]-1779.13615384615[/C][/ROW]
[ROW][C]26[/C][C]-929.7[/C][C]-252.368153846154[/C][C]-677.331846153846[/C][/ROW]
[ROW][C]27[/C][C]-720.7[/C][C]-262.349807692308[/C][C]-458.350192307692[/C][/ROW]
[ROW][C]28[/C][C]-1541.8[/C][C]-272.331461538462[/C][C]-1269.46853846154[/C][/ROW]
[ROW][C]29[/C][C]-1432.3[/C][C]-282.313115384616[/C][C]-1149.98688461538[/C][/ROW]
[ROW][C]30[/C][C]-1216.2[/C][C]-292.294769230769[/C][C]-923.90523076923[/C][/ROW]
[ROW][C]31[/C][C]-212.8[/C][C]-302.276423076923[/C][C]89.4764230769232[/C][/ROW]
[ROW][C]32[/C][C]-378.2[/C][C]-312.258076923077[/C][C]-65.9419230769229[/C][/ROW]
[ROW][C]33[/C][C]76.9[/C][C]-322.239730769231[/C][C]399.139730769231[/C][/ROW]
[ROW][C]34[/C][C]-101.3[/C][C]-332.221384615385[/C][C]230.921384615385[/C][/ROW]
[ROW][C]35[/C][C]220.4[/C][C]-342.203038461538[/C][C]562.603038461538[/C][/ROW]
[ROW][C]36[/C][C]495.6[/C][C]-352.184692307692[/C][C]847.784692307692[/C][/ROW]
[ROW][C]37[/C][C]-1035.2[/C][C]-362.166346153846[/C][C]-673.033653846154[/C][/ROW]
[ROW][C]38[/C][C]61.8[/C][C]-372.148[/C][C]433.948[/C][/ROW]
[ROW][C]39[/C][C]-734.8[/C][C]-382.129653846154[/C][C]-352.670346153846[/C][/ROW]
[ROW][C]40[/C][C]-6.9[/C][C]-392.111307692308[/C][C]385.211307692308[/C][/ROW]
[ROW][C]41[/C][C]-1061.1[/C][C]-402.092961538462[/C][C]-659.007038461538[/C][/ROW]
[ROW][C]42[/C][C]-854.6[/C][C]-412.074615384615[/C][C]-442.525384615385[/C][/ROW]
[ROW][C]43[/C][C]-186.5[/C][C]-422.056269230769[/C][C]235.556269230769[/C][/ROW]
[ROW][C]44[/C][C]244[/C][C]-432.037923076923[/C][C]676.037923076923[/C][/ROW]
[ROW][C]45[/C][C]-992.6[/C][C]-442.019576923077[/C][C]-550.580423076923[/C][/ROW]
[ROW][C]46[/C][C]-335.2[/C][C]-452.001230769231[/C][C]116.801230769231[/C][/ROW]
[ROW][C]47[/C][C]316.8[/C][C]-461.982884615384[/C][C]778.782884615384[/C][/ROW]
[ROW][C]48[/C][C]477.6[/C][C]-471.964538461538[/C][C]949.564538461538[/C][/ROW]
[ROW][C]49[/C][C]-572.1[/C][C]-481.946192307692[/C][C]-90.153807692308[/C][/ROW]
[ROW][C]50[/C][C]1115.2[/C][C]-491.927846153846[/C][C]1607.12784615385[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104488&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104488&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
1-820.8-43.5041538461539-777.295846153846
2993.3-53.48580769230721046.78580769231
3741.7-63.4674615384629805.167461538463
4603.6-73.4491153846157677.049115384616
5-145.8-83.4307692307694-62.3692307692306
6-35.1-93.412423076923258.3124230769232
7395.1-103.394076923077498.494076923077
8523.1-113.375730769231636.475730769231
9462.3-123.357384615385585.657384615385
10183.4-133.339038461538316.739038461538
11791.5-143.320692307692934.820692307692
12344.8-153.302346153846498.102346153846
13-217-163.284-53.716
14406.7-173.265653846154579.965653846154
15228.6-183.247307692308411.847307692308
16-580.1-193.228961538461-386.871038461539
17-1550.4-203.210615384615-1347.18938461538
18-1447.5-213.192269230769-1234.30773076923
19-40.1-223.173923076923183.073923076923
20-1033.5-233.155576923077-800.344423076923
21-925.6-243.137230769231-682.46276923077
22-347.8-253.118884615384-94.6811153846156
23-447.7-263.100538461538-184.599461538462
24-102.6-273.082192307692170.482192307692
25-2062.2-283.063846153846-1779.13615384615
26-929.7-252.368153846154-677.331846153846
27-720.7-262.349807692308-458.350192307692
28-1541.8-272.331461538462-1269.46853846154
29-1432.3-282.313115384616-1149.98688461538
30-1216.2-292.294769230769-923.90523076923
31-212.8-302.27642307692389.4764230769232
32-378.2-312.258076923077-65.9419230769229
3376.9-322.239730769231399.139730769231
34-101.3-332.221384615385230.921384615385
35220.4-342.203038461538562.603038461538
36495.6-352.184692307692847.784692307692
37-1035.2-362.166346153846-673.033653846154
3861.8-372.148433.948
39-734.8-382.129653846154-352.670346153846
40-6.9-392.111307692308385.211307692308
41-1061.1-402.092961538462-659.007038461538
42-854.6-412.074615384615-442.525384615385
43-186.5-422.056269230769235.556269230769
44244-432.037923076923676.037923076923
45-992.6-442.019576923077-550.580423076923
46-335.2-452.001230769231116.801230769231
47316.8-461.982884615384778.782884615384
48477.6-471.964538461538949.564538461538
49-572.1-481.946192307692-90.153807692308
501115.2-491.9278461538461607.12784615385







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.7444584906497440.5110830187005130.255541509350256
70.6093244866844280.7813510266311440.390675513315572
80.4867924015284450.973584803056890.513207598471555
90.3752802844659330.7505605689318670.624719715534067
100.2874020972584860.5748041945169720.712597902741514
110.2656959210733470.5313918421466940.734304078926653
120.2202866590833480.4405733181666960.779713340916652
130.2272853231468260.4545706462936530.772714676853174
140.211135057825310.422270115650620.78886494217469
150.2025083309049420.4050166618098830.797491669095058
160.2557304485469750.511460897093950.744269551453025
170.5536451833847460.8927096332305080.446354816615254
180.6279696093728070.7440607812543860.372030390627193
190.6285670310589560.7428659378820870.371432968941044
200.5662596102595590.8674807794808820.433740389740441
210.4832786368999210.9665572737998410.516721363100079
220.4414126802603660.8828253605207320.558587319739634
230.3961924056802900.7923848113605810.60380759431971
240.5573185275312960.8853629449374080.442681472468704
250.6251238916419970.7497522167160050.374876108358003
260.5404565992528380.9190868014943230.459543400747162
270.4600870936028790.9201741872057580.539912906397121
280.4644800702959850.928960140591970.535519929704015
290.4679617734835980.9359235469671970.532038226516402
300.4680589535778880.9361179071557770.531941046422112
310.4754615790203360.9509231580406710.524538420979664
320.4341989465380670.8683978930761330.565801053461933
330.4615594582123240.9231189164246480.538440541787676
340.4318810574744890.8637621149489790.56811894252551
350.4854190124682240.9708380249364480.514580987531776
360.6997999976127470.6004000047745060.300200002387253
370.6187097351079640.7625805297840720.381290264892036
380.6715026636857860.6569946726284280.328497336314214
390.5640090683380020.8719818633239960.435990931661998
400.6292915559400910.7414168881198170.370708444059909
410.5162650288875840.9674699422248330.483734971112416
420.3967903165207950.793580633041590.603209683479205
430.294548296760770.589096593521540.70545170323923
440.3684113549112550.736822709822510.631588645088745

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.744458490649744 & 0.511083018700513 & 0.255541509350256 \tabularnewline
7 & 0.609324486684428 & 0.781351026631144 & 0.390675513315572 \tabularnewline
8 & 0.486792401528445 & 0.97358480305689 & 0.513207598471555 \tabularnewline
9 & 0.375280284465933 & 0.750560568931867 & 0.624719715534067 \tabularnewline
10 & 0.287402097258486 & 0.574804194516972 & 0.712597902741514 \tabularnewline
11 & 0.265695921073347 & 0.531391842146694 & 0.734304078926653 \tabularnewline
12 & 0.220286659083348 & 0.440573318166696 & 0.779713340916652 \tabularnewline
13 & 0.227285323146826 & 0.454570646293653 & 0.772714676853174 \tabularnewline
14 & 0.21113505782531 & 0.42227011565062 & 0.78886494217469 \tabularnewline
15 & 0.202508330904942 & 0.405016661809883 & 0.797491669095058 \tabularnewline
16 & 0.255730448546975 & 0.51146089709395 & 0.744269551453025 \tabularnewline
17 & 0.553645183384746 & 0.892709633230508 & 0.446354816615254 \tabularnewline
18 & 0.627969609372807 & 0.744060781254386 & 0.372030390627193 \tabularnewline
19 & 0.628567031058956 & 0.742865937882087 & 0.371432968941044 \tabularnewline
20 & 0.566259610259559 & 0.867480779480882 & 0.433740389740441 \tabularnewline
21 & 0.483278636899921 & 0.966557273799841 & 0.516721363100079 \tabularnewline
22 & 0.441412680260366 & 0.882825360520732 & 0.558587319739634 \tabularnewline
23 & 0.396192405680290 & 0.792384811360581 & 0.60380759431971 \tabularnewline
24 & 0.557318527531296 & 0.885362944937408 & 0.442681472468704 \tabularnewline
25 & 0.625123891641997 & 0.749752216716005 & 0.374876108358003 \tabularnewline
26 & 0.540456599252838 & 0.919086801494323 & 0.459543400747162 \tabularnewline
27 & 0.460087093602879 & 0.920174187205758 & 0.539912906397121 \tabularnewline
28 & 0.464480070295985 & 0.92896014059197 & 0.535519929704015 \tabularnewline
29 & 0.467961773483598 & 0.935923546967197 & 0.532038226516402 \tabularnewline
30 & 0.468058953577888 & 0.936117907155777 & 0.531941046422112 \tabularnewline
31 & 0.475461579020336 & 0.950923158040671 & 0.524538420979664 \tabularnewline
32 & 0.434198946538067 & 0.868397893076133 & 0.565801053461933 \tabularnewline
33 & 0.461559458212324 & 0.923118916424648 & 0.538440541787676 \tabularnewline
34 & 0.431881057474489 & 0.863762114948979 & 0.56811894252551 \tabularnewline
35 & 0.485419012468224 & 0.970838024936448 & 0.514580987531776 \tabularnewline
36 & 0.699799997612747 & 0.600400004774506 & 0.300200002387253 \tabularnewline
37 & 0.618709735107964 & 0.762580529784072 & 0.381290264892036 \tabularnewline
38 & 0.671502663685786 & 0.656994672628428 & 0.328497336314214 \tabularnewline
39 & 0.564009068338002 & 0.871981863323996 & 0.435990931661998 \tabularnewline
40 & 0.629291555940091 & 0.741416888119817 & 0.370708444059909 \tabularnewline
41 & 0.516265028887584 & 0.967469942224833 & 0.483734971112416 \tabularnewline
42 & 0.396790316520795 & 0.79358063304159 & 0.603209683479205 \tabularnewline
43 & 0.29454829676077 & 0.58909659352154 & 0.70545170323923 \tabularnewline
44 & 0.368411354911255 & 0.73682270982251 & 0.631588645088745 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104488&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.744458490649744[/C][C]0.511083018700513[/C][C]0.255541509350256[/C][/ROW]
[ROW][C]7[/C][C]0.609324486684428[/C][C]0.781351026631144[/C][C]0.390675513315572[/C][/ROW]
[ROW][C]8[/C][C]0.486792401528445[/C][C]0.97358480305689[/C][C]0.513207598471555[/C][/ROW]
[ROW][C]9[/C][C]0.375280284465933[/C][C]0.750560568931867[/C][C]0.624719715534067[/C][/ROW]
[ROW][C]10[/C][C]0.287402097258486[/C][C]0.574804194516972[/C][C]0.712597902741514[/C][/ROW]
[ROW][C]11[/C][C]0.265695921073347[/C][C]0.531391842146694[/C][C]0.734304078926653[/C][/ROW]
[ROW][C]12[/C][C]0.220286659083348[/C][C]0.440573318166696[/C][C]0.779713340916652[/C][/ROW]
[ROW][C]13[/C][C]0.227285323146826[/C][C]0.454570646293653[/C][C]0.772714676853174[/C][/ROW]
[ROW][C]14[/C][C]0.21113505782531[/C][C]0.42227011565062[/C][C]0.78886494217469[/C][/ROW]
[ROW][C]15[/C][C]0.202508330904942[/C][C]0.405016661809883[/C][C]0.797491669095058[/C][/ROW]
[ROW][C]16[/C][C]0.255730448546975[/C][C]0.51146089709395[/C][C]0.744269551453025[/C][/ROW]
[ROW][C]17[/C][C]0.553645183384746[/C][C]0.892709633230508[/C][C]0.446354816615254[/C][/ROW]
[ROW][C]18[/C][C]0.627969609372807[/C][C]0.744060781254386[/C][C]0.372030390627193[/C][/ROW]
[ROW][C]19[/C][C]0.628567031058956[/C][C]0.742865937882087[/C][C]0.371432968941044[/C][/ROW]
[ROW][C]20[/C][C]0.566259610259559[/C][C]0.867480779480882[/C][C]0.433740389740441[/C][/ROW]
[ROW][C]21[/C][C]0.483278636899921[/C][C]0.966557273799841[/C][C]0.516721363100079[/C][/ROW]
[ROW][C]22[/C][C]0.441412680260366[/C][C]0.882825360520732[/C][C]0.558587319739634[/C][/ROW]
[ROW][C]23[/C][C]0.396192405680290[/C][C]0.792384811360581[/C][C]0.60380759431971[/C][/ROW]
[ROW][C]24[/C][C]0.557318527531296[/C][C]0.885362944937408[/C][C]0.442681472468704[/C][/ROW]
[ROW][C]25[/C][C]0.625123891641997[/C][C]0.749752216716005[/C][C]0.374876108358003[/C][/ROW]
[ROW][C]26[/C][C]0.540456599252838[/C][C]0.919086801494323[/C][C]0.459543400747162[/C][/ROW]
[ROW][C]27[/C][C]0.460087093602879[/C][C]0.920174187205758[/C][C]0.539912906397121[/C][/ROW]
[ROW][C]28[/C][C]0.464480070295985[/C][C]0.92896014059197[/C][C]0.535519929704015[/C][/ROW]
[ROW][C]29[/C][C]0.467961773483598[/C][C]0.935923546967197[/C][C]0.532038226516402[/C][/ROW]
[ROW][C]30[/C][C]0.468058953577888[/C][C]0.936117907155777[/C][C]0.531941046422112[/C][/ROW]
[ROW][C]31[/C][C]0.475461579020336[/C][C]0.950923158040671[/C][C]0.524538420979664[/C][/ROW]
[ROW][C]32[/C][C]0.434198946538067[/C][C]0.868397893076133[/C][C]0.565801053461933[/C][/ROW]
[ROW][C]33[/C][C]0.461559458212324[/C][C]0.923118916424648[/C][C]0.538440541787676[/C][/ROW]
[ROW][C]34[/C][C]0.431881057474489[/C][C]0.863762114948979[/C][C]0.56811894252551[/C][/ROW]
[ROW][C]35[/C][C]0.485419012468224[/C][C]0.970838024936448[/C][C]0.514580987531776[/C][/ROW]
[ROW][C]36[/C][C]0.699799997612747[/C][C]0.600400004774506[/C][C]0.300200002387253[/C][/ROW]
[ROW][C]37[/C][C]0.618709735107964[/C][C]0.762580529784072[/C][C]0.381290264892036[/C][/ROW]
[ROW][C]38[/C][C]0.671502663685786[/C][C]0.656994672628428[/C][C]0.328497336314214[/C][/ROW]
[ROW][C]39[/C][C]0.564009068338002[/C][C]0.871981863323996[/C][C]0.435990931661998[/C][/ROW]
[ROW][C]40[/C][C]0.629291555940091[/C][C]0.741416888119817[/C][C]0.370708444059909[/C][/ROW]
[ROW][C]41[/C][C]0.516265028887584[/C][C]0.967469942224833[/C][C]0.483734971112416[/C][/ROW]
[ROW][C]42[/C][C]0.396790316520795[/C][C]0.79358063304159[/C][C]0.603209683479205[/C][/ROW]
[ROW][C]43[/C][C]0.29454829676077[/C][C]0.58909659352154[/C][C]0.70545170323923[/C][/ROW]
[ROW][C]44[/C][C]0.368411354911255[/C][C]0.73682270982251[/C][C]0.631588645088745[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104488&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104488&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.7444584906497440.5110830187005130.255541509350256
70.6093244866844280.7813510266311440.390675513315572
80.4867924015284450.973584803056890.513207598471555
90.3752802844659330.7505605689318670.624719715534067
100.2874020972584860.5748041945169720.712597902741514
110.2656959210733470.5313918421466940.734304078926653
120.2202866590833480.4405733181666960.779713340916652
130.2272853231468260.4545706462936530.772714676853174
140.211135057825310.422270115650620.78886494217469
150.2025083309049420.4050166618098830.797491669095058
160.2557304485469750.511460897093950.744269551453025
170.5536451833847460.8927096332305080.446354816615254
180.6279696093728070.7440607812543860.372030390627193
190.6285670310589560.7428659378820870.371432968941044
200.5662596102595590.8674807794808820.433740389740441
210.4832786368999210.9665572737998410.516721363100079
220.4414126802603660.8828253605207320.558587319739634
230.3961924056802900.7923848113605810.60380759431971
240.5573185275312960.8853629449374080.442681472468704
250.6251238916419970.7497522167160050.374876108358003
260.5404565992528380.9190868014943230.459543400747162
270.4600870936028790.9201741872057580.539912906397121
280.4644800702959850.928960140591970.535519929704015
290.4679617734835980.9359235469671970.532038226516402
300.4680589535778880.9361179071557770.531941046422112
310.4754615790203360.9509231580406710.524538420979664
320.4341989465380670.8683978930761330.565801053461933
330.4615594582123240.9231189164246480.538440541787676
340.4318810574744890.8637621149489790.56811894252551
350.4854190124682240.9708380249364480.514580987531776
360.6997999976127470.6004000047745060.300200002387253
370.6187097351079640.7625805297840720.381290264892036
380.6715026636857860.6569946726284280.328497336314214
390.5640090683380020.8719818633239960.435990931661998
400.6292915559400910.7414168881198170.370708444059909
410.5162650288875840.9674699422248330.483734971112416
420.3967903165207950.793580633041590.603209683479205
430.294548296760770.589096593521540.70545170323923
440.3684113549112550.736822709822510.631588645088745







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104488&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 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = 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')
}