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 computationSun, 07 Dec 2008 09:58:36 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/07/t1228669197x7fgudqzaw7sejp.htm/, Retrieved Sun, 19 May 2024 12:18:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=30168, Retrieved Sun, 19 May 2024 12:18:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact188
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Paper - Multiple ...] [2008-12-05 17:15:56] [fce9014b1ad8484790f3b34d6ba09f7b]
-   P     [Multiple Regression] [Paper - Multiple ...] [2008-12-07 16:58:36] [7957bb37a64ed417bbed8444b0b0ea8a] [Current]
Feedback Forum

Post a new message
Dataseries X:
34	0
39	0
40	0
45	0
43	0
42	0
49	0
43	0
50	0
44	0
40	0
41	0
45	0
45	0
48	0
54	0
47	0
35	0
28	0
28	0
34	0
23	0
33	0
38	0
41	0
47	0
46	0
45	0
47	0
49	0
50	0
56	0
50	0
56	0
58	0
59	0
51	0
59	0
60	0
60	0
68	0
62	0
62	0
58	0
56	0
50	0
52	0
36	0
33	0
26	0
28	0
27	0
20	0
16	0
11	0
0	1
3	1
10	1
0	1
3	1




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30168&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30168&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30168&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

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







Multiple Linear Regression - Estimated Regression Equation
Eco[t] = + 43.81 -42.05Val[t] -3.01000000000002M1[t] -0.610000000000004M2[t] + 0.589999999999997M3[t] + 2.39M4[t] + 1.19000000000000M5[t] -3.01000000000000M6[t] -3.81M7[t] + 1.60000000000000M8[t] + 3.2M9[t] + 1.20000000000000M10[t] + 1.20000000000000M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Eco[t] =  +  43.81 -42.05Val[t] -3.01000000000002M1[t] -0.610000000000004M2[t] +  0.589999999999997M3[t] +  2.39M4[t] +  1.19000000000000M5[t] -3.01000000000000M6[t] -3.81M7[t] +  1.60000000000000M8[t] +  3.2M9[t] +  1.20000000000000M10[t] +  1.20000000000000M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30168&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Eco[t] =  +  43.81 -42.05Val[t] -3.01000000000002M1[t] -0.610000000000004M2[t] +  0.589999999999997M3[t] +  2.39M4[t] +  1.19000000000000M5[t] -3.01000000000000M6[t] -3.81M7[t] +  1.60000000000000M8[t] +  3.2M9[t] +  1.20000000000000M10[t] +  1.20000000000000M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30168&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30168&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
Eco[t] = + 43.81 -42.05Val[t] -3.01000000000002M1[t] -0.610000000000004M2[t] + 0.589999999999997M3[t] + 2.39M4[t] + 1.19000000000000M5[t] -3.01000000000000M6[t] -3.81M7[t] + 1.60000000000000M8[t] + 3.2M9[t] + 1.20000000000000M10[t] + 1.20000000000000M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)43.816.0663747.221800
Val-42.056.618956-6.35300
M1-3.010000000000028.4764-0.35510.7241010.36205
M2-0.6100000000000048.4764-0.0720.9429360.471468
M30.5899999999999978.47640.06960.9448030.472402
M42.398.47640.2820.7792130.389606
M51.190000000000008.47640.14040.8889520.444476
M6-3.010000000000008.4764-0.35510.7241010.36205
M7-3.818.4764-0.44950.6551490.327575
M81.600000000000008.3723910.19110.8492670.424634
M93.28.3723910.38220.7040290.352015
M101.200000000000008.3723910.14330.8866440.443322
M111.200000000000008.3723910.14330.8866440.443322

