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 computationSun, 23 Nov 2008 07:11:11 -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/Nov/23/t1227449498ckomdtw3z7rcapb.htm/, Retrieved Mon, 20 May 2024 03:45:36 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25260, Retrieved Mon, 20 May 2024 03:45:36 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact196
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [The seatbelt law] [2007-11-19 10:09:20] [179580f635b5f83b2ee77249aac47f19]
F R  D  [Multiple Regression] [] [2008-11-23 13:19:57] [4c8dfb519edec2da3492d7e6be9a5685]
F   PD    [Multiple Regression] [] [2008-11-23 14:06:19] [4c8dfb519edec2da3492d7e6be9a5685]
-   PD        [Multiple Regression] [] [2008-11-23 14:11:11] [6d40a467de0f28bd2350f82ac9522c51] [Current]
F   P           [Multiple Regression] [] [2008-11-23 14:14:40] [4c8dfb519edec2da3492d7e6be9a5685]
Feedback Forum

Post a new message
Dataseries X:
299.63	0
305.945	0
382.252	0
348.846	0
335.367	0
373.617	0
312.612	0
312.232	0
337.161	0
331.476	0
350.103	0
345.127	0
297.256	0
295.979	0
361.007	0
321.803	0
354.937	0
349.432	0
290.979	0
349.576	0
327.625	0
349.377	0
336.777	0
339.134	0
323.321	0
318.86	0
373.583	0
333.03	0
408.556	0
414.646	0
291.514	0
348.857	0
349.368	0
375.765	0
364.136	0
349.53	0
348.167	1
332.856	1
360.551	1
346.969	1
392.815	1
372.02	1
371.027	1
342.672	1
367.343	1
390.786	1
343.785	1
362.6	1
349.468	1
340.624	1
369.536	1
407.782	1
392.239	1
404.824	1
373.669	1
344.902	1
396.7	1
398.911	1
366.009	1
392.484	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25260&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25260&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
x[t] = + 346.178416666667 + 28.9914583333334y[t] -34.2066000000002M1[t] -38.9222000000000M2[t] + 11.6108M3[t] -6.08899999999998M4[t] + 19.0078M5[t] + 25.1328000000000M6[t] -29.8148M7[t] -18.1272M8[t] -2.1356M9[t] + 11.488M10[t] -5.61299999999999M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
x[t] =  +  346.178416666667 +  28.9914583333334y[t] -34.2066000000002M1[t] -38.9222000000000M2[t] +  11.6108M3[t] -6.08899999999998M4[t] +  19.0078M5[t] +  25.1328000000000M6[t] -29.8148M7[t] -18.1272M8[t] -2.1356M9[t] +  11.488M10[t] -5.61299999999999M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25260&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]x[t] =  +  346.178416666667 +  28.9914583333334y[t] -34.2066000000002M1[t] -38.9222000000000M2[t] +  11.6108M3[t] -6.08899999999998M4[t] +  19.0078M5[t] +  25.1328000000000M6[t] -29.8148M7[t] -18.1272M8[t] -2.1356M9[t] +  11.488M10[t] -5.61299999999999M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25260&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25260&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
x[t] = + 346.178416666667 + 28.9914583333334y[t] -34.2066000000002M1[t] -38.9222000000000M2[t] + 11.6108M3[t] -6.08899999999998M4[t] + 19.0078M5[t] + 25.1328000000000M6[t] -29.8148M7[t] -18.1272M8[t] -2.1356M9[t] + 11.488M10[t] -5.61299999999999M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)346.1784166666679.37133636.940100
y28.99145833333345.374835.39392e-061e-06
M1-34.206600000000212.899592-2.65180.0108820.005441
M2-38.922200000000012.899592-3.01730.0041080.002054
M311.610812.8995920.90010.3726610.18633
M4-6.0889999999999812.899592-0.4720.6390890.319545
M519.007812.8995921.47350.1472770.073639
M625.132800000000012.8995921.94830.0573590.02868
M7-29.814812.899592-2.31130.025250.012625
M8-18.127212.899592-1.40530.1665220.083261
M9-2.135612.899592-0.16560.8692170.434608
M1011.48812.8995920.89060.3776960.188848
M11-5.6129999999999912.899592-0.43510.665460.33273

