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, 22 Dec 2011 14:45:28 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/22/t13245834439n065epjbkka98u.htm/, Retrieved Fri, 03 May 2024 09:17:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159917, Retrieved Fri, 03 May 2024 09:17:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact93
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple Regression] [2011-12-22 19:45:28] [586f91422d5bd41515f45f36c86ce0c0] [Current]
Feedback Forum

Post a new message
Dataseries X:
235.1
280.7
264.6
240.7
201.4
240.8
241.1
223.8
206.1
174.7
203.3
220.5
299.5
347.4
338.3
327.7
351.6
396.6
438.8
395.6
363.5
378.8
357
369
464.8
479.1
431.3
366.5
326.3
355.1
331.6
261.3
249
205.5
235.6
240.9
264.9
253.8
232.3
193.8
177
213.2
207.2
180.6
188.6
175.4
199
179.6
225.8
234
200.2
183.6
178.2
203.2
208.5
191.8
172.8
148
159.4
154.5




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159917&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159917&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159917&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'Herman Ole Andreas Wold' @ wold.wessa.net







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 304 + 43.395M1[t] + 66.3499999999999M2[t] + 42.6649999999999M3[t] + 13.7599999999999M4[t] + 0.174999999999932M5[t] + 37.0299999999999M6[t] + 42.6649999999999M7[t] + 9.81999999999995M8[t] -2.82500000000006M9[t] -20.3700000000001M10[t] -4.01500000000007M11[t] -1.975t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  304 +  43.395M1[t] +  66.3499999999999M2[t] +  42.6649999999999M3[t] +  13.7599999999999M4[t] +  0.174999999999932M5[t] +  37.0299999999999M6[t] +  42.6649999999999M7[t] +  9.81999999999995M8[t] -2.82500000000006M9[t] -20.3700000000001M10[t] -4.01500000000007M11[t] -1.975t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159917&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  304 +  43.395M1[t] +  66.3499999999999M2[t] +  42.6649999999999M3[t] +  13.7599999999999M4[t] +  0.174999999999932M5[t] +  37.0299999999999M6[t] +  42.6649999999999M7[t] +  9.81999999999995M8[t] -2.82500000000006M9[t] -20.3700000000001M10[t] -4.01500000000007M11[t] -1.975t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159917&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159917&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
werkloosheid[t] = + 304 + 43.395M1[t] + 66.3499999999999M2[t] + 42.6649999999999M3[t] + 13.7599999999999M4[t] + 0.174999999999932M5[t] + 37.0299999999999M6[t] + 42.6649999999999M7[t] + 9.81999999999995M8[t] -2.82500000000006M9[t] -20.3700000000001M10[t] -4.01500000000007M11[t] -1.975t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)30442.5521667.144200
M143.39551.7670910.83830.406120.20306
M266.349999999999951.6897471.28360.2055680.102784
M342.664999999999951.6196690.82650.4126820.206341
M413.759999999999951.5568880.26690.7907220.395361
M50.17499999999993251.5014280.00340.9973030.498652
M637.029999999999951.4533150.71970.4752850.237642
M742.664999999999951.4125690.82990.4108160.205408
M89.8199999999999551.3792070.19110.8492490.424624
M9-2.8250000000000651.353244-0.0550.9563630.478181
M10-20.370000000000151.33469-0.39680.6933050.346653
M11-4.0150000000000751.323555-0.07820.9379780.468989
t-1.9750.617282-3.19950.0024670.001233

