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 computationSat, 21 Nov 2009 07:55: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/Nov/21/t1258815426v0be0es7yn92hh4.htm/, Retrieved Sun, 28 Apr 2024 04:12:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58559, Retrieved Sun, 28 Apr 2024 04:12:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact174
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 14:03:14] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [Grondstofprijsind...] [2009-11-18 19:41:50] [016baa4dcb32aa0a4ae1d7f97a4b0730]
-   PD        [Multiple Regression] [] [2009-11-21 14:55:39] [0744dbfa8cdb263e2e292d0a5ee9dc89] [Current]
Feedback Forum

Post a new message
Dataseries X:
-22	46
-20	50
-17	49
-21	48
-16	50
-11	47
-19	50
-31	49
-36	51
-33	52
-26	48
-38	55
-27	56
-21	43
-17	44
-14	50
-16	49
-16	47
-15	46
-7	50
-9	49
2	53
-6	54
0	56
7	56
4	58
-5	53
2	51
0	52
3	53
10	56
4	54
5	54
7	56
1	59
-8	62
-3	62
-16	73
-22	76
-32	80
-30	77
-32	81
-38	80
-41	80
-46	81
-58	80
-55	77
-48	71
-58	71
-58	64
-68	64
-75	47
-77	41
-75	35
-71	34
-63	33
-61	23
-53	16
-41	16
-35	8
-33	9




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=58559&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=58559&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58559&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
Econo[t] = -32.6419936980808 + 0.135753843215889Price[t] + 3.18763487061969M1[t] + 2.62257232884560M2[t] -0.923126133868044M3[t] -2.85161844743626M4[t] -2.46156306693402M5[t] -0.698658455074959M6[t] -1.18011076100449M7[t] -2.18011076100449M8[t] -3.76290461185907M9[t] -1.33575384321589M10[t] + 0.345698462713647M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Econo[t] =  -32.6419936980808 +  0.135753843215889Price[t] +  3.18763487061969M1[t] +  2.62257232884560M2[t] -0.923126133868044M3[t] -2.85161844743626M4[t] -2.46156306693402M5[t] -0.698658455074959M6[t] -1.18011076100449M7[t] -2.18011076100449M8[t] -3.76290461185907M9[t] -1.33575384321589M10[t] +  0.345698462713647M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58559&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Econo[t] =  -32.6419936980808 +  0.135753843215889Price[t] +  3.18763487061969M1[t] +  2.62257232884560M2[t] -0.923126133868044M3[t] -2.85161844743626M4[t] -2.46156306693402M5[t] -0.698658455074959M6[t] -1.18011076100449M7[t] -2.18011076100449M8[t] -3.76290461185907M9[t] -1.33575384321589M10[t] +  0.345698462713647M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58559&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58559&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
Econo[t] = -32.6419936980808 + 0.135753843215889Price[t] + 3.18763487061969M1[t] + 2.62257232884560M2[t] -0.923126133868044M3[t] -2.85161844743626M4[t] -2.46156306693402M5[t] -0.698658455074959M6[t] -1.18011076100449M7[t] -2.18011076100449M8[t] -3.76290461185907M9[t] -1.33575384321589M10[t] + 0.345698462713647M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-32.641993698080815.819872-2.06340.044510.022255
Price0.1357538432158890.2061050.65870.513260.25663
M13.1876348706196916.1557160.19730.844420.42221
M22.6225723288456016.9390020.15480.8776090.438804
M3-0.92312613386804416.931979-0.05450.9567470.478374
M4-2.8516184474362616.902852-0.16870.8667370.433368
M5-2.4615630669340216.88842-0.14580.8847260.442363
M6-0.69865845507495916.879967-0.04140.9671570.483578
M7-1.1801107610044916.883741-0.06990.9445670.472283
M8-2.1801107610044916.883741-0.12910.8977980.448899
M9-3.7629046118590716.875688-0.2230.8244990.412249
M10-1.3357538432158916.875134-0.07920.9372380.468619
M110.34569846271364716.8740770.02050.983740.49187

