Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 12 Dec 2008 04:34:29 -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/12/t12290819686q8c1hjbsmt5pm0.htm/, Retrieved Sat, 18 May 2024 08:07:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32577, Retrieved Sat, 18 May 2024 08:07:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact182
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper: Multiple R...] [2008-12-12 11:34:29] [bda7fba231d49184c6a1b627868bbb81] [Current]
Feedback Forum

Post a new message
Dataseries X:
189917	0
184128	0
175335	0
179566	0
181140	0
177876	0
175041	0
169292	0
166070	0
166972	0
206348	0
215706	0
202108	0
195411	0
193111	0
195198	0
198770	0
194163	0
190420	0
189733	0
186029	0
191531	0
232571	0
243477	0
227247	0
217859	0
208679	0
213188	0
216234	0
213587	0
209465	0
204045	0
200237	0
203666	0
241476	0
260307	0
243324	0
244460	0
233575	0
237217	0
235243	0
230354	0
227184	0
221678	0
217142	0
219452	0
256446	0
265845	0
248624	0
241114	0
229245	0
231805	0
219277	1
219313	1
212610	1
214771	1
211142	1
211457	1
240048	1
240636	1
230580	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32577&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32577&T=0

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 202652.434482759 -30248.5034482758d[t] -15820.3353639846M1[t] -21151.8711877395M2[t] -31107.0341379310M3[t] -29050.9970881226M4[t] -25613.0593486590M5[t] -30037.0222988506M6[t] -35501.3852490422M7[t] -39891.3481992337M8[t] -45020.9111494253M9[t] -43879.0740996169M10[t] -8466.63704980843M11[t] + 1349.76295019157t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  202652.434482759 -30248.5034482758d[t] -15820.3353639846M1[t] -21151.8711877395M2[t] -31107.0341379310M3[t] -29050.9970881226M4[t] -25613.0593486590M5[t] -30037.0222988506M6[t] -35501.3852490422M7[t] -39891.3481992337M8[t] -45020.9111494253M9[t] -43879.0740996169M10[t] -8466.63704980843M11[t] +  1349.76295019157t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32577&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  202652.434482759 -30248.5034482758d[t] -15820.3353639846M1[t] -21151.8711877395M2[t] -31107.0341379310M3[t] -29050.9970881226M4[t] -25613.0593486590M5[t] -30037.0222988506M6[t] -35501.3852490422M7[t] -39891.3481992337M8[t] -45020.9111494253M9[t] -43879.0740996169M10[t] -8466.63704980843M11[t] +  1349.76295019157t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32577&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
y[t] = + 202652.434482759 -30248.5034482758d[t] -15820.3353639846M1[t] -21151.8711877395M2[t] -31107.0341379310M3[t] -29050.9970881226M4[t] -25613.0593486590M5[t] -30037.0222988506M6[t] -35501.3852490422M7[t] -39891.3481992337M8[t] -45020.9111494253M9[t] -43879.0740996169M10[t] -8466.63704980843M11[t] + 1349.76295019157t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)202652.4344827593029.72651166.88800
d-30248.50344827582671.385692-11.323200
M1-15820.33536398463457.2559-4.5763.5e-051.7e-05
M2-21151.87118773953634.104897-5.82041e-060
M3-31107.03413793103631.503165-8.565900
M4-29050.99708812263629.674239-8.003700
M5-25613.05934865903622.572842-7.070400
M6-30037.02229885063617.524626-8.303200
M7-35501.38524904223613.247549-9.825300
M8-39891.34819923373609.744354-11.05100
M9-45020.91114942533607.017294-12.481500
M10-43879.07409961693605.068131-12.171500
M11-8466.637049808433603.898127-2.34930.0230630.011531
t1349.7629501915753.02363525.455900

