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, 19 Dec 2010 17:24:13 +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/19/t12927793063j141cemwmstx9n.htm/, Retrieved Sun, 05 May 2024 04:16:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112648, Retrieved Sun, 05 May 2024 04:16:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact151
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] [Unemployment] [2010-11-30 13:40:15] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2010-12-19 17:24:13] [7674ee8f347756742f81ca2ada5c384c] [Current]
Feedback Forum

Post a new message
Dataseries X:
104,31
103,88
103,88
103,86
103,89
103,98
103,98
104,29
104,29
104,24
103,98
103,54
103,44
103,32
103,30
103,26
103,14
103,11
102,91
103,23
103,23
103,14
102,91
102,42
102,10
102,07
102,06
101,98
101,83
101,75
101,56
101,66
101,65
101,61
101,52
101,31
101,19
101,11
101,10
101,07
100,98
100,93
100,92
101,02
101,01
100,97
100,89
100,62
100,53
100,48
100,48
100,47
100,52
100,49
100,47
100,44




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 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 & 7 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112648&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]7 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=112648&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112648&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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Consumptieindexkleding[t] = + 104.357875 -0.056062499999947M1[t] -0.118550000000010M2[t] -0.0470375000000067M3[t] -0.00352500000000532M4[t] + 0.0199874999999952M5[t] + 0.0794999999999971M6[t] + 0.0750124999999966M7[t] + 0.314524999999998M8[t] + 0.3339625M9[t] + 0.358474999999993M10[t] + 0.272987499999995M11[t] -0.0795125000000005t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consumptieindexkleding[t] =  +  104.357875 -0.056062499999947M1[t] -0.118550000000010M2[t] -0.0470375000000067M3[t] -0.00352500000000532M4[t] +  0.0199874999999952M5[t] +  0.0794999999999971M6[t] +  0.0750124999999966M7[t] +  0.314524999999998M8[t] +  0.3339625M9[t] +  0.358474999999993M10[t] +  0.272987499999995M11[t] -0.0795125000000005t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112648&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consumptieindexkleding[t] =  +  104.357875 -0.056062499999947M1[t] -0.118550000000010M2[t] -0.0470375000000067M3[t] -0.00352500000000532M4[t] +  0.0199874999999952M5[t] +  0.0794999999999971M6[t] +  0.0750124999999966M7[t] +  0.314524999999998M8[t] +  0.3339625M9[t] +  0.358474999999993M10[t] +  0.272987499999995M11[t] -0.0795125000000005t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112648&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112648&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
Consumptieindexkleding[t] = + 104.357875 -0.056062499999947M1[t] -0.118550000000010M2[t] -0.0470375000000067M3[t] -0.00352500000000532M4[t] + 0.0199874999999952M5[t] + 0.0794999999999971M6[t] + 0.0750124999999966M7[t] + 0.314524999999998M8[t] + 0.3339625M9[t] + 0.358474999999993M10[t] + 0.272987499999995M11[t] -0.0795125000000005t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)104.3578750.13855753.216100
M1-0.0560624999999470.16658-0.33650.7380930.369047
M2-0.1185500000000100.166465-0.71220.4802110.240105
M3-0.04703750000000670.166375-0.28270.7787480.389374
M4-0.003525000000005320.166311-0.02120.9831880.491594
M50.01998749999999520.1662720.12020.9048770.452439
M60.07949999999999710.166260.47820.6349530.317477
M70.07501249999999660.1662720.45110.6541540.327077
M80.3145249999999980.1663111.89120.0653480.032674
M90.33396250.1753631.90440.0635610.03178
M100.3584749999999930.1753022.04490.0470160.023508
M110.2729874999999950.1752651.55760.1266660.063333
t-0.07951250000000050.002065-38.497800

