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 computationTue, 21 Dec 2010 13:40:58 +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/21/t1292938810jbdlcam15u9djh7.htm/, Retrieved Fri, 17 May 2024 05:02:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113545, Retrieved Fri, 17 May 2024 05:02:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact123
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD    [Multiple Regression] [Paper 'Regression...] [2010-12-21 13:40:58] [8d8503577eb9ac26988d64b61a75d95b] [Current]
-           [Multiple Regression] [Paper] [2010-12-28 17:09:00] [8677c3f87cec9201607d40be65aa9670]
-           [Multiple Regression] [paper (16)] [2010-12-29 19:20:47] [34b8ec63a78ce61b49b6bd4fc5a61e1c]
Feedback Forum

Post a new message
Dataseries X:
9.3
14.2
17.3
23
16.3
18.4
14.2
9.1
5.9
7.2
6.8
8
14.3
14.6
17.5
17.2
17.2
14.1
10.4
6.8
4.1
6.5
6.1
6.3
9.3
16.4
16.1
18
17.6
14
10.5
6.9
2.8
0.7
3.6
6.7
12.5
14.4
16.5
18.7
19.4
15.8
11.3
9.7
2.9
0.1
2.5
6.7
10.3
11.2
17.4
20.5
17
14.2
10.6
6.1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 5 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113545&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113545&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113545&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 time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
GT[t] = + 8.19875 + 4.00270833333334M1[t] + 7.06516666666667M2[t] + 9.907625M3[t] + 12.4700833333333M4[t] + 10.5325416666667M5[t] + 8.375M6[t] + 4.51745833333333M7[t] + 0.879916666666666M8[t] -3.127375M9[t] -3.38491666666667M10[t] -2.21745833333333M11[t] -0.0424583333333334t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
GT[t] =  +  8.19875 +  4.00270833333334M1[t] +  7.06516666666667M2[t] +  9.907625M3[t] +  12.4700833333333M4[t] +  10.5325416666667M5[t] +  8.375M6[t] +  4.51745833333333M7[t] +  0.879916666666666M8[t] -3.127375M9[t] -3.38491666666667M10[t] -2.21745833333333M11[t] -0.0424583333333334t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113545&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]GT[t] =  +  8.19875 +  4.00270833333334M1[t] +  7.06516666666667M2[t] +  9.907625M3[t] +  12.4700833333333M4[t] +  10.5325416666667M5[t] +  8.375M6[t] +  4.51745833333333M7[t] +  0.879916666666666M8[t] -3.127375M9[t] -3.38491666666667M10[t] -2.21745833333333M11[t] -0.0424583333333334t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113545&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113545&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
GT[t] = + 8.19875 + 4.00270833333334M1[t] + 7.06516666666667M2[t] + 9.907625M3[t] + 12.4700833333333M4[t] + 10.5325416666667M5[t] + 8.375M6[t] + 4.51745833333333M7[t] + 0.879916666666666M8[t] -3.127375M9[t] -3.38491666666667M10[t] -2.21745833333333M11[t] -0.0424583333333334t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.198750.9815358.35300
M14.002708333333341.1801123.39180.00150.00075
M27.065166666666671.1792965.99100
M39.9076251.178668.405800
M412.47008333333331.17820610.58400
M510.53254166666671.1779338.941500
M68.3751.1778437.110500
M74.517458333333331.1779333.83510.0004050.000203
M80.8799166666666661.1782060.74680.4592320.229616
M9-3.1273751.242331-2.51730.0156310.007816
M10-3.384916666666671.2419-2.72560.0092470.004624
M11-2.217458333333331.241641-1.78590.0811670.040584
t-0.04245833333333340.014632-2.90180.005830.002915

