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, 08 Dec 2010 20:47: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/2010/Dec/08/t1291841159k27rvog04yqe5eo.htm/, Retrieved Fri, 03 May 2024 06:09:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=107130, Retrieved Fri, 03 May 2024 06:09:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact185
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [Multiple Regression] [multiple regression] [2010-12-08 09:20:06] [d6e648f00513dd750579ba7880c5fbf5]
-         [Multiple Regression] [] [2010-12-08 15:34:15] [dcd1a35a8985187cb1e9de87792355b2]
-    D        [Multiple Regression] [workshop 8: minit...] [2010-12-08 20:47:49] [95216a33d813bfae7986b08ea3322626] [Current]
Feedback Forum

Post a new message
Dataseries X:
33
24
24
31
25
28
24
25
16
17
11
12
39
19
14
15
7
12
12
14
9
8
4
7
3
5
0
-2
6
11
9
17
21
21
41
57
65
68
73
71
71
70
69
65
57
57
57
55
65
65
64
60
43
47
40
31
27
24
23
17




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' @ 193.190.124.24

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

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







Multiple Linear Regression - Estimated Regression Equation
Unemployment[t] = + 2.35000000000001 + 19.7263888888889M1[t] + 14.1694444444444M2[t] + 12.2125M3[t] + 11.4555555555556M4[t] + 6.09861111111111M5[t] + 8.54166666666667M6[t] + 4.98472222222222M7[t] + 3.82777777777778M8[t] -1.32916666666666M9[t] -2.68611111111111M10[t] -1.64305555555555M11[t] + 0.756944444444444t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Unemployment[t] =  +  2.35000000000001 +  19.7263888888889M1[t] +  14.1694444444444M2[t] +  12.2125M3[t] +  11.4555555555556M4[t] +  6.09861111111111M5[t] +  8.54166666666667M6[t] +  4.98472222222222M7[t] +  3.82777777777778M8[t] -1.32916666666666M9[t] -2.68611111111111M10[t] -1.64305555555555M11[t] +  0.756944444444444t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107130&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Unemployment[t] =  +  2.35000000000001 +  19.7263888888889M1[t] +  14.1694444444444M2[t] +  12.2125M3[t] +  11.4555555555556M4[t] +  6.09861111111111M5[t] +  8.54166666666667M6[t] +  4.98472222222222M7[t] +  3.82777777777778M8[t] -1.32916666666666M9[t] -2.68611111111111M10[t] -1.64305555555555M11[t] +  0.756944444444444t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107130&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107130&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
Unemployment[t] = + 2.35000000000001 + 19.7263888888889M1[t] + 14.1694444444444M2[t] + 12.2125M3[t] + 11.4555555555556M4[t] + 6.09861111111111M5[t] + 8.54166666666667M6[t] + 4.98472222222222M7[t] + 3.82777777777778M8[t] -1.32916666666666M9[t] -2.68611111111111M10[t] -1.64305555555555M11[t] + 0.756944444444444t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.3500000000000110.9326570.2150.8307340.415367
M119.726388888888913.300191.48320.1447050.072353
M214.169444444444413.2803181.0670.2914440.145722
M312.212513.2623130.92080.3618350.180918
M411.455555555555613.2461830.86480.3915310.195765
M56.0986111111111113.2319340.46090.6469950.323498
M68.5416666666666713.2195730.64610.5213330.260666
M74.9847222222222213.2091040.37740.7075970.353799
M83.8277777777777813.2005330.290.7731140.386557
M9-1.3291666666666613.193862-0.10070.9201840.460092
M10-2.6861111111111113.189095-0.20370.8394970.419749
M11-1.6430555555555513.186235-0.12460.9013690.450684
t0.7569444444444440.1585944.77281.8e-059e-06

