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:51:19 +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/t12929537759o71azla0lwlb3z.htm/, Retrieved Mon, 06 May 2024 11:23:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113785, Retrieved Mon, 06 May 2024 11:23:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact166
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:51:19] [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 time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113785&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113785&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
Industriële_productie[t] = -3.01523184590184 + 0.138339800743402registratie_personenwagens[t] -10.5035070224672crisis[t] + 2.75333281992525M1[t] + 4.9492218392974M2[t] + 2.65880688554883M3[t] + 2.46585237141649M4[t] + 1.91100057359639M5[t] + 2.11614877577629M6[t] + 1.60746299788184M7[t] + 1.04162284139986M8[t] + 0.00985374942339004M9[t] -0.307053591118063M10[t] -0.16230073240292M11[t] + 0.105681897448404t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Industriële_productie[t] =  -3.01523184590184 +  0.138339800743402registratie_personenwagens[t] -10.5035070224672crisis[t] +  2.75333281992525M1[t] +  4.9492218392974M2[t] +  2.65880688554883M3[t] +  2.46585237141649M4[t] +  1.91100057359639M5[t] +  2.11614877577629M6[t] +  1.60746299788184M7[t] +  1.04162284139986M8[t] +  0.00985374942339004M9[t] -0.307053591118063M10[t] -0.16230073240292M11[t] +  0.105681897448404t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113785&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Industriële_productie[t] =  -3.01523184590184 +  0.138339800743402registratie_personenwagens[t] -10.5035070224672crisis[t] +  2.75333281992525M1[t] +  4.9492218392974M2[t] +  2.65880688554883M3[t] +  2.46585237141649M4[t] +  1.91100057359639M5[t] +  2.11614877577629M6[t] +  1.60746299788184M7[t] +  1.04162284139986M8[t] +  0.00985374942339004M9[t] -0.307053591118063M10[t] -0.16230073240292M11[t] +  0.105681897448404t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113785&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113785&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] = -3.01523184590184 + 0.138339800743402registratie_personenwagens[t] -10.5035070224672crisis[t] + 2.75333281992525M1[t] + 4.9492218392974M2[t] + 2.65880688554883M3[t] + 2.46585237141649M4[t] + 1.91100057359639M5[t] + 2.11614877577629M6[t] + 1.60746299788184M7[t] + 1.04162284139986M8[t] + 0.00985374942339004M9[t] -0.307053591118063M10[t] -0.16230073240292M11[t] + 0.105681897448404t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-3.015231845901843.442132-0.8760.3857990.1929
registratie_personenwagens0.1383398007434020.0939191.4730.1478770.073939
crisis-10.50350702246722.789857-3.76490.000490.000245
M12.753332819925253.4207740.80490.4252140.212607
M24.94922183929743.4027761.45450.1529140.076457
M32.658806885548833.4167240.77820.4406310.220315
M42.465852371416493.4045270.72430.4727240.236362
M51.911000573596393.3986010.56230.5767720.288386
M62.116148775776293.394920.62330.5362870.268143
M71.607462997881843.3934470.47370.6380590.319029
M81.041622841399863.3954510.30680.7604660.380233
M90.009853749423390043.4047190.00290.9977040.498852
M10-0.3070535911180633.413632-0.08990.9287360.464368
M11-0.162300732402923.414624-0.04750.9623050.481153
t0.1056818974484040.0511712.06530.0448190.02241