\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) & -32.6419936980808 & 15.819872 & -2.0634 & 0.04451 & 0.022255 \tabularnewline
Price & 0.135753843215889 & 0.206105 & 0.6587 & 0.51326 & 0.25663 \tabularnewline
M1 & 3.18763487061969 & 16.155716 & 0.1973 & 0.84442 & 0.42221 \tabularnewline
M2 & 2.62257232884560 & 16.939002 & 0.1548 & 0.877609 & 0.438804 \tabularnewline
M3 & -0.923126133868044 & 16.931979 & -0.0545 & 0.956747 & 0.478374 \tabularnewline
M4 & -2.85161844743626 & 16.902852 & -0.1687 & 0.866737 & 0.433368 \tabularnewline
M5 & -2.46156306693402 & 16.88842 & -0.1458 & 0.884726 & 0.442363 \tabularnewline
M6 & -0.698658455074959 & 16.879967 & -0.0414 & 0.967157 & 0.483578 \tabularnewline
M7 & -1.18011076100449 & 16.883741 & -0.0699 & 0.944567 & 0.472283 \tabularnewline
M8 & -2.18011076100449 & 16.883741 & -0.1291 & 0.897798 & 0.448899 \tabularnewline
M9 & -3.76290461185907 & 16.875688 & -0.223 & 0.824499 & 0.412249 \tabularnewline
M10 & -1.33575384321589 & 16.875134 & -0.0792 & 0.937238 & 0.468619 \tabularnewline
M11 & 0.345698462713647 & 16.874077 & 0.0205 & 0.98374 & 0.49187 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58559&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]-32.6419936980808[/C][C]15.819872[/C][C]-2.0634[/C][C]0.04451[/C][C]0.022255[/C][/ROW]
[ROW][C]Price[/C][C]0.135753843215889[/C][C]0.206105[/C][C]0.6587[/C][C]0.51326[/C][C]0.25663[/C][/ROW]
[ROW][C]M1[/C][C]3.18763487061969[/C][C]16.155716[/C][C]0.1973[/C][C]0.84442[/C][C]0.42221[/C][/ROW]
[ROW][C]M2[/C][C]2.62257232884560[/C][C]16.939002[/C][C]0.1548[/C][C]0.877609[/C][C]0.438804[/C][/ROW]
[ROW][C]M3[/C][C]-0.923126133868044[/C][C]16.931979[/C][C]-0.0545[/C][C]0.956747[/C][C]0.478374[/C][/ROW]
[ROW][C]M4[/C][C]-2.85161844743626[/C][C]16.902852[/C][C]-0.1687[/C][C]0.866737[/C][C]0.433368[/C][/ROW]
[ROW][C]M5[/C][C]-2.46156306693402[/C][C]16.88842[/C][C]-0.1458[/C][C]0.884726[/C][C]0.442363[/C][/ROW]
[ROW][C]M6[/C][C]-0.698658455074959[/C][C]16.879967[/C][C]-0.0414[/C][C]0.967157[/C][C]0.483578[/C][/ROW]
[ROW][C]M7[/C][C]-1.18011076100449[/C][C]16.883741[/C][C]-0.0699[/C][C]0.944567[/C][C]0.472283[/C][/ROW]
[ROW][C]M8[/C][C]-2.18011076100449[/C][C]16.883741[/C][C]-0.1291[/C][C]0.897798[/C][C]0.448899[/C][/ROW]
[ROW][C]M9[/C][C]-3.76290461185907[/C][C]16.875688[/C][C]-0.223[/C][C]0.824499[/C][C]0.412249[/C][/ROW]
[ROW][C]M10[/C][C]-1.33575384321589[/C][C]16.875134[/C][C]-0.0792[/C][C]0.937238[/C][C]0.468619[/C][/ROW]
[ROW][C]M11[/C][C]0.345698462713647[/C][C]16.874077[/C][C]0.0205[/C][C]0.98374[/C][C]0.49187[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58559&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58559&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)-32.641993698080815.819872-2.06340.044510.022255
Price0.1357538432158890.2061050.65870.513260.25663
M13.1876348706196916.1557160.19730.844420.42221
M22.6225723288456016.9390020.15480.8776090.438804
M3-0.92312613386804416.931979-0.05450.9567470.478374
M4-2.8516184474362616.902852-0.16870.8667370.433368
M5-2.4615630669340216.88842-0.14580.8847260.442363
M6-0.69865845507495916.879967-0.04140.9671570.483578
M7-1.1801107610044916.883741-0.06990.9445670.472283
M8-2.1801107610044916.883741-0.12910.8977980.448899
M9-3.7629046118590716.875688-0.2230.8244990.412249
M10-1.3357538432158916.875134-0.07920.9372380.468619
M110.34569846271364716.8740770.02050.983740.49187