\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) & 2.35000000000001 & 10.932657 & 0.215 & 0.830734 & 0.415367 \tabularnewline
M1 & 19.7263888888889 & 13.30019 & 1.4832 & 0.144705 & 0.072353 \tabularnewline
M2 & 14.1694444444444 & 13.280318 & 1.067 & 0.291444 & 0.145722 \tabularnewline
M3 & 12.2125 & 13.262313 & 0.9208 & 0.361835 & 0.180918 \tabularnewline
M4 & 11.4555555555556 & 13.246183 & 0.8648 & 0.391531 & 0.195765 \tabularnewline
M5 & 6.09861111111111 & 13.231934 & 0.4609 & 0.646995 & 0.323498 \tabularnewline
M6 & 8.54166666666667 & 13.219573 & 0.6461 & 0.521333 & 0.260666 \tabularnewline
M7 & 4.98472222222222 & 13.209104 & 0.3774 & 0.707597 & 0.353799 \tabularnewline
M8 & 3.82777777777778 & 13.200533 & 0.29 & 0.773114 & 0.386557 \tabularnewline
M9 & -1.32916666666666 & 13.193862 & -0.1007 & 0.920184 & 0.460092 \tabularnewline
M10 & -2.68611111111111 & 13.189095 & -0.2037 & 0.839497 & 0.419749 \tabularnewline
M11 & -1.64305555555555 & 13.186235 & -0.1246 & 0.901369 & 0.450684 \tabularnewline
t & 0.756944444444444 & 0.158594 & 4.7728 & 1.8e-05 & 9e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107130&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]2.35000000000001[/C][C]10.932657[/C][C]0.215[/C][C]0.830734[/C][C]0.415367[/C][/ROW]
[ROW][C]M1[/C][C]19.7263888888889[/C][C]13.30019[/C][C]1.4832[/C][C]0.144705[/C][C]0.072353[/C][/ROW]
[ROW][C]M2[/C][C]14.1694444444444[/C][C]13.280318[/C][C]1.067[/C][C]0.291444[/C][C]0.145722[/C][/ROW]
[ROW][C]M3[/C][C]12.2125[/C][C]13.262313[/C][C]0.9208[/C][C]0.361835[/C][C]0.180918[/C][/ROW]
[ROW][C]M4[/C][C]11.4555555555556[/C][C]13.246183[/C][C]0.8648[/C][C]0.391531[/C][C]0.195765[/C][/ROW]
[ROW][C]M5[/C][C]6.09861111111111[/C][C]13.231934[/C][C]0.4609[/C][C]0.646995[/C][C]0.323498[/C][/ROW]
[ROW][C]M6[/C][C]8.54166666666667[/C][C]13.219573[/C][C]0.6461[/C][C]0.521333[/C][C]0.260666[/C][/ROW]
[ROW][C]M7[/C][C]4.98472222222222[/C][C]13.209104[/C][C]0.3774[/C][C]0.707597[/C][C]0.353799[/C][/ROW]
[ROW][C]M8[/C][C]3.82777777777778[/C][C]13.200533[/C][C]0.29[/C][C]0.773114[/C][C]0.386557[/C][/ROW]
[ROW][C]M9[/C][C]-1.32916666666666[/C][C]13.193862[/C][C]-0.1007[/C][C]0.920184[/C][C]0.460092[/C][/ROW]
[ROW][C]M10[/C][C]-2.68611111111111[/C][C]13.189095[/C][C]-0.2037[/C][C]0.839497[/C][C]0.419749[/C][/ROW]
[ROW][C]M11[/C][C]-1.64305555555555[/C][C]13.186235[/C][C]-0.1246[/C][C]0.901369[/C][C]0.450684[/C][/ROW]
[ROW][C]t[/C][C]0.756944444444444[/C][C]0.158594[/C][C]4.7728[/C][C]1.8e-05[/C][C]9e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107130&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107130&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)2.3500000000000110.9326570.2150.8307340.415367
M119.726388888888913.300191.48320.1447050.072353
M214.169444444444413.2803181.0670.2914440.145722
M312.212513.2623130.92080.3618350.180918
M411.455555555555613.2461830.86480.3915310.195765
M56.0986111111111113.2319340.46090.6469950.323498
M68.5416666666666713.2195730.64610.5213330.260666
M74.9847222222222213.2091040.37740.7075970.353799
M83.8277777777777813.2005330.290.7731140.386557
M9-1.3291666666666613.193862-0.10070.9201840.460092
M10-2.6861111111111113.189095-0.20370.8394970.419749
M11-1.6430555555555513.186235-0.12460.9013690.450684
t0.7569444444444440.1585944.77281.8e-059e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.592778246558766
R-squared0.351386049593285
Adjusted R-squared0.185782487787315
F-TEST (value)2.12185079693508
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.0334236022288503
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.8477595442336
Sum Squared Residuals20427.5666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.592778246558766 \tabularnewline
R-squared & 0.351386049593285 \tabularnewline
Adjusted R-squared & 0.185782487787315 \tabularnewline
F-TEST (value) & 2.12185079693508 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.0334236022288503 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 20.8477595442336 \tabularnewline
Sum Squared Residuals & 20427.5666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107130&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.592778246558766[/C][/ROW]
[ROW][C]R-squared[/C][C]0.351386049593285[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.185782487787315[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.12185079693508[/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.0334236022288503[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]20.8477595442336[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]20427.5666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107130&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107130&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.592778246558766
R-squared0.351386049593285
Adjusted R-squared0.185782487787315
F-TEST (value)2.12185079693508
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.0334236022288503
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.8477595442336
Sum Squared Residuals20427.5666666667







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13322.833333333333310.1666666666667
22418.03333333333335.96666666666666
32416.83333333333337.16666666666667
43116.833333333333314.1666666666667
52512.233333333333312.7666666666667
62815.433333333333312.5666666666667
72412.633333333333311.3666666666667
82512.233333333333312.7666666666667
9167.833333333333348.16666666666666
10177.233333333333339.76666666666667
11119.033333333333331.96666666666666
121211.43333333333330.566666666666669
133931.91666666666677.08333333333333
141927.1166666666667-8.11666666666667
151425.9166666666667-11.9166666666667
161525.9166666666667-10.9166666666667
17721.3166666666667-14.3166666666667
181224.5166666666667-12.5166666666667
191221.7166666666667-9.71666666666667
201421.3166666666667-7.31666666666667
21916.9166666666667-7.91666666666667
22816.3166666666667-8.31666666666668
23418.1166666666667-14.1166666666667
24720.5166666666667-13.5166666666667
25341-38
26536.2-31.2
27035-35
28-235-37
29630.4-24.4
301133.6-22.6
31930.8-21.8
321730.4-13.4
332126-5
342125.4-4.4
354127.213.8
365729.627.4
376550.083333333333314.9166666666667
386845.283333333333322.7166666666667
397344.083333333333328.9166666666667
407144.083333333333326.9166666666667
417139.483333333333331.5166666666667
427042.683333333333327.3166666666667
436939.883333333333329.1166666666667
446539.483333333333325.5166666666667
455735.083333333333321.9166666666667
465734.483333333333322.5166666666667
475736.283333333333320.7166666666667
485538.683333333333316.3166666666667
496559.16666666666675.83333333333333
506554.366666666666710.6333333333333
516453.166666666666710.8333333333333
526053.16666666666676.83333333333333
534348.5666666666667-5.56666666666667
544751.7666666666667-4.76666666666666
554048.9666666666667-8.96666666666667
563148.5666666666667-17.5666666666667
572744.1666666666667-17.1666666666667
582443.5666666666667-19.5666666666667
592345.3666666666667-22.3666666666667
601747.7666666666667-30.7666666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 33 & 22.8333333333333 & 10.1666666666667 \tabularnewline
2 & 24 & 18.0333333333333 & 5.96666666666666 \tabularnewline
3 & 24 & 16.8333333333333 & 7.16666666666667 \tabularnewline
4 & 31 & 16.8333333333333 & 14.1666666666667 \tabularnewline
5 & 25 & 12.2333333333333 & 12.7666666666667 \tabularnewline
6 & 28 & 15.4333333333333 & 12.5666666666667 \tabularnewline
7 & 24 & 12.6333333333333 & 11.3666666666667 \tabularnewline
8 & 25 & 12.2333333333333 & 12.7666666666667 \tabularnewline
9 & 16 & 7.83333333333334 & 8.16666666666666 \tabularnewline
10 & 17 & 7.23333333333333 & 9.76666666666667 \tabularnewline
11 & 11 & 9.03333333333333 & 1.96666666666666 \tabularnewline
12 & 12 & 11.4333333333333 & 0.566666666666669 \tabularnewline
13 & 39 & 31.9166666666667 & 7.08333333333333 \tabularnewline
14 & 19 & 27.1166666666667 & -8.11666666666667 \tabularnewline
15 & 14 & 25.9166666666667 & -11.9166666666667 \tabularnewline
16 & 15 & 25.9166666666667 & -10.9166666666667 \tabularnewline
17 & 7 & 21.3166666666667 & -14.3166666666667 \tabularnewline
18 & 12 & 24.5166666666667 & -12.5166666666667 \tabularnewline
19 & 12 & 21.7166666666667 & -9.71666666666667 \tabularnewline
20 & 14 & 21.3166666666667 & -7.31666666666667 \tabularnewline
21 & 9 & 16.9166666666667 & -7.91666666666667 \tabularnewline
22 & 8 & 16.3166666666667 & -8.31666666666668 \tabularnewline
23 & 4 & 18.1166666666667 & -14.1166666666667 \tabularnewline
24 & 7 & 20.5166666666667 & -13.5166666666667 \tabularnewline
25 & 3 & 41 & -38 \tabularnewline
26 & 5 & 36.2 & -31.2 \tabularnewline
27 & 0 & 35 & -35 \tabularnewline
28 & -2 & 35 & -37 \tabularnewline
29 & 6 & 30.4 & -24.4 \tabularnewline
30 & 11 & 33.6 & -22.6 \tabularnewline
31 & 9 & 30.8 & -21.8 \tabularnewline
32 & 17 & 30.4 & -13.4 \tabularnewline
33 & 21 & 26 & -5 \tabularnewline
34 & 21 & 25.4 & -4.4 \tabularnewline
35 & 41 & 27.2 & 13.8 \tabularnewline
36 & 57 & 29.6 & 27.4 \tabularnewline
37 & 65 & 50.0833333333333 & 14.9166666666667 \tabularnewline
38 & 68 & 45.2833333333333 & 22.7166666666667 \tabularnewline
39 & 73 & 44.0833333333333 & 28.9166666666667 \tabularnewline
40 & 71 & 44.0833333333333 & 26.9166666666667 \tabularnewline
41 & 71 & 39.4833333333333 & 31.5166666666667 \tabularnewline
42 & 70 & 42.6833333333333 & 27.3166666666667 \tabularnewline
43 & 69 & 39.8833333333333 & 29.1166666666667 \tabularnewline
44 & 65 & 39.4833333333333 & 25.5166666666667 \tabularnewline
45 & 57 & 35.0833333333333 & 21.9166666666667 \tabularnewline
46 & 57 & 34.4833333333333 & 22.5166666666667 \tabularnewline
47 & 57 & 36.2833333333333 & 20.7166666666667 \tabularnewline
48 & 55 & 38.6833333333333 & 16.3166666666667 \tabularnewline
49 & 65 & 59.1666666666667 & 5.83333333333333 \tabularnewline
50 & 65 & 54.3666666666667 & 10.6333333333333 \tabularnewline
51 & 64 & 53.1666666666667 & 10.8333333333333 \tabularnewline
52 & 60 & 53.1666666666667 & 6.83333333333333 \tabularnewline
53 & 43 & 48.5666666666667 & -5.56666666666667 \tabularnewline
54 & 47 & 51.7666666666667 & -4.76666666666666 \tabularnewline
55 & 40 & 48.9666666666667 & -8.96666666666667 \tabularnewline
56 & 31 & 48.5666666666667 & -17.5666666666667 \tabularnewline
57 & 27 & 44.1666666666667 & -17.1666666666667 \tabularnewline
58 & 24 & 43.5666666666667 & -19.5666666666667 \tabularnewline
59 & 23 & 45.3666666666667 & -22.3666666666667 \tabularnewline
60 & 17 & 47.7666666666667 & -30.7666666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107130&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]33[/C][C]22.8333333333333[/C][C]10.1666666666667[/C][/ROW]
[ROW][C]2[/C][C]24[/C][C]18.0333333333333[/C][C]5.96666666666666[/C][/ROW]
[ROW][C]3[/C][C]24[/C][C]16.8333333333333[/C][C]7.16666666666667[/C][/ROW]
[ROW][C]4[/C][C]31[/C][C]16.8333333333333[/C][C]14.1666666666667[/C][/ROW]
[ROW][C]5[/C][C]25[/C][C]12.2333333333333[/C][C]12.7666666666667[/C][/ROW]
[ROW][C]6[/C][C]28[/C][C]15.4333333333333[/C][C]12.5666666666667[/C][/ROW]
[ROW][C]7[/C][C]24[/C][C]12.6333333333333[/C][C]11.3666666666667[/C][/ROW]
[ROW][C]8[/C][C]25[/C][C]12.2333333333333[/C][C]12.7666666666667[/C][/ROW]
[ROW][C]9[/C][C]16[/C][C]7.83333333333334[/C][C]8.16666666666666[/C][/ROW]
[ROW][C]10[/C][C]17[/C][C]7.23333333333333[/C][C]9.76666666666667[/C][/ROW]
[ROW][C]11[/C][C]11[/C][C]9.03333333333333[/C][C]1.96666666666666[/C][/ROW]
[ROW][C]12[/C][C]12[/C][C]11.4333333333333[/C][C]0.566666666666669[/C][/ROW]
[ROW][C]13[/C][C]39[/C][C]31.9166666666667[/C][C]7.08333333333333[/C][/ROW]
[ROW][C]14[/C][C]19[/C][C]27.1166666666667[/C][C]-8.11666666666667[/C][/ROW]
[ROW][C]15[/C][C]14[/C][C]25.9166666666667[/C][C]-11.9166666666667[/C][/ROW]
[ROW][C]16[/C][C]15[/C][C]25.9166666666667[/C][C]-10.9166666666667[/C][/ROW]
[ROW][C]17[/C][C]7[/C][C]21.3166666666667[/C][C]-14.3166666666667[/C][/ROW]
[ROW][C]18[/C][C]12[/C][C]24.5166666666667[/C][C]-12.5166666666667[/C][/ROW]
[ROW][C]19[/C][C]12[/C][C]21.7166666666667[/C][C]-9.71666666666667[/C][/ROW]
[ROW][C]20[/C][C]14[/C][C]21.3166666666667[/C][C]-7.31666666666667[/C][/ROW]
[ROW][C]21[/C][C]9[/C][C]16.9166666666667[/C][C]-7.91666666666667[/C][/ROW]
[ROW][C]22[/C][C]8[/C][C]16.3166666666667[/C][C]-8.31666666666668[/C][/ROW]
[ROW][C]23[/C][C]4[/C][C]18.1166666666667[/C][C]-14.1166666666667[/C][/ROW]
[ROW][C]24[/C][C]7[/C][C]20.5166666666667[/C][C]-13.5166666666667[/C][/ROW]
[ROW][C]25[/C][C]3[/C][C]41[/C][C]-38[/C][/ROW]
[ROW][C]26[/C][C]5[/C][C]36.2[/C][C]-31.2[/C][/ROW]
[ROW][C]27[/C][C]0[/C][C]35[/C][C]-35[/C][/ROW]
[ROW][C]28[/C][C]-2[/C][C]35[/C][C]-37[/C][/ROW]
[ROW][C]29[/C][C]6[/C][C]30.4[/C][C]-24.4[/C][/ROW]
[ROW][C]30[/C][C]11[/C][C]33.6[/C][C]-22.6[/C][/ROW]
[ROW][C]31[/C][C]9[/C][C]30.8[/C][C]-21.8[/C][/ROW]
[ROW][C]32[/C][C]17[/C][C]30.4[/C][C]-13.4[/C][/ROW]
[ROW][C]33[/C][C]21[/C][C]26[/C][C]-5[/C][/ROW]
[ROW][C]34[/C][C]21[/C][C]25.4[/C][C]-4.4[/C][/ROW]
[ROW][C]35[/C][C]41[/C][C]27.2[/C][C]13.8[/C][/ROW]
[ROW][C]36[/C][C]57[/C][C]29.6[/C][C]27.4[/C][/ROW]
[ROW][C]37[/C][C]65[/C][C]50.0833333333333[/C][C]14.9166666666667[/C][/ROW]
[ROW][C]38[/C][C]68[/C][C]45.2833333333333[/C][C]22.7166666666667[/C][/ROW]
[ROW][C]39[/C][C]73[/C][C]44.0833333333333[/C][C]28.9166666666667[/C][/ROW]
[ROW][C]40[/C][C]71[/C][C]44.0833333333333[/C][C]26.9166666666667[/C][/ROW]
[ROW][C]41[/C][C]71[/C][C]39.4833333333333[/C][C]31.5166666666667[/C][/ROW]
[ROW][C]42[/C][C]70[/C][C]42.6833333333333[/C][C]27.3166666666667[/C][/ROW]
[ROW][C]43[/C][C]69[/C][C]39.8833333333333[/C][C]29.1166666666667[/C][/ROW]
[ROW][C]44[/C][C]65[/C][C]39.4833333333333[/C][C]25.5166666666667[/C][/ROW]
[ROW][C]45[/C][C]57[/C][C]35.0833333333333[/C][C]21.9166666666667[/C][/ROW]
[ROW][C]46[/C][C]57[/C][C]34.4833333333333[/C][C]22.5166666666667[/C][/ROW]
[ROW][C]47[/C][C]57[/C][C]36.2833333333333[/C][C]20.7166666666667[/C][/ROW]
[ROW][C]48[/C][C]55[/C][C]38.6833333333333[/C][C]16.3166666666667[/C][/ROW]
[ROW][C]49[/C][C]65[/C][C]59.1666666666667[/C][C]5.83333333333333[/C][/ROW]
[ROW][C]50[/C][C]65[/C][C]54.3666666666667[/C][C]10.6333333333333[/C][/ROW]
[ROW][C]51[/C][C]64[/C][C]53.1666666666667[/C][C]10.8333333333333[/C][/ROW]
[ROW][C]52[/C][C]60[/C][C]53.1666666666667[/C][C]6.83333333333333[/C][/ROW]
[ROW][C]53[/C][C]43[/C][C]48.5666666666667[/C][C]-5.56666666666667[/C][/ROW]
[ROW][C]54[/C][C]47[/C][C]51.7666666666667[/C][C]-4.76666666666666[/C][/ROW]
[ROW][C]55[/C][C]40[/C][C]48.9666666666667[/C][C]-8.96666666666667[/C][/ROW]
[ROW][C]56[/C][C]31[/C][C]48.5666666666667[/C][C]-17.5666666666667[/C][/ROW]
[ROW][C]57[/C][C]27[/C][C]44.1666666666667[/C][C]-17.1666666666667[/C][/ROW]
[ROW][C]58[/C][C]24[/C][C]43.5666666666667[/C][C]-19.5666666666667[/C][/ROW]
[ROW][C]59[/C][C]23[/C][C]45.3666666666667[/C][C]-22.3666666666667[/C][/ROW]
[ROW][C]60[/C][C]17[/C][C]47.7666666666667[/C][C]-30.7666666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107130&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107130&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
13322.833333333333310.1666666666667
22418.03333333333335.96666666666666
32416.83333333333337.16666666666667
43116.833333333333314.1666666666667
52512.233333333333312.7666666666667
62815.433333333333312.5666666666667
72412.633333333333311.3666666666667
82512.233333333333312.7666666666667
9167.833333333333348.16666666666666
10177.233333333333339.76666666666667
11119.033333333333331.96666666666666
121211.43333333333330.566666666666669
133931.91666666666677.08333333333333
141927.1166666666667-8.11666666666667
151425.9166666666667-11.9166666666667
161525.9166666666667-10.9166666666667
17721.3166666666667-14.3166666666667
181224.5166666666667-12.5166666666667
191221.7166666666667-9.71666666666667
201421.3166666666667-7.31666666666667
21916.9166666666667-7.91666666666667
22816.3166666666667-8.31666666666668
23418.1166666666667-14.1166666666667
24720.5166666666667-13.5166666666667
25341-38
26536.2-31.2
27035-35
28-235-37
29630.4-24.4
301133.6-22.6
31930.8-21.8
321730.4-13.4
332126-5
342125.4-4.4
354127.213.8
365729.627.4
376550.083333333333314.9166666666667
386845.283333333333322.7166666666667
397344.083333333333328.9166666666667
407144.083333333333326.9166666666667
417139.483333333333331.5166666666667
427042.683333333333327.3166666666667
436939.883333333333329.1166666666667
446539.483333333333325.5166666666667
455735.083333333333321.9166666666667
465734.483333333333322.5166666666667
475736.283333333333320.7166666666667
485538.683333333333316.3166666666667
496559.16666666666675.83333333333333
506554.366666666666710.6333333333333
516453.166666666666710.8333333333333
526053.16666666666676.83333333333333
534348.5666666666667-5.56666666666667
544751.7666666666667-4.76666666666666
554048.9666666666667-8.96666666666667
563148.5666666666667-17.5666666666667
572744.1666666666667-17.1666666666667
582443.5666666666667-19.5666666666667
592345.3666666666667-22.3666666666667
601747.7666666666667-30.7666666666667







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.02831548725971410.05663097451942820.971684512740286
170.0121687607775710.0243375215551420.987831239222429
180.003731098079222010.007462196158444010.996268901920778
190.0008568525523142320.001713705104628460.999143147447686
200.0001774974635351960.0003549949270703920.999822502536465
213.67082144573329e-057.34164289146659e-050.999963291785543
226.59534840102746e-061.31906968020549e-050.9999934046516
231.20470806227146e-062.40941612454292e-060.999998795291938
242.41454557252372e-074.82909114504743e-070.999999758545443
251.99149675938490e-063.98299351876979e-060.99999800850324
267.10446404880454e-071.42089280976091e-060.999999289553595
274.0864324210804e-078.1728648421608e-070.999999591356758
286.08644623582452e-071.21728924716490e-060.999999391355376
298.78340458089488e-071.75668091617898e-060.999999121659542
301.9381378158709e-063.8762756317418e-060.999998061862184
318.85878415720558e-061.77175683144112e-050.999991141215843
328.30944770129496e-050.0001661889540258990.999916905522987
330.00321549660796240.00643099321592480.996784503392038
340.08801775691821620.1760355138364320.911982243081784
350.6887771274920680.6224457450158640.311222872507932
360.9171052551607790.1657894896784430.0828947448392214
370.9806439284198010.03871214316039750.0193560715801987
380.997119214320450.005761571359100380.00288078567955019
390.9994810249766360.001037950046727010.000518975023363507
400.9999799498686934.0100262613933e-052.00501313069665e-05
410.9999238933625530.0001522132748938607.61066374469301e-05
420.9999606025224437.87949551140225e-053.93974775570113e-05
430.9998562183333840.000287563333231730.000143781666615865
440.9983765731195260.003246853760947510.00162342688047376

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0283154872597141 & 0.0566309745194282 & 0.971684512740286 \tabularnewline
17 & 0.012168760777571 & 0.024337521555142 & 0.987831239222429 \tabularnewline
18 & 0.00373109807922201 & 0.00746219615844401 & 0.996268901920778 \tabularnewline
19 & 0.000856852552314232 & 0.00171370510462846 & 0.999143147447686 \tabularnewline
20 & 0.000177497463535196 & 0.000354994927070392 & 0.999822502536465 \tabularnewline
21 & 3.67082144573329e-05 & 7.34164289146659e-05 & 0.999963291785543 \tabularnewline
22 & 6.59534840102746e-06 & 1.31906968020549e-05 & 0.9999934046516 \tabularnewline
23 & 1.20470806227146e-06 & 2.40941612454292e-06 & 0.999998795291938 \tabularnewline
24 & 2.41454557252372e-07 & 4.82909114504743e-07 & 0.999999758545443 \tabularnewline
25 & 1.99149675938490e-06 & 3.98299351876979e-06 & 0.99999800850324 \tabularnewline
26 & 7.10446404880454e-07 & 1.42089280976091e-06 & 0.999999289553595 \tabularnewline
27 & 4.0864324210804e-07 & 8.1728648421608e-07 & 0.999999591356758 \tabularnewline
28 & 6.08644623582452e-07 & 1.21728924716490e-06 & 0.999999391355376 \tabularnewline
29 & 8.78340458089488e-07 & 1.75668091617898e-06 & 0.999999121659542 \tabularnewline
30 & 1.9381378158709e-06 & 3.8762756317418e-06 & 0.999998061862184 \tabularnewline
31 & 8.85878415720558e-06 & 1.77175683144112e-05 & 0.999991141215843 \tabularnewline
32 & 8.30944770129496e-05 & 0.000166188954025899 & 0.999916905522987 \tabularnewline
33 & 0.0032154966079624 & 0.0064309932159248 & 0.996784503392038 \tabularnewline
34 & 0.0880177569182162 & 0.176035513836432 & 0.911982243081784 \tabularnewline
35 & 0.688777127492068 & 0.622445745015864 & 0.311222872507932 \tabularnewline
36 & 0.917105255160779 & 0.165789489678443 & 0.0828947448392214 \tabularnewline
37 & 0.980643928419801 & 0.0387121431603975 & 0.0193560715801987 \tabularnewline
38 & 0.99711921432045 & 0.00576157135910038 & 0.00288078567955019 \tabularnewline
39 & 0.999481024976636 & 0.00103795004672701 & 0.000518975023363507 \tabularnewline
40 & 0.999979949868693 & 4.0100262613933e-05 & 2.00501313069665e-05 \tabularnewline
41 & 0.999923893362553 & 0.000152213274893860 & 7.61066374469301e-05 \tabularnewline
42 & 0.999960602522443 & 7.87949551140225e-05 & 3.93974775570113e-05 \tabularnewline
43 & 0.999856218333384 & 0.00028756333323173 & 0.000143781666615865 \tabularnewline
44 & 0.998376573119526 & 0.00324685376094751 & 0.00162342688047376 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107130&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.0283154872597141[/C][C]0.0566309745194282[/C][C]0.971684512740286[/C][/ROW]
[ROW][C]17[/C][C]0.012168760777571[/C][C]0.024337521555142[/C][C]0.987831239222429[/C][/ROW]
[ROW][C]18[/C][C]0.00373109807922201[/C][C]0.00746219615844401[/C][C]0.996268901920778[/C][/ROW]
[ROW][C]19[/C][C]0.000856852552314232[/C][C]0.00171370510462846[/C][C]0.999143147447686[/C][/ROW]
[ROW][C]20[/C][C]0.000177497463535196[/C][C]0.000354994927070392[/C][C]0.999822502536465[/C][/ROW]
[ROW][C]21[/C][C]3.67082144573329e-05[/C][C]7.34164289146659e-05[/C][C]0.999963291785543[/C][/ROW]
[ROW][C]22[/C][C]6.59534840102746e-06[/C][C]1.31906968020549e-05[/C][C]0.9999934046516[/C][/ROW]
[ROW][C]23[/C][C]1.20470806227146e-06[/C][C]2.40941612454292e-06[/C][C]0.999998795291938[/C][/ROW]
[ROW][C]24[/C][C]2.41454557252372e-07[/C][C]4.82909114504743e-07[/C][C]0.999999758545443[/C][/ROW]
[ROW][C]25[/C][C]1.99149675938490e-06[/C][C]3.98299351876979e-06[/C][C]0.99999800850324[/C][/ROW]
[ROW][C]26[/C][C]7.10446404880454e-07[/C][C]1.42089280976091e-06[/C][C]0.999999289553595[/C][/ROW]
[ROW][C]27[/C][C]4.0864324210804e-07[/C][C]8.1728648421608e-07[/C][C]0.999999591356758[/C][/ROW]
[ROW][C]28[/C][C]6.08644623582452e-07[/C][C]1.21728924716490e-06[/C][C]0.999999391355376[/C][/ROW]
[ROW][C]29[/C][C]8.78340458089488e-07[/C][C]1.75668091617898e-06[/C][C]0.999999121659542[/C][/ROW]
[ROW][C]30[/C][C]1.9381378158709e-06[/C][C]3.8762756317418e-06[/C][C]0.999998061862184[/C][/ROW]
[ROW][C]31[/C][C]8.85878415720558e-06[/C][C]1.77175683144112e-05[/C][C]0.999991141215843[/C][/ROW]
[ROW][C]32[/C][C]8.30944770129496e-05[/C][C]0.000166188954025899[/C][C]0.999916905522987[/C][/ROW]
[ROW][C]33[/C][C]0.0032154966079624[/C][C]0.0064309932159248[/C][C]0.996784503392038[/C][/ROW]
[ROW][C]34[/C][C]0.0880177569182162[/C][C]0.176035513836432[/C][C]0.911982243081784[/C][/ROW]
[ROW][C]35[/C][C]0.688777127492068[/C][C]0.622445745015864[/C][C]0.311222872507932[/C][/ROW]
[ROW][C]36[/C][C]0.917105255160779[/C][C]0.165789489678443[/C][C]0.0828947448392214[/C][/ROW]
[ROW][C]37[/C][C]0.980643928419801[/C][C]0.0387121431603975[/C][C]0.0193560715801987[/C][/ROW]
[ROW][C]38[/C][C]0.99711921432045[/C][C]0.00576157135910038[/C][C]0.00288078567955019[/C][/ROW]
[ROW][C]39[/C][C]0.999481024976636[/C][C]0.00103795004672701[/C][C]0.000518975023363507[/C][/ROW]
[ROW][C]40[/C][C]0.999979949868693[/C][C]4.0100262613933e-05[/C][C]2.00501313069665e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999923893362553[/C][C]0.000152213274893860[/C][C]7.61066374469301e-05[/C][/ROW]
[ROW][C]42[/C][C]0.999960602522443[/C][C]7.87949551140225e-05[/C][C]3.93974775570113e-05[/C][/ROW]
[ROW][C]43[/C][C]0.999856218333384[/C][C]0.00028756333323173[/C][C]0.000143781666615865[/C][/ROW]
[ROW][C]44[/C][C]0.998376573119526[/C][C]0.00324685376094751[/C][C]0.00162342688047376[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107130&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107130&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.02831548725971410.05663097451942820.971684512740286
170.0121687607775710.0243375215551420.987831239222429
180.003731098079222010.007462196158444010.996268901920778
190.0008568525523142320.001713705104628460.999143147447686
200.0001774974635351960.0003549949270703920.999822502536465
213.67082144573329e-057.34164289146659e-050.999963291785543
226.59534840102746e-061.31906968020549e-050.9999934046516
231.20470806227146e-062.40941612454292e-060.999998795291938
242.41454557252372e-074.82909114504743e-070.999999758545443
251.99149675938490e-063.98299351876979e-060.99999800850324
267.10446404880454e-071.42089280976091e-060.999999289553595
274.0864324210804e-078.1728648421608e-070.999999591356758
286.08644623582452e-071.21728924716490e-060.999999391355376
298.78340458089488e-071.75668091617898e-060.999999121659542
301.9381378158709e-063.8762756317418e-060.999998061862184
318.85878415720558e-061.77175683144112e-050.999991141215843
328.30944770129496e-050.0001661889540258990.999916905522987
330.00321549660796240.00643099321592480.996784503392038
340.08801775691821620.1760355138364320.911982243081784
350.6887771274920680.6224457450158640.311222872507932
360.9171052551607790.1657894896784430.0828947448392214
370.9806439284198010.03871214316039750.0193560715801987
380.997119214320450.005761571359100380.00288078567955019
390.9994810249766360.001037950046727010.000518975023363507
400.9999799498686934.0100262613933e-052.00501313069665e-05
410.9999238933625530.0001522132748938607.61066374469301e-05
420.9999606025224437.87949551140225e-053.93974775570113e-05
430.9998562183333840.000287563333231730.000143781666615865
440.9983765731195260.003246853760947510.00162342688047376







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level230.793103448275862NOK
5% type I error level250.862068965517241NOK
10% type I error level260.896551724137931NOK

\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 & 23 & 0.793103448275862 & NOK \tabularnewline
5% type I error level & 25 & 0.862068965517241 & NOK \tabularnewline
10% type I error level & 26 & 0.896551724137931 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107130&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]23[/C][C]0.793103448275862[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]25[/C][C]0.862068965517241[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]26[/C][C]0.896551724137931[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107130&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107130&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 level230.793103448275862NOK
5% type I error level250.862068965517241NOK
10% type I error level260.896551724137931NOK



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