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 computationMon, 14 Dec 2009 10:23:39 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/14/t126081152952tuian1fkwrnad.htm/, Retrieved Sun, 05 May 2024 14:18:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67594, Retrieved Sun, 05 May 2024 14:18:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact99
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [Seatbelt Law Model 1] [2009-12-14 17:23:39] [befe6dd6a614b6d3a2a74a47a0a4f514] [Current]
Feedback Forum

Post a new message
Dataseries X:
8,9	-3
8,8	-1
8,3	-3
7,5	-4
7,2	-6
7,4	0
8,8	-4
9,3	-2
9,3	-2
8,7	-6
8,2	-7
8,3	-6
8,5	-6
8,6	-3
8,5	-2
8,2	-5
8,1	-11
7,9	-11
8,6	-11
8,7	-10
8,7	-14
8,5	-8
8,4	-9
8,5	-5
8,7	-1
8,7	-2
8,6	-5
8,5	-4
8,3	-6
8	-2
8,2	-2
8,1	-2
8,1	-2
8	2
7,9	1
7,9	-8
8	-1
8	1
7,9	-1
8	2
7,7	2
7,2	1
7,5	-1
7,3	-2
7	-2
7	-1
7	-8
7,2	-4
7,3	-6
7,1	-3
6,8	-3
6,4	-7
6,1	-9
6,5	-11
7,7	-13
7,9	-11
7,5	-9
6,9	-17
6,6	-22
6,9	-25




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 6 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67594&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67594&T=0

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







