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 computationSat, 21 Nov 2009 00:28:29 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/21/t1258788644d52zkuvc7wm4ly6.htm/, Retrieved Sun, 28 Apr 2024 01:50:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58512, Retrieved Sun, 28 Apr 2024 01:50:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact184
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [include monthly d...] [2009-11-21 07:28:29] [5c2088b06970f9a7d6fea063ee8d5871] [Current]
Feedback Forum

Post a new message
Dataseries X:
22.680	1
22.052	1
21.467	1
21.383	1
21.777	1
21.928	1
21.814	1
22.937	1
23.595	1
20.830	1
19.650	1
19.195	1
19.644	0
18.483	0
18.079	0
19.178	0
18.391	0
18.441	0
18.584	0
20.108	0
20.148	0
19.394	0
17.745	0
17.696	0
17.032	0
16.438	0
15.683	0
15.594	0
15.713	0
15.937	0
16.171	0
15.928	0
16.348	0
15.579	0
15.305	0
15.648	0
14.954	0
15.137	0
15.839	0
16.050	0
15.168	0
17.064	0
16.005	0
14.886	0
14.931	0
14.544	0
13.812	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58512&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' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58512&T=0

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







Multiple Linear Regression - Estimated Regression Equation
gk[t] = + 15.8797850467290 + 4.89964485981308cr[t] + 1.47280373831776M1[t] + 0.922803738317753M2[t] + 0.662303738317755M3[t] + 0.946553738317755M4[t] + 0.657553738317754M5[t] + 1.23780373831775M6[t] + 1.03880373831775M7[t] + 1.36005373831776M8[t] + 1.65080373831776M9[t] + 0.482053738317755M10[t] -0.476696261682245M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
gk[t] =  +  15.8797850467290 +  4.89964485981308cr[t] +  1.47280373831776M1[t] +  0.922803738317753M2[t] +  0.662303738317755M3[t] +  0.946553738317755M4[t] +  0.657553738317754M5[t] +  1.23780373831775M6[t] +  1.03880373831775M7[t] +  1.36005373831776M8[t] +  1.65080373831776M9[t] +  0.482053738317755M10[t] -0.476696261682245M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58512&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]gk[t] =  +  15.8797850467290 +  4.89964485981308cr[t] +  1.47280373831776M1[t] +  0.922803738317753M2[t] +  0.662303738317755M3[t] +  0.946553738317755M4[t] +  0.657553738317754M5[t] +  1.23780373831775M6[t] +  1.03880373831775M7[t] +  1.36005373831776M8[t] +  1.65080373831776M9[t] +  0.482053738317755M10[t] -0.476696261682245M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58512&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58512&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
gk[t] = + 15.8797850467290 + 4.89964485981308cr[t] + 1.47280373831776M1[t] + 0.922803738317753M2[t] + 0.662303738317755M3[t] + 0.946553738317755M4[t] + 0.657553738317754M5[t] + 1.23780373831775M6[t] + 1.03880373831775M7[t] + 1.36005373831776M8[t] + 1.65080373831776M9[t] + 0.482053738317755M10[t] -0.476696261682245M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)15.87978504672901.01870315.588200
cr4.899644859813080.5801468.445500
M11.472803738317761.3239961.11240.2737730.136886
M20.9228037383177531.3239960.6970.4905510.245276
M30.6623037383177551.3239960.50020.6201350.310067
M40.9465537383177551.3239960.71490.4795380.239769
M50.6575537383177541.3239960.49660.6226370.311318
M61.237803738317751.3239960.93490.3564330.178216
M71.038803738317751.3239960.78460.4381220.219061
M81.360053738317761.3239961.02720.3115630.155782
M91.650803738317761.3239961.24680.220980.11049
M100.4820537383177551.3239960.36410.7180450.359023
M11-0.4766962616822451.323996-0.360.7210410.360521