\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) & 104.357875 & 0.13855 & 753.2161 & 0 & 0 \tabularnewline
M1 & -0.056062499999947 & 0.16658 & -0.3365 & 0.738093 & 0.369047 \tabularnewline
M2 & -0.118550000000010 & 0.166465 & -0.7122 & 0.480211 & 0.240105 \tabularnewline
M3 & -0.0470375000000067 & 0.166375 & -0.2827 & 0.778748 & 0.389374 \tabularnewline
M4 & -0.00352500000000532 & 0.166311 & -0.0212 & 0.983188 & 0.491594 \tabularnewline
M5 & 0.0199874999999952 & 0.166272 & 0.1202 & 0.904877 & 0.452439 \tabularnewline
M6 & 0.0794999999999971 & 0.16626 & 0.4782 & 0.634953 & 0.317477 \tabularnewline
M7 & 0.0750124999999966 & 0.166272 & 0.4511 & 0.654154 & 0.327077 \tabularnewline
M8 & 0.314524999999998 & 0.166311 & 1.8912 & 0.065348 & 0.032674 \tabularnewline
M9 & 0.3339625 & 0.175363 & 1.9044 & 0.063561 & 0.03178 \tabularnewline
M10 & 0.358474999999993 & 0.175302 & 2.0449 & 0.047016 & 0.023508 \tabularnewline
M11 & 0.272987499999995 & 0.175265 & 1.5576 & 0.126666 & 0.063333 \tabularnewline
t & -0.0795125000000005 & 0.002065 & -38.4978 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112648&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]104.357875[/C][C]0.13855[/C][C]753.2161[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.056062499999947[/C][C]0.16658[/C][C]-0.3365[/C][C]0.738093[/C][C]0.369047[/C][/ROW]
[ROW][C]M2[/C][C]-0.118550000000010[/C][C]0.166465[/C][C]-0.7122[/C][C]0.480211[/C][C]0.240105[/C][/ROW]
[ROW][C]M3[/C][C]-0.0470375000000067[/C][C]0.166375[/C][C]-0.2827[/C][C]0.778748[/C][C]0.389374[/C][/ROW]
[ROW][C]M4[/C][C]-0.00352500000000532[/C][C]0.166311[/C][C]-0.0212[/C][C]0.983188[/C][C]0.491594[/C][/ROW]
[ROW][C]M5[/C][C]0.0199874999999952[/C][C]0.166272[/C][C]0.1202[/C][C]0.904877[/C][C]0.452439[/C][/ROW]
[ROW][C]M6[/C][C]0.0794999999999971[/C][C]0.16626[/C][C]0.4782[/C][C]0.634953[/C][C]0.317477[/C][/ROW]
[ROW][C]M7[/C][C]0.0750124999999966[/C][C]0.166272[/C][C]0.4511[/C][C]0.654154[/C][C]0.327077[/C][/ROW]
[ROW][C]M8[/C][C]0.314524999999998[/C][C]0.166311[/C][C]1.8912[/C][C]0.065348[/C][C]0.032674[/C][/ROW]
[ROW][C]M9[/C][C]0.3339625[/C][C]0.175363[/C][C]1.9044[/C][C]0.063561[/C][C]0.03178[/C][/ROW]
[ROW][C]M10[/C][C]0.358474999999993[/C][C]0.175302[/C][C]2.0449[/C][C]0.047016[/C][C]0.023508[/C][/ROW]
[ROW][C]M11[/C][C]0.272987499999995[/C][C]0.175265[/C][C]1.5576[/C][C]0.126666[/C][C]0.063333[/C][/ROW]
[ROW][C]t[/C][C]-0.0795125000000005[/C][C]0.002065[/C][C]-38.4978[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112648&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112648&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)104.3578750.13855753.216100
M1-0.0560624999999470.16658-0.33650.7380930.369047
M2-0.1185500000000100.166465-0.71220.4802110.240105
M3-0.04703750000000670.166375-0.28270.7787480.389374
M4-0.003525000000005320.166311-0.02120.9831880.491594
M50.01998749999999520.1662720.12020.9048770.452439
M60.07949999999999710.166260.47820.6349530.317477
M70.07501249999999660.1662720.45110.6541540.327077
M80.3145249999999980.1663111.89120.0653480.032674
M90.33396250.1753631.90440.0635610.03178
M100.3584749999999930.1753022.04490.0470160.023508
M110.2729874999999950.1752651.55760.1266660.063333
t-0.07951250000000050.002065-38.497800







Multiple Linear Regression - Regression Statistics
Multiple R0.986049960445294
R-squared0.972294524494165
Adjusted R-squared0.964562763887886
F-TEST (value)125.753314672534
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.247845260708805
Sum Squared Residuals2.64137275000006

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.986049960445294 \tabularnewline
R-squared & 0.972294524494165 \tabularnewline
Adjusted R-squared & 0.964562763887886 \tabularnewline
F-TEST (value) & 125.753314672534 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.247845260708805 \tabularnewline
Sum Squared Residuals & 2.64137275000006 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112648&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.986049960445294[/C][/ROW]
[ROW][C]R-squared[/C][C]0.972294524494165[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.964562763887886[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]125.753314672534[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.247845260708805[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2.64137275000006[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112648&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112648&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.986049960445294
R-squared0.972294524494165
Adjusted R-squared0.964562763887886
F-TEST (value)125.753314672534
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.247845260708805
Sum Squared Residuals2.64137275000006







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1104.31104.2223000000000.087700000000231
2103.88104.0803-0.200300000000016
3103.88104.0723-0.192300000000015
4103.86104.0363-0.176300000000014
5103.89103.9803-0.0903000000000112
6103.98103.96030.0196999999999912
7103.98103.87630.103699999999991
8104.29104.03630.253699999999995
9104.29103.9762250.313774999999992
10104.24103.9212250.318774999999987
11103.98103.7562250.223774999999996
12103.54103.4037250.136274999999993
13103.44103.268150.171849999999933
14103.32103.126150.19384999999999
15103.3103.118150.181849999999992
16103.26103.082150.177849999999999
17103.14103.026150.113849999999994
18103.11103.006150.103849999999992
19102.91102.92215-0.0121500000000104
20103.23103.082150.147849999999997
21103.23103.0220750.207924999999996
22103.14102.9670750.172924999999999
23102.91102.8020750.107924999999994
24102.42102.449575-0.0295750000000053
25102.1102.314-0.214000000000064
26102.07102.172-0.102000000000004
27102.06102.164-0.103999999999997
28101.98102.128-0.147999999999996
29101.83102.072-0.242000000000002
30101.75102.052-0.302000000000001
31101.56101.968-0.407999999999999
32101.66102.128-0.468000000000004
33101.65102.067925-0.417924999999997
34101.61102.012925-0.402924999999996
35101.52101.847925-0.327925
36101.31101.495425-0.185424999999998
37101.19101.35985-0.169850000000055
38101.11101.21785-0.107849999999991
39101.1101.20985-0.109849999999998
40101.07101.17385-0.103850000000001
41100.98101.11785-0.137849999999990
42100.93101.09785-0.167849999999988
43100.92101.01385-0.0938499999999917
44101.02101.17385-0.153849999999998
45101.01101.113775-0.103774999999991
46100.97101.058775-0.0887749999999898
47100.89100.893775-0.00377499999998974
48100.62100.5412750.0787250000000105
49100.53100.40570.124299999999956
50100.48100.26370.21630000000002
51100.48100.25570.224300000000018
52100.47100.21970.250300000000012
53100.52100.16370.356300000000008
54100.49100.14370.346300000000006
55100.47100.05970.41030000000001
56100.44100.21970.220300000000010

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 104.31 & 104.222300000000 & 0.087700000000231 \tabularnewline
2 & 103.88 & 104.0803 & -0.200300000000016 \tabularnewline
3 & 103.88 & 104.0723 & -0.192300000000015 \tabularnewline
4 & 103.86 & 104.0363 & -0.176300000000014 \tabularnewline
5 & 103.89 & 103.9803 & -0.0903000000000112 \tabularnewline
6 & 103.98 & 103.9603 & 0.0196999999999912 \tabularnewline
7 & 103.98 & 103.8763 & 0.103699999999991 \tabularnewline
8 & 104.29 & 104.0363 & 0.253699999999995 \tabularnewline
9 & 104.29 & 103.976225 & 0.313774999999992 \tabularnewline
10 & 104.24 & 103.921225 & 0.318774999999987 \tabularnewline
11 & 103.98 & 103.756225 & 0.223774999999996 \tabularnewline
12 & 103.54 & 103.403725 & 0.136274999999993 \tabularnewline
13 & 103.44 & 103.26815 & 0.171849999999933 \tabularnewline
14 & 103.32 & 103.12615 & 0.19384999999999 \tabularnewline
15 & 103.3 & 103.11815 & 0.181849999999992 \tabularnewline
16 & 103.26 & 103.08215 & 0.177849999999999 \tabularnewline
17 & 103.14 & 103.02615 & 0.113849999999994 \tabularnewline
18 & 103.11 & 103.00615 & 0.103849999999992 \tabularnewline
19 & 102.91 & 102.92215 & -0.0121500000000104 \tabularnewline
20 & 103.23 & 103.08215 & 0.147849999999997 \tabularnewline
21 & 103.23 & 103.022075 & 0.207924999999996 \tabularnewline
22 & 103.14 & 102.967075 & 0.172924999999999 \tabularnewline
23 & 102.91 & 102.802075 & 0.107924999999994 \tabularnewline
24 & 102.42 & 102.449575 & -0.0295750000000053 \tabularnewline
25 & 102.1 & 102.314 & -0.214000000000064 \tabularnewline
26 & 102.07 & 102.172 & -0.102000000000004 \tabularnewline
27 & 102.06 & 102.164 & -0.103999999999997 \tabularnewline
28 & 101.98 & 102.128 & -0.147999999999996 \tabularnewline
29 & 101.83 & 102.072 & -0.242000000000002 \tabularnewline
30 & 101.75 & 102.052 & -0.302000000000001 \tabularnewline
31 & 101.56 & 101.968 & -0.407999999999999 \tabularnewline
32 & 101.66 & 102.128 & -0.468000000000004 \tabularnewline
33 & 101.65 & 102.067925 & -0.417924999999997 \tabularnewline
34 & 101.61 & 102.012925 & -0.402924999999996 \tabularnewline
35 & 101.52 & 101.847925 & -0.327925 \tabularnewline
36 & 101.31 & 101.495425 & -0.185424999999998 \tabularnewline
37 & 101.19 & 101.35985 & -0.169850000000055 \tabularnewline
38 & 101.11 & 101.21785 & -0.107849999999991 \tabularnewline
39 & 101.1 & 101.20985 & -0.109849999999998 \tabularnewline
40 & 101.07 & 101.17385 & -0.103850000000001 \tabularnewline
41 & 100.98 & 101.11785 & -0.137849999999990 \tabularnewline
42 & 100.93 & 101.09785 & -0.167849999999988 \tabularnewline
43 & 100.92 & 101.01385 & -0.0938499999999917 \tabularnewline
44 & 101.02 & 101.17385 & -0.153849999999998 \tabularnewline
45 & 101.01 & 101.113775 & -0.103774999999991 \tabularnewline
46 & 100.97 & 101.058775 & -0.0887749999999898 \tabularnewline
47 & 100.89 & 100.893775 & -0.00377499999998974 \tabularnewline
48 & 100.62 & 100.541275 & 0.0787250000000105 \tabularnewline
49 & 100.53 & 100.4057 & 0.124299999999956 \tabularnewline
50 & 100.48 & 100.2637 & 0.21630000000002 \tabularnewline
51 & 100.48 & 100.2557 & 0.224300000000018 \tabularnewline
52 & 100.47 & 100.2197 & 0.250300000000012 \tabularnewline
53 & 100.52 & 100.1637 & 0.356300000000008 \tabularnewline
54 & 100.49 & 100.1437 & 0.346300000000006 \tabularnewline
55 & 100.47 & 100.0597 & 0.41030000000001 \tabularnewline
56 & 100.44 & 100.2197 & 0.220300000000010 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112648&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]104.31[/C][C]104.222300000000[/C][C]0.087700000000231[/C][/ROW]
[ROW][C]2[/C][C]103.88[/C][C]104.0803[/C][C]-0.200300000000016[/C][/ROW]
[ROW][C]3[/C][C]103.88[/C][C]104.0723[/C][C]-0.192300000000015[/C][/ROW]
[ROW][C]4[/C][C]103.86[/C][C]104.0363[/C][C]-0.176300000000014[/C][/ROW]
[ROW][C]5[/C][C]103.89[/C][C]103.9803[/C][C]-0.0903000000000112[/C][/ROW]
[ROW][C]6[/C][C]103.98[/C][C]103.9603[/C][C]0.0196999999999912[/C][/ROW]
[ROW][C]7[/C][C]103.98[/C][C]103.8763[/C][C]0.103699999999991[/C][/ROW]
[ROW][C]8[/C][C]104.29[/C][C]104.0363[/C][C]0.253699999999995[/C][/ROW]
[ROW][C]9[/C][C]104.29[/C][C]103.976225[/C][C]0.313774999999992[/C][/ROW]
[ROW][C]10[/C][C]104.24[/C][C]103.921225[/C][C]0.318774999999987[/C][/ROW]
[ROW][C]11[/C][C]103.98[/C][C]103.756225[/C][C]0.223774999999996[/C][/ROW]
[ROW][C]12[/C][C]103.54[/C][C]103.403725[/C][C]0.136274999999993[/C][/ROW]
[ROW][C]13[/C][C]103.44[/C][C]103.26815[/C][C]0.171849999999933[/C][/ROW]
[ROW][C]14[/C][C]103.32[/C][C]103.12615[/C][C]0.19384999999999[/C][/ROW]
[ROW][C]15[/C][C]103.3[/C][C]103.11815[/C][C]0.181849999999992[/C][/ROW]
[ROW][C]16[/C][C]103.26[/C][C]103.08215[/C][C]0.177849999999999[/C][/ROW]
[ROW][C]17[/C][C]103.14[/C][C]103.02615[/C][C]0.113849999999994[/C][/ROW]
[ROW][C]18[/C][C]103.11[/C][C]103.00615[/C][C]0.103849999999992[/C][/ROW]
[ROW][C]19[/C][C]102.91[/C][C]102.92215[/C][C]-0.0121500000000104[/C][/ROW]
[ROW][C]20[/C][C]103.23[/C][C]103.08215[/C][C]0.147849999999997[/C][/ROW]
[ROW][C]21[/C][C]103.23[/C][C]103.022075[/C][C]0.207924999999996[/C][/ROW]
[ROW][C]22[/C][C]103.14[/C][C]102.967075[/C][C]0.172924999999999[/C][/ROW]
[ROW][C]23[/C][C]102.91[/C][C]102.802075[/C][C]0.107924999999994[/C][/ROW]
[ROW][C]24[/C][C]102.42[/C][C]102.449575[/C][C]-0.0295750000000053[/C][/ROW]
[ROW][C]25[/C][C]102.1[/C][C]102.314[/C][C]-0.214000000000064[/C][/ROW]
[ROW][C]26[/C][C]102.07[/C][C]102.172[/C][C]-0.102000000000004[/C][/ROW]
[ROW][C]27[/C][C]102.06[/C][C]102.164[/C][C]-0.103999999999997[/C][/ROW]
[ROW][C]28[/C][C]101.98[/C][C]102.128[/C][C]-0.147999999999996[/C][/ROW]
[ROW][C]29[/C][C]101.83[/C][C]102.072[/C][C]-0.242000000000002[/C][/ROW]
[ROW][C]30[/C][C]101.75[/C][C]102.052[/C][C]-0.302000000000001[/C][/ROW]
[ROW][C]31[/C][C]101.56[/C][C]101.968[/C][C]-0.407999999999999[/C][/ROW]
[ROW][C]32[/C][C]101.66[/C][C]102.128[/C][C]-0.468000000000004[/C][/ROW]
[ROW][C]33[/C][C]101.65[/C][C]102.067925[/C][C]-0.417924999999997[/C][/ROW]
[ROW][C]34[/C][C]101.61[/C][C]102.012925[/C][C]-0.402924999999996[/C][/ROW]
[ROW][C]35[/C][C]101.52[/C][C]101.847925[/C][C]-0.327925[/C][/ROW]
[ROW][C]36[/C][C]101.31[/C][C]101.495425[/C][C]-0.185424999999998[/C][/ROW]
[ROW][C]37[/C][C]101.19[/C][C]101.35985[/C][C]-0.169850000000055[/C][/ROW]
[ROW][C]38[/C][C]101.11[/C][C]101.21785[/C][C]-0.107849999999991[/C][/ROW]
[ROW][C]39[/C][C]101.1[/C][C]101.20985[/C][C]-0.109849999999998[/C][/ROW]
[ROW][C]40[/C][C]101.07[/C][C]101.17385[/C][C]-0.103850000000001[/C][/ROW]
[ROW][C]41[/C][C]100.98[/C][C]101.11785[/C][C]-0.137849999999990[/C][/ROW]
[ROW][C]42[/C][C]100.93[/C][C]101.09785[/C][C]-0.167849999999988[/C][/ROW]
[ROW][C]43[/C][C]100.92[/C][C]101.01385[/C][C]-0.0938499999999917[/C][/ROW]
[ROW][C]44[/C][C]101.02[/C][C]101.17385[/C][C]-0.153849999999998[/C][/ROW]
[ROW][C]45[/C][C]101.01[/C][C]101.113775[/C][C]-0.103774999999991[/C][/ROW]
[ROW][C]46[/C][C]100.97[/C][C]101.058775[/C][C]-0.0887749999999898[/C][/ROW]
[ROW][C]47[/C][C]100.89[/C][C]100.893775[/C][C]-0.00377499999998974[/C][/ROW]
[ROW][C]48[/C][C]100.62[/C][C]100.541275[/C][C]0.0787250000000105[/C][/ROW]
[ROW][C]49[/C][C]100.53[/C][C]100.4057[/C][C]0.124299999999956[/C][/ROW]
[ROW][C]50[/C][C]100.48[/C][C]100.2637[/C][C]0.21630000000002[/C][/ROW]
[ROW][C]51[/C][C]100.48[/C][C]100.2557[/C][C]0.224300000000018[/C][/ROW]
[ROW][C]52[/C][C]100.47[/C][C]100.2197[/C][C]0.250300000000012[/C][/ROW]
[ROW][C]53[/C][C]100.52[/C][C]100.1637[/C][C]0.356300000000008[/C][/ROW]
[ROW][C]54[/C][C]100.49[/C][C]100.1437[/C][C]0.346300000000006[/C][/ROW]
[ROW][C]55[/C][C]100.47[/C][C]100.0597[/C][C]0.41030000000001[/C][/ROW]
[ROW][C]56[/C][C]100.44[/C][C]100.2197[/C][C]0.220300000000010[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112648&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112648&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
1104.31104.2223000000000.087700000000231
2103.88104.0803-0.200300000000016
3103.88104.0723-0.192300000000015
4103.86104.0363-0.176300000000014
5103.89103.9803-0.0903000000000112
6103.98103.96030.0196999999999912
7103.98103.87630.103699999999991
8104.29104.03630.253699999999995
9104.29103.9762250.313774999999992
10104.24103.9212250.318774999999987
11103.98103.7562250.223774999999996
12103.54103.4037250.136274999999993
13103.44103.268150.171849999999933
14103.32103.126150.19384999999999
15103.3103.118150.181849999999992
16103.26103.082150.177849999999999
17103.14103.026150.113849999999994
18103.11103.006150.103849999999992
19102.91102.92215-0.0121500000000104
20103.23103.082150.147849999999997
21103.23103.0220750.207924999999996
22103.14102.9670750.172924999999999
23102.91102.8020750.107924999999994
24102.42102.449575-0.0295750000000053
25102.1102.314-0.214000000000064
26102.07102.172-0.102000000000004
27102.06102.164-0.103999999999997
28101.98102.128-0.147999999999996
29101.83102.072-0.242000000000002
30101.75102.052-0.302000000000001
31101.56101.968-0.407999999999999
32101.66102.128-0.468000000000004
33101.65102.067925-0.417924999999997
34101.61102.012925-0.402924999999996
35101.52101.847925-0.327925
36101.31101.495425-0.185424999999998
37101.19101.35985-0.169850000000055
38101.11101.21785-0.107849999999991
39101.1101.20985-0.109849999999998
40101.07101.17385-0.103850000000001
41100.98101.11785-0.137849999999990
42100.93101.09785-0.167849999999988
43100.92101.01385-0.0938499999999917
44101.02101.17385-0.153849999999998
45101.01101.113775-0.103774999999991
46100.97101.058775-0.0887749999999898
47100.89100.893775-0.00377499999998974
48100.62100.5412750.0787250000000105
49100.53100.40570.124299999999956
50100.48100.26370.21630000000002
51100.48100.25570.224300000000018
52100.47100.21970.250300000000012
53100.52100.16370.356300000000008
54100.49100.14370.346300000000006
55100.47100.05970.41030000000001
56100.44100.21970.220300000000010







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.08339426316657380.1667885263331480.916605736833426
170.03477509473564030.06955018947128070.96522490526436
180.02760396688688870.05520793377377730.972396033113111
190.06308849241880670.1261769848376130.936911507581193
200.09494863361425530.1898972672285110.905051366385745
210.1716520642598740.3433041285197480.828347935740126
220.3894235362512590.7788470725025190.610576463748741
230.7016424578255750.596715084348850.298357542174425
240.8691147033405040.2617705933189920.130885296659496
250.9560221979399160.08795560412016870.0439778020600844
260.9727036621343830.05459267573123440.0272963378656172
270.9914107772073080.01717844558538510.00858922279269253
280.998596312159330.002807375681339830.00140368784066992
290.9994002102957790.001199579408442460.000599789704221229
300.9997966829795180.000406634040964230.000203317020482115
310.9997297676337970.0005404647324066340.000270232366203317
320.9998140510142330.0003718979715347010.000185948985767351
330.9997802160365650.0004395679268703910.000219783963435195
340.9996188897856670.0007622204286657260.000381110214332863
350.998997553779560.00200489244088140.0010024462204407
360.9984558795368920.003088240926216260.00154412046310813
370.9973679837204450.005264032559109850.00263201627955493
380.9949312895544430.01013742089111370.00506871044555685
390.9909313027639040.01813739447219130.00906869723609567
400.9851405014023090.02971899719538290.0148594985976914

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0833942631665738 & 0.166788526333148 & 0.916605736833426 \tabularnewline
17 & 0.0347750947356403 & 0.0695501894712807 & 0.96522490526436 \tabularnewline
18 & 0.0276039668868887 & 0.0552079337737773 & 0.972396033113111 \tabularnewline
19 & 0.0630884924188067 & 0.126176984837613 & 0.936911507581193 \tabularnewline
20 & 0.0949486336142553 & 0.189897267228511 & 0.905051366385745 \tabularnewline
21 & 0.171652064259874 & 0.343304128519748 & 0.828347935740126 \tabularnewline
22 & 0.389423536251259 & 0.778847072502519 & 0.610576463748741 \tabularnewline
23 & 0.701642457825575 & 0.59671508434885 & 0.298357542174425 \tabularnewline
24 & 0.869114703340504 & 0.261770593318992 & 0.130885296659496 \tabularnewline
25 & 0.956022197939916 & 0.0879556041201687 & 0.0439778020600844 \tabularnewline
26 & 0.972703662134383 & 0.0545926757312344 & 0.0272963378656172 \tabularnewline
27 & 0.991410777207308 & 0.0171784455853851 & 0.00858922279269253 \tabularnewline
28 & 0.99859631215933 & 0.00280737568133983 & 0.00140368784066992 \tabularnewline
29 & 0.999400210295779 & 0.00119957940844246 & 0.000599789704221229 \tabularnewline
30 & 0.999796682979518 & 0.00040663404096423 & 0.000203317020482115 \tabularnewline
31 & 0.999729767633797 & 0.000540464732406634 & 0.000270232366203317 \tabularnewline
32 & 0.999814051014233 & 0.000371897971534701 & 0.000185948985767351 \tabularnewline
33 & 0.999780216036565 & 0.000439567926870391 & 0.000219783963435195 \tabularnewline
34 & 0.999618889785667 & 0.000762220428665726 & 0.000381110214332863 \tabularnewline
35 & 0.99899755377956 & 0.0020048924408814 & 0.0010024462204407 \tabularnewline
36 & 0.998455879536892 & 0.00308824092621626 & 0.00154412046310813 \tabularnewline
37 & 0.997367983720445 & 0.00526403255910985 & 0.00263201627955493 \tabularnewline
38 & 0.994931289554443 & 0.0101374208911137 & 0.00506871044555685 \tabularnewline
39 & 0.990931302763904 & 0.0181373944721913 & 0.00906869723609567 \tabularnewline
40 & 0.985140501402309 & 0.0297189971953829 & 0.0148594985976914 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112648&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.0833942631665738[/C][C]0.166788526333148[/C][C]0.916605736833426[/C][/ROW]
[ROW][C]17[/C][C]0.0347750947356403[/C][C]0.0695501894712807[/C][C]0.96522490526436[/C][/ROW]
[ROW][C]18[/C][C]0.0276039668868887[/C][C]0.0552079337737773[/C][C]0.972396033113111[/C][/ROW]
[ROW][C]19[/C][C]0.0630884924188067[/C][C]0.126176984837613[/C][C]0.936911507581193[/C][/ROW]
[ROW][C]20[/C][C]0.0949486336142553[/C][C]0.189897267228511[/C][C]0.905051366385745[/C][/ROW]
[ROW][C]21[/C][C]0.171652064259874[/C][C]0.343304128519748[/C][C]0.828347935740126[/C][/ROW]
[ROW][C]22[/C][C]0.389423536251259[/C][C]0.778847072502519[/C][C]0.610576463748741[/C][/ROW]
[ROW][C]23[/C][C]0.701642457825575[/C][C]0.59671508434885[/C][C]0.298357542174425[/C][/ROW]
[ROW][C]24[/C][C]0.869114703340504[/C][C]0.261770593318992[/C][C]0.130885296659496[/C][/ROW]
[ROW][C]25[/C][C]0.956022197939916[/C][C]0.0879556041201687[/C][C]0.0439778020600844[/C][/ROW]
[ROW][C]26[/C][C]0.972703662134383[/C][C]0.0545926757312344[/C][C]0.0272963378656172[/C][/ROW]
[ROW][C]27[/C][C]0.991410777207308[/C][C]0.0171784455853851[/C][C]0.00858922279269253[/C][/ROW]
[ROW][C]28[/C][C]0.99859631215933[/C][C]0.00280737568133983[/C][C]0.00140368784066992[/C][/ROW]
[ROW][C]29[/C][C]0.999400210295779[/C][C]0.00119957940844246[/C][C]0.000599789704221229[/C][/ROW]
[ROW][C]30[/C][C]0.999796682979518[/C][C]0.00040663404096423[/C][C]0.000203317020482115[/C][/ROW]
[ROW][C]31[/C][C]0.999729767633797[/C][C]0.000540464732406634[/C][C]0.000270232366203317[/C][/ROW]
[ROW][C]32[/C][C]0.999814051014233[/C][C]0.000371897971534701[/C][C]0.000185948985767351[/C][/ROW]
[ROW][C]33[/C][C]0.999780216036565[/C][C]0.000439567926870391[/C][C]0.000219783963435195[/C][/ROW]
[ROW][C]34[/C][C]0.999618889785667[/C][C]0.000762220428665726[/C][C]0.000381110214332863[/C][/ROW]
[ROW][C]35[/C][C]0.99899755377956[/C][C]0.0020048924408814[/C][C]0.0010024462204407[/C][/ROW]
[ROW][C]36[/C][C]0.998455879536892[/C][C]0.00308824092621626[/C][C]0.00154412046310813[/C][/ROW]
[ROW][C]37[/C][C]0.997367983720445[/C][C]0.00526403255910985[/C][C]0.00263201627955493[/C][/ROW]
[ROW][C]38[/C][C]0.994931289554443[/C][C]0.0101374208911137[/C][C]0.00506871044555685[/C][/ROW]
[ROW][C]39[/C][C]0.990931302763904[/C][C]0.0181373944721913[/C][C]0.00906869723609567[/C][/ROW]
[ROW][C]40[/C][C]0.985140501402309[/C][C]0.0297189971953829[/C][C]0.0148594985976914[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112648&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112648&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.08339426316657380.1667885263331480.916605736833426
170.03477509473564030.06955018947128070.96522490526436
180.02760396688688870.05520793377377730.972396033113111
190.06308849241880670.1261769848376130.936911507581193
200.09494863361425530.1898972672285110.905051366385745
210.1716520642598740.3433041285197480.828347935740126
220.3894235362512590.7788470725025190.610576463748741
230.7016424578255750.596715084348850.298357542174425
240.8691147033405040.2617705933189920.130885296659496
250.9560221979399160.08795560412016870.0439778020600844
260.9727036621343830.05459267573123440.0272963378656172
270.9914107772073080.01717844558538510.00858922279269253
280.998596312159330.002807375681339830.00140368784066992
290.9994002102957790.001199579408442460.000599789704221229
300.9997966829795180.000406634040964230.000203317020482115
310.9997297676337970.0005404647324066340.000270232366203317
320.9998140510142330.0003718979715347010.000185948985767351
330.9997802160365650.0004395679268703910.000219783963435195
340.9996188897856670.0007622204286657260.000381110214332863
350.998997553779560.00200489244088140.0010024462204407
360.9984558795368920.003088240926216260.00154412046310813
370.9973679837204450.005264032559109850.00263201627955493
380.9949312895544430.01013742089111370.00506871044555685
390.9909313027639040.01813739447219130.00906869723609567
400.9851405014023090.02971899719538290.0148594985976914







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.4NOK
5% type I error level140.56NOK
10% type I error level180.72NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112648&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 level100.4NOK
5% type I error level140.56NOK
10% type I error level180.72NOK



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')
}