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:57:26 -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/t12585670779gi09bra9hc0ocb.htm/, Retrieved Sun, 05 May 2024 13:03:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57559, Retrieved Sun, 05 May 2024 13:03:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact165
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]
-   PD    [Multiple Regression] [Berekening 2 TVD] [2009-11-18 16:44:13] [42ad1186d39724f834063794eac7cea3]
-             [Multiple Regression] [BDM 3] [2009-11-18 17:57:26] [9be6fbb216efe5bb8ca600257c6e1971] [Current]
Feedback Forum

Post a new message
Dataseries X:
101.3	0
106.3	0
94	0
102.8	0
102	0
105.1	1
92.4	0
81.4	0
105.8	0
120.3	1
100.7	0
88.8	0
94.3	0
99.9	0
103.4	0
103.3	0
98.8	0
104.2	0
91.2	0
74.7	0
108.5	0
114.5	0
96.9	0
89.6	0
97.1	0
100.3	0
122.6	0
115.4	1
109	0
129.1	1
102.8	1
96.2	0
127.7	1
128.9	1
126.5	1
119.8	1
113.2	1
114.1	1
134.1	1
130	1
121.8	1
132.1	1
105.3	1
103	1
117.1	1
126.3	1
138.1	1
119.5	1
138	1
135.5	1
178.6	1
162.2	1
176.9	1
204.9	1
132.2	1
142.5	1
164.3	1
174.9	1
175.4	1
143	1




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57559&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
Omzet[t] = + 91.1761764705882 + 34.9397058823529Uitvoer[t] + 3.62794117647051M1[t] + 6.06794117647057M2[t] + 21.3879411764706M3[t] + 10.6M4[t] + 16.5479411764706M5[t] + 15.9520588235294M6[t] -7.36000000000002M7[t] -5.59205882352942M8[t] + 12.5400000000000M9[t] + 13.8520588235294M10[t] + 15.38M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Omzet[t] =  +  91.1761764705882 +  34.9397058823529Uitvoer[t] +  3.62794117647051M1[t] +  6.06794117647057M2[t] +  21.3879411764706M3[t] +  10.6M4[t] +  16.5479411764706M5[t] +  15.9520588235294M6[t] -7.36000000000002M7[t] -5.59205882352942M8[t] +  12.5400000000000M9[t] +  13.8520588235294M10[t] +  15.38M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57559&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Omzet[t] =  +  91.1761764705882 +  34.9397058823529Uitvoer[t] +  3.62794117647051M1[t] +  6.06794117647057M2[t] +  21.3879411764706M3[t] +  10.6M4[t] +  16.5479411764706M5[t] +  15.9520588235294M6[t] -7.36000000000002M7[t] -5.59205882352942M8[t] +  12.5400000000000M9[t] +  13.8520588235294M10[t] +  15.38M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57559&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57559&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
Omzet[t] = + 91.1761764705882 + 34.9397058823529Uitvoer[t] + 3.62794117647051M1[t] + 6.06794117647057M2[t] + 21.3879411764706M3[t] + 10.6M4[t] + 16.5479411764706M5[t] + 15.9520588235294M6[t] -7.36000000000002M7[t] -5.59205882352942M8[t] + 12.5400000000000M9[t] + 13.8520588235294M10[t] + 15.38M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)91.17617647058829.2912019.813200
Uitvoer34.93970588235295.2941536.599700
M13.6279411764705112.3932950.29270.7710140.385507
M26.0679411764705712.3932950.48960.6266840.313342
M321.387941176470612.3932951.72580.0909590.04548
M410.612.3479810.85840.3950060.197503
M516.547941176470612.3932951.33520.1882310.094116
M615.952058823529412.3932951.28720.2043440.102172
M7-7.3600000000000212.347981-0.5960.5540020.277001
M8-5.5920588235294212.393295-0.45120.6539090.326954
M912.540000000000012.3479811.01560.3150430.157521
M1013.852058823529412.3932951.11770.2693730.134687
M1115.3812.3479811.24550.2191040.109552