\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) & 15.8797850467290 & 1.018703 & 15.5882 & 0 & 0 \tabularnewline
cr & 4.89964485981308 & 0.580146 & 8.4455 & 0 & 0 \tabularnewline
M1 & 1.47280373831776 & 1.323996 & 1.1124 & 0.273773 & 0.136886 \tabularnewline
M2 & 0.922803738317753 & 1.323996 & 0.697 & 0.490551 & 0.245276 \tabularnewline
M3 & 0.662303738317755 & 1.323996 & 0.5002 & 0.620135 & 0.310067 \tabularnewline
M4 & 0.946553738317755 & 1.323996 & 0.7149 & 0.479538 & 0.239769 \tabularnewline
M5 & 0.657553738317754 & 1.323996 & 0.4966 & 0.622637 & 0.311318 \tabularnewline
M6 & 1.23780373831775 & 1.323996 & 0.9349 & 0.356433 & 0.178216 \tabularnewline
M7 & 1.03880373831775 & 1.323996 & 0.7846 & 0.438122 & 0.219061 \tabularnewline
M8 & 1.36005373831776 & 1.323996 & 1.0272 & 0.311563 & 0.155782 \tabularnewline
M9 & 1.65080373831776 & 1.323996 & 1.2468 & 0.22098 & 0.11049 \tabularnewline
M10 & 0.482053738317755 & 1.323996 & 0.3641 & 0.718045 & 0.359023 \tabularnewline
M11 & -0.476696261682245 & 1.323996 & -0.36 & 0.721041 & 0.360521 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58512&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]15.8797850467290[/C][C]1.018703[/C][C]15.5882[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]cr[/C][C]4.89964485981308[/C][C]0.580146[/C][C]8.4455[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]1.47280373831776[/C][C]1.323996[/C][C]1.1124[/C][C]0.273773[/C][C]0.136886[/C][/ROW]
[ROW][C]M2[/C][C]0.922803738317753[/C][C]1.323996[/C][C]0.697[/C][C]0.490551[/C][C]0.245276[/C][/ROW]
[ROW][C]M3[/C][C]0.662303738317755[/C][C]1.323996[/C][C]0.5002[/C][C]0.620135[/C][C]0.310067[/C][/ROW]
[ROW][C]M4[/C][C]0.946553738317755[/C][C]1.323996[/C][C]0.7149[/C][C]0.479538[/C][C]0.239769[/C][/ROW]
[ROW][C]M5[/C][C]0.657553738317754[/C][C]1.323996[/C][C]0.4966[/C][C]0.622637[/C][C]0.311318[/C][/ROW]
[ROW][C]M6[/C][C]1.23780373831775[/C][C]1.323996[/C][C]0.9349[/C][C]0.356433[/C][C]0.178216[/C][/ROW]
[ROW][C]M7[/C][C]1.03880373831775[/C][C]1.323996[/C][C]0.7846[/C][C]0.438122[/C][C]0.219061[/C][/ROW]
[ROW][C]M8[/C][C]1.36005373831776[/C][C]1.323996[/C][C]1.0272[/C][C]0.311563[/C][C]0.155782[/C][/ROW]
[ROW][C]M9[/C][C]1.65080373831776[/C][C]1.323996[/C][C]1.2468[/C][C]0.22098[/C][C]0.11049[/C][/ROW]
[ROW][C]M10[/C][C]0.482053738317755[/C][C]1.323996[/C][C]0.3641[/C][C]0.718045[/C][C]0.359023[/C][/ROW]
[ROW][C]M11[/C][C]-0.476696261682245[/C][C]1.323996[/C][C]-0.36[/C][C]0.721041[/C][C]0.360521[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58512&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58512&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)15.87978504672901.01870315.588200
cr4.899644859813080.5801468.445500
M11.472803738317761.3239961.11240.2737730.136886
M20.9228037383177531.3239960.6970.4905510.245276
M30.6623037383177551.3239960.50020.6201350.310067
M40.9465537383177551.3239960.71490.4795380.239769
M50.6575537383177541.3239960.49660.6226370.311318
M61.237803738317751.3239960.93490.3564330.178216
M71.038803738317751.3239960.78460.4381220.219061
M81.360053738317761.3239961.02720.3115630.155782
M91.650803738317761.3239961.24680.220980.11049
M100.4820537383177551.3239960.36410.7180450.359023
M11-0.4766962616822451.323996-0.360.7210410.360521







