Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 20 Nov 2009 12:53:18 -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/2009/Nov/20/t1258746849czfail3nrmoihap.htm/, Retrieved Thu, 18 Apr 2024 19:59:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58449, Retrieved Thu, 18 Apr 2024 19:59:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact249
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [WS7 Multiple Regr...] [2009-11-20 19:11:09] [8733f8ed033058987ec00f5e71b74854]
-   P         [Multiple Regression] [WS7 Multiple Regr...] [2009-11-20 19:53:18] [c6e373ff11c42d4585d53e9e88ed5606] [Current]
-   P           [Multiple Regression] [WS7 Multiple Regr...] [2009-11-20 20:25:38] [8733f8ed033058987ec00f5e71b74854]
-    D            [Multiple Regression] [W7 review ] [2009-11-26 16:27:42] [315ba876df544ad397193b5931d5f354]
-   P             [Multiple Regression] [ws 7 lineaire trend] [2009-11-27 18:35:28] [bd8e774728cf1f2f4e6868fd314defe3]
Feedback Forum

Post a new message
Dataseries X:
2.7	0
2.3	0
1.9	0
2.0	0
2.3	0
2.8	0
2.4	0
2.3	0
2.7	0
2.7	0
2.9	0
3.0	0
2.2	0
2.3	0
2.8	0
2.8	0
2.8	0
2.2	0
2.6	0
2.8	0
2.5	0
2.4	0
2.3	0
1.9	0
1.7	0
2.0	0
2.1	0
1.7	0
1.8	0
1.8	0
1.8	0
1.3	0
1.3	0
1.3	1
1.2	1
1.4	1
2.2	1
2.9	1
3.1	1
3.5	1
3.6	1
4.4	1
4.1	1
5.1	1
5.8	1
5.9	1
5.4	1
5.5	1
4.8	1
3.2	1
2.7	1
2.1	1
1.9	1
0.6	1
0.7	1
-0.2	1
-1.0	1
-1.7	1
-0.7	1
-1.0	1




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

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







Multiple Linear Regression - Estimated Regression Equation
Inflatie[t] = + 2.0125 + 0.245833333333334Kredietcrisis[t] + 0.609166666666665M1[t] + 0.429166666666667M2[t] + 0.409166666666666M3[t] + 0.309166666666666M4[t] + 0.369166666666667M5[t] + 0.249166666666667M6[t] + 0.209166666666666M7[t] + 0.149166666666667M8[t] + 0.149166666666667M9[t] -0.0400000000000002M10[t] + 0.0600000000000002M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Inflatie[t] =  +  2.0125 +  0.245833333333334Kredietcrisis[t] +  0.609166666666665M1[t] +  0.429166666666667M2[t] +  0.409166666666666M3[t] +  0.309166666666666M4[t] +  0.369166666666667M5[t] +  0.249166666666667M6[t] +  0.209166666666666M7[t] +  0.149166666666667M8[t] +  0.149166666666667M9[t] -0.0400000000000002M10[t] +  0.0600000000000002M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58449&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Inflatie[t] =  +  2.0125 +  0.245833333333334Kredietcrisis[t] +  0.609166666666665M1[t] +  0.429166666666667M2[t] +  0.409166666666666M3[t] +  0.309166666666666M4[t] +  0.369166666666667M5[t] +  0.249166666666667M6[t] +  0.209166666666666M7[t] +  0.149166666666667M8[t] +  0.149166666666667M9[t] -0.0400000000000002M10[t] +  0.0600000000000002M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58449&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58449&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
Inflatie[t] = + 2.0125 + 0.245833333333334Kredietcrisis[t] + 0.609166666666665M1[t] + 0.429166666666667M2[t] + 0.409166666666666M3[t] + 0.309166666666666M4[t] + 0.369166666666667M5[t] + 0.249166666666667M6[t] + 0.209166666666666M7[t] + 0.149166666666667M8[t] + 0.149166666666667M9[t] -0.0400000000000002M10[t] + 0.0600000000000002M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.01250.8113992.48030.0167660.008383
Kredietcrisis0.2458333333333340.4507770.54540.5880890.294044
M10.6091666666666651.0856150.56110.5773770.288689
M20.4291666666666671.0856150.39530.6943940.347197
M30.4091666666666661.0856150.37690.7079450.353973
M40.3091666666666661.0856150.28480.777060.38853
M50.3691666666666671.0856150.34010.7353320.367666
M60.2491666666666671.0856150.22950.8194630.409732
M70.2091666666666661.0856150.19270.8480470.424023
M80.1491666666666671.0856150.13740.8912990.44565
M90.1491666666666671.0856150.13740.8912990.44565
M10-0.04000000000000021.081865-0.0370.9706630.485331
M110.06000000000000021.0818650.05550.9560070.478004