\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) & 304 & 42.552166 & 7.1442 & 0 & 0 \tabularnewline
M1 & 43.395 & 51.767091 & 0.8383 & 0.40612 & 0.20306 \tabularnewline
M2 & 66.3499999999999 & 51.689747 & 1.2836 & 0.205568 & 0.102784 \tabularnewline
M3 & 42.6649999999999 & 51.619669 & 0.8265 & 0.412682 & 0.206341 \tabularnewline
M4 & 13.7599999999999 & 51.556888 & 0.2669 & 0.790722 & 0.395361 \tabularnewline
M5 & 0.174999999999932 & 51.501428 & 0.0034 & 0.997303 & 0.498652 \tabularnewline
M6 & 37.0299999999999 & 51.453315 & 0.7197 & 0.475285 & 0.237642 \tabularnewline
M7 & 42.6649999999999 & 51.412569 & 0.8299 & 0.410816 & 0.205408 \tabularnewline
M8 & 9.81999999999995 & 51.379207 & 0.1911 & 0.849249 & 0.424624 \tabularnewline
M9 & -2.82500000000006 & 51.353244 & -0.055 & 0.956363 & 0.478181 \tabularnewline
M10 & -20.3700000000001 & 51.33469 & -0.3968 & 0.693305 & 0.346653 \tabularnewline
M11 & -4.01500000000007 & 51.323555 & -0.0782 & 0.937978 & 0.468989 \tabularnewline
t & -1.975 & 0.617282 & -3.1995 & 0.002467 & 0.001233 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159917&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]304[/C][C]42.552166[/C][C]7.1442[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]43.395[/C][C]51.767091[/C][C]0.8383[/C][C]0.40612[/C][C]0.20306[/C][/ROW]
[ROW][C]M2[/C][C]66.3499999999999[/C][C]51.689747[/C][C]1.2836[/C][C]0.205568[/C][C]0.102784[/C][/ROW]
[ROW][C]M3[/C][C]42.6649999999999[/C][C]51.619669[/C][C]0.8265[/C][C]0.412682[/C][C]0.206341[/C][/ROW]
[ROW][C]M4[/C][C]13.7599999999999[/C][C]51.556888[/C][C]0.2669[/C][C]0.790722[/C][C]0.395361[/C][/ROW]
[ROW][C]M5[/C][C]0.174999999999932[/C][C]51.501428[/C][C]0.0034[/C][C]0.997303[/C][C]0.498652[/C][/ROW]
[ROW][C]M6[/C][C]37.0299999999999[/C][C]51.453315[/C][C]0.7197[/C][C]0.475285[/C][C]0.237642[/C][/ROW]
[ROW][C]M7[/C][C]42.6649999999999[/C][C]51.412569[/C][C]0.8299[/C][C]0.410816[/C][C]0.205408[/C][/ROW]
[ROW][C]M8[/C][C]9.81999999999995[/C][C]51.379207[/C][C]0.1911[/C][C]0.849249[/C][C]0.424624[/C][/ROW]
[ROW][C]M9[/C][C]-2.82500000000006[/C][C]51.353244[/C][C]-0.055[/C][C]0.956363[/C][C]0.478181[/C][/ROW]
[ROW][C]M10[/C][C]-20.3700000000001[/C][C]51.33469[/C][C]-0.3968[/C][C]0.693305[/C][C]0.346653[/C][/ROW]
[ROW][C]M11[/C][C]-4.01500000000007[/C][C]51.323555[/C][C]-0.0782[/C][C]0.937978[/C][C]0.468989[/C][/ROW]
[ROW][C]t[/C][C]-1.975[/C][C]0.617282[/C][C]-3.1995[/C][C]0.002467[/C][C]0.001233[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159917&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159917&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)30442.5521667.144200
M143.39551.7670910.83830.406120.20306
M266.349999999999951.6897471.28360.2055680.102784
M342.664999999999951.6196690.82650.4126820.206341
M413.759999999999951.5568880.26690.7907220.395361
M50.17499999999993251.5014280.00340.9973030.498652
M637.029999999999951.4533150.71970.4752850.237642
M742.664999999999951.4125690.82990.4108160.205408
M89.8199999999999551.3792070.19110.8492490.424624
M9-2.8250000000000651.353244-0.0550.9563630.478181
M10-20.370000000000151.33469-0.39680.6933050.346653
M11-4.0150000000000751.323555-0.07820.9379780.468989
t-1.9750.617282-3.19950.0024670.001233







