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 computationFri, 04 Dec 2015 12:14:49 +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/2015/Dec/04/t14492313030643yulz2jevol6.htm/, Retrieved Thu, 16 May 2024 16:01:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=285100, Retrieved Thu, 16 May 2024 16:01:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact65
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple Regressi...] [2015-12-04 12:14:49] [0699448209a825438cb2d76a05e8a0a6] [Current]
Feedback Forum

Post a new message
Dataseries X:
1554	53,361	0
1994	56,628	0
1961	62,073	0
1716	62,073	0
1425	71,1295	0
1664	76,86575	0
1524	79,16025	0
1342	81,45475	0
1449	78,969	0
1622	83,755	0
1530	82,5585	0
1385	76,576	0
1117	81,609	0
1253	79,136	0
1088	86,555	0
1167	90,2645	0
1344	78,315	0
1745	82,23075	0
1559	62,652	0
1395	69,17825	0
1521	72,252	0
1890	62,886	0
1531	65,562	0
1635	58,872	0
1269	70,21425	1
1612	72,96775	1
1343	82,605	1
1634	81,22825	1
1571	84,5175	1
1881	80,22	1
1528	75,9225	1
1960	64,4625	1
1676	69,56	1
2166	68,08	1
1663	63,64	1
2067	74	1
1801	80,548	1
2347	96,038	1
1938	89,842	1
1980	103,783	1
2097	91,04325	1
2579	97,43225	1
2191	115,002	1
2449	103,82125	1
2208	101,30575	1
2353	104,62725	1
2151	106,288	1
2307	116,2525	1
1826	130,72	1
2414	123,84	1
2029	129	1
2091	120,4	1
1988	139,593	1
2484	132,246	1
2321	137,75625	1
2614	143,2665	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

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

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







Multiple Linear Regression - Estimated Regression Equation
V1[t] = + 1112.5 + 5.91638V2[t] + 349.67V3[t] -188.899Q1[t] + 173.691Q2[t] -95.9636Q3[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
V1[t] =  +  1112.5 +  5.91638V2[t] +  349.67V3[t] -188.899Q1[t] +  173.691Q2[t] -95.9636Q3[t]  + e[t] \tabularnewline
 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285100&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]V1[t] =  +  1112.5 +  5.91638V2[t] +  349.67V3[t] -188.899Q1[t] +  173.691Q2[t] -95.9636Q3[t]  + e[t][/C][/ROW]
[ROW][C][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285100&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285100&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
V1[t] = + 1112.5 + 5.91638V2[t] + 349.67V3[t] -188.899Q1[t] + 173.691Q2[t] -95.9636Q3[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)+1112 158.2+7.0320e+00 5.353e-09 2.677e-09
V2+5.916 1.823+3.2450e+00 0.002095 0.001047
V3+349.7 84.76+4.1250e+00 0.0001398 6.991e-05
Q1-188.9 99.6-1.8970e+00 0.06368 0.03184
Q2+173.7 99.52+1.7450e+00 0.08707 0.04354
Q3-95.96 99.45-9.6490e-01 0.3392 0.1696

\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) & +1112 &  158.2 & +7.0320e+00 &  5.353e-09 &  2.677e-09 \tabularnewline
V2 & +5.916 &  1.823 & +3.2450e+00 &  0.002095 &  0.001047 \tabularnewline
V3 & +349.7 &  84.76 & +4.1250e+00 &  0.0001398 &  6.991e-05 \tabularnewline
Q1 & -188.9 &  99.6 & -1.8970e+00 &  0.06368 &  0.03184 \tabularnewline
Q2 & +173.7 &  99.52 & +1.7450e+00 &  0.08707 &  0.04354 \tabularnewline
Q3 & -95.96 &  99.45 & -9.6490e-01 &  0.3392 &  0.1696 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285100&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]+1112[/C][C] 158.2[/C][C]+7.0320e+00[/C][C] 5.353e-09[/C][C] 2.677e-09[/C][/ROW]
[ROW][C]V2[/C][C]+5.916[/C][C] 1.823[/C][C]+3.2450e+00[/C][C] 0.002095[/C][C] 0.001047[/C][/ROW]
[ROW][C]V3[/C][C]+349.7[/C][C] 84.76[/C][C]+4.1250e+00[/C][C] 0.0001398[/C][C] 6.991e-05[/C][/ROW]
[ROW][C]Q1[/C][C]-188.9[/C][C] 99.6[/C][C]-1.8970e+00[/C][C] 0.06368[/C][C] 0.03184[/C][/ROW]
[ROW][C]Q2[/C][C]+173.7[/C][C] 99.52[/C][C]+1.7450e+00[/C][C] 0.08707[/C][C] 0.04354[/C][/ROW]
[ROW][C]Q3[/C][C]-95.96[/C][C] 99.45[/C][C]-9.6490e-01[/C][C] 0.3392[/C][C] 0.1696[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285100&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285100&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)+1112 158.2+7.0320e+00 5.353e-09 2.677e-09
V2+5.916 1.823+3.2450e+00 0.002095 0.001047
V3+349.7 84.76+4.1250e+00 0.0001398 6.991e-05
Q1-188.9 99.6-1.8970e+00 0.06368 0.03184
Q2+173.7 99.52+1.7450e+00 0.08707 0.04354
Q3-95.96 99.45-9.6490e-01 0.3392 0.1696