Multiple Linear Regression - Regression Statistics
Multiple R0.831416003623353
R-squared0.691252571081027
Adjusted R-squared0.582282890286095
F-TEST (value)6.34353121013436
F-TEST (DF numerator)12
F-TEST (DF denominator)34
p-value9.94366698381377e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.73236122050102
Sum Squared Residuals102.036563542056

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.831416003623353 \tabularnewline
R-squared & 0.691252571081027 \tabularnewline
Adjusted R-squared & 0.582282890286095 \tabularnewline
F-TEST (value) & 6.34353121013436 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 34 \tabularnewline
p-value & 9.94366698381377e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.73236122050102 \tabularnewline
Sum Squared Residuals & 102.036563542056 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58512&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.831416003623353[/C][/ROW]
[ROW][C]R-squared[/C][C]0.691252571081027[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.582282890286095[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.34353121013436[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]34[/C][/ROW]
[ROW][C]p-value[/C][C]9.94366698381377e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.73236122050102[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]102.036563542056[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58512&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58512&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.831416003623353
R-squared0.691252571081027
Adjusted R-squared0.582282890286095
F-TEST (value)6.34353121013436
F-TEST (DF numerator)12
F-TEST (DF denominator)34
p-value9.94366698381377e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.73236122050102
Sum Squared Residuals102.036563542056







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
122.6822.25223364485980.427766355140204
222.05221.70223364485980.349766355140177
321.46721.44173364485980.0252663551401843
421.38321.7259836448598-0.342983644859815
521.77721.43698364485980.340016355140188
621.92822.0172336448598-0.0892336448598124
721.81421.8182336448598-0.00423364485981282
822.93722.13948364485980.797516355140187
923.59522.43023364485981.16476635514019
1020.8321.2614836448598-0.431483644859814
1119.6520.3027336448598-0.652733644859815
1219.19520.7794299065421-1.58442990654206
1319.64417.35258878504672.29141121495327
1418.48316.80258878504671.68041121495327
1518.07916.54208878504671.53691121495327
1619.17816.82633878504672.35166121495327
1718.39116.53733878504671.85366121495327
1818.44117.11758878504671.32341121495327
1918.58416.91858878504671.66541121495327
2020.10817.23983878504672.86816121495327
2120.14817.53058878504672.61741121495327
2219.39416.36183878504673.03216121495327
2317.74515.40308878504672.34191121495327
2417.69615.87978504672901.81621495327103
2517.03217.3525887850467-0.320588785046736
2616.43816.8025887850467-0.364588785046727
2715.68316.5420887850467-0.859088785046729
2815.59416.8263387850467-1.23233878504673
2915.71316.5373387850467-0.82433878504673
3015.93717.1175887850467-1.18058878504673
3116.17116.9185887850467-0.74758878504673
3215.92817.2398387850467-1.31183878504673
3316.34817.5305887850467-1.18258878504673
3415.57916.3618387850467-0.782838785046727
3515.30515.4030887850467-0.0980887850467276
3615.64815.8797850467290-0.231785046728974
3714.95417.3525887850467-2.39858878504673
3815.13716.8025887850467-1.66558878504673
3915.83916.5420887850467-0.703088785046728
4016.0516.8263387850467-0.776338785046728
4115.16816.5373387850467-1.36933878504673
4217.06417.1175887850467-0.0535887850467288
4316.00516.9185887850467-0.91358878504673
4414.88617.2398387850467-2.35383878504673
4514.93117.5305887850467-2.59958878504673
4614.54416.3618387850467-1.81783878504673
4713.81215.4030887850467-1.59108878504673

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 22.68 & 22.2522336448598 & 0.427766355140204 \tabularnewline
2 & 22.052 & 21.7022336448598 & 0.349766355140177 \tabularnewline
3 & 21.467 & 21.4417336448598 & 0.0252663551401843 \tabularnewline
4 & 21.383 & 21.7259836448598 & -0.342983644859815 \tabularnewline
5 & 21.777 & 21.4369836448598 & 0.340016355140188 \tabularnewline
6 & 21.928 & 22.0172336448598 & -0.0892336448598124 \tabularnewline
7 & 21.814 & 21.8182336448598 & -0.00423364485981282 \tabularnewline
8 & 22.937 & 22.1394836448598 & 0.797516355140187 \tabularnewline
9 & 23.595 & 22.4302336448598 & 1.16476635514019 \tabularnewline
10 & 20.83 & 21.2614836448598 & -0.431483644859814 \tabularnewline
11 & 19.65 & 20.3027336448598 & -0.652733644859815 \tabularnewline
12 & 19.195 & 20.7794299065421 & -1.58442990654206 \tabularnewline
13 & 19.644 & 17.3525887850467 & 2.29141121495327 \tabularnewline
14 & 18.483 & 16.8025887850467 & 1.68041121495327 \tabularnewline
15 & 18.079 & 16.5420887850467 & 1.53691121495327 \tabularnewline
16 & 19.178 & 16.8263387850467 & 2.35166121495327 \tabularnewline
17 & 18.391 & 16.5373387850467 & 1.85366121495327 \tabularnewline
18 & 18.441 & 17.1175887850467 & 1.32341121495327 \tabularnewline
19 & 18.584 & 16.9185887850467 & 1.66541121495327 \tabularnewline
20 & 20.108 & 17.2398387850467 & 2.86816121495327 \tabularnewline
21 & 20.148 & 17.5305887850467 & 2.61741121495327 \tabularnewline
22 & 19.394 & 16.3618387850467 & 3.03216121495327 \tabularnewline
23 & 17.745 & 15.4030887850467 & 2.34191121495327 \tabularnewline
24 & 17.696 & 15.8797850467290 & 1.81621495327103 \tabularnewline
25 & 17.032 & 17.3525887850467 & -0.320588785046736 \tabularnewline
26 & 16.438 & 16.8025887850467 & -0.364588785046727 \tabularnewline
27 & 15.683 & 16.5420887850467 & -0.859088785046729 \tabularnewline
28 & 15.594 & 16.8263387850467 & -1.23233878504673 \tabularnewline
29 & 15.713 & 16.5373387850467 & -0.82433878504673 \tabularnewline
30 & 15.937 & 17.1175887850467 & -1.18058878504673 \tabularnewline
31 & 16.171 & 16.9185887850467 & -0.74758878504673 \tabularnewline
32 & 15.928 & 17.2398387850467 & -1.31183878504673 \tabularnewline
33 & 16.348 & 17.5305887850467 & -1.18258878504673 \tabularnewline
34 & 15.579 & 16.3618387850467 & -0.782838785046727 \tabularnewline
35 & 15.305 & 15.4030887850467 & -0.0980887850467276 \tabularnewline
36 & 15.648 & 15.8797850467290 & -0.231785046728974 \tabularnewline
37 & 14.954 & 17.3525887850467 & -2.39858878504673 \tabularnewline
38 & 15.137 & 16.8025887850467 & -1.66558878504673 \tabularnewline
39 & 15.839 & 16.5420887850467 & -0.703088785046728 \tabularnewline
40 & 16.05 & 16.8263387850467 & -0.776338785046728 \tabularnewline
41 & 15.168 & 16.5373387850467 & -1.36933878504673 \tabularnewline
42 & 17.064 & 17.1175887850467 & -0.0535887850467288 \tabularnewline
43 & 16.005 & 16.9185887850467 & -0.91358878504673 \tabularnewline
44 & 14.886 & 17.2398387850467 & -2.35383878504673 \tabularnewline
45 & 14.931 & 17.5305887850467 & -2.59958878504673 \tabularnewline
46 & 14.544 & 16.3618387850467 & -1.81783878504673 \tabularnewline
47 & 13.812 & 15.4030887850467 & -1.59108878504673 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58512&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]22.68[/C][C]22.2522336448598[/C][C]0.427766355140204[/C][/ROW]
[ROW][C]2[/C][C]22.052[/C][C]21.7022336448598[/C][C]0.349766355140177[/C][/ROW]
[ROW][C]3[/C][C]21.467[/C][C]21.4417336448598[/C][C]0.0252663551401843[/C][/ROW]
[ROW][C]4[/C][C]21.383[/C][C]21.7259836448598[/C][C]-0.342983644859815[/C][/ROW]
[ROW][C]5[/C][C]21.777[/C][C]21.4369836448598[/C][C]0.340016355140188[/C][/ROW]
[ROW][C]6[/C][C]21.928[/C][C]22.0172336448598[/C][C]-0.0892336448598124[/C][/ROW]
[ROW][C]7[/C][C]21.814[/C][C]21.8182336448598[/C][C]-0.00423364485981282[/C][/ROW]
[ROW][C]8[/C][C]22.937[/C][C]22.1394836448598[/C][C]0.797516355140187[/C][/ROW]
[ROW][C]9[/C][C]23.595[/C][C]22.4302336448598[/C][C]1.16476635514019[/C][/ROW]
[ROW][C]10[/C][C]20.83[/C][C]21.2614836448598[/C][C]-0.431483644859814[/C][/ROW]
[ROW][C]11[/C][C]19.65[/C][C]20.3027336448598[/C][C]-0.652733644859815[/C][/ROW]
[ROW][C]12[/C][C]19.195[/C][C]20.7794299065421[/C][C]-1.58442990654206[/C][/ROW]
[ROW][C]13[/C][C]19.644[/C][C]17.3525887850467[/C][C]2.29141121495327[/C][/ROW]
[ROW][C]14[/C][C]18.483[/C][C]16.8025887850467[/C][C]1.68041121495327[/C][/ROW]
[ROW][C]15[/C][C]18.079[/C][C]16.5420887850467[/C][C]1.53691121495327[/C][/ROW]
[ROW][C]16[/C][C]19.178[/C][C]16.8263387850467[/C][C]2.35166121495327[/C][/ROW]
[ROW][C]17[/C][C]18.391[/C][C]16.5373387850467[/C][C]1.85366121495327[/C][/ROW]
[ROW][C]18[/C][C]18.441[/C][C]17.1175887850467[/C][C]1.32341121495327[/C][/ROW]
[ROW][C]19[/C][C]18.584[/C][C]16.9185887850467[/C][C]1.66541121495327[/C][/ROW]
[ROW][C]20[/C][C]20.108[/C][C]17.2398387850467[/C][C]2.86816121495327[/C][/ROW]
[ROW][C]21[/C][C]20.148[/C][C]17.5305887850467[/C][C]2.61741121495327[/C][/ROW]
[ROW][C]22[/C][C]19.394[/C][C]16.3618387850467[/C][C]3.03216121495327[/C][/ROW]
[ROW][C]23[/C][C]17.745[/C][C]15.4030887850467[/C][C]2.34191121495327[/C][/ROW]
[ROW][C]24[/C][C]17.696[/C][C]15.8797850467290[/C][C]1.81621495327103[/C][/ROW]
[ROW][C]25[/C][C]17.032[/C][C]17.3525887850467[/C][C]-0.320588785046736[/C][/ROW]
[ROW][C]26[/C][C]16.438[/C][C]16.8025887850467[/C][C]-0.364588785046727[/C][/ROW]
[ROW][C]27[/C][C]15.683[/C][C]16.5420887850467[/C][C]-0.859088785046729[/C][/ROW]
[ROW][C]28[/C][C]15.594[/C][C]16.8263387850467[/C][C]-1.23233878504673[/C][/ROW]
[ROW][C]29[/C][C]15.713[/C][C]16.5373387850467[/C][C]-0.82433878504673[/C][/ROW]
[ROW][C]30[/C][C]15.937[/C][C]17.1175887850467[/C][C]-1.18058878504673[/C][/ROW]
[ROW][C]31[/C][C]16.171[/C][C]16.9185887850467[/C][C]-0.74758878504673[/C][/ROW]
[ROW][C]32[/C][C]15.928[/C][C]17.2398387850467[/C][C]-1.31183878504673[/C][/ROW]
[ROW][C]33[/C][C]16.348[/C][C]17.5305887850467[/C][C]-1.18258878504673[/C][/ROW]
[ROW][C]34[/C][C]15.579[/C][C]16.3618387850467[/C][C]-0.782838785046727[/C][/ROW]
[ROW][C]35[/C][C]15.305[/C][C]15.4030887850467[/C][C]-0.0980887850467276[/C][/ROW]
[ROW][C]36[/C][C]15.648[/C][C]15.8797850467290[/C][C]-0.231785046728974[/C][/ROW]
[ROW][C]37[/C][C]14.954[/C][C]17.3525887850467[/C][C]-2.39858878504673[/C][/ROW]
[ROW][C]38[/C][C]15.137[/C][C]16.8025887850467[/C][C]-1.66558878504673[/C][/ROW]
[ROW][C]39[/C][C]15.839[/C][C]16.5420887850467[/C][C]-0.703088785046728[/C][/ROW]
[ROW][C]40[/C][C]16.05[/C][C]16.8263387850467[/C][C]-0.776338785046728[/C][/ROW]
[ROW][C]41[/C][C]15.168[/C][C]16.5373387850467[/C][C]-1.36933878504673[/C][/ROW]
[ROW][C]42[/C][C]17.064[/C][C]17.1175887850467[/C][C]-0.0535887850467288[/C][/ROW]
[ROW][C]43[/C][C]16.005[/C][C]16.9185887850467[/C][C]-0.91358878504673[/C][/ROW]
[ROW][C]44[/C][C]14.886[/C][C]17.2398387850467[/C][C]-2.35383878504673[/C][/ROW]
[ROW][C]45[/C][C]14.931[/C][C]17.5305887850467[/C][C]-2.59958878504673[/C][/ROW]
[ROW][C]46[/C][C]14.544[/C][C]16.3618387850467[/C][C]-1.81783878504673[/C][/ROW]
[ROW][C]47[/C][C]13.812[/C][C]15.4030887850467[/C][C]-1.59108878504673[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58512&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58512&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
122.6822.25223364485980.427766355140204
222.05221.70223364485980.349766355140177
321.46721.44173364485980.0252663551401843
421.38321.7259836448598-0.342983644859815
521.77721.43698364485980.340016355140188
621.92822.0172336448598-0.0892336448598124
721.81421.8182336448598-0.00423364485981282
822.93722.13948364485980.797516355140187
923.59522.43023364485981.16476635514019
1020.8321.2614836448598-0.431483644859814
1119.6520.3027336448598-0.652733644859815
1219.19520.7794299065421-1.58442990654206
1319.64417.35258878504672.29141121495327
1418.48316.80258878504671.68041121495327
1518.07916.54208878504671.53691121495327
1619.17816.82633878504672.35166121495327
1718.39116.53733878504671.85366121495327
1818.44117.11758878504671.32341121495327
1918.58416.91858878504671.66541121495327
2020.10817.23983878504672.86816121495327
2120.14817.53058878504672.61741121495327
2219.39416.36183878504673.03216121495327
2317.74515.40308878504672.34191121495327
2417.69615.87978504672901.81621495327103
2517.03217.3525887850467-0.320588785046736
2616.43816.8025887850467-0.364588785046727
2715.68316.5420887850467-0.859088785046729
2815.59416.8263387850467-1.23233878504673
2915.71316.5373387850467-0.82433878504673
3015.93717.1175887850467-1.18058878504673
3116.17116.9185887850467-0.74758878504673
3215.92817.2398387850467-1.31183878504673
3316.34817.5305887850467-1.18258878504673
3415.57916.3618387850467-0.782838785046727
3515.30515.4030887850467-0.0980887850467276
3615.64815.8797850467290-0.231785046728974
3714.95417.3525887850467-2.39858878504673
3815.13716.8025887850467-1.66558878504673
3915.83916.5420887850467-0.703088785046728
4016.0516.8263387850467-0.776338785046728
4115.16816.5373387850467-1.36933878504673
4217.06417.1175887850467-0.0535887850467288
4316.00516.9185887850467-0.91358878504673
4414.88617.2398387850467-2.35383878504673
4514.93117.5305887850467-2.59958878504673
4614.54416.3618387850467-1.81783878504673
4713.81215.4030887850467-1.59108878504673







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01420060763829030.02840121527658060.98579939236171
170.003318589701012510.006637179402025020.996681410298987
180.0007380975157883240.001476195031576650.999261902484212
190.0001399911889410820.0002799823778821640.999860008811059
207.32207682626125e-050.0001464415365252250.999926779231737
216.32176817919617e-050.0001264353635839230.999936782318208
220.006941341519049180.01388268303809840.99305865848095
230.04054691122728440.08109382245456880.959453088772716
240.1060714078586080.2121428157172150.893928592141392
250.6355343316073740.7289313367852530.364465668392626
260.7963183875989450.4073632248021090.203681612401055
270.8176558401695440.3646883196609110.182344159830456
280.8385264412983170.3229471174033660.161473558701683
290.806179708363410.387640583273180.19382029163659
300.7814510804457350.4370978391085300.218548919554265
310.651823622643260.6963527547134790.348176377356740

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0142006076382903 & 0.0284012152765806 & 0.98579939236171 \tabularnewline
17 & 0.00331858970101251 & 0.00663717940202502 & 0.996681410298987 \tabularnewline
18 & 0.000738097515788324 & 0.00147619503157665 & 0.999261902484212 \tabularnewline
19 & 0.000139991188941082 & 0.000279982377882164 & 0.999860008811059 \tabularnewline
20 & 7.32207682626125e-05 & 0.000146441536525225 & 0.999926779231737 \tabularnewline
21 & 6.32176817919617e-05 & 0.000126435363583923 & 0.999936782318208 \tabularnewline
22 & 0.00694134151904918 & 0.0138826830380984 & 0.99305865848095 \tabularnewline
23 & 0.0405469112272844 & 0.0810938224545688 & 0.959453088772716 \tabularnewline
24 & 0.106071407858608 & 0.212142815717215 & 0.893928592141392 \tabularnewline
25 & 0.635534331607374 & 0.728931336785253 & 0.364465668392626 \tabularnewline
26 & 0.796318387598945 & 0.407363224802109 & 0.203681612401055 \tabularnewline
27 & 0.817655840169544 & 0.364688319660911 & 0.182344159830456 \tabularnewline
28 & 0.838526441298317 & 0.322947117403366 & 0.161473558701683 \tabularnewline
29 & 0.80617970836341 & 0.38764058327318 & 0.19382029163659 \tabularnewline
30 & 0.781451080445735 & 0.437097839108530 & 0.218548919554265 \tabularnewline
31 & 0.65182362264326 & 0.696352754713479 & 0.348176377356740 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58512&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]16[/C][C]0.0142006076382903[/C][C]0.0284012152765806[/C][C]0.98579939236171[/C][/ROW]
[ROW][C]17[/C][C]0.00331858970101251[/C][C]0.00663717940202502[/C][C]0.996681410298987[/C][/ROW]
[ROW][C]18[/C][C]0.000738097515788324[/C][C]0.00147619503157665[/C][C]0.999261902484212[/C][/ROW]
[ROW][C]19[/C][C]0.000139991188941082[/C][C]0.000279982377882164[/C][C]0.999860008811059[/C][/ROW]
[ROW][C]20[/C][C]7.32207682626125e-05[/C][C]0.000146441536525225[/C][C]0.999926779231737[/C][/ROW]
[ROW][C]21[/C][C]6.32176817919617e-05[/C][C]0.000126435363583923[/C][C]0.999936782318208[/C][/ROW]
[ROW][C]22[/C][C]0.00694134151904918[/C][C]0.0138826830380984[/C][C]0.99305865848095[/C][/ROW]
[ROW][C]23[/C][C]0.0405469112272844[/C][C]0.0810938224545688[/C][C]0.959453088772716[/C][/ROW]
[ROW][C]24[/C][C]0.106071407858608[/C][C]0.212142815717215[/C][C]0.893928592141392[/C][/ROW]
[ROW][C]25[/C][C]0.635534331607374[/C][C]0.728931336785253[/C][C]0.364465668392626[/C][/ROW]
[ROW][C]26[/C][C]0.796318387598945[/C][C]0.407363224802109[/C][C]0.203681612401055[/C][/ROW]
[ROW][C]27[/C][C]0.817655840169544[/C][C]0.364688319660911[/C][C]0.182344159830456[/C][/ROW]
[ROW][C]28[/C][C]0.838526441298317[/C][C]0.322947117403366[/C][C]0.161473558701683[/C][/ROW]
[ROW][C]29[/C][C]0.80617970836341[/C][C]0.38764058327318[/C][C]0.19382029163659[/C][/ROW]
[ROW][C]30[/C][C]0.781451080445735[/C][C]0.437097839108530[/C][C]0.218548919554265[/C][/ROW]
[ROW][C]31[/C][C]0.65182362264326[/C][C]0.696352754713479[/C][C]0.348176377356740[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58512&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58512&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
160.01420060763829030.02840121527658060.98579939236171
170.003318589701012510.006637179402025020.996681410298987
180.0007380975157883240.001476195031576650.999261902484212
190.0001399911889410820.0002799823778821640.999860008811059
207.32207682626125e-050.0001464415365252250.999926779231737
216.32176817919617e-050.0001264353635839230.999936782318208
220.006941341519049180.01388268303809840.99305865848095
230.04054691122728440.08109382245456880.959453088772716
240.1060714078586080.2121428157172150.893928592141392
250.6355343316073740.7289313367852530.364465668392626
260.7963183875989450.4073632248021090.203681612401055
270.8176558401695440.3646883196609110.182344159830456
280.8385264412983170.3229471174033660.161473558701683
290.806179708363410.387640583273180.19382029163659
300.7814510804457350.4370978391085300.218548919554265
310.651823622643260.6963527547134790.348176377356740







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level50.3125NOK
5% type I error level70.4375NOK
10% type I error level80.5NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58512&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 level50.3125NOK
5% type I error level70.4375NOK
10% type I error level80.5NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}