\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) & 346.178416666667 & 9.371336 & 36.9401 & 0 & 0 \tabularnewline
y & 28.9914583333334 & 5.37483 & 5.3939 & 2e-06 & 1e-06 \tabularnewline
M1 & -34.2066000000002 & 12.899592 & -2.6518 & 0.010882 & 0.005441 \tabularnewline
M2 & -38.9222000000000 & 12.899592 & -3.0173 & 0.004108 & 0.002054 \tabularnewline
M3 & 11.6108 & 12.899592 & 0.9001 & 0.372661 & 0.18633 \tabularnewline
M4 & -6.08899999999998 & 12.899592 & -0.472 & 0.639089 & 0.319545 \tabularnewline
M5 & 19.0078 & 12.899592 & 1.4735 & 0.147277 & 0.073639 \tabularnewline
M6 & 25.1328000000000 & 12.899592 & 1.9483 & 0.057359 & 0.02868 \tabularnewline
M7 & -29.8148 & 12.899592 & -2.3113 & 0.02525 & 0.012625 \tabularnewline
M8 & -18.1272 & 12.899592 & -1.4053 & 0.166522 & 0.083261 \tabularnewline
M9 & -2.1356 & 12.899592 & -0.1656 & 0.869217 & 0.434608 \tabularnewline
M10 & 11.488 & 12.899592 & 0.8906 & 0.377696 & 0.188848 \tabularnewline
M11 & -5.61299999999999 & 12.899592 & -0.4351 & 0.66546 & 0.33273 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25260&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]346.178416666667[/C][C]9.371336[/C][C]36.9401[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]y[/C][C]28.9914583333334[/C][C]5.37483[/C][C]5.3939[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M1[/C][C]-34.2066000000002[/C][C]12.899592[/C][C]-2.6518[/C][C]0.010882[/C][C]0.005441[/C][/ROW]
[ROW][C]M2[/C][C]-38.9222000000000[/C][C]12.899592[/C][C]-3.0173[/C][C]0.004108[/C][C]0.002054[/C][/ROW]
[ROW][C]M3[/C][C]11.6108[/C][C]12.899592[/C][C]0.9001[/C][C]0.372661[/C][C]0.18633[/C][/ROW]
[ROW][C]M4[/C][C]-6.08899999999998[/C][C]12.899592[/C][C]-0.472[/C][C]0.639089[/C][C]0.319545[/C][/ROW]
[ROW][C]M5[/C][C]19.0078[/C][C]12.899592[/C][C]1.4735[/C][C]0.147277[/C][C]0.073639[/C][/ROW]
[ROW][C]M6[/C][C]25.1328000000000[/C][C]12.899592[/C][C]1.9483[/C][C]0.057359[/C][C]0.02868[/C][/ROW]
[ROW][C]M7[/C][C]-29.8148[/C][C]12.899592[/C][C]-2.3113[/C][C]0.02525[/C][C]0.012625[/C][/ROW]
[ROW][C]M8[/C][C]-18.1272[/C][C]12.899592[/C][C]-1.4053[/C][C]0.166522[/C][C]0.083261[/C][/ROW]
[ROW][C]M9[/C][C]-2.1356[/C][C]12.899592[/C][C]-0.1656[/C][C]0.869217[/C][C]0.434608[/C][/ROW]
[ROW][C]M10[/C][C]11.488[/C][C]12.899592[/C][C]0.8906[/C][C]0.377696[/C][C]0.188848[/C][/ROW]
[ROW][C]M11[/C][C]-5.61299999999999[/C][C]12.899592[/C][C]-0.4351[/C][C]0.66546[/C][C]0.33273[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25260&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25260&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)346.1784166666679.37133636.940100
y28.99145833333345.374835.39392e-061e-06
M1-34.206600000000212.899592-2.65180.0108820.005441
M2-38.922200000000012.899592-3.01730.0041080.002054
M311.610812.8995920.90010.3726610.18633
M4-6.0889999999999812.899592-0.4720.6390890.319545
M519.007812.8995921.47350.1472770.073639
M625.132800000000012.8995921.94830.0573590.02868
M7-29.814812.899592-2.31130.025250.012625
M8-18.127212.899592-1.40530.1665220.083261
M9-2.135612.899592-0.16560.8692170.434608
M1011.48812.8995920.89060.3776960.188848
M11-5.6129999999999912.899592-0.43510.665460.33273







Multiple Linear Regression - Regression Statistics
Multiple R0.806465254265892
R-squared0.65038620633815
Adjusted R-squared0.56112311008406
F-TEST (value)7.28617125812901
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value2.64957100259977e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.3960459594058
Sum Squared Residuals19551.9384665750

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.806465254265892 \tabularnewline
R-squared & 0.65038620633815 \tabularnewline
Adjusted R-squared & 0.56112311008406 \tabularnewline
F-TEST (value) & 7.28617125812901 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 2.64957100259977e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 20.3960459594058 \tabularnewline
Sum Squared Residuals & 19551.9384665750 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25260&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.806465254265892[/C][/ROW]
[ROW][C]R-squared[/C][C]0.65038620633815[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.56112311008406[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.28617125812901[/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]2.64957100259977e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]20.3960459594058[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]19551.9384665750[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25260&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25260&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.806465254265892
R-squared0.65038620633815
Adjusted R-squared0.56112311008406
F-TEST (value)7.28617125812901
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value2.64957100259977e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.3960459594058
Sum Squared Residuals19551.9384665750







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1299.63311.971816666668-12.3418166666675
2305.945307.256216666667-1.31121666666669
3382.252357.78921666666724.4627833333333
4348.846340.0894166666678.75658333333342
5335.367365.186216666667-29.8192166666667
6373.617371.3112166666672.30578333333334
7312.612316.363616666667-3.75161666666663
8312.232328.051216666667-15.8192166666667
9337.161344.042816666667-6.88181666666667
10331.476357.666416666667-26.1904166666666
11350.103340.5654166666679.53758333333334
12345.127346.178416666667-1.05141666666664
13297.256311.971816666666-14.7158166666665
14295.979307.256216666667-11.2772166666667
15361.007357.7892166666673.21778333333336
16321.803340.089416666667-18.2864166666667
17354.937365.186216666667-10.2492166666666
18349.432371.311216666667-21.8792166666666
19290.979316.363616666667-25.3846166666667
20349.576328.05121666666721.5247833333334
21327.625344.042816666667-16.4178166666666
22349.377357.666416666667-8.28941666666665
23336.777340.565416666667-3.78841666666668
24339.134346.178416666667-7.04441666666664
25323.321311.97181666666611.3491833333336
26318.86307.25621666666711.6037833333334
27373.583357.78921666666715.7937833333334
28333.03340.089416666667-7.0594166666667
29408.556365.18621666666743.3697833333333
30414.646371.31121666666743.3347833333334
31291.514316.363616666667-24.8496166666666
32348.857328.05121666666720.8057833333334
33349.368344.0428166666675.32518333333334
34375.765357.66641666666718.0985833333333
35364.136340.56541666666723.5705833333334
36349.53346.1784166666673.35158333333332
37348.167340.9632757.20372500000018
38332.856336.247675-3.39167500000002
39360.551386.780675-26.2296750000000
40346.969369.080875-22.1118750000000
41392.815394.177675-1.36267500000002
42372.02400.302675-28.2826750000000
43371.027345.35507525.6719250000000
44342.672357.042675-14.370675
45367.343373.034275-5.691275
46390.786386.6578754.12812499999997
47343.785369.556875-25.771875
48362.6375.169875-12.569875
49349.468340.9632758.50472500000023
50340.624336.2476754.37632500000000
51369.536386.780675-17.244675
52407.782369.08087538.701125
53392.239394.177675-1.93867500000005
54404.824400.3026754.52132499999999
55373.669345.35507528.313925
56344.902357.042675-12.1406750000000
57396.7373.03427523.665725
58398.911386.65787512.2531250000000
59366.009369.556875-3.54787500000002
60392.484375.16987517.3141250000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 299.63 & 311.971816666668 & -12.3418166666675 \tabularnewline
2 & 305.945 & 307.256216666667 & -1.31121666666669 \tabularnewline
3 & 382.252 & 357.789216666667 & 24.4627833333333 \tabularnewline
4 & 348.846 & 340.089416666667 & 8.75658333333342 \tabularnewline
5 & 335.367 & 365.186216666667 & -29.8192166666667 \tabularnewline
6 & 373.617 & 371.311216666667 & 2.30578333333334 \tabularnewline
7 & 312.612 & 316.363616666667 & -3.75161666666663 \tabularnewline
8 & 312.232 & 328.051216666667 & -15.8192166666667 \tabularnewline
9 & 337.161 & 344.042816666667 & -6.88181666666667 \tabularnewline
10 & 331.476 & 357.666416666667 & -26.1904166666666 \tabularnewline
11 & 350.103 & 340.565416666667 & 9.53758333333334 \tabularnewline
12 & 345.127 & 346.178416666667 & -1.05141666666664 \tabularnewline
13 & 297.256 & 311.971816666666 & -14.7158166666665 \tabularnewline
14 & 295.979 & 307.256216666667 & -11.2772166666667 \tabularnewline
15 & 361.007 & 357.789216666667 & 3.21778333333336 \tabularnewline
16 & 321.803 & 340.089416666667 & -18.2864166666667 \tabularnewline
17 & 354.937 & 365.186216666667 & -10.2492166666666 \tabularnewline
18 & 349.432 & 371.311216666667 & -21.8792166666666 \tabularnewline
19 & 290.979 & 316.363616666667 & -25.3846166666667 \tabularnewline
20 & 349.576 & 328.051216666667 & 21.5247833333334 \tabularnewline
21 & 327.625 & 344.042816666667 & -16.4178166666666 \tabularnewline
22 & 349.377 & 357.666416666667 & -8.28941666666665 \tabularnewline
23 & 336.777 & 340.565416666667 & -3.78841666666668 \tabularnewline
24 & 339.134 & 346.178416666667 & -7.04441666666664 \tabularnewline
25 & 323.321 & 311.971816666666 & 11.3491833333336 \tabularnewline
26 & 318.86 & 307.256216666667 & 11.6037833333334 \tabularnewline
27 & 373.583 & 357.789216666667 & 15.7937833333334 \tabularnewline
28 & 333.03 & 340.089416666667 & -7.0594166666667 \tabularnewline
29 & 408.556 & 365.186216666667 & 43.3697833333333 \tabularnewline
30 & 414.646 & 371.311216666667 & 43.3347833333334 \tabularnewline
31 & 291.514 & 316.363616666667 & -24.8496166666666 \tabularnewline
32 & 348.857 & 328.051216666667 & 20.8057833333334 \tabularnewline
33 & 349.368 & 344.042816666667 & 5.32518333333334 \tabularnewline
34 & 375.765 & 357.666416666667 & 18.0985833333333 \tabularnewline
35 & 364.136 & 340.565416666667 & 23.5705833333334 \tabularnewline
36 & 349.53 & 346.178416666667 & 3.35158333333332 \tabularnewline
37 & 348.167 & 340.963275 & 7.20372500000018 \tabularnewline
38 & 332.856 & 336.247675 & -3.39167500000002 \tabularnewline
39 & 360.551 & 386.780675 & -26.2296750000000 \tabularnewline
40 & 346.969 & 369.080875 & -22.1118750000000 \tabularnewline
41 & 392.815 & 394.177675 & -1.36267500000002 \tabularnewline
42 & 372.02 & 400.302675 & -28.2826750000000 \tabularnewline
43 & 371.027 & 345.355075 & 25.6719250000000 \tabularnewline
44 & 342.672 & 357.042675 & -14.370675 \tabularnewline
45 & 367.343 & 373.034275 & -5.691275 \tabularnewline
46 & 390.786 & 386.657875 & 4.12812499999997 \tabularnewline
47 & 343.785 & 369.556875 & -25.771875 \tabularnewline
48 & 362.6 & 375.169875 & -12.569875 \tabularnewline
49 & 349.468 & 340.963275 & 8.50472500000023 \tabularnewline
50 & 340.624 & 336.247675 & 4.37632500000000 \tabularnewline
51 & 369.536 & 386.780675 & -17.244675 \tabularnewline
52 & 407.782 & 369.080875 & 38.701125 \tabularnewline
53 & 392.239 & 394.177675 & -1.93867500000005 \tabularnewline
54 & 404.824 & 400.302675 & 4.52132499999999 \tabularnewline
55 & 373.669 & 345.355075 & 28.313925 \tabularnewline
56 & 344.902 & 357.042675 & -12.1406750000000 \tabularnewline
57 & 396.7 & 373.034275 & 23.665725 \tabularnewline
58 & 398.911 & 386.657875 & 12.2531250000000 \tabularnewline
59 & 366.009 & 369.556875 & -3.54787500000002 \tabularnewline
60 & 392.484 & 375.169875 & 17.3141250000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25260&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]299.63[/C][C]311.971816666668[/C][C]-12.3418166666675[/C][/ROW]
[ROW][C]2[/C][C]305.945[/C][C]307.256216666667[/C][C]-1.31121666666669[/C][/ROW]
[ROW][C]3[/C][C]382.252[/C][C]357.789216666667[/C][C]24.4627833333333[/C][/ROW]
[ROW][C]4[/C][C]348.846[/C][C]340.089416666667[/C][C]8.75658333333342[/C][/ROW]
[ROW][C]5[/C][C]335.367[/C][C]365.186216666667[/C][C]-29.8192166666667[/C][/ROW]
[ROW][C]6[/C][C]373.617[/C][C]371.311216666667[/C][C]2.30578333333334[/C][/ROW]
[ROW][C]7[/C][C]312.612[/C][C]316.363616666667[/C][C]-3.75161666666663[/C][/ROW]
[ROW][C]8[/C][C]312.232[/C][C]328.051216666667[/C][C]-15.8192166666667[/C][/ROW]
[ROW][C]9[/C][C]337.161[/C][C]344.042816666667[/C][C]-6.88181666666667[/C][/ROW]
[ROW][C]10[/C][C]331.476[/C][C]357.666416666667[/C][C]-26.1904166666666[/C][/ROW]
[ROW][C]11[/C][C]350.103[/C][C]340.565416666667[/C][C]9.53758333333334[/C][/ROW]
[ROW][C]12[/C][C]345.127[/C][C]346.178416666667[/C][C]-1.05141666666664[/C][/ROW]
[ROW][C]13[/C][C]297.256[/C][C]311.971816666666[/C][C]-14.7158166666665[/C][/ROW]
[ROW][C]14[/C][C]295.979[/C][C]307.256216666667[/C][C]-11.2772166666667[/C][/ROW]
[ROW][C]15[/C][C]361.007[/C][C]357.789216666667[/C][C]3.21778333333336[/C][/ROW]
[ROW][C]16[/C][C]321.803[/C][C]340.089416666667[/C][C]-18.2864166666667[/C][/ROW]
[ROW][C]17[/C][C]354.937[/C][C]365.186216666667[/C][C]-10.2492166666666[/C][/ROW]
[ROW][C]18[/C][C]349.432[/C][C]371.311216666667[/C][C]-21.8792166666666[/C][/ROW]
[ROW][C]19[/C][C]290.979[/C][C]316.363616666667[/C][C]-25.3846166666667[/C][/ROW]
[ROW][C]20[/C][C]349.576[/C][C]328.051216666667[/C][C]21.5247833333334[/C][/ROW]
[ROW][C]21[/C][C]327.625[/C][C]344.042816666667[/C][C]-16.4178166666666[/C][/ROW]
[ROW][C]22[/C][C]349.377[/C][C]357.666416666667[/C][C]-8.28941666666665[/C][/ROW]
[ROW][C]23[/C][C]336.777[/C][C]340.565416666667[/C][C]-3.78841666666668[/C][/ROW]
[ROW][C]24[/C][C]339.134[/C][C]346.178416666667[/C][C]-7.04441666666664[/C][/ROW]
[ROW][C]25[/C][C]323.321[/C][C]311.971816666666[/C][C]11.3491833333336[/C][/ROW]
[ROW][C]26[/C][C]318.86[/C][C]307.256216666667[/C][C]11.6037833333334[/C][/ROW]
[ROW][C]27[/C][C]373.583[/C][C]357.789216666667[/C][C]15.7937833333334[/C][/ROW]
[ROW][C]28[/C][C]333.03[/C][C]340.089416666667[/C][C]-7.0594166666667[/C][/ROW]
[ROW][C]29[/C][C]408.556[/C][C]365.186216666667[/C][C]43.3697833333333[/C][/ROW]
[ROW][C]30[/C][C]414.646[/C][C]371.311216666667[/C][C]43.3347833333334[/C][/ROW]
[ROW][C]31[/C][C]291.514[/C][C]316.363616666667[/C][C]-24.8496166666666[/C][/ROW]
[ROW][C]32[/C][C]348.857[/C][C]328.051216666667[/C][C]20.8057833333334[/C][/ROW]
[ROW][C]33[/C][C]349.368[/C][C]344.042816666667[/C][C]5.32518333333334[/C][/ROW]
[ROW][C]34[/C][C]375.765[/C][C]357.666416666667[/C][C]18.0985833333333[/C][/ROW]
[ROW][C]35[/C][C]364.136[/C][C]340.565416666667[/C][C]23.5705833333334[/C][/ROW]
[ROW][C]36[/C][C]349.53[/C][C]346.178416666667[/C][C]3.35158333333332[/C][/ROW]
[ROW][C]37[/C][C]348.167[/C][C]340.963275[/C][C]7.20372500000018[/C][/ROW]
[ROW][C]38[/C][C]332.856[/C][C]336.247675[/C][C]-3.39167500000002[/C][/ROW]
[ROW][C]39[/C][C]360.551[/C][C]386.780675[/C][C]-26.2296750000000[/C][/ROW]
[ROW][C]40[/C][C]346.969[/C][C]369.080875[/C][C]-22.1118750000000[/C][/ROW]
[ROW][C]41[/C][C]392.815[/C][C]394.177675[/C][C]-1.36267500000002[/C][/ROW]
[ROW][C]42[/C][C]372.02[/C][C]400.302675[/C][C]-28.2826750000000[/C][/ROW]
[ROW][C]43[/C][C]371.027[/C][C]345.355075[/C][C]25.6719250000000[/C][/ROW]
[ROW][C]44[/C][C]342.672[/C][C]357.042675[/C][C]-14.370675[/C][/ROW]
[ROW][C]45[/C][C]367.343[/C][C]373.034275[/C][C]-5.691275[/C][/ROW]
[ROW][C]46[/C][C]390.786[/C][C]386.657875[/C][C]4.12812499999997[/C][/ROW]
[ROW][C]47[/C][C]343.785[/C][C]369.556875[/C][C]-25.771875[/C][/ROW]
[ROW][C]48[/C][C]362.6[/C][C]375.169875[/C][C]-12.569875[/C][/ROW]
[ROW][C]49[/C][C]349.468[/C][C]340.963275[/C][C]8.50472500000023[/C][/ROW]
[ROW][C]50[/C][C]340.624[/C][C]336.247675[/C][C]4.37632500000000[/C][/ROW]
[ROW][C]51[/C][C]369.536[/C][C]386.780675[/C][C]-17.244675[/C][/ROW]
[ROW][C]52[/C][C]407.782[/C][C]369.080875[/C][C]38.701125[/C][/ROW]
[ROW][C]53[/C][C]392.239[/C][C]394.177675[/C][C]-1.93867500000005[/C][/ROW]
[ROW][C]54[/C][C]404.824[/C][C]400.302675[/C][C]4.52132499999999[/C][/ROW]
[ROW][C]55[/C][C]373.669[/C][C]345.355075[/C][C]28.313925[/C][/ROW]
[ROW][C]56[/C][C]344.902[/C][C]357.042675[/C][C]-12.1406750000000[/C][/ROW]
[ROW][C]57[/C][C]396.7[/C][C]373.034275[/C][C]23.665725[/C][/ROW]
[ROW][C]58[/C][C]398.911[/C][C]386.657875[/C][C]12.2531250000000[/C][/ROW]
[ROW][C]59[/C][C]366.009[/C][C]369.556875[/C][C]-3.54787500000002[/C][/ROW]
[ROW][C]60[/C][C]392.484[/C][C]375.169875[/C][C]17.3141250000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25260&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25260&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
1299.63311.971816666668-12.3418166666675
2305.945307.256216666667-1.31121666666669
3382.252357.78921666666724.4627833333333
4348.846340.0894166666678.75658333333342
5335.367365.186216666667-29.8192166666667
6373.617371.3112166666672.30578333333334
7312.612316.363616666667-3.75161666666663
8312.232328.051216666667-15.8192166666667
9337.161344.042816666667-6.88181666666667
10331.476357.666416666667-26.1904166666666
11350.103340.5654166666679.53758333333334
12345.127346.178416666667-1.05141666666664
13297.256311.971816666666-14.7158166666665
14295.979307.256216666667-11.2772166666667
15361.007357.7892166666673.21778333333336
16321.803340.089416666667-18.2864166666667
17354.937365.186216666667-10.2492166666666
18349.432371.311216666667-21.8792166666666
19290.979316.363616666667-25.3846166666667
20349.576328.05121666666721.5247833333334
21327.625344.042816666667-16.4178166666666
22349.377357.666416666667-8.28941666666665
23336.777340.565416666667-3.78841666666668
24339.134346.178416666667-7.04441666666664
25323.321311.97181666666611.3491833333336
26318.86307.25621666666711.6037833333334
27373.583357.78921666666715.7937833333334
28333.03340.089416666667-7.0594166666667
29408.556365.18621666666743.3697833333333
30414.646371.31121666666743.3347833333334
31291.514316.363616666667-24.8496166666666
32348.857328.05121666666720.8057833333334
33349.368344.0428166666675.32518333333334
34375.765357.66641666666718.0985833333333
35364.136340.56541666666723.5705833333334
36349.53346.1784166666673.35158333333332
37348.167340.9632757.20372500000018
38332.856336.247675-3.39167500000002
39360.551386.780675-26.2296750000000
40346.969369.080875-22.1118750000000
41392.815394.177675-1.36267500000002
42372.02400.302675-28.2826750000000
43371.027345.35507525.6719250000000
44342.672357.042675-14.370675
45367.343373.034275-5.691275
46390.786386.6578754.12812499999997
47343.785369.556875-25.771875
48362.6375.169875-12.569875
49349.468340.9632758.50472500000023
50340.624336.2476754.37632500000000
51369.536386.780675-17.244675
52407.782369.08087538.701125
53392.239394.177675-1.93867500000005
54404.824400.3026754.52132499999999
55373.669345.35507528.313925
56344.902357.042675-12.1406750000000
57396.7373.03427523.665725
58398.911386.65787512.2531250000000
59366.009369.556875-3.54787500000002
60392.484375.16987517.3141250000000







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2819240040715730.5638480081431460.718075995928427
170.2225685426344610.4451370852689230.777431457365539
180.2185539030028920.4371078060057850.781446096997108
190.2151897804506680.4303795609013370.784810219549332
200.3028872624917830.6057745249835650.697112737508217
210.2397560164720220.4795120329440430.760243983527978
220.2084577257836080.4169154515672160.791542274216392
230.1517470092296390.3034940184592790.84825299077036
240.1040327713279530.2080655426559060.895967228672047
250.1068799779672420.2137599559344840.893120022032758
260.08405019552102080.1681003910420420.91594980447898
270.05789570362665050.1157914072533010.94210429637335
280.04290240957945650.0858048191589130.957097590420543
290.2769017218371220.5538034436742440.723098278162878
300.5454418324379770.9091163351240470.454558167562023
310.7802413514655930.4395172970688140.219758648534407
320.7575781818303830.4848436363392340.242421818169617
330.7207548965907530.5584902068184940.279245103409247
340.7047026133552690.5905947732894610.295297386644731
350.7133997505763950.5732004988472110.286600249423605
360.619037835864960.761924328270080.38096216413504
370.5121721557496550.975655688500690.487827844250345
380.414641026681480.829282053362960.58535897331852
390.3835655844408180.7671311688816360.616434415559182
400.72312833576080.5537433284784010.276871664239200
410.6043403366191540.7913193267616920.395659663380846
420.6829573372230570.6340853255538860.317042662776943
430.6181159734399980.7637680531200040.381884026560002
440.4487515240036230.8975030480072460.551248475996377

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.281924004071573 & 0.563848008143146 & 0.718075995928427 \tabularnewline
17 & 0.222568542634461 & 0.445137085268923 & 0.777431457365539 \tabularnewline
18 & 0.218553903002892 & 0.437107806005785 & 0.781446096997108 \tabularnewline
19 & 0.215189780450668 & 0.430379560901337 & 0.784810219549332 \tabularnewline
20 & 0.302887262491783 & 0.605774524983565 & 0.697112737508217 \tabularnewline
21 & 0.239756016472022 & 0.479512032944043 & 0.760243983527978 \tabularnewline
22 & 0.208457725783608 & 0.416915451567216 & 0.791542274216392 \tabularnewline
23 & 0.151747009229639 & 0.303494018459279 & 0.84825299077036 \tabularnewline
24 & 0.104032771327953 & 0.208065542655906 & 0.895967228672047 \tabularnewline
25 & 0.106879977967242 & 0.213759955934484 & 0.893120022032758 \tabularnewline
26 & 0.0840501955210208 & 0.168100391042042 & 0.91594980447898 \tabularnewline
27 & 0.0578957036266505 & 0.115791407253301 & 0.94210429637335 \tabularnewline
28 & 0.0429024095794565 & 0.085804819158913 & 0.957097590420543 \tabularnewline
29 & 0.276901721837122 & 0.553803443674244 & 0.723098278162878 \tabularnewline
30 & 0.545441832437977 & 0.909116335124047 & 0.454558167562023 \tabularnewline
31 & 0.780241351465593 & 0.439517297068814 & 0.219758648534407 \tabularnewline
32 & 0.757578181830383 & 0.484843636339234 & 0.242421818169617 \tabularnewline
33 & 0.720754896590753 & 0.558490206818494 & 0.279245103409247 \tabularnewline
34 & 0.704702613355269 & 0.590594773289461 & 0.295297386644731 \tabularnewline
35 & 0.713399750576395 & 0.573200498847211 & 0.286600249423605 \tabularnewline
36 & 0.61903783586496 & 0.76192432827008 & 0.38096216413504 \tabularnewline
37 & 0.512172155749655 & 0.97565568850069 & 0.487827844250345 \tabularnewline
38 & 0.41464102668148 & 0.82928205336296 & 0.58535897331852 \tabularnewline
39 & 0.383565584440818 & 0.767131168881636 & 0.616434415559182 \tabularnewline
40 & 0.7231283357608 & 0.553743328478401 & 0.276871664239200 \tabularnewline
41 & 0.604340336619154 & 0.791319326761692 & 0.395659663380846 \tabularnewline
42 & 0.682957337223057 & 0.634085325553886 & 0.317042662776943 \tabularnewline
43 & 0.618115973439998 & 0.763768053120004 & 0.381884026560002 \tabularnewline
44 & 0.448751524003623 & 0.897503048007246 & 0.551248475996377 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25260&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.281924004071573[/C][C]0.563848008143146[/C][C]0.718075995928427[/C][/ROW]
[ROW][C]17[/C][C]0.222568542634461[/C][C]0.445137085268923[/C][C]0.777431457365539[/C][/ROW]
[ROW][C]18[/C][C]0.218553903002892[/C][C]0.437107806005785[/C][C]0.781446096997108[/C][/ROW]
[ROW][C]19[/C][C]0.215189780450668[/C][C]0.430379560901337[/C][C]0.784810219549332[/C][/ROW]
[ROW][C]20[/C][C]0.302887262491783[/C][C]0.605774524983565[/C][C]0.697112737508217[/C][/ROW]
[ROW][C]21[/C][C]0.239756016472022[/C][C]0.479512032944043[/C][C]0.760243983527978[/C][/ROW]
[ROW][C]22[/C][C]0.208457725783608[/C][C]0.416915451567216[/C][C]0.791542274216392[/C][/ROW]
[ROW][C]23[/C][C]0.151747009229639[/C][C]0.303494018459279[/C][C]0.84825299077036[/C][/ROW]
[ROW][C]24[/C][C]0.104032771327953[/C][C]0.208065542655906[/C][C]0.895967228672047[/C][/ROW]
[ROW][C]25[/C][C]0.106879977967242[/C][C]0.213759955934484[/C][C]0.893120022032758[/C][/ROW]
[ROW][C]26[/C][C]0.0840501955210208[/C][C]0.168100391042042[/C][C]0.91594980447898[/C][/ROW]
[ROW][C]27[/C][C]0.0578957036266505[/C][C]0.115791407253301[/C][C]0.94210429637335[/C][/ROW]
[ROW][C]28[/C][C]0.0429024095794565[/C][C]0.085804819158913[/C][C]0.957097590420543[/C][/ROW]
[ROW][C]29[/C][C]0.276901721837122[/C][C]0.553803443674244[/C][C]0.723098278162878[/C][/ROW]
[ROW][C]30[/C][C]0.545441832437977[/C][C]0.909116335124047[/C][C]0.454558167562023[/C][/ROW]
[ROW][C]31[/C][C]0.780241351465593[/C][C]0.439517297068814[/C][C]0.219758648534407[/C][/ROW]
[ROW][C]32[/C][C]0.757578181830383[/C][C]0.484843636339234[/C][C]0.242421818169617[/C][/ROW]
[ROW][C]33[/C][C]0.720754896590753[/C][C]0.558490206818494[/C][C]0.279245103409247[/C][/ROW]
[ROW][C]34[/C][C]0.704702613355269[/C][C]0.590594773289461[/C][C]0.295297386644731[/C][/ROW]
[ROW][C]35[/C][C]0.713399750576395[/C][C]0.573200498847211[/C][C]0.286600249423605[/C][/ROW]
[ROW][C]36[/C][C]0.61903783586496[/C][C]0.76192432827008[/C][C]0.38096216413504[/C][/ROW]
[ROW][C]37[/C][C]0.512172155749655[/C][C]0.97565568850069[/C][C]0.487827844250345[/C][/ROW]
[ROW][C]38[/C][C]0.41464102668148[/C][C]0.82928205336296[/C][C]0.58535897331852[/C][/ROW]
[ROW][C]39[/C][C]0.383565584440818[/C][C]0.767131168881636[/C][C]0.616434415559182[/C][/ROW]
[ROW][C]40[/C][C]0.7231283357608[/C][C]0.553743328478401[/C][C]0.276871664239200[/C][/ROW]
[ROW][C]41[/C][C]0.604340336619154[/C][C]0.791319326761692[/C][C]0.395659663380846[/C][/ROW]
[ROW][C]42[/C][C]0.682957337223057[/C][C]0.634085325553886[/C][C]0.317042662776943[/C][/ROW]
[ROW][C]43[/C][C]0.618115973439998[/C][C]0.763768053120004[/C][C]0.381884026560002[/C][/ROW]
[ROW][C]44[/C][C]0.448751524003623[/C][C]0.897503048007246[/C][C]0.551248475996377[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25260&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25260&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.2819240040715730.5638480081431460.718075995928427
170.2225685426344610.4451370852689230.777431457365539
180.2185539030028920.4371078060057850.781446096997108
190.2151897804506680.4303795609013370.784810219549332
200.3028872624917830.6057745249835650.697112737508217
210.2397560164720220.4795120329440430.760243983527978
220.2084577257836080.4169154515672160.791542274216392
230.1517470092296390.3034940184592790.84825299077036
240.1040327713279530.2080655426559060.895967228672047
250.1068799779672420.2137599559344840.893120022032758
260.08405019552102080.1681003910420420.91594980447898
270.05789570362665050.1157914072533010.94210429637335
280.04290240957945650.0858048191589130.957097590420543
290.2769017218371220.5538034436742440.723098278162878
300.5454418324379770.9091163351240470.454558167562023
310.7802413514655930.4395172970688140.219758648534407
320.7575781818303830.4848436363392340.242421818169617
330.7207548965907530.5584902068184940.279245103409247
340.7047026133552690.5905947732894610.295297386644731
350.7133997505763950.5732004988472110.286600249423605
360.619037835864960.761924328270080.38096216413504
370.5121721557496550.975655688500690.487827844250345
380.414641026681480.829282053362960.58535897331852
390.3835655844408180.7671311688816360.616434415559182
400.72312833576080.5537433284784010.276871664239200
410.6043403366191540.7913193267616920.395659663380846
420.6829573372230570.6340853255538860.317042662776943
430.6181159734399980.7637680531200040.381884026560002
440.4487515240036230.8975030480072460.551248475996377







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level10.0344827586206897OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25260&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 level00OK
10% type I error level10.0344827586206897OK



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