\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) & 8.19875 & 0.981535 & 8.353 & 0 & 0 \tabularnewline
M1 & 4.00270833333334 & 1.180112 & 3.3918 & 0.0015 & 0.00075 \tabularnewline
M2 & 7.06516666666667 & 1.179296 & 5.991 & 0 & 0 \tabularnewline
M3 & 9.907625 & 1.17866 & 8.4058 & 0 & 0 \tabularnewline
M4 & 12.4700833333333 & 1.178206 & 10.584 & 0 & 0 \tabularnewline
M5 & 10.5325416666667 & 1.177933 & 8.9415 & 0 & 0 \tabularnewline
M6 & 8.375 & 1.177843 & 7.1105 & 0 & 0 \tabularnewline
M7 & 4.51745833333333 & 1.177933 & 3.8351 & 0.000405 & 0.000203 \tabularnewline
M8 & 0.879916666666666 & 1.178206 & 0.7468 & 0.459232 & 0.229616 \tabularnewline
M9 & -3.127375 & 1.242331 & -2.5173 & 0.015631 & 0.007816 \tabularnewline
M10 & -3.38491666666667 & 1.2419 & -2.7256 & 0.009247 & 0.004624 \tabularnewline
M11 & -2.21745833333333 & 1.241641 & -1.7859 & 0.081167 & 0.040584 \tabularnewline
t & -0.0424583333333334 & 0.014632 & -2.9018 & 0.00583 & 0.002915 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113545&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]8.19875[/C][C]0.981535[/C][C]8.353[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]4.00270833333334[/C][C]1.180112[/C][C]3.3918[/C][C]0.0015[/C][C]0.00075[/C][/ROW]
[ROW][C]M2[/C][C]7.06516666666667[/C][C]1.179296[/C][C]5.991[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]9.907625[/C][C]1.17866[/C][C]8.4058[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]12.4700833333333[/C][C]1.178206[/C][C]10.584[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]10.5325416666667[/C][C]1.177933[/C][C]8.9415[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]8.375[/C][C]1.177843[/C][C]7.1105[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]4.51745833333333[/C][C]1.177933[/C][C]3.8351[/C][C]0.000405[/C][C]0.000203[/C][/ROW]
[ROW][C]M8[/C][C]0.879916666666666[/C][C]1.178206[/C][C]0.7468[/C][C]0.459232[/C][C]0.229616[/C][/ROW]
[ROW][C]M9[/C][C]-3.127375[/C][C]1.242331[/C][C]-2.5173[/C][C]0.015631[/C][C]0.007816[/C][/ROW]
[ROW][C]M10[/C][C]-3.38491666666667[/C][C]1.2419[/C][C]-2.7256[/C][C]0.009247[/C][C]0.004624[/C][/ROW]
[ROW][C]M11[/C][C]-2.21745833333333[/C][C]1.241641[/C][C]-1.7859[/C][C]0.081167[/C][C]0.040584[/C][/ROW]
[ROW][C]t[/C][C]-0.0424583333333334[/C][C]0.014632[/C][C]-2.9018[/C][C]0.00583[/C][C]0.002915[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113545&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113545&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)8.198750.9815358.35300
M14.002708333333341.1801123.39180.00150.00075
M27.065166666666671.1792965.99100
M39.9076251.178668.405800
M412.47008333333331.17820610.58400
M510.53254166666671.1779338.941500
M68.3751.1778437.110500
M74.517458333333331.1779333.83510.0004050.000203
M80.8799166666666661.1782060.74680.4592320.229616
M9-3.1273751.242331-2.51730.0156310.007816
M10-3.384916666666671.2419-2.72560.0092470.004624
M11-2.217458333333331.241641-1.78590.0811670.040584
t-0.04245833333333340.014632-2.90180.005830.002915