Multiple Linear Regression - Regression Statistics
Multiple R0.535347085262671
R-squared0.286596501699238
Adjusted R-squared0.104450927665001
F-TEST (value)1.57344751975893
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.132572849346912
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation81.1437967110293
Sum Squared Residuals309462.84

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.535347085262671 \tabularnewline
R-squared & 0.286596501699238 \tabularnewline
Adjusted R-squared & 0.104450927665001 \tabularnewline
F-TEST (value) & 1.57344751975893 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.132572849346912 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 81.1437967110293 \tabularnewline
Sum Squared Residuals & 309462.84 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159917&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.535347085262671[/C][/ROW]
[ROW][C]R-squared[/C][C]0.286596501699238[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.104450927665001[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.57344751975893[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.132572849346912[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]81.1437967110293[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]309462.84[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159917&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159917&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.535347085262671
R-squared0.286596501699238
Adjusted R-squared0.104450927665001
F-TEST (value)1.57344751975893
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.132572849346912
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation81.1437967110293
Sum Squared Residuals309462.84







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1235.1345.42-110.32
2280.7366.4-85.7
3264.6340.74-76.14
4240.7309.86-69.1600000000001
5201.4294.3-92.9
6240.8329.18-88.38
7241.1332.84-91.74
8223.8298.02-74.22
9206.1283.4-77.3000000000001
10174.7263.88-89.18
11203.3278.26-74.96
12220.5280.3-59.8000000000001
13299.5321.72-22.2200000000001
14347.4342.74.69999999999996
15338.3317.0421.26
16327.7286.1641.54
17351.6270.681
18396.6305.4891.12
19438.8309.14129.66
20395.6274.32121.28
21363.5259.7103.8
22378.8240.18138.62
23357254.56102.44
24369256.6112.4
25464.8298.02166.78
26479.1319160.1
27431.3293.34137.96
28366.5262.46104.04
29326.3246.979.4
30355.1281.7873.32
31331.6285.4446.16
32261.3250.6210.68
3324923613
34205.5216.48-10.98
35235.6230.864.74
36240.9232.97.99999999999995
37264.9274.32-9.42000000000012
38253.8295.3-41.5
39232.3269.64-37.34
40193.8238.76-44.96
41177223.2-46.2
42213.2258.08-44.88
43207.2261.74-54.54
44180.6226.92-46.32
45188.6212.3-23.7
46175.4192.78-17.38
47199207.16-8.15999999999998
48179.6209.2-29.6000000000001
49225.8250.62-24.8200000000001
50234271.6-37.6
51200.2245.94-45.74
52183.6215.06-31.46
53178.2199.5-21.3
54203.2234.38-31.18
55208.5238.04-29.54
56191.8203.22-11.42
57172.8188.6-15.7999999999999
58148169.08-21.08
59159.4183.46-24.0599999999999
60154.5185.5-31

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 235.1 & 345.42 & -110.32 \tabularnewline
2 & 280.7 & 366.4 & -85.7 \tabularnewline
3 & 264.6 & 340.74 & -76.14 \tabularnewline
4 & 240.7 & 309.86 & -69.1600000000001 \tabularnewline
5 & 201.4 & 294.3 & -92.9 \tabularnewline
6 & 240.8 & 329.18 & -88.38 \tabularnewline
7 & 241.1 & 332.84 & -91.74 \tabularnewline
8 & 223.8 & 298.02 & -74.22 \tabularnewline
9 & 206.1 & 283.4 & -77.3000000000001 \tabularnewline
10 & 174.7 & 263.88 & -89.18 \tabularnewline
11 & 203.3 & 278.26 & -74.96 \tabularnewline
12 & 220.5 & 280.3 & -59.8000000000001 \tabularnewline
13 & 299.5 & 321.72 & -22.2200000000001 \tabularnewline
14 & 347.4 & 342.7 & 4.69999999999996 \tabularnewline
15 & 338.3 & 317.04 & 21.26 \tabularnewline
16 & 327.7 & 286.16 & 41.54 \tabularnewline
17 & 351.6 & 270.6 & 81 \tabularnewline
18 & 396.6 & 305.48 & 91.12 \tabularnewline
19 & 438.8 & 309.14 & 129.66 \tabularnewline
20 & 395.6 & 274.32 & 121.28 \tabularnewline
21 & 363.5 & 259.7 & 103.8 \tabularnewline
22 & 378.8 & 240.18 & 138.62 \tabularnewline
23 & 357 & 254.56 & 102.44 \tabularnewline
24 & 369 & 256.6 & 112.4 \tabularnewline
25 & 464.8 & 298.02 & 166.78 \tabularnewline
26 & 479.1 & 319 & 160.1 \tabularnewline
27 & 431.3 & 293.34 & 137.96 \tabularnewline
28 & 366.5 & 262.46 & 104.04 \tabularnewline
29 & 326.3 & 246.9 & 79.4 \tabularnewline
30 & 355.1 & 281.78 & 73.32 \tabularnewline
31 & 331.6 & 285.44 & 46.16 \tabularnewline
32 & 261.3 & 250.62 & 10.68 \tabularnewline
33 & 249 & 236 & 13 \tabularnewline
34 & 205.5 & 216.48 & -10.98 \tabularnewline
35 & 235.6 & 230.86 & 4.74 \tabularnewline
36 & 240.9 & 232.9 & 7.99999999999995 \tabularnewline
37 & 264.9 & 274.32 & -9.42000000000012 \tabularnewline
38 & 253.8 & 295.3 & -41.5 \tabularnewline
39 & 232.3 & 269.64 & -37.34 \tabularnewline
40 & 193.8 & 238.76 & -44.96 \tabularnewline
41 & 177 & 223.2 & -46.2 \tabularnewline
42 & 213.2 & 258.08 & -44.88 \tabularnewline
43 & 207.2 & 261.74 & -54.54 \tabularnewline
44 & 180.6 & 226.92 & -46.32 \tabularnewline
45 & 188.6 & 212.3 & -23.7 \tabularnewline
46 & 175.4 & 192.78 & -17.38 \tabularnewline
47 & 199 & 207.16 & -8.15999999999998 \tabularnewline
48 & 179.6 & 209.2 & -29.6000000000001 \tabularnewline
49 & 225.8 & 250.62 & -24.8200000000001 \tabularnewline
50 & 234 & 271.6 & -37.6 \tabularnewline
51 & 200.2 & 245.94 & -45.74 \tabularnewline
52 & 183.6 & 215.06 & -31.46 \tabularnewline
53 & 178.2 & 199.5 & -21.3 \tabularnewline
54 & 203.2 & 234.38 & -31.18 \tabularnewline
55 & 208.5 & 238.04 & -29.54 \tabularnewline
56 & 191.8 & 203.22 & -11.42 \tabularnewline
57 & 172.8 & 188.6 & -15.7999999999999 \tabularnewline
58 & 148 & 169.08 & -21.08 \tabularnewline
59 & 159.4 & 183.46 & -24.0599999999999 \tabularnewline
60 & 154.5 & 185.5 & -31 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159917&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]235.1[/C][C]345.42[/C][C]-110.32[/C][/ROW]
[ROW][C]2[/C][C]280.7[/C][C]366.4[/C][C]-85.7[/C][/ROW]
[ROW][C]3[/C][C]264.6[/C][C]340.74[/C][C]-76.14[/C][/ROW]
[ROW][C]4[/C][C]240.7[/C][C]309.86[/C][C]-69.1600000000001[/C][/ROW]
[ROW][C]5[/C][C]201.4[/C][C]294.3[/C][C]-92.9[/C][/ROW]
[ROW][C]6[/C][C]240.8[/C][C]329.18[/C][C]-88.38[/C][/ROW]
[ROW][C]7[/C][C]241.1[/C][C]332.84[/C][C]-91.74[/C][/ROW]
[ROW][C]8[/C][C]223.8[/C][C]298.02[/C][C]-74.22[/C][/ROW]
[ROW][C]9[/C][C]206.1[/C][C]283.4[/C][C]-77.3000000000001[/C][/ROW]
[ROW][C]10[/C][C]174.7[/C][C]263.88[/C][C]-89.18[/C][/ROW]
[ROW][C]11[/C][C]203.3[/C][C]278.26[/C][C]-74.96[/C][/ROW]
[ROW][C]12[/C][C]220.5[/C][C]280.3[/C][C]-59.8000000000001[/C][/ROW]
[ROW][C]13[/C][C]299.5[/C][C]321.72[/C][C]-22.2200000000001[/C][/ROW]
[ROW][C]14[/C][C]347.4[/C][C]342.7[/C][C]4.69999999999996[/C][/ROW]
[ROW][C]15[/C][C]338.3[/C][C]317.04[/C][C]21.26[/C][/ROW]
[ROW][C]16[/C][C]327.7[/C][C]286.16[/C][C]41.54[/C][/ROW]
[ROW][C]17[/C][C]351.6[/C][C]270.6[/C][C]81[/C][/ROW]
[ROW][C]18[/C][C]396.6[/C][C]305.48[/C][C]91.12[/C][/ROW]
[ROW][C]19[/C][C]438.8[/C][C]309.14[/C][C]129.66[/C][/ROW]
[ROW][C]20[/C][C]395.6[/C][C]274.32[/C][C]121.28[/C][/ROW]
[ROW][C]21[/C][C]363.5[/C][C]259.7[/C][C]103.8[/C][/ROW]
[ROW][C]22[/C][C]378.8[/C][C]240.18[/C][C]138.62[/C][/ROW]
[ROW][C]23[/C][C]357[/C][C]254.56[/C][C]102.44[/C][/ROW]
[ROW][C]24[/C][C]369[/C][C]256.6[/C][C]112.4[/C][/ROW]
[ROW][C]25[/C][C]464.8[/C][C]298.02[/C][C]166.78[/C][/ROW]
[ROW][C]26[/C][C]479.1[/C][C]319[/C][C]160.1[/C][/ROW]
[ROW][C]27[/C][C]431.3[/C][C]293.34[/C][C]137.96[/C][/ROW]
[ROW][C]28[/C][C]366.5[/C][C]262.46[/C][C]104.04[/C][/ROW]
[ROW][C]29[/C][C]326.3[/C][C]246.9[/C][C]79.4[/C][/ROW]
[ROW][C]30[/C][C]355.1[/C][C]281.78[/C][C]73.32[/C][/ROW]
[ROW][C]31[/C][C]331.6[/C][C]285.44[/C][C]46.16[/C][/ROW]
[ROW][C]32[/C][C]261.3[/C][C]250.62[/C][C]10.68[/C][/ROW]
[ROW][C]33[/C][C]249[/C][C]236[/C][C]13[/C][/ROW]
[ROW][C]34[/C][C]205.5[/C][C]216.48[/C][C]-10.98[/C][/ROW]
[ROW][C]35[/C][C]235.6[/C][C]230.86[/C][C]4.74[/C][/ROW]
[ROW][C]36[/C][C]240.9[/C][C]232.9[/C][C]7.99999999999995[/C][/ROW]
[ROW][C]37[/C][C]264.9[/C][C]274.32[/C][C]-9.42000000000012[/C][/ROW]
[ROW][C]38[/C][C]253.8[/C][C]295.3[/C][C]-41.5[/C][/ROW]
[ROW][C]39[/C][C]232.3[/C][C]269.64[/C][C]-37.34[/C][/ROW]
[ROW][C]40[/C][C]193.8[/C][C]238.76[/C][C]-44.96[/C][/ROW]
[ROW][C]41[/C][C]177[/C][C]223.2[/C][C]-46.2[/C][/ROW]
[ROW][C]42[/C][C]213.2[/C][C]258.08[/C][C]-44.88[/C][/ROW]
[ROW][C]43[/C][C]207.2[/C][C]261.74[/C][C]-54.54[/C][/ROW]
[ROW][C]44[/C][C]180.6[/C][C]226.92[/C][C]-46.32[/C][/ROW]
[ROW][C]45[/C][C]188.6[/C][C]212.3[/C][C]-23.7[/C][/ROW]
[ROW][C]46[/C][C]175.4[/C][C]192.78[/C][C]-17.38[/C][/ROW]
[ROW][C]47[/C][C]199[/C][C]207.16[/C][C]-8.15999999999998[/C][/ROW]
[ROW][C]48[/C][C]179.6[/C][C]209.2[/C][C]-29.6000000000001[/C][/ROW]
[ROW][C]49[/C][C]225.8[/C][C]250.62[/C][C]-24.8200000000001[/C][/ROW]
[ROW][C]50[/C][C]234[/C][C]271.6[/C][C]-37.6[/C][/ROW]
[ROW][C]51[/C][C]200.2[/C][C]245.94[/C][C]-45.74[/C][/ROW]
[ROW][C]52[/C][C]183.6[/C][C]215.06[/C][C]-31.46[/C][/ROW]
[ROW][C]53[/C][C]178.2[/C][C]199.5[/C][C]-21.3[/C][/ROW]
[ROW][C]54[/C][C]203.2[/C][C]234.38[/C][C]-31.18[/C][/ROW]
[ROW][C]55[/C][C]208.5[/C][C]238.04[/C][C]-29.54[/C][/ROW]
[ROW][C]56[/C][C]191.8[/C][C]203.22[/C][C]-11.42[/C][/ROW]
[ROW][C]57[/C][C]172.8[/C][C]188.6[/C][C]-15.7999999999999[/C][/ROW]
[ROW][C]58[/C][C]148[/C][C]169.08[/C][C]-21.08[/C][/ROW]
[ROW][C]59[/C][C]159.4[/C][C]183.46[/C][C]-24.0599999999999[/C][/ROW]
[ROW][C]60[/C][C]154.5[/C][C]185.5[/C][C]-31[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159917&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159917&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
1235.1345.42-110.32
2280.7366.4-85.7
3264.6340.74-76.14
4240.7309.86-69.1600000000001
5201.4294.3-92.9
6240.8329.18-88.38
7241.1332.84-91.74
8223.8298.02-74.22
9206.1283.4-77.3000000000001
10174.7263.88-89.18
11203.3278.26-74.96
12220.5280.3-59.8000000000001
13299.5321.72-22.2200000000001
14347.4342.74.69999999999996
15338.3317.0421.26
16327.7286.1641.54
17351.6270.681
18396.6305.4891.12
19438.8309.14129.66
20395.6274.32121.28
21363.5259.7103.8
22378.8240.18138.62
23357254.56102.44
24369256.6112.4
25464.8298.02166.78
26479.1319160.1
27431.3293.34137.96
28366.5262.46104.04
29326.3246.979.4
30355.1281.7873.32
31331.6285.4446.16
32261.3250.6210.68
3324923613
34205.5216.48-10.98
35235.6230.864.74
36240.9232.97.99999999999995
37264.9274.32-9.42000000000012
38253.8295.3-41.5
39232.3269.64-37.34
40193.8238.76-44.96
41177223.2-46.2
42213.2258.08-44.88
43207.2261.74-54.54
44180.6226.92-46.32
45188.6212.3-23.7
46175.4192.78-17.38
47199207.16-8.15999999999998
48179.6209.2-29.6000000000001
49225.8250.62-24.8200000000001
50234271.6-37.6
51200.2245.94-45.74
52183.6215.06-31.46
53178.2199.5-21.3
54203.2234.38-31.18
55208.5238.04-29.54
56191.8203.22-11.42
57172.8188.6-15.7999999999999
58148169.08-21.08
59159.4183.46-24.0599999999999
60154.5185.5-31







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.005400512294734980.010801024589470.994599487705265
170.1234373557641910.2468747115283830.876562644235809
180.158094370621670.316188741243340.84190562937833
190.2996143620423540.5992287240847070.700385637957646
200.2682629493214030.5365258986428070.731737050678597
210.1974355277789380.3948710555578750.802564472221062
220.234621271900640.469242543801280.76537872809936
230.1617623001174480.3235246002348960.838237699882552
240.1084653467193960.2169306934387920.891534653280604
250.1132154089255710.2264308178511420.886784591074429
260.2143798422590220.4287596845180430.785620157740978
270.5079183043140.9841633913719990.492081695686
280.8664955008759420.2670089982481160.133504499124058
290.9826808333860880.03463833322782340.0173191666139117
300.9994683013292460.001063397341507680.000531698670753841
310.9999967063010826.58739783532827e-063.29369891766414e-06
320.9999994719298981.05614020356208e-065.28070101781039e-07
330.9999997179249135.6415017419672e-072.8207508709836e-07
340.9999995960621598.07875681525995e-074.03937840762997e-07
350.9999993085818261.38283634795452e-066.91418173977258e-07
360.999999911325961.77348080425068e-078.86740402125338e-08
370.9999998776023482.4479530327935e-071.22397651639675e-07
380.9999995603296928.79340615813481e-074.39670307906741e-07
390.9999987927796012.41444079864602e-061.20722039932301e-06
400.9999929082422741.41835154517369e-057.09175772586847e-06
410.9999681304038176.3739192366071e-053.18695961830355e-05
420.9997916556428120.0004166887143761630.000208344357188081
430.9991087091747330.001782581650534090.000891290825267044
440.9994302871802290.001139425639541910.000569712819770953

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.00540051229473498 & 0.01080102458947 & 0.994599487705265 \tabularnewline
17 & 0.123437355764191 & 0.246874711528383 & 0.876562644235809 \tabularnewline
18 & 0.15809437062167 & 0.31618874124334 & 0.84190562937833 \tabularnewline
19 & 0.299614362042354 & 0.599228724084707 & 0.700385637957646 \tabularnewline
20 & 0.268262949321403 & 0.536525898642807 & 0.731737050678597 \tabularnewline
21 & 0.197435527778938 & 0.394871055557875 & 0.802564472221062 \tabularnewline
22 & 0.23462127190064 & 0.46924254380128 & 0.76537872809936 \tabularnewline
23 & 0.161762300117448 & 0.323524600234896 & 0.838237699882552 \tabularnewline
24 & 0.108465346719396 & 0.216930693438792 & 0.891534653280604 \tabularnewline
25 & 0.113215408925571 & 0.226430817851142 & 0.886784591074429 \tabularnewline
26 & 0.214379842259022 & 0.428759684518043 & 0.785620157740978 \tabularnewline
27 & 0.507918304314 & 0.984163391371999 & 0.492081695686 \tabularnewline
28 & 0.866495500875942 & 0.267008998248116 & 0.133504499124058 \tabularnewline
29 & 0.982680833386088 & 0.0346383332278234 & 0.0173191666139117 \tabularnewline
30 & 0.999468301329246 & 0.00106339734150768 & 0.000531698670753841 \tabularnewline
31 & 0.999996706301082 & 6.58739783532827e-06 & 3.29369891766414e-06 \tabularnewline
32 & 0.999999471929898 & 1.05614020356208e-06 & 5.28070101781039e-07 \tabularnewline
33 & 0.999999717924913 & 5.6415017419672e-07 & 2.8207508709836e-07 \tabularnewline
34 & 0.999999596062159 & 8.07875681525995e-07 & 4.03937840762997e-07 \tabularnewline
35 & 0.999999308581826 & 1.38283634795452e-06 & 6.91418173977258e-07 \tabularnewline
36 & 0.99999991132596 & 1.77348080425068e-07 & 8.86740402125338e-08 \tabularnewline
37 & 0.999999877602348 & 2.4479530327935e-07 & 1.22397651639675e-07 \tabularnewline
38 & 0.999999560329692 & 8.79340615813481e-07 & 4.39670307906741e-07 \tabularnewline
39 & 0.999998792779601 & 2.41444079864602e-06 & 1.20722039932301e-06 \tabularnewline
40 & 0.999992908242274 & 1.41835154517369e-05 & 7.09175772586847e-06 \tabularnewline
41 & 0.999968130403817 & 6.3739192366071e-05 & 3.18695961830355e-05 \tabularnewline
42 & 0.999791655642812 & 0.000416688714376163 & 0.000208344357188081 \tabularnewline
43 & 0.999108709174733 & 0.00178258165053409 & 0.000891290825267044 \tabularnewline
44 & 0.999430287180229 & 0.00113942563954191 & 0.000569712819770953 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159917&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.00540051229473498[/C][C]0.01080102458947[/C][C]0.994599487705265[/C][/ROW]
[ROW][C]17[/C][C]0.123437355764191[/C][C]0.246874711528383[/C][C]0.876562644235809[/C][/ROW]
[ROW][C]18[/C][C]0.15809437062167[/C][C]0.31618874124334[/C][C]0.84190562937833[/C][/ROW]
[ROW][C]19[/C][C]0.299614362042354[/C][C]0.599228724084707[/C][C]0.700385637957646[/C][/ROW]
[ROW][C]20[/C][C]0.268262949321403[/C][C]0.536525898642807[/C][C]0.731737050678597[/C][/ROW]
[ROW][C]21[/C][C]0.197435527778938[/C][C]0.394871055557875[/C][C]0.802564472221062[/C][/ROW]
[ROW][C]22[/C][C]0.23462127190064[/C][C]0.46924254380128[/C][C]0.76537872809936[/C][/ROW]
[ROW][C]23[/C][C]0.161762300117448[/C][C]0.323524600234896[/C][C]0.838237699882552[/C][/ROW]
[ROW][C]24[/C][C]0.108465346719396[/C][C]0.216930693438792[/C][C]0.891534653280604[/C][/ROW]
[ROW][C]25[/C][C]0.113215408925571[/C][C]0.226430817851142[/C][C]0.886784591074429[/C][/ROW]
[ROW][C]26[/C][C]0.214379842259022[/C][C]0.428759684518043[/C][C]0.785620157740978[/C][/ROW]
[ROW][C]27[/C][C]0.507918304314[/C][C]0.984163391371999[/C][C]0.492081695686[/C][/ROW]
[ROW][C]28[/C][C]0.866495500875942[/C][C]0.267008998248116[/C][C]0.133504499124058[/C][/ROW]
[ROW][C]29[/C][C]0.982680833386088[/C][C]0.0346383332278234[/C][C]0.0173191666139117[/C][/ROW]
[ROW][C]30[/C][C]0.999468301329246[/C][C]0.00106339734150768[/C][C]0.000531698670753841[/C][/ROW]
[ROW][C]31[/C][C]0.999996706301082[/C][C]6.58739783532827e-06[/C][C]3.29369891766414e-06[/C][/ROW]
[ROW][C]32[/C][C]0.999999471929898[/C][C]1.05614020356208e-06[/C][C]5.28070101781039e-07[/C][/ROW]
[ROW][C]33[/C][C]0.999999717924913[/C][C]5.6415017419672e-07[/C][C]2.8207508709836e-07[/C][/ROW]
[ROW][C]34[/C][C]0.999999596062159[/C][C]8.07875681525995e-07[/C][C]4.03937840762997e-07[/C][/ROW]
[ROW][C]35[/C][C]0.999999308581826[/C][C]1.38283634795452e-06[/C][C]6.91418173977258e-07[/C][/ROW]
[ROW][C]36[/C][C]0.99999991132596[/C][C]1.77348080425068e-07[/C][C]8.86740402125338e-08[/C][/ROW]
[ROW][C]37[/C][C]0.999999877602348[/C][C]2.4479530327935e-07[/C][C]1.22397651639675e-07[/C][/ROW]
[ROW][C]38[/C][C]0.999999560329692[/C][C]8.79340615813481e-07[/C][C]4.39670307906741e-07[/C][/ROW]
[ROW][C]39[/C][C]0.999998792779601[/C][C]2.41444079864602e-06[/C][C]1.20722039932301e-06[/C][/ROW]
[ROW][C]40[/C][C]0.999992908242274[/C][C]1.41835154517369e-05[/C][C]7.09175772586847e-06[/C][/ROW]
[ROW][C]41[/C][C]0.999968130403817[/C][C]6.3739192366071e-05[/C][C]3.18695961830355e-05[/C][/ROW]
[ROW][C]42[/C][C]0.999791655642812[/C][C]0.000416688714376163[/C][C]0.000208344357188081[/C][/ROW]
[ROW][C]43[/C][C]0.999108709174733[/C][C]0.00178258165053409[/C][C]0.000891290825267044[/C][/ROW]
[ROW][C]44[/C][C]0.999430287180229[/C][C]0.00113942563954191[/C][C]0.000569712819770953[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159917&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.005400512294734980.010801024589470.994599487705265
170.1234373557641910.2468747115283830.876562644235809
180.158094370621670.316188741243340.84190562937833
190.2996143620423540.5992287240847070.700385637957646
200.2682629493214030.5365258986428070.731737050678597
210.1974355277789380.3948710555578750.802564472221062
220.234621271900640.469242543801280.76537872809936
230.1617623001174480.3235246002348960.838237699882552
240.1084653467193960.2169306934387920.891534653280604
250.1132154089255710.2264308178511420.886784591074429
260.2143798422590220.4287596845180430.785620157740978
270.5079183043140.9841633913719990.492081695686
280.8664955008759420.2670089982481160.133504499124058
290.9826808333860880.03463833322782340.0173191666139117
300.9994683013292460.001063397341507680.000531698670753841
310.9999967063010826.58739783532827e-063.29369891766414e-06
320.9999994719298981.05614020356208e-065.28070101781039e-07
330.9999997179249135.6415017419672e-072.8207508709836e-07
340.9999995960621598.07875681525995e-074.03937840762997e-07
350.9999993085818261.38283634795452e-066.91418173977258e-07
360.999999911325961.77348080425068e-078.86740402125338e-08
370.9999998776023482.4479530327935e-071.22397651639675e-07
380.9999995603296928.79340615813481e-074.39670307906741e-07
390.9999987927796012.41444079864602e-061.20722039932301e-06
400.9999929082422741.41835154517369e-057.09175772586847e-06
410.9999681304038176.3739192366071e-053.18695961830355e-05
420.9997916556428120.0004166887143761630.000208344357188081
430.9991087091747330.001782581650534090.000891290825267044
440.9994302871802290.001139425639541910.000569712819770953







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.517241379310345NOK
5% type I error level170.586206896551724NOK
10% type I error level170.586206896551724NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159917&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 level150.517241379310345NOK
5% type I error level170.586206896551724NOK
10% type I error level170.586206896551724NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
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')
}