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 computationFri, 11 Dec 2009 07:53:22 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/11/t1260543259msi2nc32epjkxq5.htm/, Retrieved Mon, 29 Apr 2024 06:12:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=66279, Retrieved Mon, 29 Apr 2024 06:12:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact147
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [blog] [2008-12-01 15:44:12] [12d343c4448a5f9e527bb31caeac580b]
-   PD  [Multiple Regression] [blog] [2008-12-01 16:17:50] [12d343c4448a5f9e527bb31caeac580b]
-   PD    [Multiple Regression] [dioxine] [2008-12-01 16:30:23] [7a664918911e34206ce9d0436dd7c1c8]
-    D      [Multiple Regression] [Hypothese 1 en 2 ...] [2008-12-03 15:49:48] [12d343c4448a5f9e527bb31caeac580b]
-  MPD          [Multiple Regression] [Paper: 2 Multiple...] [2009-12-11 14:53:22] [b090d569c0a4c77894e0b029f4429f19] [Current]
Feedback Forum

Post a new message
Dataseries X:
118.7	0
110.1	0
110.3	0
112.9	0
102.2	0
99.4	0
116.1	0
103.8	0
101.8	0
113.7	0
89.7	0
99.5	0
122.9	0
108.6	0
114.4	0
110.5	0
104.1	0
103.6	0
121.6	0
101.1	0
116.0	0
120.1	0
96.0	0
105.0	0
124.7	0
123.9	0
123.6	0
114.8	0
108.8	0
106.1	0
123.2	0
106.2	0
115.2	0
120.6	0
109.5	0
114.4	0
121.4	0
129.5	0
124.3	0
112.6	0
125.1	1
117.9	1
116.4	1
126.4	1
93.3	1
102.9	1
97.8	1
97.1	1
110.7	1
109.3	1
103.2	1
106.2	1
81.3	1
84.5	1
92.7	1
85.0	1
79.1	1
92.6	1
78.1	1
76.9	1
92.5	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time9 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 & 9 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=66279&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]9 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=66279&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y(t)_Bruto_index_consumptiegoederen[t] = + 102.039154411765 -13.9609375000000Dummyvariabele[t] + 15.9344403594772M1[t] + 15.4981515522876M2[t] + 14.3191176470588M3[t] + 10.5000837418301M4[t] + 6.13323733660131M5[t] + 4.07420343137254M6[t] + 15.7151695261438M7[t] + 6.15613562091502M8[t] + 2.67710171568627M9[t] + 11.5180678104575M10[t] -4.30096609477125M11[t] + 0.0590339052287572t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y(t)_Bruto_index_consumptiegoederen[t] =  +  102.039154411765 -13.9609375000000Dummyvariabele[t] +  15.9344403594772M1[t] +  15.4981515522876M2[t] +  14.3191176470588M3[t] +  10.5000837418301M4[t] +  6.13323733660131M5[t] +  4.07420343137254M6[t] +  15.7151695261438M7[t] +  6.15613562091502M8[t] +  2.67710171568627M9[t] +  11.5180678104575M10[t] -4.30096609477125M11[t] +  0.0590339052287572t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=66279&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y(t)_Bruto_index_consumptiegoederen[t] =  +  102.039154411765 -13.9609375000000Dummyvariabele[t] +  15.9344403594772M1[t] +  15.4981515522876M2[t] +  14.3191176470588M3[t] +  10.5000837418301M4[t] +  6.13323733660131M5[t] +  4.07420343137254M6[t] +  15.7151695261438M7[t] +  6.15613562091502M8[t] +  2.67710171568627M9[t] +  11.5180678104575M10[t] -4.30096609477125M11[t] +  0.0590339052287572t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=66279&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=66279&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
Y(t)_Bruto_index_consumptiegoederen[t] = + 102.039154411765 -13.9609375000000Dummyvariabele[t] + 15.9344403594772M1[t] + 15.4981515522876M2[t] + 14.3191176470588M3[t] + 10.5000837418301M4[t] + 6.13323733660131M5[t] + 4.07420343137254M6[t] + 15.7151695261438M7[t] + 6.15613562091502M8[t] + 2.67710171568627M9[t] + 11.5180678104575M10[t] -4.30096609477125M11[t] + 0.0590339052287572t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)102.0391544117655.94029217.177500
Dummyvariabele-13.96093750000005.181147-2.69460.0097440.004872
M115.93444035947726.4965662.45270.0179440.008972
M215.49815155228766.8155212.27390.0275780.013789
M314.31911764705886.8058472.10390.0407610.02038
M410.50008374183016.7990261.54440.1292110.064605
M56.133237336601316.8388220.89680.3743820.187191
M64.074203431372546.8202680.59740.553130.276565
M715.71516952614386.8045292.30950.0253570.012679
M86.156135620915026.7916240.90640.3693320.184666
M92.677101715686276.781570.39480.6948050.347402
M1011.51806781045756.774381.70020.0956950.047848
M11-4.300966094771256.770062-0.63530.5283190.26416
t0.05903390522875720.1396240.42280.6743640.337182