Multiple Linear Regression - Regression Statistics
Multiple R 0.7743
R-squared 0.5995
Adjusted R-squared 0.5595
F-TEST (value) 14.97
F-TEST (DF numerator)5
F-TEST (DF denominator)50
p-value 5.656e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 263.1
Sum Squared Residuals 3.462e+06

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R &  0.7743 \tabularnewline
R-squared &  0.5995 \tabularnewline
Adjusted R-squared &  0.5595 \tabularnewline
F-TEST (value) &  14.97 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 50 \tabularnewline
p-value &  5.656e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation &  263.1 \tabularnewline
Sum Squared Residuals &  3.462e+06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285100&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C] 0.7743[/C][/ROW]
[ROW][C]R-squared[/C][C] 0.5995[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C] 0.5595[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C] 14.97[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]50[/C][/ROW]
[ROW][C]p-value[/C][C] 5.656e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C] 263.1[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 3.462e+06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285100&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285100&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.7743
R-squared 0.5995
Adjusted R-squared 0.5595
F-TEST (value) 14.97
F-TEST (DF numerator)5
F-TEST (DF denominator)50
p-value 5.656e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 263.1
Sum Squared Residuals 3.462e+06







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1 1554 1239 314.7
2 1994 1621 372.8
3 1961 1384 577.2
4 1716 1480 236.3
5 1425 1344 80.57
6 1664 1741-76.96
7 1524 1485 39.12
8 1342 1594-252.4
9 1449 1391 58.19
10 1622 1782-159.7
11 1530 1505 25.02
12 1385 1566-180.6
13 1117 1406-289.4
14 1253 1754-501.4
15 1088 1529-440.6
16 1167 1647-479.5
17 1344 1387-42.94
18 1745 1773-27.7
19 1559 1387 171.8
20 1395 1522-126.8
21 1521 1351 169.9
22 1890 1658 231.8
23 1531 1404 126.6
24 1635 1461 174.2
25 1269 1689-419.7
26 1612 2068-455.6
27 1343 1855-511.9
28 1634 1943-308.7
29 1571 1773-202.3
30 1881 2110-229.5
31 1528 1815-287.4
32 1960 1844 116.4
33 1676 1685-8.815
34 2166 2039 127.4
35 1663 1743-79.73
36 2067 1900 167
37 1801 1750 51.18
38 2347 2204 142.9
39 1938 1898 40.25
40 1980 2076-96.19
41 2097 1812 285.1
42 2579 2212 366.7
43 2191 2047 144.4
44 2449 2076 372.6
45 2208 1873 335.4
46 2353 2255 98.12
47 2151 1995 156
48 2307 2150 157
49 1826 2047-220.7
50 2414 2369 45.45
51 2029 2129-100.4
52 2091 2174-83.5
53 1988 2099-111.2
54 2484 2418 65.72
55 2321 2181 139.8
56 2614 2310 304.2

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 &  1554 &  1239 &  314.7 \tabularnewline
2 &  1994 &  1621 &  372.8 \tabularnewline
3 &  1961 &  1384 &  577.2 \tabularnewline
4 &  1716 &  1480 &  236.3 \tabularnewline
5 &  1425 &  1344 &  80.57 \tabularnewline
6 &  1664 &  1741 & -76.96 \tabularnewline
7 &  1524 &  1485 &  39.12 \tabularnewline
8 &  1342 &  1594 & -252.4 \tabularnewline
9 &  1449 &  1391 &  58.19 \tabularnewline
10 &  1622 &  1782 & -159.7 \tabularnewline
11 &  1530 &  1505 &  25.02 \tabularnewline
12 &  1385 &  1566 & -180.6 \tabularnewline
13 &  1117 &  1406 & -289.4 \tabularnewline
14 &  1253 &  1754 & -501.4 \tabularnewline
15 &  1088 &  1529 & -440.6 \tabularnewline
16 &  1167 &  1647 & -479.5 \tabularnewline
17 &  1344 &  1387 & -42.94 \tabularnewline
18 &  1745 &  1773 & -27.7 \tabularnewline
19 &  1559 &  1387 &  171.8 \tabularnewline
20 &  1395 &  1522 & -126.8 \tabularnewline
21 &  1521 &  1351 &  169.9 \tabularnewline
22 &  1890 &  1658 &  231.8 \tabularnewline
23 &  1531 &  1404 &  126.6 \tabularnewline
24 &  1635 &  1461 &  174.2 \tabularnewline
25 &  1269 &  1689 & -419.7 \tabularnewline
26 &  1612 &  2068 & -455.6 \tabularnewline
27 &  1343 &  1855 & -511.9 \tabularnewline
28 &  1634 &  1943 & -308.7 \tabularnewline
29 &  1571 &  1773 & -202.3 \tabularnewline
30 &  1881 &  2110 & -229.5 \tabularnewline
31 &  1528 &  1815 & -287.4 \tabularnewline
32 &  1960 &  1844 &  116.4 \tabularnewline
33 &  1676 &  1685 & -8.815 \tabularnewline
34 &  2166 &  2039 &  127.4 \tabularnewline
35 &  1663 &  1743 & -79.73 \tabularnewline
36 &  2067 &  1900 &  167 \tabularnewline
37 &  1801 &  1750 &  51.18 \tabularnewline
38 &  2347 &  2204 &  142.9 \tabularnewline
39 &  1938 &  1898 &  40.25 \tabularnewline
40 &  1980 &  2076 & -96.19 \tabularnewline
41 &  2097 &  1812 &  285.1 \tabularnewline
42 &  2579 &  2212 &  366.7 \tabularnewline
43 &  2191 &  2047 &  144.4 \tabularnewline
44 &  2449 &  2076 &  372.6 \tabularnewline
45 &  2208 &  1873 &  335.4 \tabularnewline
46 &  2353 &  2255 &  98.12 \tabularnewline
47 &  2151 &  1995 &  156 \tabularnewline
48 &  2307 &  2150 &  157 \tabularnewline
49 &  1826 &  2047 & -220.7 \tabularnewline
50 &  2414 &  2369 &  45.45 \tabularnewline
51 &  2029 &  2129 & -100.4 \tabularnewline
52 &  2091 &  2174 & -83.5 \tabularnewline
53 &  1988 &  2099 & -111.2 \tabularnewline
54 &  2484 &  2418 &  65.72 \tabularnewline
55 &  2321 &  2181 &  139.8 \tabularnewline
56 &  2614 &  2310 &  304.2 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285100&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] 1554[/C][C] 1239[/C][C] 314.7[/C][/ROW]
[ROW][C]2[/C][C] 1994[/C][C] 1621[/C][C] 372.8[/C][/ROW]
[ROW][C]3[/C][C] 1961[/C][C] 1384[/C][C] 577.2[/C][/ROW]
[ROW][C]4[/C][C] 1716[/C][C] 1480[/C][C] 236.3[/C][/ROW]
[ROW][C]5[/C][C] 1425[/C][C] 1344[/C][C] 80.57[/C][/ROW]
[ROW][C]6[/C][C] 1664[/C][C] 1741[/C][C]-76.96[/C][/ROW]
[ROW][C]7[/C][C] 1524[/C][C] 1485[/C][C] 39.12[/C][/ROW]
[ROW][C]8[/C][C] 1342[/C][C] 1594[/C][C]-252.4[/C][/ROW]
[ROW][C]9[/C][C] 1449[/C][C] 1391[/C][C] 58.19[/C][/ROW]
[ROW][C]10[/C][C] 1622[/C][C] 1782[/C][C]-159.7[/C][/ROW]
[ROW][C]11[/C][C] 1530[/C][C] 1505[/C][C] 25.02[/C][/ROW]
[ROW][C]12[/C][C] 1385[/C][C] 1566[/C][C]-180.6[/C][/ROW]
[ROW][C]13[/C][C] 1117[/C][C] 1406[/C][C]-289.4[/C][/ROW]
[ROW][C]14[/C][C] 1253[/C][C] 1754[/C][C]-501.4[/C][/ROW]
[ROW][C]15[/C][C] 1088[/C][C] 1529[/C][C]-440.6[/C][/ROW]
[ROW][C]16[/C][C] 1167[/C][C] 1647[/C][C]-479.5[/C][/ROW]
[ROW][C]17[/C][C] 1344[/C][C] 1387[/C][C]-42.94[/C][/ROW]
[ROW][C]18[/C][C] 1745[/C][C] 1773[/C][C]-27.7[/C][/ROW]
[ROW][C]19[/C][C] 1559[/C][C] 1387[/C][C] 171.8[/C][/ROW]
[ROW][C]20[/C][C] 1395[/C][C] 1522[/C][C]-126.8[/C][/ROW]
[ROW][C]21[/C][C] 1521[/C][C] 1351[/C][C] 169.9[/C][/ROW]
[ROW][C]22[/C][C] 1890[/C][C] 1658[/C][C] 231.8[/C][/ROW]
[ROW][C]23[/C][C] 1531[/C][C] 1404[/C][C] 126.6[/C][/ROW]
[ROW][C]24[/C][C] 1635[/C][C] 1461[/C][C] 174.2[/C][/ROW]
[ROW][C]25[/C][C] 1269[/C][C] 1689[/C][C]-419.7[/C][/ROW]
[ROW][C]26[/C][C] 1612[/C][C] 2068[/C][C]-455.6[/C][/ROW]
[ROW][C]27[/C][C] 1343[/C][C] 1855[/C][C]-511.9[/C][/ROW]
[ROW][C]28[/C][C] 1634[/C][C] 1943[/C][C]-308.7[/C][/ROW]
[ROW][C]29[/C][C] 1571[/C][C] 1773[/C][C]-202.3[/C][/ROW]
[ROW][C]30[/C][C] 1881[/C][C] 2110[/C][C]-229.5[/C][/ROW]
[ROW][C]31[/C][C] 1528[/C][C] 1815[/C][C]-287.4[/C][/ROW]
[ROW][C]32[/C][C] 1960[/C][C] 1844[/C][C] 116.4[/C][/ROW]
[ROW][C]33[/C][C] 1676[/C][C] 1685[/C][C]-8.815[/C][/ROW]
[ROW][C]34[/C][C] 2166[/C][C] 2039[/C][C] 127.4[/C][/ROW]
[ROW][C]35[/C][C] 1663[/C][C] 1743[/C][C]-79.73[/C][/ROW]
[ROW][C]36[/C][C] 2067[/C][C] 1900[/C][C] 167[/C][/ROW]
[ROW][C]37[/C][C] 1801[/C][C] 1750[/C][C] 51.18[/C][/ROW]
[ROW][C]38[/C][C] 2347[/C][C] 2204[/C][C] 142.9[/C][/ROW]
[ROW][C]39[/C][C] 1938[/C][C] 1898[/C][C] 40.25[/C][/ROW]
[ROW][C]40[/C][C] 1980[/C][C] 2076[/C][C]-96.19[/C][/ROW]
[ROW][C]41[/C][C] 2097[/C][C] 1812[/C][C] 285.1[/C][/ROW]
[ROW][C]42[/C][C] 2579[/C][C] 2212[/C][C] 366.7[/C][/ROW]
[ROW][C]43[/C][C] 2191[/C][C] 2047[/C][C] 144.4[/C][/ROW]
[ROW][C]44[/C][C] 2449[/C][C] 2076[/C][C] 372.6[/C][/ROW]
[ROW][C]45[/C][C] 2208[/C][C] 1873[/C][C] 335.4[/C][/ROW]
[ROW][C]46[/C][C] 2353[/C][C] 2255[/C][C] 98.12[/C][/ROW]
[ROW][C]47[/C][C] 2151[/C][C] 1995[/C][C] 156[/C][/ROW]
[ROW][C]48[/C][C] 2307[/C][C] 2150[/C][C] 157[/C][/ROW]
[ROW][C]49[/C][C] 1826[/C][C] 2047[/C][C]-220.7[/C][/ROW]
[ROW][C]50[/C][C] 2414[/C][C] 2369[/C][C] 45.45[/C][/ROW]
[ROW][C]51[/C][C] 2029[/C][C] 2129[/C][C]-100.4[/C][/ROW]
[ROW][C]52[/C][C] 2091[/C][C] 2174[/C][C]-83.5[/C][/ROW]
[ROW][C]53[/C][C] 1988[/C][C] 2099[/C][C]-111.2[/C][/ROW]
[ROW][C]54[/C][C] 2484[/C][C] 2418[/C][C] 65.72[/C][/ROW]
[ROW][C]55[/C][C] 2321[/C][C] 2181[/C][C] 139.8[/C][/ROW]
[ROW][C]56[/C][C] 2614[/C][C] 2310[/C][C] 304.2[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285100&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285100&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 1554 1239 314.7
2 1994 1621 372.8
3 1961 1384 577.2
4 1716 1480 236.3
5 1425 1344 80.57
6 1664 1741-76.96
7 1524 1485 39.12
8 1342 1594-252.4
9 1449 1391 58.19
10 1622 1782-159.7
11 1530 1505 25.02
12 1385 1566-180.6
13 1117 1406-289.4
14 1253 1754-501.4
15 1088 1529-440.6
16 1167 1647-479.5
17 1344 1387-42.94
18 1745 1773-27.7
19 1559 1387 171.8
20 1395 1522-126.8
21 1521 1351 169.9
22 1890 1658 231.8
23 1531 1404 126.6
24 1635 1461 174.2
25 1269 1689-419.7
26 1612 2068-455.6
27 1343 1855-511.9
28 1634 1943-308.7
29 1571 1773-202.3
30 1881 2110-229.5
31 1528 1815-287.4
32 1960 1844 116.4
33 1676 1685-8.815
34 2166 2039 127.4
35 1663 1743-79.73
36 2067 1900 167
37 1801 1750 51.18
38 2347 2204 142.9
39 1938 1898 40.25
40 1980 2076-96.19
41 2097 1812 285.1
42 2579 2212 366.7
43 2191 2047 144.4
44 2449 2076 372.6
45 2208 1873 335.4
46 2353 2255 98.12
47 2151 1995 156
48 2307 2150 157
49 1826 2047-220.7
50 2414 2369 45.45
51 2029 2129-100.4
52 2091 2174-83.5
53 1988 2099-111.2
54 2484 2418 65.72
55 2321 2181 139.8
56 2614 2310 304.2







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
9 0.1806 0.3611 0.8194
10 0.07892 0.1578 0.9211
11 0.03293 0.06587 0.9671
12 0.01425 0.0285 0.9858
13 0.01098 0.02196 0.989
14 0.08796 0.1759 0.912
15 0.1862 0.3724 0.8138
16 0.1992 0.3984 0.8008
17 0.1451 0.2903 0.8549
18 0.1655 0.3309 0.8345
19 0.1561 0.3122 0.8439
20 0.1488 0.2977 0.8512
21 0.1133 0.2267 0.8867
22 0.07492 0.1498 0.9251
23 0.05598 0.112 0.944
24 0.03463 0.06927 0.9654
25 0.03015 0.0603 0.9699
26 0.04072 0.08145 0.9593
27 0.06397 0.1279 0.936
28 0.1969 0.3938 0.8031
29 0.2884 0.5768 0.7116
30 0.3972 0.7945 0.6028
31 0.4708 0.9415 0.5292
32 0.4593 0.9185 0.5407
33 0.4023 0.8045 0.5977
34 0.3814 0.7628 0.6186
35 0.4088 0.8176 0.5912
36 0.4777 0.9554 0.5223
37 0.4959 0.9919 0.5041
38 0.6745 0.6509 0.3255
39 0.6923 0.6153 0.3077
40 0.8456 0.3087 0.1544
41 0.8349 0.3301 0.1651
42 0.8527 0.2947 0.1473
43 0.801 0.3979 0.199
44 0.77 0.46 0.23
45 0.9091 0.1819 0.09093
46 0.8335 0.333 0.1665
47 0.8752 0.2497 0.1248

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 &  0.1806 &  0.3611 &  0.8194 \tabularnewline
10 &  0.07892 &  0.1578 &  0.9211 \tabularnewline
11 &  0.03293 &  0.06587 &  0.9671 \tabularnewline
12 &  0.01425 &  0.0285 &  0.9858 \tabularnewline
13 &  0.01098 &  0.02196 &  0.989 \tabularnewline
14 &  0.08796 &  0.1759 &  0.912 \tabularnewline
15 &  0.1862 &  0.3724 &  0.8138 \tabularnewline
16 &  0.1992 &  0.3984 &  0.8008 \tabularnewline
17 &  0.1451 &  0.2903 &  0.8549 \tabularnewline
18 &  0.1655 &  0.3309 &  0.8345 \tabularnewline
19 &  0.1561 &  0.3122 &  0.8439 \tabularnewline
20 &  0.1488 &  0.2977 &  0.8512 \tabularnewline
21 &  0.1133 &  0.2267 &  0.8867 \tabularnewline
22 &  0.07492 &  0.1498 &  0.9251 \tabularnewline
23 &  0.05598 &  0.112 &  0.944 \tabularnewline
24 &  0.03463 &  0.06927 &  0.9654 \tabularnewline
25 &  0.03015 &  0.0603 &  0.9699 \tabularnewline
26 &  0.04072 &  0.08145 &  0.9593 \tabularnewline
27 &  0.06397 &  0.1279 &  0.936 \tabularnewline
28 &  0.1969 &  0.3938 &  0.8031 \tabularnewline
29 &  0.2884 &  0.5768 &  0.7116 \tabularnewline
30 &  0.3972 &  0.7945 &  0.6028 \tabularnewline
31 &  0.4708 &  0.9415 &  0.5292 \tabularnewline
32 &  0.4593 &  0.9185 &  0.5407 \tabularnewline
33 &  0.4023 &  0.8045 &  0.5977 \tabularnewline
34 &  0.3814 &  0.7628 &  0.6186 \tabularnewline
35 &  0.4088 &  0.8176 &  0.5912 \tabularnewline
36 &  0.4777 &  0.9554 &  0.5223 \tabularnewline
37 &  0.4959 &  0.9919 &  0.5041 \tabularnewline
38 &  0.6745 &  0.6509 &  0.3255 \tabularnewline
39 &  0.6923 &  0.6153 &  0.3077 \tabularnewline
40 &  0.8456 &  0.3087 &  0.1544 \tabularnewline
41 &  0.8349 &  0.3301 &  0.1651 \tabularnewline
42 &  0.8527 &  0.2947 &  0.1473 \tabularnewline
43 &  0.801 &  0.3979 &  0.199 \tabularnewline
44 &  0.77 &  0.46 &  0.23 \tabularnewline
45 &  0.9091 &  0.1819 &  0.09093 \tabularnewline
46 &  0.8335 &  0.333 &  0.1665 \tabularnewline
47 &  0.8752 &  0.2497 &  0.1248 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285100&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]9[/C][C] 0.1806[/C][C] 0.3611[/C][C] 0.8194[/C][/ROW]
[ROW][C]10[/C][C] 0.07892[/C][C] 0.1578[/C][C] 0.9211[/C][/ROW]
[ROW][C]11[/C][C] 0.03293[/C][C] 0.06587[/C][C] 0.9671[/C][/ROW]
[ROW][C]12[/C][C] 0.01425[/C][C] 0.0285[/C][C] 0.9858[/C][/ROW]
[ROW][C]13[/C][C] 0.01098[/C][C] 0.02196[/C][C] 0.989[/C][/ROW]
[ROW][C]14[/C][C] 0.08796[/C][C] 0.1759[/C][C] 0.912[/C][/ROW]
[ROW][C]15[/C][C] 0.1862[/C][C] 0.3724[/C][C] 0.8138[/C][/ROW]
[ROW][C]16[/C][C] 0.1992[/C][C] 0.3984[/C][C] 0.8008[/C][/ROW]
[ROW][C]17[/C][C] 0.1451[/C][C] 0.2903[/C][C] 0.8549[/C][/ROW]
[ROW][C]18[/C][C] 0.1655[/C][C] 0.3309[/C][C] 0.8345[/C][/ROW]
[ROW][C]19[/C][C] 0.1561[/C][C] 0.3122[/C][C] 0.8439[/C][/ROW]
[ROW][C]20[/C][C] 0.1488[/C][C] 0.2977[/C][C] 0.8512[/C][/ROW]
[ROW][C]21[/C][C] 0.1133[/C][C] 0.2267[/C][C] 0.8867[/C][/ROW]
[ROW][C]22[/C][C] 0.07492[/C][C] 0.1498[/C][C] 0.9251[/C][/ROW]
[ROW][C]23[/C][C] 0.05598[/C][C] 0.112[/C][C] 0.944[/C][/ROW]
[ROW][C]24[/C][C] 0.03463[/C][C] 0.06927[/C][C] 0.9654[/C][/ROW]
[ROW][C]25[/C][C] 0.03015[/C][C] 0.0603[/C][C] 0.9699[/C][/ROW]
[ROW][C]26[/C][C] 0.04072[/C][C] 0.08145[/C][C] 0.9593[/C][/ROW]
[ROW][C]27[/C][C] 0.06397[/C][C] 0.1279[/C][C] 0.936[/C][/ROW]
[ROW][C]28[/C][C] 0.1969[/C][C] 0.3938[/C][C] 0.8031[/C][/ROW]
[ROW][C]29[/C][C] 0.2884[/C][C] 0.5768[/C][C] 0.7116[/C][/ROW]
[ROW][C]30[/C][C] 0.3972[/C][C] 0.7945[/C][C] 0.6028[/C][/ROW]
[ROW][C]31[/C][C] 0.4708[/C][C] 0.9415[/C][C] 0.5292[/C][/ROW]
[ROW][C]32[/C][C] 0.4593[/C][C] 0.9185[/C][C] 0.5407[/C][/ROW]
[ROW][C]33[/C][C] 0.4023[/C][C] 0.8045[/C][C] 0.5977[/C][/ROW]
[ROW][C]34[/C][C] 0.3814[/C][C] 0.7628[/C][C] 0.6186[/C][/ROW]
[ROW][C]35[/C][C] 0.4088[/C][C] 0.8176[/C][C] 0.5912[/C][/ROW]
[ROW][C]36[/C][C] 0.4777[/C][C] 0.9554[/C][C] 0.5223[/C][/ROW]
[ROW][C]37[/C][C] 0.4959[/C][C] 0.9919[/C][C] 0.5041[/C][/ROW]
[ROW][C]38[/C][C] 0.6745[/C][C] 0.6509[/C][C] 0.3255[/C][/ROW]
[ROW][C]39[/C][C] 0.6923[/C][C] 0.6153[/C][C] 0.3077[/C][/ROW]
[ROW][C]40[/C][C] 0.8456[/C][C] 0.3087[/C][C] 0.1544[/C][/ROW]
[ROW][C]41[/C][C] 0.8349[/C][C] 0.3301[/C][C] 0.1651[/C][/ROW]
[ROW][C]42[/C][C] 0.8527[/C][C] 0.2947[/C][C] 0.1473[/C][/ROW]
[ROW][C]43[/C][C] 0.801[/C][C] 0.3979[/C][C] 0.199[/C][/ROW]
[ROW][C]44[/C][C] 0.77[/C][C] 0.46[/C][C] 0.23[/C][/ROW]
[ROW][C]45[/C][C] 0.9091[/C][C] 0.1819[/C][C] 0.09093[/C][/ROW]
[ROW][C]46[/C][C] 0.8335[/C][C] 0.333[/C][C] 0.1665[/C][/ROW]
[ROW][C]47[/C][C] 0.8752[/C][C] 0.2497[/C][C] 0.1248[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285100&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285100&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
9 0.1806 0.3611 0.8194
10 0.07892 0.1578 0.9211
11 0.03293 0.06587 0.9671
12 0.01425 0.0285 0.9858
13 0.01098 0.02196 0.989
14 0.08796 0.1759 0.912
15 0.1862 0.3724 0.8138
16 0.1992 0.3984 0.8008
17 0.1451 0.2903 0.8549
18 0.1655 0.3309 0.8345
19 0.1561 0.3122 0.8439
20 0.1488 0.2977 0.8512
21 0.1133 0.2267 0.8867
22 0.07492 0.1498 0.9251
23 0.05598 0.112 0.944
24 0.03463 0.06927 0.9654
25 0.03015 0.0603 0.9699
26 0.04072 0.08145 0.9593
27 0.06397 0.1279 0.936
28 0.1969 0.3938 0.8031
29 0.2884 0.5768 0.7116
30 0.3972 0.7945 0.6028
31 0.4708 0.9415 0.5292
32 0.4593 0.9185 0.5407
33 0.4023 0.8045 0.5977
34 0.3814 0.7628 0.6186
35 0.4088 0.8176 0.5912
36 0.4777 0.9554 0.5223
37 0.4959 0.9919 0.5041
38 0.6745 0.6509 0.3255
39 0.6923 0.6153 0.3077
40 0.8456 0.3087 0.1544
41 0.8349 0.3301 0.1651
42 0.8527 0.2947 0.1473
43 0.801 0.3979 0.199
44 0.77 0.46 0.23
45 0.9091 0.1819 0.09093
46 0.8335 0.333 0.1665
47 0.8752 0.2497 0.1248







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level0 0OK
5% type I error level20.0512821NOK
10% type I error level60.153846NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285100&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 level0 0OK
5% type I error level20.0512821NOK
10% type I error level60.153846NOK



Parameters (Session):
par1 = 1 ; par2 = Include Quarterly Dummies ; par3 = No Linear Trend ; par4 = 0 ; par5 = 0 ;
Parameters (R input):
par1 = 1 ; par2 = Include Quarterly Dummies ; par3 = No Linear Trend ; par4 = 0 ; par5 = 0 ;
R code (references can be found in the software module):
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'){
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(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 (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+par4,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1+par4,])
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')
}
}