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 computationThu, 11 Dec 2008 13:14:55 -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/2008/Dec/11/t1229026614mmpagxckps1jez8.htm/, Retrieved Sun, 19 May 2024 05:13:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32442, Retrieved Sun, 19 May 2024 05:13:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact197
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper multiple li...] [2008-12-11 20:14:55] [2ba2a74112fb2c960057a572bf2825d3] [Current]
-   PD    [Multiple Regression] [berekening 1 stap 2] [2008-12-11 20:55:56] [491a70d26f8c977398d8a0c1c87d3dd4]
-   P       [Multiple Regression] [Berekening 1 stap 3] [2008-12-11 21:57:33] [491a70d26f8c977398d8a0c1c87d3dd4]
Feedback Forum

Post a new message
Dataseries X:
103,3	0
101,2	0
107,7	0
110,4	0
101,9	0
115,9	0
89,9	0
88,6	0
117,2	0
123,9	0
100	0
103,6	0
94,1	0
98,7	0
119,5	0
112,7	0
104,4	0
124,7	0
89,1	0
97	0
121,6	0
118,8	0
114	0
111,5	0
97,2	0
102,5	0
113,4	0
109,8	0
104,9	0
126,1	0
80	0
96,8	0
117,2	1
112,3	1
117,3	1
111,1	1
102,2	1
104,3	1
122,9	1
107,6	1
121,3	1
131,5	1
89	1
104,4	1
128,9	1
135,9	1
133,3	1
121,3	1
120,5	1
120,4	1
137,9	1
126,1	1
133,2	1
151,1	1
105	1
119	1
140,4	1
156,6	1
137,1	1
122,7	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32442&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32442&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32442&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 time4 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
metaal[t] = + 106.2625 + 16.2553571428571conjunctuur[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
metaal[t] =  +  106.2625 +  16.2553571428571conjunctuur[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32442&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]metaal[t] =  +  106.2625 +  16.2553571428571conjunctuur[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32442&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32442&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
metaal[t] = + 106.2625 + 16.2553571428571conjunctuur[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)106.26252.38001944.647700
conjunctuur16.25535714285713.4839914.66571.9e-059e-06

\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) & 106.2625 & 2.380019 & 44.6477 & 0 & 0 \tabularnewline
conjunctuur & 16.2553571428571 & 3.483991 & 4.6657 & 1.9e-05 & 9e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32442&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]106.2625[/C][C]2.380019[/C][C]44.6477[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]conjunctuur[/C][C]16.2553571428571[/C][C]3.483991[/C][C]4.6657[/C][C]1.9e-05[/C][C]9e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32442&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32442&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)106.26252.38001944.647700
conjunctuur16.25535714285713.4839914.66571.9e-059e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.522398973464736
R-squared0.27290068747701
Adjusted R-squared0.26036449243351
F-TEST (value)21.7690205465104
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value1.85786028988888e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.4634217556109
Sum Squared Residuals10513.2960714286

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.522398973464736 \tabularnewline
R-squared & 0.27290068747701 \tabularnewline
Adjusted R-squared & 0.26036449243351 \tabularnewline
F-TEST (value) & 21.7690205465104 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 1.85786028988888e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 13.4634217556109 \tabularnewline
Sum Squared Residuals & 10513.2960714286 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32442&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.522398973464736[/C][/ROW]
[ROW][C]R-squared[/C][C]0.27290068747701[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.26036449243351[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]21.7690205465104[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]1.85786028988888e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]13.4634217556109[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]10513.2960714286[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32442&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32442&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.522398973464736
R-squared0.27290068747701
Adjusted R-squared0.26036449243351
F-TEST (value)21.7690205465104
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value1.85786028988888e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.4634217556109
Sum Squared Residuals10513.2960714286







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1103.3106.2625-2.96249999999995
2101.2106.2625-5.06250000000001
3107.7106.26251.4375
4110.4106.26254.1375
5101.9106.2625-4.3625
6115.9106.26259.6375
789.9106.2625-16.3625
888.6106.2625-17.6625
9117.2106.262510.9375
10123.9106.262517.6375
11100106.2625-6.2625
12103.6106.2625-2.66250000000001
1394.1106.2625-12.1625
1498.7106.2625-7.5625
15119.5106.262513.2375
16112.7106.26256.4375
17104.4106.2625-1.86250000000000
18124.7106.262518.4375
1989.1106.2625-17.1625
2097106.2625-9.2625
21121.6106.262515.3375
22118.8106.262512.5375
23114106.26257.7375
24111.5106.26255.2375
2597.2106.2625-9.0625
26102.5106.2625-3.7625
27113.4106.26257.1375
28109.8106.26253.53749999999999
29104.9106.2625-1.36250000000000
30126.1106.262519.8375
3180106.2625-26.2625
3296.8106.2625-9.4625
33117.2122.517857142857-5.31785714285714
34112.3122.517857142857-10.2178571428571
35117.3122.517857142857-5.21785714285715
36111.1122.517857142857-11.4178571428571
37102.2122.517857142857-20.3178571428571
38104.3122.517857142857-18.2178571428571
39122.9122.5178571428570.382142857142862
40107.6122.517857142857-14.9178571428571
41121.3122.517857142857-1.21785714285715
42131.5122.5178571428578.98214285714286
4389122.517857142857-33.5178571428571
44104.4122.517857142857-18.1178571428571
45128.9122.5178571428576.38214285714286
46135.9122.51785714285713.3821428571429
47133.3122.51785714285710.7821428571429
48121.3122.517857142857-1.21785714285715
49120.5122.517857142857-2.01785714285714
50120.4122.517857142857-2.11785714285714
51137.9122.51785714285715.3821428571429
52126.1122.5178571428573.58214285714285
53133.2122.51785714285710.6821428571428
54151.1122.51785714285728.5821428571429
55105122.517857142857-17.5178571428571
56119122.517857142857-3.51785714285714
57140.4122.51785714285717.8821428571429
58156.6122.51785714285734.0821428571429
59137.1122.51785714285714.5821428571429
60122.7122.5178571428570.182142857142860

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 103.3 & 106.2625 & -2.96249999999995 \tabularnewline
2 & 101.2 & 106.2625 & -5.06250000000001 \tabularnewline
3 & 107.7 & 106.2625 & 1.4375 \tabularnewline
4 & 110.4 & 106.2625 & 4.1375 \tabularnewline
5 & 101.9 & 106.2625 & -4.3625 \tabularnewline
6 & 115.9 & 106.2625 & 9.6375 \tabularnewline
7 & 89.9 & 106.2625 & -16.3625 \tabularnewline
8 & 88.6 & 106.2625 & -17.6625 \tabularnewline
9 & 117.2 & 106.2625 & 10.9375 \tabularnewline
10 & 123.9 & 106.2625 & 17.6375 \tabularnewline
11 & 100 & 106.2625 & -6.2625 \tabularnewline
12 & 103.6 & 106.2625 & -2.66250000000001 \tabularnewline
13 & 94.1 & 106.2625 & -12.1625 \tabularnewline
14 & 98.7 & 106.2625 & -7.5625 \tabularnewline
15 & 119.5 & 106.2625 & 13.2375 \tabularnewline
16 & 112.7 & 106.2625 & 6.4375 \tabularnewline
17 & 104.4 & 106.2625 & -1.86250000000000 \tabularnewline
18 & 124.7 & 106.2625 & 18.4375 \tabularnewline
19 & 89.1 & 106.2625 & -17.1625 \tabularnewline
20 & 97 & 106.2625 & -9.2625 \tabularnewline
21 & 121.6 & 106.2625 & 15.3375 \tabularnewline
22 & 118.8 & 106.2625 & 12.5375 \tabularnewline
23 & 114 & 106.2625 & 7.7375 \tabularnewline
24 & 111.5 & 106.2625 & 5.2375 \tabularnewline
25 & 97.2 & 106.2625 & -9.0625 \tabularnewline
26 & 102.5 & 106.2625 & -3.7625 \tabularnewline
27 & 113.4 & 106.2625 & 7.1375 \tabularnewline
28 & 109.8 & 106.2625 & 3.53749999999999 \tabularnewline
29 & 104.9 & 106.2625 & -1.36250000000000 \tabularnewline
30 & 126.1 & 106.2625 & 19.8375 \tabularnewline
31 & 80 & 106.2625 & -26.2625 \tabularnewline
32 & 96.8 & 106.2625 & -9.4625 \tabularnewline
33 & 117.2 & 122.517857142857 & -5.31785714285714 \tabularnewline
34 & 112.3 & 122.517857142857 & -10.2178571428571 \tabularnewline
35 & 117.3 & 122.517857142857 & -5.21785714285715 \tabularnewline
36 & 111.1 & 122.517857142857 & -11.4178571428571 \tabularnewline
37 & 102.2 & 122.517857142857 & -20.3178571428571 \tabularnewline
38 & 104.3 & 122.517857142857 & -18.2178571428571 \tabularnewline
39 & 122.9 & 122.517857142857 & 0.382142857142862 \tabularnewline
40 & 107.6 & 122.517857142857 & -14.9178571428571 \tabularnewline
41 & 121.3 & 122.517857142857 & -1.21785714285715 \tabularnewline
42 & 131.5 & 122.517857142857 & 8.98214285714286 \tabularnewline
43 & 89 & 122.517857142857 & -33.5178571428571 \tabularnewline
44 & 104.4 & 122.517857142857 & -18.1178571428571 \tabularnewline
45 & 128.9 & 122.517857142857 & 6.38214285714286 \tabularnewline
46 & 135.9 & 122.517857142857 & 13.3821428571429 \tabularnewline
47 & 133.3 & 122.517857142857 & 10.7821428571429 \tabularnewline
48 & 121.3 & 122.517857142857 & -1.21785714285715 \tabularnewline
49 & 120.5 & 122.517857142857 & -2.01785714285714 \tabularnewline
50 & 120.4 & 122.517857142857 & -2.11785714285714 \tabularnewline
51 & 137.9 & 122.517857142857 & 15.3821428571429 \tabularnewline
52 & 126.1 & 122.517857142857 & 3.58214285714285 \tabularnewline
53 & 133.2 & 122.517857142857 & 10.6821428571428 \tabularnewline
54 & 151.1 & 122.517857142857 & 28.5821428571429 \tabularnewline
55 & 105 & 122.517857142857 & -17.5178571428571 \tabularnewline
56 & 119 & 122.517857142857 & -3.51785714285714 \tabularnewline
57 & 140.4 & 122.517857142857 & 17.8821428571429 \tabularnewline
58 & 156.6 & 122.517857142857 & 34.0821428571429 \tabularnewline
59 & 137.1 & 122.517857142857 & 14.5821428571429 \tabularnewline
60 & 122.7 & 122.517857142857 & 0.182142857142860 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32442&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]103.3[/C][C]106.2625[/C][C]-2.96249999999995[/C][/ROW]
[ROW][C]2[/C][C]101.2[/C][C]106.2625[/C][C]-5.06250000000001[/C][/ROW]
[ROW][C]3[/C][C]107.7[/C][C]106.2625[/C][C]1.4375[/C][/ROW]
[ROW][C]4[/C][C]110.4[/C][C]106.2625[/C][C]4.1375[/C][/ROW]
[ROW][C]5[/C][C]101.9[/C][C]106.2625[/C][C]-4.3625[/C][/ROW]
[ROW][C]6[/C][C]115.9[/C][C]106.2625[/C][C]9.6375[/C][/ROW]
[ROW][C]7[/C][C]89.9[/C][C]106.2625[/C][C]-16.3625[/C][/ROW]
[ROW][C]8[/C][C]88.6[/C][C]106.2625[/C][C]-17.6625[/C][/ROW]
[ROW][C]9[/C][C]117.2[/C][C]106.2625[/C][C]10.9375[/C][/ROW]
[ROW][C]10[/C][C]123.9[/C][C]106.2625[/C][C]17.6375[/C][/ROW]
[ROW][C]11[/C][C]100[/C][C]106.2625[/C][C]-6.2625[/C][/ROW]
[ROW][C]12[/C][C]103.6[/C][C]106.2625[/C][C]-2.66250000000001[/C][/ROW]
[ROW][C]13[/C][C]94.1[/C][C]106.2625[/C][C]-12.1625[/C][/ROW]
[ROW][C]14[/C][C]98.7[/C][C]106.2625[/C][C]-7.5625[/C][/ROW]
[ROW][C]15[/C][C]119.5[/C][C]106.2625[/C][C]13.2375[/C][/ROW]
[ROW][C]16[/C][C]112.7[/C][C]106.2625[/C][C]6.4375[/C][/ROW]
[ROW][C]17[/C][C]104.4[/C][C]106.2625[/C][C]-1.86250000000000[/C][/ROW]
[ROW][C]18[/C][C]124.7[/C][C]106.2625[/C][C]18.4375[/C][/ROW]
[ROW][C]19[/C][C]89.1[/C][C]106.2625[/C][C]-17.1625[/C][/ROW]
[ROW][C]20[/C][C]97[/C][C]106.2625[/C][C]-9.2625[/C][/ROW]
[ROW][C]21[/C][C]121.6[/C][C]106.2625[/C][C]15.3375[/C][/ROW]
[ROW][C]22[/C][C]118.8[/C][C]106.2625[/C][C]12.5375[/C][/ROW]
[ROW][C]23[/C][C]114[/C][C]106.2625[/C][C]7.7375[/C][/ROW]
[ROW][C]24[/C][C]111.5[/C][C]106.2625[/C][C]5.2375[/C][/ROW]
[ROW][C]25[/C][C]97.2[/C][C]106.2625[/C][C]-9.0625[/C][/ROW]
[ROW][C]26[/C][C]102.5[/C][C]106.2625[/C][C]-3.7625[/C][/ROW]
[ROW][C]27[/C][C]113.4[/C][C]106.2625[/C][C]7.1375[/C][/ROW]
[ROW][C]28[/C][C]109.8[/C][C]106.2625[/C][C]3.53749999999999[/C][/ROW]
[ROW][C]29[/C][C]104.9[/C][C]106.2625[/C][C]-1.36250000000000[/C][/ROW]
[ROW][C]30[/C][C]126.1[/C][C]106.2625[/C][C]19.8375[/C][/ROW]
[ROW][C]31[/C][C]80[/C][C]106.2625[/C][C]-26.2625[/C][/ROW]
[ROW][C]32[/C][C]96.8[/C][C]106.2625[/C][C]-9.4625[/C][/ROW]
[ROW][C]33[/C][C]117.2[/C][C]122.517857142857[/C][C]-5.31785714285714[/C][/ROW]
[ROW][C]34[/C][C]112.3[/C][C]122.517857142857[/C][C]-10.2178571428571[/C][/ROW]
[ROW][C]35[/C][C]117.3[/C][C]122.517857142857[/C][C]-5.21785714285715[/C][/ROW]
[ROW][C]36[/C][C]111.1[/C][C]122.517857142857[/C][C]-11.4178571428571[/C][/ROW]
[ROW][C]37[/C][C]102.2[/C][C]122.517857142857[/C][C]-20.3178571428571[/C][/ROW]
[ROW][C]38[/C][C]104.3[/C][C]122.517857142857[/C][C]-18.2178571428571[/C][/ROW]
[ROW][C]39[/C][C]122.9[/C][C]122.517857142857[/C][C]0.382142857142862[/C][/ROW]
[ROW][C]40[/C][C]107.6[/C][C]122.517857142857[/C][C]-14.9178571428571[/C][/ROW]
[ROW][C]41[/C][C]121.3[/C][C]122.517857142857[/C][C]-1.21785714285715[/C][/ROW]
[ROW][C]42[/C][C]131.5[/C][C]122.517857142857[/C][C]8.98214285714286[/C][/ROW]
[ROW][C]43[/C][C]89[/C][C]122.517857142857[/C][C]-33.5178571428571[/C][/ROW]
[ROW][C]44[/C][C]104.4[/C][C]122.517857142857[/C][C]-18.1178571428571[/C][/ROW]
[ROW][C]45[/C][C]128.9[/C][C]122.517857142857[/C][C]6.38214285714286[/C][/ROW]
[ROW][C]46[/C][C]135.9[/C][C]122.517857142857[/C][C]13.3821428571429[/C][/ROW]
[ROW][C]47[/C][C]133.3[/C][C]122.517857142857[/C][C]10.7821428571429[/C][/ROW]
[ROW][C]48[/C][C]121.3[/C][C]122.517857142857[/C][C]-1.21785714285715[/C][/ROW]
[ROW][C]49[/C][C]120.5[/C][C]122.517857142857[/C][C]-2.01785714285714[/C][/ROW]
[ROW][C]50[/C][C]120.4[/C][C]122.517857142857[/C][C]-2.11785714285714[/C][/ROW]
[ROW][C]51[/C][C]137.9[/C][C]122.517857142857[/C][C]15.3821428571429[/C][/ROW]
[ROW][C]52[/C][C]126.1[/C][C]122.517857142857[/C][C]3.58214285714285[/C][/ROW]
[ROW][C]53[/C][C]133.2[/C][C]122.517857142857[/C][C]10.6821428571428[/C][/ROW]
[ROW][C]54[/C][C]151.1[/C][C]122.517857142857[/C][C]28.5821428571429[/C][/ROW]
[ROW][C]55[/C][C]105[/C][C]122.517857142857[/C][C]-17.5178571428571[/C][/ROW]
[ROW][C]56[/C][C]119[/C][C]122.517857142857[/C][C]-3.51785714285714[/C][/ROW]
[ROW][C]57[/C][C]140.4[/C][C]122.517857142857[/C][C]17.8821428571429[/C][/ROW]
[ROW][C]58[/C][C]156.6[/C][C]122.517857142857[/C][C]34.0821428571429[/C][/ROW]
[ROW][C]59[/C][C]137.1[/C][C]122.517857142857[/C][C]14.5821428571429[/C][/ROW]
[ROW][C]60[/C][C]122.7[/C][C]122.517857142857[/C][C]0.182142857142860[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32442&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32442&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
1103.3106.2625-2.96249999999995
2101.2106.2625-5.06250000000001
3107.7106.26251.4375
4110.4106.26254.1375
5101.9106.2625-4.3625
6115.9106.26259.6375
789.9106.2625-16.3625
888.6106.2625-17.6625
9117.2106.262510.9375
10123.9106.262517.6375
11100106.2625-6.2625
12103.6106.2625-2.66250000000001
1394.1106.2625-12.1625
1498.7106.2625-7.5625
15119.5106.262513.2375
16112.7106.26256.4375
17104.4106.2625-1.86250000000000
18124.7106.262518.4375
1989.1106.2625-17.1625
2097106.2625-9.2625
21121.6106.262515.3375
22118.8106.262512.5375
23114106.26257.7375
24111.5106.26255.2375
2597.2106.2625-9.0625
26102.5106.2625-3.7625
27113.4106.26257.1375
28109.8106.26253.53749999999999
29104.9106.2625-1.36250000000000
30126.1106.262519.8375
3180106.2625-26.2625
3296.8106.2625-9.4625
33117.2122.517857142857-5.31785714285714
34112.3122.517857142857-10.2178571428571
35117.3122.517857142857-5.21785714285715
36111.1122.517857142857-11.4178571428571
37102.2122.517857142857-20.3178571428571
38104.3122.517857142857-18.2178571428571
39122.9122.5178571428570.382142857142862
40107.6122.517857142857-14.9178571428571
41121.3122.517857142857-1.21785714285715
42131.5122.5178571428578.98214285714286
4389122.517857142857-33.5178571428571
44104.4122.517857142857-18.1178571428571
45128.9122.5178571428576.38214285714286
46135.9122.51785714285713.3821428571429
47133.3122.51785714285710.7821428571429
48121.3122.517857142857-1.21785714285715
49120.5122.517857142857-2.01785714285714
50120.4122.517857142857-2.11785714285714
51137.9122.51785714285715.3821428571429
52126.1122.5178571428573.58214285714285
53133.2122.51785714285710.6821428571428
54151.1122.51785714285728.5821428571429
55105122.517857142857-17.5178571428571
56119122.517857142857-3.51785714285714
57140.4122.51785714285717.8821428571429
58156.6122.51785714285734.0821428571429
59137.1122.51785714285714.5821428571429
60122.7122.5178571428570.182142857142860







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.04447210808173640.08894421616347290.955527891918264
60.06618499389619530.1323699877923910.933815006103805
70.1618905754505780.3237811509011550.838109424549422
80.2203186370808750.4406372741617490.779681362919125
90.2435246930661760.4870493861323530.756475306933824
100.3568956889927690.7137913779855380.64310431100723
110.2760233316258710.5520466632517430.723976668374129
120.1945498910901850.3890997821803690.805450108909815
130.1777796416633370.3555592833266740.822220358336663
140.1317609863616060.2635219727232120.868239013638394
150.1500206873337770.3000413746675530.849979312666223
160.1153190699647960.2306381399295920.884680930035204
170.07658013013408370.1531602602681670.923419869865916
180.1216975897272600.2433951794545190.87830241027274
190.1571335983923640.3142671967847290.842866401607636
200.1313011561291560.2626023122583130.868698843870844
210.1508363338606790.3016726677213580.849163666139321
220.1460476184976300.2920952369952600.85395238150237
230.1173948313938110.2347896627876210.88260516860619
240.08745462140066860.1749092428013370.912545378599331
250.07185673138600370.1437134627720070.928143268613996
260.04995401667185580.09990803334371160.950045983328144
270.03765110388204280.07530220776408570.962348896117957
280.02548710204064140.05097420408128270.97451289795936
290.01615284510647250.03230569021294490.983847154893527
300.04416647916228310.08833295832456620.955833520837717
310.09106672993706880.1821334598741380.908933270062931
320.07098720809702080.1419744161940420.92901279190298
330.04960384846653860.09920769693307710.95039615153346
340.03699095036293020.07398190072586040.96300904963707
350.02488596409194030.04977192818388050.97511403590806
360.01882565413204170.03765130826408340.981174345867958
370.02404043438222720.04808086876445450.975959565617773
380.02712320030284980.05424640060569960.97287679969715
390.02055585100190590.04111170200381190.979444148998094
400.02058918439522920.04117836879045830.97941081560477
410.01466601630336190.02933203260672380.985333983696638
420.01387265489365910.02774530978731810.98612734510634
430.1306723419015260.2613446838030520.869327658098474
440.2248128901385660.4496257802771310.775187109861434
450.1944925868929680.3889851737859370.805507413107032
460.1904710041752510.3809420083505010.80952899582475
470.1619880421712940.3239760843425870.838011957828706
480.1275858431686530.2551716863373060.872414156831347
490.1024282272822710.2048564545645420.897571772717729
500.0839509292660730.1679018585321460.916049070733927
510.06802383359939840.1360476671987970.931976166400602
520.04376821608871570.08753643217743130.956231783911284
530.02582074965754380.05164149931508760.974179250342456
540.04820865593324990.09641731186649980.95179134406675
550.1481795009847370.2963590019694740.851820499015263

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0444721080817364 & 0.0889442161634729 & 0.955527891918264 \tabularnewline
6 & 0.0661849938961953 & 0.132369987792391 & 0.933815006103805 \tabularnewline
7 & 0.161890575450578 & 0.323781150901155 & 0.838109424549422 \tabularnewline
8 & 0.220318637080875 & 0.440637274161749 & 0.779681362919125 \tabularnewline
9 & 0.243524693066176 & 0.487049386132353 & 0.756475306933824 \tabularnewline
10 & 0.356895688992769 & 0.713791377985538 & 0.64310431100723 \tabularnewline
11 & 0.276023331625871 & 0.552046663251743 & 0.723976668374129 \tabularnewline
12 & 0.194549891090185 & 0.389099782180369 & 0.805450108909815 \tabularnewline
13 & 0.177779641663337 & 0.355559283326674 & 0.822220358336663 \tabularnewline
14 & 0.131760986361606 & 0.263521972723212 & 0.868239013638394 \tabularnewline
15 & 0.150020687333777 & 0.300041374667553 & 0.849979312666223 \tabularnewline
16 & 0.115319069964796 & 0.230638139929592 & 0.884680930035204 \tabularnewline
17 & 0.0765801301340837 & 0.153160260268167 & 0.923419869865916 \tabularnewline
18 & 0.121697589727260 & 0.243395179454519 & 0.87830241027274 \tabularnewline
19 & 0.157133598392364 & 0.314267196784729 & 0.842866401607636 \tabularnewline
20 & 0.131301156129156 & 0.262602312258313 & 0.868698843870844 \tabularnewline
21 & 0.150836333860679 & 0.301672667721358 & 0.849163666139321 \tabularnewline
22 & 0.146047618497630 & 0.292095236995260 & 0.85395238150237 \tabularnewline
23 & 0.117394831393811 & 0.234789662787621 & 0.88260516860619 \tabularnewline
24 & 0.0874546214006686 & 0.174909242801337 & 0.912545378599331 \tabularnewline
25 & 0.0718567313860037 & 0.143713462772007 & 0.928143268613996 \tabularnewline
26 & 0.0499540166718558 & 0.0999080333437116 & 0.950045983328144 \tabularnewline
27 & 0.0376511038820428 & 0.0753022077640857 & 0.962348896117957 \tabularnewline
28 & 0.0254871020406414 & 0.0509742040812827 & 0.97451289795936 \tabularnewline
29 & 0.0161528451064725 & 0.0323056902129449 & 0.983847154893527 \tabularnewline
30 & 0.0441664791622831 & 0.0883329583245662 & 0.955833520837717 \tabularnewline
31 & 0.0910667299370688 & 0.182133459874138 & 0.908933270062931 \tabularnewline
32 & 0.0709872080970208 & 0.141974416194042 & 0.92901279190298 \tabularnewline
33 & 0.0496038484665386 & 0.0992076969330771 & 0.95039615153346 \tabularnewline
34 & 0.0369909503629302 & 0.0739819007258604 & 0.96300904963707 \tabularnewline
35 & 0.0248859640919403 & 0.0497719281838805 & 0.97511403590806 \tabularnewline
36 & 0.0188256541320417 & 0.0376513082640834 & 0.981174345867958 \tabularnewline
37 & 0.0240404343822272 & 0.0480808687644545 & 0.975959565617773 \tabularnewline
38 & 0.0271232003028498 & 0.0542464006056996 & 0.97287679969715 \tabularnewline
39 & 0.0205558510019059 & 0.0411117020038119 & 0.979444148998094 \tabularnewline
40 & 0.0205891843952292 & 0.0411783687904583 & 0.97941081560477 \tabularnewline
41 & 0.0146660163033619 & 0.0293320326067238 & 0.985333983696638 \tabularnewline
42 & 0.0138726548936591 & 0.0277453097873181 & 0.98612734510634 \tabularnewline
43 & 0.130672341901526 & 0.261344683803052 & 0.869327658098474 \tabularnewline
44 & 0.224812890138566 & 0.449625780277131 & 0.775187109861434 \tabularnewline
45 & 0.194492586892968 & 0.388985173785937 & 0.805507413107032 \tabularnewline
46 & 0.190471004175251 & 0.380942008350501 & 0.80952899582475 \tabularnewline
47 & 0.161988042171294 & 0.323976084342587 & 0.838011957828706 \tabularnewline
48 & 0.127585843168653 & 0.255171686337306 & 0.872414156831347 \tabularnewline
49 & 0.102428227282271 & 0.204856454564542 & 0.897571772717729 \tabularnewline
50 & 0.083950929266073 & 0.167901858532146 & 0.916049070733927 \tabularnewline
51 & 0.0680238335993984 & 0.136047667198797 & 0.931976166400602 \tabularnewline
52 & 0.0437682160887157 & 0.0875364321774313 & 0.956231783911284 \tabularnewline
53 & 0.0258207496575438 & 0.0516414993150876 & 0.974179250342456 \tabularnewline
54 & 0.0482086559332499 & 0.0964173118664998 & 0.95179134406675 \tabularnewline
55 & 0.148179500984737 & 0.296359001969474 & 0.851820499015263 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32442&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]5[/C][C]0.0444721080817364[/C][C]0.0889442161634729[/C][C]0.955527891918264[/C][/ROW]
[ROW][C]6[/C][C]0.0661849938961953[/C][C]0.132369987792391[/C][C]0.933815006103805[/C][/ROW]
[ROW][C]7[/C][C]0.161890575450578[/C][C]0.323781150901155[/C][C]0.838109424549422[/C][/ROW]
[ROW][C]8[/C][C]0.220318637080875[/C][C]0.440637274161749[/C][C]0.779681362919125[/C][/ROW]
[ROW][C]9[/C][C]0.243524693066176[/C][C]0.487049386132353[/C][C]0.756475306933824[/C][/ROW]
[ROW][C]10[/C][C]0.356895688992769[/C][C]0.713791377985538[/C][C]0.64310431100723[/C][/ROW]
[ROW][C]11[/C][C]0.276023331625871[/C][C]0.552046663251743[/C][C]0.723976668374129[/C][/ROW]
[ROW][C]12[/C][C]0.194549891090185[/C][C]0.389099782180369[/C][C]0.805450108909815[/C][/ROW]
[ROW][C]13[/C][C]0.177779641663337[/C][C]0.355559283326674[/C][C]0.822220358336663[/C][/ROW]
[ROW][C]14[/C][C]0.131760986361606[/C][C]0.263521972723212[/C][C]0.868239013638394[/C][/ROW]
[ROW][C]15[/C][C]0.150020687333777[/C][C]0.300041374667553[/C][C]0.849979312666223[/C][/ROW]
[ROW][C]16[/C][C]0.115319069964796[/C][C]0.230638139929592[/C][C]0.884680930035204[/C][/ROW]
[ROW][C]17[/C][C]0.0765801301340837[/C][C]0.153160260268167[/C][C]0.923419869865916[/C][/ROW]
[ROW][C]18[/C][C]0.121697589727260[/C][C]0.243395179454519[/C][C]0.87830241027274[/C][/ROW]
[ROW][C]19[/C][C]0.157133598392364[/C][C]0.314267196784729[/C][C]0.842866401607636[/C][/ROW]
[ROW][C]20[/C][C]0.131301156129156[/C][C]0.262602312258313[/C][C]0.868698843870844[/C][/ROW]
[ROW][C]21[/C][C]0.150836333860679[/C][C]0.301672667721358[/C][C]0.849163666139321[/C][/ROW]
[ROW][C]22[/C][C]0.146047618497630[/C][C]0.292095236995260[/C][C]0.85395238150237[/C][/ROW]
[ROW][C]23[/C][C]0.117394831393811[/C][C]0.234789662787621[/C][C]0.88260516860619[/C][/ROW]
[ROW][C]24[/C][C]0.0874546214006686[/C][C]0.174909242801337[/C][C]0.912545378599331[/C][/ROW]
[ROW][C]25[/C][C]0.0718567313860037[/C][C]0.143713462772007[/C][C]0.928143268613996[/C][/ROW]
[ROW][C]26[/C][C]0.0499540166718558[/C][C]0.0999080333437116[/C][C]0.950045983328144[/C][/ROW]
[ROW][C]27[/C][C]0.0376511038820428[/C][C]0.0753022077640857[/C][C]0.962348896117957[/C][/ROW]
[ROW][C]28[/C][C]0.0254871020406414[/C][C]0.0509742040812827[/C][C]0.97451289795936[/C][/ROW]
[ROW][C]29[/C][C]0.0161528451064725[/C][C]0.0323056902129449[/C][C]0.983847154893527[/C][/ROW]
[ROW][C]30[/C][C]0.0441664791622831[/C][C]0.0883329583245662[/C][C]0.955833520837717[/C][/ROW]
[ROW][C]31[/C][C]0.0910667299370688[/C][C]0.182133459874138[/C][C]0.908933270062931[/C][/ROW]
[ROW][C]32[/C][C]0.0709872080970208[/C][C]0.141974416194042[/C][C]0.92901279190298[/C][/ROW]
[ROW][C]33[/C][C]0.0496038484665386[/C][C]0.0992076969330771[/C][C]0.95039615153346[/C][/ROW]
[ROW][C]34[/C][C]0.0369909503629302[/C][C]0.0739819007258604[/C][C]0.96300904963707[/C][/ROW]
[ROW][C]35[/C][C]0.0248859640919403[/C][C]0.0497719281838805[/C][C]0.97511403590806[/C][/ROW]
[ROW][C]36[/C][C]0.0188256541320417[/C][C]0.0376513082640834[/C][C]0.981174345867958[/C][/ROW]
[ROW][C]37[/C][C]0.0240404343822272[/C][C]0.0480808687644545[/C][C]0.975959565617773[/C][/ROW]
[ROW][C]38[/C][C]0.0271232003028498[/C][C]0.0542464006056996[/C][C]0.97287679969715[/C][/ROW]
[ROW][C]39[/C][C]0.0205558510019059[/C][C]0.0411117020038119[/C][C]0.979444148998094[/C][/ROW]
[ROW][C]40[/C][C]0.0205891843952292[/C][C]0.0411783687904583[/C][C]0.97941081560477[/C][/ROW]
[ROW][C]41[/C][C]0.0146660163033619[/C][C]0.0293320326067238[/C][C]0.985333983696638[/C][/ROW]
[ROW][C]42[/C][C]0.0138726548936591[/C][C]0.0277453097873181[/C][C]0.98612734510634[/C][/ROW]
[ROW][C]43[/C][C]0.130672341901526[/C][C]0.261344683803052[/C][C]0.869327658098474[/C][/ROW]
[ROW][C]44[/C][C]0.224812890138566[/C][C]0.449625780277131[/C][C]0.775187109861434[/C][/ROW]
[ROW][C]45[/C][C]0.194492586892968[/C][C]0.388985173785937[/C][C]0.805507413107032[/C][/ROW]
[ROW][C]46[/C][C]0.190471004175251[/C][C]0.380942008350501[/C][C]0.80952899582475[/C][/ROW]
[ROW][C]47[/C][C]0.161988042171294[/C][C]0.323976084342587[/C][C]0.838011957828706[/C][/ROW]
[ROW][C]48[/C][C]0.127585843168653[/C][C]0.255171686337306[/C][C]0.872414156831347[/C][/ROW]
[ROW][C]49[/C][C]0.102428227282271[/C][C]0.204856454564542[/C][C]0.897571772717729[/C][/ROW]
[ROW][C]50[/C][C]0.083950929266073[/C][C]0.167901858532146[/C][C]0.916049070733927[/C][/ROW]
[ROW][C]51[/C][C]0.0680238335993984[/C][C]0.136047667198797[/C][C]0.931976166400602[/C][/ROW]
[ROW][C]52[/C][C]0.0437682160887157[/C][C]0.0875364321774313[/C][C]0.956231783911284[/C][/ROW]
[ROW][C]53[/C][C]0.0258207496575438[/C][C]0.0516414993150876[/C][C]0.974179250342456[/C][/ROW]
[ROW][C]54[/C][C]0.0482086559332499[/C][C]0.0964173118664998[/C][C]0.95179134406675[/C][/ROW]
[ROW][C]55[/C][C]0.148179500984737[/C][C]0.296359001969474[/C][C]0.851820499015263[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32442&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.04447210808173640.08894421616347290.955527891918264
60.06618499389619530.1323699877923910.933815006103805
70.1618905754505780.3237811509011550.838109424549422
80.2203186370808750.4406372741617490.779681362919125
90.2435246930661760.4870493861323530.756475306933824
100.3568956889927690.7137913779855380.64310431100723
110.2760233316258710.5520466632517430.723976668374129
120.1945498910901850.3890997821803690.805450108909815
130.1777796416633370.3555592833266740.822220358336663
140.1317609863616060.2635219727232120.868239013638394
150.1500206873337770.3000413746675530.849979312666223
160.1153190699647960.2306381399295920.884680930035204
170.07658013013408370.1531602602681670.923419869865916
180.1216975897272600.2433951794545190.87830241027274
190.1571335983923640.3142671967847290.842866401607636
200.1313011561291560.2626023122583130.868698843870844
210.1508363338606790.3016726677213580.849163666139321
220.1460476184976300.2920952369952600.85395238150237
230.1173948313938110.2347896627876210.88260516860619
240.08745462140066860.1749092428013370.912545378599331
250.07185673138600370.1437134627720070.928143268613996
260.04995401667185580.09990803334371160.950045983328144
270.03765110388204280.07530220776408570.962348896117957
280.02548710204064140.05097420408128270.97451289795936
290.01615284510647250.03230569021294490.983847154893527
300.04416647916228310.08833295832456620.955833520837717
310.09106672993706880.1821334598741380.908933270062931
320.07098720809702080.1419744161940420.92901279190298
330.04960384846653860.09920769693307710.95039615153346
340.03699095036293020.07398190072586040.96300904963707
350.02488596409194030.04977192818388050.97511403590806
360.01882565413204170.03765130826408340.981174345867958
370.02404043438222720.04808086876445450.975959565617773
380.02712320030284980.05424640060569960.97287679969715
390.02055585100190590.04111170200381190.979444148998094
400.02058918439522920.04117836879045830.97941081560477
410.01466601630336190.02933203260672380.985333983696638
420.01387265489365910.02774530978731810.98612734510634
430.1306723419015260.2613446838030520.869327658098474
440.2248128901385660.4496257802771310.775187109861434
450.1944925868929680.3889851737859370.805507413107032
460.1904710041752510.3809420083505010.80952899582475
470.1619880421712940.3239760843425870.838011957828706
480.1275858431686530.2551716863373060.872414156831347
490.1024282272822710.2048564545645420.897571772717729
500.0839509292660730.1679018585321460.916049070733927
510.06802383359939840.1360476671987970.931976166400602
520.04376821608871570.08753643217743130.956231783911284
530.02582074965754380.05164149931508760.974179250342456
540.04820865593324990.09641731186649980.95179134406675
550.1481795009847370.2963590019694740.851820499015263







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 8 & 0.156862745098039 & NOK \tabularnewline
10% type I error level & 19 & 0.372549019607843 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32442&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]8[/C][C]0.156862745098039[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]19[/C][C]0.372549019607843[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32442&T=6

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

As an alternative you can also use a QR Code:  

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

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



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