Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 31 Aug 2016 08:24:31 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Aug/31/t14726282917slsjiyiu7gco25.htm/, Retrieved Sun, 05 May 2024 11:37:25 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Sun, 05 May 2024 11:37:25 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
3035
2552
2704
2554
2014
1655
1721
1524
1596
2074
2199
2512
2933
2889
2938
2497
1870
1726
1607
1545
1396
1787
2076
2837
2787
3891
3179
2011
1636
1580
1489
1300
1356
1653
2013
2823
3102
2294
2385
2444
1748
1554
1498
1361
1346
1564
1640
2293
2815
3137
2679
1969
1870
1633
1529
1366
1357
1570
1535
2491
3084
2605
2573
2143
1693
1504
1461
1354
1333
1492
1781
1915




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







Multiple Linear Regression - Estimated Regression Equation
(1-B12)Longziekte[t] = -119.4 + 129.2M1[t] + 130M2[t] + 93.2M3[t] + 37.2M4[t] + 55.2M5[t] + 89.2M6[t] + 67.4M7[t] + 85.4M8[t] + 66.8M9[t] + 3M10[t] + 35.8M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
(1-B12)Longziekte[t] =  -119.4 +  129.2M1[t] +  130M2[t] +  93.2M3[t] +  37.2M4[t] +  55.2M5[t] +  89.2M6[t] +  67.4M7[t] +  85.4M8[t] +  66.8M9[t] +  3M10[t] +  35.8M11[t]  + e[t] \tabularnewline
 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C](1-B12)Longziekte[t] =  -119.4 +  129.2M1[t] +  130M2[t] +  93.2M3[t] +  37.2M4[t] +  55.2M5[t] +  89.2M6[t] +  67.4M7[t] +  85.4M8[t] +  66.8M9[t] +  3M10[t] +  35.8M11[t]  + e[t][/C][/ROW]
