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 computationTue, 17 Nov 2009 11:32:13 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/17/t1258483042vqob0i5nizk0src.htm/, Retrieved Thu, 02 May 2024 01:36:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57399, Retrieved Thu, 02 May 2024 01:36:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsmet dummies en lineaire trend
Estimated Impact177
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [w7] [2009-11-17 18:32:13] [a931a0a30926b49d162330b43e89b999] [Current]
Feedback Forum

Post a new message
Dataseries X:
325412	285351
326011	286602
328282	283042
317480	276687
317539	277915
313737	277128
312276	277103
309391	275037
302950	270150
300316	267140
304035	264993
333476	287259
337698	291186
335932	292300
323931	288186
313927	281477
314485	282656
313218	280190
309664	280408
302963	276836
298989	275216
298423	274352
310631	271311
329765	289802
335083	290726
327616	292300
309119	278506
295916	269826
291413	265861
291542	269034
284678	264176
276475	255198
272566	253353
264981	246057
263290	235372
296806	258556
303598	260993
286994	254663
276427	250643
266424	243422
267153	247105
268381	248541
262522	245039
255542	237080
253158	237085
243803	225554
250741	226839
280445	247934
285257	248333
270976	246969
261076	245098
255603	246263
260376	255765
263903	264319
264291	268347
263276	273046
262572	273963
256167	267430
264221	271993
293860	292710
300713	295881
287224	293299




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=57399&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=57399&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57399&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
Werkl_vrouwen[t] = + 160892.571971533 + 0.64293510412937Werkl_mannen[t] + 1206.41823491207M1[t] -6088.32753259968M2[t] -10892.5884369475M3[t] -16353.9949846445M4[t] -16665.0020024433M5[t] -17115.4251054841M6[t] -19192.3291529422M7[t] -21189.6332953152M8[t] -22855.7574572353M9[t] -23544.7702170680M10[t] -15549.211059945M11[t] -860.874273343648t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkl_vrouwen[t] =  +  160892.571971533 +  0.64293510412937Werkl_mannen[t] +  1206.41823491207M1[t] -6088.32753259968M2[t] -10892.5884369475M3[t] -16353.9949846445M4[t] -16665.0020024433M5[t] -17115.4251054841M6[t] -19192.3291529422M7[t] -21189.6332953152M8[t] -22855.7574572353M9[t] -23544.7702170680M10[t] -15549.211059945M11[t] -860.874273343648t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57399&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkl_vrouwen[t] =  +  160892.571971533 +  0.64293510412937Werkl_mannen[t] +  1206.41823491207M1[t] -6088.32753259968M2[t] -10892.5884369475M3[t] -16353.9949846445M4[t] -16665.0020024433M5[t] -17115.4251054841M6[t] -19192.3291529422M7[t] -21189.6332953152M8[t] -22855.7574572353M9[t] -23544.7702170680M10[t] -15549.211059945M11[t] -860.874273343648t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57399&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57399&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
Werkl_vrouwen[t] = + 160892.571971533 + 0.64293510412937Werkl_mannen[t] + 1206.41823491207M1[t] -6088.32753259968M2[t] -10892.5884369475M3[t] -16353.9949846445M4[t] -16665.0020024433M5[t] -17115.4251054841M6[t] -19192.3291529422M7[t] -21189.6332953152M8[t] -22855.7574572353M9[t] -23544.7702170680M10[t] -15549.211059945M11[t] -860.874273343648t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)160892.57197153312480.2502912.891800
Werkl_mannen0.642935104129370.04204515.291700
M11206.418234912072890.0817950.41740.6782220.339111
M2-6088.327532599682887.887095-2.10820.0402570.020129
M3-10892.58843694753058.029712-3.5620.0008430.000422
M4-16353.99498464453092.075957-5.2893e-061e-06
M5-16665.00200244333067.28635-5.43312e-061e-06
M6-17115.42510548413049.075508-5.61331e-060
M7-19192.32915294223049.283698-6.29400
M8-21189.63329531523069.31263-6.903700
M9-22855.75745723533076.478625-7.429200
M10-23544.77021706803128.904119-7.524900
M11-15549.2110599453146.715651-4.94141e-055e-06
t-860.87427334364838.807193-22.183400