\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) & 102.039154411765 & 5.940292 & 17.1775 & 0 & 0 \tabularnewline
Dummyvariabele & -13.9609375000000 & 5.181147 & -2.6946 & 0.009744 & 0.004872 \tabularnewline
M1 & 15.9344403594772 & 6.496566 & 2.4527 & 0.017944 & 0.008972 \tabularnewline
M2 & 15.4981515522876 & 6.815521 & 2.2739 & 0.027578 & 0.013789 \tabularnewline
M3 & 14.3191176470588 & 6.805847 & 2.1039 & 0.040761 & 0.02038 \tabularnewline
M4 & 10.5000837418301 & 6.799026 & 1.5444 & 0.129211 & 0.064605 \tabularnewline
M5 & 6.13323733660131 & 6.838822 & 0.8968 & 0.374382 & 0.187191 \tabularnewline
M6 & 4.07420343137254 & 6.820268 & 0.5974 & 0.55313 & 0.276565 \tabularnewline
M7 & 15.7151695261438 & 6.804529 & 2.3095 & 0.025357 & 0.012679 \tabularnewline
M8 & 6.15613562091502 & 6.791624 & 0.9064 & 0.369332 & 0.184666 \tabularnewline
M9 & 2.67710171568627 & 6.78157 & 0.3948 & 0.694805 & 0.347402 \tabularnewline
M10 & 11.5180678104575 & 6.77438 & 1.7002 & 0.095695 & 0.047848 \tabularnewline
M11 & -4.30096609477125 & 6.770062 & -0.6353 & 0.528319 & 0.26416 \tabularnewline
t & 0.0590339052287572 & 0.139624 & 0.4228 & 0.674364 & 0.337182 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=66279&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]102.039154411765[/C][C]5.940292[/C][C]17.1775[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummyvariabele[/C][C]-13.9609375000000[/C][C]5.181147[/C][C]-2.6946[/C][C]0.009744[/C][C]0.004872[/C][/ROW]
[ROW][C]M1[/C][C]15.9344403594772[/C][C]6.496566[/C][C]2.4527[/C][C]0.017944[/C][C]0.008972[/C][/ROW]
[ROW][C]M2[/C][C]15.4981515522876[/C][C]6.815521[/C][C]2.2739[/C][C]0.027578[/C][C]0.013789[/C][/ROW]
[ROW][C]M3[/C][C]14.3191176470588[/C][C]6.805847[/C][C]2.1039[/C][C]0.040761[/C][C]0.02038[/C][/ROW]
[ROW][C]M4[/C][C]10.5000837418301[/C][C]6.799026[/C][C]1.5444[/C][C]0.129211[/C][C]0.064605[/C][/ROW]
[ROW][C]M5[/C][C]6.13323733660131[/C][C]6.838822[/C][C]0.8968[/C][C]0.374382[/C][C]0.187191[/C][/ROW]
[ROW][C]M6[/C][C]4.07420343137254[/C][C]6.820268[/C][C]0.5974[/C][C]0.55313[/C][C]0.276565[/C][/ROW]
[ROW][C]M7[/C][C]15.7151695261438[/C][C]6.804529[/C][C]2.3095[/C][C]0.025357[/C][C]0.012679[/C][/ROW]
[ROW][C]M8[/C][C]6.15613562091502[/C][C]6.791624[/C][C]0.9064[/C][C]0.369332[/C][C]0.184666[/C][/ROW]
[ROW][C]M9[/C][C]2.67710171568627[/C][C]6.78157[/C][C]0.3948[/C][C]0.694805[/C][C]0.347402[/C][/ROW]
[ROW][C]M10[/C][C]11.5180678104575[/C][C]6.77438[/C][C]1.7002[/C][C]0.095695[/C][C]0.047848[/C][/ROW]
[ROW][C]M11[/C][C]-4.30096609477125[/C][C]6.770062[/C][C]-0.6353[/C][C]0.528319[/C][C]0.26416[/C][/ROW]
[ROW][C]t[/C][C]0.0590339052287572[/C][C]0.139624[/C][C]0.4228[/C][C]0.674364[/C][C]0.337182[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=66279&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=66279&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)102.0391544117655.94029217.177500
Dummyvariabele-13.96093750000005.181147-2.69460.0097440.004872
M115.93444035947726.4965662.45270.0179440.008972
M215.49815155228766.8155212.27390.0275780.013789
M314.31911764705886.8058472.10390.0407610.02038
M410.50008374183016.7990261.54440.1292110.064605
M56.133237336601316.8388220.89680.3743820.187191
M64.074203431372546.8202680.59740.553130.276565
M715.71516952614386.8045292.30950.0253570.012679
M86.156135620915026.7916240.90640.3693320.184666
M92.677101715686276.781570.39480.6948050.347402
M1011.51806781045756.774381.70020.0956950.047848
M11-4.300966094771256.770062-0.63530.5283190.26416
t0.05903390522875720.1396240.42280.6743640.337182







Multiple Linear Regression - Regression Statistics
Multiple R0.69588105959103
R-squared0.484250449097534
Adjusted R-squared0.341596317996852
F-TEST (value)3.39457711712366
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00101883741500064
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.7021310727748
Sum Squared Residuals5383.17364644608

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.69588105959103 \tabularnewline
R-squared & 0.484250449097534 \tabularnewline
Adjusted R-squared & 0.341596317996852 \tabularnewline
F-TEST (value) & 3.39457711712366 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00101883741500064 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 10.7021310727748 \tabularnewline
Sum Squared Residuals & 5383.17364644608 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=66279&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.69588105959103[/C][/ROW]
[ROW][C]R-squared[/C][C]0.484250449097534[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.341596317996852[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.39457711712366[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00101883741500064[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]10.7021310727748[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5383.17364644608[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=66279&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=66279&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.69588105959103
R-squared0.484250449097534
Adjusted R-squared0.341596317996852
F-TEST (value)3.39457711712366
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00101883741500064
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.7021310727748
Sum Squared Residuals5383.17364644608







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1118.7118.0326286764700.667371323529671
2110.1117.655373774510-7.55537377450982
3110.3116.535373774510-6.23537377450984
4112.9112.7753737745100.124626225490167
5102.2108.467561274510-6.2675612745098
699.4106.467561274510-7.06756127450984
7116.1118.167561274510-2.06756127450983
8103.8108.667561274510-4.86756127450983
9101.8105.247561274510-3.44756127450983
10113.7114.147561274510-0.447561274509814
1189.798.3875612745098-8.68756127450982
1299.5102.747561274510-3.24756127450982
13122.9118.7410355392164.15896446078424
14108.6118.363780637255-9.76378063725492
15114.4117.243780637255-2.84378063725490
16110.5113.483780637255-2.9837806372549
17104.1109.175968137255-5.07596813725492
18103.6107.175968137255-3.5759681372549
19121.6118.8759681372552.72403186274509
20101.1109.375968137255-8.2759681372549
21116105.95596813725510.0440318627451
22120.1114.8559681372555.24403186274509
239699.0959681372549-3.09596813725490
24105103.4559681372551.54403186274510
25124.7119.4494424019615.25055759803916
26123.9119.07218754.82781250000001
27123.6117.95218755.64781250000001
28114.8114.19218750.607812500000011
29108.8109.884375-1.08437500000000
30106.1107.884375-1.78437499999999
31123.2119.5843753.61562500000001
32106.2110.084375-3.88437499999998
33115.2106.6643758.53562500000002
34120.6115.5643755.035625
35109.599.8043759.69562500000002
36114.4104.16437510.2356250000000
37121.4120.1578492647061.24215073529407
38129.5119.7805943627459.71940563725492
39124.3118.6605943627455.63940563725492
40112.6114.900594362745-2.30059436274508
41125.196.63184436274528.4681556372549
42117.994.63184436274523.2681556372549
43116.4106.33184436274510.0681556372549
44126.496.831844362745129.5681556372549
4593.393.4118443627451-0.111844362745098
46102.9102.3118443627450.588155637254907
4797.886.551844362745111.2481556372549
4897.190.91184436274516.18815563725489
49110.7106.9053186274513.79468137254896
50109.3106.5280637254902.77193627450981
51103.2105.408063725490-2.20806372549018
52106.2101.6480637254904.55193627450982
5381.397.3402512254902-16.0402512254902
5484.595.3402512254902-10.8402512254902
5592.7107.040251225490-14.3402512254902
568597.5402512254902-12.5402512254902
5779.194.1202512254902-15.0202512254902
5892.6103.020251225490-10.4202512254902
5978.187.2602512254902-9.1602512254902
6076.991.6202512254902-14.7202512254902
6192.5107.613725490196-15.1137254901961

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 118.7 & 118.032628676470 & 0.667371323529671 \tabularnewline
2 & 110.1 & 117.655373774510 & -7.55537377450982 \tabularnewline
3 & 110.3 & 116.535373774510 & -6.23537377450984 \tabularnewline
4 & 112.9 & 112.775373774510 & 0.124626225490167 \tabularnewline
5 & 102.2 & 108.467561274510 & -6.2675612745098 \tabularnewline
6 & 99.4 & 106.467561274510 & -7.06756127450984 \tabularnewline
7 & 116.1 & 118.167561274510 & -2.06756127450983 \tabularnewline
8 & 103.8 & 108.667561274510 & -4.86756127450983 \tabularnewline
9 & 101.8 & 105.247561274510 & -3.44756127450983 \tabularnewline
10 & 113.7 & 114.147561274510 & -0.447561274509814 \tabularnewline
11 & 89.7 & 98.3875612745098 & -8.68756127450982 \tabularnewline
12 & 99.5 & 102.747561274510 & -3.24756127450982 \tabularnewline
13 & 122.9 & 118.741035539216 & 4.15896446078424 \tabularnewline
14 & 108.6 & 118.363780637255 & -9.76378063725492 \tabularnewline
15 & 114.4 & 117.243780637255 & -2.84378063725490 \tabularnewline
16 & 110.5 & 113.483780637255 & -2.9837806372549 \tabularnewline
17 & 104.1 & 109.175968137255 & -5.07596813725492 \tabularnewline
18 & 103.6 & 107.175968137255 & -3.5759681372549 \tabularnewline
19 & 121.6 & 118.875968137255 & 2.72403186274509 \tabularnewline
20 & 101.1 & 109.375968137255 & -8.2759681372549 \tabularnewline
21 & 116 & 105.955968137255 & 10.0440318627451 \tabularnewline
22 & 120.1 & 114.855968137255 & 5.24403186274509 \tabularnewline
23 & 96 & 99.0959681372549 & -3.09596813725490 \tabularnewline
24 & 105 & 103.455968137255 & 1.54403186274510 \tabularnewline
25 & 124.7 & 119.449442401961 & 5.25055759803916 \tabularnewline
26 & 123.9 & 119.0721875 & 4.82781250000001 \tabularnewline
27 & 123.6 & 117.9521875 & 5.64781250000001 \tabularnewline
28 & 114.8 & 114.1921875 & 0.607812500000011 \tabularnewline
29 & 108.8 & 109.884375 & -1.08437500000000 \tabularnewline
30 & 106.1 & 107.884375 & -1.78437499999999 \tabularnewline
31 & 123.2 & 119.584375 & 3.61562500000001 \tabularnewline
32 & 106.2 & 110.084375 & -3.88437499999998 \tabularnewline
33 & 115.2 & 106.664375 & 8.53562500000002 \tabularnewline
34 & 120.6 & 115.564375 & 5.035625 \tabularnewline
35 & 109.5 & 99.804375 & 9.69562500000002 \tabularnewline
36 & 114.4 & 104.164375 & 10.2356250000000 \tabularnewline
37 & 121.4 & 120.157849264706 & 1.24215073529407 \tabularnewline
38 & 129.5 & 119.780594362745 & 9.71940563725492 \tabularnewline
39 & 124.3 & 118.660594362745 & 5.63940563725492 \tabularnewline
40 & 112.6 & 114.900594362745 & -2.30059436274508 \tabularnewline
41 & 125.1 & 96.631844362745 & 28.4681556372549 \tabularnewline
42 & 117.9 & 94.631844362745 & 23.2681556372549 \tabularnewline
43 & 116.4 & 106.331844362745 & 10.0681556372549 \tabularnewline
44 & 126.4 & 96.8318443627451 & 29.5681556372549 \tabularnewline
45 & 93.3 & 93.4118443627451 & -0.111844362745098 \tabularnewline
46 & 102.9 & 102.311844362745 & 0.588155637254907 \tabularnewline
47 & 97.8 & 86.5518443627451 & 11.2481556372549 \tabularnewline
48 & 97.1 & 90.9118443627451 & 6.18815563725489 \tabularnewline
49 & 110.7 & 106.905318627451 & 3.79468137254896 \tabularnewline
50 & 109.3 & 106.528063725490 & 2.77193627450981 \tabularnewline
51 & 103.2 & 105.408063725490 & -2.20806372549018 \tabularnewline
52 & 106.2 & 101.648063725490 & 4.55193627450982 \tabularnewline
53 & 81.3 & 97.3402512254902 & -16.0402512254902 \tabularnewline
54 & 84.5 & 95.3402512254902 & -10.8402512254902 \tabularnewline
55 & 92.7 & 107.040251225490 & -14.3402512254902 \tabularnewline
56 & 85 & 97.5402512254902 & -12.5402512254902 \tabularnewline
57 & 79.1 & 94.1202512254902 & -15.0202512254902 \tabularnewline
58 & 92.6 & 103.020251225490 & -10.4202512254902 \tabularnewline
59 & 78.1 & 87.2602512254902 & -9.1602512254902 \tabularnewline
60 & 76.9 & 91.6202512254902 & -14.7202512254902 \tabularnewline
61 & 92.5 & 107.613725490196 & -15.1137254901961 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=66279&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]118.7[/C][C]118.032628676470[/C][C]0.667371323529671[/C][/ROW]
[ROW][C]2[/C][C]110.1[/C][C]117.655373774510[/C][C]-7.55537377450982[/C][/ROW]
[ROW][C]3[/C][C]110.3[/C][C]116.535373774510[/C][C]-6.23537377450984[/C][/ROW]
[ROW][C]4[/C][C]112.9[/C][C]112.775373774510[/C][C]0.124626225490167[/C][/ROW]
[ROW][C]5[/C][C]102.2[/C][C]108.467561274510[/C][C]-6.2675612745098[/C][/ROW]
[ROW][C]6[/C][C]99.4[/C][C]106.467561274510[/C][C]-7.06756127450984[/C][/ROW]
[ROW][C]7[/C][C]116.1[/C][C]118.167561274510[/C][C]-2.06756127450983[/C][/ROW]
[ROW][C]8[/C][C]103.8[/C][C]108.667561274510[/C][C]-4.86756127450983[/C][/ROW]
[ROW][C]9[/C][C]101.8[/C][C]105.247561274510[/C][C]-3.44756127450983[/C][/ROW]
[ROW][C]10[/C][C]113.7[/C][C]114.147561274510[/C][C]-0.447561274509814[/C][/ROW]
[ROW][C]11[/C][C]89.7[/C][C]98.3875612745098[/C][C]-8.68756127450982[/C][/ROW]
[ROW][C]12[/C][C]99.5[/C][C]102.747561274510[/C][C]-3.24756127450982[/C][/ROW]
[ROW][C]13[/C][C]122.9[/C][C]118.741035539216[/C][C]4.15896446078424[/C][/ROW]
[ROW][C]14[/C][C]108.6[/C][C]118.363780637255[/C][C]-9.76378063725492[/C][/ROW]
[ROW][C]15[/C][C]114.4[/C][C]117.243780637255[/C][C]-2.84378063725490[/C][/ROW]
[ROW][C]16[/C][C]110.5[/C][C]113.483780637255[/C][C]-2.9837806372549[/C][/ROW]
[ROW][C]17[/C][C]104.1[/C][C]109.175968137255[/C][C]-5.07596813725492[/C][/ROW]
[ROW][C]18[/C][C]103.6[/C][C]107.175968137255[/C][C]-3.5759681372549[/C][/ROW]
[ROW][C]19[/C][C]121.6[/C][C]118.875968137255[/C][C]2.72403186274509[/C][/ROW]
[ROW][C]20[/C][C]101.1[/C][C]109.375968137255[/C][C]-8.2759681372549[/C][/ROW]
[ROW][C]21[/C][C]116[/C][C]105.955968137255[/C][C]10.0440318627451[/C][/ROW]
[ROW][C]22[/C][C]120.1[/C][C]114.855968137255[/C][C]5.24403186274509[/C][/ROW]
[ROW][C]23[/C][C]96[/C][C]99.0959681372549[/C][C]-3.09596813725490[/C][/ROW]
[ROW][C]24[/C][C]105[/C][C]103.455968137255[/C][C]1.54403186274510[/C][/ROW]
[ROW][C]25[/C][C]124.7[/C][C]119.449442401961[/C][C]5.25055759803916[/C][/ROW]
[ROW][C]26[/C][C]123.9[/C][C]119.0721875[/C][C]4.82781250000001[/C][/ROW]
[ROW][C]27[/C][C]123.6[/C][C]117.9521875[/C][C]5.64781250000001[/C][/ROW]
[ROW][C]28[/C][C]114.8[/C][C]114.1921875[/C][C]0.607812500000011[/C][/ROW]
[ROW][C]29[/C][C]108.8[/C][C]109.884375[/C][C]-1.08437500000000[/C][/ROW]
[ROW][C]30[/C][C]106.1[/C][C]107.884375[/C][C]-1.78437499999999[/C][/ROW]
[ROW][C]31[/C][C]123.2[/C][C]119.584375[/C][C]3.61562500000001[/C][/ROW]
[ROW][C]32[/C][C]106.2[/C][C]110.084375[/C][C]-3.88437499999998[/C][/ROW]
[ROW][C]33[/C][C]115.2[/C][C]106.664375[/C][C]8.53562500000002[/C][/ROW]
[ROW][C]34[/C][C]120.6[/C][C]115.564375[/C][C]5.035625[/C][/ROW]
[ROW][C]35[/C][C]109.5[/C][C]99.804375[/C][C]9.69562500000002[/C][/ROW]
[ROW][C]36[/C][C]114.4[/C][C]104.164375[/C][C]10.2356250000000[/C][/ROW]
[ROW][C]37[/C][C]121.4[/C][C]120.157849264706[/C][C]1.24215073529407[/C][/ROW]
[ROW][C]38[/C][C]129.5[/C][C]119.780594362745[/C][C]9.71940563725492[/C][/ROW]
[ROW][C]39[/C][C]124.3[/C][C]118.660594362745[/C][C]5.63940563725492[/C][/ROW]
[ROW][C]40[/C][C]112.6[/C][C]114.900594362745[/C][C]-2.30059436274508[/C][/ROW]
[ROW][C]41[/C][C]125.1[/C][C]96.631844362745[/C][C]28.4681556372549[/C][/ROW]
[ROW][C]42[/C][C]117.9[/C][C]94.631844362745[/C][C]23.2681556372549[/C][/ROW]
[ROW][C]43[/C][C]116.4[/C][C]106.331844362745[/C][C]10.0681556372549[/C][/ROW]
[ROW][C]44[/C][C]126.4[/C][C]96.8318443627451[/C][C]29.5681556372549[/C][/ROW]
[ROW][C]45[/C][C]93.3[/C][C]93.4118443627451[/C][C]-0.111844362745098[/C][/ROW]
[ROW][C]46[/C][C]102.9[/C][C]102.311844362745[/C][C]0.588155637254907[/C][/ROW]
[ROW][C]47[/C][C]97.8[/C][C]86.5518443627451[/C][C]11.2481556372549[/C][/ROW]
[ROW][C]48[/C][C]97.1[/C][C]90.9118443627451[/C][C]6.18815563725489[/C][/ROW]
[ROW][C]49[/C][C]110.7[/C][C]106.905318627451[/C][C]3.79468137254896[/C][/ROW]
[ROW][C]50[/C][C]109.3[/C][C]106.528063725490[/C][C]2.77193627450981[/C][/ROW]
[ROW][C]51[/C][C]103.2[/C][C]105.408063725490[/C][C]-2.20806372549018[/C][/ROW]
[ROW][C]52[/C][C]106.2[/C][C]101.648063725490[/C][C]4.55193627450982[/C][/ROW]
[ROW][C]53[/C][C]81.3[/C][C]97.3402512254902[/C][C]-16.0402512254902[/C][/ROW]
[ROW][C]54[/C][C]84.5[/C][C]95.3402512254902[/C][C]-10.8402512254902[/C][/ROW]
[ROW][C]55[/C][C]92.7[/C][C]107.040251225490[/C][C]-14.3402512254902[/C][/ROW]
[ROW][C]56[/C][C]85[/C][C]97.5402512254902[/C][C]-12.5402512254902[/C][/ROW]
[ROW][C]57[/C][C]79.1[/C][C]94.1202512254902[/C][C]-15.0202512254902[/C][/ROW]
[ROW][C]58[/C][C]92.6[/C][C]103.020251225490[/C][C]-10.4202512254902[/C][/ROW]
[ROW][C]59[/C][C]78.1[/C][C]87.2602512254902[/C][C]-9.1602512254902[/C][/ROW]
[ROW][C]60[/C][C]76.9[/C][C]91.6202512254902[/C][C]-14.7202512254902[/C][/ROW]
[ROW][C]61[/C][C]92.5[/C][C]107.613725490196[/C][C]-15.1137254901961[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=66279&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=66279&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
1118.7118.0326286764700.667371323529671
2110.1117.655373774510-7.55537377450982
3110.3116.535373774510-6.23537377450984
4112.9112.7753737745100.124626225490167
5102.2108.467561274510-6.2675612745098
699.4106.467561274510-7.06756127450984
7116.1118.167561274510-2.06756127450983
8103.8108.667561274510-4.86756127450983
9101.8105.247561274510-3.44756127450983
10113.7114.147561274510-0.447561274509814
1189.798.3875612745098-8.68756127450982
1299.5102.747561274510-3.24756127450982
13122.9118.7410355392164.15896446078424
14108.6118.363780637255-9.76378063725492
15114.4117.243780637255-2.84378063725490
16110.5113.483780637255-2.9837806372549
17104.1109.175968137255-5.07596813725492
18103.6107.175968137255-3.5759681372549
19121.6118.8759681372552.72403186274509
20101.1109.375968137255-8.2759681372549
21116105.95596813725510.0440318627451
22120.1114.8559681372555.24403186274509
239699.0959681372549-3.09596813725490
24105103.4559681372551.54403186274510
25124.7119.4494424019615.25055759803916
26123.9119.07218754.82781250000001
27123.6117.95218755.64781250000001
28114.8114.19218750.607812500000011
29108.8109.884375-1.08437500000000
30106.1107.884375-1.78437499999999
31123.2119.5843753.61562500000001
32106.2110.084375-3.88437499999998
33115.2106.6643758.53562500000002
34120.6115.5643755.035625
35109.599.8043759.69562500000002
36114.4104.16437510.2356250000000
37121.4120.1578492647061.24215073529407
38129.5119.7805943627459.71940563725492
39124.3118.6605943627455.63940563725492
40112.6114.900594362745-2.30059436274508
41125.196.63184436274528.4681556372549
42117.994.63184436274523.2681556372549
43116.4106.33184436274510.0681556372549
44126.496.831844362745129.5681556372549
4593.393.4118443627451-0.111844362745098
46102.9102.3118443627450.588155637254907
4797.886.551844362745111.2481556372549
4897.190.91184436274516.18815563725489
49110.7106.9053186274513.79468137254896
50109.3106.5280637254902.77193627450981
51103.2105.408063725490-2.20806372549018
52106.2101.6480637254904.55193627450982
5381.397.3402512254902-16.0402512254902
5484.595.3402512254902-10.8402512254902
5592.7107.040251225490-14.3402512254902
568597.5402512254902-12.5402512254902
5779.194.1202512254902-15.0202512254902
5892.6103.020251225490-10.4202512254902
5978.187.2602512254902-9.1602512254902
6076.991.6202512254902-14.7202512254902
6192.5107.613725490196-15.1137254901961







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.01694157519003280.03388315038006560.983058424809967
180.004935235483506780.009870470967013570.995064764516493
190.001663769093017130.003327538186034260.998336230906983
200.001239046104239350.002478092208478700.99876095389576
210.00699669893755440.01399339787510880.993003301062446
220.002862256601784090.005724513203568170.997137743398216
230.001901999772922290.003803999545844580.998098000227078
240.001016040038600290.002032080077200580.9989839599614
250.000446212926693350.00089242585338670.999553787073307
260.001288636880032000.002577273760064000.998711363119968
270.0009864986565470250.001972997313094050.999013501343453
280.001406069656546740.002812139313093480.998593930343453
290.000995373259601580.001990746519203160.999004626740398
300.001033819831395170.002067639662790340.998966180168605
310.0004722714497663960.0009445428995327920.999527728550234
320.002784198883778430.005568397767556850.997215801116222
330.001341107180832840.002682214361665680.998658892819167
340.0006495064323565880.001299012864713180.999350493567643
350.001992088427228390.003984176854456770.998007911572772
360.001323137522206000.002646275044411990.998676862477794
370.002910195944001450.00582039188800290.997089804055999
380.002523566326677070.005047132653354130.997476433673323
390.001928273251029280.003856546502058550.99807172674897
400.001833330049433890.003666660098867780.998166669950566
410.009294911631328540.01858982326265710.990705088368671
420.01232172990186910.02464345980373820.987678270098131
430.03157659295247420.06315318590494830.968423407047526
440.7164891009976890.5670217980046220.283510899002311

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0169415751900328 & 0.0338831503800656 & 0.983058424809967 \tabularnewline
18 & 0.00493523548350678 & 0.00987047096701357 & 0.995064764516493 \tabularnewline
19 & 0.00166376909301713 & 0.00332753818603426 & 0.998336230906983 \tabularnewline
20 & 0.00123904610423935 & 0.00247809220847870 & 0.99876095389576 \tabularnewline
21 & 0.0069966989375544 & 0.0139933978751088 & 0.993003301062446 \tabularnewline
22 & 0.00286225660178409 & 0.00572451320356817 & 0.997137743398216 \tabularnewline
23 & 0.00190199977292229 & 0.00380399954584458 & 0.998098000227078 \tabularnewline
24 & 0.00101604003860029 & 0.00203208007720058 & 0.9989839599614 \tabularnewline
25 & 0.00044621292669335 & 0.0008924258533867 & 0.999553787073307 \tabularnewline
26 & 0.00128863688003200 & 0.00257727376006400 & 0.998711363119968 \tabularnewline
27 & 0.000986498656547025 & 0.00197299731309405 & 0.999013501343453 \tabularnewline
28 & 0.00140606965654674 & 0.00281213931309348 & 0.998593930343453 \tabularnewline
29 & 0.00099537325960158 & 0.00199074651920316 & 0.999004626740398 \tabularnewline
30 & 0.00103381983139517 & 0.00206763966279034 & 0.998966180168605 \tabularnewline
31 & 0.000472271449766396 & 0.000944542899532792 & 0.999527728550234 \tabularnewline
32 & 0.00278419888377843 & 0.00556839776755685 & 0.997215801116222 \tabularnewline
33 & 0.00134110718083284 & 0.00268221436166568 & 0.998658892819167 \tabularnewline
34 & 0.000649506432356588 & 0.00129901286471318 & 0.999350493567643 \tabularnewline
35 & 0.00199208842722839 & 0.00398417685445677 & 0.998007911572772 \tabularnewline
36 & 0.00132313752220600 & 0.00264627504441199 & 0.998676862477794 \tabularnewline
37 & 0.00291019594400145 & 0.0058203918880029 & 0.997089804055999 \tabularnewline
38 & 0.00252356632667707 & 0.00504713265335413 & 0.997476433673323 \tabularnewline
39 & 0.00192827325102928 & 0.00385654650205855 & 0.99807172674897 \tabularnewline
40 & 0.00183333004943389 & 0.00366666009886778 & 0.998166669950566 \tabularnewline
41 & 0.00929491163132854 & 0.0185898232626571 & 0.990705088368671 \tabularnewline
42 & 0.0123217299018691 & 0.0246434598037382 & 0.987678270098131 \tabularnewline
43 & 0.0315765929524742 & 0.0631531859049483 & 0.968423407047526 \tabularnewline
44 & 0.716489100997689 & 0.567021798004622 & 0.283510899002311 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=66279&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]17[/C][C]0.0169415751900328[/C][C]0.0338831503800656[/C][C]0.983058424809967[/C][/ROW]
[ROW][C]18[/C][C]0.00493523548350678[/C][C]0.00987047096701357[/C][C]0.995064764516493[/C][/ROW]
[ROW][C]19[/C][C]0.00166376909301713[/C][C]0.00332753818603426[/C][C]0.998336230906983[/C][/ROW]
[ROW][C]20[/C][C]0.00123904610423935[/C][C]0.00247809220847870[/C][C]0.99876095389576[/C][/ROW]
[ROW][C]21[/C][C]0.0069966989375544[/C][C]0.0139933978751088[/C][C]0.993003301062446[/C][/ROW]
[ROW][C]22[/C][C]0.00286225660178409[/C][C]0.00572451320356817[/C][C]0.997137743398216[/C][/ROW]
[ROW][C]23[/C][C]0.00190199977292229[/C][C]0.00380399954584458[/C][C]0.998098000227078[/C][/ROW]
[ROW][C]24[/C][C]0.00101604003860029[/C][C]0.00203208007720058[/C][C]0.9989839599614[/C][/ROW]
[ROW][C]25[/C][C]0.00044621292669335[/C][C]0.0008924258533867[/C][C]0.999553787073307[/C][/ROW]
[ROW][C]26[/C][C]0.00128863688003200[/C][C]0.00257727376006400[/C][C]0.998711363119968[/C][/ROW]
[ROW][C]27[/C][C]0.000986498656547025[/C][C]0.00197299731309405[/C][C]0.999013501343453[/C][/ROW]
[ROW][C]28[/C][C]0.00140606965654674[/C][C]0.00281213931309348[/C][C]0.998593930343453[/C][/ROW]
[ROW][C]29[/C][C]0.00099537325960158[/C][C]0.00199074651920316[/C][C]0.999004626740398[/C][/ROW]
[ROW][C]30[/C][C]0.00103381983139517[/C][C]0.00206763966279034[/C][C]0.998966180168605[/C][/ROW]
[ROW][C]31[/C][C]0.000472271449766396[/C][C]0.000944542899532792[/C][C]0.999527728550234[/C][/ROW]
[ROW][C]32[/C][C]0.00278419888377843[/C][C]0.00556839776755685[/C][C]0.997215801116222[/C][/ROW]
[ROW][C]33[/C][C]0.00134110718083284[/C][C]0.00268221436166568[/C][C]0.998658892819167[/C][/ROW]
[ROW][C]34[/C][C]0.000649506432356588[/C][C]0.00129901286471318[/C][C]0.999350493567643[/C][/ROW]
[ROW][C]35[/C][C]0.00199208842722839[/C][C]0.00398417685445677[/C][C]0.998007911572772[/C][/ROW]
[ROW][C]36[/C][C]0.00132313752220600[/C][C]0.00264627504441199[/C][C]0.998676862477794[/C][/ROW]
[ROW][C]37[/C][C]0.00291019594400145[/C][C]0.0058203918880029[/C][C]0.997089804055999[/C][/ROW]
[ROW][C]38[/C][C]0.00252356632667707[/C][C]0.00504713265335413[/C][C]0.997476433673323[/C][/ROW]
[ROW][C]39[/C][C]0.00192827325102928[/C][C]0.00385654650205855[/C][C]0.99807172674897[/C][/ROW]
[ROW][C]40[/C][C]0.00183333004943389[/C][C]0.00366666009886778[/C][C]0.998166669950566[/C][/ROW]
[ROW][C]41[/C][C]0.00929491163132854[/C][C]0.0185898232626571[/C][C]0.990705088368671[/C][/ROW]
[ROW][C]42[/C][C]0.0123217299018691[/C][C]0.0246434598037382[/C][C]0.987678270098131[/C][/ROW]
[ROW][C]43[/C][C]0.0315765929524742[/C][C]0.0631531859049483[/C][C]0.968423407047526[/C][/ROW]
[ROW][C]44[/C][C]0.716489100997689[/C][C]0.567021798004622[/C][C]0.283510899002311[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=66279&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=66279&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
170.01694157519003280.03388315038006560.983058424809967
180.004935235483506780.009870470967013570.995064764516493
190.001663769093017130.003327538186034260.998336230906983
200.001239046104239350.002478092208478700.99876095389576
210.00699669893755440.01399339787510880.993003301062446
220.002862256601784090.005724513203568170.997137743398216
230.001901999772922290.003803999545844580.998098000227078
240.001016040038600290.002032080077200580.9989839599614
250.000446212926693350.00089242585338670.999553787073307
260.001288636880032000.002577273760064000.998711363119968
270.0009864986565470250.001972997313094050.999013501343453
280.001406069656546740.002812139313093480.998593930343453
290.000995373259601580.001990746519203160.999004626740398
300.001033819831395170.002067639662790340.998966180168605
310.0004722714497663960.0009445428995327920.999527728550234
320.002784198883778430.005568397767556850.997215801116222
330.001341107180832840.002682214361665680.998658892819167
340.0006495064323565880.001299012864713180.999350493567643
350.001992088427228390.003984176854456770.998007911572772
360.001323137522206000.002646275044411990.998676862477794
370.002910195944001450.00582039188800290.997089804055999
380.002523566326677070.005047132653354130.997476433673323
390.001928273251029280.003856546502058550.99807172674897
400.001833330049433890.003666660098867780.998166669950566
410.009294911631328540.01858982326265710.990705088368671
420.01232172990186910.02464345980373820.987678270098131
430.03157659295247420.06315318590494830.968423407047526
440.7164891009976890.5670217980046220.283510899002311







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level220.785714285714286NOK
5% type I error level260.928571428571429NOK
10% type I error level270.964285714285714NOK

\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 & 22 & 0.785714285714286 & NOK \tabularnewline
5% type I error level & 26 & 0.928571428571429 & NOK \tabularnewline
10% type I error level & 27 & 0.964285714285714 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=66279&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]22[/C][C]0.785714285714286[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]26[/C][C]0.928571428571429[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]27[/C][C]0.964285714285714[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=66279&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=66279&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 level220.785714285714286NOK
5% type I error level260.928571428571429NOK
10% type I error level270.964285714285714NOK



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