Multiple Linear Regression - Estimated Regression Equation
TW[t] = + 8.1012229396126 + 0.0364793011773642CV[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
TW[t] =  +  8.1012229396126 +  0.0364793011773642CV[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67594&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]TW[t] =  +  8.1012229396126 +  0.0364793011773642CV[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67594&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67594&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
TW[t] = + 8.1012229396126 + 0.0364793011773642CV[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.10122293961260.1309661.860200
CV0.03647930117736420.0172412.11590.0386570.019329

\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) & 8.1012229396126 & 0.13096 & 61.8602 & 0 & 0 \tabularnewline
CV & 0.0364793011773642 & 0.017241 & 2.1159 & 0.038657 & 0.019329 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67594&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]8.1012229396126[/C][C]0.13096[/C][C]61.8602[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]CV[/C][C]0.0364793011773642[/C][C]0.017241[/C][C]2.1159[/C][C]0.038657[/C][C]0.019329[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67594&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67594&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)8.10122293961260.1309661.860200
CV0.03647930117736420.0172412.11590.0386570.019329







Multiple Linear Regression - Regression Statistics
Multiple R0.267691926597655
R-squared0.0716589675655644
Adjusted R-squared0.0556530876960053
F-TEST (value)4.47704019707464
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0386571938482783
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.722321951349474
Sum Squared Residuals30.2614420812761

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.267691926597655 \tabularnewline
R-squared & 0.0716589675655644 \tabularnewline
Adjusted R-squared & 0.0556530876960053 \tabularnewline
F-TEST (value) & 4.47704019707464 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.0386571938482783 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.722321951349474 \tabularnewline
Sum Squared Residuals & 30.2614420812761 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67594&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.267691926597655[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0716589675655644[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0556530876960053[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.47704019707464[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.0386571938482783[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.722321951349474[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]30.2614420812761[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67594&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67594&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.267691926597655
R-squared0.0716589675655644
Adjusted R-squared0.0556530876960053
F-TEST (value)4.47704019707464
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0386571938482783
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.722321951349474
Sum Squared Residuals30.2614420812761







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.97.991785036080540.90821496391946
28.88.064743638435240.735256361564756
38.37.991785036080520.308214963919485
47.57.95530573490315-0.455305734903152
57.27.88234713254842-0.682347132548423
67.48.1012229396126-0.701222939612608
78.87.955305734903150.844694265096849
89.38.028264337257881.27173566274212
99.38.028264337257881.27173566274212
108.77.882347132548420.817652867451576
118.27.845867831371060.35413216862894
128.37.882347132548420.417652867451577
138.57.882347132548420.617652867451577
148.67.991785036080520.608214963919484
158.58.028264337257880.47173566274212
168.27.918826433725790.281173566274212
178.17.69995062666160.400049373338397
187.97.69995062666160.200049373338398
198.67.69995062666160.900049373338397
208.77.736429927838970.963570072161033
218.77.590512723129511.10948727687049
228.57.80938853019370.690611469806305
238.47.772909229016330.62709077098367
248.57.918826433725790.581173566274212
258.78.064743638435240.635256361564755
268.78.028264337257880.671735662742119
278.67.918826433725790.681173566274212
288.57.955305734903150.544694265096848
298.37.882347132548420.417652867451577
3088.02826433725788-0.0282643372578802
318.28.028264337257880.171735662742119
328.18.028264337257880.0717356627421195
338.18.028264337257880.0717356627421195
3488.17418154196734-0.174181541967337
357.98.13770224078997-0.237702240789972
367.97.80938853019370.0906114698063053
3788.06474363843524-0.0647436384352444
3888.13770224078997-0.137702240789973
397.98.06474363843524-0.164743638435244
4088.17418154196734-0.174181541967337
417.78.17418154196734-0.474181541967337
427.28.13770224078997-0.937702240789973
437.58.06474363843524-0.564743638435244
447.38.02826433725788-0.72826433725788
4578.02826433725788-1.02826433725788
4678.06474363843524-1.06474363843524
4777.8093885301937-0.809388530193695
487.27.95530573490315-0.755305734903152
497.37.88234713254842-0.582347132548424
507.17.99178503608052-0.891785036080516
516.87.99178503608052-1.19178503608052
526.47.84586783137106-1.44586783137106
536.17.77290922901633-1.67290922901633
546.57.6999506266616-1.19995062666160
557.77.626992024306870.0730079756931261
567.97.69995062666160.200049373338398
577.57.77290922901633-0.272909229016331
586.97.48107481959742-0.581074819597417
596.67.2986783137106-0.698678313710597
606.97.1892404101785-0.289240410178503

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.9 & 7.99178503608054 & 0.90821496391946 \tabularnewline
2 & 8.8 & 8.06474363843524 & 0.735256361564756 \tabularnewline
3 & 8.3 & 7.99178503608052 & 0.308214963919485 \tabularnewline
4 & 7.5 & 7.95530573490315 & -0.455305734903152 \tabularnewline
5 & 7.2 & 7.88234713254842 & -0.682347132548423 \tabularnewline
6 & 7.4 & 8.1012229396126 & -0.701222939612608 \tabularnewline
7 & 8.8 & 7.95530573490315 & 0.844694265096849 \tabularnewline
8 & 9.3 & 8.02826433725788 & 1.27173566274212 \tabularnewline
9 & 9.3 & 8.02826433725788 & 1.27173566274212 \tabularnewline
10 & 8.7 & 7.88234713254842 & 0.817652867451576 \tabularnewline
11 & 8.2 & 7.84586783137106 & 0.35413216862894 \tabularnewline
12 & 8.3 & 7.88234713254842 & 0.417652867451577 \tabularnewline
13 & 8.5 & 7.88234713254842 & 0.617652867451577 \tabularnewline
14 & 8.6 & 7.99178503608052 & 0.608214963919484 \tabularnewline
15 & 8.5 & 8.02826433725788 & 0.47173566274212 \tabularnewline
16 & 8.2 & 7.91882643372579 & 0.281173566274212 \tabularnewline
17 & 8.1 & 7.6999506266616 & 0.400049373338397 \tabularnewline
18 & 7.9 & 7.6999506266616 & 0.200049373338398 \tabularnewline
19 & 8.6 & 7.6999506266616 & 0.900049373338397 \tabularnewline
20 & 8.7 & 7.73642992783897 & 0.963570072161033 \tabularnewline
21 & 8.7 & 7.59051272312951 & 1.10948727687049 \tabularnewline
22 & 8.5 & 7.8093885301937 & 0.690611469806305 \tabularnewline
23 & 8.4 & 7.77290922901633 & 0.62709077098367 \tabularnewline
24 & 8.5 & 7.91882643372579 & 0.581173566274212 \tabularnewline
25 & 8.7 & 8.06474363843524 & 0.635256361564755 \tabularnewline
26 & 8.7 & 8.02826433725788 & 0.671735662742119 \tabularnewline
27 & 8.6 & 7.91882643372579 & 0.681173566274212 \tabularnewline
28 & 8.5 & 7.95530573490315 & 0.544694265096848 \tabularnewline
29 & 8.3 & 7.88234713254842 & 0.417652867451577 \tabularnewline
30 & 8 & 8.02826433725788 & -0.0282643372578802 \tabularnewline
31 & 8.2 & 8.02826433725788 & 0.171735662742119 \tabularnewline
32 & 8.1 & 8.02826433725788 & 0.0717356627421195 \tabularnewline
33 & 8.1 & 8.02826433725788 & 0.0717356627421195 \tabularnewline
34 & 8 & 8.17418154196734 & -0.174181541967337 \tabularnewline
35 & 7.9 & 8.13770224078997 & -0.237702240789972 \tabularnewline
36 & 7.9 & 7.8093885301937 & 0.0906114698063053 \tabularnewline
37 & 8 & 8.06474363843524 & -0.0647436384352444 \tabularnewline
38 & 8 & 8.13770224078997 & -0.137702240789973 \tabularnewline
39 & 7.9 & 8.06474363843524 & -0.164743638435244 \tabularnewline
40 & 8 & 8.17418154196734 & -0.174181541967337 \tabularnewline
41 & 7.7 & 8.17418154196734 & -0.474181541967337 \tabularnewline
42 & 7.2 & 8.13770224078997 & -0.937702240789973 \tabularnewline
43 & 7.5 & 8.06474363843524 & -0.564743638435244 \tabularnewline
44 & 7.3 & 8.02826433725788 & -0.72826433725788 \tabularnewline
45 & 7 & 8.02826433725788 & -1.02826433725788 \tabularnewline
46 & 7 & 8.06474363843524 & -1.06474363843524 \tabularnewline
47 & 7 & 7.8093885301937 & -0.809388530193695 \tabularnewline
48 & 7.2 & 7.95530573490315 & -0.755305734903152 \tabularnewline
49 & 7.3 & 7.88234713254842 & -0.582347132548424 \tabularnewline
50 & 7.1 & 7.99178503608052 & -0.891785036080516 \tabularnewline
51 & 6.8 & 7.99178503608052 & -1.19178503608052 \tabularnewline
52 & 6.4 & 7.84586783137106 & -1.44586783137106 \tabularnewline
53 & 6.1 & 7.77290922901633 & -1.67290922901633 \tabularnewline
54 & 6.5 & 7.6999506266616 & -1.19995062666160 \tabularnewline
55 & 7.7 & 7.62699202430687 & 0.0730079756931261 \tabularnewline
56 & 7.9 & 7.6999506266616 & 0.200049373338398 \tabularnewline
57 & 7.5 & 7.77290922901633 & -0.272909229016331 \tabularnewline
58 & 6.9 & 7.48107481959742 & -0.581074819597417 \tabularnewline
59 & 6.6 & 7.2986783137106 & -0.698678313710597 \tabularnewline
60 & 6.9 & 7.1892404101785 & -0.289240410178503 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67594&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.9[/C][C]7.99178503608054[/C][C]0.90821496391946[/C][/ROW]
[ROW][C]2[/C][C]8.8[/C][C]8.06474363843524[/C][C]0.735256361564756[/C][/ROW]
[ROW][C]3[/C][C]8.3[/C][C]7.99178503608052[/C][C]0.308214963919485[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]7.95530573490315[/C][C]-0.455305734903152[/C][/ROW]
[ROW][C]5[/C][C]7.2[/C][C]7.88234713254842[/C][C]-0.682347132548423[/C][/ROW]
[ROW][C]6[/C][C]7.4[/C][C]8.1012229396126[/C][C]-0.701222939612608[/C][/ROW]
[ROW][C]7[/C][C]8.8[/C][C]7.95530573490315[/C][C]0.844694265096849[/C][/ROW]
[ROW][C]8[/C][C]9.3[/C][C]8.02826433725788[/C][C]1.27173566274212[/C][/ROW]
[ROW][C]9[/C][C]9.3[/C][C]8.02826433725788[/C][C]1.27173566274212[/C][/ROW]
[ROW][C]10[/C][C]8.7[/C][C]7.88234713254842[/C][C]0.817652867451576[/C][/ROW]
[ROW][C]11[/C][C]8.2[/C][C]7.84586783137106[/C][C]0.35413216862894[/C][/ROW]
[ROW][C]12[/C][C]8.3[/C][C]7.88234713254842[/C][C]0.417652867451577[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]7.88234713254842[/C][C]0.617652867451577[/C][/ROW]
[ROW][C]14[/C][C]8.6[/C][C]7.99178503608052[/C][C]0.608214963919484[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.02826433725788[/C][C]0.47173566274212[/C][/ROW]
[ROW][C]16[/C][C]8.2[/C][C]7.91882643372579[/C][C]0.281173566274212[/C][/ROW]
[ROW][C]17[/C][C]8.1[/C][C]7.6999506266616[/C][C]0.400049373338397[/C][/ROW]
[ROW][C]18[/C][C]7.9[/C][C]7.6999506266616[/C][C]0.200049373338398[/C][/ROW]
[ROW][C]19[/C][C]8.6[/C][C]7.6999506266616[/C][C]0.900049373338397[/C][/ROW]
[ROW][C]20[/C][C]8.7[/C][C]7.73642992783897[/C][C]0.963570072161033[/C][/ROW]
[ROW][C]21[/C][C]8.7[/C][C]7.59051272312951[/C][C]1.10948727687049[/C][/ROW]
[ROW][C]22[/C][C]8.5[/C][C]7.8093885301937[/C][C]0.690611469806305[/C][/ROW]
[ROW][C]23[/C][C]8.4[/C][C]7.77290922901633[/C][C]0.62709077098367[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]7.91882643372579[/C][C]0.581173566274212[/C][/ROW]
[ROW][C]25[/C][C]8.7[/C][C]8.06474363843524[/C][C]0.635256361564755[/C][/ROW]
[ROW][C]26[/C][C]8.7[/C][C]8.02826433725788[/C][C]0.671735662742119[/C][/ROW]
[ROW][C]27[/C][C]8.6[/C][C]7.91882643372579[/C][C]0.681173566274212[/C][/ROW]
[ROW][C]28[/C][C]8.5[/C][C]7.95530573490315[/C][C]0.544694265096848[/C][/ROW]
[ROW][C]29[/C][C]8.3[/C][C]7.88234713254842[/C][C]0.417652867451577[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]8.02826433725788[/C][C]-0.0282643372578802[/C][/ROW]
[ROW][C]31[/C][C]8.2[/C][C]8.02826433725788[/C][C]0.171735662742119[/C][/ROW]
[ROW][C]32[/C][C]8.1[/C][C]8.02826433725788[/C][C]0.0717356627421195[/C][/ROW]
[ROW][C]33[/C][C]8.1[/C][C]8.02826433725788[/C][C]0.0717356627421195[/C][/ROW]
[ROW][C]34[/C][C]8[/C][C]8.17418154196734[/C][C]-0.174181541967337[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]8.13770224078997[/C][C]-0.237702240789972[/C][/ROW]
[ROW][C]36[/C][C]7.9[/C][C]7.8093885301937[/C][C]0.0906114698063053[/C][/ROW]
[ROW][C]37[/C][C]8[/C][C]8.06474363843524[/C][C]-0.0647436384352444[/C][/ROW]
[ROW][C]38[/C][C]8[/C][C]8.13770224078997[/C][C]-0.137702240789973[/C][/ROW]
[ROW][C]39[/C][C]7.9[/C][C]8.06474363843524[/C][C]-0.164743638435244[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]8.17418154196734[/C][C]-0.174181541967337[/C][/ROW]
[ROW][C]41[/C][C]7.7[/C][C]8.17418154196734[/C][C]-0.474181541967337[/C][/ROW]
[ROW][C]42[/C][C]7.2[/C][C]8.13770224078997[/C][C]-0.937702240789973[/C][/ROW]
[ROW][C]43[/C][C]7.5[/C][C]8.06474363843524[/C][C]-0.564743638435244[/C][/ROW]
[ROW][C]44[/C][C]7.3[/C][C]8.02826433725788[/C][C]-0.72826433725788[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]8.02826433725788[/C][C]-1.02826433725788[/C][/ROW]
[ROW][C]46[/C][C]7[/C][C]8.06474363843524[/C][C]-1.06474363843524[/C][/ROW]
[ROW][C]47[/C][C]7[/C][C]7.8093885301937[/C][C]-0.809388530193695[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]7.95530573490315[/C][C]-0.755305734903152[/C][/ROW]
[ROW][C]49[/C][C]7.3[/C][C]7.88234713254842[/C][C]-0.582347132548424[/C][/ROW]
[ROW][C]50[/C][C]7.1[/C][C]7.99178503608052[/C][C]-0.891785036080516[/C][/ROW]
[ROW][C]51[/C][C]6.8[/C][C]7.99178503608052[/C][C]-1.19178503608052[/C][/ROW]
[ROW][C]52[/C][C]6.4[/C][C]7.84586783137106[/C][C]-1.44586783137106[/C][/ROW]
[ROW][C]53[/C][C]6.1[/C][C]7.77290922901633[/C][C]-1.67290922901633[/C][/ROW]
[ROW][C]54[/C][C]6.5[/C][C]7.6999506266616[/C][C]-1.19995062666160[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]7.62699202430687[/C][C]0.0730079756931261[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]7.6999506266616[/C][C]0.200049373338398[/C][/ROW]
[ROW][C]57[/C][C]7.5[/C][C]7.77290922901633[/C][C]-0.272909229016331[/C][/ROW]
[ROW][C]58[/C][C]6.9[/C][C]7.48107481959742[/C][C]-0.581074819597417[/C][/ROW]
[ROW][C]59[/C][C]6.6[/C][C]7.2986783137106[/C][C]-0.698678313710597[/C][/ROW]
[ROW][C]60[/C][C]6.9[/C][C]7.1892404101785[/C][C]-0.289240410178503[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67594&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67594&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.97.991785036080540.90821496391946
28.88.064743638435240.735256361564756
38.37.991785036080520.308214963919485
47.57.95530573490315-0.455305734903152
57.27.88234713254842-0.682347132548423
67.48.1012229396126-0.701222939612608
78.87.955305734903150.844694265096849
89.38.028264337257881.27173566274212
99.38.028264337257881.27173566274212
108.77.882347132548420.817652867451576
118.27.845867831371060.35413216862894
128.37.882347132548420.417652867451577
138.57.882347132548420.617652867451577
148.67.991785036080520.608214963919484
158.58.028264337257880.47173566274212
168.27.918826433725790.281173566274212
178.17.69995062666160.400049373338397
187.97.69995062666160.200049373338398
198.67.69995062666160.900049373338397
208.77.736429927838970.963570072161033
218.77.590512723129511.10948727687049
228.57.80938853019370.690611469806305
238.47.772909229016330.62709077098367
248.57.918826433725790.581173566274212
258.78.064743638435240.635256361564755
268.78.028264337257880.671735662742119
278.67.918826433725790.681173566274212
288.57.955305734903150.544694265096848
298.37.882347132548420.417652867451577
3088.02826433725788-0.0282643372578802
318.28.028264337257880.171735662742119
328.18.028264337257880.0717356627421195
338.18.028264337257880.0717356627421195
3488.17418154196734-0.174181541967337
357.98.13770224078997-0.237702240789972
367.97.80938853019370.0906114698063053
3788.06474363843524-0.0647436384352444
3888.13770224078997-0.137702240789973
397.98.06474363843524-0.164743638435244
4088.17418154196734-0.174181541967337
417.78.17418154196734-0.474181541967337
427.28.13770224078997-0.937702240789973
437.58.06474363843524-0.564743638435244
447.38.02826433725788-0.72826433725788
4578.02826433725788-1.02826433725788
4678.06474363843524-1.06474363843524
4777.8093885301937-0.809388530193695
487.27.95530573490315-0.755305734903152
497.37.88234713254842-0.582347132548424
507.17.99178503608052-0.891785036080516
516.87.99178503608052-1.19178503608052
526.47.84586783137106-1.44586783137106
536.17.77290922901633-1.67290922901633
546.57.6999506266616-1.19995062666160
557.77.626992024306870.0730079756931261
567.97.69995062666160.200049373338398
577.57.77290922901633-0.272909229016331
586.97.48107481959742-0.581074819597417
596.67.2986783137106-0.698678313710597
606.97.1892404101785-0.289240410178503







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.2307406405394540.4614812810789070.769259359460546
60.6623260676885640.6753478646228720.337673932311436
70.6773809591166340.6452380817667320.322619040883366
80.7593968147499940.4812063705000120.240603185250006
90.8005031494580440.3989937010839120.199496850541956
100.7844689672165710.4310620655668580.215531032783429
110.706312008449580.587375983100840.29368799155042
120.6233569631653250.753286073669350.376643036834675
130.5562691139867220.8874617720265570.443730886013278
140.4865225716876080.9730451433752160.513477428312392
150.4112515076187630.8225030152375270.588748492381237
160.3351038067891120.6702076135782230.664896193210888
170.2687754666905380.5375509333810750.731224533309462
180.2055849928211360.4111699856422710.794415007178864
190.2151299217064030.4302598434128050.784870078293597
200.2326526401039660.4653052802079330.767347359896034
210.2846718329215950.569343665843190.715328167078405
220.2722290873046130.5444581746092250.727770912695388
230.261268086820340.522536173640680.73873191317966
240.2490270315979520.4980540631959030.750972968402049
250.2516317725362420.5032635450724850.748368227463758
260.2730145136052160.5460290272104320.726985486394784
270.3160374506712310.6320749013424610.68396254932877
280.3489687400811530.6979374801623060.651031259918847
290.3788584372023450.757716874404690.621141562797655
300.3692515885645830.7385031771291650.630748411435417
310.3705101957321020.7410203914642050.629489804267898
320.3692654936344600.7385309872689190.63073450636554
330.374472531944340.748945063888680.62552746805566
340.3538615893694330.7077231787388650.646138410630567
350.3349593143904560.6699186287809130.665040685609544
360.3798101237660680.7596202475321350.620189876233932
370.3911667258303650.782333451660730.608833274169635
380.4005307106346880.8010614212693760.599469289365312
390.4239127471031130.8478254942062250.576087252896887
400.4728450742331050.945690148466210.527154925766895
410.4852180277862090.9704360555724170.514781972213791
420.5056169212683710.9887661574632570.494383078731629
430.5088645157245960.9822709685508070.491135484275404
440.5098069365340260.9803861269319480.490193063465974
450.5278648445175660.9442703109648680.472135155482434
460.518349025793320.963301948413360.48165097420668
470.5284021613283070.9431956773433860.471597838671693
480.484673096026350.96934619205270.51532690397365
490.4459427795896180.8918855591792360.554057220410382
500.3893822680156780.7787645360313560.610617731984322
510.3463881449886980.6927762899773950.653611855011302
520.4196615422788820.8393230845577630.580338457721118
530.7533847962829850.493230407434030.246615203717015
540.9427760946682070.1144478106635870.0572239053317933
550.8862461047755370.2275077904489270.113753895224463

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.230740640539454 & 0.461481281078907 & 0.769259359460546 \tabularnewline
6 & 0.662326067688564 & 0.675347864622872 & 0.337673932311436 \tabularnewline
7 & 0.677380959116634 & 0.645238081766732 & 0.322619040883366 \tabularnewline
8 & 0.759396814749994 & 0.481206370500012 & 0.240603185250006 \tabularnewline
9 & 0.800503149458044 & 0.398993701083912 & 0.199496850541956 \tabularnewline
10 & 0.784468967216571 & 0.431062065566858 & 0.215531032783429 \tabularnewline
11 & 0.70631200844958 & 0.58737598310084 & 0.29368799155042 \tabularnewline
12 & 0.623356963165325 & 0.75328607366935 & 0.376643036834675 \tabularnewline
13 & 0.556269113986722 & 0.887461772026557 & 0.443730886013278 \tabularnewline
14 & 0.486522571687608 & 0.973045143375216 & 0.513477428312392 \tabularnewline
15 & 0.411251507618763 & 0.822503015237527 & 0.588748492381237 \tabularnewline
16 & 0.335103806789112 & 0.670207613578223 & 0.664896193210888 \tabularnewline
17 & 0.268775466690538 & 0.537550933381075 & 0.731224533309462 \tabularnewline
18 & 0.205584992821136 & 0.411169985642271 & 0.794415007178864 \tabularnewline
19 & 0.215129921706403 & 0.430259843412805 & 0.784870078293597 \tabularnewline
20 & 0.232652640103966 & 0.465305280207933 & 0.767347359896034 \tabularnewline
21 & 0.284671832921595 & 0.56934366584319 & 0.715328167078405 \tabularnewline
22 & 0.272229087304613 & 0.544458174609225 & 0.727770912695388 \tabularnewline
23 & 0.26126808682034 & 0.52253617364068 & 0.73873191317966 \tabularnewline
24 & 0.249027031597952 & 0.498054063195903 & 0.750972968402049 \tabularnewline
25 & 0.251631772536242 & 0.503263545072485 & 0.748368227463758 \tabularnewline
26 & 0.273014513605216 & 0.546029027210432 & 0.726985486394784 \tabularnewline
27 & 0.316037450671231 & 0.632074901342461 & 0.68396254932877 \tabularnewline
28 & 0.348968740081153 & 0.697937480162306 & 0.651031259918847 \tabularnewline
29 & 0.378858437202345 & 0.75771687440469 & 0.621141562797655 \tabularnewline
30 & 0.369251588564583 & 0.738503177129165 & 0.630748411435417 \tabularnewline
31 & 0.370510195732102 & 0.741020391464205 & 0.629489804267898 \tabularnewline
32 & 0.369265493634460 & 0.738530987268919 & 0.63073450636554 \tabularnewline
33 & 0.37447253194434 & 0.74894506388868 & 0.62552746805566 \tabularnewline
34 & 0.353861589369433 & 0.707723178738865 & 0.646138410630567 \tabularnewline
35 & 0.334959314390456 & 0.669918628780913 & 0.665040685609544 \tabularnewline
36 & 0.379810123766068 & 0.759620247532135 & 0.620189876233932 \tabularnewline
37 & 0.391166725830365 & 0.78233345166073 & 0.608833274169635 \tabularnewline
38 & 0.400530710634688 & 0.801061421269376 & 0.599469289365312 \tabularnewline
39 & 0.423912747103113 & 0.847825494206225 & 0.576087252896887 \tabularnewline
40 & 0.472845074233105 & 0.94569014846621 & 0.527154925766895 \tabularnewline
41 & 0.485218027786209 & 0.970436055572417 & 0.514781972213791 \tabularnewline
42 & 0.505616921268371 & 0.988766157463257 & 0.494383078731629 \tabularnewline
43 & 0.508864515724596 & 0.982270968550807 & 0.491135484275404 \tabularnewline
44 & 0.509806936534026 & 0.980386126931948 & 0.490193063465974 \tabularnewline
45 & 0.527864844517566 & 0.944270310964868 & 0.472135155482434 \tabularnewline
46 & 0.51834902579332 & 0.96330194841336 & 0.48165097420668 \tabularnewline
47 & 0.528402161328307 & 0.943195677343386 & 0.471597838671693 \tabularnewline
48 & 0.48467309602635 & 0.9693461920527 & 0.51532690397365 \tabularnewline
49 & 0.445942779589618 & 0.891885559179236 & 0.554057220410382 \tabularnewline
50 & 0.389382268015678 & 0.778764536031356 & 0.610617731984322 \tabularnewline
51 & 0.346388144988698 & 0.692776289977395 & 0.653611855011302 \tabularnewline
52 & 0.419661542278882 & 0.839323084557763 & 0.580338457721118 \tabularnewline
53 & 0.753384796282985 & 0.49323040743403 & 0.246615203717015 \tabularnewline
54 & 0.942776094668207 & 0.114447810663587 & 0.0572239053317933 \tabularnewline
55 & 0.886246104775537 & 0.227507790448927 & 0.113753895224463 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67594&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]5[/C][C]0.230740640539454[/C][C]0.461481281078907[/C][C]0.769259359460546[/C][/ROW]
[ROW][C]6[/C][C]0.662326067688564[/C][C]0.675347864622872[/C][C]0.337673932311436[/C][/ROW]
[ROW][C]7[/C][C]0.677380959116634[/C][C]0.645238081766732[/C][C]0.322619040883366[/C][/ROW]
[ROW][C]8[/C][C]0.759396814749994[/C][C]0.481206370500012[/C][C]0.240603185250006[/C][/ROW]
[ROW][C]9[/C][C]0.800503149458044[/C][C]0.398993701083912[/C][C]0.199496850541956[/C][/ROW]
[ROW][C]10[/C][C]0.784468967216571[/C][C]0.431062065566858[/C][C]0.215531032783429[/C][/ROW]
[ROW][C]11[/C][C]0.70631200844958[/C][C]0.58737598310084[/C][C]0.29368799155042[/C][/ROW]
[ROW][C]12[/C][C]0.623356963165325[/C][C]0.75328607366935[/C][C]0.376643036834675[/C][/ROW]
[ROW][C]13[/C][C]0.556269113986722[/C][C]0.887461772026557[/C][C]0.443730886013278[/C][/ROW]
[ROW][C]14[/C][C]0.486522571687608[/C][C]0.973045143375216[/C][C]0.513477428312392[/C][/ROW]
[ROW][C]15[/C][C]0.411251507618763[/C][C]0.822503015237527[/C][C]0.588748492381237[/C][/ROW]
[ROW][C]16[/C][C]0.335103806789112[/C][C]0.670207613578223[/C][C]0.664896193210888[/C][/ROW]
[ROW][C]17[/C][C]0.268775466690538[/C][C]0.537550933381075[/C][C]0.731224533309462[/C][/ROW]
[ROW][C]18[/C][C]0.205584992821136[/C][C]0.411169985642271[/C][C]0.794415007178864[/C][/ROW]
[ROW][C]19[/C][C]0.215129921706403[/C][C]0.430259843412805[/C][C]0.784870078293597[/C][/ROW]
[ROW][C]20[/C][C]0.232652640103966[/C][C]0.465305280207933[/C][C]0.767347359896034[/C][/ROW]
[ROW][C]21[/C][C]0.284671832921595[/C][C]0.56934366584319[/C][C]0.715328167078405[/C][/ROW]
[ROW][C]22[/C][C]0.272229087304613[/C][C]0.544458174609225[/C][C]0.727770912695388[/C][/ROW]
[ROW][C]23[/C][C]0.26126808682034[/C][C]0.52253617364068[/C][C]0.73873191317966[/C][/ROW]
[ROW][C]24[/C][C]0.249027031597952[/C][C]0.498054063195903[/C][C]0.750972968402049[/C][/ROW]
[ROW][C]25[/C][C]0.251631772536242[/C][C]0.503263545072485[/C][C]0.748368227463758[/C][/ROW]
[ROW][C]26[/C][C]0.273014513605216[/C][C]0.546029027210432[/C][C]0.726985486394784[/C][/ROW]
[ROW][C]27[/C][C]0.316037450671231[/C][C]0.632074901342461[/C][C]0.68396254932877[/C][/ROW]
[ROW][C]28[/C][C]0.348968740081153[/C][C]0.697937480162306[/C][C]0.651031259918847[/C][/ROW]
[ROW][C]29[/C][C]0.378858437202345[/C][C]0.75771687440469[/C][C]0.621141562797655[/C][/ROW]
[ROW][C]30[/C][C]0.369251588564583[/C][C]0.738503177129165[/C][C]0.630748411435417[/C][/ROW]
[ROW][C]31[/C][C]0.370510195732102[/C][C]0.741020391464205[/C][C]0.629489804267898[/C][/ROW]
[ROW][C]32[/C][C]0.369265493634460[/C][C]0.738530987268919[/C][C]0.63073450636554[/C][/ROW]
[ROW][C]33[/C][C]0.37447253194434[/C][C]0.74894506388868[/C][C]0.62552746805566[/C][/ROW]
[ROW][C]34[/C][C]0.353861589369433[/C][C]0.707723178738865[/C][C]0.646138410630567[/C][/ROW]
[ROW][C]35[/C][C]0.334959314390456[/C][C]0.669918628780913[/C][C]0.665040685609544[/C][/ROW]
[ROW][C]36[/C][C]0.379810123766068[/C][C]0.759620247532135[/C][C]0.620189876233932[/C][/ROW]
[ROW][C]37[/C][C]0.391166725830365[/C][C]0.78233345166073[/C][C]0.608833274169635[/C][/ROW]
[ROW][C]38[/C][C]0.400530710634688[/C][C]0.801061421269376[/C][C]0.599469289365312[/C][/ROW]
[ROW][C]39[/C][C]0.423912747103113[/C][C]0.847825494206225[/C][C]0.576087252896887[/C][/ROW]
[ROW][C]40[/C][C]0.472845074233105[/C][C]0.94569014846621[/C][C]0.527154925766895[/C][/ROW]
[ROW][C]41[/C][C]0.485218027786209[/C][C]0.970436055572417[/C][C]0.514781972213791[/C][/ROW]
[ROW][C]42[/C][C]0.505616921268371[/C][C]0.988766157463257[/C][C]0.494383078731629[/C][/ROW]
[ROW][C]43[/C][C]0.508864515724596[/C][C]0.982270968550807[/C][C]0.491135484275404[/C][/ROW]
[ROW][C]44[/C][C]0.509806936534026[/C][C]0.980386126931948[/C][C]0.490193063465974[/C][/ROW]
[ROW][C]45[/C][C]0.527864844517566[/C][C]0.944270310964868[/C][C]0.472135155482434[/C][/ROW]
[ROW][C]46[/C][C]0.51834902579332[/C][C]0.96330194841336[/C][C]0.48165097420668[/C][/ROW]
[ROW][C]47[/C][C]0.528402161328307[/C][C]0.943195677343386[/C][C]0.471597838671693[/C][/ROW]
[ROW][C]48[/C][C]0.48467309602635[/C][C]0.9693461920527[/C][C]0.51532690397365[/C][/ROW]
[ROW][C]49[/C][C]0.445942779589618[/C][C]0.891885559179236[/C][C]0.554057220410382[/C][/ROW]
[ROW][C]50[/C][C]0.389382268015678[/C][C]0.778764536031356[/C][C]0.610617731984322[/C][/ROW]
[ROW][C]51[/C][C]0.346388144988698[/C][C]0.692776289977395[/C][C]0.653611855011302[/C][/ROW]
[ROW][C]52[/C][C]0.419661542278882[/C][C]0.839323084557763[/C][C]0.580338457721118[/C][/ROW]
[ROW][C]53[/C][C]0.753384796282985[/C][C]0.49323040743403[/C][C]0.246615203717015[/C][/ROW]
[ROW][C]54[/C][C]0.942776094668207[/C][C]0.114447810663587[/C][C]0.0572239053317933[/C][/ROW]
[ROW][C]55[/C][C]0.886246104775537[/C][C]0.227507790448927[/C][C]0.113753895224463[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67594&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67594&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
50.2307406405394540.4614812810789070.769259359460546
60.6623260676885640.6753478646228720.337673932311436
70.6773809591166340.6452380817667320.322619040883366
80.7593968147499940.4812063705000120.240603185250006
90.8005031494580440.3989937010839120.199496850541956
100.7844689672165710.4310620655668580.215531032783429
110.706312008449580.587375983100840.29368799155042
120.6233569631653250.753286073669350.376643036834675
130.5562691139867220.8874617720265570.443730886013278
140.4865225716876080.9730451433752160.513477428312392
150.4112515076187630.8225030152375270.588748492381237
160.3351038067891120.6702076135782230.664896193210888
170.2687754666905380.5375509333810750.731224533309462
180.2055849928211360.4111699856422710.794415007178864
190.2151299217064030.4302598434128050.784870078293597
200.2326526401039660.4653052802079330.767347359896034
210.2846718329215950.569343665843190.715328167078405
220.2722290873046130.5444581746092250.727770912695388
230.261268086820340.522536173640680.73873191317966
240.2490270315979520.4980540631959030.750972968402049
250.2516317725362420.5032635450724850.748368227463758
260.2730145136052160.5460290272104320.726985486394784
270.3160374506712310.6320749013424610.68396254932877
280.3489687400811530.6979374801623060.651031259918847
290.3788584372023450.757716874404690.621141562797655
300.3692515885645830.7385031771291650.630748411435417
310.3705101957321020.7410203914642050.629489804267898
320.3692654936344600.7385309872689190.63073450636554
330.374472531944340.748945063888680.62552746805566
340.3538615893694330.7077231787388650.646138410630567
350.3349593143904560.6699186287809130.665040685609544
360.3798101237660680.7596202475321350.620189876233932
370.3911667258303650.782333451660730.608833274169635
380.4005307106346880.8010614212693760.599469289365312
390.4239127471031130.8478254942062250.576087252896887
400.4728450742331050.945690148466210.527154925766895
410.4852180277862090.9704360555724170.514781972213791
420.5056169212683710.9887661574632570.494383078731629
430.5088645157245960.9822709685508070.491135484275404
440.5098069365340260.9803861269319480.490193063465974
450.5278648445175660.9442703109648680.472135155482434
460.518349025793320.963301948413360.48165097420668
470.5284021613283070.9431956773433860.471597838671693
480.484673096026350.96934619205270.51532690397365
490.4459427795896180.8918855591792360.554057220410382
500.3893822680156780.7787645360313560.610617731984322
510.3463881449886980.6927762899773950.653611855011302
520.4196615422788820.8393230845577630.580338457721118
530.7533847962829850.493230407434030.246615203717015
540.9427760946682070.1144478106635870.0572239053317933
550.8862461047755370.2275077904489270.113753895224463







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

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

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}