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 computationWed, 18 Nov 2009 10:08:15 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/18/t1258564899skkfnbispy49w01.htm/, Retrieved Sun, 05 May 2024 17:15:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57542, Retrieved Sun, 05 May 2024 17:15:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact118
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] [] [2009-11-18 17:08:15] [faa1ded5041cd5a0e2be04844f08502a] [Current]
Feedback Forum

Post a new message
Dataseries X:
24	24
22	23
25	24
24	24
29	27
26	28
26	25
21	19
23	19
22	19
21	20
16	16
19	22
16	21
25	25
27	29
23	28
22	25
23	26
20	24
24	28
23	28
20	28
21	28
22	32
17	31
21	22
19	29
23	31
22	29
15	32
23	32
21	31
18	29
18	28
18	28
18	29
10	22
13	26
10	24
9	27
9	27
6	23
11	21
9	19
10	17
9	19
16	21
10	13
7	8
7	5
14	10
11	6
10	6
6	8
8	11
13	12
12	13
15	19
16	19
16	18




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57542&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57542&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
s[t] = + 5.58678911521391 + 0.525575434025019consv[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
s[t] =  +  5.58678911521391 +  0.525575434025019consv[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57542&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]s[t] =  +  5.58678911521391 +  0.525575434025019consv[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57542&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57542&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
s[t] = + 5.58678911521391 + 0.525575434025019consv[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5.586789115213912.0794062.68670.0093590.00468
consv0.5255754340250190.0890215.903900

\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) & 5.58678911521391 & 2.079406 & 2.6867 & 0.009359 & 0.00468 \tabularnewline
consv & 0.525575434025019 & 0.089021 & 5.9039 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57542&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]5.58678911521391[/C][C]2.079406[/C][C]2.6867[/C][C]0.009359[/C][C]0.00468[/C][/ROW]
[ROW][C]consv[/C][C]0.525575434025019[/C][C]0.089021[/C][C]5.9039[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57542&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57542&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)5.586789115213912.0794062.68670.0093590.00468
consv0.5255754340250190.0890215.903900







Multiple Linear Regression - Regression Statistics
Multiple R0.609410364300489
R-squared0.371380992116854
Adjusted R-squared0.360726432661208
F-TEST (value)34.8565319535606
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value1.86578364536061e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.95273565874902
Sum Squared Residuals1447.2458398212

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.609410364300489 \tabularnewline
R-squared & 0.371380992116854 \tabularnewline
Adjusted R-squared & 0.360726432661208 \tabularnewline
F-TEST (value) & 34.8565319535606 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 1.86578364536061e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.95273565874902 \tabularnewline
Sum Squared Residuals & 1447.2458398212 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57542&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.609410364300489[/C][/ROW]
[ROW][C]R-squared[/C][C]0.371380992116854[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.360726432661208[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]34.8565319535606[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]1.86578364536061e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]4.95273565874902[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1447.2458398212[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57542&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57542&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.609410364300489
R-squared0.371380992116854
Adjusted R-squared0.360726432661208
F-TEST (value)34.8565319535606
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value1.86578364536061e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.95273565874902
Sum Squared Residuals1447.2458398212







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12418.20059953181445.79940046818562
22217.67502409778944.32497590221065
32518.20059953181446.79940046818562
42418.20059953181445.79940046818562
52919.77732583388949.22267416611056
62620.30290126791455.69709873208555
72618.72617496583947.2738250341606
82115.57272236168935.42727763831072
92315.57272236168937.42727763831072
102215.57272236168936.42727763831072
112116.09829779571434.9017022042857
121613.99599605961422.00400394038578
131917.14944866376431.85055133623566
141616.6238732297393-0.62387322973932
152518.72617496583946.2738250341606
162720.82847670193956.17152329806053
172320.30290126791452.69709873208555
182218.72617496583943.2738250341606
192319.25175039986443.74824960013558
202018.20059953181441.79940046818562
212420.30290126791453.69709873208555
222320.30290126791452.69709873208555
232020.3029012679145-0.302901267914455
242120.30290126791450.697098732085545
252222.4052030040145-0.405203004014532
261721.8796275699895-4.87962756998951
272117.14944866376433.85055133623566
281920.8284767019395-1.82847670193947
292321.87962756998951.12037243001049
302220.82847670193951.17152329806053
311522.4052030040145-7.40520300401453
322322.40520300401450.594796995985468
332121.8796275699895-0.879627569989513
341820.8284767019395-2.82847670193947
351820.3029012679145-2.30290126791445
361820.3029012679145-2.30290126791445
371820.8284767019395-2.82847670193947
381017.1494486637643-7.14944866376434
391319.2517503998644-6.25175039986442
401018.2005995318144-8.20059953181438
41919.7773258338894-10.7773258338894
42919.7773258338894-10.7773258338894
43617.6750240977894-11.6750240977894
441116.6238732297393-5.62387322973932
45915.5727223616893-6.57272236168928
461014.5215714936392-4.52157149363924
47915.5727223616893-6.57272236168928
481616.6238732297393-0.62387322973932
491012.4192697575392-2.41926975753917
5079.79139258741407-2.79139258741407
5178.21466628533901-1.21466628533901
521410.84254345546413.15745654453589
53118.740241719364032.25975828063597
54108.740241719364031.25975828063597
5569.79139258741407-3.79139258741407
56811.3681188894891-3.36811888948913
571311.89369432351411.10630567648585
581212.4192697575392-0.419269757539166
591515.5727223616893-0.572722361689281
601615.57272236168930.427277638310719
611615.04714692766430.952853072335738

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 24 & 18.2005995318144 & 5.79940046818562 \tabularnewline
2 & 22 & 17.6750240977894 & 4.32497590221065 \tabularnewline
3 & 25 & 18.2005995318144 & 6.79940046818562 \tabularnewline
4 & 24 & 18.2005995318144 & 5.79940046818562 \tabularnewline
5 & 29 & 19.7773258338894 & 9.22267416611056 \tabularnewline
6 & 26 & 20.3029012679145 & 5.69709873208555 \tabularnewline
7 & 26 & 18.7261749658394 & 7.2738250341606 \tabularnewline
8 & 21 & 15.5727223616893 & 5.42727763831072 \tabularnewline
9 & 23 & 15.5727223616893 & 7.42727763831072 \tabularnewline
10 & 22 & 15.5727223616893 & 6.42727763831072 \tabularnewline
11 & 21 & 16.0982977957143 & 4.9017022042857 \tabularnewline
12 & 16 & 13.9959960596142 & 2.00400394038578 \tabularnewline
13 & 19 & 17.1494486637643 & 1.85055133623566 \tabularnewline
14 & 16 & 16.6238732297393 & -0.62387322973932 \tabularnewline
15 & 25 & 18.7261749658394 & 6.2738250341606 \tabularnewline
16 & 27 & 20.8284767019395 & 6.17152329806053 \tabularnewline
17 & 23 & 20.3029012679145 & 2.69709873208555 \tabularnewline
18 & 22 & 18.7261749658394 & 3.2738250341606 \tabularnewline
19 & 23 & 19.2517503998644 & 3.74824960013558 \tabularnewline
20 & 20 & 18.2005995318144 & 1.79940046818562 \tabularnewline
21 & 24 & 20.3029012679145 & 3.69709873208555 \tabularnewline
22 & 23 & 20.3029012679145 & 2.69709873208555 \tabularnewline
23 & 20 & 20.3029012679145 & -0.302901267914455 \tabularnewline
24 & 21 & 20.3029012679145 & 0.697098732085545 \tabularnewline
25 & 22 & 22.4052030040145 & -0.405203004014532 \tabularnewline
26 & 17 & 21.8796275699895 & -4.87962756998951 \tabularnewline
27 & 21 & 17.1494486637643 & 3.85055133623566 \tabularnewline
28 & 19 & 20.8284767019395 & -1.82847670193947 \tabularnewline
29 & 23 & 21.8796275699895 & 1.12037243001049 \tabularnewline
30 & 22 & 20.8284767019395 & 1.17152329806053 \tabularnewline
31 & 15 & 22.4052030040145 & -7.40520300401453 \tabularnewline
32 & 23 & 22.4052030040145 & 0.594796995985468 \tabularnewline
33 & 21 & 21.8796275699895 & -0.879627569989513 \tabularnewline
34 & 18 & 20.8284767019395 & -2.82847670193947 \tabularnewline
35 & 18 & 20.3029012679145 & -2.30290126791445 \tabularnewline
36 & 18 & 20.3029012679145 & -2.30290126791445 \tabularnewline
37 & 18 & 20.8284767019395 & -2.82847670193947 \tabularnewline
38 & 10 & 17.1494486637643 & -7.14944866376434 \tabularnewline
39 & 13 & 19.2517503998644 & -6.25175039986442 \tabularnewline
40 & 10 & 18.2005995318144 & -8.20059953181438 \tabularnewline
41 & 9 & 19.7773258338894 & -10.7773258338894 \tabularnewline
42 & 9 & 19.7773258338894 & -10.7773258338894 \tabularnewline
43 & 6 & 17.6750240977894 & -11.6750240977894 \tabularnewline
44 & 11 & 16.6238732297393 & -5.62387322973932 \tabularnewline
45 & 9 & 15.5727223616893 & -6.57272236168928 \tabularnewline
46 & 10 & 14.5215714936392 & -4.52157149363924 \tabularnewline
47 & 9 & 15.5727223616893 & -6.57272236168928 \tabularnewline
48 & 16 & 16.6238732297393 & -0.62387322973932 \tabularnewline
49 & 10 & 12.4192697575392 & -2.41926975753917 \tabularnewline
50 & 7 & 9.79139258741407 & -2.79139258741407 \tabularnewline
51 & 7 & 8.21466628533901 & -1.21466628533901 \tabularnewline
52 & 14 & 10.8425434554641 & 3.15745654453589 \tabularnewline
53 & 11 & 8.74024171936403 & 2.25975828063597 \tabularnewline
54 & 10 & 8.74024171936403 & 1.25975828063597 \tabularnewline
55 & 6 & 9.79139258741407 & -3.79139258741407 \tabularnewline
56 & 8 & 11.3681188894891 & -3.36811888948913 \tabularnewline
57 & 13 & 11.8936943235141 & 1.10630567648585 \tabularnewline
58 & 12 & 12.4192697575392 & -0.419269757539166 \tabularnewline
59 & 15 & 15.5727223616893 & -0.572722361689281 \tabularnewline
60 & 16 & 15.5727223616893 & 0.427277638310719 \tabularnewline
61 & 16 & 15.0471469276643 & 0.952853072335738 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57542&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]24[/C][C]18.2005995318144[/C][C]5.79940046818562[/C][/ROW]
[ROW][C]2[/C][C]22[/C][C]17.6750240977894[/C][C]4.32497590221065[/C][/ROW]
[ROW][C]3[/C][C]25[/C][C]18.2005995318144[/C][C]6.79940046818562[/C][/ROW]
[ROW][C]4[/C][C]24[/C][C]18.2005995318144[/C][C]5.79940046818562[/C][/ROW]
[ROW][C]5[/C][C]29[/C][C]19.7773258338894[/C][C]9.22267416611056[/C][/ROW]
[ROW][C]6[/C][C]26[/C][C]20.3029012679145[/C][C]5.69709873208555[/C][/ROW]
[ROW][C]7[/C][C]26[/C][C]18.7261749658394[/C][C]7.2738250341606[/C][/ROW]
[ROW][C]8[/C][C]21[/C][C]15.5727223616893[/C][C]5.42727763831072[/C][/ROW]
[ROW][C]9[/C][C]23[/C][C]15.5727223616893[/C][C]7.42727763831072[/C][/ROW]
[ROW][C]10[/C][C]22[/C][C]15.5727223616893[/C][C]6.42727763831072[/C][/ROW]
[ROW][C]11[/C][C]21[/C][C]16.0982977957143[/C][C]4.9017022042857[/C][/ROW]
[ROW][C]12[/C][C]16[/C][C]13.9959960596142[/C][C]2.00400394038578[/C][/ROW]
[ROW][C]13[/C][C]19[/C][C]17.1494486637643[/C][C]1.85055133623566[/C][/ROW]
[ROW][C]14[/C][C]16[/C][C]16.6238732297393[/C][C]-0.62387322973932[/C][/ROW]
[ROW][C]15[/C][C]25[/C][C]18.7261749658394[/C][C]6.2738250341606[/C][/ROW]
[ROW][C]16[/C][C]27[/C][C]20.8284767019395[/C][C]6.17152329806053[/C][/ROW]
[ROW][C]17[/C][C]23[/C][C]20.3029012679145[/C][C]2.69709873208555[/C][/ROW]
[ROW][C]18[/C][C]22[/C][C]18.7261749658394[/C][C]3.2738250341606[/C][/ROW]
[ROW][C]19[/C][C]23[/C][C]19.2517503998644[/C][C]3.74824960013558[/C][/ROW]
[ROW][C]20[/C][C]20[/C][C]18.2005995318144[/C][C]1.79940046818562[/C][/ROW]
[ROW][C]21[/C][C]24[/C][C]20.3029012679145[/C][C]3.69709873208555[/C][/ROW]
[ROW][C]22[/C][C]23[/C][C]20.3029012679145[/C][C]2.69709873208555[/C][/ROW]
[ROW][C]23[/C][C]20[/C][C]20.3029012679145[/C][C]-0.302901267914455[/C][/ROW]
[ROW][C]24[/C][C]21[/C][C]20.3029012679145[/C][C]0.697098732085545[/C][/ROW]
[ROW][C]25[/C][C]22[/C][C]22.4052030040145[/C][C]-0.405203004014532[/C][/ROW]
[ROW][C]26[/C][C]17[/C][C]21.8796275699895[/C][C]-4.87962756998951[/C][/ROW]
[ROW][C]27[/C][C]21[/C][C]17.1494486637643[/C][C]3.85055133623566[/C][/ROW]
[ROW][C]28[/C][C]19[/C][C]20.8284767019395[/C][C]-1.82847670193947[/C][/ROW]
[ROW][C]29[/C][C]23[/C][C]21.8796275699895[/C][C]1.12037243001049[/C][/ROW]
[ROW][C]30[/C][C]22[/C][C]20.8284767019395[/C][C]1.17152329806053[/C][/ROW]
[ROW][C]31[/C][C]15[/C][C]22.4052030040145[/C][C]-7.40520300401453[/C][/ROW]
[ROW][C]32[/C][C]23[/C][C]22.4052030040145[/C][C]0.594796995985468[/C][/ROW]
[ROW][C]33[/C][C]21[/C][C]21.8796275699895[/C][C]-0.879627569989513[/C][/ROW]
[ROW][C]34[/C][C]18[/C][C]20.8284767019395[/C][C]-2.82847670193947[/C][/ROW]
[ROW][C]35[/C][C]18[/C][C]20.3029012679145[/C][C]-2.30290126791445[/C][/ROW]
[ROW][C]36[/C][C]18[/C][C]20.3029012679145[/C][C]-2.30290126791445[/C][/ROW]
[ROW][C]37[/C][C]18[/C][C]20.8284767019395[/C][C]-2.82847670193947[/C][/ROW]
[ROW][C]38[/C][C]10[/C][C]17.1494486637643[/C][C]-7.14944866376434[/C][/ROW]
[ROW][C]39[/C][C]13[/C][C]19.2517503998644[/C][C]-6.25175039986442[/C][/ROW]
[ROW][C]40[/C][C]10[/C][C]18.2005995318144[/C][C]-8.20059953181438[/C][/ROW]
[ROW][C]41[/C][C]9[/C][C]19.7773258338894[/C][C]-10.7773258338894[/C][/ROW]
[ROW][C]42[/C][C]9[/C][C]19.7773258338894[/C][C]-10.7773258338894[/C][/ROW]
[ROW][C]43[/C][C]6[/C][C]17.6750240977894[/C][C]-11.6750240977894[/C][/ROW]
[ROW][C]44[/C][C]11[/C][C]16.6238732297393[/C][C]-5.62387322973932[/C][/ROW]
[ROW][C]45[/C][C]9[/C][C]15.5727223616893[/C][C]-6.57272236168928[/C][/ROW]
[ROW][C]46[/C][C]10[/C][C]14.5215714936392[/C][C]-4.52157149363924[/C][/ROW]
[ROW][C]47[/C][C]9[/C][C]15.5727223616893[/C][C]-6.57272236168928[/C][/ROW]
[ROW][C]48[/C][C]16[/C][C]16.6238732297393[/C][C]-0.62387322973932[/C][/ROW]
[ROW][C]49[/C][C]10[/C][C]12.4192697575392[/C][C]-2.41926975753917[/C][/ROW]
[ROW][C]50[/C][C]7[/C][C]9.79139258741407[/C][C]-2.79139258741407[/C][/ROW]
[ROW][C]51[/C][C]7[/C][C]8.21466628533901[/C][C]-1.21466628533901[/C][/ROW]
[ROW][C]52[/C][C]14[/C][C]10.8425434554641[/C][C]3.15745654453589[/C][/ROW]
[ROW][C]53[/C][C]11[/C][C]8.74024171936403[/C][C]2.25975828063597[/C][/ROW]
[ROW][C]54[/C][C]10[/C][C]8.74024171936403[/C][C]1.25975828063597[/C][/ROW]
[ROW][C]55[/C][C]6[/C][C]9.79139258741407[/C][C]-3.79139258741407[/C][/ROW]
[ROW][C]56[/C][C]8[/C][C]11.3681188894891[/C][C]-3.36811888948913[/C][/ROW]
[ROW][C]57[/C][C]13[/C][C]11.8936943235141[/C][C]1.10630567648585[/C][/ROW]
[ROW][C]58[/C][C]12[/C][C]12.4192697575392[/C][C]-0.419269757539166[/C][/ROW]
[ROW][C]59[/C][C]15[/C][C]15.5727223616893[/C][C]-0.572722361689281[/C][/ROW]
[ROW][C]60[/C][C]16[/C][C]15.5727223616893[/C][C]0.427277638310719[/C][/ROW]
[ROW][C]61[/C][C]16[/C][C]15.0471469276643[/C][C]0.952853072335738[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57542&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57542&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
12418.20059953181445.79940046818562
22217.67502409778944.32497590221065
32518.20059953181446.79940046818562
42418.20059953181445.79940046818562
52919.77732583388949.22267416611056
62620.30290126791455.69709873208555
72618.72617496583947.2738250341606
82115.57272236168935.42727763831072
92315.57272236168937.42727763831072
102215.57272236168936.42727763831072
112116.09829779571434.9017022042857
121613.99599605961422.00400394038578
131917.14944866376431.85055133623566
141616.6238732297393-0.62387322973932
152518.72617496583946.2738250341606
162720.82847670193956.17152329806053
172320.30290126791452.69709873208555
182218.72617496583943.2738250341606
192319.25175039986443.74824960013558
202018.20059953181441.79940046818562
212420.30290126791453.69709873208555
222320.30290126791452.69709873208555
232020.3029012679145-0.302901267914455
242120.30290126791450.697098732085545
252222.4052030040145-0.405203004014532
261721.8796275699895-4.87962756998951
272117.14944866376433.85055133623566
281920.8284767019395-1.82847670193947
292321.87962756998951.12037243001049
302220.82847670193951.17152329806053
311522.4052030040145-7.40520300401453
322322.40520300401450.594796995985468
332121.8796275699895-0.879627569989513
341820.8284767019395-2.82847670193947
351820.3029012679145-2.30290126791445
361820.3029012679145-2.30290126791445
371820.8284767019395-2.82847670193947
381017.1494486637643-7.14944866376434
391319.2517503998644-6.25175039986442
401018.2005995318144-8.20059953181438
41919.7773258338894-10.7773258338894
42919.7773258338894-10.7773258338894
43617.6750240977894-11.6750240977894
441116.6238732297393-5.62387322973932
45915.5727223616893-6.57272236168928
461014.5215714936392-4.52157149363924
47915.5727223616893-6.57272236168928
481616.6238732297393-0.62387322973932
491012.4192697575392-2.41926975753917
5079.79139258741407-2.79139258741407
5178.21466628533901-1.21466628533901
521410.84254345546413.15745654453589
53118.740241719364032.25975828063597
54108.740241719364031.25975828063597
5569.79139258741407-3.79139258741407
56811.3681188894891-3.36811888948913
571311.89369432351411.10630567648585
581212.4192697575392-0.419269757539166
591515.5727223616893-0.572722361689281
601615.57272236168930.427277638310719
611615.04714692766430.952853072335738







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.002589850701150580.005179701402301160.99741014929885
60.0225852183279690.0451704366559380.97741478167203
70.008739101045512760.01747820209102550.991260898954487
80.003230862832921240.006461725665842470.996769137167079
90.002684629360295520.005369258720591050.997315370639704
100.001026909216003910.002053818432007830.998973090783996
110.0004802588117493790.0009605176234987580.99951974118825
120.0007676257053817110.001535251410763420.999232374294618
130.002383891702372700.004767783404745410.997616108297627
140.01461495389802280.02922990779604570.985385046101977
150.01033787567589730.02067575135179450.989662124324103
160.008472662948762170.01694532589752430.991527337051238
170.01242085544882180.02484171089764360.987579144551178
180.01085738798813630.02171477597627260.989142612011864
190.009428531462728930.01885706292545790.990571468537271
200.01060021005706920.02120042011413830.98939978994293
210.01033694134436790.02067388268873590.989663058655632
220.01133078582945390.02266157165890780.988669214170546
230.02309727665494840.04619455330989670.976902723345052
240.02795373318748570.05590746637497150.972046266812514
250.03486642823123850.06973285646247690.965133571768761
260.09953864125284550.1990772825056910.900461358747154
270.1103029895875350.2206059791750690.889697010412465
280.1185335299292840.2370670598585680.881466470070716
290.1228441231533130.2456882463066250.877155876846687
300.1368310661929210.2736621323858420.863168933807079
310.2625230121850240.5250460243700470.737476987814976
320.308797646766030.617595293532060.69120235323397
330.3449721378519380.6899442757038770.655027862148062
340.3754428470731780.7508856941463560.624557152926822
350.4214325596745350.842865119349070.578567440325465
360.4910839336400690.9821678672801390.508916066359931
370.599268720101190.801462559797620.40073127989881
380.7849725030557190.4300549938885620.215027496944281
390.8203080894034730.3593838211930530.179691910596527
400.8783494668923440.2433010662153120.121650533107656
410.930373950428750.1392520991425010.0696260495712507
420.9602762814967720.0794474370064550.0397237185032275
430.9951748185197630.009650362960473760.00482518148023688
440.9946932806574040.01061343868519240.0053067193425962
450.9969672067589250.006065586482149710.00303279324107485
460.9966909796494880.006618040701024710.00330902035051236
470.9993145058374320.001370988325136960.000685494162568478
480.998237973317510.003524053364978210.00176202668248911
490.9969802870315920.006039425936815140.00301971296840757
500.9955377205151360.008924558969727560.00446227948486378
510.9901105668377150.01977886632456900.00988943316228452
520.989133108040080.02173378391984090.0108668919599205
530.9878945756246430.02421084875071330.0121054243753566
540.9926864322221240.01462713555575140.0073135677778757
550.9820486198270770.03590276034584520.0179513801729226
560.993440776113170.01311844777365950.00655922388682976

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.00258985070115058 & 0.00517970140230116 & 0.99741014929885 \tabularnewline
6 & 0.022585218327969 & 0.045170436655938 & 0.97741478167203 \tabularnewline
7 & 0.00873910104551276 & 0.0174782020910255 & 0.991260898954487 \tabularnewline
8 & 0.00323086283292124 & 0.00646172566584247 & 0.996769137167079 \tabularnewline
9 & 0.00268462936029552 & 0.00536925872059105 & 0.997315370639704 \tabularnewline
10 & 0.00102690921600391 & 0.00205381843200783 & 0.998973090783996 \tabularnewline
11 & 0.000480258811749379 & 0.000960517623498758 & 0.99951974118825 \tabularnewline
12 & 0.000767625705381711 & 0.00153525141076342 & 0.999232374294618 \tabularnewline
13 & 0.00238389170237270 & 0.00476778340474541 & 0.997616108297627 \tabularnewline
14 & 0.0146149538980228 & 0.0292299077960457 & 0.985385046101977 \tabularnewline
15 & 0.0103378756758973 & 0.0206757513517945 & 0.989662124324103 \tabularnewline
16 & 0.00847266294876217 & 0.0169453258975243 & 0.991527337051238 \tabularnewline
17 & 0.0124208554488218 & 0.0248417108976436 & 0.987579144551178 \tabularnewline
18 & 0.0108573879881363 & 0.0217147759762726 & 0.989142612011864 \tabularnewline
19 & 0.00942853146272893 & 0.0188570629254579 & 0.990571468537271 \tabularnewline
20 & 0.0106002100570692 & 0.0212004201141383 & 0.98939978994293 \tabularnewline
21 & 0.0103369413443679 & 0.0206738826887359 & 0.989663058655632 \tabularnewline
22 & 0.0113307858294539 & 0.0226615716589078 & 0.988669214170546 \tabularnewline
23 & 0.0230972766549484 & 0.0461945533098967 & 0.976902723345052 \tabularnewline
24 & 0.0279537331874857 & 0.0559074663749715 & 0.972046266812514 \tabularnewline
25 & 0.0348664282312385 & 0.0697328564624769 & 0.965133571768761 \tabularnewline
26 & 0.0995386412528455 & 0.199077282505691 & 0.900461358747154 \tabularnewline
27 & 0.110302989587535 & 0.220605979175069 & 0.889697010412465 \tabularnewline
28 & 0.118533529929284 & 0.237067059858568 & 0.881466470070716 \tabularnewline
29 & 0.122844123153313 & 0.245688246306625 & 0.877155876846687 \tabularnewline
30 & 0.136831066192921 & 0.273662132385842 & 0.863168933807079 \tabularnewline
31 & 0.262523012185024 & 0.525046024370047 & 0.737476987814976 \tabularnewline
32 & 0.30879764676603 & 0.61759529353206 & 0.69120235323397 \tabularnewline
33 & 0.344972137851938 & 0.689944275703877 & 0.655027862148062 \tabularnewline
34 & 0.375442847073178 & 0.750885694146356 & 0.624557152926822 \tabularnewline
35 & 0.421432559674535 & 0.84286511934907 & 0.578567440325465 \tabularnewline
36 & 0.491083933640069 & 0.982167867280139 & 0.508916066359931 \tabularnewline
37 & 0.59926872010119 & 0.80146255979762 & 0.40073127989881 \tabularnewline
38 & 0.784972503055719 & 0.430054993888562 & 0.215027496944281 \tabularnewline
39 & 0.820308089403473 & 0.359383821193053 & 0.179691910596527 \tabularnewline
40 & 0.878349466892344 & 0.243301066215312 & 0.121650533107656 \tabularnewline
41 & 0.93037395042875 & 0.139252099142501 & 0.0696260495712507 \tabularnewline
42 & 0.960276281496772 & 0.079447437006455 & 0.0397237185032275 \tabularnewline
43 & 0.995174818519763 & 0.00965036296047376 & 0.00482518148023688 \tabularnewline
44 & 0.994693280657404 & 0.0106134386851924 & 0.0053067193425962 \tabularnewline
45 & 0.996967206758925 & 0.00606558648214971 & 0.00303279324107485 \tabularnewline
46 & 0.996690979649488 & 0.00661804070102471 & 0.00330902035051236 \tabularnewline
47 & 0.999314505837432 & 0.00137098832513696 & 0.000685494162568478 \tabularnewline
48 & 0.99823797331751 & 0.00352405336497821 & 0.00176202668248911 \tabularnewline
49 & 0.996980287031592 & 0.00603942593681514 & 0.00301971296840757 \tabularnewline
50 & 0.995537720515136 & 0.00892455896972756 & 0.00446227948486378 \tabularnewline
51 & 0.990110566837715 & 0.0197788663245690 & 0.00988943316228452 \tabularnewline
52 & 0.98913310804008 & 0.0217337839198409 & 0.0108668919599205 \tabularnewline
53 & 0.987894575624643 & 0.0242108487507133 & 0.0121054243753566 \tabularnewline
54 & 0.992686432222124 & 0.0146271355557514 & 0.0073135677778757 \tabularnewline
55 & 0.982048619827077 & 0.0359027603458452 & 0.0179513801729226 \tabularnewline
56 & 0.99344077611317 & 0.0131184477736595 & 0.00655922388682976 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57542&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.00258985070115058[/C][C]0.00517970140230116[/C][C]0.99741014929885[/C][/ROW]
[ROW][C]6[/C][C]0.022585218327969[/C][C]0.045170436655938[/C][C]0.97741478167203[/C][/ROW]
[ROW][C]7[/C][C]0.00873910104551276[/C][C]0.0174782020910255[/C][C]0.991260898954487[/C][/ROW]
[ROW][C]8[/C][C]0.00323086283292124[/C][C]0.00646172566584247[/C][C]0.996769137167079[/C][/ROW]
[ROW][C]9[/C][C]0.00268462936029552[/C][C]0.00536925872059105[/C][C]0.997315370639704[/C][/ROW]
[ROW][C]10[/C][C]0.00102690921600391[/C][C]0.00205381843200783[/C][C]0.998973090783996[/C][/ROW]
[ROW][C]11[/C][C]0.000480258811749379[/C][C]0.000960517623498758[/C][C]0.99951974118825[/C][/ROW]
[ROW][C]12[/C][C]0.000767625705381711[/C][C]0.00153525141076342[/C][C]0.999232374294618[/C][/ROW]
[ROW][C]13[/C][C]0.00238389170237270[/C][C]0.00476778340474541[/C][C]0.997616108297627[/C][/ROW]
[ROW][C]14[/C][C]0.0146149538980228[/C][C]0.0292299077960457[/C][C]0.985385046101977[/C][/ROW]
[ROW][C]15[/C][C]0.0103378756758973[/C][C]0.0206757513517945[/C][C]0.989662124324103[/C][/ROW]
[ROW][C]16[/C][C]0.00847266294876217[/C][C]0.0169453258975243[/C][C]0.991527337051238[/C][/ROW]
[ROW][C]17[/C][C]0.0124208554488218[/C][C]0.0248417108976436[/C][C]0.987579144551178[/C][/ROW]
[ROW][C]18[/C][C]0.0108573879881363[/C][C]0.0217147759762726[/C][C]0.989142612011864[/C][/ROW]
[ROW][C]19[/C][C]0.00942853146272893[/C][C]0.0188570629254579[/C][C]0.990571468537271[/C][/ROW]
[ROW][C]20[/C][C]0.0106002100570692[/C][C]0.0212004201141383[/C][C]0.98939978994293[/C][/ROW]
[ROW][C]21[/C][C]0.0103369413443679[/C][C]0.0206738826887359[/C][C]0.989663058655632[/C][/ROW]
[ROW][C]22[/C][C]0.0113307858294539[/C][C]0.0226615716589078[/C][C]0.988669214170546[/C][/ROW]
[ROW][C]23[/C][C]0.0230972766549484[/C][C]0.0461945533098967[/C][C]0.976902723345052[/C][/ROW]
[ROW][C]24[/C][C]0.0279537331874857[/C][C]0.0559074663749715[/C][C]0.972046266812514[/C][/ROW]
[ROW][C]25[/C][C]0.0348664282312385[/C][C]0.0697328564624769[/C][C]0.965133571768761[/C][/ROW]
[ROW][C]26[/C][C]0.0995386412528455[/C][C]0.199077282505691[/C][C]0.900461358747154[/C][/ROW]
[ROW][C]27[/C][C]0.110302989587535[/C][C]0.220605979175069[/C][C]0.889697010412465[/C][/ROW]
[ROW][C]28[/C][C]0.118533529929284[/C][C]0.237067059858568[/C][C]0.881466470070716[/C][/ROW]
[ROW][C]29[/C][C]0.122844123153313[/C][C]0.245688246306625[/C][C]0.877155876846687[/C][/ROW]
[ROW][C]30[/C][C]0.136831066192921[/C][C]0.273662132385842[/C][C]0.863168933807079[/C][/ROW]
[ROW][C]31[/C][C]0.262523012185024[/C][C]0.525046024370047[/C][C]0.737476987814976[/C][/ROW]
[ROW][C]32[/C][C]0.30879764676603[/C][C]0.61759529353206[/C][C]0.69120235323397[/C][/ROW]
[ROW][C]33[/C][C]0.344972137851938[/C][C]0.689944275703877[/C][C]0.655027862148062[/C][/ROW]
[ROW][C]34[/C][C]0.375442847073178[/C][C]0.750885694146356[/C][C]0.624557152926822[/C][/ROW]
[ROW][C]35[/C][C]0.421432559674535[/C][C]0.84286511934907[/C][C]0.578567440325465[/C][/ROW]
[ROW][C]36[/C][C]0.491083933640069[/C][C]0.982167867280139[/C][C]0.508916066359931[/C][/ROW]
[ROW][C]37[/C][C]0.59926872010119[/C][C]0.80146255979762[/C][C]0.40073127989881[/C][/ROW]
[ROW][C]38[/C][C]0.784972503055719[/C][C]0.430054993888562[/C][C]0.215027496944281[/C][/ROW]
[ROW][C]39[/C][C]0.820308089403473[/C][C]0.359383821193053[/C][C]0.179691910596527[/C][/ROW]
[ROW][C]40[/C][C]0.878349466892344[/C][C]0.243301066215312[/C][C]0.121650533107656[/C][/ROW]
[ROW][C]41[/C][C]0.93037395042875[/C][C]0.139252099142501[/C][C]0.0696260495712507[/C][/ROW]
[ROW][C]42[/C][C]0.960276281496772[/C][C]0.079447437006455[/C][C]0.0397237185032275[/C][/ROW]
[ROW][C]43[/C][C]0.995174818519763[/C][C]0.00965036296047376[/C][C]0.00482518148023688[/C][/ROW]
[ROW][C]44[/C][C]0.994693280657404[/C][C]0.0106134386851924[/C][C]0.0053067193425962[/C][/ROW]
[ROW][C]45[/C][C]0.996967206758925[/C][C]0.00606558648214971[/C][C]0.00303279324107485[/C][/ROW]
[ROW][C]46[/C][C]0.996690979649488[/C][C]0.00661804070102471[/C][C]0.00330902035051236[/C][/ROW]
[ROW][C]47[/C][C]0.999314505837432[/C][C]0.00137098832513696[/C][C]0.000685494162568478[/C][/ROW]
[ROW][C]48[/C][C]0.99823797331751[/C][C]0.00352405336497821[/C][C]0.00176202668248911[/C][/ROW]
[ROW][C]49[/C][C]0.996980287031592[/C][C]0.00603942593681514[/C][C]0.00301971296840757[/C][/ROW]
[ROW][C]50[/C][C]0.995537720515136[/C][C]0.00892455896972756[/C][C]0.00446227948486378[/C][/ROW]
[ROW][C]51[/C][C]0.990110566837715[/C][C]0.0197788663245690[/C][C]0.00988943316228452[/C][/ROW]
[ROW][C]52[/C][C]0.98913310804008[/C][C]0.0217337839198409[/C][C]0.0108668919599205[/C][/ROW]
[ROW][C]53[/C][C]0.987894575624643[/C][C]0.0242108487507133[/C][C]0.0121054243753566[/C][/ROW]
[ROW][C]54[/C][C]0.992686432222124[/C][C]0.0146271355557514[/C][C]0.0073135677778757[/C][/ROW]
[ROW][C]55[/C][C]0.982048619827077[/C][C]0.0359027603458452[/C][C]0.0179513801729226[/C][/ROW]
[ROW][C]56[/C][C]0.99344077611317[/C][C]0.0131184477736595[/C][C]0.00655922388682976[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57542&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57542&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.002589850701150580.005179701402301160.99741014929885
60.0225852183279690.0451704366559380.97741478167203
70.008739101045512760.01747820209102550.991260898954487
80.003230862832921240.006461725665842470.996769137167079
90.002684629360295520.005369258720591050.997315370639704
100.001026909216003910.002053818432007830.998973090783996
110.0004802588117493790.0009605176234987580.99951974118825
120.0007676257053817110.001535251410763420.999232374294618
130.002383891702372700.004767783404745410.997616108297627
140.01461495389802280.02922990779604570.985385046101977
150.01033787567589730.02067575135179450.989662124324103
160.008472662948762170.01694532589752430.991527337051238
170.01242085544882180.02484171089764360.987579144551178
180.01085738798813630.02171477597627260.989142612011864
190.009428531462728930.01885706292545790.990571468537271
200.01060021005706920.02120042011413830.98939978994293
210.01033694134436790.02067388268873590.989663058655632
220.01133078582945390.02266157165890780.988669214170546
230.02309727665494840.04619455330989670.976902723345052
240.02795373318748570.05590746637497150.972046266812514
250.03486642823123850.06973285646247690.965133571768761
260.09953864125284550.1990772825056910.900461358747154
270.1103029895875350.2206059791750690.889697010412465
280.1185335299292840.2370670598585680.881466470070716
290.1228441231533130.2456882463066250.877155876846687
300.1368310661929210.2736621323858420.863168933807079
310.2625230121850240.5250460243700470.737476987814976
320.308797646766030.617595293532060.69120235323397
330.3449721378519380.6899442757038770.655027862148062
340.3754428470731780.7508856941463560.624557152926822
350.4214325596745350.842865119349070.578567440325465
360.4910839336400690.9821678672801390.508916066359931
370.599268720101190.801462559797620.40073127989881
380.7849725030557190.4300549938885620.215027496944281
390.8203080894034730.3593838211930530.179691910596527
400.8783494668923440.2433010662153120.121650533107656
410.930373950428750.1392520991425010.0696260495712507
420.9602762814967720.0794474370064550.0397237185032275
430.9951748185197630.009650362960473760.00482518148023688
440.9946932806574040.01061343868519240.0053067193425962
450.9969672067589250.006065586482149710.00303279324107485
460.9966909796494880.006618040701024710.00330902035051236
470.9993145058374320.001370988325136960.000685494162568478
480.998237973317510.003524053364978210.00176202668248911
490.9969802870315920.006039425936815140.00301971296840757
500.9955377205151360.008924558969727560.00446227948486378
510.9901105668377150.01977886632456900.00988943316228452
520.989133108040080.02173378391984090.0108668919599205
530.9878945756246430.02421084875071330.0121054243753566
540.9926864322221240.01462713555575140.0073135677778757
550.9820486198270770.03590276034584520.0179513801729226
560.993440776113170.01311844777365950.00655922388682976







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.269230769230769NOK
5% type I error level330.634615384615385NOK
10% type I error level360.692307692307692NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57542&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 level140.269230769230769NOK
5% type I error level330.634615384615385NOK
10% type I error level360.692307692307692NOK



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