[ROW][C][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
(1-B12)Longziekte[t] = -119.4 + 129.2M1[t] + 130M2[t] + 93.2M3[t] + 37.2M4[t] + 55.2M5[t] + 89.2M6[t] + 67.4M7[t] + 85.4M8[t] + 66.8M9[t] + 3M10[t] + 35.8M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-119.4 178.2-6.6980e-01 0.5062 0.2531
M1+129.2 252.1+5.1250e-01 0.6106 0.3053
M2+130 252.1+5.1570e-01 0.6084 0.3042
M3+93.2 252.1+3.6970e-01 0.7132 0.3566
M4+37.2 252.1+1.4760e-01 0.8833 0.4417
M5+55.2 252.1+2.1900e-01 0.8276 0.4138
M6+89.2 252.1+3.5380e-01 0.725 0.3625
M7+67.4 252.1+2.6740e-01 0.7903 0.3952
M8+85.4 252.1+3.3880e-01 0.7363 0.3681
M9+66.8 252.1+2.6500e-01 0.7922 0.3961
M10+3 252.1+1.1900e-02 0.9906 0.4953
M11+35.8 252.1+1.4200e-01 0.8877 0.4438

\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) & -119.4 &  178.2 & -6.6980e-01 &  0.5062 &  0.2531 \tabularnewline
M1 & +129.2 &  252.1 & +5.1250e-01 &  0.6106 &  0.3053 \tabularnewline
M2 & +130 &  252.1 & +5.1570e-01 &  0.6084 &  0.3042 \tabularnewline
M3 & +93.2 &  252.1 & +3.6970e-01 &  0.7132 &  0.3566 \tabularnewline
M4 & +37.2 &  252.1 & +1.4760e-01 &  0.8833 &  0.4417 \tabularnewline
M5 & +55.2 &  252.1 & +2.1900e-01 &  0.8276 &  0.4138 \tabularnewline
M6 & +89.2 &  252.1 & +3.5380e-01 &  0.725 &  0.3625 \tabularnewline
M7 & +67.4 &  252.1 & +2.6740e-01 &  0.7903 &  0.3952 \tabularnewline
M8 & +85.4 &  252.1 & +3.3880e-01 &  0.7363 &  0.3681 \tabularnewline
M9 & +66.8 &  252.1 & +2.6500e-01 &  0.7922 &  0.3961 \tabularnewline
M10 & +3 &  252.1 & +1.1900e-02 &  0.9906 &  0.4953 \tabularnewline
M11 & +35.8 &  252.1 & +1.4200e-01 &  0.8877 &  0.4438 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]-119.4[/C][C] 178.2[/C][C]-6.6980e-01[/C][C] 0.5062[/C][C] 0.2531[/C][/ROW]
[ROW][C]M1[/C][C]+129.2[/C][C] 252.1[/C][C]+5.1250e-01[/C][C] 0.6106[/C][C] 0.3053[/C][/ROW]
[ROW][C]M2[/C][C]+130[/C][C] 252.1[/C][C]+5.1570e-01[/C][C] 0.6084[/C][C] 0.3042[/C][/ROW]
[ROW][C]M3[/C][C]+93.2[/C][C] 252.1[/C][C]+3.6970e-01[/C][C] 0.7132[/C][C] 0.3566[/C][/ROW]
[ROW][C]M4[/C][C]+37.2[/C][C] 252.1[/C][C]+1.4760e-01[/C][C] 0.8833[/C][C] 0.4417[/C][/ROW]
[ROW][C]M5[/C][C]+55.2[/C][C] 252.1[/C][C]+2.1900e-01[/C][C] 0.8276[/C][C] 0.4138[/C][/ROW]
[ROW][C]M6[/C][C]+89.2[/C][C] 252.1[/C][C]+3.5380e-01[/C][C] 0.725[/C][C] 0.3625[/C][/ROW]
[ROW][C]M7[/C][C]+67.4[/C][C] 252.1[/C][C]+2.6740e-01[/C][C] 0.7903[/C][C] 0.3952[/C][/ROW]
[ROW][C]M8[/C][C]+85.4[/C][C] 252.1[/C][C]+3.3880e-01[/C][C] 0.7363[/C][C] 0.3681[/C][/ROW]
[ROW][C]M9[/C][C]+66.8[/C][C] 252.1[/C][C]+2.6500e-01[/C][C] 0.7922[/C][C] 0.3961[/C][/ROW]
[ROW][C]M10[/C][C]+3[/C][C] 252.1[/C][C]+1.1900e-02[/C][C] 0.9906[/C][C] 0.4953[/C][/ROW]
[ROW][C]M11[/C][C]+35.8[/C][C] 252.1[/C][C]+1.4200e-01[/C][C] 0.8877[/C][C] 0.4438[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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)-119.4 178.2-6.6980e-01 0.5062 0.2531
M1+129.2 252.1+5.1250e-01 0.6106 0.3053
M2+130 252.1+5.1570e-01 0.6084 0.3042
M3+93.2 252.1+3.6970e-01 0.7132 0.3566
M4+37.2 252.1+1.4760e-01 0.8833 0.4417
M5+55.2 252.1+2.1900e-01 0.8276 0.4138
M6+89.2 252.1+3.5380e-01 0.725 0.3625
M7+67.4 252.1+2.6740e-01 0.7903 0.3952
M8+85.4 252.1+3.3880e-01 0.7363 0.3681
M9+66.8 252.1+2.6500e-01 0.7922 0.3961
M10+3 252.1+1.1900e-02 0.9906 0.4953
M11+35.8 252.1+1.4200e-01 0.8877 0.4438