\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.0125 & 0.811399 & 2.4803 & 0.016766 & 0.008383 \tabularnewline
Kredietcrisis & 0.245833333333334 & 0.450777 & 0.5454 & 0.588089 & 0.294044 \tabularnewline
M1 & 0.609166666666665 & 1.085615 & 0.5611 & 0.577377 & 0.288689 \tabularnewline
M2 & 0.429166666666667 & 1.085615 & 0.3953 & 0.694394 & 0.347197 \tabularnewline
M3 & 0.409166666666666 & 1.085615 & 0.3769 & 0.707945 & 0.353973 \tabularnewline
M4 & 0.309166666666666 & 1.085615 & 0.2848 & 0.77706 & 0.38853 \tabularnewline
M5 & 0.369166666666667 & 1.085615 & 0.3401 & 0.735332 & 0.367666 \tabularnewline
M6 & 0.249166666666667 & 1.085615 & 0.2295 & 0.819463 & 0.409732 \tabularnewline
M7 & 0.209166666666666 & 1.085615 & 0.1927 & 0.848047 & 0.424023 \tabularnewline
M8 & 0.149166666666667 & 1.085615 & 0.1374 & 0.891299 & 0.44565 \tabularnewline
M9 & 0.149166666666667 & 1.085615 & 0.1374 & 0.891299 & 0.44565 \tabularnewline
M10 & -0.0400000000000002 & 1.081865 & -0.037 & 0.970663 & 0.485331 \tabularnewline
M11 & 0.0600000000000002 & 1.081865 & 0.0555 & 0.956007 & 0.478004 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58449&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.0125[/C][C]0.811399[/C][C]2.4803[/C][C]0.016766[/C][C]0.008383[/C][/ROW]
[ROW][C]Kredietcrisis[/C][C]0.245833333333334[/C][C]0.450777[/C][C]0.5454[/C][C]0.588089[/C][C]0.294044[/C][/ROW]
[ROW][C]M1[/C][C]0.609166666666665[/C][C]1.085615[/C][C]0.5611[/C][C]0.577377[/C][C]0.288689[/C][/ROW]
[ROW][C]M2[/C][C]0.429166666666667[/C][C]1.085615[/C][C]0.3953[/C][C]0.694394[/C][C]0.347197[/C][/ROW]
[ROW][C]M3[/C][C]0.409166666666666[/C][C]1.085615[/C][C]0.3769[/C][C]0.707945[/C][C]0.353973[/C][/ROW]
[ROW][C]M4[/C][C]0.309166666666666[/C][C]1.085615[/C][C]0.2848[/C][C]0.77706[/C][C]0.38853[/C][/ROW]
[ROW][C]M5[/C][C]0.369166666666667[/C][C]1.085615[/C][C]0.3401[/C][C]0.735332[/C][C]0.367666[/C][/ROW]
[ROW][C]M6[/C][C]0.249166666666667[/C][C]1.085615[/C][C]0.2295[/C][C]0.819463[/C][C]0.409732[/C][/ROW]
[ROW][C]M7[/C][C]0.209166666666666[/C][C]1.085615[/C][C]0.1927[/C][C]0.848047[/C][C]0.424023[/C][/ROW]
[ROW][C]M8[/C][C]0.149166666666667[/C][C]1.085615[/C][C]0.1374[/C][C]0.891299[/C][C]0.44565[/C][/ROW]
[ROW][C]M9[/C][C]0.149166666666667[/C][C]1.085615[/C][C]0.1374[/C][C]0.891299[/C][C]0.44565[/C][/ROW]
[ROW][C]M10[/C][C]-0.0400000000000002[/C][C]1.081865[/C][C]-0.037[/C][C]0.970663[/C][C]0.485331[/C][/ROW]
[ROW][C]M11[/C][C]0.0600000000000002[/C][C]1.081865[/C][C]0.0555[/C][C]0.956007[/C][C]0.478004[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58449&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58449&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.01250.8113992.48030.0167660.008383
Kredietcrisis0.2458333333333340.4507770.54540.5880890.294044
M10.6091666666666651.0856150.56110.5773770.288689
M20.4291666666666671.0856150.39530.6943940.347197
M30.4091666666666661.0856150.37690.7079450.353973
M40.3091666666666661.0856150.28480.777060.38853
M50.3691666666666671.0856150.34010.7353320.367666
M60.2491666666666671.0856150.22950.8194630.409732
M70.2091666666666661.0856150.19270.8480470.424023
M80.1491666666666671.0856150.13740.8912990.44565
M90.1491666666666671.0856150.13740.8912990.44565
M10-0.04000000000000021.081865-0.0370.9706630.485331
M110.06000000000000021.0818650.05550.9560070.478004







Multiple Linear Regression - Regression Statistics
Multiple R0.135977832184842
R-squared0.0184899708456891
Adjusted R-squared-0.232108334470305
F-TEST (value)0.0737833036116267
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.99998817080419
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.71057878720451
Sum Squared Residuals137.52575

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.135977832184842 \tabularnewline
R-squared & 0.0184899708456891 \tabularnewline
Adjusted R-squared & -0.232108334470305 \tabularnewline
F-TEST (value) & 0.0737833036116267 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.99998817080419 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.71057878720451 \tabularnewline
Sum Squared Residuals & 137.52575 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58449&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.135977832184842[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0184899708456891[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.232108334470305[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.0737833036116267[/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.99998817080419[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.71057878720451[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]137.52575[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58449&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58449&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.135977832184842
R-squared0.0184899708456891
Adjusted R-squared-0.232108334470305
F-TEST (value)0.0737833036116267
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.99998817080419
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.71057878720451
Sum Squared Residuals137.52575







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12.72.621666666666680.0783333333333253
22.32.44166666666667-0.141666666666665
31.92.42166666666667-0.521666666666667
422.32166666666667-0.321666666666667
52.32.38166666666667-0.0816666666666665
62.82.261666666666670.538333333333332
72.42.221666666666670.178333333333334
82.32.161666666666670.138333333333334
92.72.161666666666670.538333333333334
102.71.97250.7275
112.92.07250.8275
1232.01250.9875
132.22.62166666666666-0.421666666666664
142.32.44166666666667-0.141666666666667
152.82.421666666666670.378333333333334
162.82.321666666666670.478333333333334
172.82.381666666666670.418333333333333
182.22.26166666666667-0.0616666666666665
192.62.221666666666670.378333333333334
202.82.161666666666670.638333333333334
212.52.161666666666670.338333333333333
222.41.97250.4275
232.32.07250.2275
241.92.0125-0.112500000000000
251.72.62166666666666-0.921666666666665
2622.44166666666667-0.441666666666666
272.12.42166666666667-0.321666666666666
281.72.32166666666667-0.621666666666666
291.82.38166666666667-0.581666666666667
301.82.26166666666667-0.461666666666667
311.82.22166666666667-0.421666666666666
321.32.16166666666667-0.861666666666666
331.32.16166666666667-0.861666666666666
341.32.21833333333333-0.918333333333333
351.22.31833333333333-1.11833333333333
361.42.25833333333333-0.858333333333334
372.22.8675-0.667499999999999
382.92.68750.212499999999999
393.12.66750.4325
403.52.56750.9325
413.62.62750.9725
424.42.50751.8925
434.12.46751.6325
445.12.40752.6925
455.82.40753.3925
465.92.218333333333333.68166666666667
475.42.318333333333333.08166666666667
485.52.258333333333333.24166666666667
494.82.86751.9325
503.22.68750.5125
512.72.66750.0324999999999999
522.12.5675-0.4675
531.92.6275-0.7275
540.62.5075-1.9075
550.72.4675-1.7675
56-0.22.4075-2.6075
57-12.4075-3.4075
58-1.72.21833333333333-3.91833333333333
59-0.72.31833333333333-3.01833333333333
60-12.25833333333333-3.25833333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2.7 & 2.62166666666668 & 0.0783333333333253 \tabularnewline
2 & 2.3 & 2.44166666666667 & -0.141666666666665 \tabularnewline
3 & 1.9 & 2.42166666666667 & -0.521666666666667 \tabularnewline
4 & 2 & 2.32166666666667 & -0.321666666666667 \tabularnewline
5 & 2.3 & 2.38166666666667 & -0.0816666666666665 \tabularnewline
6 & 2.8 & 2.26166666666667 & 0.538333333333332 \tabularnewline
7 & 2.4 & 2.22166666666667 & 0.178333333333334 \tabularnewline
8 & 2.3 & 2.16166666666667 & 0.138333333333334 \tabularnewline
9 & 2.7 & 2.16166666666667 & 0.538333333333334 \tabularnewline
10 & 2.7 & 1.9725 & 0.7275 \tabularnewline
11 & 2.9 & 2.0725 & 0.8275 \tabularnewline
12 & 3 & 2.0125 & 0.9875 \tabularnewline
13 & 2.2 & 2.62166666666666 & -0.421666666666664 \tabularnewline
14 & 2.3 & 2.44166666666667 & -0.141666666666667 \tabularnewline
15 & 2.8 & 2.42166666666667 & 0.378333333333334 \tabularnewline
16 & 2.8 & 2.32166666666667 & 0.478333333333334 \tabularnewline
17 & 2.8 & 2.38166666666667 & 0.418333333333333 \tabularnewline
18 & 2.2 & 2.26166666666667 & -0.0616666666666665 \tabularnewline
19 & 2.6 & 2.22166666666667 & 0.378333333333334 \tabularnewline
20 & 2.8 & 2.16166666666667 & 0.638333333333334 \tabularnewline
21 & 2.5 & 2.16166666666667 & 0.338333333333333 \tabularnewline
22 & 2.4 & 1.9725 & 0.4275 \tabularnewline
23 & 2.3 & 2.0725 & 0.2275 \tabularnewline
24 & 1.9 & 2.0125 & -0.112500000000000 \tabularnewline
25 & 1.7 & 2.62166666666666 & -0.921666666666665 \tabularnewline
26 & 2 & 2.44166666666667 & -0.441666666666666 \tabularnewline
27 & 2.1 & 2.42166666666667 & -0.321666666666666 \tabularnewline
28 & 1.7 & 2.32166666666667 & -0.621666666666666 \tabularnewline
29 & 1.8 & 2.38166666666667 & -0.581666666666667 \tabularnewline
30 & 1.8 & 2.26166666666667 & -0.461666666666667 \tabularnewline
31 & 1.8 & 2.22166666666667 & -0.421666666666666 \tabularnewline
32 & 1.3 & 2.16166666666667 & -0.861666666666666 \tabularnewline
33 & 1.3 & 2.16166666666667 & -0.861666666666666 \tabularnewline
34 & 1.3 & 2.21833333333333 & -0.918333333333333 \tabularnewline
35 & 1.2 & 2.31833333333333 & -1.11833333333333 \tabularnewline
36 & 1.4 & 2.25833333333333 & -0.858333333333334 \tabularnewline
37 & 2.2 & 2.8675 & -0.667499999999999 \tabularnewline
38 & 2.9 & 2.6875 & 0.212499999999999 \tabularnewline
39 & 3.1 & 2.6675 & 0.4325 \tabularnewline
40 & 3.5 & 2.5675 & 0.9325 \tabularnewline
41 & 3.6 & 2.6275 & 0.9725 \tabularnewline
42 & 4.4 & 2.5075 & 1.8925 \tabularnewline
43 & 4.1 & 2.4675 & 1.6325 \tabularnewline
44 & 5.1 & 2.4075 & 2.6925 \tabularnewline
45 & 5.8 & 2.4075 & 3.3925 \tabularnewline
46 & 5.9 & 2.21833333333333 & 3.68166666666667 \tabularnewline
47 & 5.4 & 2.31833333333333 & 3.08166666666667 \tabularnewline
48 & 5.5 & 2.25833333333333 & 3.24166666666667 \tabularnewline
49 & 4.8 & 2.8675 & 1.9325 \tabularnewline
50 & 3.2 & 2.6875 & 0.5125 \tabularnewline
51 & 2.7 & 2.6675 & 0.0324999999999999 \tabularnewline
52 & 2.1 & 2.5675 & -0.4675 \tabularnewline
53 & 1.9 & 2.6275 & -0.7275 \tabularnewline
54 & 0.6 & 2.5075 & -1.9075 \tabularnewline
55 & 0.7 & 2.4675 & -1.7675 \tabularnewline
56 & -0.2 & 2.4075 & -2.6075 \tabularnewline
57 & -1 & 2.4075 & -3.4075 \tabularnewline
58 & -1.7 & 2.21833333333333 & -3.91833333333333 \tabularnewline
59 & -0.7 & 2.31833333333333 & -3.01833333333333 \tabularnewline
60 & -1 & 2.25833333333333 & -3.25833333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58449&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]2.7[/C][C]2.62166666666668[/C][C]0.0783333333333253[/C][/ROW]
[ROW][C]2[/C][C]2.3[/C][C]2.44166666666667[/C][C]-0.141666666666665[/C][/ROW]
[ROW][C]3[/C][C]1.9[/C][C]2.42166666666667[/C][C]-0.521666666666667[/C][/ROW]
[ROW][C]4[/C][C]2[/C][C]2.32166666666667[/C][C]-0.321666666666667[/C][/ROW]
[ROW][C]5[/C][C]2.3[/C][C]2.38166666666667[/C][C]-0.0816666666666665[/C][/ROW]
[ROW][C]6[/C][C]2.8[/C][C]2.26166666666667[/C][C]0.538333333333332[/C][/ROW]
[ROW][C]7[/C][C]2.4[/C][C]2.22166666666667[/C][C]0.178333333333334[/C][/ROW]
[ROW][C]8[/C][C]2.3[/C][C]2.16166666666667[/C][C]0.138333333333334[/C][/ROW]
[ROW][C]9[/C][C]2.7[/C][C]2.16166666666667[/C][C]0.538333333333334[/C][/ROW]
[ROW][C]10[/C][C]2.7[/C][C]1.9725[/C][C]0.7275[/C][/ROW]
[ROW][C]11[/C][C]2.9[/C][C]2.0725[/C][C]0.8275[/C][/ROW]
[ROW][C]12[/C][C]3[/C][C]2.0125[/C][C]0.9875[/C][/ROW]
[ROW][C]13[/C][C]2.2[/C][C]2.62166666666666[/C][C]-0.421666666666664[/C][/ROW]
[ROW][C]14[/C][C]2.3[/C][C]2.44166666666667[/C][C]-0.141666666666667[/C][/ROW]
[ROW][C]15[/C][C]2.8[/C][C]2.42166666666667[/C][C]0.378333333333334[/C][/ROW]
[ROW][C]16[/C][C]2.8[/C][C]2.32166666666667[/C][C]0.478333333333334[/C][/ROW]
[ROW][C]17[/C][C]2.8[/C][C]2.38166666666667[/C][C]0.418333333333333[/C][/ROW]
[ROW][C]18[/C][C]2.2[/C][C]2.26166666666667[/C][C]-0.0616666666666665[/C][/ROW]
[ROW][C]19[/C][C]2.6[/C][C]2.22166666666667[/C][C]0.378333333333334[/C][/ROW]
[ROW][C]20[/C][C]2.8[/C][C]2.16166666666667[/C][C]0.638333333333334[/C][/ROW]
[ROW][C]21[/C][C]2.5[/C][C]2.16166666666667[/C][C]0.338333333333333[/C][/ROW]
[ROW][C]22[/C][C]2.4[/C][C]1.9725[/C][C]0.4275[/C][/ROW]
[ROW][C]23[/C][C]2.3[/C][C]2.0725[/C][C]0.2275[/C][/ROW]
[ROW][C]24[/C][C]1.9[/C][C]2.0125[/C][C]-0.112500000000000[/C][/ROW]
[ROW][C]25[/C][C]1.7[/C][C]2.62166666666666[/C][C]-0.921666666666665[/C][/ROW]
[ROW][C]26[/C][C]2[/C][C]2.44166666666667[/C][C]-0.441666666666666[/C][/ROW]
[ROW][C]27[/C][C]2.1[/C][C]2.42166666666667[/C][C]-0.321666666666666[/C][/ROW]
[ROW][C]28[/C][C]1.7[/C][C]2.32166666666667[/C][C]-0.621666666666666[/C][/ROW]
[ROW][C]29[/C][C]1.8[/C][C]2.38166666666667[/C][C]-0.581666666666667[/C][/ROW]
[ROW][C]30[/C][C]1.8[/C][C]2.26166666666667[/C][C]-0.461666666666667[/C][/ROW]
[ROW][C]31[/C][C]1.8[/C][C]2.22166666666667[/C][C]-0.421666666666666[/C][/ROW]
[ROW][C]32[/C][C]1.3[/C][C]2.16166666666667[/C][C]-0.861666666666666[/C][/ROW]
[ROW][C]33[/C][C]1.3[/C][C]2.16166666666667[/C][C]-0.861666666666666[/C][/ROW]
[ROW][C]34[/C][C]1.3[/C][C]2.21833333333333[/C][C]-0.918333333333333[/C][/ROW]
[ROW][C]35[/C][C]1.2[/C][C]2.31833333333333[/C][C]-1.11833333333333[/C][/ROW]
[ROW][C]36[/C][C]1.4[/C][C]2.25833333333333[/C][C]-0.858333333333334[/C][/ROW]
[ROW][C]37[/C][C]2.2[/C][C]2.8675[/C][C]-0.667499999999999[/C][/ROW]
[ROW][C]38[/C][C]2.9[/C][C]2.6875[/C][C]0.212499999999999[/C][/ROW]
[ROW][C]39[/C][C]3.1[/C][C]2.6675[/C][C]0.4325[/C][/ROW]
[ROW][C]40[/C][C]3.5[/C][C]2.5675[/C][C]0.9325[/C][/ROW]
[ROW][C]41[/C][C]3.6[/C][C]2.6275[/C][C]0.9725[/C][/ROW]
[ROW][C]42[/C][C]4.4[/C][C]2.5075[/C][C]1.8925[/C][/ROW]
[ROW][C]43[/C][C]4.1[/C][C]2.4675[/C][C]1.6325[/C][/ROW]
[ROW][C]44[/C][C]5.1[/C][C]2.4075[/C][C]2.6925[/C][/ROW]
[ROW][C]45[/C][C]5.8[/C][C]2.4075[/C][C]3.3925[/C][/ROW]
[ROW][C]46[/C][C]5.9[/C][C]2.21833333333333[/C][C]3.68166666666667[/C][/ROW]
[ROW][C]47[/C][C]5.4[/C][C]2.31833333333333[/C][C]3.08166666666667[/C][/ROW]
[ROW][C]48[/C][C]5.5[/C][C]2.25833333333333[/C][C]3.24166666666667[/C][/ROW]
[ROW][C]49[/C][C]4.8[/C][C]2.8675[/C][C]1.9325[/C][/ROW]
[ROW][C]50[/C][C]3.2[/C][C]2.6875[/C][C]0.5125[/C][/ROW]
[ROW][C]51[/C][C]2.7[/C][C]2.6675[/C][C]0.0324999999999999[/C][/ROW]
[ROW][C]52[/C][C]2.1[/C][C]2.5675[/C][C]-0.4675[/C][/ROW]
[ROW][C]53[/C][C]1.9[/C][C]2.6275[/C][C]-0.7275[/C][/ROW]
[ROW][C]54[/C][C]0.6[/C][C]2.5075[/C][C]-1.9075[/C][/ROW]
[ROW][C]55[/C][C]0.7[/C][C]2.4675[/C][C]-1.7675[/C][/ROW]
[ROW][C]56[/C][C]-0.2[/C][C]2.4075[/C][C]-2.6075[/C][/ROW]
[ROW][C]57[/C][C]-1[/C][C]2.4075[/C][C]-3.4075[/C][/ROW]
[ROW][C]58[/C][C]-1.7[/C][C]2.21833333333333[/C][C]-3.91833333333333[/C][/ROW]
[ROW][C]59[/C][C]-0.7[/C][C]2.31833333333333[/C][C]-3.01833333333333[/C][/ROW]
[ROW][C]60[/C][C]-1[/C][C]2.25833333333333[/C][C]-3.25833333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58449&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58449&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
12.72.621666666666680.0783333333333253
22.32.44166666666667-0.141666666666665
31.92.42166666666667-0.521666666666667
422.32166666666667-0.321666666666667
52.32.38166666666667-0.0816666666666665
62.82.261666666666670.538333333333332
72.42.221666666666670.178333333333334
82.32.161666666666670.138333333333334
92.72.161666666666670.538333333333334
102.71.97250.7275
112.92.07250.8275
1232.01250.9875
132.22.62166666666666-0.421666666666664
142.32.44166666666667-0.141666666666667
152.82.421666666666670.378333333333334
162.82.321666666666670.478333333333334
172.82.381666666666670.418333333333333
182.22.26166666666667-0.0616666666666665
192.62.221666666666670.378333333333334
202.82.161666666666670.638333333333334
212.52.161666666666670.338333333333333
222.41.97250.4275
232.32.07250.2275
241.92.0125-0.112500000000000
251.72.62166666666666-0.921666666666665
2622.44166666666667-0.441666666666666
272.12.42166666666667-0.321666666666666
281.72.32166666666667-0.621666666666666
291.82.38166666666667-0.581666666666667
301.82.26166666666667-0.461666666666667
311.82.22166666666667-0.421666666666666
321.32.16166666666667-0.861666666666666
331.32.16166666666667-0.861666666666666
341.32.21833333333333-0.918333333333333
351.22.31833333333333-1.11833333333333
361.42.25833333333333-0.858333333333334
372.22.8675-0.667499999999999
382.92.68750.212499999999999
393.12.66750.4325
403.52.56750.9325
413.62.62750.9725
424.42.50751.8925
434.12.46751.6325
445.12.40752.6925
455.82.40753.3925
465.92.218333333333333.68166666666667
475.42.318333333333333.08166666666667
485.52.258333333333333.24166666666667
494.82.86751.9325
503.22.68750.5125
512.72.66750.0324999999999999
522.12.5675-0.4675
531.92.6275-0.7275
540.62.5075-1.9075
550.72.4675-1.7675
56-0.22.4075-2.6075
57-12.4075-3.4075
58-1.72.21833333333333-3.91833333333333
59-0.72.31833333333333-3.01833333333333
60-12.25833333333333-3.25833333333333







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.02264157267969440.04528314535938870.977358427320306
170.00601493182785330.01202986365570660.993985068172147
180.001755193707308800.003510387414617590.998244806292691
190.0003557286758836540.0007114573517673080.999644271324116
209.05990640179736e-050.0001811981280359470.999909400935982
211.68246979634576e-053.36493959269153e-050.999983175302037
223.2745470708898e-066.5490941417796e-060.99999672545293
239.5311937907942e-071.90623875815884e-060.99999904688062
248.63235589500881e-071.72647117900176e-060.99999913676441
253.76601293769095e-077.5320258753819e-070.999999623398706
267.55785418836321e-081.51157083767264e-070.999999924421458
271.39007506214718e-082.78015012429437e-080.99999998609925
285.06519650858046e-091.01303930171609e-080.999999994934804
291.97935364450268e-093.95870728900535e-090.999999998020646
306.64282338176126e-101.32856467635225e-090.999999999335718
312.16073587231963e-104.32147174463926e-100.999999999783926
322.65471738856274e-105.30943477712549e-100.999999999734528
332.83961175764543e-105.67922351529086e-100.999999999716039
344.91950460330059e-119.83900920660118e-110.999999999950805
358.4312701722867e-121.68625403445734e-110.999999999991569
361.37822415580796e-122.75644831161593e-120.999999999998622
371.06211244349010e-122.12422488698021e-120.999999999998938
381.39085626708724e-122.78171253417449e-120.99999999999861
399.34200461682138e-131.86840092336428e-120.999999999999066
401.04186579472700e-122.08373158945401e-120.999999999998958
415.80743126466267e-131.16148625293253e-120.99999999999942
421.96106266934760e-123.92212533869521e-120.99999999999804
431.62127461758339e-123.24254923516679e-120.999999999998379
441.97462267047088e-113.94924534094176e-110.999999999980254

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0226415726796944 & 0.0452831453593887 & 0.977358427320306 \tabularnewline
17 & 0.0060149318278533 & 0.0120298636557066 & 0.993985068172147 \tabularnewline
18 & 0.00175519370730880 & 0.00351038741461759 & 0.998244806292691 \tabularnewline
19 & 0.000355728675883654 & 0.000711457351767308 & 0.999644271324116 \tabularnewline
20 & 9.05990640179736e-05 & 0.000181198128035947 & 0.999909400935982 \tabularnewline
21 & 1.68246979634576e-05 & 3.36493959269153e-05 & 0.999983175302037 \tabularnewline
22 & 3.2745470708898e-06 & 6.5490941417796e-06 & 0.99999672545293 \tabularnewline
23 & 9.5311937907942e-07 & 1.90623875815884e-06 & 0.99999904688062 \tabularnewline
24 & 8.63235589500881e-07 & 1.72647117900176e-06 & 0.99999913676441 \tabularnewline
25 & 3.76601293769095e-07 & 7.5320258753819e-07 & 0.999999623398706 \tabularnewline
26 & 7.55785418836321e-08 & 1.51157083767264e-07 & 0.999999924421458 \tabularnewline
27 & 1.39007506214718e-08 & 2.78015012429437e-08 & 0.99999998609925 \tabularnewline
28 & 5.06519650858046e-09 & 1.01303930171609e-08 & 0.999999994934804 \tabularnewline
29 & 1.97935364450268e-09 & 3.95870728900535e-09 & 0.999999998020646 \tabularnewline
30 & 6.64282338176126e-10 & 1.32856467635225e-09 & 0.999999999335718 \tabularnewline
31 & 2.16073587231963e-10 & 4.32147174463926e-10 & 0.999999999783926 \tabularnewline
32 & 2.65471738856274e-10 & 5.30943477712549e-10 & 0.999999999734528 \tabularnewline
33 & 2.83961175764543e-10 & 5.67922351529086e-10 & 0.999999999716039 \tabularnewline
34 & 4.91950460330059e-11 & 9.83900920660118e-11 & 0.999999999950805 \tabularnewline
35 & 8.4312701722867e-12 & 1.68625403445734e-11 & 0.999999999991569 \tabularnewline
36 & 1.37822415580796e-12 & 2.75644831161593e-12 & 0.999999999998622 \tabularnewline
37 & 1.06211244349010e-12 & 2.12422488698021e-12 & 0.999999999998938 \tabularnewline
38 & 1.39085626708724e-12 & 2.78171253417449e-12 & 0.99999999999861 \tabularnewline
39 & 9.34200461682138e-13 & 1.86840092336428e-12 & 0.999999999999066 \tabularnewline
40 & 1.04186579472700e-12 & 2.08373158945401e-12 & 0.999999999998958 \tabularnewline
41 & 5.80743126466267e-13 & 1.16148625293253e-12 & 0.99999999999942 \tabularnewline
42 & 1.96106266934760e-12 & 3.92212533869521e-12 & 0.99999999999804 \tabularnewline
43 & 1.62127461758339e-12 & 3.24254923516679e-12 & 0.999999999998379 \tabularnewline
44 & 1.97462267047088e-11 & 3.94924534094176e-11 & 0.999999999980254 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58449&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.0226415726796944[/C][C]0.0452831453593887[/C][C]0.977358427320306[/C][/ROW]
[ROW][C]17[/C][C]0.0060149318278533[/C][C]0.0120298636557066[/C][C]0.993985068172147[/C][/ROW]
[ROW][C]18[/C][C]0.00175519370730880[/C][C]0.00351038741461759[/C][C]0.998244806292691[/C][/ROW]
[ROW][C]19[/C][C]0.000355728675883654[/C][C]0.000711457351767308[/C][C]0.999644271324116[/C][/ROW]
[ROW][C]20[/C][C]9.05990640179736e-05[/C][C]0.000181198128035947[/C][C]0.999909400935982[/C][/ROW]
[ROW][C]21[/C][C]1.68246979634576e-05[/C][C]3.36493959269153e-05[/C][C]0.999983175302037[/C][/ROW]
[ROW][C]22[/C][C]3.2745470708898e-06[/C][C]6.5490941417796e-06[/C][C]0.99999672545293[/C][/ROW]
[ROW][C]23[/C][C]9.5311937907942e-07[/C][C]1.90623875815884e-06[/C][C]0.99999904688062[/C][/ROW]
[ROW][C]24[/C][C]8.63235589500881e-07[/C][C]1.72647117900176e-06[/C][C]0.99999913676441[/C][/ROW]
[ROW][C]25[/C][C]3.76601293769095e-07[/C][C]7.5320258753819e-07[/C][C]0.999999623398706[/C][/ROW]
[ROW][C]26[/C][C]7.55785418836321e-08[/C][C]1.51157083767264e-07[/C][C]0.999999924421458[/C][/ROW]
[ROW][C]27[/C][C]1.39007506214718e-08[/C][C]2.78015012429437e-08[/C][C]0.99999998609925[/C][/ROW]
[ROW][C]28[/C][C]5.06519650858046e-09[/C][C]1.01303930171609e-08[/C][C]0.999999994934804[/C][/ROW]
[ROW][C]29[/C][C]1.97935364450268e-09[/C][C]3.95870728900535e-09[/C][C]0.999999998020646[/C][/ROW]
[ROW][C]30[/C][C]6.64282338176126e-10[/C][C]1.32856467635225e-09[/C][C]0.999999999335718[/C][/ROW]
[ROW][C]31[/C][C]2.16073587231963e-10[/C][C]4.32147174463926e-10[/C][C]0.999999999783926[/C][/ROW]
[ROW][C]32[/C][C]2.65471738856274e-10[/C][C]5.30943477712549e-10[/C][C]0.999999999734528[/C][/ROW]
[ROW][C]33[/C][C]2.83961175764543e-10[/C][C]5.67922351529086e-10[/C][C]0.999999999716039[/C][/ROW]
[ROW][C]34[/C][C]4.91950460330059e-11[/C][C]9.83900920660118e-11[/C][C]0.999999999950805[/C][/ROW]
[ROW][C]35[/C][C]8.4312701722867e-12[/C][C]1.68625403445734e-11[/C][C]0.999999999991569[/C][/ROW]
[ROW][C]36[/C][C]1.37822415580796e-12[/C][C]2.75644831161593e-12[/C][C]0.999999999998622[/C][/ROW]
[ROW][C]37[/C][C]1.06211244349010e-12[/C][C]2.12422488698021e-12[/C][C]0.999999999998938[/C][/ROW]
[ROW][C]38[/C][C]1.39085626708724e-12[/C][C]2.78171253417449e-12[/C][C]0.99999999999861[/C][/ROW]
[ROW][C]39[/C][C]9.34200461682138e-13[/C][C]1.86840092336428e-12[/C][C]0.999999999999066[/C][/ROW]
[ROW][C]40[/C][C]1.04186579472700e-12[/C][C]2.08373158945401e-12[/C][C]0.999999999998958[/C][/ROW]
[ROW][C]41[/C][C]5.80743126466267e-13[/C][C]1.16148625293253e-12[/C][C]0.99999999999942[/C][/ROW]
[ROW][C]42[/C][C]1.96106266934760e-12[/C][C]3.92212533869521e-12[/C][C]0.99999999999804[/C][/ROW]
[ROW][C]43[/C][C]1.62127461758339e-12[/C][C]3.24254923516679e-12[/C][C]0.999999999998379[/C][/ROW]
[ROW][C]44[/C][C]1.97462267047088e-11[/C][C]3.94924534094176e-11[/C][C]0.999999999980254[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58449&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58449&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.02264157267969440.04528314535938870.977358427320306
170.00601493182785330.01202986365570660.993985068172147
180.001755193707308800.003510387414617590.998244806292691
190.0003557286758836540.0007114573517673080.999644271324116
209.05990640179736e-050.0001811981280359470.999909400935982
211.68246979634576e-053.36493959269153e-050.999983175302037
223.2745470708898e-066.5490941417796e-060.99999672545293
239.5311937907942e-071.90623875815884e-060.99999904688062
248.63235589500881e-071.72647117900176e-060.99999913676441
253.76601293769095e-077.5320258753819e-070.999999623398706
267.55785418836321e-081.51157083767264e-070.999999924421458
271.39007506214718e-082.78015012429437e-080.99999998609925
285.06519650858046e-091.01303930171609e-080.999999994934804
291.97935364450268e-093.95870728900535e-090.999999998020646
306.64282338176126e-101.32856467635225e-090.999999999335718
312.16073587231963e-104.32147174463926e-100.999999999783926
322.65471738856274e-105.30943477712549e-100.999999999734528
332.83961175764543e-105.67922351529086e-100.999999999716039
344.91950460330059e-119.83900920660118e-110.999999999950805
358.4312701722867e-121.68625403445734e-110.999999999991569
361.37822415580796e-122.75644831161593e-120.999999999998622
371.06211244349010e-122.12422488698021e-120.999999999998938
381.39085626708724e-122.78171253417449e-120.99999999999861
399.34200461682138e-131.86840092336428e-120.999999999999066
401.04186579472700e-122.08373158945401e-120.999999999998958
415.80743126466267e-131.16148625293253e-120.99999999999942
421.96106266934760e-123.92212533869521e-120.99999999999804
431.62127461758339e-123.24254923516679e-120.999999999998379
441.97462267047088e-113.94924534094176e-110.999999999980254







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level270.93103448275862NOK
5% type I error level291NOK
10% type I error level291NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58449&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 level270.93103448275862NOK
5% type I error level291NOK
10% type I error level291NOK



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