\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) & 160892.571971533 & 12480.25029 & 12.8918 & 0 & 0 \tabularnewline
Werkl_mannen & 0.64293510412937 & 0.042045 & 15.2917 & 0 & 0 \tabularnewline
M1 & 1206.41823491207 & 2890.081795 & 0.4174 & 0.678222 & 0.339111 \tabularnewline
M2 & -6088.32753259968 & 2887.887095 & -2.1082 & 0.040257 & 0.020129 \tabularnewline
M3 & -10892.5884369475 & 3058.029712 & -3.562 & 0.000843 & 0.000422 \tabularnewline
M4 & -16353.9949846445 & 3092.075957 & -5.289 & 3e-06 & 1e-06 \tabularnewline
M5 & -16665.0020024433 & 3067.28635 & -5.4331 & 2e-06 & 1e-06 \tabularnewline
M6 & -17115.4251054841 & 3049.075508 & -5.6133 & 1e-06 & 0 \tabularnewline
M7 & -19192.3291529422 & 3049.283698 & -6.294 & 0 & 0 \tabularnewline
M8 & -21189.6332953152 & 3069.31263 & -6.9037 & 0 & 0 \tabularnewline
M9 & -22855.7574572353 & 3076.478625 & -7.4292 & 0 & 0 \tabularnewline
M10 & -23544.7702170680 & 3128.904119 & -7.5249 & 0 & 0 \tabularnewline
M11 & -15549.211059945 & 3146.715651 & -4.9414 & 1e-05 & 5e-06 \tabularnewline
t & -860.874273343648 & 38.807193 & -22.1834 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57399&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]160892.571971533[/C][C]12480.25029[/C][C]12.8918[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Werkl_mannen[/C][C]0.64293510412937[/C][C]0.042045[/C][C]15.2917[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]1206.41823491207[/C][C]2890.081795[/C][C]0.4174[/C][C]0.678222[/C][C]0.339111[/C][/ROW]
[ROW][C]M2[/C][C]-6088.32753259968[/C][C]2887.887095[/C][C]-2.1082[/C][C]0.040257[/C][C]0.020129[/C][/ROW]
[ROW][C]M3[/C][C]-10892.5884369475[/C][C]3058.029712[/C][C]-3.562[/C][C]0.000843[/C][C]0.000422[/C][/ROW]
[ROW][C]M4[/C][C]-16353.9949846445[/C][C]3092.075957[/C][C]-5.289[/C][C]3e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M5[/C][C]-16665.0020024433[/C][C]3067.28635[/C][C]-5.4331[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M6[/C][C]-17115.4251054841[/C][C]3049.075508[/C][C]-5.6133[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]-19192.3291529422[/C][C]3049.283698[/C][C]-6.294[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-21189.6332953152[/C][C]3069.31263[/C][C]-6.9037[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]-22855.7574572353[/C][C]3076.478625[/C][C]-7.4292[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-23544.7702170680[/C][C]3128.904119[/C][C]-7.5249[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-15549.211059945[/C][C]3146.715651[/C][C]-4.9414[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]t[/C][C]-860.874273343648[/C][C]38.807193[/C][C]-22.1834[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57399&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57399&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)160892.57197153312480.2502912.891800
Werkl_mannen0.642935104129370.04204515.291700
M11206.418234912072890.0817950.41740.6782220.339111
M2-6088.327532599682887.887095-2.10820.0402570.020129
M3-10892.58843694753058.029712-3.5620.0008430.000422
M4-16353.99498464453092.075957-5.2893e-061e-06
M5-16665.00200244333067.28635-5.43312e-061e-06
M6-17115.42510548413049.075508-5.61331e-060
M7-19192.32915294223049.283698-6.29400
M8-21189.63329531523069.31263-6.903700
M9-22855.75745723533076.478625-7.429200
M10-23544.77021706803128.904119-7.524900
M11-15549.2110599453146.715651-4.94141e-055e-06
t-860.87427334364838.807193-22.183400







Multiple Linear Regression - Regression Statistics
Multiple R0.986902480169372
R-squared0.973976505364457
Adjusted R-squared0.96692847556733
F-TEST (value)138.19131493479
F-TEST (DF numerator)13
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4763.60754657105
Sum Squared Residuals1089213929.17193

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.986902480169372 \tabularnewline
R-squared & 0.973976505364457 \tabularnewline
Adjusted R-squared & 0.96692847556733 \tabularnewline
F-TEST (value) & 138.19131493479 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4763.60754657105 \tabularnewline
Sum Squared Residuals & 1089213929.17193 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57399&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.986902480169372[/C][/ROW]
[ROW][C]R-squared[/C][C]0.973976505364457[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.96692847556733[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]138.19131493479[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/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]4763.60754657105[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1089213929.17193[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57399&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57399&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.986902480169372
R-squared0.973976505364457
Adjusted R-squared0.96692847556733
F-TEST (value)138.19131493479
F-TEST (DF numerator)13
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4763.60754657105
Sum Squared Residuals1089213929.17193







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1325412344700.290831521-19288.2908315212
2326011337348.982605932-11337.9826059318
3328282329394.99845754-1112.99845753988
4317480318986.865049757-1506.86504975702
5317539318604.508066485-1065.50806648545
6313737316787.220763151-3050.22076315125
7312276313833.369064746-1557.36906474627
8309391309646.886723898-255.886723898323
9302950303977.864434754-1027.86443475432
10300316300492.742738149-176.742738148546
11304035306247.045953362-2212.04595336215
12333476335250.975768508-1774.97576850805
13337698338121.325883993-423.325883992537
14335932330681.9355491375250.06445086273
15323931322371.7653530581559.23464694243
16313927311736.0329184132190.96708158707
17314485311322.1721150393162.82788496098
18313218308425.3967718724792.60322812843
19309664305627.778303774036.22169622992
20302963300473.0356961032489.96430389671
21298989296904.482392152084.51760785004
22298423294799.0994290063623.90057099423
23310631299978.61866112810652.3813388722
24329765326555.4684581853209.53154181472
25335083327495.0844559697587.91554403076
26327616320351.4442690137264.55573098653
27309119305817.6622649623301.33773503850
28295916293914.7047400782001.29525992213
29291413290193.5857610631219.41423893752
30291542290922.321470081619.678529919447
31284678284861.164413418-183.164413418378
32276475276230.714632828244.285367171788
33272566272517.50093044648.4990695542256
34264981266276.759377541-1295.75937754149
35263290266541.682673699-3251.68267369856
36296806296135.826914435670.17308556478
37303598298048.2037247675549.79627523308
38286994285822.8044747731171.19552522739
39276427277573.070178481-1146.07017848109
40266424266608.154970522-184.154970522214
41267153267804.203667888-651.203667888241
42268381267416.161101034964.838898966398
43262522262226.824045571295.175954429148
44255542254251.5251360891290.47486391148
45253158251727.7413763451430.25862365459
46243803242764.1696574531038.83034254675
47250741250725.02615003915.9738499611258
48280445278976.0789582491468.92104175072
49285257279578.1540263655678.84597363468
50270976270545.570503477430.429496522534
51261076263677.50374596-2601.50374595996
52255603258104.24232123-2501.24232122998
53260376263041.530389525-2665.53038952481
54263903267229.899893863-3326.89989386303
55264291266881.864172494-2590.86417249443
56263276267044.837811082-3768.83781108166
57262572265107.410866305-2535.41086630453
58256167259357.228797851-3190.22879785095
59264221269425.626561773-5204.62656177266
60293860297433.649900622-3573.64990062217
61300713299817.941077385895.05892261519
62287224290002.262597667-2778.26259766740

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 325412 & 344700.290831521 & -19288.2908315212 \tabularnewline
2 & 326011 & 337348.982605932 & -11337.9826059318 \tabularnewline
3 & 328282 & 329394.99845754 & -1112.99845753988 \tabularnewline
4 & 317480 & 318986.865049757 & -1506.86504975702 \tabularnewline
5 & 317539 & 318604.508066485 & -1065.50806648545 \tabularnewline
6 & 313737 & 316787.220763151 & -3050.22076315125 \tabularnewline
7 & 312276 & 313833.369064746 & -1557.36906474627 \tabularnewline
8 & 309391 & 309646.886723898 & -255.886723898323 \tabularnewline
9 & 302950 & 303977.864434754 & -1027.86443475432 \tabularnewline
10 & 300316 & 300492.742738149 & -176.742738148546 \tabularnewline
11 & 304035 & 306247.045953362 & -2212.04595336215 \tabularnewline
12 & 333476 & 335250.975768508 & -1774.97576850805 \tabularnewline
13 & 337698 & 338121.325883993 & -423.325883992537 \tabularnewline
14 & 335932 & 330681.935549137 & 5250.06445086273 \tabularnewline
15 & 323931 & 322371.765353058 & 1559.23464694243 \tabularnewline
16 & 313927 & 311736.032918413 & 2190.96708158707 \tabularnewline
17 & 314485 & 311322.172115039 & 3162.82788496098 \tabularnewline
18 & 313218 & 308425.396771872 & 4792.60322812843 \tabularnewline
19 & 309664 & 305627.77830377 & 4036.22169622992 \tabularnewline
20 & 302963 & 300473.035696103 & 2489.96430389671 \tabularnewline
21 & 298989 & 296904.48239215 & 2084.51760785004 \tabularnewline
22 & 298423 & 294799.099429006 & 3623.90057099423 \tabularnewline
23 & 310631 & 299978.618661128 & 10652.3813388722 \tabularnewline
24 & 329765 & 326555.468458185 & 3209.53154181472 \tabularnewline
25 & 335083 & 327495.084455969 & 7587.91554403076 \tabularnewline
26 & 327616 & 320351.444269013 & 7264.55573098653 \tabularnewline
27 & 309119 & 305817.662264962 & 3301.33773503850 \tabularnewline
28 & 295916 & 293914.704740078 & 2001.29525992213 \tabularnewline
29 & 291413 & 290193.585761063 & 1219.41423893752 \tabularnewline
30 & 291542 & 290922.321470081 & 619.678529919447 \tabularnewline
31 & 284678 & 284861.164413418 & -183.164413418378 \tabularnewline
32 & 276475 & 276230.714632828 & 244.285367171788 \tabularnewline
33 & 272566 & 272517.500930446 & 48.4990695542256 \tabularnewline
34 & 264981 & 266276.759377541 & -1295.75937754149 \tabularnewline
35 & 263290 & 266541.682673699 & -3251.68267369856 \tabularnewline
36 & 296806 & 296135.826914435 & 670.17308556478 \tabularnewline
37 & 303598 & 298048.203724767 & 5549.79627523308 \tabularnewline
38 & 286994 & 285822.804474773 & 1171.19552522739 \tabularnewline
39 & 276427 & 277573.070178481 & -1146.07017848109 \tabularnewline
40 & 266424 & 266608.154970522 & -184.154970522214 \tabularnewline
41 & 267153 & 267804.203667888 & -651.203667888241 \tabularnewline
42 & 268381 & 267416.161101034 & 964.838898966398 \tabularnewline
43 & 262522 & 262226.824045571 & 295.175954429148 \tabularnewline
44 & 255542 & 254251.525136089 & 1290.47486391148 \tabularnewline
45 & 253158 & 251727.741376345 & 1430.25862365459 \tabularnewline
46 & 243803 & 242764.169657453 & 1038.83034254675 \tabularnewline
47 & 250741 & 250725.026150039 & 15.9738499611258 \tabularnewline
48 & 280445 & 278976.078958249 & 1468.92104175072 \tabularnewline
49 & 285257 & 279578.154026365 & 5678.84597363468 \tabularnewline
50 & 270976 & 270545.570503477 & 430.429496522534 \tabularnewline
51 & 261076 & 263677.50374596 & -2601.50374595996 \tabularnewline
52 & 255603 & 258104.24232123 & -2501.24232122998 \tabularnewline
53 & 260376 & 263041.530389525 & -2665.53038952481 \tabularnewline
54 & 263903 & 267229.899893863 & -3326.89989386303 \tabularnewline
55 & 264291 & 266881.864172494 & -2590.86417249443 \tabularnewline
56 & 263276 & 267044.837811082 & -3768.83781108166 \tabularnewline
57 & 262572 & 265107.410866305 & -2535.41086630453 \tabularnewline
58 & 256167 & 259357.228797851 & -3190.22879785095 \tabularnewline
59 & 264221 & 269425.626561773 & -5204.62656177266 \tabularnewline
60 & 293860 & 297433.649900622 & -3573.64990062217 \tabularnewline
61 & 300713 & 299817.941077385 & 895.05892261519 \tabularnewline
62 & 287224 & 290002.262597667 & -2778.26259766740 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57399&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]325412[/C][C]344700.290831521[/C][C]-19288.2908315212[/C][/ROW]
[ROW][C]2[/C][C]326011[/C][C]337348.982605932[/C][C]-11337.9826059318[/C][/ROW]
[ROW][C]3[/C][C]328282[/C][C]329394.99845754[/C][C]-1112.99845753988[/C][/ROW]
[ROW][C]4[/C][C]317480[/C][C]318986.865049757[/C][C]-1506.86504975702[/C][/ROW]
[ROW][C]5[/C][C]317539[/C][C]318604.508066485[/C][C]-1065.50806648545[/C][/ROW]
[ROW][C]6[/C][C]313737[/C][C]316787.220763151[/C][C]-3050.22076315125[/C][/ROW]
[ROW][C]7[/C][C]312276[/C][C]313833.369064746[/C][C]-1557.36906474627[/C][/ROW]
[ROW][C]8[/C][C]309391[/C][C]309646.886723898[/C][C]-255.886723898323[/C][/ROW]
[ROW][C]9[/C][C]302950[/C][C]303977.864434754[/C][C]-1027.86443475432[/C][/ROW]
[ROW][C]10[/C][C]300316[/C][C]300492.742738149[/C][C]-176.742738148546[/C][/ROW]
[ROW][C]11[/C][C]304035[/C][C]306247.045953362[/C][C]-2212.04595336215[/C][/ROW]
[ROW][C]12[/C][C]333476[/C][C]335250.975768508[/C][C]-1774.97576850805[/C][/ROW]
[ROW][C]13[/C][C]337698[/C][C]338121.325883993[/C][C]-423.325883992537[/C][/ROW]
[ROW][C]14[/C][C]335932[/C][C]330681.935549137[/C][C]5250.06445086273[/C][/ROW]
[ROW][C]15[/C][C]323931[/C][C]322371.765353058[/C][C]1559.23464694243[/C][/ROW]
[ROW][C]16[/C][C]313927[/C][C]311736.032918413[/C][C]2190.96708158707[/C][/ROW]
[ROW][C]17[/C][C]314485[/C][C]311322.172115039[/C][C]3162.82788496098[/C][/ROW]
[ROW][C]18[/C][C]313218[/C][C]308425.396771872[/C][C]4792.60322812843[/C][/ROW]
[ROW][C]19[/C][C]309664[/C][C]305627.77830377[/C][C]4036.22169622992[/C][/ROW]
[ROW][C]20[/C][C]302963[/C][C]300473.035696103[/C][C]2489.96430389671[/C][/ROW]
[ROW][C]21[/C][C]298989[/C][C]296904.48239215[/C][C]2084.51760785004[/C][/ROW]
[ROW][C]22[/C][C]298423[/C][C]294799.099429006[/C][C]3623.90057099423[/C][/ROW]
[ROW][C]23[/C][C]310631[/C][C]299978.618661128[/C][C]10652.3813388722[/C][/ROW]
[ROW][C]24[/C][C]329765[/C][C]326555.468458185[/C][C]3209.53154181472[/C][/ROW]
[ROW][C]25[/C][C]335083[/C][C]327495.084455969[/C][C]7587.91554403076[/C][/ROW]
[ROW][C]26[/C][C]327616[/C][C]320351.444269013[/C][C]7264.55573098653[/C][/ROW]
[ROW][C]27[/C][C]309119[/C][C]305817.662264962[/C][C]3301.33773503850[/C][/ROW]
[ROW][C]28[/C][C]295916[/C][C]293914.704740078[/C][C]2001.29525992213[/C][/ROW]
[ROW][C]29[/C][C]291413[/C][C]290193.585761063[/C][C]1219.41423893752[/C][/ROW]
[ROW][C]30[/C][C]291542[/C][C]290922.321470081[/C][C]619.678529919447[/C][/ROW]
[ROW][C]31[/C][C]284678[/C][C]284861.164413418[/C][C]-183.164413418378[/C][/ROW]
[ROW][C]32[/C][C]276475[/C][C]276230.714632828[/C][C]244.285367171788[/C][/ROW]
[ROW][C]33[/C][C]272566[/C][C]272517.500930446[/C][C]48.4990695542256[/C][/ROW]
[ROW][C]34[/C][C]264981[/C][C]266276.759377541[/C][C]-1295.75937754149[/C][/ROW]
[ROW][C]35[/C][C]263290[/C][C]266541.682673699[/C][C]-3251.68267369856[/C][/ROW]
[ROW][C]36[/C][C]296806[/C][C]296135.826914435[/C][C]670.17308556478[/C][/ROW]
[ROW][C]37[/C][C]303598[/C][C]298048.203724767[/C][C]5549.79627523308[/C][/ROW]
[ROW][C]38[/C][C]286994[/C][C]285822.804474773[/C][C]1171.19552522739[/C][/ROW]
[ROW][C]39[/C][C]276427[/C][C]277573.070178481[/C][C]-1146.07017848109[/C][/ROW]
[ROW][C]40[/C][C]266424[/C][C]266608.154970522[/C][C]-184.154970522214[/C][/ROW]
[ROW][C]41[/C][C]267153[/C][C]267804.203667888[/C][C]-651.203667888241[/C][/ROW]
[ROW][C]42[/C][C]268381[/C][C]267416.161101034[/C][C]964.838898966398[/C][/ROW]
[ROW][C]43[/C][C]262522[/C][C]262226.824045571[/C][C]295.175954429148[/C][/ROW]
[ROW][C]44[/C][C]255542[/C][C]254251.525136089[/C][C]1290.47486391148[/C][/ROW]
[ROW][C]45[/C][C]253158[/C][C]251727.741376345[/C][C]1430.25862365459[/C][/ROW]
[ROW][C]46[/C][C]243803[/C][C]242764.169657453[/C][C]1038.83034254675[/C][/ROW]
[ROW][C]47[/C][C]250741[/C][C]250725.026150039[/C][C]15.9738499611258[/C][/ROW]
[ROW][C]48[/C][C]280445[/C][C]278976.078958249[/C][C]1468.92104175072[/C][/ROW]
[ROW][C]49[/C][C]285257[/C][C]279578.154026365[/C][C]5678.84597363468[/C][/ROW]
[ROW][C]50[/C][C]270976[/C][C]270545.570503477[/C][C]430.429496522534[/C][/ROW]
[ROW][C]51[/C][C]261076[/C][C]263677.50374596[/C][C]-2601.50374595996[/C][/ROW]
[ROW][C]52[/C][C]255603[/C][C]258104.24232123[/C][C]-2501.24232122998[/C][/ROW]
[ROW][C]53[/C][C]260376[/C][C]263041.530389525[/C][C]-2665.53038952481[/C][/ROW]
[ROW][C]54[/C][C]263903[/C][C]267229.899893863[/C][C]-3326.89989386303[/C][/ROW]
[ROW][C]55[/C][C]264291[/C][C]266881.864172494[/C][C]-2590.86417249443[/C][/ROW]
[ROW][C]56[/C][C]263276[/C][C]267044.837811082[/C][C]-3768.83781108166[/C][/ROW]
[ROW][C]57[/C][C]262572[/C][C]265107.410866305[/C][C]-2535.41086630453[/C][/ROW]
[ROW][C]58[/C][C]256167[/C][C]259357.228797851[/C][C]-3190.22879785095[/C][/ROW]
[ROW][C]59[/C][C]264221[/C][C]269425.626561773[/C][C]-5204.62656177266[/C][/ROW]
[ROW][C]60[/C][C]293860[/C][C]297433.649900622[/C][C]-3573.64990062217[/C][/ROW]
[ROW][C]61[/C][C]300713[/C][C]299817.941077385[/C][C]895.05892261519[/C][/ROW]
[ROW][C]62[/C][C]287224[/C][C]290002.262597667[/C][C]-2778.26259766740[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57399&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57399&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
1325412344700.290831521-19288.2908315212
2326011337348.982605932-11337.9826059318
3328282329394.99845754-1112.99845753988
4317480318986.865049757-1506.86504975702
5317539318604.508066485-1065.50806648545
6313737316787.220763151-3050.22076315125
7312276313833.369064746-1557.36906474627
8309391309646.886723898-255.886723898323
9302950303977.864434754-1027.86443475432
10300316300492.742738149-176.742738148546
11304035306247.045953362-2212.04595336215
12333476335250.975768508-1774.97576850805
13337698338121.325883993-423.325883992537
14335932330681.9355491375250.06445086273
15323931322371.7653530581559.23464694243
16313927311736.0329184132190.96708158707
17314485311322.1721150393162.82788496098
18313218308425.3967718724792.60322812843
19309664305627.778303774036.22169622992
20302963300473.0356961032489.96430389671
21298989296904.482392152084.51760785004
22298423294799.0994290063623.90057099423
23310631299978.61866112810652.3813388722
24329765326555.4684581853209.53154181472
25335083327495.0844559697587.91554403076
26327616320351.4442690137264.55573098653
27309119305817.6622649623301.33773503850
28295916293914.7047400782001.29525992213
29291413290193.5857610631219.41423893752
30291542290922.321470081619.678529919447
31284678284861.164413418-183.164413418378
32276475276230.714632828244.285367171788
33272566272517.50093044648.4990695542256
34264981266276.759377541-1295.75937754149
35263290266541.682673699-3251.68267369856
36296806296135.826914435670.17308556478
37303598298048.2037247675549.79627523308
38286994285822.8044747731171.19552522739
39276427277573.070178481-1146.07017848109
40266424266608.154970522-184.154970522214
41267153267804.203667888-651.203667888241
42268381267416.161101034964.838898966398
43262522262226.824045571295.175954429148
44255542254251.5251360891290.47486391148
45253158251727.7413763451430.25862365459
46243803242764.1696574531038.83034254675
47250741250725.02615003915.9738499611258
48280445278976.0789582491468.92104175072
49285257279578.1540263655678.84597363468
50270976270545.570503477430.429496522534
51261076263677.50374596-2601.50374595996
52255603258104.24232123-2501.24232122998
53260376263041.530389525-2665.53038952481
54263903267229.899893863-3326.89989386303
55264291266881.864172494-2590.86417249443
56263276267044.837811082-3768.83781108166
57262572265107.410866305-2535.41086630453
58256167259357.228797851-3190.22879785095
59264221269425.626561773-5204.62656177266
60293860297433.649900622-3573.64990062217
61300713299817.941077385895.05892261519
62287224290002.262597667-2778.26259766740







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.7161607534936360.5676784930127270.283839246506364
180.9976572950859470.004685409828106540.00234270491405327
190.9943682768486130.01126344630277390.00563172315138693
200.988832565306010.02233486938797770.0111674346939888
210.9915181337217380.0169637325565250.0084818662782625
220.9946111445233990.01077771095320230.00538885547660113
230.9999442668603850.0001114662792294895.57331396147444e-05
240.999846728681180.0003065426376405550.000153271318820278
250.9999485917611190.0001028164777621245.1408238881062e-05
260.9999928641205981.42717588030777e-057.13587940153883e-06
270.999999380435481.23912903904109e-066.19564519520543e-07
280.999999811696993.76606021410079e-071.88303010705040e-07
290.9999999039652761.92069447634967e-079.60347238174836e-08
300.9999998873454352.25309130005181e-071.12654565002590e-07
310.9999996087122567.8257548837601e-073.91287744188004e-07
320.9999990008934661.99821306758102e-069.99106533790509e-07
330.9999965276178446.94476431136177e-063.47238215568089e-06
340.9999921103249741.57793500510146e-057.88967502550731e-06
350.9999997772662574.4546748635223e-072.22733743176115e-07
360.9999997417616245.16476751117645e-072.58238375558823e-07
370.9999997935115494.12976902057588e-072.06488451028794e-07
380.9999997748082074.50383585569391e-072.25191792784695e-07
390.9999986227202792.75455944259531e-061.37727972129765e-06
400.9999908826786831.82346426333804e-059.11732131669019e-06
410.9999736342502285.2731499543341e-052.63657497716705e-05
420.9999025228533990.0001949542932021269.74771466010628e-05
430.9996207339364640.0007585321270729150.000379266063536458
440.998276257700450.00344748459910010.00172374229955005
450.9895646971655820.02087060566883550.0104353028344178

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.716160753493636 & 0.567678493012727 & 0.283839246506364 \tabularnewline
18 & 0.997657295085947 & 0.00468540982810654 & 0.00234270491405327 \tabularnewline
19 & 0.994368276848613 & 0.0112634463027739 & 0.00563172315138693 \tabularnewline
20 & 0.98883256530601 & 0.0223348693879777 & 0.0111674346939888 \tabularnewline
21 & 0.991518133721738 & 0.016963732556525 & 0.0084818662782625 \tabularnewline
22 & 0.994611144523399 & 0.0107777109532023 & 0.00538885547660113 \tabularnewline
23 & 0.999944266860385 & 0.000111466279229489 & 5.57331396147444e-05 \tabularnewline
24 & 0.99984672868118 & 0.000306542637640555 & 0.000153271318820278 \tabularnewline
25 & 0.999948591761119 & 0.000102816477762124 & 5.1408238881062e-05 \tabularnewline
26 & 0.999992864120598 & 1.42717588030777e-05 & 7.13587940153883e-06 \tabularnewline
27 & 0.99999938043548 & 1.23912903904109e-06 & 6.19564519520543e-07 \tabularnewline
28 & 0.99999981169699 & 3.76606021410079e-07 & 1.88303010705040e-07 \tabularnewline
29 & 0.999999903965276 & 1.92069447634967e-07 & 9.60347238174836e-08 \tabularnewline
30 & 0.999999887345435 & 2.25309130005181e-07 & 1.12654565002590e-07 \tabularnewline
31 & 0.999999608712256 & 7.8257548837601e-07 & 3.91287744188004e-07 \tabularnewline
32 & 0.999999000893466 & 1.99821306758102e-06 & 9.99106533790509e-07 \tabularnewline
33 & 0.999996527617844 & 6.94476431136177e-06 & 3.47238215568089e-06 \tabularnewline
34 & 0.999992110324974 & 1.57793500510146e-05 & 7.88967502550731e-06 \tabularnewline
35 & 0.999999777266257 & 4.4546748635223e-07 & 2.22733743176115e-07 \tabularnewline
36 & 0.999999741761624 & 5.16476751117645e-07 & 2.58238375558823e-07 \tabularnewline
37 & 0.999999793511549 & 4.12976902057588e-07 & 2.06488451028794e-07 \tabularnewline
38 & 0.999999774808207 & 4.50383585569391e-07 & 2.25191792784695e-07 \tabularnewline
39 & 0.999998622720279 & 2.75455944259531e-06 & 1.37727972129765e-06 \tabularnewline
40 & 0.999990882678683 & 1.82346426333804e-05 & 9.11732131669019e-06 \tabularnewline
41 & 0.999973634250228 & 5.2731499543341e-05 & 2.63657497716705e-05 \tabularnewline
42 & 0.999902522853399 & 0.000194954293202126 & 9.74771466010628e-05 \tabularnewline
43 & 0.999620733936464 & 0.000758532127072915 & 0.000379266063536458 \tabularnewline
44 & 0.99827625770045 & 0.0034474845991001 & 0.00172374229955005 \tabularnewline
45 & 0.989564697165582 & 0.0208706056688355 & 0.0104353028344178 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57399&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.716160753493636[/C][C]0.567678493012727[/C][C]0.283839246506364[/C][/ROW]
[ROW][C]18[/C][C]0.997657295085947[/C][C]0.00468540982810654[/C][C]0.00234270491405327[/C][/ROW]
[ROW][C]19[/C][C]0.994368276848613[/C][C]0.0112634463027739[/C][C]0.00563172315138693[/C][/ROW]
[ROW][C]20[/C][C]0.98883256530601[/C][C]0.0223348693879777[/C][C]0.0111674346939888[/C][/ROW]
[ROW][C]21[/C][C]0.991518133721738[/C][C]0.016963732556525[/C][C]0.0084818662782625[/C][/ROW]
[ROW][C]22[/C][C]0.994611144523399[/C][C]0.0107777109532023[/C][C]0.00538885547660113[/C][/ROW]
[ROW][C]23[/C][C]0.999944266860385[/C][C]0.000111466279229489[/C][C]5.57331396147444e-05[/C][/ROW]
[ROW][C]24[/C][C]0.99984672868118[/C][C]0.000306542637640555[/C][C]0.000153271318820278[/C][/ROW]
[ROW][C]25[/C][C]0.999948591761119[/C][C]0.000102816477762124[/C][C]5.1408238881062e-05[/C][/ROW]
[ROW][C]26[/C][C]0.999992864120598[/C][C]1.42717588030777e-05[/C][C]7.13587940153883e-06[/C][/ROW]
[ROW][C]27[/C][C]0.99999938043548[/C][C]1.23912903904109e-06[/C][C]6.19564519520543e-07[/C][/ROW]
[ROW][C]28[/C][C]0.99999981169699[/C][C]3.76606021410079e-07[/C][C]1.88303010705040e-07[/C][/ROW]
[ROW][C]29[/C][C]0.999999903965276[/C][C]1.92069447634967e-07[/C][C]9.60347238174836e-08[/C][/ROW]
[ROW][C]30[/C][C]0.999999887345435[/C][C]2.25309130005181e-07[/C][C]1.12654565002590e-07[/C][/ROW]
[ROW][C]31[/C][C]0.999999608712256[/C][C]7.8257548837601e-07[/C][C]3.91287744188004e-07[/C][/ROW]
[ROW][C]32[/C][C]0.999999000893466[/C][C]1.99821306758102e-06[/C][C]9.99106533790509e-07[/C][/ROW]
[ROW][C]33[/C][C]0.999996527617844[/C][C]6.94476431136177e-06[/C][C]3.47238215568089e-06[/C][/ROW]
[ROW][C]34[/C][C]0.999992110324974[/C][C]1.57793500510146e-05[/C][C]7.88967502550731e-06[/C][/ROW]
[ROW][C]35[/C][C]0.999999777266257[/C][C]4.4546748635223e-07[/C][C]2.22733743176115e-07[/C][/ROW]
[ROW][C]36[/C][C]0.999999741761624[/C][C]5.16476751117645e-07[/C][C]2.58238375558823e-07[/C][/ROW]
[ROW][C]37[/C][C]0.999999793511549[/C][C]4.12976902057588e-07[/C][C]2.06488451028794e-07[/C][/ROW]
[ROW][C]38[/C][C]0.999999774808207[/C][C]4.50383585569391e-07[/C][C]2.25191792784695e-07[/C][/ROW]
[ROW][C]39[/C][C]0.999998622720279[/C][C]2.75455944259531e-06[/C][C]1.37727972129765e-06[/C][/ROW]
[ROW][C]40[/C][C]0.999990882678683[/C][C]1.82346426333804e-05[/C][C]9.11732131669019e-06[/C][/ROW]
[ROW][C]41[/C][C]0.999973634250228[/C][C]5.2731499543341e-05[/C][C]2.63657497716705e-05[/C][/ROW]
[ROW][C]42[/C][C]0.999902522853399[/C][C]0.000194954293202126[/C][C]9.74771466010628e-05[/C][/ROW]
[ROW][C]43[/C][C]0.999620733936464[/C][C]0.000758532127072915[/C][C]0.000379266063536458[/C][/ROW]
[ROW][C]44[/C][C]0.99827625770045[/C][C]0.0034474845991001[/C][C]0.00172374229955005[/C][/ROW]
[ROW][C]45[/C][C]0.989564697165582[/C][C]0.0208706056688355[/C][C]0.0104353028344178[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57399&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57399&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.7161607534936360.5676784930127270.283839246506364
180.9976572950859470.004685409828106540.00234270491405327
190.9943682768486130.01126344630277390.00563172315138693
200.988832565306010.02233486938797770.0111674346939888
210.9915181337217380.0169637325565250.0084818662782625
220.9946111445233990.01077771095320230.00538885547660113
230.9999442668603850.0001114662792294895.57331396147444e-05
240.999846728681180.0003065426376405550.000153271318820278
250.9999485917611190.0001028164777621245.1408238881062e-05
260.9999928641205981.42717588030777e-057.13587940153883e-06
270.999999380435481.23912903904109e-066.19564519520543e-07
280.999999811696993.76606021410079e-071.88303010705040e-07
290.9999999039652761.92069447634967e-079.60347238174836e-08
300.9999998873454352.25309130005181e-071.12654565002590e-07
310.9999996087122567.8257548837601e-073.91287744188004e-07
320.9999990008934661.99821306758102e-069.99106533790509e-07
330.9999965276178446.94476431136177e-063.47238215568089e-06
340.9999921103249741.57793500510146e-057.88967502550731e-06
350.9999997772662574.4546748635223e-072.22733743176115e-07
360.9999997417616245.16476751117645e-072.58238375558823e-07
370.9999997935115494.12976902057588e-072.06488451028794e-07
380.9999997748082074.50383585569391e-072.25191792784695e-07
390.9999986227202792.75455944259531e-061.37727972129765e-06
400.9999908826786831.82346426333804e-059.11732131669019e-06
410.9999736342502285.2731499543341e-052.63657497716705e-05
420.9999025228533990.0001949542932021269.74771466010628e-05
430.9996207339364640.0007585321270729150.000379266063536458
440.998276257700450.00344748459910010.00172374229955005
450.9895646971655820.02087060566883550.0104353028344178







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level230.793103448275862NOK
5% type I error level280.96551724137931NOK
10% type I error level280.96551724137931NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57399&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 level230.793103448275862NOK
5% type I error level280.96551724137931NOK
10% type I error level280.96551724137931NOK



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