Multiple Linear Regression - Regression Statistics
Multiple R 0.1136
R-squared 0.0129
Adjusted R-squared-0.2133
F-TEST (value) 0.05702
F-TEST (DF numerator)11
F-TEST (DF denominator)48
p-value 1
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 398.6
Sum Squared Residuals 7.626e+06

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R &  0.1136 \tabularnewline
R-squared &  0.0129 \tabularnewline
Adjusted R-squared & -0.2133 \tabularnewline
F-TEST (value) &  0.05702 \tabularnewline
F-TEST (DF numerator) & 11 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value &  1 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation &  398.6 \tabularnewline
Sum Squared Residuals &  7.626e+06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C] 0.1136[/C][/ROW]
[ROW][C]R-squared[/C][C] 0.0129[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.2133[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C] 0.05702[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]11[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C] 1[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C] 398.6[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 7.626e+06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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 R 0.1136
R-squared 0.0129
Adjusted R-squared-0.2133
F-TEST (value) 0.05702
F-TEST (DF numerator)11
F-TEST (DF denominator)48
p-value 1
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 398.6
Sum Squared Residuals 7.626e+06







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1-102 9.8-111.8
2 337 10.6 326.4
3 234-26.2 260.2
4-57-82.2 25.2
5-144-64.2-79.8
6 71-30.2 101.2
7-114-52-62
8 21-34 55
9-200-52.6-147.4
10-287-116.4-170.6
11-123-83.6-39.4
12 325-119.4 444.4
13-146 9.8-155.8
14 1002 10.6 991.4
15 241-26.2 267.2
16-486-82.2-403.8
17-234-64.2-169.8
18-146-30.2-115.8
19-118-52-66
20-245-34-211
21-40-52.6 12.6
22-134-116.4-17.6
23-63-83.6 20.6
24-14-119.4 105.4
25 315 9.8 305.2
26-1597 10.6-1608
27-794-26.2-767.8
28 433-82.2 515.2
29 112-64.2 176.2
30-26-30.2 4.2
31 9-52 61
32 61-34 95
33-10-52.6 42.6
34-89-116.4 27.4
35-373-83.6-289.4
36-530-119.4-410.6
37-287 9.8-296.8
38 843 10.6 832.4
39 294-26.2 320.2
40-475-82.2-392.8
41 122-64.2 186.2
42 79-30.2 109.2
43 31-52 83
44 5-34 39
45 11-52.6 63.6
46 6-116.4 122.4
47-105-83.6-21.4
48 198-119.4 317.4
49 269 9.8 259.2
50-532 10.6-542.6
51-106-26.2-79.8
52 174-82.2 256.2
53-177-64.2-112.8
54-129-30.2-98.8
55-68-52-16
56-12-34 22
57-24-52.6 28.6
58-78-116.4 38.4
59 246-83.6 329.6
60-576-119.4-456.6

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & -102 &  9.8 & -111.8 \tabularnewline
2 &  337 &  10.6 &  326.4 \tabularnewline
3 &  234 & -26.2 &  260.2 \tabularnewline
4 & -57 & -82.2 &  25.2 \tabularnewline
5 & -144 & -64.2 & -79.8 \tabularnewline
6 &  71 & -30.2 &  101.2 \tabularnewline
7 & -114 & -52 & -62 \tabularnewline
8 &  21 & -34 &  55 \tabularnewline
9 & -200 & -52.6 & -147.4 \tabularnewline
10 & -287 & -116.4 & -170.6 \tabularnewline
11 & -123 & -83.6 & -39.4 \tabularnewline
12 &  325 & -119.4 &  444.4 \tabularnewline
13 & -146 &  9.8 & -155.8 \tabularnewline
14 &  1002 &  10.6 &  991.4 \tabularnewline
15 &  241 & -26.2 &  267.2 \tabularnewline
16 & -486 & -82.2 & -403.8 \tabularnewline
17 & -234 & -64.2 & -169.8 \tabularnewline
18 & -146 & -30.2 & -115.8 \tabularnewline
19 & -118 & -52 & -66 \tabularnewline
20 & -245 & -34 & -211 \tabularnewline
21 & -40 & -52.6 &  12.6 \tabularnewline
22 & -134 & -116.4 & -17.6 \tabularnewline
23 & -63 & -83.6 &  20.6 \tabularnewline
24 & -14 & -119.4 &  105.4 \tabularnewline
25 &  315 &  9.8 &  305.2 \tabularnewline
26 & -1597 &  10.6 & -1608 \tabularnewline
27 & -794 & -26.2 & -767.8 \tabularnewline
28 &  433 & -82.2 &  515.2 \tabularnewline
29 &  112 & -64.2 &  176.2 \tabularnewline
30 & -26 & -30.2 &  4.2 \tabularnewline
31 &  9 & -52 &  61 \tabularnewline
32 &  61 & -34 &  95 \tabularnewline
33 & -10 & -52.6 &  42.6 \tabularnewline
34 & -89 & -116.4 &  27.4 \tabularnewline
35 & -373 & -83.6 & -289.4 \tabularnewline
36 & -530 & -119.4 & -410.6 \tabularnewline
37 & -287 &  9.8 & -296.8 \tabularnewline
38 &  843 &  10.6 &  832.4 \tabularnewline
39 &  294 & -26.2 &  320.2 \tabularnewline
40 & -475 & -82.2 & -392.8 \tabularnewline
41 &  122 & -64.2 &  186.2 \tabularnewline
42 &  79 & -30.2 &  109.2 \tabularnewline
43 &  31 & -52 &  83 \tabularnewline
44 &  5 & -34 &  39 \tabularnewline
45 &  11 & -52.6 &  63.6 \tabularnewline
46 &  6 & -116.4 &  122.4 \tabularnewline
47 & -105 & -83.6 & -21.4 \tabularnewline
48 &  198 & -119.4 &  317.4 \tabularnewline
49 &  269 &  9.8 &  259.2 \tabularnewline
50 & -532 &  10.6 & -542.6 \tabularnewline
51 & -106 & -26.2 & -79.8 \tabularnewline
52 &  174 & -82.2 &  256.2 \tabularnewline
53 & -177 & -64.2 & -112.8 \tabularnewline
54 & -129 & -30.2 & -98.8 \tabularnewline
55 & -68 & -52 & -16 \tabularnewline
56 & -12 & -34 &  22 \tabularnewline
57 & -24 & -52.6 &  28.6 \tabularnewline
58 & -78 & -116.4 &  38.4 \tabularnewline
59 &  246 & -83.6 &  329.6 \tabularnewline
60 & -576 & -119.4 & -456.6 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]-102[/C][C] 9.8[/C][C]-111.8[/C][/ROW]
[ROW][C]2[/C][C] 337[/C][C] 10.6[/C][C] 326.4[/C][/ROW]
[ROW][C]3[/C][C] 234[/C][C]-26.2[/C][C] 260.2[/C][/ROW]
[ROW][C]4[/C][C]-57[/C][C]-82.2[/C][C] 25.2[/C][/ROW]
[ROW][C]5[/C][C]-144[/C][C]-64.2[/C][C]-79.8[/C][/ROW]
[ROW][C]6[/C][C] 71[/C][C]-30.2[/C][C] 101.2[/C][/ROW]
[ROW][C]7[/C][C]-114[/C][C]-52[/C][C]-62[/C][/ROW]
[ROW][C]8[/C][C] 21[/C][C]-34[/C][C] 55[/C][/ROW]
[ROW][C]9[/C][C]-200[/C][C]-52.6[/C][C]-147.4[/C][/ROW]
[ROW][C]10[/C][C]-287[/C][C]-116.4[/C][C]-170.6[/C][/ROW]
[ROW][C]11[/C][C]-123[/C][C]-83.6[/C][C]-39.4[/C][/ROW]
[ROW][C]12[/C][C] 325[/C][C]-119.4[/C][C] 444.4[/C][/ROW]
[ROW][C]13[/C][C]-146[/C][C] 9.8[/C][C]-155.8[/C][/ROW]
[ROW][C]14[/C][C] 1002[/C][C] 10.6[/C][C] 991.4[/C][/ROW]
[ROW][C]15[/C][C] 241[/C][C]-26.2[/C][C] 267.2[/C][/ROW]
[ROW][C]16[/C][C]-486[/C][C]-82.2[/C][C]-403.8[/C][/ROW]
[ROW][C]17[/C][C]-234[/C][C]-64.2[/C][C]-169.8[/C][/ROW]
[ROW][C]18[/C][C]-146[/C][C]-30.2[/C][C]-115.8[/C][/ROW]
[ROW][C]19[/C][C]-118[/C][C]-52[/C][C]-66[/C][/ROW]
[ROW][C]20[/C][C]-245[/C][C]-34[/C][C]-211[/C][/ROW]
[ROW][C]21[/C][C]-40[/C][C]-52.6[/C][C] 12.6[/C][/ROW]
[ROW][C]22[/C][C]-134[/C][C]-116.4[/C][C]-17.6[/C][/ROW]
[ROW][C]23[/C][C]-63[/C][C]-83.6[/C][C] 20.6[/C][/ROW]
[ROW][C]24[/C][C]-14[/C][C]-119.4[/C][C] 105.4[/C][/ROW]
[ROW][C]25[/C][C] 315[/C][C] 9.8[/C][C] 305.2[/C][/ROW]
[ROW][C]26[/C][C]-1597[/C][C] 10.6[/C][C]-1608[/C][/ROW]
[ROW][C]27[/C][C]-794[/C][C]-26.2[/C][C]-767.8[/C][/ROW]
[ROW][C]28[/C][C] 433[/C][C]-82.2[/C][C] 515.2[/C][/ROW]
[ROW][C]29[/C][C] 112[/C][C]-64.2[/C][C] 176.2[/C][/ROW]
[ROW][C]30[/C][C]-26[/C][C]-30.2[/C][C] 4.2[/C][/ROW]
[ROW][C]31[/C][C] 9[/C][C]-52[/C][C] 61[/C][/ROW]
[ROW][C]32[/C][C] 61[/C][C]-34[/C][C] 95[/C][/ROW]
[ROW][C]33[/C][C]-10[/C][C]-52.6[/C][C] 42.6[/C][/ROW]
[ROW][C]34[/C][C]-89[/C][C]-116.4[/C][C] 27.4[/C][/ROW]
[ROW][C]35[/C][C]-373[/C][C]-83.6[/C][C]-289.4[/C][/ROW]
[ROW][C]36[/C][C]-530[/C][C]-119.4[/C][C]-410.6[/C][/ROW]
[ROW][C]37[/C][C]-287[/C][C] 9.8[/C][C]-296.8[/C][/ROW]
[ROW][C]38[/C][C] 843[/C][C] 10.6[/C][C] 832.4[/C][/ROW]
[ROW][C]39[/C][C] 294[/C][C]-26.2[/C][C] 320.2[/C][/ROW]
[ROW][C]40[/C][C]-475[/C][C]-82.2[/C][C]-392.8[/C][/ROW]
[ROW][C]41[/C][C] 122[/C][C]-64.2[/C][C] 186.2[/C][/ROW]
[ROW][C]42[/C][C] 79[/C][C]-30.2[/C][C] 109.2[/C][/ROW]
[ROW][C]43[/C][C] 31[/C][C]-52[/C][C] 83[/C][/ROW]
[ROW][C]44[/C][C] 5[/C][C]-34[/C][C] 39[/C][/ROW]
[ROW][C]45[/C][C] 11[/C][C]-52.6[/C][C] 63.6[/C][/ROW]
[ROW][C]46[/C][C] 6[/C][C]-116.4[/C][C] 122.4[/C][/ROW]
[ROW][C]47[/C][C]-105[/C][C]-83.6[/C][C]-21.4[/C][/ROW]
[ROW][C]48[/C][C] 198[/C][C]-119.4[/C][C] 317.4[/C][/ROW]
[ROW][C]49[/C][C] 269[/C][C] 9.8[/C][C] 259.2[/C][/ROW]
[ROW][C]50[/C][C]-532[/C][C] 10.6[/C][C]-542.6[/C][/ROW]
[ROW][C]51[/C][C]-106[/C][C]-26.2[/C][C]-79.8[/C][/ROW]
[ROW][C]52[/C][C] 174[/C][C]-82.2[/C][C] 256.2[/C][/ROW]
[ROW][C]53[/C][C]-177[/C][C]-64.2[/C][C]-112.8[/C][/ROW]
[ROW][C]54[/C][C]-129[/C][C]-30.2[/C][C]-98.8[/C][/ROW]
[ROW][C]55[/C][C]-68[/C][C]-52[/C][C]-16[/C][/ROW]
[ROW][C]56[/C][C]-12[/C][C]-34[/C][C] 22[/C][/ROW]
[ROW][C]57[/C][C]-24[/C][C]-52.6[/C][C] 28.6[/C][/ROW]
[ROW][C]58[/C][C]-78[/C][C]-116.4[/C][C] 38.4[/C][/ROW]
[ROW][C]59[/C][C] 246[/C][C]-83.6[/C][C] 329.6[/C][/ROW]
[ROW][C]60[/C][C]-576[/C][C]-119.4[/C][C]-456.6[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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-102 9.8-111.8
2 337 10.6 326.4
3 234-26.2 260.2
4-57-82.2 25.2
5-144-64.2-79.8
6 71-30.2 101.2
7-114-52-62
8 21-34 55
9-200-52.6-147.4
10-287-116.4-170.6
11-123-83.6-39.4
12 325-119.4 444.4
13-146 9.8-155.8
14 1002 10.6 991.4
15 241-26.2 267.2
16-486-82.2-403.8
17-234-64.2-169.8
18-146-30.2-115.8
19-118-52-66
20-245-34-211
21-40-52.6 12.6
22-134-116.4-17.6
23-63-83.6 20.6
24-14-119.4 105.4
25 315 9.8 305.2
26-1597 10.6-1608
27-794-26.2-767.8
28 433-82.2 515.2
29 112-64.2 176.2
30-26-30.2 4.2
31 9-52 61
32 61-34 95
33-10-52.6 42.6
34-89-116.4 27.4
35-373-83.6-289.4
36-530-119.4-410.6
37-287 9.8-296.8
38 843 10.6 832.4
39 294-26.2 320.2
40-475-82.2-392.8
41 122-64.2 186.2
42 79-30.2 109.2
43 31-52 83
44 5-34 39
45 11-52.6 63.6
46 6-116.4 122.4
47-105-83.6-21.4
48 198-119.4 317.4
49 269 9.8 259.2
50-532 10.6-542.6
51-106-26.2-79.8
52 174-82.2 256.2
53-177-64.2-112.8
54-129-30.2-98.8
55-68-52-16
56-12-34 22
57-24-52.6 28.6
58-78-116.4 38.4
59 246-83.6 329.6
60-576-119.4-456.6







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
15 0.2872 0.5745 0.7128
16 0.2581 0.5162 0.7419
17 0.1479 0.2957 0.8521
18 0.08882 0.1776 0.9112
19 0.04356 0.08711 0.9564
20 0.02764 0.05527 0.9724
21 0.01387 0.02774 0.9861
22 0.006651 0.0133 0.9933
23 0.002753 0.005506 0.9972
24 0.00212 0.004239 0.9979
25 0.003039 0.006079 0.997
26 0.9569 0.08629 0.04315
27 0.9873 0.02533 0.01266
28 0.9904 0.01915 0.009575
29 0.9836 0.03276 0.01638
30 0.9706 0.05873 0.02937
31 0.9504 0.09918 0.04959
32 0.921 0.158 0.07901
33 0.8781 0.2439 0.1219
34 0.821 0.3581 0.179
35 0.7914 0.4172 0.2086
36 0.7702 0.4596 0.2298
37 0.7451 0.5097 0.2549
38 0.9739 0.05218 0.02609
39 0.9666 0.06672 0.03336
40 0.9808 0.03833 0.01916
41 0.9688 0.0625 0.03125
42 0.9407 0.1186 0.05928
43 0.8814 0.2373 0.1186
44 0.7751 0.4498 0.2249
45 0.6131 0.7739 0.3869

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
15 &  0.2872 &  0.5745 &  0.7128 \tabularnewline
16 &  0.2581 &  0.5162 &  0.7419 \tabularnewline
17 &  0.1479 &  0.2957 &  0.8521 \tabularnewline
18 &  0.08882 &  0.1776 &  0.9112 \tabularnewline
19 &  0.04356 &  0.08711 &  0.9564 \tabularnewline
20 &  0.02764 &  0.05527 &  0.9724 \tabularnewline
21 &  0.01387 &  0.02774 &  0.9861 \tabularnewline
22 &  0.006651 &  0.0133 &  0.9933 \tabularnewline
23 &  0.002753 &  0.005506 &  0.9972 \tabularnewline
24 &  0.00212 &  0.004239 &  0.9979 \tabularnewline
25 &  0.003039 &  0.006079 &  0.997 \tabularnewline
26 &  0.9569 &  0.08629 &  0.04315 \tabularnewline
27 &  0.9873 &  0.02533 &  0.01266 \tabularnewline
28 &  0.9904 &  0.01915 &  0.009575 \tabularnewline
29 &  0.9836 &  0.03276 &  0.01638 \tabularnewline
30 &  0.9706 &  0.05873 &  0.02937 \tabularnewline
31 &  0.9504 &  0.09918 &  0.04959 \tabularnewline
32 &  0.921 &  0.158 &  0.07901 \tabularnewline
33 &  0.8781 &  0.2439 &  0.1219 \tabularnewline
34 &  0.821 &  0.3581 &  0.179 \tabularnewline
35 &  0.7914 &  0.4172 &  0.2086 \tabularnewline
36 &  0.7702 &  0.4596 &  0.2298 \tabularnewline
37 &  0.7451 &  0.5097 &  0.2549 \tabularnewline
38 &  0.9739 &  0.05218 &  0.02609 \tabularnewline
39 &  0.9666 &  0.06672 &  0.03336 \tabularnewline
40 &  0.9808 &  0.03833 &  0.01916 \tabularnewline
41 &  0.9688 &  0.0625 &  0.03125 \tabularnewline
42 &  0.9407 &  0.1186 &  0.05928 \tabularnewline
43 &  0.8814 &  0.2373 &  0.1186 \tabularnewline
44 &  0.7751 &  0.4498 &  0.2249 \tabularnewline
45 &  0.6131 &  0.7739 &  0.3869 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]15[/C][C] 0.2872[/C][C] 0.5745[/C][C] 0.7128[/C][/ROW]
[ROW][C]16[/C][C] 0.2581[/C][C] 0.5162[/C][C] 0.7419[/C][/ROW]
[ROW][C]17[/C][C] 0.1479[/C][C] 0.2957[/C][C] 0.8521[/C][/ROW]
[ROW][C]18[/C][C] 0.08882[/C][C] 0.1776[/C][C] 0.9112[/C][/ROW]
[ROW][C]19[/C][C] 0.04356[/C][C] 0.08711[/C][C] 0.9564[/C][/ROW]
[ROW][C]20[/C][C] 0.02764[/C][C] 0.05527[/C][C] 0.9724[/C][/ROW]
[ROW][C]21[/C][C] 0.01387[/C][C] 0.02774[/C][C] 0.9861[/C][/ROW]
[ROW][C]22[/C][C] 0.006651[/C][C] 0.0133[/C][C] 0.9933[/C][/ROW]
[ROW][C]23[/C][C] 0.002753[/C][C] 0.005506[/C][C] 0.9972[/C][/ROW]
[ROW][C]24[/C][C] 0.00212[/C][C] 0.004239[/C][C] 0.9979[/C][/ROW]
[ROW][C]25[/C][C] 0.003039[/C][C] 0.006079[/C][C] 0.997[/C][/ROW]
[ROW][C]26[/C][C] 0.9569[/C][C] 0.08629[/C][C] 0.04315[/C][/ROW]
[ROW][C]27[/C][C] 0.9873[/C][C] 0.02533[/C][C] 0.01266[/C][/ROW]
[ROW][C]28[/C][C] 0.9904[/C][C] 0.01915[/C][C] 0.009575[/C][/ROW]
[ROW][C]29[/C][C] 0.9836[/C][C] 0.03276[/C][C] 0.01638[/C][/ROW]
[ROW][C]30[/C][C] 0.9706[/C][C] 0.05873[/C][C] 0.02937[/C][/ROW]
[ROW][C]31[/C][C] 0.9504[/C][C] 0.09918[/C][C] 0.04959[/C][/ROW]
[ROW][C]32[/C][C] 0.921[/C][C] 0.158[/C][C] 0.07901[/C][/ROW]
[ROW][C]33[/C][C] 0.8781[/C][C] 0.2439[/C][C] 0.1219[/C][/ROW]
[ROW][C]34[/C][C] 0.821[/C][C] 0.3581[/C][C] 0.179[/C][/ROW]
[ROW][C]35[/C][C] 0.7914[/C][C] 0.4172[/C][C] 0.2086[/C][/ROW]
[ROW][C]36[/C][C] 0.7702[/C][C] 0.4596[/C][C] 0.2298[/C][/ROW]
[ROW][C]37[/C][C] 0.7451[/C][C] 0.5097[/C][C] 0.2549[/C][/ROW]
[ROW][C]38[/C][C] 0.9739[/C][C] 0.05218[/C][C] 0.02609[/C][/ROW]
[ROW][C]39[/C][C] 0.9666[/C][C] 0.06672[/C][C] 0.03336[/C][/ROW]
[ROW][C]40[/C][C] 0.9808[/C][C] 0.03833[/C][C] 0.01916[/C][/ROW]
[ROW][C]41[/C][C] 0.9688[/C][C] 0.0625[/C][C] 0.03125[/C][/ROW]
[ROW][C]42[/C][C] 0.9407[/C][C] 0.1186[/C][C] 0.05928[/C][/ROW]
[ROW][C]43[/C][C] 0.8814[/C][C] 0.2373[/C][C] 0.1186[/C][/ROW]
[ROW][C]44[/C][C] 0.7751[/C][C] 0.4498[/C][C] 0.2249[/C][/ROW]
[ROW][C]45[/C][C] 0.6131[/C][C] 0.7739[/C][C] 0.3869[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
15 0.2872 0.5745 0.7128
16 0.2581 0.5162 0.7419
17 0.1479 0.2957 0.8521
18 0.08882 0.1776 0.9112
19 0.04356 0.08711 0.9564
20 0.02764 0.05527 0.9724
21 0.01387 0.02774 0.9861
22 0.006651 0.0133 0.9933
23 0.002753 0.005506 0.9972
24 0.00212 0.004239 0.9979
25 0.003039 0.006079 0.997
26 0.9569 0.08629 0.04315
27 0.9873 0.02533 0.01266
28 0.9904 0.01915 0.009575
29 0.9836 0.03276 0.01638
30 0.9706 0.05873 0.02937
31 0.9504 0.09918 0.04959
32 0.921 0.158 0.07901
33 0.8781 0.2439 0.1219
34 0.821 0.3581 0.179
35 0.7914 0.4172 0.2086
36 0.7702 0.4596 0.2298
37 0.7451 0.5097 0.2549
38 0.9739 0.05218 0.02609
39 0.9666 0.06672 0.03336
40 0.9808 0.03833 0.01916
41 0.9688 0.0625 0.03125
42 0.9407 0.1186 0.05928
43 0.8814 0.2373 0.1186
44 0.7751 0.4498 0.2249
45 0.6131 0.7739 0.3869







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level3 0.09677NOK
5% type I error level90.290323NOK
10% type I error level170.548387NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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 level3 0.09677NOK
5% type I error level90.290323NOK
10% type I error level170.548387NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Seasonal Differences (s=12) ; par4 = 0 ; par5 = 0 ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Seasonal Differences (s=12) ; par4 = 0 ; par5 = 0 ;
R code (references can be found in the software module):
par5 <- '0'
par4 <- '0'
par3 <- 'Linear Trend'
par2 <- 'Include Monthly Dummies'
par1 <- '1'
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
mywarning <- ''
par1 <- as.numeric(par1)
if(is.na(par1)) {
par1 <- 1
mywarning = 'Warning: you did not specify the column number of the endogenous series! The first column was selected by default.'
}
if (par4=='') par4 <- 0
par4 <- as.numeric(par4)
if (par5=='') par5 <- 0
par5 <- as.numeric(par5)
x <- na.omit(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'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'Seasonal Differences (s=12)'){
(n <- n - 12)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B12)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+12,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'First and Seasonal Differences (s=12)'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
(n <- n - 12)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B12)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+12,j] - x[i,j]
}
}
x <- x2
}
if(par4 > 0) {
x2 <- array(0, dim=c(n-par4,par4), dimnames=list(1:(n-par4), paste(colnames(x)[par1],'(t-',1:par4,')',sep='')))
for (i in 1:(n-par4)) {
for (j in 1:par4) {
x2[i,j] <- x[i+par4-j,par1]
}
}
x <- cbind(x[(par4+1):n,], x2)
n <- n - par4
}
if(par5 > 0) {
x2 <- array(0, dim=c(n-par5*12,par5), dimnames=list(1:(n-par5*12), paste(colnames(x)[par1],'(t-',1:par5,'s)',sep='')))
for (i in 1:(n-par5*12)) {
for (j in 1:par5) {
x2[i,j] <- x[i+par5*12-j*12,par1]
}
}
x <- cbind(x[(par5*12+1):n,], x2)
n <- n - par5*12
}
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[n,]))
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
(k <- length(x[n,]))
head(x)
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, signif(mysum$coefficients[i,1],6), 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.row.start(a)
a<-table.element(a, mywarning)
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,formatC(signif(mysum$coefficients[i,1],5),format='g',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,2],5),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,3],4),format='e',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4],4),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4]/2,4),format='g',flag=' '))
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,formatC(signif(sqrt(mysum$r.squared),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$adj.r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a,formatC(signif(mysum$fstatistic[1],6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a,formatC(signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6),format='g',flag=' '))
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,formatC(signif(mysum$sigma,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a,formatC(signif(sum(myerror*myerror),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
if(n < 200) {
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,formatC(signif(x[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(x[i]-mysum$resid[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$resid[i],6),format='g',flag=' '))
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,formatC(signif(gqarr[mypoint-kp3+1,1],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,2],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,3],6),format='g',flag=' '))
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,signif(numsignificant1,6))
a<-table.element(a,formatC(signif(numsignificant1/numgqtests,6),format='g',flag=' '))
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,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
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,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
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')
}
}