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 computationTue, 21 Dec 2010 17:01: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/21/t1292950784nb44umwfatutaxn.htm/, Retrieved Mon, 06 May 2024 12:24:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113755, Retrieved Mon, 06 May 2024 12:24:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact191
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-   PD  [Multiple Regression] [Meervoudige regre...] [2010-11-19 12:47:27] [2960375a246cc0628590c95c4038a43c]
-   PD    [Multiple Regression] [Meervoudige regre...] [2010-11-21 10:08:26] [2960375a246cc0628590c95c4038a43c]
- R  D      [Multiple Regression] [Mini-tutorial Ws 7] [2010-11-23 19:58:46] [608064602fec1c42028cf50c6f981c88]
-    D        [Multiple Regression] [Meervoudig regres...] [2010-12-21 16:24:26] [608064602fec1c42028cf50c6f981c88]
-   PD            [Multiple Regression] [Meervoudig regres...] [2010-12-21 17:01:49] [8bf9de033bd61652831a8b7489bc3566] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.8	8.1	0
8.5	9.9	0
8.6	11.5	0
8.7	23.4	0
9.1	25.4	0
8.8	27.9	0
6.3	26.1	0
2.5	18.8	0
-2.7	14.1	0
-4.5	11.5	0
-7	15.8	0
-9.3	12.4	0
-12.2	4.5	0
-13.2	-2.2	1
-13.7	-4.2	1
-15	-9.4	1
-16.9	-14.5	1
-16.3	-17.9	1
-16.7	-15.1	1
-16	-15.2	1
-14.5	-15.7	1
-12.2	-18	1
-7.5	-18.1	1
-4.4	-13.5	1
-1.1	-9.9	1
1.3	-4.8	1
-0.1	-1.7	0
0.4	-0.1	0
2.4	2.2	0
1	10.2	0
3.3	7.6	0
1.8	10.8	0
3.2	3.8	0
1.3	11	0
1.5	10.8	0
1.3	20.1	0
2	14.9	0
3	13	0
4.4	10.9	0
3.1	9.6	0
2.6	4	0
2.7	-1.1	0
4	-7.7	0
4.1	-8.9	0
3	-8	0
2.7	-7.1	0
4	-5.3	0
4.8	-2.5	0
6	-2.4	0
4.6	-2.9	0
4.4	-4.8	0
6.6	-7.2	0
4.7	1.7	0
7.6	2.2	0
5.3	13.4	0
6.6	12.3	0
4	13.7	0
3.8	4.4	0
1.2	-2.5	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 72.249.76.132

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

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







Multiple Linear Regression - Estimated Regression Equation
Industriële_productie[t] = + 1.52135612764115 + 0.0240283609530079registratie_personenwagens[t] -14.0818924662892crisis[t] + 1.92197614831955M1[t] + 4.88892712039673M2[t] + 1.95879600098666M3[t] + 1.97668990890989M4[t] + 1.58467572843338M5[t] + 1.95266154795688M6[t] + 1.61824453138508M7[t] + 1.00948140062399M8[t] -0.142942444689056M9[t] -0.493627844326387M10[t] -0.268341604916727M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Industriële_productie[t] =  +  1.52135612764115 +  0.0240283609530079registratie_personenwagens[t] -14.0818924662892crisis[t] +  1.92197614831955M1[t] +  4.88892712039673M2[t] +  1.95879600098666M3[t] +  1.97668990890989M4[t] +  1.58467572843338M5[t] +  1.95266154795688M6[t] +  1.61824453138508M7[t] +  1.00948140062399M8[t] -0.142942444689056M9[t] -0.493627844326387M10[t] -0.268341604916727M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113755&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Industriële_productie[t] =  +  1.52135612764115 +  0.0240283609530079registratie_personenwagens[t] -14.0818924662892crisis[t] +  1.92197614831955M1[t] +  4.88892712039673M2[t] +  1.95879600098666M3[t] +  1.97668990890989M4[t] +  1.58467572843338M5[t] +  1.95266154795688M6[t] +  1.61824453138508M7[t] +  1.00948140062399M8[t] -0.142942444689056M9[t] -0.493627844326387M10[t] -0.268341604916727M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113755&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113755&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
Industriële_productie[t] = + 1.52135612764115 + 0.0240283609530079registratie_personenwagens[t] -14.0818924662892crisis[t] + 1.92197614831955M1[t] + 4.88892712039673M2[t] + 1.95879600098666M3[t] + 1.97668990890989M4[t] + 1.58467572843338M5[t] + 1.95266154795688M6[t] + 1.61824453138508M7[t] + 1.00948140062399M8[t] -0.142942444689056M9[t] -0.493627844326387M10[t] -0.268341604916727M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.521356127641152.7445990.55430.5821120.291056
registratie_personenwagens0.02402836095300790.0785810.30580.7611840.380592
crisis-14.08189246628922.264548-6.218400
M11.921976148319553.5180970.54630.5875510.293775
M24.888927120396733.5239431.38730.1721690.086085
M31.958796000986663.5210630.55630.5807560.290378
M41.976689908909893.5173420.5620.5769160.288458
M51.584675728433383.5159420.45070.6543620.327181
M61.952661547956883.5149810.55550.5812870.290643
M71.618244531385083.5144060.46050.6474030.323702
M81.009481400623993.516450.28710.7753730.387687
M9-0.1429424446890563.525252-0.04050.9678350.483918
M10-0.4936278443263873.534077-0.13970.8895390.444769
M11-0.2683416049167273.535943-0.07590.9398430.469922