\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) & 202652.434482759 & 3029.726511 & 66.888 & 0 & 0 \tabularnewline
d & -30248.5034482758 & 2671.385692 & -11.3232 & 0 & 0 \tabularnewline
M1 & -15820.3353639846 & 3457.2559 & -4.576 & 3.5e-05 & 1.7e-05 \tabularnewline
M2 & -21151.8711877395 & 3634.104897 & -5.8204 & 1e-06 & 0 \tabularnewline
M3 & -31107.0341379310 & 3631.503165 & -8.5659 & 0 & 0 \tabularnewline
M4 & -29050.9970881226 & 3629.674239 & -8.0037 & 0 & 0 \tabularnewline
M5 & -25613.0593486590 & 3622.572842 & -7.0704 & 0 & 0 \tabularnewline
M6 & -30037.0222988506 & 3617.524626 & -8.3032 & 0 & 0 \tabularnewline
M7 & -35501.3852490422 & 3613.247549 & -9.8253 & 0 & 0 \tabularnewline
M8 & -39891.3481992337 & 3609.744354 & -11.051 & 0 & 0 \tabularnewline
M9 & -45020.9111494253 & 3607.017294 & -12.4815 & 0 & 0 \tabularnewline
M10 & -43879.0740996169 & 3605.068131 & -12.1715 & 0 & 0 \tabularnewline
M11 & -8466.63704980843 & 3603.898127 & -2.3493 & 0.023063 & 0.011531 \tabularnewline
t & 1349.76295019157 & 53.023635 & 25.4559 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32577&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]202652.434482759[/C][C]3029.726511[/C][C]66.888[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]d[/C][C]-30248.5034482758[/C][C]2671.385692[/C][C]-11.3232[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-15820.3353639846[/C][C]3457.2559[/C][C]-4.576[/C][C]3.5e-05[/C][C]1.7e-05[/C][/ROW]
[ROW][C]M2[/C][C]-21151.8711877395[/C][C]3634.104897[/C][C]-5.8204[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]-31107.0341379310[/C][C]3631.503165[/C][C]-8.5659[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]-29050.9970881226[/C][C]3629.674239[/C][C]-8.0037[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]-25613.0593486590[/C][C]3622.572842[/C][C]-7.0704[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]-30037.0222988506[/C][C]3617.524626[/C][C]-8.3032[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]-35501.3852490422[/C][C]3613.247549[/C][C]-9.8253[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-39891.3481992337[/C][C]3609.744354[/C][C]-11.051[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]-45020.9111494253[/C][C]3607.017294[/C][C]-12.4815[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-43879.0740996169[/C][C]3605.068131[/C][C]-12.1715[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-8466.63704980843[/C][C]3603.898127[/C][C]-2.3493[/C][C]0.023063[/C][C]0.011531[/C][/ROW]
[ROW][C]t[/C][C]1349.76295019157[/C][C]53.023635[/C][C]25.4559[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32577&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32577&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)202652.4344827593029.72651166.88800
d-30248.50344827582671.385692-11.323200
M1-15820.33536398463457.2559-4.5763.5e-051.7e-05
M2-21151.87118773953634.104897-5.82041e-060
M3-31107.03413793103631.503165-8.565900
M4-29050.99708812263629.674239-8.003700
M5-25613.05934865903622.572842-7.070400
M6-30037.02229885063617.524626-8.303200
M7-35501.38524904223613.247549-9.825300
M8-39891.34819923373609.744354-11.05100
M9-45020.91114942533607.017294-12.481500
M10-43879.07409961693605.068131-12.171500
M11-8466.637049808433603.898127-2.34930.0230630.011531
t1349.7629501915753.02363525.455900







Multiple Linear Regression - Regression Statistics
Multiple R0.978622613270707
R-squared0.957702219204788
Adjusted R-squared0.946002833027388
F-TEST (value)81.8591851472408
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5697.64648914148
Sum Squared Residuals1525769249.21563

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.978622613270707 \tabularnewline
R-squared & 0.957702219204788 \tabularnewline
Adjusted R-squared & 0.946002833027388 \tabularnewline
F-TEST (value) & 81.8591851472408 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5697.64648914148 \tabularnewline
Sum Squared Residuals & 1525769249.21563 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32577&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.978622613270707[/C][/ROW]
[ROW][C]R-squared[/C][C]0.957702219204788[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.946002833027388[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]81.8591851472408[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5697.64648914148[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1525769249.21563[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32577&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32577&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.978622613270707
R-squared0.957702219204788
Adjusted R-squared0.946002833027388
F-TEST (value)81.8591851472408
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5697.64648914148
Sum Squared Residuals1525769249.21563







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1189917188181.8620689651735.13793103487
2184128184200.089195402-72.0891954023468
3175335175594.689195402-259.689195402361
4179566179000.489195402565.510804597669
5181140183788.189885058-2648.1898850575
6177876180713.989885057-2837.98988505745
7175041176599.389885057-1558.38988505747
8169292173559.189885057-4267.18988505749
9166070169779.389885057-3709.38988505747
10166972172270.989885058-5298.98988505754
11206348209033.189885057-2685.18988505749
12215706218849.589885057-3143.58988505749
13202108204379.017471264-2271.01747126447
14195411200397.244597701-4986.24459770114
15193111191791.8445977011319.15540229885
16195198195197.6445977010.35540229884154
17198770199985.345287356-1215.34528735632
18194163196911.145287356-2748.14528735634
19190420192796.545287356-2376.54528735634
20189733189756.345287356-23.3452873563323
21186029185976.54528735652.4547126436624
22191531188468.1452873563062.85471264368
23232571225230.3452873567340.65471264366
24243477235046.7452873568430.25471264367
25227247220576.1728735636670.8271264367
26217859216594.41264.60000000000
27208679207989690.000000000008
28213188211394.81793.2
29216234216182.50068965551.4993103448367
30213587213108.300689655478.699310344813
31209465208993.700689655471.299310344822
32204045205953.500689655-1908.50068965517
33200237202173.700689655-1936.70068965518
34203666204665.300689655-999.300689655154
35241476241427.50068965548.4993103448295
36260307251243.9006896559063.09931034483
37243324236773.3282758626550.67172413786
38244460232791.55540229911668.4445977012
39233575224186.1554022999388.84459770117
40237217227591.9554022999625.04459770117
41235243232379.6560919542863.34390804599
42230354229305.4560919541048.54390804599
43227184225190.8560919541993.14390804599
44221678222150.656091954-472.656091954007
45217142218370.856091954-1228.85609195401
46219452220862.456091954-1410.45609195400
47256446257624.656091954-1178.65609195400
48265845267441.056091954-1596.05609195402
49248624252970.483678161-4346.48367816098
50241114248988.710804598-7874.71080459768
51229245240383.310804598-11138.3108045977
52231805243789.110804598-11984.1108045977
53219277218328.308045977948.691954022999
54219313215254.1080459774058.89195402298
55212610211139.5080459771470.49195402299
56214771208099.3080459776671.691954023
57211142204319.5080459776822.491954023
58211457206811.1080459774645.89195402301
59240048243573.308045977-3525.308045977
60240636253389.708045977-12753.708045977
61230580238919.135632184-8339.13563218398

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 189917 & 188181.862068965 & 1735.13793103487 \tabularnewline
2 & 184128 & 184200.089195402 & -72.0891954023468 \tabularnewline
3 & 175335 & 175594.689195402 & -259.689195402361 \tabularnewline
4 & 179566 & 179000.489195402 & 565.510804597669 \tabularnewline
5 & 181140 & 183788.189885058 & -2648.1898850575 \tabularnewline
6 & 177876 & 180713.989885057 & -2837.98988505745 \tabularnewline
7 & 175041 & 176599.389885057 & -1558.38988505747 \tabularnewline
8 & 169292 & 173559.189885057 & -4267.18988505749 \tabularnewline
9 & 166070 & 169779.389885057 & -3709.38988505747 \tabularnewline
10 & 166972 & 172270.989885058 & -5298.98988505754 \tabularnewline
11 & 206348 & 209033.189885057 & -2685.18988505749 \tabularnewline
12 & 215706 & 218849.589885057 & -3143.58988505749 \tabularnewline
13 & 202108 & 204379.017471264 & -2271.01747126447 \tabularnewline
14 & 195411 & 200397.244597701 & -4986.24459770114 \tabularnewline
15 & 193111 & 191791.844597701 & 1319.15540229885 \tabularnewline
16 & 195198 & 195197.644597701 & 0.35540229884154 \tabularnewline
17 & 198770 & 199985.345287356 & -1215.34528735632 \tabularnewline
18 & 194163 & 196911.145287356 & -2748.14528735634 \tabularnewline
19 & 190420 & 192796.545287356 & -2376.54528735634 \tabularnewline
20 & 189733 & 189756.345287356 & -23.3452873563323 \tabularnewline
21 & 186029 & 185976.545287356 & 52.4547126436624 \tabularnewline
22 & 191531 & 188468.145287356 & 3062.85471264368 \tabularnewline
23 & 232571 & 225230.345287356 & 7340.65471264366 \tabularnewline
24 & 243477 & 235046.745287356 & 8430.25471264367 \tabularnewline
25 & 227247 & 220576.172873563 & 6670.8271264367 \tabularnewline
26 & 217859 & 216594.4 & 1264.60000000000 \tabularnewline
27 & 208679 & 207989 & 690.000000000008 \tabularnewline
28 & 213188 & 211394.8 & 1793.2 \tabularnewline
29 & 216234 & 216182.500689655 & 51.4993103448367 \tabularnewline
30 & 213587 & 213108.300689655 & 478.699310344813 \tabularnewline
31 & 209465 & 208993.700689655 & 471.299310344822 \tabularnewline
32 & 204045 & 205953.500689655 & -1908.50068965517 \tabularnewline
33 & 200237 & 202173.700689655 & -1936.70068965518 \tabularnewline
34 & 203666 & 204665.300689655 & -999.300689655154 \tabularnewline
35 & 241476 & 241427.500689655 & 48.4993103448295 \tabularnewline
36 & 260307 & 251243.900689655 & 9063.09931034483 \tabularnewline
37 & 243324 & 236773.328275862 & 6550.67172413786 \tabularnewline
38 & 244460 & 232791.555402299 & 11668.4445977012 \tabularnewline
39 & 233575 & 224186.155402299 & 9388.84459770117 \tabularnewline
40 & 237217 & 227591.955402299 & 9625.04459770117 \tabularnewline
41 & 235243 & 232379.656091954 & 2863.34390804599 \tabularnewline
42 & 230354 & 229305.456091954 & 1048.54390804599 \tabularnewline
43 & 227184 & 225190.856091954 & 1993.14390804599 \tabularnewline
44 & 221678 & 222150.656091954 & -472.656091954007 \tabularnewline
45 & 217142 & 218370.856091954 & -1228.85609195401 \tabularnewline
46 & 219452 & 220862.456091954 & -1410.45609195400 \tabularnewline
47 & 256446 & 257624.656091954 & -1178.65609195400 \tabularnewline
48 & 265845 & 267441.056091954 & -1596.05609195402 \tabularnewline
49 & 248624 & 252970.483678161 & -4346.48367816098 \tabularnewline
50 & 241114 & 248988.710804598 & -7874.71080459768 \tabularnewline
51 & 229245 & 240383.310804598 & -11138.3108045977 \tabularnewline
52 & 231805 & 243789.110804598 & -11984.1108045977 \tabularnewline
53 & 219277 & 218328.308045977 & 948.691954022999 \tabularnewline
54 & 219313 & 215254.108045977 & 4058.89195402298 \tabularnewline
55 & 212610 & 211139.508045977 & 1470.49195402299 \tabularnewline
56 & 214771 & 208099.308045977 & 6671.691954023 \tabularnewline
57 & 211142 & 204319.508045977 & 6822.491954023 \tabularnewline
58 & 211457 & 206811.108045977 & 4645.89195402301 \tabularnewline
59 & 240048 & 243573.308045977 & -3525.308045977 \tabularnewline
60 & 240636 & 253389.708045977 & -12753.708045977 \tabularnewline
61 & 230580 & 238919.135632184 & -8339.13563218398 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32577&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]189917[/C][C]188181.862068965[/C][C]1735.13793103487[/C][/ROW]
[ROW][C]2[/C][C]184128[/C][C]184200.089195402[/C][C]-72.0891954023468[/C][/ROW]
[ROW][C]3[/C][C]175335[/C][C]175594.689195402[/C][C]-259.689195402361[/C][/ROW]
[ROW][C]4[/C][C]179566[/C][C]179000.489195402[/C][C]565.510804597669[/C][/ROW]
[ROW][C]5[/C][C]181140[/C][C]183788.189885058[/C][C]-2648.1898850575[/C][/ROW]
[ROW][C]6[/C][C]177876[/C][C]180713.989885057[/C][C]-2837.98988505745[/C][/ROW]
[ROW][C]7[/C][C]175041[/C][C]176599.389885057[/C][C]-1558.38988505747[/C][/ROW]
[ROW][C]8[/C][C]169292[/C][C]173559.189885057[/C][C]-4267.18988505749[/C][/ROW]
[ROW][C]9[/C][C]166070[/C][C]169779.389885057[/C][C]-3709.38988505747[/C][/ROW]
[ROW][C]10[/C][C]166972[/C][C]172270.989885058[/C][C]-5298.98988505754[/C][/ROW]
[ROW][C]11[/C][C]206348[/C][C]209033.189885057[/C][C]-2685.18988505749[/C][/ROW]
[ROW][C]12[/C][C]215706[/C][C]218849.589885057[/C][C]-3143.58988505749[/C][/ROW]
[ROW][C]13[/C][C]202108[/C][C]204379.017471264[/C][C]-2271.01747126447[/C][/ROW]
[ROW][C]14[/C][C]195411[/C][C]200397.244597701[/C][C]-4986.24459770114[/C][/ROW]
[ROW][C]15[/C][C]193111[/C][C]191791.844597701[/C][C]1319.15540229885[/C][/ROW]
[ROW][C]16[/C][C]195198[/C][C]195197.644597701[/C][C]0.35540229884154[/C][/ROW]
[ROW][C]17[/C][C]198770[/C][C]199985.345287356[/C][C]-1215.34528735632[/C][/ROW]
[ROW][C]18[/C][C]194163[/C][C]196911.145287356[/C][C]-2748.14528735634[/C][/ROW]
[ROW][C]19[/C][C]190420[/C][C]192796.545287356[/C][C]-2376.54528735634[/C][/ROW]
[ROW][C]20[/C][C]189733[/C][C]189756.345287356[/C][C]-23.3452873563323[/C][/ROW]
[ROW][C]21[/C][C]186029[/C][C]185976.545287356[/C][C]52.4547126436624[/C][/ROW]
[ROW][C]22[/C][C]191531[/C][C]188468.145287356[/C][C]3062.85471264368[/C][/ROW]
[ROW][C]23[/C][C]232571[/C][C]225230.345287356[/C][C]7340.65471264366[/C][/ROW]
[ROW][C]24[/C][C]243477[/C][C]235046.745287356[/C][C]8430.25471264367[/C][/ROW]
[ROW][C]25[/C][C]227247[/C][C]220576.172873563[/C][C]6670.8271264367[/C][/ROW]
[ROW][C]26[/C][C]217859[/C][C]216594.4[/C][C]1264.60000000000[/C][/ROW]
[ROW][C]27[/C][C]208679[/C][C]207989[/C][C]690.000000000008[/C][/ROW]
[ROW][C]28[/C][C]213188[/C][C]211394.8[/C][C]1793.2[/C][/ROW]
[ROW][C]29[/C][C]216234[/C][C]216182.500689655[/C][C]51.4993103448367[/C][/ROW]
[ROW][C]30[/C][C]213587[/C][C]213108.300689655[/C][C]478.699310344813[/C][/ROW]
[ROW][C]31[/C][C]209465[/C][C]208993.700689655[/C][C]471.299310344822[/C][/ROW]
[ROW][C]32[/C][C]204045[/C][C]205953.500689655[/C][C]-1908.50068965517[/C][/ROW]
[ROW][C]33[/C][C]200237[/C][C]202173.700689655[/C][C]-1936.70068965518[/C][/ROW]
[ROW][C]34[/C][C]203666[/C][C]204665.300689655[/C][C]-999.300689655154[/C][/ROW]
[ROW][C]35[/C][C]241476[/C][C]241427.500689655[/C][C]48.4993103448295[/C][/ROW]
[ROW][C]36[/C][C]260307[/C][C]251243.900689655[/C][C]9063.09931034483[/C][/ROW]
[ROW][C]37[/C][C]243324[/C][C]236773.328275862[/C][C]6550.67172413786[/C][/ROW]
[ROW][C]38[/C][C]244460[/C][C]232791.555402299[/C][C]11668.4445977012[/C][/ROW]
[ROW][C]39[/C][C]233575[/C][C]224186.155402299[/C][C]9388.84459770117[/C][/ROW]
[ROW][C]40[/C][C]237217[/C][C]227591.955402299[/C][C]9625.04459770117[/C][/ROW]
[ROW][C]41[/C][C]235243[/C][C]232379.656091954[/C][C]2863.34390804599[/C][/ROW]
[ROW][C]42[/C][C]230354[/C][C]229305.456091954[/C][C]1048.54390804599[/C][/ROW]
[ROW][C]43[/C][C]227184[/C][C]225190.856091954[/C][C]1993.14390804599[/C][/ROW]
[ROW][C]44[/C][C]221678[/C][C]222150.656091954[/C][C]-472.656091954007[/C][/ROW]
[ROW][C]45[/C][C]217142[/C][C]218370.856091954[/C][C]-1228.85609195401[/C][/ROW]
[ROW][C]46[/C][C]219452[/C][C]220862.456091954[/C][C]-1410.45609195400[/C][/ROW]
[ROW][C]47[/C][C]256446[/C][C]257624.656091954[/C][C]-1178.65609195400[/C][/ROW]
[ROW][C]48[/C][C]265845[/C][C]267441.056091954[/C][C]-1596.05609195402[/C][/ROW]
[ROW][C]49[/C][C]248624[/C][C]252970.483678161[/C][C]-4346.48367816098[/C][/ROW]
[ROW][C]50[/C][C]241114[/C][C]248988.710804598[/C][C]-7874.71080459768[/C][/ROW]
[ROW][C]51[/C][C]229245[/C][C]240383.310804598[/C][C]-11138.3108045977[/C][/ROW]
[ROW][C]52[/C][C]231805[/C][C]243789.110804598[/C][C]-11984.1108045977[/C][/ROW]
[ROW][C]53[/C][C]219277[/C][C]218328.308045977[/C][C]948.691954022999[/C][/ROW]
[ROW][C]54[/C][C]219313[/C][C]215254.108045977[/C][C]4058.89195402298[/C][/ROW]
[ROW][C]55[/C][C]212610[/C][C]211139.508045977[/C][C]1470.49195402299[/C][/ROW]
[ROW][C]56[/C][C]214771[/C][C]208099.308045977[/C][C]6671.691954023[/C][/ROW]
[ROW][C]57[/C][C]211142[/C][C]204319.508045977[/C][C]6822.491954023[/C][/ROW]
[ROW][C]58[/C][C]211457[/C][C]206811.108045977[/C][C]4645.89195402301[/C][/ROW]
[ROW][C]59[/C][C]240048[/C][C]243573.308045977[/C][C]-3525.308045977[/C][/ROW]
[ROW][C]60[/C][C]240636[/C][C]253389.708045977[/C][C]-12753.708045977[/C][/ROW]
[ROW][C]61[/C][C]230580[/C][C]238919.135632184[/C][C]-8339.13563218398[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32577&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32577&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
1189917188181.8620689651735.13793103487
2184128184200.089195402-72.0891954023468
3175335175594.689195402-259.689195402361
4179566179000.489195402565.510804597669
5181140183788.189885058-2648.1898850575
6177876180713.989885057-2837.98988505745
7175041176599.389885057-1558.38988505747
8169292173559.189885057-4267.18988505749
9166070169779.389885057-3709.38988505747
10166972172270.989885058-5298.98988505754
11206348209033.189885057-2685.18988505749
12215706218849.589885057-3143.58988505749
13202108204379.017471264-2271.01747126447
14195411200397.244597701-4986.24459770114
15193111191791.8445977011319.15540229885
16195198195197.6445977010.35540229884154
17198770199985.345287356-1215.34528735632
18194163196911.145287356-2748.14528735634
19190420192796.545287356-2376.54528735634
20189733189756.345287356-23.3452873563323
21186029185976.54528735652.4547126436624
22191531188468.1452873563062.85471264368
23232571225230.3452873567340.65471264366
24243477235046.7452873568430.25471264367
25227247220576.1728735636670.8271264367
26217859216594.41264.60000000000
27208679207989690.000000000008
28213188211394.81793.2
29216234216182.50068965551.4993103448367
30213587213108.300689655478.699310344813
31209465208993.700689655471.299310344822
32204045205953.500689655-1908.50068965517
33200237202173.700689655-1936.70068965518
34203666204665.300689655-999.300689655154
35241476241427.50068965548.4993103448295
36260307251243.9006896559063.09931034483
37243324236773.3282758626550.67172413786
38244460232791.55540229911668.4445977012
39233575224186.1554022999388.84459770117
40237217227591.9554022999625.04459770117
41235243232379.6560919542863.34390804599
42230354229305.4560919541048.54390804599
43227184225190.8560919541993.14390804599
44221678222150.656091954-472.656091954007
45217142218370.856091954-1228.85609195401
46219452220862.456091954-1410.45609195400
47256446257624.656091954-1178.65609195400
48265845267441.056091954-1596.05609195402
49248624252970.483678161-4346.48367816098
50241114248988.710804598-7874.71080459768
51229245240383.310804598-11138.3108045977
52231805243789.110804598-11984.1108045977
53219277218328.308045977948.691954022999
54219313215254.1080459774058.89195402298
55212610211139.5080459771470.49195402299
56214771208099.3080459776671.691954023
57211142204319.5080459776822.491954023
58211457206811.1080459774645.89195402301
59240048243573.308045977-3525.308045977
60240636253389.708045977-12753.708045977
61230580238919.135632184-8339.13563218398







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.07416283930565310.1483256786113060.925837160694347
180.02704566753448050.05409133506896110.97295433246552
190.008779660761443580.01755932152288720.991220339238556
200.009859802443245550.01971960488649110.990140197556754
210.006937005217355480.01387401043471100.993062994782645
220.01706897620503290.03413795241006580.982931023794967
230.03107632708398920.06215265416797850.96892367291601
240.04969380773376760.09938761546753530.950306192266232
250.02974947340242370.05949894680484750.970250526597576
260.01748371949490500.03496743898980990.982516280505095
270.01252507101828850.0250501420365770.987474928981712
280.007351954681636260.01470390936327250.992648045318364
290.00432080619339410.00864161238678820.995679193806606
300.002596482481304050.00519296496260810.997403517518696
310.001611217109221370.003222434218442750.998388782890779
320.002356304732177780.004712609464355560.997643695267822
330.00651447739606340.01302895479212680.993485522603937
340.03206877991190450.06413755982380910.967931220088095
350.1740137281243990.3480274562487980.8259862718756
360.1402485658863270.2804971317726530.859751434113673
370.1475031940305740.2950063880611470.852496805969426
380.2021889177935270.4043778355870540.797811082206473
390.1527978459811100.3055956919622190.84720215401889
400.1064753049196080.2129506098392160.893524695080392
410.06609944488372870.1321988897674570.933900555116271
420.03862965622334890.07725931244669790.96137034377665
430.01859520553971190.03719041107942390.981404794460288
440.01786611963258050.0357322392651610.98213388036742

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0741628393056531 & 0.148325678611306 & 0.925837160694347 \tabularnewline
18 & 0.0270456675344805 & 0.0540913350689611 & 0.97295433246552 \tabularnewline
19 & 0.00877966076144358 & 0.0175593215228872 & 0.991220339238556 \tabularnewline
20 & 0.00985980244324555 & 0.0197196048864911 & 0.990140197556754 \tabularnewline
21 & 0.00693700521735548 & 0.0138740104347110 & 0.993062994782645 \tabularnewline
22 & 0.0170689762050329 & 0.0341379524100658 & 0.982931023794967 \tabularnewline
23 & 0.0310763270839892 & 0.0621526541679785 & 0.96892367291601 \tabularnewline
24 & 0.0496938077337676 & 0.0993876154675353 & 0.950306192266232 \tabularnewline
25 & 0.0297494734024237 & 0.0594989468048475 & 0.970250526597576 \tabularnewline
26 & 0.0174837194949050 & 0.0349674389898099 & 0.982516280505095 \tabularnewline
27 & 0.0125250710182885 & 0.025050142036577 & 0.987474928981712 \tabularnewline
28 & 0.00735195468163626 & 0.0147039093632725 & 0.992648045318364 \tabularnewline
29 & 0.0043208061933941 & 0.0086416123867882 & 0.995679193806606 \tabularnewline
30 & 0.00259648248130405 & 0.0051929649626081 & 0.997403517518696 \tabularnewline
31 & 0.00161121710922137 & 0.00322243421844275 & 0.998388782890779 \tabularnewline
32 & 0.00235630473217778 & 0.00471260946435556 & 0.997643695267822 \tabularnewline
33 & 0.0065144773960634 & 0.0130289547921268 & 0.993485522603937 \tabularnewline
34 & 0.0320687799119045 & 0.0641375598238091 & 0.967931220088095 \tabularnewline
35 & 0.174013728124399 & 0.348027456248798 & 0.8259862718756 \tabularnewline
36 & 0.140248565886327 & 0.280497131772653 & 0.859751434113673 \tabularnewline
37 & 0.147503194030574 & 0.295006388061147 & 0.852496805969426 \tabularnewline
38 & 0.202188917793527 & 0.404377835587054 & 0.797811082206473 \tabularnewline
39 & 0.152797845981110 & 0.305595691962219 & 0.84720215401889 \tabularnewline
40 & 0.106475304919608 & 0.212950609839216 & 0.893524695080392 \tabularnewline
41 & 0.0660994448837287 & 0.132198889767457 & 0.933900555116271 \tabularnewline
42 & 0.0386296562233489 & 0.0772593124466979 & 0.96137034377665 \tabularnewline
43 & 0.0185952055397119 & 0.0371904110794239 & 0.981404794460288 \tabularnewline
44 & 0.0178661196325805 & 0.035732239265161 & 0.98213388036742 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32577&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.0741628393056531[/C][C]0.148325678611306[/C][C]0.925837160694347[/C][/ROW]
[ROW][C]18[/C][C]0.0270456675344805[/C][C]0.0540913350689611[/C][C]0.97295433246552[/C][/ROW]
[ROW][C]19[/C][C]0.00877966076144358[/C][C]0.0175593215228872[/C][C]0.991220339238556[/C][/ROW]
[ROW][C]20[/C][C]0.00985980244324555[/C][C]0.0197196048864911[/C][C]0.990140197556754[/C][/ROW]
[ROW][C]21[/C][C]0.00693700521735548[/C][C]0.0138740104347110[/C][C]0.993062994782645[/C][/ROW]
[ROW][C]22[/C][C]0.0170689762050329[/C][C]0.0341379524100658[/C][C]0.982931023794967[/C][/ROW]
[ROW][C]23[/C][C]0.0310763270839892[/C][C]0.0621526541679785[/C][C]0.96892367291601[/C][/ROW]
[ROW][C]24[/C][C]0.0496938077337676[/C][C]0.0993876154675353[/C][C]0.950306192266232[/C][/ROW]
[ROW][C]25[/C][C]0.0297494734024237[/C][C]0.0594989468048475[/C][C]0.970250526597576[/C][/ROW]
[ROW][C]26[/C][C]0.0174837194949050[/C][C]0.0349674389898099[/C][C]0.982516280505095[/C][/ROW]
[ROW][C]27[/C][C]0.0125250710182885[/C][C]0.025050142036577[/C][C]0.987474928981712[/C][/ROW]
[ROW][C]28[/C][C]0.00735195468163626[/C][C]0.0147039093632725[/C][C]0.992648045318364[/C][/ROW]
[ROW][C]29[/C][C]0.0043208061933941[/C][C]0.0086416123867882[/C][C]0.995679193806606[/C][/ROW]
[ROW][C]30[/C][C]0.00259648248130405[/C][C]0.0051929649626081[/C][C]0.997403517518696[/C][/ROW]
[ROW][C]31[/C][C]0.00161121710922137[/C][C]0.00322243421844275[/C][C]0.998388782890779[/C][/ROW]
[ROW][C]32[/C][C]0.00235630473217778[/C][C]0.00471260946435556[/C][C]0.997643695267822[/C][/ROW]
[ROW][C]33[/C][C]0.0065144773960634[/C][C]0.0130289547921268[/C][C]0.993485522603937[/C][/ROW]
[ROW][C]34[/C][C]0.0320687799119045[/C][C]0.0641375598238091[/C][C]0.967931220088095[/C][/ROW]
[ROW][C]35[/C][C]0.174013728124399[/C][C]0.348027456248798[/C][C]0.8259862718756[/C][/ROW]
[ROW][C]36[/C][C]0.140248565886327[/C][C]0.280497131772653[/C][C]0.859751434113673[/C][/ROW]
[ROW][C]37[/C][C]0.147503194030574[/C][C]0.295006388061147[/C][C]0.852496805969426[/C][/ROW]
[ROW][C]38[/C][C]0.202188917793527[/C][C]0.404377835587054[/C][C]0.797811082206473[/C][/ROW]
[ROW][C]39[/C][C]0.152797845981110[/C][C]0.305595691962219[/C][C]0.84720215401889[/C][/ROW]
[ROW][C]40[/C][C]0.106475304919608[/C][C]0.212950609839216[/C][C]0.893524695080392[/C][/ROW]
[ROW][C]41[/C][C]0.0660994448837287[/C][C]0.132198889767457[/C][C]0.933900555116271[/C][/ROW]
[ROW][C]42[/C][C]0.0386296562233489[/C][C]0.0772593124466979[/C][C]0.96137034377665[/C][/ROW]
[ROW][C]43[/C][C]0.0185952055397119[/C][C]0.0371904110794239[/C][C]0.981404794460288[/C][/ROW]
[ROW][C]44[/C][C]0.0178661196325805[/C][C]0.035732239265161[/C][C]0.98213388036742[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32577&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.07416283930565310.1483256786113060.925837160694347
180.02704566753448050.05409133506896110.97295433246552
190.008779660761443580.01755932152288720.991220339238556
200.009859802443245550.01971960488649110.990140197556754
210.006937005217355480.01387401043471100.993062994782645
220.01706897620503290.03413795241006580.982931023794967
230.03107632708398920.06215265416797850.96892367291601
240.04969380773376760.09938761546753530.950306192266232
250.02974947340242370.05949894680484750.970250526597576
260.01748371949490500.03496743898980990.982516280505095
270.01252507101828850.0250501420365770.987474928981712
280.007351954681636260.01470390936327250.992648045318364
290.00432080619339410.00864161238678820.995679193806606
300.002596482481304050.00519296496260810.997403517518696
310.001611217109221370.003222434218442750.998388782890779
320.002356304732177780.004712609464355560.997643695267822
330.00651447739606340.01302895479212680.993485522603937
340.03206877991190450.06413755982380910.967931220088095
350.1740137281243990.3480274562487980.8259862718756
360.1402485658863270.2804971317726530.859751434113673
370.1475031940305740.2950063880611470.852496805969426
380.2021889177935270.4043778355870540.797811082206473
390.1527978459811100.3055956919622190.84720215401889
400.1064753049196080.2129506098392160.893524695080392
410.06609944488372870.1321988897674570.933900555116271
420.03862965622334890.07725931244669790.96137034377665
430.01859520553971190.03719041107942390.981404794460288
440.01786611963258050.0357322392651610.98213388036742







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.142857142857143NOK
5% type I error level140.5NOK
10% type I error level200.714285714285714NOK

\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 & 4 & 0.142857142857143 & NOK \tabularnewline
5% type I error level & 14 & 0.5 & NOK \tabularnewline
10% type I error level & 20 & 0.714285714285714 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32577&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]4[/C][C]0.142857142857143[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]14[/C][C]0.5[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]20[/C][C]0.714285714285714[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32577&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32577&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 level40.142857142857143NOK
5% type I error level140.5NOK
10% type I error level200.714285714285714NOK



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')
}