Multiple Linear Regression - Regression Statistics
Multiple R0.127248784179139
R-squared0.0161922530750690
Adjusted R-squared-0.229759683656164
F-TEST (value)0.0658350297634097
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.999993785425542
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.6799395968464
Sum Squared Residuals34167.3204907858

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.127248784179139 \tabularnewline
R-squared & 0.0161922530750690 \tabularnewline
Adjusted R-squared & -0.229759683656164 \tabularnewline
F-TEST (value) & 0.0658350297634097 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.999993785425542 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 26.6799395968464 \tabularnewline
Sum Squared Residuals & 34167.3204907858 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58559&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.127248784179139[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0161922530750690[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.229759683656164[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.0658350297634097[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.999993785425542[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]26.6799395968464[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]34167.3204907858[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58559&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58559&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.127248784179139
R-squared0.0161922530750690
Adjusted R-squared-0.229759683656164
F-TEST (value)0.0658350297634097
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.999993785425542
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.6799395968464
Sum Squared Residuals34167.3204907858







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1-22-23.20968203953021.20968203953021
2-20-23.23172920844083.23172920844077
3-17-26.91318151437039.91318151437029
4-21-28.97742767115447.9774276711544
5-16-28.315864604220412.3158646042204
6-11-26.960221522009015.9602215220090
7-19-27.03441229829088.03441229829085
8-31-28.1701661415067-2.82983385849326
9-36-29.4814523059295-6.51854769407048
10-33-26.9185476940705-6.08145230592953
11-26-25.7801107610045-0.219889238995511
12-38-25.1755323212069-12.8244676787931
13-27-21.8521436073713-5.14785639262866
14-21-24.1820061109523.18200611095198
15-17-27.591950730449710.5919507304497
16-14-28.705919984722614.7059199847226
17-16-28.451618447436312.4516184474363
18-16-26.96022152200910.9602215220090
19-15-27.577427671154412.5774276711544
20-7-28.034412298290821.0344122982908
21-9-29.752959992361320.7529599923613
222-26.782793850854628.7827938508546
23-6-24.965587701709218.9655877017092
240-25.039778477991025.0397784779910
257-21.852143607371428.8521436073714
264-22.145698462713626.1456984627136
27-5-26.370166141506721.3701661415067
282-28.570166141506730.5701661415067
290-28.044356917788628.0443569177886
303-26.145698462713729.1456984627137
3110-26.219889238995536.2198892389955
324-27.491396925427331.4913969254273
335-29.074190776281934.0741907762819
347-26.375532321206933.3755323212069
351-24.286818485629725.2868184856297
36-8-24.225255418695716.2252554186957
37-3-21.03762054807618.037620548076
38-16-20.10939081447534.10939081447532
39-22-23.24782774754131.24782774754130
40-32-24.6333046882460-7.36669531175404
41-30-24.6505108373914-5.34948916260862
42-32-22.3445908526688-9.65540914733123
43-38-22.9617970018142-15.0382029981858
44-41-23.9617970018142-17.0382029981858
45-46-25.4088370094529-20.5911629905471
46-58-23.1174400840256-34.8825599159744
47-55-21.8432493077437-33.1567506922563
48-48-23.0034708297527-24.9965291702473
49-58-19.815835959133-38.184164040867
50-58-21.3311754034183-36.6688245965817
51-68-24.8768738661320-43.123126133868
52-75-29.1131815143703-45.8868184856297
53-77-29.5376491931634-47.4623508068366
54-75-28.5892676405996-46.4107323594004
55-71-29.2064737897451-41.7935262102549
56-63-30.3422276329609-32.6577723670391
57-61-33.2825599159744-27.7174400840256
58-53-31.8056860498425-21.1943139501575
59-41-30.1242337439129-10.8757662560871
60-35-31.5559629523537-3.44403704764632
61-33-28.2325742385181-4.7674257614819

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & -22 & -23.2096820395302 & 1.20968203953021 \tabularnewline
2 & -20 & -23.2317292084408 & 3.23172920844077 \tabularnewline
3 & -17 & -26.9131815143703 & 9.91318151437029 \tabularnewline
4 & -21 & -28.9774276711544 & 7.9774276711544 \tabularnewline
5 & -16 & -28.3158646042204 & 12.3158646042204 \tabularnewline
6 & -11 & -26.9602215220090 & 15.9602215220090 \tabularnewline
7 & -19 & -27.0344122982908 & 8.03441229829085 \tabularnewline
8 & -31 & -28.1701661415067 & -2.82983385849326 \tabularnewline
9 & -36 & -29.4814523059295 & -6.51854769407048 \tabularnewline
10 & -33 & -26.9185476940705 & -6.08145230592953 \tabularnewline
11 & -26 & -25.7801107610045 & -0.219889238995511 \tabularnewline
12 & -38 & -25.1755323212069 & -12.8244676787931 \tabularnewline
13 & -27 & -21.8521436073713 & -5.14785639262866 \tabularnewline
14 & -21 & -24.182006110952 & 3.18200611095198 \tabularnewline
15 & -17 & -27.5919507304497 & 10.5919507304497 \tabularnewline
16 & -14 & -28.7059199847226 & 14.7059199847226 \tabularnewline
17 & -16 & -28.4516184474363 & 12.4516184474363 \tabularnewline
18 & -16 & -26.960221522009 & 10.9602215220090 \tabularnewline
19 & -15 & -27.5774276711544 & 12.5774276711544 \tabularnewline
20 & -7 & -28.0344122982908 & 21.0344122982908 \tabularnewline
21 & -9 & -29.7529599923613 & 20.7529599923613 \tabularnewline
22 & 2 & -26.7827938508546 & 28.7827938508546 \tabularnewline
23 & -6 & -24.9655877017092 & 18.9655877017092 \tabularnewline
24 & 0 & -25.0397784779910 & 25.0397784779910 \tabularnewline
25 & 7 & -21.8521436073714 & 28.8521436073714 \tabularnewline
26 & 4 & -22.1456984627136 & 26.1456984627136 \tabularnewline
27 & -5 & -26.3701661415067 & 21.3701661415067 \tabularnewline
28 & 2 & -28.5701661415067 & 30.5701661415067 \tabularnewline
29 & 0 & -28.0443569177886 & 28.0443569177886 \tabularnewline
30 & 3 & -26.1456984627137 & 29.1456984627137 \tabularnewline
31 & 10 & -26.2198892389955 & 36.2198892389955 \tabularnewline
32 & 4 & -27.4913969254273 & 31.4913969254273 \tabularnewline
33 & 5 & -29.0741907762819 & 34.0741907762819 \tabularnewline
34 & 7 & -26.3755323212069 & 33.3755323212069 \tabularnewline
35 & 1 & -24.2868184856297 & 25.2868184856297 \tabularnewline
36 & -8 & -24.2252554186957 & 16.2252554186957 \tabularnewline
37 & -3 & -21.037620548076 & 18.037620548076 \tabularnewline
38 & -16 & -20.1093908144753 & 4.10939081447532 \tabularnewline
39 & -22 & -23.2478277475413 & 1.24782774754130 \tabularnewline
40 & -32 & -24.6333046882460 & -7.36669531175404 \tabularnewline
41 & -30 & -24.6505108373914 & -5.34948916260862 \tabularnewline
42 & -32 & -22.3445908526688 & -9.65540914733123 \tabularnewline
43 & -38 & -22.9617970018142 & -15.0382029981858 \tabularnewline
44 & -41 & -23.9617970018142 & -17.0382029981858 \tabularnewline
45 & -46 & -25.4088370094529 & -20.5911629905471 \tabularnewline
46 & -58 & -23.1174400840256 & -34.8825599159744 \tabularnewline
47 & -55 & -21.8432493077437 & -33.1567506922563 \tabularnewline
48 & -48 & -23.0034708297527 & -24.9965291702473 \tabularnewline
49 & -58 & -19.815835959133 & -38.184164040867 \tabularnewline
50 & -58 & -21.3311754034183 & -36.6688245965817 \tabularnewline
51 & -68 & -24.8768738661320 & -43.123126133868 \tabularnewline
52 & -75 & -29.1131815143703 & -45.8868184856297 \tabularnewline
53 & -77 & -29.5376491931634 & -47.4623508068366 \tabularnewline
54 & -75 & -28.5892676405996 & -46.4107323594004 \tabularnewline
55 & -71 & -29.2064737897451 & -41.7935262102549 \tabularnewline
56 & -63 & -30.3422276329609 & -32.6577723670391 \tabularnewline
57 & -61 & -33.2825599159744 & -27.7174400840256 \tabularnewline
58 & -53 & -31.8056860498425 & -21.1943139501575 \tabularnewline
59 & -41 & -30.1242337439129 & -10.8757662560871 \tabularnewline
60 & -35 & -31.5559629523537 & -3.44403704764632 \tabularnewline
61 & -33 & -28.2325742385181 & -4.7674257614819 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58559&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]-22[/C][C]-23.2096820395302[/C][C]1.20968203953021[/C][/ROW]
[ROW][C]2[/C][C]-20[/C][C]-23.2317292084408[/C][C]3.23172920844077[/C][/ROW]
[ROW][C]3[/C][C]-17[/C][C]-26.9131815143703[/C][C]9.91318151437029[/C][/ROW]
[ROW][C]4[/C][C]-21[/C][C]-28.9774276711544[/C][C]7.9774276711544[/C][/ROW]
[ROW][C]5[/C][C]-16[/C][C]-28.3158646042204[/C][C]12.3158646042204[/C][/ROW]
[ROW][C]6[/C][C]-11[/C][C]-26.9602215220090[/C][C]15.9602215220090[/C][/ROW]
[ROW][C]7[/C][C]-19[/C][C]-27.0344122982908[/C][C]8.03441229829085[/C][/ROW]
[ROW][C]8[/C][C]-31[/C][C]-28.1701661415067[/C][C]-2.82983385849326[/C][/ROW]
[ROW][C]9[/C][C]-36[/C][C]-29.4814523059295[/C][C]-6.51854769407048[/C][/ROW]
[ROW][C]10[/C][C]-33[/C][C]-26.9185476940705[/C][C]-6.08145230592953[/C][/ROW]
[ROW][C]11[/C][C]-26[/C][C]-25.7801107610045[/C][C]-0.219889238995511[/C][/ROW]
[ROW][C]12[/C][C]-38[/C][C]-25.1755323212069[/C][C]-12.8244676787931[/C][/ROW]
[ROW][C]13[/C][C]-27[/C][C]-21.8521436073713[/C][C]-5.14785639262866[/C][/ROW]
[ROW][C]14[/C][C]-21[/C][C]-24.182006110952[/C][C]3.18200611095198[/C][/ROW]
[ROW][C]15[/C][C]-17[/C][C]-27.5919507304497[/C][C]10.5919507304497[/C][/ROW]
[ROW][C]16[/C][C]-14[/C][C]-28.7059199847226[/C][C]14.7059199847226[/C][/ROW]
[ROW][C]17[/C][C]-16[/C][C]-28.4516184474363[/C][C]12.4516184474363[/C][/ROW]
[ROW][C]18[/C][C]-16[/C][C]-26.960221522009[/C][C]10.9602215220090[/C][/ROW]
[ROW][C]19[/C][C]-15[/C][C]-27.5774276711544[/C][C]12.5774276711544[/C][/ROW]
[ROW][C]20[/C][C]-7[/C][C]-28.0344122982908[/C][C]21.0344122982908[/C][/ROW]
[ROW][C]21[/C][C]-9[/C][C]-29.7529599923613[/C][C]20.7529599923613[/C][/ROW]
[ROW][C]22[/C][C]2[/C][C]-26.7827938508546[/C][C]28.7827938508546[/C][/ROW]
[ROW][C]23[/C][C]-6[/C][C]-24.9655877017092[/C][C]18.9655877017092[/C][/ROW]
[ROW][C]24[/C][C]0[/C][C]-25.0397784779910[/C][C]25.0397784779910[/C][/ROW]
[ROW][C]25[/C][C]7[/C][C]-21.8521436073714[/C][C]28.8521436073714[/C][/ROW]
[ROW][C]26[/C][C]4[/C][C]-22.1456984627136[/C][C]26.1456984627136[/C][/ROW]
[ROW][C]27[/C][C]-5[/C][C]-26.3701661415067[/C][C]21.3701661415067[/C][/ROW]
[ROW][C]28[/C][C]2[/C][C]-28.5701661415067[/C][C]30.5701661415067[/C][/ROW]
[ROW][C]29[/C][C]0[/C][C]-28.0443569177886[/C][C]28.0443569177886[/C][/ROW]
[ROW][C]30[/C][C]3[/C][C]-26.1456984627137[/C][C]29.1456984627137[/C][/ROW]
[ROW][C]31[/C][C]10[/C][C]-26.2198892389955[/C][C]36.2198892389955[/C][/ROW]
[ROW][C]32[/C][C]4[/C][C]-27.4913969254273[/C][C]31.4913969254273[/C][/ROW]
[ROW][C]33[/C][C]5[/C][C]-29.0741907762819[/C][C]34.0741907762819[/C][/ROW]
[ROW][C]34[/C][C]7[/C][C]-26.3755323212069[/C][C]33.3755323212069[/C][/ROW]
[ROW][C]35[/C][C]1[/C][C]-24.2868184856297[/C][C]25.2868184856297[/C][/ROW]
[ROW][C]36[/C][C]-8[/C][C]-24.2252554186957[/C][C]16.2252554186957[/C][/ROW]
[ROW][C]37[/C][C]-3[/C][C]-21.037620548076[/C][C]18.037620548076[/C][/ROW]
[ROW][C]38[/C][C]-16[/C][C]-20.1093908144753[/C][C]4.10939081447532[/C][/ROW]
[ROW][C]39[/C][C]-22[/C][C]-23.2478277475413[/C][C]1.24782774754130[/C][/ROW]
[ROW][C]40[/C][C]-32[/C][C]-24.6333046882460[/C][C]-7.36669531175404[/C][/ROW]
[ROW][C]41[/C][C]-30[/C][C]-24.6505108373914[/C][C]-5.34948916260862[/C][/ROW]
[ROW][C]42[/C][C]-32[/C][C]-22.3445908526688[/C][C]-9.65540914733123[/C][/ROW]
[ROW][C]43[/C][C]-38[/C][C]-22.9617970018142[/C][C]-15.0382029981858[/C][/ROW]
[ROW][C]44[/C][C]-41[/C][C]-23.9617970018142[/C][C]-17.0382029981858[/C][/ROW]
[ROW][C]45[/C][C]-46[/C][C]-25.4088370094529[/C][C]-20.5911629905471[/C][/ROW]
[ROW][C]46[/C][C]-58[/C][C]-23.1174400840256[/C][C]-34.8825599159744[/C][/ROW]
[ROW][C]47[/C][C]-55[/C][C]-21.8432493077437[/C][C]-33.1567506922563[/C][/ROW]
[ROW][C]48[/C][C]-48[/C][C]-23.0034708297527[/C][C]-24.9965291702473[/C][/ROW]
[ROW][C]49[/C][C]-58[/C][C]-19.815835959133[/C][C]-38.184164040867[/C][/ROW]
[ROW][C]50[/C][C]-58[/C][C]-21.3311754034183[/C][C]-36.6688245965817[/C][/ROW]
[ROW][C]51[/C][C]-68[/C][C]-24.8768738661320[/C][C]-43.123126133868[/C][/ROW]
[ROW][C]52[/C][C]-75[/C][C]-29.1131815143703[/C][C]-45.8868184856297[/C][/ROW]
[ROW][C]53[/C][C]-77[/C][C]-29.5376491931634[/C][C]-47.4623508068366[/C][/ROW]
[ROW][C]54[/C][C]-75[/C][C]-28.5892676405996[/C][C]-46.4107323594004[/C][/ROW]
[ROW][C]55[/C][C]-71[/C][C]-29.2064737897451[/C][C]-41.7935262102549[/C][/ROW]
[ROW][C]56[/C][C]-63[/C][C]-30.3422276329609[/C][C]-32.6577723670391[/C][/ROW]
[ROW][C]57[/C][C]-61[/C][C]-33.2825599159744[/C][C]-27.7174400840256[/C][/ROW]
[ROW][C]58[/C][C]-53[/C][C]-31.8056860498425[/C][C]-21.1943139501575[/C][/ROW]
[ROW][C]59[/C][C]-41[/C][C]-30.1242337439129[/C][C]-10.8757662560871[/C][/ROW]
[ROW][C]60[/C][C]-35[/C][C]-31.5559629523537[/C][C]-3.44403704764632[/C][/ROW]
[ROW][C]61[/C][C]-33[/C][C]-28.2325742385181[/C][C]-4.7674257614819[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58559&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58559&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
1-22-23.20968203953021.20968203953021
2-20-23.23172920844083.23172920844077
3-17-26.91318151437039.91318151437029
4-21-28.97742767115447.9774276711544
5-16-28.315864604220412.3158646042204
6-11-26.960221522009015.9602215220090
7-19-27.03441229829088.03441229829085
8-31-28.1701661415067-2.82983385849326
9-36-29.4814523059295-6.51854769407048
10-33-26.9185476940705-6.08145230592953
11-26-25.7801107610045-0.219889238995511
12-38-25.1755323212069-12.8244676787931
13-27-21.8521436073713-5.14785639262866
14-21-24.1820061109523.18200611095198
15-17-27.591950730449710.5919507304497
16-14-28.705919984722614.7059199847226
17-16-28.451618447436312.4516184474363
18-16-26.96022152200910.9602215220090
19-15-27.577427671154412.5774276711544
20-7-28.034412298290821.0344122982908
21-9-29.752959992361320.7529599923613
222-26.782793850854628.7827938508546
23-6-24.965587701709218.9655877017092
240-25.039778477991025.0397784779910
257-21.852143607371428.8521436073714
264-22.145698462713626.1456984627136
27-5-26.370166141506721.3701661415067
282-28.570166141506730.5701661415067
290-28.044356917788628.0443569177886
303-26.145698462713729.1456984627137
3110-26.219889238995536.2198892389955
324-27.491396925427331.4913969254273
335-29.074190776281934.0741907762819
347-26.375532321206933.3755323212069
351-24.286818485629725.2868184856297
36-8-24.225255418695716.2252554186957
37-3-21.03762054807618.037620548076
38-16-20.10939081447534.10939081447532
39-22-23.24782774754131.24782774754130
40-32-24.6333046882460-7.36669531175404
41-30-24.6505108373914-5.34948916260862
42-32-22.3445908526688-9.65540914733123
43-38-22.9617970018142-15.0382029981858
44-41-23.9617970018142-17.0382029981858
45-46-25.4088370094529-20.5911629905471
46-58-23.1174400840256-34.8825599159744
47-55-21.8432493077437-33.1567506922563
48-48-23.0034708297527-24.9965291702473
49-58-19.815835959133-38.184164040867
50-58-21.3311754034183-36.6688245965817
51-68-24.8768738661320-43.123126133868
52-75-29.1131815143703-45.8868184856297
53-77-29.5376491931634-47.4623508068366
54-75-28.5892676405996-46.4107323594004
55-71-29.2064737897451-41.7935262102549
56-63-30.3422276329609-32.6577723670391
57-61-33.2825599159744-27.7174400840256
58-53-31.8056860498425-21.1943139501575
59-41-30.1242337439129-10.8757662560871
60-35-31.5559629523537-3.44403704764632
61-33-28.2325742385181-4.7674257614819







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.001745089005293360.003490178010586710.998254910994707
170.0001524120202824850.0003048240405649700.999847587979718
182.5468519473877e-055.0937038947754e-050.999974531480526
192.88665094621285e-065.77330189242569e-060.999997113349054
200.0001512160283067440.0003024320566134880.999848783971693
210.0004249668325767890.0008499336651535790.999575033167423
220.001590598689074630.003181197378149270.998409401310925
230.0009783755510976030.001956751102195210.999021624448902
240.002048227352507540.004096454705015090.997951772647492
250.002359832475652660.004719664951305310.997640167524347
260.001275581408289510.002551162816579010.99872441859171
270.000646201445112310.001292402890224620.999353798554888
280.0006085652939683050.001217130587936610.999391434706032
290.000499581072188120.000999162144376240.999500418927812
300.0004191536903831160.0008383073807662330.999580846309617
310.0005797888125861090.001159577625172220.999420211187414
320.000808958373381310.001617916746762620.999191041626619
330.001757719575463890.003515439150927790.998242280424536
340.004631867397669730.009263734795339470.99536813260233
350.006319077979917460.01263815595983490.993680922020083
360.004855995265174890.009711990530349770.995144004734825
370.006485095020286010.01297019004057200.993514904979714
380.03131241644184440.06262483288368890.968687583558156
390.08035362785342130.1607072557068430.919646372146579
400.147025679571480.294051359142960.85297432042852
410.2672107639964970.5344215279929930.732789236003504
420.4672138927570920.9344277855141830.532786107242908
430.6683399375525570.6633201248948850.331660062447443
440.7833481948292850.4333036103414310.216651805170715
450.9345247243035590.1309505513928820.0654752756964411

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.00174508900529336 & 0.00349017801058671 & 0.998254910994707 \tabularnewline
17 & 0.000152412020282485 & 0.000304824040564970 & 0.999847587979718 \tabularnewline
18 & 2.5468519473877e-05 & 5.0937038947754e-05 & 0.999974531480526 \tabularnewline
19 & 2.88665094621285e-06 & 5.77330189242569e-06 & 0.999997113349054 \tabularnewline
20 & 0.000151216028306744 & 0.000302432056613488 & 0.999848783971693 \tabularnewline
21 & 0.000424966832576789 & 0.000849933665153579 & 0.999575033167423 \tabularnewline
22 & 0.00159059868907463 & 0.00318119737814927 & 0.998409401310925 \tabularnewline
23 & 0.000978375551097603 & 0.00195675110219521 & 0.999021624448902 \tabularnewline
24 & 0.00204822735250754 & 0.00409645470501509 & 0.997951772647492 \tabularnewline
25 & 0.00235983247565266 & 0.00471966495130531 & 0.997640167524347 \tabularnewline
26 & 0.00127558140828951 & 0.00255116281657901 & 0.99872441859171 \tabularnewline
27 & 0.00064620144511231 & 0.00129240289022462 & 0.999353798554888 \tabularnewline
28 & 0.000608565293968305 & 0.00121713058793661 & 0.999391434706032 \tabularnewline
29 & 0.00049958107218812 & 0.00099916214437624 & 0.999500418927812 \tabularnewline
30 & 0.000419153690383116 & 0.000838307380766233 & 0.999580846309617 \tabularnewline
31 & 0.000579788812586109 & 0.00115957762517222 & 0.999420211187414 \tabularnewline
32 & 0.00080895837338131 & 0.00161791674676262 & 0.999191041626619 \tabularnewline
33 & 0.00175771957546389 & 0.00351543915092779 & 0.998242280424536 \tabularnewline
34 & 0.00463186739766973 & 0.00926373479533947 & 0.99536813260233 \tabularnewline
35 & 0.00631907797991746 & 0.0126381559598349 & 0.993680922020083 \tabularnewline
36 & 0.00485599526517489 & 0.00971199053034977 & 0.995144004734825 \tabularnewline
37 & 0.00648509502028601 & 0.0129701900405720 & 0.993514904979714 \tabularnewline
38 & 0.0313124164418444 & 0.0626248328836889 & 0.968687583558156 \tabularnewline
39 & 0.0803536278534213 & 0.160707255706843 & 0.919646372146579 \tabularnewline
40 & 0.14702567957148 & 0.29405135914296 & 0.85297432042852 \tabularnewline
41 & 0.267210763996497 & 0.534421527992993 & 0.732789236003504 \tabularnewline
42 & 0.467213892757092 & 0.934427785514183 & 0.532786107242908 \tabularnewline
43 & 0.668339937552557 & 0.663320124894885 & 0.331660062447443 \tabularnewline
44 & 0.783348194829285 & 0.433303610341431 & 0.216651805170715 \tabularnewline
45 & 0.934524724303559 & 0.130950551392882 & 0.0654752756964411 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58559&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.00174508900529336[/C][C]0.00349017801058671[/C][C]0.998254910994707[/C][/ROW]
[ROW][C]17[/C][C]0.000152412020282485[/C][C]0.000304824040564970[/C][C]0.999847587979718[/C][/ROW]
[ROW][C]18[/C][C]2.5468519473877e-05[/C][C]5.0937038947754e-05[/C][C]0.999974531480526[/C][/ROW]
[ROW][C]19[/C][C]2.88665094621285e-06[/C][C]5.77330189242569e-06[/C][C]0.999997113349054[/C][/ROW]
[ROW][C]20[/C][C]0.000151216028306744[/C][C]0.000302432056613488[/C][C]0.999848783971693[/C][/ROW]
[ROW][C]21[/C][C]0.000424966832576789[/C][C]0.000849933665153579[/C][C]0.999575033167423[/C][/ROW]
[ROW][C]22[/C][C]0.00159059868907463[/C][C]0.00318119737814927[/C][C]0.998409401310925[/C][/ROW]
[ROW][C]23[/C][C]0.000978375551097603[/C][C]0.00195675110219521[/C][C]0.999021624448902[/C][/ROW]
[ROW][C]24[/C][C]0.00204822735250754[/C][C]0.00409645470501509[/C][C]0.997951772647492[/C][/ROW]
[ROW][C]25[/C][C]0.00235983247565266[/C][C]0.00471966495130531[/C][C]0.997640167524347[/C][/ROW]
[ROW][C]26[/C][C]0.00127558140828951[/C][C]0.00255116281657901[/C][C]0.99872441859171[/C][/ROW]
[ROW][C]27[/C][C]0.00064620144511231[/C][C]0.00129240289022462[/C][C]0.999353798554888[/C][/ROW]
[ROW][C]28[/C][C]0.000608565293968305[/C][C]0.00121713058793661[/C][C]0.999391434706032[/C][/ROW]
[ROW][C]29[/C][C]0.00049958107218812[/C][C]0.00099916214437624[/C][C]0.999500418927812[/C][/ROW]
[ROW][C]30[/C][C]0.000419153690383116[/C][C]0.000838307380766233[/C][C]0.999580846309617[/C][/ROW]
[ROW][C]31[/C][C]0.000579788812586109[/C][C]0.00115957762517222[/C][C]0.999420211187414[/C][/ROW]
[ROW][C]32[/C][C]0.00080895837338131[/C][C]0.00161791674676262[/C][C]0.999191041626619[/C][/ROW]
[ROW][C]33[/C][C]0.00175771957546389[/C][C]0.00351543915092779[/C][C]0.998242280424536[/C][/ROW]
[ROW][C]34[/C][C]0.00463186739766973[/C][C]0.00926373479533947[/C][C]0.99536813260233[/C][/ROW]
[ROW][C]35[/C][C]0.00631907797991746[/C][C]0.0126381559598349[/C][C]0.993680922020083[/C][/ROW]
[ROW][C]36[/C][C]0.00485599526517489[/C][C]0.00971199053034977[/C][C]0.995144004734825[/C][/ROW]
[ROW][C]37[/C][C]0.00648509502028601[/C][C]0.0129701900405720[/C][C]0.993514904979714[/C][/ROW]
[ROW][C]38[/C][C]0.0313124164418444[/C][C]0.0626248328836889[/C][C]0.968687583558156[/C][/ROW]
[ROW][C]39[/C][C]0.0803536278534213[/C][C]0.160707255706843[/C][C]0.919646372146579[/C][/ROW]
[ROW][C]40[/C][C]0.14702567957148[/C][C]0.29405135914296[/C][C]0.85297432042852[/C][/ROW]
[ROW][C]41[/C][C]0.267210763996497[/C][C]0.534421527992993[/C][C]0.732789236003504[/C][/ROW]
[ROW][C]42[/C][C]0.467213892757092[/C][C]0.934427785514183[/C][C]0.532786107242908[/C][/ROW]
[ROW][C]43[/C][C]0.668339937552557[/C][C]0.663320124894885[/C][C]0.331660062447443[/C][/ROW]
[ROW][C]44[/C][C]0.783348194829285[/C][C]0.433303610341431[/C][C]0.216651805170715[/C][/ROW]
[ROW][C]45[/C][C]0.934524724303559[/C][C]0.130950551392882[/C][C]0.0654752756964411[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58559&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.001745089005293360.003490178010586710.998254910994707
170.0001524120202824850.0003048240405649700.999847587979718
182.5468519473877e-055.0937038947754e-050.999974531480526
192.88665094621285e-065.77330189242569e-060.999997113349054
200.0001512160283067440.0003024320566134880.999848783971693
210.0004249668325767890.0008499336651535790.999575033167423
220.001590598689074630.003181197378149270.998409401310925
230.0009783755510976030.001956751102195210.999021624448902
240.002048227352507540.004096454705015090.997951772647492
250.002359832475652660.004719664951305310.997640167524347
260.001275581408289510.002551162816579010.99872441859171
270.000646201445112310.001292402890224620.999353798554888
280.0006085652939683050.001217130587936610.999391434706032
290.000499581072188120.000999162144376240.999500418927812
300.0004191536903831160.0008383073807662330.999580846309617
310.0005797888125861090.001159577625172220.999420211187414
320.000808958373381310.001617916746762620.999191041626619
330.001757719575463890.003515439150927790.998242280424536
340.004631867397669730.009263734795339470.99536813260233
350.006319077979917460.01263815595983490.993680922020083
360.004855995265174890.009711990530349770.995144004734825
370.006485095020286010.01297019004057200.993514904979714
380.03131241644184440.06262483288368890.968687583558156
390.08035362785342130.1607072557068430.919646372146579
400.147025679571480.294051359142960.85297432042852
410.2672107639964970.5344215279929930.732789236003504
420.4672138927570920.9344277855141830.532786107242908
430.6683399375525570.6633201248948850.331660062447443
440.7833481948292850.4333036103414310.216651805170715
450.9345247243035590.1309505513928820.0654752756964411







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level200.666666666666667NOK
5% type I error level220.733333333333333NOK
10% type I error level230.766666666666667NOK

\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 & 20 & 0.666666666666667 & NOK \tabularnewline
5% type I error level & 22 & 0.733333333333333 & NOK \tabularnewline
10% type I error level & 23 & 0.766666666666667 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58559&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]20[/C][C]0.666666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]22[/C][C]0.733333333333333[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]23[/C][C]0.766666666666667[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58559&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58559&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 level200.666666666666667NOK
5% type I error level220.733333333333333NOK
10% type I error level230.766666666666667NOK



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