\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) & 1.52135612764115 & 2.744599 & 0.5543 & 0.582112 & 0.291056 \tabularnewline
registratie_personenwagens & 0.0240283609530079 & 0.078581 & 0.3058 & 0.761184 & 0.380592 \tabularnewline
crisis & -14.0818924662892 & 2.264548 & -6.2184 & 0 & 0 \tabularnewline
M1 & 1.92197614831955 & 3.518097 & 0.5463 & 0.587551 & 0.293775 \tabularnewline
M2 & 4.88892712039673 & 3.523943 & 1.3873 & 0.172169 & 0.086085 \tabularnewline
M3 & 1.95879600098666 & 3.521063 & 0.5563 & 0.580756 & 0.290378 \tabularnewline
M4 & 1.97668990890989 & 3.517342 & 0.562 & 0.576916 & 0.288458 \tabularnewline
M5 & 1.58467572843338 & 3.515942 & 0.4507 & 0.654362 & 0.327181 \tabularnewline
M6 & 1.95266154795688 & 3.514981 & 0.5555 & 0.581287 & 0.290643 \tabularnewline
M7 & 1.61824453138508 & 3.514406 & 0.4605 & 0.647403 & 0.323702 \tabularnewline
M8 & 1.00948140062399 & 3.51645 & 0.2871 & 0.775373 & 0.387687 \tabularnewline
M9 & -0.142942444689056 & 3.525252 & -0.0405 & 0.967835 & 0.483918 \tabularnewline
M10 & -0.493627844326387 & 3.534077 & -0.1397 & 0.889539 & 0.444769 \tabularnewline
M11 & -0.268341604916727 & 3.535943 & -0.0759 & 0.939843 & 0.469922 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113755&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]1.52135612764115[/C][C]2.744599[/C][C]0.5543[/C][C]0.582112[/C][C]0.291056[/C][/ROW]
[ROW][C]registratie_personenwagens[/C][C]0.0240283609530079[/C][C]0.078581[/C][C]0.3058[/C][C]0.761184[/C][C]0.380592[/C][/ROW]
[ROW][C]crisis[/C][C]-14.0818924662892[/C][C]2.264548[/C][C]-6.2184[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]1.92197614831955[/C][C]3.518097[/C][C]0.5463[/C][C]0.587551[/C][C]0.293775[/C][/ROW]
[ROW][C]M2[/C][C]4.88892712039673[/C][C]3.523943[/C][C]1.3873[/C][C]0.172169[/C][C]0.086085[/C][/ROW]
[ROW][C]M3[/C][C]1.95879600098666[/C][C]3.521063[/C][C]0.5563[/C][C]0.580756[/C][C]0.290378[/C][/ROW]
[ROW][C]M4[/C][C]1.97668990890989[/C][C]3.517342[/C][C]0.562[/C][C]0.576916[/C][C]0.288458[/C][/ROW]
[ROW][C]M5[/C][C]1.58467572843338[/C][C]3.515942[/C][C]0.4507[/C][C]0.654362[/C][C]0.327181[/C][/ROW]
[ROW][C]M6[/C][C]1.95266154795688[/C][C]3.514981[/C][C]0.5555[/C][C]0.581287[/C][C]0.290643[/C][/ROW]
[ROW][C]M7[/C][C]1.61824453138508[/C][C]3.514406[/C][C]0.4605[/C][C]0.647403[/C][C]0.323702[/C][/ROW]
[ROW][C]M8[/C][C]1.00948140062399[/C][C]3.51645[/C][C]0.2871[/C][C]0.775373[/C][C]0.387687[/C][/ROW]
[ROW][C]M9[/C][C]-0.142942444689056[/C][C]3.525252[/C][C]-0.0405[/C][C]0.967835[/C][C]0.483918[/C][/ROW]
[ROW][C]M10[/C][C]-0.493627844326387[/C][C]3.534077[/C][C]-0.1397[/C][C]0.889539[/C][C]0.444769[/C][/ROW]
[ROW][C]M11[/C][C]-0.268341604916727[/C][C]3.535943[/C][C]-0.0759[/C][C]0.939843[/C][C]0.469922[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113755&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113755&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)1.521356127641152.7445990.55430.5821120.291056
registratie_personenwagens0.02402836095300790.0785810.30580.7611840.380592
crisis-14.08189246628922.264548-6.218400
M11.921976148319553.5180970.54630.5875510.293775
M24.888927120396733.5239431.38730.1721690.086085
M31.958796000986663.5210630.55630.5807560.290378
M41.976689908909893.5173420.5620.5769160.288458
M51.584675728433383.5159420.45070.6543620.327181
M61.952661547956883.5149810.55550.5812870.290643
M71.618244531385083.5144060.46050.6474030.323702
M81.009481400623993.516450.28710.7753730.387687
M9-0.1429424446890563.525252-0.04050.9678350.483918
M10-0.4936278443263873.534077-0.13970.8895390.444769
M11-0.2683416049167273.535943-0.07590.9398430.469922