Multiple Linear Regression - Regression Statistics
Multiple R0.960905108092367
R-squared0.923338626758004
Adjusted R-squared0.901944755155586
F-TEST (value)43.1590244120967
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.75582402969541
Sum Squared Residuals132.565475

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.960905108092367 \tabularnewline
R-squared & 0.923338626758004 \tabularnewline
Adjusted R-squared & 0.901944755155586 \tabularnewline
F-TEST (value) & 43.1590244120967 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.75582402969541 \tabularnewline
Sum Squared Residuals & 132.565475 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113545&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.960905108092367[/C][/ROW]
[ROW][C]R-squared[/C][C]0.923338626758004[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.901944755155586[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]43.1590244120967[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.75582402969541[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]132.565475[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113545&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113545&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.960905108092367
R-squared0.923338626758004
Adjusted R-squared0.901944755155586
F-TEST (value)43.1590244120967
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.75582402969541
Sum Squared Residuals132.565475







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19.312.159-2.85899999999999
214.215.179-0.978999999999999
317.317.979-0.679000000000002
42320.4992.501
516.318.519-2.219
618.416.3192.08099999999999
714.212.4191.781
89.18.7390.360999999999999
95.94.689251.21075
107.24.389252.81075
116.85.514251.28575
1287.689250.310749999999999
1314.311.64952.6505
1414.614.6695-0.0695000000000002
1517.517.46950.0305000000000007
1617.219.9895-2.7895
1717.218.0095-0.8095
1814.115.8095-1.7095
1910.411.9095-1.5095
206.88.2295-1.4295
214.14.17975-0.0797500000000007
226.53.879752.62025
236.15.004751.09525
246.37.17975-0.87975
259.311.14-1.84
2616.414.162.24
2716.116.96-0.859999999999999
281819.48-1.48
2917.617.50.100000000000002
301415.3-1.3
3110.511.4-0.9
326.97.72-0.82
332.83.67025-0.870249999999999
340.73.37025-2.67025
353.64.49525-0.895249999999999
366.76.670250.0297499999999999
3712.510.63051.8695
3814.413.65050.749500000000001
3916.516.45050.049500000000001
4018.718.9705-0.2705
4119.416.99052.4095
4215.814.79051.0095
4311.310.89050.4095
449.77.21052.4895
452.93.16075-0.260749999999999
460.12.86075-2.76075
472.53.98575-1.48575
486.76.160750.53925
4910.310.1210.178999999999997
5011.213.141-1.941
5117.415.9411.459
5220.518.4612.039
531716.4810.519
5414.214.281-0.0809999999999989
5510.610.3810.219
566.16.701-0.601

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9.3 & 12.159 & -2.85899999999999 \tabularnewline
2 & 14.2 & 15.179 & -0.978999999999999 \tabularnewline
3 & 17.3 & 17.979 & -0.679000000000002 \tabularnewline
4 & 23 & 20.499 & 2.501 \tabularnewline
5 & 16.3 & 18.519 & -2.219 \tabularnewline
6 & 18.4 & 16.319 & 2.08099999999999 \tabularnewline
7 & 14.2 & 12.419 & 1.781 \tabularnewline
8 & 9.1 & 8.739 & 0.360999999999999 \tabularnewline
9 & 5.9 & 4.68925 & 1.21075 \tabularnewline
10 & 7.2 & 4.38925 & 2.81075 \tabularnewline
11 & 6.8 & 5.51425 & 1.28575 \tabularnewline
12 & 8 & 7.68925 & 0.310749999999999 \tabularnewline
13 & 14.3 & 11.6495 & 2.6505 \tabularnewline
14 & 14.6 & 14.6695 & -0.0695000000000002 \tabularnewline
15 & 17.5 & 17.4695 & 0.0305000000000007 \tabularnewline
16 & 17.2 & 19.9895 & -2.7895 \tabularnewline
17 & 17.2 & 18.0095 & -0.8095 \tabularnewline
18 & 14.1 & 15.8095 & -1.7095 \tabularnewline
19 & 10.4 & 11.9095 & -1.5095 \tabularnewline
20 & 6.8 & 8.2295 & -1.4295 \tabularnewline
21 & 4.1 & 4.17975 & -0.0797500000000007 \tabularnewline
22 & 6.5 & 3.87975 & 2.62025 \tabularnewline
23 & 6.1 & 5.00475 & 1.09525 \tabularnewline
24 & 6.3 & 7.17975 & -0.87975 \tabularnewline
25 & 9.3 & 11.14 & -1.84 \tabularnewline
26 & 16.4 & 14.16 & 2.24 \tabularnewline
27 & 16.1 & 16.96 & -0.859999999999999 \tabularnewline
28 & 18 & 19.48 & -1.48 \tabularnewline
29 & 17.6 & 17.5 & 0.100000000000002 \tabularnewline
30 & 14 & 15.3 & -1.3 \tabularnewline
31 & 10.5 & 11.4 & -0.9 \tabularnewline
32 & 6.9 & 7.72 & -0.82 \tabularnewline
33 & 2.8 & 3.67025 & -0.870249999999999 \tabularnewline
34 & 0.7 & 3.37025 & -2.67025 \tabularnewline
35 & 3.6 & 4.49525 & -0.895249999999999 \tabularnewline
36 & 6.7 & 6.67025 & 0.0297499999999999 \tabularnewline
37 & 12.5 & 10.6305 & 1.8695 \tabularnewline
38 & 14.4 & 13.6505 & 0.749500000000001 \tabularnewline
39 & 16.5 & 16.4505 & 0.049500000000001 \tabularnewline
40 & 18.7 & 18.9705 & -0.2705 \tabularnewline
41 & 19.4 & 16.9905 & 2.4095 \tabularnewline
42 & 15.8 & 14.7905 & 1.0095 \tabularnewline
43 & 11.3 & 10.8905 & 0.4095 \tabularnewline
44 & 9.7 & 7.2105 & 2.4895 \tabularnewline
45 & 2.9 & 3.16075 & -0.260749999999999 \tabularnewline
46 & 0.1 & 2.86075 & -2.76075 \tabularnewline
47 & 2.5 & 3.98575 & -1.48575 \tabularnewline
48 & 6.7 & 6.16075 & 0.53925 \tabularnewline
49 & 10.3 & 10.121 & 0.178999999999997 \tabularnewline
50 & 11.2 & 13.141 & -1.941 \tabularnewline
51 & 17.4 & 15.941 & 1.459 \tabularnewline
52 & 20.5 & 18.461 & 2.039 \tabularnewline
53 & 17 & 16.481 & 0.519 \tabularnewline
54 & 14.2 & 14.281 & -0.0809999999999989 \tabularnewline
55 & 10.6 & 10.381 & 0.219 \tabularnewline
56 & 6.1 & 6.701 & -0.601 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113545&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]9.3[/C][C]12.159[/C][C]-2.85899999999999[/C][/ROW]
[ROW][C]2[/C][C]14.2[/C][C]15.179[/C][C]-0.978999999999999[/C][/ROW]
[ROW][C]3[/C][C]17.3[/C][C]17.979[/C][C]-0.679000000000002[/C][/ROW]
[ROW][C]4[/C][C]23[/C][C]20.499[/C][C]2.501[/C][/ROW]
[ROW][C]5[/C][C]16.3[/C][C]18.519[/C][C]-2.219[/C][/ROW]
[ROW][C]6[/C][C]18.4[/C][C]16.319[/C][C]2.08099999999999[/C][/ROW]
[ROW][C]7[/C][C]14.2[/C][C]12.419[/C][C]1.781[/C][/ROW]
[ROW][C]8[/C][C]9.1[/C][C]8.739[/C][C]0.360999999999999[/C][/ROW]
[ROW][C]9[/C][C]5.9[/C][C]4.68925[/C][C]1.21075[/C][/ROW]
[ROW][C]10[/C][C]7.2[/C][C]4.38925[/C][C]2.81075[/C][/ROW]
[ROW][C]11[/C][C]6.8[/C][C]5.51425[/C][C]1.28575[/C][/ROW]
[ROW][C]12[/C][C]8[/C][C]7.68925[/C][C]0.310749999999999[/C][/ROW]
[ROW][C]13[/C][C]14.3[/C][C]11.6495[/C][C]2.6505[/C][/ROW]
[ROW][C]14[/C][C]14.6[/C][C]14.6695[/C][C]-0.0695000000000002[/C][/ROW]
[ROW][C]15[/C][C]17.5[/C][C]17.4695[/C][C]0.0305000000000007[/C][/ROW]
[ROW][C]16[/C][C]17.2[/C][C]19.9895[/C][C]-2.7895[/C][/ROW]
[ROW][C]17[/C][C]17.2[/C][C]18.0095[/C][C]-0.8095[/C][/ROW]
[ROW][C]18[/C][C]14.1[/C][C]15.8095[/C][C]-1.7095[/C][/ROW]
[ROW][C]19[/C][C]10.4[/C][C]11.9095[/C][C]-1.5095[/C][/ROW]
[ROW][C]20[/C][C]6.8[/C][C]8.2295[/C][C]-1.4295[/C][/ROW]
[ROW][C]21[/C][C]4.1[/C][C]4.17975[/C][C]-0.0797500000000007[/C][/ROW]
[ROW][C]22[/C][C]6.5[/C][C]3.87975[/C][C]2.62025[/C][/ROW]
[ROW][C]23[/C][C]6.1[/C][C]5.00475[/C][C]1.09525[/C][/ROW]
[ROW][C]24[/C][C]6.3[/C][C]7.17975[/C][C]-0.87975[/C][/ROW]
[ROW][C]25[/C][C]9.3[/C][C]11.14[/C][C]-1.84[/C][/ROW]
[ROW][C]26[/C][C]16.4[/C][C]14.16[/C][C]2.24[/C][/ROW]
[ROW][C]27[/C][C]16.1[/C][C]16.96[/C][C]-0.859999999999999[/C][/ROW]
[ROW][C]28[/C][C]18[/C][C]19.48[/C][C]-1.48[/C][/ROW]
[ROW][C]29[/C][C]17.6[/C][C]17.5[/C][C]0.100000000000002[/C][/ROW]
[ROW][C]30[/C][C]14[/C][C]15.3[/C][C]-1.3[/C][/ROW]
[ROW][C]31[/C][C]10.5[/C][C]11.4[/C][C]-0.9[/C][/ROW]
[ROW][C]32[/C][C]6.9[/C][C]7.72[/C][C]-0.82[/C][/ROW]
[ROW][C]33[/C][C]2.8[/C][C]3.67025[/C][C]-0.870249999999999[/C][/ROW]
[ROW][C]34[/C][C]0.7[/C][C]3.37025[/C][C]-2.67025[/C][/ROW]
[ROW][C]35[/C][C]3.6[/C][C]4.49525[/C][C]-0.895249999999999[/C][/ROW]
[ROW][C]36[/C][C]6.7[/C][C]6.67025[/C][C]0.0297499999999999[/C][/ROW]
[ROW][C]37[/C][C]12.5[/C][C]10.6305[/C][C]1.8695[/C][/ROW]
[ROW][C]38[/C][C]14.4[/C][C]13.6505[/C][C]0.749500000000001[/C][/ROW]
[ROW][C]39[/C][C]16.5[/C][C]16.4505[/C][C]0.049500000000001[/C][/ROW]
[ROW][C]40[/C][C]18.7[/C][C]18.9705[/C][C]-0.2705[/C][/ROW]
[ROW][C]41[/C][C]19.4[/C][C]16.9905[/C][C]2.4095[/C][/ROW]
[ROW][C]42[/C][C]15.8[/C][C]14.7905[/C][C]1.0095[/C][/ROW]
[ROW][C]43[/C][C]11.3[/C][C]10.8905[/C][C]0.4095[/C][/ROW]
[ROW][C]44[/C][C]9.7[/C][C]7.2105[/C][C]2.4895[/C][/ROW]
[ROW][C]45[/C][C]2.9[/C][C]3.16075[/C][C]-0.260749999999999[/C][/ROW]
[ROW][C]46[/C][C]0.1[/C][C]2.86075[/C][C]-2.76075[/C][/ROW]
[ROW][C]47[/C][C]2.5[/C][C]3.98575[/C][C]-1.48575[/C][/ROW]
[ROW][C]48[/C][C]6.7[/C][C]6.16075[/C][C]0.53925[/C][/ROW]
[ROW][C]49[/C][C]10.3[/C][C]10.121[/C][C]0.178999999999997[/C][/ROW]
[ROW][C]50[/C][C]11.2[/C][C]13.141[/C][C]-1.941[/C][/ROW]
[ROW][C]51[/C][C]17.4[/C][C]15.941[/C][C]1.459[/C][/ROW]
[ROW][C]52[/C][C]20.5[/C][C]18.461[/C][C]2.039[/C][/ROW]
[ROW][C]53[/C][C]17[/C][C]16.481[/C][C]0.519[/C][/ROW]
[ROW][C]54[/C][C]14.2[/C][C]14.281[/C][C]-0.0809999999999989[/C][/ROW]
[ROW][C]55[/C][C]10.6[/C][C]10.381[/C][C]0.219[/C][/ROW]
[ROW][C]56[/C][C]6.1[/C][C]6.701[/C][C]-0.601[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113545&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113545&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
19.312.159-2.85899999999999
214.215.179-0.978999999999999
317.317.979-0.679000000000002
42320.4992.501
516.318.519-2.219
618.416.3192.08099999999999
714.212.4191.781
89.18.7390.360999999999999
95.94.689251.21075
107.24.389252.81075
116.85.514251.28575
1287.689250.310749999999999
1314.311.64952.6505
1414.614.6695-0.0695000000000002
1517.517.46950.0305000000000007
1617.219.9895-2.7895
1717.218.0095-0.8095
1814.115.8095-1.7095
1910.411.9095-1.5095
206.88.2295-1.4295
214.14.17975-0.0797500000000007
226.53.879752.62025
236.15.004751.09525
246.37.17975-0.87975
259.311.14-1.84
2616.414.162.24
2716.116.96-0.859999999999999
281819.48-1.48
2917.617.50.100000000000002
301415.3-1.3
3110.511.4-0.9
326.97.72-0.82
332.83.67025-0.870249999999999
340.73.37025-2.67025
353.64.49525-0.895249999999999
366.76.670250.0297499999999999
3712.510.63051.8695
3814.413.65050.749500000000001
3916.516.45050.049500000000001
4018.718.9705-0.2705
4119.416.99052.4095
4215.814.79051.0095
4311.310.89050.4095
449.77.21052.4895
452.93.16075-0.260749999999999
460.12.86075-2.76075
472.53.98575-1.48575
486.76.160750.53925
4910.310.1210.178999999999997
5011.213.141-1.941
5117.415.9411.459
5220.518.4612.039
531716.4810.519
5414.214.281-0.0809999999999989
5510.610.3810.219
566.16.701-0.601







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.9801999184848530.03960016303029310.0198000815151465
170.9584086639748140.08318267205037130.0415913360251856
180.9658582853654720.06828342926905580.0341417146345279
190.9574270843217310.08514583135653730.0425729156782686
200.9338989767368780.1322020465262440.066101023263122
210.8892329538705180.2215340922589640.110767046129482
220.9539856617992170.09202867640156650.0460143382007833
230.9520830006922520.09583399861549650.0479169993077482
240.9208024233246340.1583951533507320.079197576675366
250.9134644738268840.1730710523462330.0865355261731164
260.9730927450809960.05381450983800790.026907254919004
270.9562416087073420.08751678258531650.0437583912926583
280.9496342589367180.1007314821265640.0503657410632821
290.9375451772998950.1249096454002110.0624548227001055
300.925974597933090.1480508041338190.0740254020669094
310.9016540289008770.1966919421982460.0983459710991232
320.9152457744117340.1695084511765320.0847542255882658
330.8806479693944160.2387040612111670.119352030605584
340.8929985306507450.2140029386985110.107001469349255
350.8277529744119770.3444940511760470.172247025588023
360.7681114800629770.4637770398740460.231888519937023
370.7263644713145020.5472710573709950.273635528685498
380.6911621479806590.6176757040386820.308837852019341
390.643892801955070.7122143960898590.356107198044929
400.8684744725146050.2630510549707910.131525527485396

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.980199918484853 & 0.0396001630302931 & 0.0198000815151465 \tabularnewline
17 & 0.958408663974814 & 0.0831826720503713 & 0.0415913360251856 \tabularnewline
18 & 0.965858285365472 & 0.0682834292690558 & 0.0341417146345279 \tabularnewline
19 & 0.957427084321731 & 0.0851458313565373 & 0.0425729156782686 \tabularnewline
20 & 0.933898976736878 & 0.132202046526244 & 0.066101023263122 \tabularnewline
21 & 0.889232953870518 & 0.221534092258964 & 0.110767046129482 \tabularnewline
22 & 0.953985661799217 & 0.0920286764015665 & 0.0460143382007833 \tabularnewline
23 & 0.952083000692252 & 0.0958339986154965 & 0.0479169993077482 \tabularnewline
24 & 0.920802423324634 & 0.158395153350732 & 0.079197576675366 \tabularnewline
25 & 0.913464473826884 & 0.173071052346233 & 0.0865355261731164 \tabularnewline
26 & 0.973092745080996 & 0.0538145098380079 & 0.026907254919004 \tabularnewline
27 & 0.956241608707342 & 0.0875167825853165 & 0.0437583912926583 \tabularnewline
28 & 0.949634258936718 & 0.100731482126564 & 0.0503657410632821 \tabularnewline
29 & 0.937545177299895 & 0.124909645400211 & 0.0624548227001055 \tabularnewline
30 & 0.92597459793309 & 0.148050804133819 & 0.0740254020669094 \tabularnewline
31 & 0.901654028900877 & 0.196691942198246 & 0.0983459710991232 \tabularnewline
32 & 0.915245774411734 & 0.169508451176532 & 0.0847542255882658 \tabularnewline
33 & 0.880647969394416 & 0.238704061211167 & 0.119352030605584 \tabularnewline
34 & 0.892998530650745 & 0.214002938698511 & 0.107001469349255 \tabularnewline
35 & 0.827752974411977 & 0.344494051176047 & 0.172247025588023 \tabularnewline
36 & 0.768111480062977 & 0.463777039874046 & 0.231888519937023 \tabularnewline
37 & 0.726364471314502 & 0.547271057370995 & 0.273635528685498 \tabularnewline
38 & 0.691162147980659 & 0.617675704038682 & 0.308837852019341 \tabularnewline
39 & 0.64389280195507 & 0.712214396089859 & 0.356107198044929 \tabularnewline
40 & 0.868474472514605 & 0.263051054970791 & 0.131525527485396 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113545&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.980199918484853[/C][C]0.0396001630302931[/C][C]0.0198000815151465[/C][/ROW]
[ROW][C]17[/C][C]0.958408663974814[/C][C]0.0831826720503713[/C][C]0.0415913360251856[/C][/ROW]
[ROW][C]18[/C][C]0.965858285365472[/C][C]0.0682834292690558[/C][C]0.0341417146345279[/C][/ROW]
[ROW][C]19[/C][C]0.957427084321731[/C][C]0.0851458313565373[/C][C]0.0425729156782686[/C][/ROW]
[ROW][C]20[/C][C]0.933898976736878[/C][C]0.132202046526244[/C][C]0.066101023263122[/C][/ROW]
[ROW][C]21[/C][C]0.889232953870518[/C][C]0.221534092258964[/C][C]0.110767046129482[/C][/ROW]
[ROW][C]22[/C][C]0.953985661799217[/C][C]0.0920286764015665[/C][C]0.0460143382007833[/C][/ROW]
[ROW][C]23[/C][C]0.952083000692252[/C][C]0.0958339986154965[/C][C]0.0479169993077482[/C][/ROW]
[ROW][C]24[/C][C]0.920802423324634[/C][C]0.158395153350732[/C][C]0.079197576675366[/C][/ROW]
[ROW][C]25[/C][C]0.913464473826884[/C][C]0.173071052346233[/C][C]0.0865355261731164[/C][/ROW]
[ROW][C]26[/C][C]0.973092745080996[/C][C]0.0538145098380079[/C][C]0.026907254919004[/C][/ROW]
[ROW][C]27[/C][C]0.956241608707342[/C][C]0.0875167825853165[/C][C]0.0437583912926583[/C][/ROW]
[ROW][C]28[/C][C]0.949634258936718[/C][C]0.100731482126564[/C][C]0.0503657410632821[/C][/ROW]
[ROW][C]29[/C][C]0.937545177299895[/C][C]0.124909645400211[/C][C]0.0624548227001055[/C][/ROW]
[ROW][C]30[/C][C]0.92597459793309[/C][C]0.148050804133819[/C][C]0.0740254020669094[/C][/ROW]
[ROW][C]31[/C][C]0.901654028900877[/C][C]0.196691942198246[/C][C]0.0983459710991232[/C][/ROW]
[ROW][C]32[/C][C]0.915245774411734[/C][C]0.169508451176532[/C][C]0.0847542255882658[/C][/ROW]
[ROW][C]33[/C][C]0.880647969394416[/C][C]0.238704061211167[/C][C]0.119352030605584[/C][/ROW]
[ROW][C]34[/C][C]0.892998530650745[/C][C]0.214002938698511[/C][C]0.107001469349255[/C][/ROW]
[ROW][C]35[/C][C]0.827752974411977[/C][C]0.344494051176047[/C][C]0.172247025588023[/C][/ROW]
[ROW][C]36[/C][C]0.768111480062977[/C][C]0.463777039874046[/C][C]0.231888519937023[/C][/ROW]
[ROW][C]37[/C][C]0.726364471314502[/C][C]0.547271057370995[/C][C]0.273635528685498[/C][/ROW]
[ROW][C]38[/C][C]0.691162147980659[/C][C]0.617675704038682[/C][C]0.308837852019341[/C][/ROW]
[ROW][C]39[/C][C]0.64389280195507[/C][C]0.712214396089859[/C][C]0.356107198044929[/C][/ROW]
[ROW][C]40[/C][C]0.868474472514605[/C][C]0.263051054970791[/C][C]0.131525527485396[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113545&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113545&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.9801999184848530.03960016303029310.0198000815151465
170.9584086639748140.08318267205037130.0415913360251856
180.9658582853654720.06828342926905580.0341417146345279
190.9574270843217310.08514583135653730.0425729156782686
200.9338989767368780.1322020465262440.066101023263122
210.8892329538705180.2215340922589640.110767046129482
220.9539856617992170.09202867640156650.0460143382007833
230.9520830006922520.09583399861549650.0479169993077482
240.9208024233246340.1583951533507320.079197576675366
250.9134644738268840.1730710523462330.0865355261731164
260.9730927450809960.05381450983800790.026907254919004
270.9562416087073420.08751678258531650.0437583912926583
280.9496342589367180.1007314821265640.0503657410632821
290.9375451772998950.1249096454002110.0624548227001055
300.925974597933090.1480508041338190.0740254020669094
310.9016540289008770.1966919421982460.0983459710991232
320.9152457744117340.1695084511765320.0847542255882658
330.8806479693944160.2387040612111670.119352030605584
340.8929985306507450.2140029386985110.107001469349255
350.8277529744119770.3444940511760470.172247025588023
360.7681114800629770.4637770398740460.231888519937023
370.7263644713145020.5472710573709950.273635528685498
380.6911621479806590.6176757040386820.308837852019341
390.643892801955070.7122143960898590.356107198044929
400.8684744725146050.2630510549707910.131525527485396







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113545&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.04OK
10% type I error level80.32NOK



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