\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) & -3.01523184590184 & 3.442132 & -0.876 & 0.385799 & 0.1929 \tabularnewline
registratie_personenwagens & 0.138339800743402 & 0.093919 & 1.473 & 0.147877 & 0.073939 \tabularnewline
crisis & -10.5035070224672 & 2.789857 & -3.7649 & 0.00049 & 0.000245 \tabularnewline
M1 & 2.75333281992525 & 3.420774 & 0.8049 & 0.425214 & 0.212607 \tabularnewline
M2 & 4.9492218392974 & 3.402776 & 1.4545 & 0.152914 & 0.076457 \tabularnewline
M3 & 2.65880688554883 & 3.416724 & 0.7782 & 0.440631 & 0.220315 \tabularnewline
M4 & 2.46585237141649 & 3.404527 & 0.7243 & 0.472724 & 0.236362 \tabularnewline
M5 & 1.91100057359639 & 3.398601 & 0.5623 & 0.576772 & 0.288386 \tabularnewline
M6 & 2.11614877577629 & 3.39492 & 0.6233 & 0.536287 & 0.268143 \tabularnewline
M7 & 1.60746299788184 & 3.393447 & 0.4737 & 0.638059 & 0.319029 \tabularnewline
M8 & 1.04162284139986 & 3.395451 & 0.3068 & 0.760466 & 0.380233 \tabularnewline
M9 & 0.00985374942339004 & 3.404719 & 0.0029 & 0.997704 & 0.498852 \tabularnewline
M10 & -0.307053591118063 & 3.413632 & -0.0899 & 0.928736 & 0.464368 \tabularnewline
M11 & -0.16230073240292 & 3.414624 & -0.0475 & 0.962305 & 0.481153 \tabularnewline
t & 0.105681897448404 & 0.051171 & 2.0653 & 0.044819 & 0.02241 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113785&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]-3.01523184590184[/C][C]3.442132[/C][C]-0.876[/C][C]0.385799[/C][C]0.1929[/C][/ROW]
[ROW][C]registratie_personenwagens[/C][C]0.138339800743402[/C][C]0.093919[/C][C]1.473[/C][C]0.147877[/C][C]0.073939[/C][/ROW]
[ROW][C]crisis[/C][C]-10.5035070224672[/C][C]2.789857[/C][C]-3.7649[/C][C]0.00049[/C][C]0.000245[/C][/ROW]
[ROW][C]M1[/C][C]2.75333281992525[/C][C]3.420774[/C][C]0.8049[/C][C]0.425214[/C][C]0.212607[/C][/ROW]
[ROW][C]M2[/C][C]4.9492218392974[/C][C]3.402776[/C][C]1.4545[/C][C]0.152914[/C][C]0.076457[/C][/ROW]
[ROW][C]M3[/C][C]2.65880688554883[/C][C]3.416724[/C][C]0.7782[/C][C]0.440631[/C][C]0.220315[/C][/ROW]
[ROW][C]M4[/C][C]2.46585237141649[/C][C]3.404527[/C][C]0.7243[/C][C]0.472724[/C][C]0.236362[/C][/ROW]
[ROW][C]M5[/C][C]1.91100057359639[/C][C]3.398601[/C][C]0.5623[/C][C]0.576772[/C][C]0.288386[/C][/ROW]
[ROW][C]M6[/C][C]2.11614877577629[/C][C]3.39492[/C][C]0.6233[/C][C]0.536287[/C][C]0.268143[/C][/ROW]
[ROW][C]M7[/C][C]1.60746299788184[/C][C]3.393447[/C][C]0.4737[/C][C]0.638059[/C][C]0.319029[/C][/ROW]
[ROW][C]M8[/C][C]1.04162284139986[/C][C]3.395451[/C][C]0.3068[/C][C]0.760466[/C][C]0.380233[/C][/ROW]
[ROW][C]M9[/C][C]0.00985374942339004[/C][C]3.404719[/C][C]0.0029[/C][C]0.997704[/C][C]0.498852[/C][/ROW]
[ROW][C]M10[/C][C]-0.307053591118063[/C][C]3.413632[/C][C]-0.0899[/C][C]0.928736[/C][C]0.464368[/C][/ROW]
[ROW][C]M11[/C][C]-0.16230073240292[/C][C]3.414624[/C][C]-0.0475[/C][C]0.962305[/C][C]0.481153[/C][/ROW]
[ROW][C]t[/C][C]0.105681897448404[/C][C]0.051171[/C][C]2.0653[/C][C]0.044819[/C][C]0.02241[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113785&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113785&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)-3.015231845901843.442132-0.8760.3857990.1929
registratie_personenwagens0.1383398007434020.0939191.4730.1478770.073939
crisis-10.50350702246722.789857-3.76490.000490.000245
M12.753332819925253.4207740.80490.4252140.212607
M24.94922183929743.4027761.45450.1529140.076457
M32.658806885548833.4167240.77820.4406310.220315
M42.465852371416493.4045270.72430.4727240.236362
M51.911000573596393.3986010.56230.5767720.288386
M62.116148775776293.394920.62330.5362870.268143
M71.607462997881843.3934470.47370.6380590.319029
M81.041622841399863.3954510.30680.7604660.380233
M90.009853749423390043.4047190.00290.9977040.498852
M10-0.3070535911180633.413632-0.08990.9287360.464368
M11-0.162300732402923.414624-0.04750.9623050.481153
t0.1056818974484040.0511712.06530.0448190.02241