\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) & 91.1761764705882 & 9.291201 & 9.8132 & 0 & 0 \tabularnewline
Uitvoer & 34.9397058823529 & 5.294153 & 6.5997 & 0 & 0 \tabularnewline
M1 & 3.62794117647051 & 12.393295 & 0.2927 & 0.771014 & 0.385507 \tabularnewline
M2 & 6.06794117647057 & 12.393295 & 0.4896 & 0.626684 & 0.313342 \tabularnewline
M3 & 21.3879411764706 & 12.393295 & 1.7258 & 0.090959 & 0.04548 \tabularnewline
M4 & 10.6 & 12.347981 & 0.8584 & 0.395006 & 0.197503 \tabularnewline
M5 & 16.5479411764706 & 12.393295 & 1.3352 & 0.188231 & 0.094116 \tabularnewline
M6 & 15.9520588235294 & 12.393295 & 1.2872 & 0.204344 & 0.102172 \tabularnewline
M7 & -7.36000000000002 & 12.347981 & -0.596 & 0.554002 & 0.277001 \tabularnewline
M8 & -5.59205882352942 & 12.393295 & -0.4512 & 0.653909 & 0.326954 \tabularnewline
M9 & 12.5400000000000 & 12.347981 & 1.0156 & 0.315043 & 0.157521 \tabularnewline
M10 & 13.8520588235294 & 12.393295 & 1.1177 & 0.269373 & 0.134687 \tabularnewline
M11 & 15.38 & 12.347981 & 1.2455 & 0.219104 & 0.109552 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57559&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]91.1761764705882[/C][C]9.291201[/C][C]9.8132[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Uitvoer[/C][C]34.9397058823529[/C][C]5.294153[/C][C]6.5997[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]3.62794117647051[/C][C]12.393295[/C][C]0.2927[/C][C]0.771014[/C][C]0.385507[/C][/ROW]
[ROW][C]M2[/C][C]6.06794117647057[/C][C]12.393295[/C][C]0.4896[/C][C]0.626684[/C][C]0.313342[/C][/ROW]
[ROW][C]M3[/C][C]21.3879411764706[/C][C]12.393295[/C][C]1.7258[/C][C]0.090959[/C][C]0.04548[/C][/ROW]
[ROW][C]M4[/C][C]10.6[/C][C]12.347981[/C][C]0.8584[/C][C]0.395006[/C][C]0.197503[/C][/ROW]
[ROW][C]M5[/C][C]16.5479411764706[/C][C]12.393295[/C][C]1.3352[/C][C]0.188231[/C][C]0.094116[/C][/ROW]
[ROW][C]M6[/C][C]15.9520588235294[/C][C]12.393295[/C][C]1.2872[/C][C]0.204344[/C][C]0.102172[/C][/ROW]
[ROW][C]M7[/C][C]-7.36000000000002[/C][C]12.347981[/C][C]-0.596[/C][C]0.554002[/C][C]0.277001[/C][/ROW]
[ROW][C]M8[/C][C]-5.59205882352942[/C][C]12.393295[/C][C]-0.4512[/C][C]0.653909[/C][C]0.326954[/C][/ROW]
[ROW][C]M9[/C][C]12.5400000000000[/C][C]12.347981[/C][C]1.0156[/C][C]0.315043[/C][C]0.157521[/C][/ROW]
[ROW][C]M10[/C][C]13.8520588235294[/C][C]12.393295[/C][C]1.1177[/C][C]0.269373[/C][C]0.134687[/C][/ROW]
[ROW][C]M11[/C][C]15.38[/C][C]12.347981[/C][C]1.2455[/C][C]0.219104[/C][C]0.109552[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57559&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57559&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)91.17617647058829.2912019.813200
Uitvoer34.93970588235295.2941536.599700
M13.6279411764705112.3932950.29270.7710140.385507
M26.0679411764705712.3932950.48960.6266840.313342
M321.387941176470612.3932951.72580.0909590.04548
M410.612.3479810.85840.3950060.197503
M516.547941176470612.3932951.33520.1882310.094116
M615.952058823529412.3932951.28720.2043440.102172
M7-7.3600000000000212.347981-0.5960.5540020.277001
M8-5.5920588235294212.393295-0.45120.6539090.326954
M912.540000000000012.3479811.01560.3150430.157521
M1013.852058823529412.3932951.11770.2693730.134687
M1115.3812.3479811.24550.2191040.109552







Multiple Linear Regression - Regression Statistics
Multiple R0.754982442025881
R-squared0.569998487767363
Adjusted R-squared0.46021086762286
F-TEST (value)5.19182843217777
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.85978556016542e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.5238722173125
Sum Squared Residuals17915.5345588235

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.754982442025881 \tabularnewline
R-squared & 0.569998487767363 \tabularnewline
Adjusted R-squared & 0.46021086762286 \tabularnewline
F-TEST (value) & 5.19182843217777 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 1.85978556016542e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19.5238722173125 \tabularnewline
Sum Squared Residuals & 17915.5345588235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57559&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.754982442025881[/C][/ROW]
[ROW][C]R-squared[/C][C]0.569998487767363[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.46021086762286[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.19182843217777[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]1.85978556016542e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19.5238722173125[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]17915.5345588235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57559&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57559&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.754982442025881
R-squared0.569998487767363
Adjusted R-squared0.46021086762286
F-TEST (value)5.19182843217777
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.85978556016542e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.5238722173125
Sum Squared Residuals17915.5345588235







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1101.394.8041176470596.495882352941
2106.397.24411764705889.05588235294119
394112.564117647059-18.5641176470588
4102.8101.7761764705881.02382352941178
5102107.724117647059-5.72411764705881
6105.1142.067941176471-36.9679411764706
792.483.81617647058828.58382352941176
881.485.5841176470588-4.18411764705878
9105.8103.7161764705882.08382352941176
10120.3139.967941176471-19.6679411764706
11100.7106.556176470588-5.85617647058823
1288.891.1761764705882-2.37617647058824
1394.394.8041176470588-0.504117647058771
1499.997.24411764705882.65588235294118
15103.4112.564117647059-9.16411764705882
16103.3101.7761764705881.52382352941178
1798.8107.724117647059-8.92411764705883
18104.2107.128235294118-2.92823529411761
1991.283.81617647058827.38382352941178
2074.785.5841176470588-10.8841176470588
21108.5103.7161764705884.78382352941176
22114.5105.0282352941189.47176470588236
2396.9106.556176470588-9.65617647058823
2489.691.1761764705882-1.57617647058825
2597.194.80411764705882.29588235294123
26100.397.24411764705883.05588235294118
27122.6112.56411764705910.0358823529412
28115.4136.715882352941-21.3158823529412
29109107.7241176470591.27588235294117
30129.1142.067941176471-12.9679411764706
31102.8118.755882352941-15.9558823529412
3296.285.584117647058810.6158823529412
33127.7138.655882352941-10.9558823529412
34128.9139.967941176471-11.0679411764706
35126.5141.495882352941-14.9958823529412
36119.8126.115882352941-6.3158823529412
37113.2129.743823529412-16.5438235294117
38114.1132.183823529412-18.0838235294118
39134.1147.503823529412-13.4038235294118
40130136.715882352941-6.71588235294116
41121.8142.663823529412-20.8638235294118
42132.1142.067941176471-9.96794117647057
43105.3118.755882352941-13.4558823529412
44103120.523823529412-17.5238235294118
45117.1138.655882352941-21.5558823529412
46126.3139.967941176471-13.6679411764706
47138.1141.495882352941-3.39588235294119
48119.5126.115882352941-6.61588235294119
49138129.7438235294128.25617647058828
50135.5132.1838235294123.31617647058823
51178.6147.50382352941231.0961764705882
52162.2136.71588235294125.4841176470588
53176.9142.66382352941234.2361764705882
54204.9142.06794117647162.8320588235294
55132.2118.75588235294113.4441176470588
56142.5120.52382352941221.9761764705882
57164.3138.65588235294125.6441176470588
58174.9139.96794117647134.9320588235294
59175.4141.49588235294133.9041176470588
60143126.11588235294116.8841176470588

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 101.3 & 94.804117647059 & 6.495882352941 \tabularnewline
2 & 106.3 & 97.2441176470588 & 9.05588235294119 \tabularnewline
3 & 94 & 112.564117647059 & -18.5641176470588 \tabularnewline
4 & 102.8 & 101.776176470588 & 1.02382352941178 \tabularnewline
5 & 102 & 107.724117647059 & -5.72411764705881 \tabularnewline
6 & 105.1 & 142.067941176471 & -36.9679411764706 \tabularnewline
7 & 92.4 & 83.8161764705882 & 8.58382352941176 \tabularnewline
8 & 81.4 & 85.5841176470588 & -4.18411764705878 \tabularnewline
9 & 105.8 & 103.716176470588 & 2.08382352941176 \tabularnewline
10 & 120.3 & 139.967941176471 & -19.6679411764706 \tabularnewline
11 & 100.7 & 106.556176470588 & -5.85617647058823 \tabularnewline
12 & 88.8 & 91.1761764705882 & -2.37617647058824 \tabularnewline
13 & 94.3 & 94.8041176470588 & -0.504117647058771 \tabularnewline
14 & 99.9 & 97.2441176470588 & 2.65588235294118 \tabularnewline
15 & 103.4 & 112.564117647059 & -9.16411764705882 \tabularnewline
16 & 103.3 & 101.776176470588 & 1.52382352941178 \tabularnewline
17 & 98.8 & 107.724117647059 & -8.92411764705883 \tabularnewline
18 & 104.2 & 107.128235294118 & -2.92823529411761 \tabularnewline
19 & 91.2 & 83.8161764705882 & 7.38382352941178 \tabularnewline
20 & 74.7 & 85.5841176470588 & -10.8841176470588 \tabularnewline
21 & 108.5 & 103.716176470588 & 4.78382352941176 \tabularnewline
22 & 114.5 & 105.028235294118 & 9.47176470588236 \tabularnewline
23 & 96.9 & 106.556176470588 & -9.65617647058823 \tabularnewline
24 & 89.6 & 91.1761764705882 & -1.57617647058825 \tabularnewline
25 & 97.1 & 94.8041176470588 & 2.29588235294123 \tabularnewline
26 & 100.3 & 97.2441176470588 & 3.05588235294118 \tabularnewline
27 & 122.6 & 112.564117647059 & 10.0358823529412 \tabularnewline
28 & 115.4 & 136.715882352941 & -21.3158823529412 \tabularnewline
29 & 109 & 107.724117647059 & 1.27588235294117 \tabularnewline
30 & 129.1 & 142.067941176471 & -12.9679411764706 \tabularnewline
31 & 102.8 & 118.755882352941 & -15.9558823529412 \tabularnewline
32 & 96.2 & 85.5841176470588 & 10.6158823529412 \tabularnewline
33 & 127.7 & 138.655882352941 & -10.9558823529412 \tabularnewline
34 & 128.9 & 139.967941176471 & -11.0679411764706 \tabularnewline
35 & 126.5 & 141.495882352941 & -14.9958823529412 \tabularnewline
36 & 119.8 & 126.115882352941 & -6.3158823529412 \tabularnewline
37 & 113.2 & 129.743823529412 & -16.5438235294117 \tabularnewline
38 & 114.1 & 132.183823529412 & -18.0838235294118 \tabularnewline
39 & 134.1 & 147.503823529412 & -13.4038235294118 \tabularnewline
40 & 130 & 136.715882352941 & -6.71588235294116 \tabularnewline
41 & 121.8 & 142.663823529412 & -20.8638235294118 \tabularnewline
42 & 132.1 & 142.067941176471 & -9.96794117647057 \tabularnewline
43 & 105.3 & 118.755882352941 & -13.4558823529412 \tabularnewline
44 & 103 & 120.523823529412 & -17.5238235294118 \tabularnewline
45 & 117.1 & 138.655882352941 & -21.5558823529412 \tabularnewline
46 & 126.3 & 139.967941176471 & -13.6679411764706 \tabularnewline
47 & 138.1 & 141.495882352941 & -3.39588235294119 \tabularnewline
48 & 119.5 & 126.115882352941 & -6.61588235294119 \tabularnewline
49 & 138 & 129.743823529412 & 8.25617647058828 \tabularnewline
50 & 135.5 & 132.183823529412 & 3.31617647058823 \tabularnewline
51 & 178.6 & 147.503823529412 & 31.0961764705882 \tabularnewline
52 & 162.2 & 136.715882352941 & 25.4841176470588 \tabularnewline
53 & 176.9 & 142.663823529412 & 34.2361764705882 \tabularnewline
54 & 204.9 & 142.067941176471 & 62.8320588235294 \tabularnewline
55 & 132.2 & 118.755882352941 & 13.4441176470588 \tabularnewline
56 & 142.5 & 120.523823529412 & 21.9761764705882 \tabularnewline
57 & 164.3 & 138.655882352941 & 25.6441176470588 \tabularnewline
58 & 174.9 & 139.967941176471 & 34.9320588235294 \tabularnewline
59 & 175.4 & 141.495882352941 & 33.9041176470588 \tabularnewline
60 & 143 & 126.115882352941 & 16.8841176470588 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57559&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]101.3[/C][C]94.804117647059[/C][C]6.495882352941[/C][/ROW]
[ROW][C]2[/C][C]106.3[/C][C]97.2441176470588[/C][C]9.05588235294119[/C][/ROW]
[ROW][C]3[/C][C]94[/C][C]112.564117647059[/C][C]-18.5641176470588[/C][/ROW]
[ROW][C]4[/C][C]102.8[/C][C]101.776176470588[/C][C]1.02382352941178[/C][/ROW]
[ROW][C]5[/C][C]102[/C][C]107.724117647059[/C][C]-5.72411764705881[/C][/ROW]
[ROW][C]6[/C][C]105.1[/C][C]142.067941176471[/C][C]-36.9679411764706[/C][/ROW]
[ROW][C]7[/C][C]92.4[/C][C]83.8161764705882[/C][C]8.58382352941176[/C][/ROW]
[ROW][C]8[/C][C]81.4[/C][C]85.5841176470588[/C][C]-4.18411764705878[/C][/ROW]
[ROW][C]9[/C][C]105.8[/C][C]103.716176470588[/C][C]2.08382352941176[/C][/ROW]
[ROW][C]10[/C][C]120.3[/C][C]139.967941176471[/C][C]-19.6679411764706[/C][/ROW]
[ROW][C]11[/C][C]100.7[/C][C]106.556176470588[/C][C]-5.85617647058823[/C][/ROW]
[ROW][C]12[/C][C]88.8[/C][C]91.1761764705882[/C][C]-2.37617647058824[/C][/ROW]
[ROW][C]13[/C][C]94.3[/C][C]94.8041176470588[/C][C]-0.504117647058771[/C][/ROW]
[ROW][C]14[/C][C]99.9[/C][C]97.2441176470588[/C][C]2.65588235294118[/C][/ROW]
[ROW][C]15[/C][C]103.4[/C][C]112.564117647059[/C][C]-9.16411764705882[/C][/ROW]
[ROW][C]16[/C][C]103.3[/C][C]101.776176470588[/C][C]1.52382352941178[/C][/ROW]
[ROW][C]17[/C][C]98.8[/C][C]107.724117647059[/C][C]-8.92411764705883[/C][/ROW]
[ROW][C]18[/C][C]104.2[/C][C]107.128235294118[/C][C]-2.92823529411761[/C][/ROW]
[ROW][C]19[/C][C]91.2[/C][C]83.8161764705882[/C][C]7.38382352941178[/C][/ROW]
[ROW][C]20[/C][C]74.7[/C][C]85.5841176470588[/C][C]-10.8841176470588[/C][/ROW]
[ROW][C]21[/C][C]108.5[/C][C]103.716176470588[/C][C]4.78382352941176[/C][/ROW]
[ROW][C]22[/C][C]114.5[/C][C]105.028235294118[/C][C]9.47176470588236[/C][/ROW]
[ROW][C]23[/C][C]96.9[/C][C]106.556176470588[/C][C]-9.65617647058823[/C][/ROW]
[ROW][C]24[/C][C]89.6[/C][C]91.1761764705882[/C][C]-1.57617647058825[/C][/ROW]
[ROW][C]25[/C][C]97.1[/C][C]94.8041176470588[/C][C]2.29588235294123[/C][/ROW]
[ROW][C]26[/C][C]100.3[/C][C]97.2441176470588[/C][C]3.05588235294118[/C][/ROW]
[ROW][C]27[/C][C]122.6[/C][C]112.564117647059[/C][C]10.0358823529412[/C][/ROW]
[ROW][C]28[/C][C]115.4[/C][C]136.715882352941[/C][C]-21.3158823529412[/C][/ROW]
[ROW][C]29[/C][C]109[/C][C]107.724117647059[/C][C]1.27588235294117[/C][/ROW]
[ROW][C]30[/C][C]129.1[/C][C]142.067941176471[/C][C]-12.9679411764706[/C][/ROW]
[ROW][C]31[/C][C]102.8[/C][C]118.755882352941[/C][C]-15.9558823529412[/C][/ROW]
[ROW][C]32[/C][C]96.2[/C][C]85.5841176470588[/C][C]10.6158823529412[/C][/ROW]
[ROW][C]33[/C][C]127.7[/C][C]138.655882352941[/C][C]-10.9558823529412[/C][/ROW]
[ROW][C]34[/C][C]128.9[/C][C]139.967941176471[/C][C]-11.0679411764706[/C][/ROW]
[ROW][C]35[/C][C]126.5[/C][C]141.495882352941[/C][C]-14.9958823529412[/C][/ROW]
[ROW][C]36[/C][C]119.8[/C][C]126.115882352941[/C][C]-6.3158823529412[/C][/ROW]
[ROW][C]37[/C][C]113.2[/C][C]129.743823529412[/C][C]-16.5438235294117[/C][/ROW]
[ROW][C]38[/C][C]114.1[/C][C]132.183823529412[/C][C]-18.0838235294118[/C][/ROW]
[ROW][C]39[/C][C]134.1[/C][C]147.503823529412[/C][C]-13.4038235294118[/C][/ROW]
[ROW][C]40[/C][C]130[/C][C]136.715882352941[/C][C]-6.71588235294116[/C][/ROW]
[ROW][C]41[/C][C]121.8[/C][C]142.663823529412[/C][C]-20.8638235294118[/C][/ROW]
[ROW][C]42[/C][C]132.1[/C][C]142.067941176471[/C][C]-9.96794117647057[/C][/ROW]
[ROW][C]43[/C][C]105.3[/C][C]118.755882352941[/C][C]-13.4558823529412[/C][/ROW]
[ROW][C]44[/C][C]103[/C][C]120.523823529412[/C][C]-17.5238235294118[/C][/ROW]
[ROW][C]45[/C][C]117.1[/C][C]138.655882352941[/C][C]-21.5558823529412[/C][/ROW]
[ROW][C]46[/C][C]126.3[/C][C]139.967941176471[/C][C]-13.6679411764706[/C][/ROW]
[ROW][C]47[/C][C]138.1[/C][C]141.495882352941[/C][C]-3.39588235294119[/C][/ROW]
[ROW][C]48[/C][C]119.5[/C][C]126.115882352941[/C][C]-6.61588235294119[/C][/ROW]
[ROW][C]49[/C][C]138[/C][C]129.743823529412[/C][C]8.25617647058828[/C][/ROW]
[ROW][C]50[/C][C]135.5[/C][C]132.183823529412[/C][C]3.31617647058823[/C][/ROW]
[ROW][C]51[/C][C]178.6[/C][C]147.503823529412[/C][C]31.0961764705882[/C][/ROW]
[ROW][C]52[/C][C]162.2[/C][C]136.715882352941[/C][C]25.4841176470588[/C][/ROW]
[ROW][C]53[/C][C]176.9[/C][C]142.663823529412[/C][C]34.2361764705882[/C][/ROW]
[ROW][C]54[/C][C]204.9[/C][C]142.067941176471[/C][C]62.8320588235294[/C][/ROW]
[ROW][C]55[/C][C]132.2[/C][C]118.755882352941[/C][C]13.4441176470588[/C][/ROW]
[ROW][C]56[/C][C]142.5[/C][C]120.523823529412[/C][C]21.9761764705882[/C][/ROW]
[ROW][C]57[/C][C]164.3[/C][C]138.655882352941[/C][C]25.6441176470588[/C][/ROW]
[ROW][C]58[/C][C]174.9[/C][C]139.967941176471[/C][C]34.9320588235294[/C][/ROW]
[ROW][C]59[/C][C]175.4[/C][C]141.495882352941[/C][C]33.9041176470588[/C][/ROW]
[ROW][C]60[/C][C]143[/C][C]126.115882352941[/C][C]16.8841176470588[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57559&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57559&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
1101.394.8041176470596.495882352941
2106.397.24411764705889.05588235294119
394112.564117647059-18.5641176470588
4102.8101.7761764705881.02382352941178
5102107.724117647059-5.72411764705881
6105.1142.067941176471-36.9679411764706
792.483.81617647058828.58382352941176
881.485.5841176470588-4.18411764705878
9105.8103.7161764705882.08382352941176
10120.3139.967941176471-19.6679411764706
11100.7106.556176470588-5.85617647058823
1288.891.1761764705882-2.37617647058824
1394.394.8041176470588-0.504117647058771
1499.997.24411764705882.65588235294118
15103.4112.564117647059-9.16411764705882
16103.3101.7761764705881.52382352941178
1798.8107.724117647059-8.92411764705883
18104.2107.128235294118-2.92823529411761
1991.283.81617647058827.38382352941178
2074.785.5841176470588-10.8841176470588
21108.5103.7161764705884.78382352941176
22114.5105.0282352941189.47176470588236
2396.9106.556176470588-9.65617647058823
2489.691.1761764705882-1.57617647058825
2597.194.80411764705882.29588235294123
26100.397.24411764705883.05588235294118
27122.6112.56411764705910.0358823529412
28115.4136.715882352941-21.3158823529412
29109107.7241176470591.27588235294117
30129.1142.067941176471-12.9679411764706
31102.8118.755882352941-15.9558823529412
3296.285.584117647058810.6158823529412
33127.7138.655882352941-10.9558823529412
34128.9139.967941176471-11.0679411764706
35126.5141.495882352941-14.9958823529412
36119.8126.115882352941-6.3158823529412
37113.2129.743823529412-16.5438235294117
38114.1132.183823529412-18.0838235294118
39134.1147.503823529412-13.4038235294118
40130136.715882352941-6.71588235294116
41121.8142.663823529412-20.8638235294118
42132.1142.067941176471-9.96794117647057
43105.3118.755882352941-13.4558823529412
44103120.523823529412-17.5238235294118
45117.1138.655882352941-21.5558823529412
46126.3139.967941176471-13.6679411764706
47138.1141.495882352941-3.39588235294119
48119.5126.115882352941-6.61588235294119
49138129.7438235294128.25617647058828
50135.5132.1838235294123.31617647058823
51178.6147.50382352941231.0961764705882
52162.2136.71588235294125.4841176470588
53176.9142.66382352941234.2361764705882
54204.9142.06794117647162.8320588235294
55132.2118.75588235294113.4441176470588
56142.5120.52382352941221.9761764705882
57164.3138.65588235294125.6441176470588
58174.9139.96794117647134.9320588235294
59175.4141.49588235294133.9041176470588
60143126.11588235294116.8841176470588







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.02107221420462960.04214442840925920.97892778579537
170.004733094883215370.009466189766430740.995266905116785
180.0008955367645956180.001791073529191240.999104463235404
190.0001555568461358960.0003111136922717920.999844443153864
205.1549681727388e-050.0001030993634547760.999948450318273
219.25139126149646e-061.85027825229929e-050.999990748608738
221.71843965460931e-063.43687930921863e-060.999998281560345
233.43965027587830e-076.87930055175661e-070.999999656034972
244.87044627428815e-089.7408925485763e-080.999999951295537
256.42635628234036e-091.28527125646807e-080.999999993573644
261.01887020912044e-092.03774041824088e-090.99999999898113
277.78484229568258e-071.55696845913652e-060.99999922151577
283.47997786054136e-076.95995572108271e-070.999999652002214
291.42870188891634e-072.85740377783267e-070.99999985712981
309.32392528906108e-071.86478505781222e-060.99999906760747
312.56749932360320e-075.13499864720639e-070.999999743250068
323.9051627942342e-077.8103255884684e-070.99999960948372
331.53411455687691e-073.06822911375382e-070.999999846588544
345.30425715474767e-081.06085143094953e-070.999999946957428
354.95144624957403e-089.90289249914807e-080.999999950485537
363.08675315219607e-086.17350630439215e-080.999999969132468
379.5521799715624e-091.91043599431248e-080.99999999044782
382.99762243246193e-095.99524486492386e-090.999999997002378
393.21234140771963e-096.42468281543925e-090.999999996787659
402.22593196810489e-094.45186393620979e-090.999999997774068
413.79043964896869e-097.58087929793738e-090.99999999620956
422.69120282944244e-075.38240565888488e-070.999999730879717
431.42454228209095e-072.84908456418189e-070.999999857545772
442.40560867962235e-074.8112173592447e-070.999999759439132

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0210722142046296 & 0.0421444284092592 & 0.97892778579537 \tabularnewline
17 & 0.00473309488321537 & 0.00946618976643074 & 0.995266905116785 \tabularnewline
18 & 0.000895536764595618 & 0.00179107352919124 & 0.999104463235404 \tabularnewline
19 & 0.000155556846135896 & 0.000311113692271792 & 0.999844443153864 \tabularnewline
20 & 5.1549681727388e-05 & 0.000103099363454776 & 0.999948450318273 \tabularnewline
21 & 9.25139126149646e-06 & 1.85027825229929e-05 & 0.999990748608738 \tabularnewline
22 & 1.71843965460931e-06 & 3.43687930921863e-06 & 0.999998281560345 \tabularnewline
23 & 3.43965027587830e-07 & 6.87930055175661e-07 & 0.999999656034972 \tabularnewline
24 & 4.87044627428815e-08 & 9.7408925485763e-08 & 0.999999951295537 \tabularnewline
25 & 6.42635628234036e-09 & 1.28527125646807e-08 & 0.999999993573644 \tabularnewline
26 & 1.01887020912044e-09 & 2.03774041824088e-09 & 0.99999999898113 \tabularnewline
27 & 7.78484229568258e-07 & 1.55696845913652e-06 & 0.99999922151577 \tabularnewline
28 & 3.47997786054136e-07 & 6.95995572108271e-07 & 0.999999652002214 \tabularnewline
29 & 1.42870188891634e-07 & 2.85740377783267e-07 & 0.99999985712981 \tabularnewline
30 & 9.32392528906108e-07 & 1.86478505781222e-06 & 0.99999906760747 \tabularnewline
31 & 2.56749932360320e-07 & 5.13499864720639e-07 & 0.999999743250068 \tabularnewline
32 & 3.9051627942342e-07 & 7.8103255884684e-07 & 0.99999960948372 \tabularnewline
33 & 1.53411455687691e-07 & 3.06822911375382e-07 & 0.999999846588544 \tabularnewline
34 & 5.30425715474767e-08 & 1.06085143094953e-07 & 0.999999946957428 \tabularnewline
35 & 4.95144624957403e-08 & 9.90289249914807e-08 & 0.999999950485537 \tabularnewline
36 & 3.08675315219607e-08 & 6.17350630439215e-08 & 0.999999969132468 \tabularnewline
37 & 9.5521799715624e-09 & 1.91043599431248e-08 & 0.99999999044782 \tabularnewline
38 & 2.99762243246193e-09 & 5.99524486492386e-09 & 0.999999997002378 \tabularnewline
39 & 3.21234140771963e-09 & 6.42468281543925e-09 & 0.999999996787659 \tabularnewline
40 & 2.22593196810489e-09 & 4.45186393620979e-09 & 0.999999997774068 \tabularnewline
41 & 3.79043964896869e-09 & 7.58087929793738e-09 & 0.99999999620956 \tabularnewline
42 & 2.69120282944244e-07 & 5.38240565888488e-07 & 0.999999730879717 \tabularnewline
43 & 1.42454228209095e-07 & 2.84908456418189e-07 & 0.999999857545772 \tabularnewline
44 & 2.40560867962235e-07 & 4.8112173592447e-07 & 0.999999759439132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57559&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.0210722142046296[/C][C]0.0421444284092592[/C][C]0.97892778579537[/C][/ROW]
[ROW][C]17[/C][C]0.00473309488321537[/C][C]0.00946618976643074[/C][C]0.995266905116785[/C][/ROW]
[ROW][C]18[/C][C]0.000895536764595618[/C][C]0.00179107352919124[/C][C]0.999104463235404[/C][/ROW]
[ROW][C]19[/C][C]0.000155556846135896[/C][C]0.000311113692271792[/C][C]0.999844443153864[/C][/ROW]
[ROW][C]20[/C][C]5.1549681727388e-05[/C][C]0.000103099363454776[/C][C]0.999948450318273[/C][/ROW]
[ROW][C]21[/C][C]9.25139126149646e-06[/C][C]1.85027825229929e-05[/C][C]0.999990748608738[/C][/ROW]
[ROW][C]22[/C][C]1.71843965460931e-06[/C][C]3.43687930921863e-06[/C][C]0.999998281560345[/C][/ROW]
[ROW][C]23[/C][C]3.43965027587830e-07[/C][C]6.87930055175661e-07[/C][C]0.999999656034972[/C][/ROW]
[ROW][C]24[/C][C]4.87044627428815e-08[/C][C]9.7408925485763e-08[/C][C]0.999999951295537[/C][/ROW]
[ROW][C]25[/C][C]6.42635628234036e-09[/C][C]1.28527125646807e-08[/C][C]0.999999993573644[/C][/ROW]
[ROW][C]26[/C][C]1.01887020912044e-09[/C][C]2.03774041824088e-09[/C][C]0.99999999898113[/C][/ROW]
[ROW][C]27[/C][C]7.78484229568258e-07[/C][C]1.55696845913652e-06[/C][C]0.99999922151577[/C][/ROW]
[ROW][C]28[/C][C]3.47997786054136e-07[/C][C]6.95995572108271e-07[/C][C]0.999999652002214[/C][/ROW]
[ROW][C]29[/C][C]1.42870188891634e-07[/C][C]2.85740377783267e-07[/C][C]0.99999985712981[/C][/ROW]
[ROW][C]30[/C][C]9.32392528906108e-07[/C][C]1.86478505781222e-06[/C][C]0.99999906760747[/C][/ROW]
[ROW][C]31[/C][C]2.56749932360320e-07[/C][C]5.13499864720639e-07[/C][C]0.999999743250068[/C][/ROW]
[ROW][C]32[/C][C]3.9051627942342e-07[/C][C]7.8103255884684e-07[/C][C]0.99999960948372[/C][/ROW]
[ROW][C]33[/C][C]1.53411455687691e-07[/C][C]3.06822911375382e-07[/C][C]0.999999846588544[/C][/ROW]
[ROW][C]34[/C][C]5.30425715474767e-08[/C][C]1.06085143094953e-07[/C][C]0.999999946957428[/C][/ROW]
[ROW][C]35[/C][C]4.95144624957403e-08[/C][C]9.90289249914807e-08[/C][C]0.999999950485537[/C][/ROW]
[ROW][C]36[/C][C]3.08675315219607e-08[/C][C]6.17350630439215e-08[/C][C]0.999999969132468[/C][/ROW]
[ROW][C]37[/C][C]9.5521799715624e-09[/C][C]1.91043599431248e-08[/C][C]0.99999999044782[/C][/ROW]
[ROW][C]38[/C][C]2.99762243246193e-09[/C][C]5.99524486492386e-09[/C][C]0.999999997002378[/C][/ROW]
[ROW][C]39[/C][C]3.21234140771963e-09[/C][C]6.42468281543925e-09[/C][C]0.999999996787659[/C][/ROW]
[ROW][C]40[/C][C]2.22593196810489e-09[/C][C]4.45186393620979e-09[/C][C]0.999999997774068[/C][/ROW]
[ROW][C]41[/C][C]3.79043964896869e-09[/C][C]7.58087929793738e-09[/C][C]0.99999999620956[/C][/ROW]
[ROW][C]42[/C][C]2.69120282944244e-07[/C][C]5.38240565888488e-07[/C][C]0.999999730879717[/C][/ROW]
[ROW][C]43[/C][C]1.42454228209095e-07[/C][C]2.84908456418189e-07[/C][C]0.999999857545772[/C][/ROW]
[ROW][C]44[/C][C]2.40560867962235e-07[/C][C]4.8112173592447e-07[/C][C]0.999999759439132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57559&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57559&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.02107221420462960.04214442840925920.97892778579537
170.004733094883215370.009466189766430740.995266905116785
180.0008955367645956180.001791073529191240.999104463235404
190.0001555568461358960.0003111136922717920.999844443153864
205.1549681727388e-050.0001030993634547760.999948450318273
219.25139126149646e-061.85027825229929e-050.999990748608738
221.71843965460931e-063.43687930921863e-060.999998281560345
233.43965027587830e-076.87930055175661e-070.999999656034972
244.87044627428815e-089.7408925485763e-080.999999951295537
256.42635628234036e-091.28527125646807e-080.999999993573644
261.01887020912044e-092.03774041824088e-090.99999999898113
277.78484229568258e-071.55696845913652e-060.99999922151577
283.47997786054136e-076.95995572108271e-070.999999652002214
291.42870188891634e-072.85740377783267e-070.99999985712981
309.32392528906108e-071.86478505781222e-060.99999906760747
312.56749932360320e-075.13499864720639e-070.999999743250068
323.9051627942342e-077.8103255884684e-070.99999960948372
331.53411455687691e-073.06822911375382e-070.999999846588544
345.30425715474767e-081.06085143094953e-070.999999946957428
354.95144624957403e-089.90289249914807e-080.999999950485537
363.08675315219607e-086.17350630439215e-080.999999969132468
379.5521799715624e-091.91043599431248e-080.99999999044782
382.99762243246193e-095.99524486492386e-090.999999997002378
393.21234140771963e-096.42468281543925e-090.999999996787659
402.22593196810489e-094.45186393620979e-090.999999997774068
413.79043964896869e-097.58087929793738e-090.99999999620956
422.69120282944244e-075.38240565888488e-070.999999730879717
431.42454228209095e-072.84908456418189e-070.999999857545772
442.40560867962235e-074.8112173592447e-070.999999759439132







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

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

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



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 ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}