\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) & 43.81 & 6.066374 & 7.2218 & 0 & 0 \tabularnewline
Val & -42.05 & 6.618956 & -6.353 & 0 & 0 \tabularnewline
M1 & -3.01000000000002 & 8.4764 & -0.3551 & 0.724101 & 0.36205 \tabularnewline
M2 & -0.610000000000004 & 8.4764 & -0.072 & 0.942936 & 0.471468 \tabularnewline
M3 & 0.589999999999997 & 8.4764 & 0.0696 & 0.944803 & 0.472402 \tabularnewline
M4 & 2.39 & 8.4764 & 0.282 & 0.779213 & 0.389606 \tabularnewline
M5 & 1.19000000000000 & 8.4764 & 0.1404 & 0.888952 & 0.444476 \tabularnewline
M6 & -3.01000000000000 & 8.4764 & -0.3551 & 0.724101 & 0.36205 \tabularnewline
M7 & -3.81 & 8.4764 & -0.4495 & 0.655149 & 0.327575 \tabularnewline
M8 & 1.60000000000000 & 8.372391 & 0.1911 & 0.849267 & 0.424634 \tabularnewline
M9 & 3.2 & 8.372391 & 0.3822 & 0.704029 & 0.352015 \tabularnewline
M10 & 1.20000000000000 & 8.372391 & 0.1433 & 0.886644 & 0.443322 \tabularnewline
M11 & 1.20000000000000 & 8.372391 & 0.1433 & 0.886644 & 0.443322 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30168&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]43.81[/C][C]6.066374[/C][C]7.2218[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Val[/C][C]-42.05[/C][C]6.618956[/C][C]-6.353[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-3.01000000000002[/C][C]8.4764[/C][C]-0.3551[/C][C]0.724101[/C][C]0.36205[/C][/ROW]
[ROW][C]M2[/C][C]-0.610000000000004[/C][C]8.4764[/C][C]-0.072[/C][C]0.942936[/C][C]0.471468[/C][/ROW]
[ROW][C]M3[/C][C]0.589999999999997[/C][C]8.4764[/C][C]0.0696[/C][C]0.944803[/C][C]0.472402[/C][/ROW]
[ROW][C]M4[/C][C]2.39[/C][C]8.4764[/C][C]0.282[/C][C]0.779213[/C][C]0.389606[/C][/ROW]
[ROW][C]M5[/C][C]1.19000000000000[/C][C]8.4764[/C][C]0.1404[/C][C]0.888952[/C][C]0.444476[/C][/ROW]
[ROW][C]M6[/C][C]-3.01000000000000[/C][C]8.4764[/C][C]-0.3551[/C][C]0.724101[/C][C]0.36205[/C][/ROW]
[ROW][C]M7[/C][C]-3.81[/C][C]8.4764[/C][C]-0.4495[/C][C]0.655149[/C][C]0.327575[/C][/ROW]
[ROW][C]M8[/C][C]1.60000000000000[/C][C]8.372391[/C][C]0.1911[/C][C]0.849267[/C][C]0.424634[/C][/ROW]
[ROW][C]M9[/C][C]3.2[/C][C]8.372391[/C][C]0.3822[/C][C]0.704029[/C][C]0.352015[/C][/ROW]
[ROW][C]M10[/C][C]1.20000000000000[/C][C]8.372391[/C][C]0.1433[/C][C]0.886644[/C][C]0.443322[/C][/ROW]
[ROW][C]M11[/C][C]1.20000000000000[/C][C]8.372391[/C][C]0.1433[/C][C]0.886644[/C][C]0.443322[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30168&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30168&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)43.816.0663747.221800
Val-42.056.618956-6.35300
M1-3.010000000000028.4764-0.35510.7241010.36205
M2-0.6100000000000048.4764-0.0720.9429360.471468
M30.5899999999999978.47640.06960.9448030.472402
M42.398.47640.2820.7792130.389606
M51.190000000000008.47640.14040.8889520.444476
M6-3.010000000000008.4764-0.35510.7241010.36205
M7-3.818.4764-0.44950.6551490.327575
M81.600000000000008.3723910.19110.8492670.424634
M93.28.3723910.38220.7040290.352015
M101.200000000000008.3723910.14330.8866440.443322
M111.200000000000008.3723910.14330.8866440.443322







Multiple Linear Regression - Regression Statistics
Multiple R0.697689896852639
R-squared0.486771192170246
Adjusted R-squared0.355734049745627
F-TEST (value)3.71475738224581
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.000577624608246063
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.2379129935776
Sum Squared Residuals8236.39

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.697689896852639 \tabularnewline
R-squared & 0.486771192170246 \tabularnewline
Adjusted R-squared & 0.355734049745627 \tabularnewline
F-TEST (value) & 3.71475738224581 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.000577624608246063 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 13.2379129935776 \tabularnewline
Sum Squared Residuals & 8236.39 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30168&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.697689896852639[/C][/ROW]
[ROW][C]R-squared[/C][C]0.486771192170246[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.355734049745627[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.71475738224581[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.000577624608246063[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]13.2379129935776[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8236.39[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30168&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30168&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.697689896852639
R-squared0.486771192170246
Adjusted R-squared0.355734049745627
F-TEST (value)3.71475738224581
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.000577624608246063
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.2379129935776
Sum Squared Residuals8236.39







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13440.8000000000001-6.80000000000007
23943.2-4.2
34044.4-4.4
44546.2-1.20000000000000
54345-1.99999999999999
64240.81.20000000000000
749409
84345.41-2.41
95047.012.98999999999999
104445.01-1.01000000000000
114045.01-5.01
124143.81-2.81
134540.84.20000000000001
144543.21.8
154844.43.6
165446.27.8
1747452.00000000000000
183540.8-5.8
192840-12
202845.41-17.41
213447.01-13.01
222345.01-22.01
233345.01-12.01
243843.81-5.81
254140.80.200000000000013
264743.23.8
274644.41.60000000000000
284546.2-1.20000000000000
2947452.00000000000000
304940.88.2
31504010
325645.4110.59
335047.012.99
345645.0110.99
355845.0112.99
365943.8115.19
375140.810.2000000000000
385943.215.8
396044.415.6
406046.213.8
41684523
426240.821.2
43624022
445845.4112.59
455647.018.99
465045.014.99
475245.016.99
483643.81-7.81
493340.8-7.79999999999999
502643.2-17.2
512844.4-16.4
522746.2-19.2
532045-25
541640.8-24.8
551140-29
5603.36-3.36
5734.96-1.96
58102.967.04
5902.96-2.96
6031.760000000000001.24000000000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 34 & 40.8000000000001 & -6.80000000000007 \tabularnewline
2 & 39 & 43.2 & -4.2 \tabularnewline
3 & 40 & 44.4 & -4.4 \tabularnewline
4 & 45 & 46.2 & -1.20000000000000 \tabularnewline
5 & 43 & 45 & -1.99999999999999 \tabularnewline
6 & 42 & 40.8 & 1.20000000000000 \tabularnewline
7 & 49 & 40 & 9 \tabularnewline
8 & 43 & 45.41 & -2.41 \tabularnewline
9 & 50 & 47.01 & 2.98999999999999 \tabularnewline
10 & 44 & 45.01 & -1.01000000000000 \tabularnewline
11 & 40 & 45.01 & -5.01 \tabularnewline
12 & 41 & 43.81 & -2.81 \tabularnewline
13 & 45 & 40.8 & 4.20000000000001 \tabularnewline
14 & 45 & 43.2 & 1.8 \tabularnewline
15 & 48 & 44.4 & 3.6 \tabularnewline
16 & 54 & 46.2 & 7.8 \tabularnewline
17 & 47 & 45 & 2.00000000000000 \tabularnewline
18 & 35 & 40.8 & -5.8 \tabularnewline
19 & 28 & 40 & -12 \tabularnewline
20 & 28 & 45.41 & -17.41 \tabularnewline
21 & 34 & 47.01 & -13.01 \tabularnewline
22 & 23 & 45.01 & -22.01 \tabularnewline
23 & 33 & 45.01 & -12.01 \tabularnewline
24 & 38 & 43.81 & -5.81 \tabularnewline
25 & 41 & 40.8 & 0.200000000000013 \tabularnewline
26 & 47 & 43.2 & 3.8 \tabularnewline
27 & 46 & 44.4 & 1.60000000000000 \tabularnewline
28 & 45 & 46.2 & -1.20000000000000 \tabularnewline
29 & 47 & 45 & 2.00000000000000 \tabularnewline
30 & 49 & 40.8 & 8.2 \tabularnewline
31 & 50 & 40 & 10 \tabularnewline
32 & 56 & 45.41 & 10.59 \tabularnewline
33 & 50 & 47.01 & 2.99 \tabularnewline
34 & 56 & 45.01 & 10.99 \tabularnewline
35 & 58 & 45.01 & 12.99 \tabularnewline
36 & 59 & 43.81 & 15.19 \tabularnewline
37 & 51 & 40.8 & 10.2000000000000 \tabularnewline
38 & 59 & 43.2 & 15.8 \tabularnewline
39 & 60 & 44.4 & 15.6 \tabularnewline
40 & 60 & 46.2 & 13.8 \tabularnewline
41 & 68 & 45 & 23 \tabularnewline
42 & 62 & 40.8 & 21.2 \tabularnewline
43 & 62 & 40 & 22 \tabularnewline
44 & 58 & 45.41 & 12.59 \tabularnewline
45 & 56 & 47.01 & 8.99 \tabularnewline
46 & 50 & 45.01 & 4.99 \tabularnewline
47 & 52 & 45.01 & 6.99 \tabularnewline
48 & 36 & 43.81 & -7.81 \tabularnewline
49 & 33 & 40.8 & -7.79999999999999 \tabularnewline
50 & 26 & 43.2 & -17.2 \tabularnewline
51 & 28 & 44.4 & -16.4 \tabularnewline
52 & 27 & 46.2 & -19.2 \tabularnewline
53 & 20 & 45 & -25 \tabularnewline
54 & 16 & 40.8 & -24.8 \tabularnewline
55 & 11 & 40 & -29 \tabularnewline
56 & 0 & 3.36 & -3.36 \tabularnewline
57 & 3 & 4.96 & -1.96 \tabularnewline
58 & 10 & 2.96 & 7.04 \tabularnewline
59 & 0 & 2.96 & -2.96 \tabularnewline
60 & 3 & 1.76000000000000 & 1.24000000000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30168&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]34[/C][C]40.8000000000001[/C][C]-6.80000000000007[/C][/ROW]
[ROW][C]2[/C][C]39[/C][C]43.2[/C][C]-4.2[/C][/ROW]
[ROW][C]3[/C][C]40[/C][C]44.4[/C][C]-4.4[/C][/ROW]
[ROW][C]4[/C][C]45[/C][C]46.2[/C][C]-1.20000000000000[/C][/ROW]
[ROW][C]5[/C][C]43[/C][C]45[/C][C]-1.99999999999999[/C][/ROW]
[ROW][C]6[/C][C]42[/C][C]40.8[/C][C]1.20000000000000[/C][/ROW]
[ROW][C]7[/C][C]49[/C][C]40[/C][C]9[/C][/ROW]
[ROW][C]8[/C][C]43[/C][C]45.41[/C][C]-2.41[/C][/ROW]
[ROW][C]9[/C][C]50[/C][C]47.01[/C][C]2.98999999999999[/C][/ROW]
[ROW][C]10[/C][C]44[/C][C]45.01[/C][C]-1.01000000000000[/C][/ROW]
[ROW][C]11[/C][C]40[/C][C]45.01[/C][C]-5.01[/C][/ROW]
[ROW][C]12[/C][C]41[/C][C]43.81[/C][C]-2.81[/C][/ROW]
[ROW][C]13[/C][C]45[/C][C]40.8[/C][C]4.20000000000001[/C][/ROW]
[ROW][C]14[/C][C]45[/C][C]43.2[/C][C]1.8[/C][/ROW]
[ROW][C]15[/C][C]48[/C][C]44.4[/C][C]3.6[/C][/ROW]
[ROW][C]16[/C][C]54[/C][C]46.2[/C][C]7.8[/C][/ROW]
[ROW][C]17[/C][C]47[/C][C]45[/C][C]2.00000000000000[/C][/ROW]
[ROW][C]18[/C][C]35[/C][C]40.8[/C][C]-5.8[/C][/ROW]
[ROW][C]19[/C][C]28[/C][C]40[/C][C]-12[/C][/ROW]
[ROW][C]20[/C][C]28[/C][C]45.41[/C][C]-17.41[/C][/ROW]
[ROW][C]21[/C][C]34[/C][C]47.01[/C][C]-13.01[/C][/ROW]
[ROW][C]22[/C][C]23[/C][C]45.01[/C][C]-22.01[/C][/ROW]
[ROW][C]23[/C][C]33[/C][C]45.01[/C][C]-12.01[/C][/ROW]
[ROW][C]24[/C][C]38[/C][C]43.81[/C][C]-5.81[/C][/ROW]
[ROW][C]25[/C][C]41[/C][C]40.8[/C][C]0.200000000000013[/C][/ROW]
[ROW][C]26[/C][C]47[/C][C]43.2[/C][C]3.8[/C][/ROW]
[ROW][C]27[/C][C]46[/C][C]44.4[/C][C]1.60000000000000[/C][/ROW]
[ROW][C]28[/C][C]45[/C][C]46.2[/C][C]-1.20000000000000[/C][/ROW]
[ROW][C]29[/C][C]47[/C][C]45[/C][C]2.00000000000000[/C][/ROW]
[ROW][C]30[/C][C]49[/C][C]40.8[/C][C]8.2[/C][/ROW]
[ROW][C]31[/C][C]50[/C][C]40[/C][C]10[/C][/ROW]
[ROW][C]32[/C][C]56[/C][C]45.41[/C][C]10.59[/C][/ROW]
[ROW][C]33[/C][C]50[/C][C]47.01[/C][C]2.99[/C][/ROW]
[ROW][C]34[/C][C]56[/C][C]45.01[/C][C]10.99[/C][/ROW]
[ROW][C]35[/C][C]58[/C][C]45.01[/C][C]12.99[/C][/ROW]
[ROW][C]36[/C][C]59[/C][C]43.81[/C][C]15.19[/C][/ROW]
[ROW][C]37[/C][C]51[/C][C]40.8[/C][C]10.2000000000000[/C][/ROW]
[ROW][C]38[/C][C]59[/C][C]43.2[/C][C]15.8[/C][/ROW]
[ROW][C]39[/C][C]60[/C][C]44.4[/C][C]15.6[/C][/ROW]
[ROW][C]40[/C][C]60[/C][C]46.2[/C][C]13.8[/C][/ROW]
[ROW][C]41[/C][C]68[/C][C]45[/C][C]23[/C][/ROW]
[ROW][C]42[/C][C]62[/C][C]40.8[/C][C]21.2[/C][/ROW]
[ROW][C]43[/C][C]62[/C][C]40[/C][C]22[/C][/ROW]
[ROW][C]44[/C][C]58[/C][C]45.41[/C][C]12.59[/C][/ROW]
[ROW][C]45[/C][C]56[/C][C]47.01[/C][C]8.99[/C][/ROW]
[ROW][C]46[/C][C]50[/C][C]45.01[/C][C]4.99[/C][/ROW]
[ROW][C]47[/C][C]52[/C][C]45.01[/C][C]6.99[/C][/ROW]
[ROW][C]48[/C][C]36[/C][C]43.81[/C][C]-7.81[/C][/ROW]
[ROW][C]49[/C][C]33[/C][C]40.8[/C][C]-7.79999999999999[/C][/ROW]
[ROW][C]50[/C][C]26[/C][C]43.2[/C][C]-17.2[/C][/ROW]
[ROW][C]51[/C][C]28[/C][C]44.4[/C][C]-16.4[/C][/ROW]
[ROW][C]52[/C][C]27[/C][C]46.2[/C][C]-19.2[/C][/ROW]
[ROW][C]53[/C][C]20[/C][C]45[/C][C]-25[/C][/ROW]
[ROW][C]54[/C][C]16[/C][C]40.8[/C][C]-24.8[/C][/ROW]
[ROW][C]55[/C][C]11[/C][C]40[/C][C]-29[/C][/ROW]
[ROW][C]56[/C][C]0[/C][C]3.36[/C][C]-3.36[/C][/ROW]
[ROW][C]57[/C][C]3[/C][C]4.96[/C][C]-1.96[/C][/ROW]
[ROW][C]58[/C][C]10[/C][C]2.96[/C][C]7.04[/C][/ROW]
[ROW][C]59[/C][C]0[/C][C]2.96[/C][C]-2.96[/C][/ROW]
[ROW][C]60[/C][C]3[/C][C]1.76000000000000[/C][C]1.24000000000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30168&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30168&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
13440.8000000000001-6.80000000000007
23943.2-4.2
34044.4-4.4
44546.2-1.20000000000000
54345-1.99999999999999
64240.81.20000000000000
749409
84345.41-2.41
95047.012.98999999999999
104445.01-1.01000000000000
114045.01-5.01
124143.81-2.81
134540.84.20000000000001
144543.21.8
154844.43.6
165446.27.8
1747452.00000000000000
183540.8-5.8
192840-12
202845.41-17.41
213447.01-13.01
222345.01-22.01
233345.01-12.01
243843.81-5.81
254140.80.200000000000013
264743.23.8
274644.41.60000000000000
284546.2-1.20000000000000
2947452.00000000000000
304940.88.2
31504010
325645.4110.59
335047.012.99
345645.0110.99
355845.0112.99
365943.8115.19
375140.810.2000000000000
385943.215.8
396044.415.6
406046.213.8
41684523
426240.821.2
43624022
445845.4112.59
455647.018.99
465045.014.99
475245.016.99
483643.81-7.81
493340.8-7.79999999999999
502643.2-17.2
512844.4-16.4
522746.2-19.2
532045-25
541640.8-24.8
551140-29
5603.36-3.36
5734.96-1.96
58102.967.04
5902.96-2.96
6031.760000000000001.24000000000000







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.1032632192063320.2065264384126640.896736780793668
170.03919528447113210.07839056894226420.960804715528868
180.01737779995430640.03475559990861280.982622200045694
190.04264697591788090.08529395183576170.957353024082119
200.04156296652543650.0831259330508730.958437033474564
210.03997319806607260.07994639613214520.960026801933927
220.06708222609254740.1341644521850950.932917773907453
230.04585737098268820.09171474196537640.954142629017312
240.02568697250908150.05137394501816310.974313027490918
250.012783290024360.025566580048720.98721670997564
260.006561415164159010.01312283032831800.99343858483584
270.002971060741215580.005942121482431150.997028939258784
280.001358999920774940.002717999841549880.998641000079225
290.0005578950598968820.001115790119793760.999442104940103
300.0003696378306311210.0007392756612622430.999630362169369
310.0002790645350643070.0005581290701286140.999720935464936
320.0004920467829696750.000984093565939350.99950795321703
330.0002422006948615940.0004844013897231890.999757799305138
340.0004194697987310290.0008389395974620570.999580530201269
350.0005406337600511760.001081267520102350.999459366239949
360.0005988337552996870.001197667510599370.9994011662447
370.0003893855215139020.0007787710430278040.999610614478486
380.0005481889166536240.001096377833307250.999451811083346
390.0007587506148661960.001517501229732390.999241249385134
400.0009824119248982380.001964823849796480.999017588075102
410.007774419063565160.01554883812713030.992225580936435
420.05480273265527750.1096054653105550.945197267344723
430.7944147512212140.4111704975575720.205585248778786
440.7810935688718580.4378128622562830.218906431128142

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.103263219206332 & 0.206526438412664 & 0.896736780793668 \tabularnewline
17 & 0.0391952844711321 & 0.0783905689422642 & 0.960804715528868 \tabularnewline
18 & 0.0173777999543064 & 0.0347555999086128 & 0.982622200045694 \tabularnewline
19 & 0.0426469759178809 & 0.0852939518357617 & 0.957353024082119 \tabularnewline
20 & 0.0415629665254365 & 0.083125933050873 & 0.958437033474564 \tabularnewline
21 & 0.0399731980660726 & 0.0799463961321452 & 0.960026801933927 \tabularnewline
22 & 0.0670822260925474 & 0.134164452185095 & 0.932917773907453 \tabularnewline
23 & 0.0458573709826882 & 0.0917147419653764 & 0.954142629017312 \tabularnewline
24 & 0.0256869725090815 & 0.0513739450181631 & 0.974313027490918 \tabularnewline
25 & 0.01278329002436 & 0.02556658004872 & 0.98721670997564 \tabularnewline
26 & 0.00656141516415901 & 0.0131228303283180 & 0.99343858483584 \tabularnewline
27 & 0.00297106074121558 & 0.00594212148243115 & 0.997028939258784 \tabularnewline
28 & 0.00135899992077494 & 0.00271799984154988 & 0.998641000079225 \tabularnewline
29 & 0.000557895059896882 & 0.00111579011979376 & 0.999442104940103 \tabularnewline
30 & 0.000369637830631121 & 0.000739275661262243 & 0.999630362169369 \tabularnewline
31 & 0.000279064535064307 & 0.000558129070128614 & 0.999720935464936 \tabularnewline
32 & 0.000492046782969675 & 0.00098409356593935 & 0.99950795321703 \tabularnewline
33 & 0.000242200694861594 & 0.000484401389723189 & 0.999757799305138 \tabularnewline
34 & 0.000419469798731029 & 0.000838939597462057 & 0.999580530201269 \tabularnewline
35 & 0.000540633760051176 & 0.00108126752010235 & 0.999459366239949 \tabularnewline
36 & 0.000598833755299687 & 0.00119766751059937 & 0.9994011662447 \tabularnewline
37 & 0.000389385521513902 & 0.000778771043027804 & 0.999610614478486 \tabularnewline
38 & 0.000548188916653624 & 0.00109637783330725 & 0.999451811083346 \tabularnewline
39 & 0.000758750614866196 & 0.00151750122973239 & 0.999241249385134 \tabularnewline
40 & 0.000982411924898238 & 0.00196482384979648 & 0.999017588075102 \tabularnewline
41 & 0.00777441906356516 & 0.0155488381271303 & 0.992225580936435 \tabularnewline
42 & 0.0548027326552775 & 0.109605465310555 & 0.945197267344723 \tabularnewline
43 & 0.794414751221214 & 0.411170497557572 & 0.205585248778786 \tabularnewline
44 & 0.781093568871858 & 0.437812862256283 & 0.218906431128142 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30168&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.103263219206332[/C][C]0.206526438412664[/C][C]0.896736780793668[/C][/ROW]
[ROW][C]17[/C][C]0.0391952844711321[/C][C]0.0783905689422642[/C][C]0.960804715528868[/C][/ROW]
[ROW][C]18[/C][C]0.0173777999543064[/C][C]0.0347555999086128[/C][C]0.982622200045694[/C][/ROW]
[ROW][C]19[/C][C]0.0426469759178809[/C][C]0.0852939518357617[/C][C]0.957353024082119[/C][/ROW]
[ROW][C]20[/C][C]0.0415629665254365[/C][C]0.083125933050873[/C][C]0.958437033474564[/C][/ROW]
[ROW][C]21[/C][C]0.0399731980660726[/C][C]0.0799463961321452[/C][C]0.960026801933927[/C][/ROW]
[ROW][C]22[/C][C]0.0670822260925474[/C][C]0.134164452185095[/C][C]0.932917773907453[/C][/ROW]
[ROW][C]23[/C][C]0.0458573709826882[/C][C]0.0917147419653764[/C][C]0.954142629017312[/C][/ROW]
[ROW][C]24[/C][C]0.0256869725090815[/C][C]0.0513739450181631[/C][C]0.974313027490918[/C][/ROW]
[ROW][C]25[/C][C]0.01278329002436[/C][C]0.02556658004872[/C][C]0.98721670997564[/C][/ROW]
[ROW][C]26[/C][C]0.00656141516415901[/C][C]0.0131228303283180[/C][C]0.99343858483584[/C][/ROW]
[ROW][C]27[/C][C]0.00297106074121558[/C][C]0.00594212148243115[/C][C]0.997028939258784[/C][/ROW]
[ROW][C]28[/C][C]0.00135899992077494[/C][C]0.00271799984154988[/C][C]0.998641000079225[/C][/ROW]
[ROW][C]29[/C][C]0.000557895059896882[/C][C]0.00111579011979376[/C][C]0.999442104940103[/C][/ROW]
[ROW][C]30[/C][C]0.000369637830631121[/C][C]0.000739275661262243[/C][C]0.999630362169369[/C][/ROW]
[ROW][C]31[/C][C]0.000279064535064307[/C][C]0.000558129070128614[/C][C]0.999720935464936[/C][/ROW]
[ROW][C]32[/C][C]0.000492046782969675[/C][C]0.00098409356593935[/C][C]0.99950795321703[/C][/ROW]
[ROW][C]33[/C][C]0.000242200694861594[/C][C]0.000484401389723189[/C][C]0.999757799305138[/C][/ROW]
[ROW][C]34[/C][C]0.000419469798731029[/C][C]0.000838939597462057[/C][C]0.999580530201269[/C][/ROW]
[ROW][C]35[/C][C]0.000540633760051176[/C][C]0.00108126752010235[/C][C]0.999459366239949[/C][/ROW]
[ROW][C]36[/C][C]0.000598833755299687[/C][C]0.00119766751059937[/C][C]0.9994011662447[/C][/ROW]
[ROW][C]37[/C][C]0.000389385521513902[/C][C]0.000778771043027804[/C][C]0.999610614478486[/C][/ROW]
[ROW][C]38[/C][C]0.000548188916653624[/C][C]0.00109637783330725[/C][C]0.999451811083346[/C][/ROW]
[ROW][C]39[/C][C]0.000758750614866196[/C][C]0.00151750122973239[/C][C]0.999241249385134[/C][/ROW]
[ROW][C]40[/C][C]0.000982411924898238[/C][C]0.00196482384979648[/C][C]0.999017588075102[/C][/ROW]
[ROW][C]41[/C][C]0.00777441906356516[/C][C]0.0155488381271303[/C][C]0.992225580936435[/C][/ROW]
[ROW][C]42[/C][C]0.0548027326552775[/C][C]0.109605465310555[/C][C]0.945197267344723[/C][/ROW]
[ROW][C]43[/C][C]0.794414751221214[/C][C]0.411170497557572[/C][C]0.205585248778786[/C][/ROW]
[ROW][C]44[/C][C]0.781093568871858[/C][C]0.437812862256283[/C][C]0.218906431128142[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30168&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30168&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.1032632192063320.2065264384126640.896736780793668
170.03919528447113210.07839056894226420.960804715528868
180.01737779995430640.03475559990861280.982622200045694
190.04264697591788090.08529395183576170.957353024082119
200.04156296652543650.0831259330508730.958437033474564
210.03997319806607260.07994639613214520.960026801933927
220.06708222609254740.1341644521850950.932917773907453
230.04585737098268820.09171474196537640.954142629017312
240.02568697250908150.05137394501816310.974313027490918
250.012783290024360.025566580048720.98721670997564
260.006561415164159010.01312283032831800.99343858483584
270.002971060741215580.005942121482431150.997028939258784
280.001358999920774940.002717999841549880.998641000079225
290.0005578950598968820.001115790119793760.999442104940103
300.0003696378306311210.0007392756612622430.999630362169369
310.0002790645350643070.0005581290701286140.999720935464936
320.0004920467829696750.000984093565939350.99950795321703
330.0002422006948615940.0004844013897231890.999757799305138
340.0004194697987310290.0008389395974620570.999580530201269
350.0005406337600511760.001081267520102350.999459366239949
360.0005988337552996870.001197667510599370.9994011662447
370.0003893855215139020.0007787710430278040.999610614478486
380.0005481889166536240.001096377833307250.999451811083346
390.0007587506148661960.001517501229732390.999241249385134
400.0009824119248982380.001964823849796480.999017588075102
410.007774419063565160.01554883812713030.992225580936435
420.05480273265527750.1096054653105550.945197267344723
430.7944147512212140.4111704975575720.205585248778786
440.7810935688718580.4378128622562830.218906431128142







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.482758620689655NOK
5% type I error level180.620689655172414NOK
10% type I error level240.827586206896552NOK

\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 & 14 & 0.482758620689655 & NOK \tabularnewline
5% type I error level & 18 & 0.620689655172414 & NOK \tabularnewline
10% type I error level & 24 & 0.827586206896552 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30168&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]14[/C][C]0.482758620689655[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]18[/C][C]0.620689655172414[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]24[/C][C]0.827586206896552[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30168&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30168&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 level140.482758620689655NOK
5% type I error level180.620689655172414NOK
10% type I error level240.827586206896552NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}