Multiple Linear Regression - Regression Statistics
Multiple R0.81860760226646
R-squared0.670118406488443
Adjusted R-squared0.565156081280221
F-TEST (value)6.38437082218856
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value9.87998990509276e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.05715836863012
Sum Squared Residuals1125.29343367785

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.81860760226646 \tabularnewline
R-squared & 0.670118406488443 \tabularnewline
Adjusted R-squared & 0.565156081280221 \tabularnewline
F-TEST (value) & 6.38437082218856 \tabularnewline
F-TEST (DF numerator) & 14 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 9.87998990509276e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.05715836863012 \tabularnewline
Sum Squared Residuals & 1125.29343367785 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113785&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.81860760226646[/C][/ROW]
[ROW][C]R-squared[/C][C]0.670118406488443[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.565156081280221[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.38437082218856[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]14[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]9.87998990509276e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.05715836863012[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1125.29343367785[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113785&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113785&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.81860760226646
R-squared0.670118406488443
Adjusted R-squared0.565156081280221
F-TEST (value)6.38437082218856
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value9.87998990509276e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.05715836863012
Sum Squared Residuals1125.29343367785







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.80.9643352574933737.83566474250663
28.53.514917815652034.98508218434797
38.61.551528440541327.04847155945868
48.73.110499452703865.58950054729614
59.12.938009153818976.16199084618103
68.83.594688755305775.20531124469423
76.32.94267323352163.3573267664784
82.51.47263442906121.0273655709388
9-2.7-0.103649828960856-2.59635017103914
10-4.5-0.674558753986753-3.82544124601325
11-70.170737145373423-7.17073714537342
12-9.3-0.0316355473028178-9.26836445269718
13-12.21.73449474419796-13.934494744198
14-13.2-7.39431802642951-5.80568197357049
15-13.7-9.85573068421648-3.84426931578352
16-15-10.6623702647661-4.33762973523391
17-16.9-11.8170731489291-5.08292685107086
18-16.3-11.9765983718284-4.32340162817159
19-16.7-11.9922508101929-4.70774918980707
20-16-12.4662430493008-3.53375695069916
21-14.5-13.4615001442006-1.03849985579939
22-12.2-13.99090712900351.79090712900348
23-7.5-13.75430635291436.25430635291428
24-4.4-12.84996063964338.44996063964331
25-1.1-9.49292263959348.3929226395934
261.3-6.485818738981517.78581873898151
27-0.12.2618086094901-2.3618086094901
280.42.39587967399562-1.99587967399562
292.42.264891315333740.135108684666259
3013.68243982090925-2.68243982090925
313.32.919752458530370.380247541469633
321.82.90228156187567-1.10228156187567
333.21.00781576214382.1921842378562
341.31.79263688440324-0.492636884403239
351.52.01540368041811-0.515403680418106
361.33.56994645718307-2.26994645718307
3725.70959421069104-3.70959421069103
3837.74831950609912-4.74831950609912
394.45.27307286823781-0.873072868237809
403.15.00595851058746-1.90595851058746
412.63.78208572605271-1.18208572605271
422.73.38738284188966-0.687382841889661
4342.071336276537171.92866372346283
444.11.445170256611512.65482974338849
4530.6435888827525052.3564111172475
462.70.5568692603285182.14313073967148
4741.056315657830192.94368434216981
484.81.711649729763043.08835027023696
4964.584498427211031.41550157278897
504.66.81689944365988-2.21689944365988
514.44.369320765947250.0306792340527503
526.63.950032627479162.64996737252084
534.74.73208695372373-0.0320869537237294
547.65.112086953723732.48791304627627
555.36.25848884160379-0.958488841603787
566.65.646156801752470.953843198247532
5744.91374532826516-0.913745328265165
583.83.415959738258480.384040261741521
591.22.71184986929256-1.51184986929256

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.8 & 0.964335257493373 & 7.83566474250663 \tabularnewline
2 & 8.5 & 3.51491781565203 & 4.98508218434797 \tabularnewline
3 & 8.6 & 1.55152844054132 & 7.04847155945868 \tabularnewline
4 & 8.7 & 3.11049945270386 & 5.58950054729614 \tabularnewline
5 & 9.1 & 2.93800915381897 & 6.16199084618103 \tabularnewline
6 & 8.8 & 3.59468875530577 & 5.20531124469423 \tabularnewline
7 & 6.3 & 2.9426732335216 & 3.3573267664784 \tabularnewline
8 & 2.5 & 1.4726344290612 & 1.0273655709388 \tabularnewline
9 & -2.7 & -0.103649828960856 & -2.59635017103914 \tabularnewline
10 & -4.5 & -0.674558753986753 & -3.82544124601325 \tabularnewline
11 & -7 & 0.170737145373423 & -7.17073714537342 \tabularnewline
12 & -9.3 & -0.0316355473028178 & -9.26836445269718 \tabularnewline
13 & -12.2 & 1.73449474419796 & -13.934494744198 \tabularnewline
14 & -13.2 & -7.39431802642951 & -5.80568197357049 \tabularnewline
15 & -13.7 & -9.85573068421648 & -3.84426931578352 \tabularnewline
16 & -15 & -10.6623702647661 & -4.33762973523391 \tabularnewline
17 & -16.9 & -11.8170731489291 & -5.08292685107086 \tabularnewline
18 & -16.3 & -11.9765983718284 & -4.32340162817159 \tabularnewline
19 & -16.7 & -11.9922508101929 & -4.70774918980707 \tabularnewline
20 & -16 & -12.4662430493008 & -3.53375695069916 \tabularnewline
21 & -14.5 & -13.4615001442006 & -1.03849985579939 \tabularnewline
22 & -12.2 & -13.9909071290035 & 1.79090712900348 \tabularnewline
23 & -7.5 & -13.7543063529143 & 6.25430635291428 \tabularnewline
24 & -4.4 & -12.8499606396433 & 8.44996063964331 \tabularnewline
25 & -1.1 & -9.4929226395934 & 8.3929226395934 \tabularnewline
26 & 1.3 & -6.48581873898151 & 7.78581873898151 \tabularnewline
27 & -0.1 & 2.2618086094901 & -2.3618086094901 \tabularnewline
28 & 0.4 & 2.39587967399562 & -1.99587967399562 \tabularnewline
29 & 2.4 & 2.26489131533374 & 0.135108684666259 \tabularnewline
30 & 1 & 3.68243982090925 & -2.68243982090925 \tabularnewline
31 & 3.3 & 2.91975245853037 & 0.380247541469633 \tabularnewline
32 & 1.8 & 2.90228156187567 & -1.10228156187567 \tabularnewline
33 & 3.2 & 1.0078157621438 & 2.1921842378562 \tabularnewline
34 & 1.3 & 1.79263688440324 & -0.492636884403239 \tabularnewline
35 & 1.5 & 2.01540368041811 & -0.515403680418106 \tabularnewline
36 & 1.3 & 3.56994645718307 & -2.26994645718307 \tabularnewline
37 & 2 & 5.70959421069104 & -3.70959421069103 \tabularnewline
38 & 3 & 7.74831950609912 & -4.74831950609912 \tabularnewline
39 & 4.4 & 5.27307286823781 & -0.873072868237809 \tabularnewline
40 & 3.1 & 5.00595851058746 & -1.90595851058746 \tabularnewline
41 & 2.6 & 3.78208572605271 & -1.18208572605271 \tabularnewline
42 & 2.7 & 3.38738284188966 & -0.687382841889661 \tabularnewline
43 & 4 & 2.07133627653717 & 1.92866372346283 \tabularnewline
44 & 4.1 & 1.44517025661151 & 2.65482974338849 \tabularnewline
45 & 3 & 0.643588882752505 & 2.3564111172475 \tabularnewline
46 & 2.7 & 0.556869260328518 & 2.14313073967148 \tabularnewline
47 & 4 & 1.05631565783019 & 2.94368434216981 \tabularnewline
48 & 4.8 & 1.71164972976304 & 3.08835027023696 \tabularnewline
49 & 6 & 4.58449842721103 & 1.41550157278897 \tabularnewline
50 & 4.6 & 6.81689944365988 & -2.21689944365988 \tabularnewline
51 & 4.4 & 4.36932076594725 & 0.0306792340527503 \tabularnewline
52 & 6.6 & 3.95003262747916 & 2.64996737252084 \tabularnewline
53 & 4.7 & 4.73208695372373 & -0.0320869537237294 \tabularnewline
54 & 7.6 & 5.11208695372373 & 2.48791304627627 \tabularnewline
55 & 5.3 & 6.25848884160379 & -0.958488841603787 \tabularnewline
56 & 6.6 & 5.64615680175247 & 0.953843198247532 \tabularnewline
57 & 4 & 4.91374532826516 & -0.913745328265165 \tabularnewline
58 & 3.8 & 3.41595973825848 & 0.384040261741521 \tabularnewline
59 & 1.2 & 2.71184986929256 & -1.51184986929256 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113785&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]0.964335257493373[/C][C]7.83566474250663[/C][/ROW]
[ROW][C]2[/C][C]8.5[/C][C]3.51491781565203[/C][C]4.98508218434797[/C][/ROW]
[ROW][C]3[/C][C]8.6[/C][C]1.55152844054132[/C][C]7.04847155945868[/C][/ROW]
[ROW][C]4[/C][C]8.7[/C][C]3.11049945270386[/C][C]5.58950054729614[/C][/ROW]
[ROW][C]5[/C][C]9.1[/C][C]2.93800915381897[/C][C]6.16199084618103[/C][/ROW]
[ROW][C]6[/C][C]8.8[/C][C]3.59468875530577[/C][C]5.20531124469423[/C][/ROW]
[ROW][C]7[/C][C]6.3[/C][C]2.9426732335216[/C][C]3.3573267664784[/C][/ROW]
[ROW][C]8[/C][C]2.5[/C][C]1.4726344290612[/C][C]1.0273655709388[/C][/ROW]
[ROW][C]9[/C][C]-2.7[/C][C]-0.103649828960856[/C][C]-2.59635017103914[/C][/ROW]
[ROW][C]10[/C][C]-4.5[/C][C]-0.674558753986753[/C][C]-3.82544124601325[/C][/ROW]
[ROW][C]11[/C][C]-7[/C][C]0.170737145373423[/C][C]-7.17073714537342[/C][/ROW]
[ROW][C]12[/C][C]-9.3[/C][C]-0.0316355473028178[/C][C]-9.26836445269718[/C][/ROW]
[ROW][C]13[/C][C]-12.2[/C][C]1.73449474419796[/C][C]-13.934494744198[/C][/ROW]
[ROW][C]14[/C][C]-13.2[/C][C]-7.39431802642951[/C][C]-5.80568197357049[/C][/ROW]
[ROW][C]15[/C][C]-13.7[/C][C]-9.85573068421648[/C][C]-3.84426931578352[/C][/ROW]
[ROW][C]16[/C][C]-15[/C][C]-10.6623702647661[/C][C]-4.33762973523391[/C][/ROW]
[ROW][C]17[/C][C]-16.9[/C][C]-11.8170731489291[/C][C]-5.08292685107086[/C][/ROW]
[ROW][C]18[/C][C]-16.3[/C][C]-11.9765983718284[/C][C]-4.32340162817159[/C][/ROW]
[ROW][C]19[/C][C]-16.7[/C][C]-11.9922508101929[/C][C]-4.70774918980707[/C][/ROW]
[ROW][C]20[/C][C]-16[/C][C]-12.4662430493008[/C][C]-3.53375695069916[/C][/ROW]
[ROW][C]21[/C][C]-14.5[/C][C]-13.4615001442006[/C][C]-1.03849985579939[/C][/ROW]
[ROW][C]22[/C][C]-12.2[/C][C]-13.9909071290035[/C][C]1.79090712900348[/C][/ROW]
[ROW][C]23[/C][C]-7.5[/C][C]-13.7543063529143[/C][C]6.25430635291428[/C][/ROW]
[ROW][C]24[/C][C]-4.4[/C][C]-12.8499606396433[/C][C]8.44996063964331[/C][/ROW]
[ROW][C]25[/C][C]-1.1[/C][C]-9.4929226395934[/C][C]8.3929226395934[/C][/ROW]
[ROW][C]26[/C][C]1.3[/C][C]-6.48581873898151[/C][C]7.78581873898151[/C][/ROW]
[ROW][C]27[/C][C]-0.1[/C][C]2.2618086094901[/C][C]-2.3618086094901[/C][/ROW]
[ROW][C]28[/C][C]0.4[/C][C]2.39587967399562[/C][C]-1.99587967399562[/C][/ROW]
[ROW][C]29[/C][C]2.4[/C][C]2.26489131533374[/C][C]0.135108684666259[/C][/ROW]
[ROW][C]30[/C][C]1[/C][C]3.68243982090925[/C][C]-2.68243982090925[/C][/ROW]
[ROW][C]31[/C][C]3.3[/C][C]2.91975245853037[/C][C]0.380247541469633[/C][/ROW]
[ROW][C]32[/C][C]1.8[/C][C]2.90228156187567[/C][C]-1.10228156187567[/C][/ROW]
[ROW][C]33[/C][C]3.2[/C][C]1.0078157621438[/C][C]2.1921842378562[/C][/ROW]
[ROW][C]34[/C][C]1.3[/C][C]1.79263688440324[/C][C]-0.492636884403239[/C][/ROW]
[ROW][C]35[/C][C]1.5[/C][C]2.01540368041811[/C][C]-0.515403680418106[/C][/ROW]
[ROW][C]36[/C][C]1.3[/C][C]3.56994645718307[/C][C]-2.26994645718307[/C][/ROW]
[ROW][C]37[/C][C]2[/C][C]5.70959421069104[/C][C]-3.70959421069103[/C][/ROW]
[ROW][C]38[/C][C]3[/C][C]7.74831950609912[/C][C]-4.74831950609912[/C][/ROW]
[ROW][C]39[/C][C]4.4[/C][C]5.27307286823781[/C][C]-0.873072868237809[/C][/ROW]
[ROW][C]40[/C][C]3.1[/C][C]5.00595851058746[/C][C]-1.90595851058746[/C][/ROW]
[ROW][C]41[/C][C]2.6[/C][C]3.78208572605271[/C][C]-1.18208572605271[/C][/ROW]
[ROW][C]42[/C][C]2.7[/C][C]3.38738284188966[/C][C]-0.687382841889661[/C][/ROW]
[ROW][C]43[/C][C]4[/C][C]2.07133627653717[/C][C]1.92866372346283[/C][/ROW]
[ROW][C]44[/C][C]4.1[/C][C]1.44517025661151[/C][C]2.65482974338849[/C][/ROW]
[ROW][C]45[/C][C]3[/C][C]0.643588882752505[/C][C]2.3564111172475[/C][/ROW]
[ROW][C]46[/C][C]2.7[/C][C]0.556869260328518[/C][C]2.14313073967148[/C][/ROW]
[ROW][C]47[/C][C]4[/C][C]1.05631565783019[/C][C]2.94368434216981[/C][/ROW]
[ROW][C]48[/C][C]4.8[/C][C]1.71164972976304[/C][C]3.08835027023696[/C][/ROW]
[ROW][C]49[/C][C]6[/C][C]4.58449842721103[/C][C]1.41550157278897[/C][/ROW]
[ROW][C]50[/C][C]4.6[/C][C]6.81689944365988[/C][C]-2.21689944365988[/C][/ROW]
[ROW][C]51[/C][C]4.4[/C][C]4.36932076594725[/C][C]0.0306792340527503[/C][/ROW]
[ROW][C]52[/C][C]6.6[/C][C]3.95003262747916[/C][C]2.64996737252084[/C][/ROW]
[ROW][C]53[/C][C]4.7[/C][C]4.73208695372373[/C][C]-0.0320869537237294[/C][/ROW]
[ROW][C]54[/C][C]7.6[/C][C]5.11208695372373[/C][C]2.48791304627627[/C][/ROW]
[ROW][C]55[/C][C]5.3[/C][C]6.25848884160379[/C][C]-0.958488841603787[/C][/ROW]
[ROW][C]56[/C][C]6.6[/C][C]5.64615680175247[/C][C]0.953843198247532[/C][/ROW]
[ROW][C]57[/C][C]4[/C][C]4.91374532826516[/C][C]-0.913745328265165[/C][/ROW]
[ROW][C]58[/C][C]3.8[/C][C]3.41595973825848[/C][C]0.384040261741521[/C][/ROW]
[ROW][C]59[/C][C]1.2[/C][C]2.71184986929256[/C][C]-1.51184986929256[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113785&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113785&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.80.9643352574933737.83566474250663
28.53.514917815652034.98508218434797
38.61.551528440541327.04847155945868
48.73.110499452703865.58950054729614
59.12.938009153818976.16199084618103
68.83.594688755305775.20531124469423
76.32.94267323352163.3573267664784
82.51.47263442906121.0273655709388
9-2.7-0.103649828960856-2.59635017103914
10-4.5-0.674558753986753-3.82544124601325
11-70.170737145373423-7.17073714537342
12-9.3-0.0316355473028178-9.26836445269718
13-12.21.73449474419796-13.934494744198
14-13.2-7.39431802642951-5.80568197357049
15-13.7-9.85573068421648-3.84426931578352
16-15-10.6623702647661-4.33762973523391
17-16.9-11.8170731489291-5.08292685107086
18-16.3-11.9765983718284-4.32340162817159
19-16.7-11.9922508101929-4.70774918980707
20-16-12.4662430493008-3.53375695069916
21-14.5-13.4615001442006-1.03849985579939
22-12.2-13.99090712900351.79090712900348
23-7.5-13.75430635291436.25430635291428
24-4.4-12.84996063964338.44996063964331
25-1.1-9.49292263959348.3929226395934
261.3-6.485818738981517.78581873898151
27-0.12.2618086094901-2.3618086094901
280.42.39587967399562-1.99587967399562
292.42.264891315333740.135108684666259
3013.68243982090925-2.68243982090925
313.32.919752458530370.380247541469633
321.82.90228156187567-1.10228156187567
333.21.00781576214382.1921842378562
341.31.79263688440324-0.492636884403239
351.52.01540368041811-0.515403680418106
361.33.56994645718307-2.26994645718307
3725.70959421069104-3.70959421069103
3837.74831950609912-4.74831950609912
394.45.27307286823781-0.873072868237809
403.15.00595851058746-1.90595851058746
412.63.78208572605271-1.18208572605271
422.73.38738284188966-0.687382841889661
4342.071336276537171.92866372346283
444.11.445170256611512.65482974338849
4530.6435888827525052.3564111172475
462.70.5568692603285182.14313073967148
4741.056315657830192.94368434216981
484.81.711649729763043.08835027023696
4964.584498427211031.41550157278897
504.66.81689944365988-2.21689944365988
514.44.369320765947250.0306792340527503
526.63.950032627479162.64996737252084
534.74.73208695372373-0.0320869537237294
547.65.112086953723732.48791304627627
555.36.25848884160379-0.958488841603787
566.65.646156801752470.953843198247532
5744.91374532826516-0.913745328265165
583.83.415959738258480.384040261741521
591.22.71184986929256-1.51184986929256







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.006049808358669250.01209961671733850.99395019164133
190.01100363320715330.02200726641430670.988996366792847
200.2271744769673250.4543489539346490.772825523032675
210.9686973680236660.06260526395266770.0313026319763339
220.9999595601158978.08797682050906e-054.04398841025453e-05
230.9999999316799841.36640032467931e-076.83200162339655e-08
240.99999999913991.72020128116282e-098.60100640581409e-10
250.9999999998376393.24722319093639e-101.6236115954682e-10
260.9999999996582876.83426557075237e-103.41713278537618e-10
270.9999999990060121.98797605897548e-099.93988029487742e-10
280.9999999972778735.44425429671974e-092.72212714835987e-09
290.9999999857584262.84831477639625e-081.42415738819812e-08
300.9999999490381211.01923757159393e-075.09618785796964e-08
310.99999975033154.99336998287403e-072.49668499143701e-07
320.9999989279170322.14416593620822e-061.07208296810411e-06
330.9999968321903476.33561930591545e-063.16780965295772e-06
340.9999851809230042.96381539914205e-051.48190769957103e-05
350.9999552698011438.94603977137624e-054.47301988568812e-05
360.9998251786634830.0003496426730331630.000174821336516581
370.9995128891364640.0009742217270727870.000487110863536393
380.9980728390542330.003854321891534530.00192716094576726
390.9942520347034190.01149593059316270.00574796529658134
400.9809082532718810.0381834934562370.0190917467281185
410.9373874975067920.1252250049864160.062612502493208

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
18 & 0.00604980835866925 & 0.0120996167173385 & 0.99395019164133 \tabularnewline
19 & 0.0110036332071533 & 0.0220072664143067 & 0.988996366792847 \tabularnewline
20 & 0.227174476967325 & 0.454348953934649 & 0.772825523032675 \tabularnewline
21 & 0.968697368023666 & 0.0626052639526677 & 0.0313026319763339 \tabularnewline
22 & 0.999959560115897 & 8.08797682050906e-05 & 4.04398841025453e-05 \tabularnewline
23 & 0.999999931679984 & 1.36640032467931e-07 & 6.83200162339655e-08 \tabularnewline
24 & 0.9999999991399 & 1.72020128116282e-09 & 8.60100640581409e-10 \tabularnewline
25 & 0.999999999837639 & 3.24722319093639e-10 & 1.6236115954682e-10 \tabularnewline
26 & 0.999999999658287 & 6.83426557075237e-10 & 3.41713278537618e-10 \tabularnewline
27 & 0.999999999006012 & 1.98797605897548e-09 & 9.93988029487742e-10 \tabularnewline
28 & 0.999999997277873 & 5.44425429671974e-09 & 2.72212714835987e-09 \tabularnewline
29 & 0.999999985758426 & 2.84831477639625e-08 & 1.42415738819812e-08 \tabularnewline
30 & 0.999999949038121 & 1.01923757159393e-07 & 5.09618785796964e-08 \tabularnewline
31 & 0.9999997503315 & 4.99336998287403e-07 & 2.49668499143701e-07 \tabularnewline
32 & 0.999998927917032 & 2.14416593620822e-06 & 1.07208296810411e-06 \tabularnewline
33 & 0.999996832190347 & 6.33561930591545e-06 & 3.16780965295772e-06 \tabularnewline
34 & 0.999985180923004 & 2.96381539914205e-05 & 1.48190769957103e-05 \tabularnewline
35 & 0.999955269801143 & 8.94603977137624e-05 & 4.47301988568812e-05 \tabularnewline
36 & 0.999825178663483 & 0.000349642673033163 & 0.000174821336516581 \tabularnewline
37 & 0.999512889136464 & 0.000974221727072787 & 0.000487110863536393 \tabularnewline
38 & 0.998072839054233 & 0.00385432189153453 & 0.00192716094576726 \tabularnewline
39 & 0.994252034703419 & 0.0114959305931627 & 0.00574796529658134 \tabularnewline
40 & 0.980908253271881 & 0.038183493456237 & 0.0190917467281185 \tabularnewline
41 & 0.937387497506792 & 0.125225004986416 & 0.062612502493208 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113785&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]18[/C][C]0.00604980835866925[/C][C]0.0120996167173385[/C][C]0.99395019164133[/C][/ROW]
[ROW][C]19[/C][C]0.0110036332071533[/C][C]0.0220072664143067[/C][C]0.988996366792847[/C][/ROW]
[ROW][C]20[/C][C]0.227174476967325[/C][C]0.454348953934649[/C][C]0.772825523032675[/C][/ROW]
[ROW][C]21[/C][C]0.968697368023666[/C][C]0.0626052639526677[/C][C]0.0313026319763339[/C][/ROW]
[ROW][C]22[/C][C]0.999959560115897[/C][C]8.08797682050906e-05[/C][C]4.04398841025453e-05[/C][/ROW]
[ROW][C]23[/C][C]0.999999931679984[/C][C]1.36640032467931e-07[/C][C]6.83200162339655e-08[/C][/ROW]
[ROW][C]24[/C][C]0.9999999991399[/C][C]1.72020128116282e-09[/C][C]8.60100640581409e-10[/C][/ROW]
[ROW][C]25[/C][C]0.999999999837639[/C][C]3.24722319093639e-10[/C][C]1.6236115954682e-10[/C][/ROW]
[ROW][C]26[/C][C]0.999999999658287[/C][C]6.83426557075237e-10[/C][C]3.41713278537618e-10[/C][/ROW]
[ROW][C]27[/C][C]0.999999999006012[/C][C]1.98797605897548e-09[/C][C]9.93988029487742e-10[/C][/ROW]
[ROW][C]28[/C][C]0.999999997277873[/C][C]5.44425429671974e-09[/C][C]2.72212714835987e-09[/C][/ROW]
[ROW][C]29[/C][C]0.999999985758426[/C][C]2.84831477639625e-08[/C][C]1.42415738819812e-08[/C][/ROW]
[ROW][C]30[/C][C]0.999999949038121[/C][C]1.01923757159393e-07[/C][C]5.09618785796964e-08[/C][/ROW]
[ROW][C]31[/C][C]0.9999997503315[/C][C]4.99336998287403e-07[/C][C]2.49668499143701e-07[/C][/ROW]
[ROW][C]32[/C][C]0.999998927917032[/C][C]2.14416593620822e-06[/C][C]1.07208296810411e-06[/C][/ROW]
[ROW][C]33[/C][C]0.999996832190347[/C][C]6.33561930591545e-06[/C][C]3.16780965295772e-06[/C][/ROW]
[ROW][C]34[/C][C]0.999985180923004[/C][C]2.96381539914205e-05[/C][C]1.48190769957103e-05[/C][/ROW]
[ROW][C]35[/C][C]0.999955269801143[/C][C]8.94603977137624e-05[/C][C]4.47301988568812e-05[/C][/ROW]
[ROW][C]36[/C][C]0.999825178663483[/C][C]0.000349642673033163[/C][C]0.000174821336516581[/C][/ROW]
[ROW][C]37[/C][C]0.999512889136464[/C][C]0.000974221727072787[/C][C]0.000487110863536393[/C][/ROW]
[ROW][C]38[/C][C]0.998072839054233[/C][C]0.00385432189153453[/C][C]0.00192716094576726[/C][/ROW]
[ROW][C]39[/C][C]0.994252034703419[/C][C]0.0114959305931627[/C][C]0.00574796529658134[/C][/ROW]
[ROW][C]40[/C][C]0.980908253271881[/C][C]0.038183493456237[/C][C]0.0190917467281185[/C][/ROW]
[ROW][C]41[/C][C]0.937387497506792[/C][C]0.125225004986416[/C][C]0.062612502493208[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113785&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113785&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
180.006049808358669250.01209961671733850.99395019164133
190.01100363320715330.02200726641430670.988996366792847
200.2271744769673250.4543489539346490.772825523032675
210.9686973680236660.06260526395266770.0313026319763339
220.9999595601158978.08797682050906e-054.04398841025453e-05
230.9999999316799841.36640032467931e-076.83200162339655e-08
240.99999999913991.72020128116282e-098.60100640581409e-10
250.9999999998376393.24722319093639e-101.6236115954682e-10
260.9999999996582876.83426557075237e-103.41713278537618e-10
270.9999999990060121.98797605897548e-099.93988029487742e-10
280.9999999972778735.44425429671974e-092.72212714835987e-09
290.9999999857584262.84831477639625e-081.42415738819812e-08
300.9999999490381211.01923757159393e-075.09618785796964e-08
310.99999975033154.99336998287403e-072.49668499143701e-07
320.9999989279170322.14416593620822e-061.07208296810411e-06
330.9999968321903476.33561930591545e-063.16780965295772e-06
340.9999851809230042.96381539914205e-051.48190769957103e-05
350.9999552698011438.94603977137624e-054.47301988568812e-05
360.9998251786634830.0003496426730331630.000174821336516581
370.9995128891364640.0009742217270727870.000487110863536393
380.9980728390542330.003854321891534530.00192716094576726
390.9942520347034190.01149593059316270.00574796529658134
400.9809082532718810.0381834934562370.0190917467281185
410.9373874975067920.1252250049864160.062612502493208







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level170.708333333333333NOK
5% type I error level210.875NOK
10% type I error level220.916666666666667NOK

\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 & 17 & 0.708333333333333 & NOK \tabularnewline
5% type I error level & 21 & 0.875 & NOK \tabularnewline
10% type I error level & 22 & 0.916666666666667 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113785&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]17[/C][C]0.708333333333333[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]21[/C][C]0.875[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]22[/C][C]0.916666666666667[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113785&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113785&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 level170.708333333333333NOK
5% type I error level210.875NOK
10% type I error level220.916666666666667NOK



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