Multiple Linear Regression - Regression Statistics
Multiple R0.798836521394294
R-squared0.638139787913337
Adjusted R-squared0.533602393310523
F-TEST (value)6.1044164180476
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value2.23704555324389e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.23742733164919
Sum Squared Residuals1234.37902744377

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.798836521394294 \tabularnewline
R-squared & 0.638139787913337 \tabularnewline
Adjusted R-squared & 0.533602393310523 \tabularnewline
F-TEST (value) & 6.1044164180476 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 2.23704555324389e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.23742733164919 \tabularnewline
Sum Squared Residuals & 1234.37902744377 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113755&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.798836521394294[/C][/ROW]
[ROW][C]R-squared[/C][C]0.638139787913337[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.533602393310523[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.1044164180476[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]2.23704555324389e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.23742733164919[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1234.37902744377[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113755&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113755&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.798836521394294
R-squared0.638139787913337
Adjusted R-squared0.533602393310523
F-TEST (value)6.1044164180476
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value2.23704555324389e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.23742733164919
Sum Squared Residuals1234.37902744377







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.83.637961999680075.16203800031993
28.56.648164021472651.85183597852735
38.63.756478279587394.84352172041261
48.74.060309682851424.63969031714858
59.13.716352224280945.38364777571906
68.84.144408946186954.65559105381305
76.33.766740879899732.53325912010027
82.52.98257071418168-0.482570714181684
9-2.71.71721357238951-4.41721357238951
10-4.51.30405443427436-5.80405443427436
11-71.63266262578194-8.63266262578194
12-9.31.81930780345845-11.1193078034584
13-12.23.55145990024923-15.7514599002492
14-13.2-7.72447161234797-5.47552838765203
15-13.7-10.7026594536640-2.99734054633595
16-15-10.8097130226965-4.19028697730354
17-16.9-11.3242718440333-5.5757281559667
18-16.3-11.0379824517500-5.26201754824997
19-16.7-11.3051200576534-5.39487994234659
20-16-11.9162860245098-4.08371397549019
21-14.5-13.0807240502994-1.41927594970065
22-12.2-13.48667468012861.28667468012861
23-7.5-13.26379127681425.76379127681424
24-4.4-12.88491921151378.48491921151368
25-1.1-10.87644096376339.7764409637633
261.3-7.786945350825799.08694535082579
27-0.13.4393039150077-3.5393039150077
280.43.49564320045574-3.09564320045574
292.43.15889425017115-0.75889425017115
3013.71910695731871-2.71910695731871
313.33.32221620226909-0.0222162022690867
321.82.79034382655762-0.990343826557624
333.21.469721454573521.73027854542648
341.31.292040253797850.00795974620215367
351.51.51252082101691-0.0125208210169078
361.32.00432618279661-0.704326182796609
3723.80135485416052-1.80135485416052
3836.72265194042697-3.72265194042697
394.43.74206126301560.657938736984404
403.13.72871830169991-0.628718301699914
412.63.20214529988656-0.602145299886565
422.73.44758647854972-0.747586478549722
4342.954582279688061.04541772031194
444.12.316985115783371.78301488421663
4531.186186795328031.81381320467197
462.70.8571269205484061.84287307945159
4741.125664209673482.87433579032652
484.81.461285225258633.33871477474137
4963.385664209673482.61433579032652
504.66.34060100127415-1.74060100127415
514.43.364815996053371.03518400394663
526.63.325041837689383.27495816231062
534.73.146880069694651.55311993030535
547.63.526880069694654.07311993030535
555.33.461580695796531.83841930420347
566.62.826386367987143.77361363201286
5741.70760222800832.2923977719917
583.81.133453071507992.66654692849201
591.21.192943620341900.00705637965809747

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.8 & 3.63796199968007 & 5.16203800031993 \tabularnewline
2 & 8.5 & 6.64816402147265 & 1.85183597852735 \tabularnewline
3 & 8.6 & 3.75647827958739 & 4.84352172041261 \tabularnewline
4 & 8.7 & 4.06030968285142 & 4.63969031714858 \tabularnewline
5 & 9.1 & 3.71635222428094 & 5.38364777571906 \tabularnewline
6 & 8.8 & 4.14440894618695 & 4.65559105381305 \tabularnewline
7 & 6.3 & 3.76674087989973 & 2.53325912010027 \tabularnewline
8 & 2.5 & 2.98257071418168 & -0.482570714181684 \tabularnewline
9 & -2.7 & 1.71721357238951 & -4.41721357238951 \tabularnewline
10 & -4.5 & 1.30405443427436 & -5.80405443427436 \tabularnewline
11 & -7 & 1.63266262578194 & -8.63266262578194 \tabularnewline
12 & -9.3 & 1.81930780345845 & -11.1193078034584 \tabularnewline
13 & -12.2 & 3.55145990024923 & -15.7514599002492 \tabularnewline
14 & -13.2 & -7.72447161234797 & -5.47552838765203 \tabularnewline
15 & -13.7 & -10.7026594536640 & -2.99734054633595 \tabularnewline
16 & -15 & -10.8097130226965 & -4.19028697730354 \tabularnewline
17 & -16.9 & -11.3242718440333 & -5.5757281559667 \tabularnewline
18 & -16.3 & -11.0379824517500 & -5.26201754824997 \tabularnewline
19 & -16.7 & -11.3051200576534 & -5.39487994234659 \tabularnewline
20 & -16 & -11.9162860245098 & -4.08371397549019 \tabularnewline
21 & -14.5 & -13.0807240502994 & -1.41927594970065 \tabularnewline
22 & -12.2 & -13.4866746801286 & 1.28667468012861 \tabularnewline
23 & -7.5 & -13.2637912768142 & 5.76379127681424 \tabularnewline
24 & -4.4 & -12.8849192115137 & 8.48491921151368 \tabularnewline
25 & -1.1 & -10.8764409637633 & 9.7764409637633 \tabularnewline
26 & 1.3 & -7.78694535082579 & 9.08694535082579 \tabularnewline
27 & -0.1 & 3.4393039150077 & -3.5393039150077 \tabularnewline
28 & 0.4 & 3.49564320045574 & -3.09564320045574 \tabularnewline
29 & 2.4 & 3.15889425017115 & -0.75889425017115 \tabularnewline
30 & 1 & 3.71910695731871 & -2.71910695731871 \tabularnewline
31 & 3.3 & 3.32221620226909 & -0.0222162022690867 \tabularnewline
32 & 1.8 & 2.79034382655762 & -0.990343826557624 \tabularnewline
33 & 3.2 & 1.46972145457352 & 1.73027854542648 \tabularnewline
34 & 1.3 & 1.29204025379785 & 0.00795974620215367 \tabularnewline
35 & 1.5 & 1.51252082101691 & -0.0125208210169078 \tabularnewline
36 & 1.3 & 2.00432618279661 & -0.704326182796609 \tabularnewline
37 & 2 & 3.80135485416052 & -1.80135485416052 \tabularnewline
38 & 3 & 6.72265194042697 & -3.72265194042697 \tabularnewline
39 & 4.4 & 3.7420612630156 & 0.657938736984404 \tabularnewline
40 & 3.1 & 3.72871830169991 & -0.628718301699914 \tabularnewline
41 & 2.6 & 3.20214529988656 & -0.602145299886565 \tabularnewline
42 & 2.7 & 3.44758647854972 & -0.747586478549722 \tabularnewline
43 & 4 & 2.95458227968806 & 1.04541772031194 \tabularnewline
44 & 4.1 & 2.31698511578337 & 1.78301488421663 \tabularnewline
45 & 3 & 1.18618679532803 & 1.81381320467197 \tabularnewline
46 & 2.7 & 0.857126920548406 & 1.84287307945159 \tabularnewline
47 & 4 & 1.12566420967348 & 2.87433579032652 \tabularnewline
48 & 4.8 & 1.46128522525863 & 3.33871477474137 \tabularnewline
49 & 6 & 3.38566420967348 & 2.61433579032652 \tabularnewline
50 & 4.6 & 6.34060100127415 & -1.74060100127415 \tabularnewline
51 & 4.4 & 3.36481599605337 & 1.03518400394663 \tabularnewline
52 & 6.6 & 3.32504183768938 & 3.27495816231062 \tabularnewline
53 & 4.7 & 3.14688006969465 & 1.55311993030535 \tabularnewline
54 & 7.6 & 3.52688006969465 & 4.07311993030535 \tabularnewline
55 & 5.3 & 3.46158069579653 & 1.83841930420347 \tabularnewline
56 & 6.6 & 2.82638636798714 & 3.77361363201286 \tabularnewline
57 & 4 & 1.7076022280083 & 2.2923977719917 \tabularnewline
58 & 3.8 & 1.13345307150799 & 2.66654692849201 \tabularnewline
59 & 1.2 & 1.19294362034190 & 0.00705637965809747 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113755&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]8.8[/C][C]3.63796199968007[/C][C]5.16203800031993[/C][/ROW]
[ROW][C]2[/C][C]8.5[/C][C]6.64816402147265[/C][C]1.85183597852735[/C][/ROW]
[ROW][C]3[/C][C]8.6[/C][C]3.75647827958739[/C][C]4.84352172041261[/C][/ROW]
[ROW][C]4[/C][C]8.7[/C][C]4.06030968285142[/C][C]4.63969031714858[/C][/ROW]
[ROW][C]5[/C][C]9.1[/C][C]3.71635222428094[/C][C]5.38364777571906[/C][/ROW]
[ROW][C]6[/C][C]8.8[/C][C]4.14440894618695[/C][C]4.65559105381305[/C][/ROW]
[ROW][C]7[/C][C]6.3[/C][C]3.76674087989973[/C][C]2.53325912010027[/C][/ROW]
[ROW][C]8[/C][C]2.5[/C][C]2.98257071418168[/C][C]-0.482570714181684[/C][/ROW]
[ROW][C]9[/C][C]-2.7[/C][C]1.71721357238951[/C][C]-4.41721357238951[/C][/ROW]
[ROW][C]10[/C][C]-4.5[/C][C]1.30405443427436[/C][C]-5.80405443427436[/C][/ROW]
[ROW][C]11[/C][C]-7[/C][C]1.63266262578194[/C][C]-8.63266262578194[/C][/ROW]
[ROW][C]12[/C][C]-9.3[/C][C]1.81930780345845[/C][C]-11.1193078034584[/C][/ROW]
[ROW][C]13[/C][C]-12.2[/C][C]3.55145990024923[/C][C]-15.7514599002492[/C][/ROW]
[ROW][C]14[/C][C]-13.2[/C][C]-7.72447161234797[/C][C]-5.47552838765203[/C][/ROW]
[ROW][C]15[/C][C]-13.7[/C][C]-10.7026594536640[/C][C]-2.99734054633595[/C][/ROW]
[ROW][C]16[/C][C]-15[/C][C]-10.8097130226965[/C][C]-4.19028697730354[/C][/ROW]
[ROW][C]17[/C][C]-16.9[/C][C]-11.3242718440333[/C][C]-5.5757281559667[/C][/ROW]
[ROW][C]18[/C][C]-16.3[/C][C]-11.0379824517500[/C][C]-5.26201754824997[/C][/ROW]
[ROW][C]19[/C][C]-16.7[/C][C]-11.3051200576534[/C][C]-5.39487994234659[/C][/ROW]
[ROW][C]20[/C][C]-16[/C][C]-11.9162860245098[/C][C]-4.08371397549019[/C][/ROW]
[ROW][C]21[/C][C]-14.5[/C][C]-13.0807240502994[/C][C]-1.41927594970065[/C][/ROW]
[ROW][C]22[/C][C]-12.2[/C][C]-13.4866746801286[/C][C]1.28667468012861[/C][/ROW]
[ROW][C]23[/C][C]-7.5[/C][C]-13.2637912768142[/C][C]5.76379127681424[/C][/ROW]
[ROW][C]24[/C][C]-4.4[/C][C]-12.8849192115137[/C][C]8.48491921151368[/C][/ROW]
[ROW][C]25[/C][C]-1.1[/C][C]-10.8764409637633[/C][C]9.7764409637633[/C][/ROW]
[ROW][C]26[/C][C]1.3[/C][C]-7.78694535082579[/C][C]9.08694535082579[/C][/ROW]
[ROW][C]27[/C][C]-0.1[/C][C]3.4393039150077[/C][C]-3.5393039150077[/C][/ROW]
[ROW][C]28[/C][C]0.4[/C][C]3.49564320045574[/C][C]-3.09564320045574[/C][/ROW]
[ROW][C]29[/C][C]2.4[/C][C]3.15889425017115[/C][C]-0.75889425017115[/C][/ROW]
[ROW][C]30[/C][C]1[/C][C]3.71910695731871[/C][C]-2.71910695731871[/C][/ROW]
[ROW][C]31[/C][C]3.3[/C][C]3.32221620226909[/C][C]-0.0222162022690867[/C][/ROW]
[ROW][C]32[/C][C]1.8[/C][C]2.79034382655762[/C][C]-0.990343826557624[/C][/ROW]
[ROW][C]33[/C][C]3.2[/C][C]1.46972145457352[/C][C]1.73027854542648[/C][/ROW]
[ROW][C]34[/C][C]1.3[/C][C]1.29204025379785[/C][C]0.00795974620215367[/C][/ROW]
[ROW][C]35[/C][C]1.5[/C][C]1.51252082101691[/C][C]-0.0125208210169078[/C][/ROW]
[ROW][C]36[/C][C]1.3[/C][C]2.00432618279661[/C][C]-0.704326182796609[/C][/ROW]
[ROW][C]37[/C][C]2[/C][C]3.80135485416052[/C][C]-1.80135485416052[/C][/ROW]
[ROW][C]38[/C][C]3[/C][C]6.72265194042697[/C][C]-3.72265194042697[/C][/ROW]
[ROW][C]39[/C][C]4.4[/C][C]3.7420612630156[/C][C]0.657938736984404[/C][/ROW]
[ROW][C]40[/C][C]3.1[/C][C]3.72871830169991[/C][C]-0.628718301699914[/C][/ROW]
[ROW][C]41[/C][C]2.6[/C][C]3.20214529988656[/C][C]-0.602145299886565[/C][/ROW]
[ROW][C]42[/C][C]2.7[/C][C]3.44758647854972[/C][C]-0.747586478549722[/C][/ROW]
[ROW][C]43[/C][C]4[/C][C]2.95458227968806[/C][C]1.04541772031194[/C][/ROW]
[ROW][C]44[/C][C]4.1[/C][C]2.31698511578337[/C][C]1.78301488421663[/C][/ROW]
[ROW][C]45[/C][C]3[/C][C]1.18618679532803[/C][C]1.81381320467197[/C][/ROW]
[ROW][C]46[/C][C]2.7[/C][C]0.857126920548406[/C][C]1.84287307945159[/C][/ROW]
[ROW][C]47[/C][C]4[/C][C]1.12566420967348[/C][C]2.87433579032652[/C][/ROW]
[ROW][C]48[/C][C]4.8[/C][C]1.46128522525863[/C][C]3.33871477474137[/C][/ROW]
[ROW][C]49[/C][C]6[/C][C]3.38566420967348[/C][C]2.61433579032652[/C][/ROW]
[ROW][C]50[/C][C]4.6[/C][C]6.34060100127415[/C][C]-1.74060100127415[/C][/ROW]
[ROW][C]51[/C][C]4.4[/C][C]3.36481599605337[/C][C]1.03518400394663[/C][/ROW]
[ROW][C]52[/C][C]6.6[/C][C]3.32504183768938[/C][C]3.27495816231062[/C][/ROW]
[ROW][C]53[/C][C]4.7[/C][C]3.14688006969465[/C][C]1.55311993030535[/C][/ROW]
[ROW][C]54[/C][C]7.6[/C][C]3.52688006969465[/C][C]4.07311993030535[/C][/ROW]
[ROW][C]55[/C][C]5.3[/C][C]3.46158069579653[/C][C]1.83841930420347[/C][/ROW]
[ROW][C]56[/C][C]6.6[/C][C]2.82638636798714[/C][C]3.77361363201286[/C][/ROW]
[ROW][C]57[/C][C]4[/C][C]1.7076022280083[/C][C]2.2923977719917[/C][/ROW]
[ROW][C]58[/C][C]3.8[/C][C]1.13345307150799[/C][C]2.66654692849201[/C][/ROW]
[ROW][C]59[/C][C]1.2[/C][C]1.19294362034190[/C][C]0.00705637965809747[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113755&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113755&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
18.83.637961999680075.16203800031993
28.56.648164021472651.85183597852735
38.63.756478279587394.84352172041261
48.74.060309682851424.63969031714858
59.13.716352224280945.38364777571906
68.84.144408946186954.65559105381305
76.33.766740879899732.53325912010027
82.52.98257071418168-0.482570714181684
9-2.71.71721357238951-4.41721357238951
10-4.51.30405443427436-5.80405443427436
11-71.63266262578194-8.63266262578194
12-9.31.81930780345845-11.1193078034584
13-12.23.55145990024923-15.7514599002492
14-13.2-7.72447161234797-5.47552838765203
15-13.7-10.7026594536640-2.99734054633595
16-15-10.8097130226965-4.19028697730354
17-16.9-11.3242718440333-5.5757281559667
18-16.3-11.0379824517500-5.26201754824997
19-16.7-11.3051200576534-5.39487994234659
20-16-11.9162860245098-4.08371397549019
21-14.5-13.0807240502994-1.41927594970065
22-12.2-13.48667468012861.28667468012861
23-7.5-13.26379127681425.76379127681424
24-4.4-12.88491921151378.48491921151368
25-1.1-10.87644096376339.7764409637633
261.3-7.786945350825799.08694535082579
27-0.13.4393039150077-3.5393039150077
280.43.49564320045574-3.09564320045574
292.43.15889425017115-0.75889425017115
3013.71910695731871-2.71910695731871
313.33.32221620226909-0.0222162022690867
321.82.79034382655762-0.990343826557624
333.21.469721454573521.73027854542648
341.31.292040253797850.00795974620215367
351.51.51252082101691-0.0125208210169078
361.32.00432618279661-0.704326182796609
3723.80135485416052-1.80135485416052
3836.72265194042697-3.72265194042697
394.43.74206126301560.657938736984404
403.13.72871830169991-0.628718301699914
412.63.20214529988656-0.602145299886565
422.73.44758647854972-0.747586478549722
4342.954582279688061.04541772031194
444.12.316985115783371.78301488421663
4531.186186795328031.81381320467197
462.70.8571269205484061.84287307945159
4741.125664209673482.87433579032652
484.81.461285225258633.33871477474137
4963.385664209673482.61433579032652
504.66.34060100127415-1.74060100127415
514.43.364815996053371.03518400394663
526.63.325041837689383.27495816231062
534.73.146880069694651.55311993030535
547.63.526880069694654.07311993030535
555.33.461580695796531.83841930420347
566.62.826386367987143.77361363201286
5741.70760222800832.2923977719917
583.81.133453071507992.66654692849201
591.21.192943620341900.00705637965809747







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.9934969960491890.01300600790162210.00650300395081106
180.9899826619126360.02003467617472870.0100173380873643
190.990781889068040.01843622186392010.00921811093196005
200.996145516237830.0077089675243390.0038544837621695
210.9996153724867770.0007692550264464140.000384627513223207
220.9999853957320262.92085359483558e-051.46042679741779e-05
230.999999379874361.24025128069398e-066.20125640346991e-07
240.999999935928561.28142880803519e-076.40714404017597e-08
250.9999999099164351.80167131110397e-079.00835655551983e-08
260.999999741733035.16533939763787e-072.58266969881894e-07
270.999999781212434.37575140058389e-072.18787570029194e-07
280.9999998236883913.52623217563783e-071.76311608781891e-07
290.9999994028065771.19438684577047e-065.97193422885234e-07
300.9999990824713741.8350572517212e-069.175286258606e-07
310.999996828716976.34256605939192e-063.17128302969596e-06
320.9999943201854461.13596291074909e-055.67981455374543e-06
330.9999809930628143.80138743719335e-051.90069371859668e-05
340.9999377239070470.0001245521859053756.22760929526877e-05
350.9997769026569560.0004461946860886980.000223097343044349
360.9994934710272760.001013057945448710.000506528972724356
370.9992691468515220.001461706296955840.00073085314847792
380.9979589291523290.00408214169534310.00204107084767155
390.9931974466719990.01360510665600280.00680255332800138
400.991841420245450.01631715950910110.00815857975455053
410.978718094148780.04256381170243890.0212819058512195
420.9858074657097030.02838506858059430.0141925342902971

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.993496996049189 & 0.0130060079016221 & 0.00650300395081106 \tabularnewline
18 & 0.989982661912636 & 0.0200346761747287 & 0.0100173380873643 \tabularnewline
19 & 0.99078188906804 & 0.0184362218639201 & 0.00921811093196005 \tabularnewline
20 & 0.99614551623783 & 0.007708967524339 & 0.0038544837621695 \tabularnewline
21 & 0.999615372486777 & 0.000769255026446414 & 0.000384627513223207 \tabularnewline
22 & 0.999985395732026 & 2.92085359483558e-05 & 1.46042679741779e-05 \tabularnewline
23 & 0.99999937987436 & 1.24025128069398e-06 & 6.20125640346991e-07 \tabularnewline
24 & 0.99999993592856 & 1.28142880803519e-07 & 6.40714404017597e-08 \tabularnewline
25 & 0.999999909916435 & 1.80167131110397e-07 & 9.00835655551983e-08 \tabularnewline
26 & 0.99999974173303 & 5.16533939763787e-07 & 2.58266969881894e-07 \tabularnewline
27 & 0.99999978121243 & 4.37575140058389e-07 & 2.18787570029194e-07 \tabularnewline
28 & 0.999999823688391 & 3.52623217563783e-07 & 1.76311608781891e-07 \tabularnewline
29 & 0.999999402806577 & 1.19438684577047e-06 & 5.97193422885234e-07 \tabularnewline
30 & 0.999999082471374 & 1.8350572517212e-06 & 9.175286258606e-07 \tabularnewline
31 & 0.99999682871697 & 6.34256605939192e-06 & 3.17128302969596e-06 \tabularnewline
32 & 0.999994320185446 & 1.13596291074909e-05 & 5.67981455374543e-06 \tabularnewline
33 & 0.999980993062814 & 3.80138743719335e-05 & 1.90069371859668e-05 \tabularnewline
34 & 0.999937723907047 & 0.000124552185905375 & 6.22760929526877e-05 \tabularnewline
35 & 0.999776902656956 & 0.000446194686088698 & 0.000223097343044349 \tabularnewline
36 & 0.999493471027276 & 0.00101305794544871 & 0.000506528972724356 \tabularnewline
37 & 0.999269146851522 & 0.00146170629695584 & 0.00073085314847792 \tabularnewline
38 & 0.997958929152329 & 0.0040821416953431 & 0.00204107084767155 \tabularnewline
39 & 0.993197446671999 & 0.0136051066560028 & 0.00680255332800138 \tabularnewline
40 & 0.99184142024545 & 0.0163171595091011 & 0.00815857975455053 \tabularnewline
41 & 0.97871809414878 & 0.0425638117024389 & 0.0212819058512195 \tabularnewline
42 & 0.985807465709703 & 0.0283850685805943 & 0.0141925342902971 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113755&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]17[/C][C]0.993496996049189[/C][C]0.0130060079016221[/C][C]0.00650300395081106[/C][/ROW]
[ROW][C]18[/C][C]0.989982661912636[/C][C]0.0200346761747287[/C][C]0.0100173380873643[/C][/ROW]
[ROW][C]19[/C][C]0.99078188906804[/C][C]0.0184362218639201[/C][C]0.00921811093196005[/C][/ROW]
[ROW][C]20[/C][C]0.99614551623783[/C][C]0.007708967524339[/C][C]0.0038544837621695[/C][/ROW]
[ROW][C]21[/C][C]0.999615372486777[/C][C]0.000769255026446414[/C][C]0.000384627513223207[/C][/ROW]
[ROW][C]22[/C][C]0.999985395732026[/C][C]2.92085359483558e-05[/C][C]1.46042679741779e-05[/C][/ROW]
[ROW][C]23[/C][C]0.99999937987436[/C][C]1.24025128069398e-06[/C][C]6.20125640346991e-07[/C][/ROW]
[ROW][C]24[/C][C]0.99999993592856[/C][C]1.28142880803519e-07[/C][C]6.40714404017597e-08[/C][/ROW]
[ROW][C]25[/C][C]0.999999909916435[/C][C]1.80167131110397e-07[/C][C]9.00835655551983e-08[/C][/ROW]
[ROW][C]26[/C][C]0.99999974173303[/C][C]5.16533939763787e-07[/C][C]2.58266969881894e-07[/C][/ROW]
[ROW][C]27[/C][C]0.99999978121243[/C][C]4.37575140058389e-07[/C][C]2.18787570029194e-07[/C][/ROW]
[ROW][C]28[/C][C]0.999999823688391[/C][C]3.52623217563783e-07[/C][C]1.76311608781891e-07[/C][/ROW]
[ROW][C]29[/C][C]0.999999402806577[/C][C]1.19438684577047e-06[/C][C]5.97193422885234e-07[/C][/ROW]
[ROW][C]30[/C][C]0.999999082471374[/C][C]1.8350572517212e-06[/C][C]9.175286258606e-07[/C][/ROW]
[ROW][C]31[/C][C]0.99999682871697[/C][C]6.34256605939192e-06[/C][C]3.17128302969596e-06[/C][/ROW]
[ROW][C]32[/C][C]0.999994320185446[/C][C]1.13596291074909e-05[/C][C]5.67981455374543e-06[/C][/ROW]
[ROW][C]33[/C][C]0.999980993062814[/C][C]3.80138743719335e-05[/C][C]1.90069371859668e-05[/C][/ROW]
[ROW][C]34[/C][C]0.999937723907047[/C][C]0.000124552185905375[/C][C]6.22760929526877e-05[/C][/ROW]
[ROW][C]35[/C][C]0.999776902656956[/C][C]0.000446194686088698[/C][C]0.000223097343044349[/C][/ROW]
[ROW][C]36[/C][C]0.999493471027276[/C][C]0.00101305794544871[/C][C]0.000506528972724356[/C][/ROW]
[ROW][C]37[/C][C]0.999269146851522[/C][C]0.00146170629695584[/C][C]0.00073085314847792[/C][/ROW]
[ROW][C]38[/C][C]0.997958929152329[/C][C]0.0040821416953431[/C][C]0.00204107084767155[/C][/ROW]
[ROW][C]39[/C][C]0.993197446671999[/C][C]0.0136051066560028[/C][C]0.00680255332800138[/C][/ROW]
[ROW][C]40[/C][C]0.99184142024545[/C][C]0.0163171595091011[/C][C]0.00815857975455053[/C][/ROW]
[ROW][C]41[/C][C]0.97871809414878[/C][C]0.0425638117024389[/C][C]0.0212819058512195[/C][/ROW]
[ROW][C]42[/C][C]0.985807465709703[/C][C]0.0283850685805943[/C][C]0.0141925342902971[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113755&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113755&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
170.9934969960491890.01300600790162210.00650300395081106
180.9899826619126360.02003467617472870.0100173380873643
190.990781889068040.01843622186392010.00921811093196005
200.996145516237830.0077089675243390.0038544837621695
210.9996153724867770.0007692550264464140.000384627513223207
220.9999853957320262.92085359483558e-051.46042679741779e-05
230.999999379874361.24025128069398e-066.20125640346991e-07
240.999999935928561.28142880803519e-076.40714404017597e-08
250.9999999099164351.80167131110397e-079.00835655551983e-08
260.999999741733035.16533939763787e-072.58266969881894e-07
270.999999781212434.37575140058389e-072.18787570029194e-07
280.9999998236883913.52623217563783e-071.76311608781891e-07
290.9999994028065771.19438684577047e-065.97193422885234e-07
300.9999990824713741.8350572517212e-069.175286258606e-07
310.999996828716976.34256605939192e-063.17128302969596e-06
320.9999943201854461.13596291074909e-055.67981455374543e-06
330.9999809930628143.80138743719335e-051.90069371859668e-05
340.9999377239070470.0001245521859053756.22760929526877e-05
350.9997769026569560.0004461946860886980.000223097343044349
360.9994934710272760.001013057945448710.000506528972724356
370.9992691468515220.001461706296955840.00073085314847792
380.9979589291523290.00408214169534310.00204107084767155
390.9931974466719990.01360510665600280.00680255332800138
400.991841420245450.01631715950910110.00815857975455053
410.978718094148780.04256381170243890.0212819058512195
420.9858074657097030.02838506858059430.0141925342902971







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

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

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



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