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 computationMon, 10 Dec 2012 11:08:31 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/10/t1355155910jaq5co0mmnc2mj2.htm/, Retrieved Thu, 25 Apr 2024 14:04:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198224, Retrieved Thu, 25 Apr 2024 14:04:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact69
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2010-12-05 18:56:24] [b98453cac15ba1066b407e146608df68]
- R PD    [Multiple Regression] [WS10: Multiple re...] [2012-12-10 16:08:31] [933e9ab295d38e240eca0a457ef09371] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907	56	396	81	3	79	30
120982	56	297	55	4	58	28
176508	54	559	50	12	60	38
179321	89	967	125	2	108	30
123185	40	270	40	1	49	22
52746	25	143	37	3	0	26
385534	92	1562	63	0	121	25
33170	18	109	44	0	1	18
101645	63	371	88	0	20	11
149061	44	656	66	5	43	26
165446	33	511	57	0	69	25
237213	84	655	74	0	78	38
173326	88	465	49	7	86	44
133131	55	525	52	7	44	30
258873	60	885	88	3	104	40
180083	66	497	36	9	63	34
324799	154	1436	108	0	158	47
230964	53	612	43	4	102	30
236785	119	865	75	3	77	31
135473	41	385	32	0	82	23
202925	61	567	44	7	115	36
215147	58	639	85	0	101	36
344297	75	963	86	1	80	30
153935	33	398	56	5	50	25
132943	40	410	50	7	83	39
174724	92	966	135	0	123	34
174415	100	801	63	0	73	31
225548	112	892	81	5	81	31
223632	73	513	52	0	105	33
124817	40	469	44	0	47	25
221698	45	683	113	0	105	33
210767	60	643	39	3	94	35
170266	62	535	73	4	44	42
260561	75	625	48	1	114	43
84853	31	264	33	4	38	30
294424	77	992	59	2	107	33
101011	34	238	41	0	30	13
215641	46	818	69	0	71	32
325107	99	937	64	0	84	36
7176	17	70	1	0	0	0
167542	66	507	59	2	59	28
106408	30	260	32	1	33	14
96560	76	503	129	0	42	17
265769	146	927	37	2	96	32
269651	67	1269	31	10	106	30
149112	56	537	65	6	56	35
175824	107	910	107	0	57	20
152871	58	532	74	5	59	28
111665	34	345	54	4	39	28
116408	61	918	76	1	34	39
362301	119	1635	715	2	76	34
78800	42	330	57	2	20	26
183167	66	557	66	0	91	39
277965	89	1178	106	8	115	39
150629	44	740	54	3	85	33
168809	66	452	32	0	76	28
24188	24	218	20	0	8	4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198224&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 time8 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







Multiple Linear Regression - Estimated Regression Equation
time_in_rfc[t] = + 12038.8016502968 + 97.5747716715336logins[t] + 121.465541973317compendium_views_info[t] + 36.9983802735949compendium_views_pr[t] -545.192912437675shared_compendiums[t] + 877.081179790895blogged_computations[t] + 759.614741830864compendiums_reviewed[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
time_in_rfc[t] =  +  12038.8016502968 +  97.5747716715336logins[t] +  121.465541973317compendium_views_info[t] +  36.9983802735949compendium_views_pr[t] -545.192912437675shared_compendiums[t] +  877.081179790895blogged_computations[t] +  759.614741830864compendiums_reviewed[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198224&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]time_in_rfc[t] =  +  12038.8016502968 +  97.5747716715336logins[t] +  121.465541973317compendium_views_info[t] +  36.9983802735949compendium_views_pr[t] -545.192912437675shared_compendiums[t] +  877.081179790895blogged_computations[t] +  759.614741830864compendiums_reviewed[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198224&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198224&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
time_in_rfc[t] = + 12038.8016502968 + 97.5747716715336logins[t] + 121.465541973317compendium_views_info[t] + 36.9983802735949compendium_views_pr[t] -545.192912437675shared_compendiums[t] + 877.081179790895blogged_computations[t] + 759.614741830864compendiums_reviewed[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)12038.801650296817490.8712060.68830.4944510.247225
logins97.5747716715336267.1194370.36530.7164390.35822
compendium_views_info121.46554197331728.6799054.23529.8e-054.9e-05
compendium_views_pr36.998380273594969.6111090.53150.5974250.298713
shared_compendiums-545.1929124376751882.3068-0.28960.7732890.386644
blogged_computations877.081179790895260.2834283.36970.0014570.000728
compendiums_reviewed759.614741830864817.3646560.92930.3571750.178587

\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) & 12038.8016502968 & 17490.871206 & 0.6883 & 0.494451 & 0.247225 \tabularnewline
logins & 97.5747716715336 & 267.119437 & 0.3653 & 0.716439 & 0.35822 \tabularnewline
compendium_views_info & 121.465541973317 & 28.679905 & 4.2352 & 9.8e-05 & 4.9e-05 \tabularnewline
compendium_views_pr & 36.9983802735949 & 69.611109 & 0.5315 & 0.597425 & 0.298713 \tabularnewline
shared_compendiums & -545.192912437675 & 1882.3068 & -0.2896 & 0.773289 & 0.386644 \tabularnewline
blogged_computations & 877.081179790895 & 260.283428 & 3.3697 & 0.001457 & 0.000728 \tabularnewline
compendiums_reviewed & 759.614741830864 & 817.364656 & 0.9293 & 0.357175 & 0.178587 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198224&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]12038.8016502968[/C][C]17490.871206[/C][C]0.6883[/C][C]0.494451[/C][C]0.247225[/C][/ROW]
[ROW][C]logins[/C][C]97.5747716715336[/C][C]267.119437[/C][C]0.3653[/C][C]0.716439[/C][C]0.35822[/C][/ROW]
[ROW][C]compendium_views_info[/C][C]121.465541973317[/C][C]28.679905[/C][C]4.2352[/C][C]9.8e-05[/C][C]4.9e-05[/C][/ROW]
[ROW][C]compendium_views_pr[/C][C]36.9983802735949[/C][C]69.611109[/C][C]0.5315[/C][C]0.597425[/C][C]0.298713[/C][/ROW]
[ROW][C]shared_compendiums[/C][C]-545.192912437675[/C][C]1882.3068[/C][C]-0.2896[/C][C]0.773289[/C][C]0.386644[/C][/ROW]
[ROW][C]blogged_computations[/C][C]877.081179790895[/C][C]260.283428[/C][C]3.3697[/C][C]0.001457[/C][C]0.000728[/C][/ROW]
[ROW][C]compendiums_reviewed[/C][C]759.614741830864[/C][C]817.364656[/C][C]0.9293[/C][C]0.357175[/C][C]0.178587[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198224&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198224&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)12038.801650296817490.8712060.68830.4944510.247225
logins97.5747716715336267.1194370.36530.7164390.35822
compendium_views_info121.46554197331728.6799054.23529.8e-054.9e-05
compendium_views_pr36.998380273594969.6111090.53150.5974250.298713
shared_compendiums-545.1929124376751882.3068-0.28960.7732890.386644
blogged_computations877.081179790895260.2834283.36970.0014570.000728
compendiums_reviewed759.614741830864817.3646560.92930.3571750.178587







Multiple Linear Regression - Regression Statistics
Multiple R0.902716839504998
R-squared0.814897692325893
Adjusted R-squared0.792685415405
F-TEST (value)36.6868149189785
F-TEST (DF numerator)6
F-TEST (DF denominator)50
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation37540.5425793336
Sum Squared Residuals70464616857.538

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.902716839504998 \tabularnewline
R-squared & 0.814897692325893 \tabularnewline
Adjusted R-squared & 0.792685415405 \tabularnewline
F-TEST (value) & 36.6868149189785 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 50 \tabularnewline
p-value & 1.11022302462516e-16 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 37540.5425793336 \tabularnewline
Sum Squared Residuals & 70464616857.538 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198224&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.902716839504998[/C][/ROW]
[ROW][C]R-squared[/C][C]0.814897692325893[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.792685415405[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]36.6868149189785[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]50[/C][/ROW]
[ROW][C]p-value[/C][C]1.11022302462516e-16[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]37540.5425793336[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]70464616857.538[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198224&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198224&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.902716839504998
R-squared0.814897692325893
Adjusted R-squared0.792685415405
F-TEST (value)36.6868149189785
F-TEST (DF numerator)6
F-TEST (DF denominator)50
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation37540.5425793336
Sum Squared Residuals70464616857.538







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1210907159042.48900859151864.510991409
2120982125572.315294411-4590.3152944109
3176508162004.91232509814503.0876749021
4179321259227.756798927-79906.7567989273
5123185109360.73327849313824.2667215073
65274651331.08806468191414.91193531813
7385534338192.94646410547341.0535358949
83317043212.9668802606-10042.9668802606
910164592402.97155773779242.02844226228
10149061153193.88969282-4132.88969281995
11165446158945.5386907616500.46130923942
12237213199810.58481673737402.4151832632
13173326183955.458923902-10629.4589239015
14133131140662.403181111-7531.40318111099
15258873248611.60369522510261.3963047748
16180083156355.33196834323727.6680316574
17324799379766.379103956-54967.3791039562
18230964203208.05753216927755.9424678309
19236785220940.50090999115844.4990900093
20135473153379.344922275-17906.344922275
21202925212883.869747969-9958.8697479695
22215147214390.811916242756.188083757706
23344297231919.830875255112377.169124745
24153935125792.42708928728142.5729107132
25132943166198.946206882-33255.9462068821
26174724277054.061863767-102330.061863767
27174415208996.059016806-34581.0590168055
28225548226176.976317499-628.976317499294
29223632200558.3091473223073.6908526803
30124817134750.244430626-9933.24443062558
31221698220732.25887267965.741127330058
32210767204835.1363972135931.8636027869
33170266154088.00362757416177.9963724262
34260561229154.29099456931406.7090054311
3584853102288.224639328-17435.2246393279
36294424260053.36803584634370.6319641538
3710101181969.503505523819041.4964944762
38215641205019.3782239810621.6217760202
39325107238900.76302063386206.2369793672
40717622237.1590871186-15061.1590871186
41167542154171.28735128313370.7126487166
4210640886764.126288554219643.8737114458
4396560135075.303127548-38515.3031275478
44265769247669.29496736718099.7050326333
45269651284170.152093294-14519.1520932941
46149112157566.784179102-8454.7841791018
47175824202157.694188842-26333.6941888422
48152871155346.724694035-2475.72469403496
49111665112554.475536056-889.475536055782
50116408191208.649286415-74800.6492864148
51362301340094.88756268522206.1124373153
527880094530.6996458357-15730.6996458357
53183167198016.298850188-14849.2988501879
54277965293858.960390487-15893.9603904868
55150629206198.113224204-55569.1132242044
56168809162492.4921566856316.5078433155
572418851655.1603317191-27467.1603317192

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 210907 & 159042.489008591 & 51864.510991409 \tabularnewline
2 & 120982 & 125572.315294411 & -4590.3152944109 \tabularnewline
3 & 176508 & 162004.912325098 & 14503.0876749021 \tabularnewline
4 & 179321 & 259227.756798927 & -79906.7567989273 \tabularnewline
5 & 123185 & 109360.733278493 & 13824.2667215073 \tabularnewline
6 & 52746 & 51331.0880646819 & 1414.91193531813 \tabularnewline
7 & 385534 & 338192.946464105 & 47341.0535358949 \tabularnewline
8 & 33170 & 43212.9668802606 & -10042.9668802606 \tabularnewline
9 & 101645 & 92402.9715577377 & 9242.02844226228 \tabularnewline
10 & 149061 & 153193.88969282 & -4132.88969281995 \tabularnewline
11 & 165446 & 158945.538690761 & 6500.46130923942 \tabularnewline
12 & 237213 & 199810.584816737 & 37402.4151832632 \tabularnewline
13 & 173326 & 183955.458923902 & -10629.4589239015 \tabularnewline
14 & 133131 & 140662.403181111 & -7531.40318111099 \tabularnewline
15 & 258873 & 248611.603695225 & 10261.3963047748 \tabularnewline
16 & 180083 & 156355.331968343 & 23727.6680316574 \tabularnewline
17 & 324799 & 379766.379103956 & -54967.3791039562 \tabularnewline
18 & 230964 & 203208.057532169 & 27755.9424678309 \tabularnewline
19 & 236785 & 220940.500909991 & 15844.4990900093 \tabularnewline
20 & 135473 & 153379.344922275 & -17906.344922275 \tabularnewline
21 & 202925 & 212883.869747969 & -9958.8697479695 \tabularnewline
22 & 215147 & 214390.811916242 & 756.188083757706 \tabularnewline
23 & 344297 & 231919.830875255 & 112377.169124745 \tabularnewline
24 & 153935 & 125792.427089287 & 28142.5729107132 \tabularnewline
25 & 132943 & 166198.946206882 & -33255.9462068821 \tabularnewline
26 & 174724 & 277054.061863767 & -102330.061863767 \tabularnewline
27 & 174415 & 208996.059016806 & -34581.0590168055 \tabularnewline
28 & 225548 & 226176.976317499 & -628.976317499294 \tabularnewline
29 & 223632 & 200558.30914732 & 23073.6908526803 \tabularnewline
30 & 124817 & 134750.244430626 & -9933.24443062558 \tabularnewline
31 & 221698 & 220732.25887267 & 965.741127330058 \tabularnewline
32 & 210767 & 204835.136397213 & 5931.8636027869 \tabularnewline
33 & 170266 & 154088.003627574 & 16177.9963724262 \tabularnewline
34 & 260561 & 229154.290994569 & 31406.7090054311 \tabularnewline
35 & 84853 & 102288.224639328 & -17435.2246393279 \tabularnewline
36 & 294424 & 260053.368035846 & 34370.6319641538 \tabularnewline
37 & 101011 & 81969.5035055238 & 19041.4964944762 \tabularnewline
38 & 215641 & 205019.37822398 & 10621.6217760202 \tabularnewline
39 & 325107 & 238900.763020633 & 86206.2369793672 \tabularnewline
40 & 7176 & 22237.1590871186 & -15061.1590871186 \tabularnewline
41 & 167542 & 154171.287351283 & 13370.7126487166 \tabularnewline
42 & 106408 & 86764.1262885542 & 19643.8737114458 \tabularnewline
43 & 96560 & 135075.303127548 & -38515.3031275478 \tabularnewline
44 & 265769 & 247669.294967367 & 18099.7050326333 \tabularnewline
45 & 269651 & 284170.152093294 & -14519.1520932941 \tabularnewline
46 & 149112 & 157566.784179102 & -8454.7841791018 \tabularnewline
47 & 175824 & 202157.694188842 & -26333.6941888422 \tabularnewline
48 & 152871 & 155346.724694035 & -2475.72469403496 \tabularnewline
49 & 111665 & 112554.475536056 & -889.475536055782 \tabularnewline
50 & 116408 & 191208.649286415 & -74800.6492864148 \tabularnewline
51 & 362301 & 340094.887562685 & 22206.1124373153 \tabularnewline
52 & 78800 & 94530.6996458357 & -15730.6996458357 \tabularnewline
53 & 183167 & 198016.298850188 & -14849.2988501879 \tabularnewline
54 & 277965 & 293858.960390487 & -15893.9603904868 \tabularnewline
55 & 150629 & 206198.113224204 & -55569.1132242044 \tabularnewline
56 & 168809 & 162492.492156685 & 6316.5078433155 \tabularnewline
57 & 24188 & 51655.1603317191 & -27467.1603317192 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198224&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]210907[/C][C]159042.489008591[/C][C]51864.510991409[/C][/ROW]
[ROW][C]2[/C][C]120982[/C][C]125572.315294411[/C][C]-4590.3152944109[/C][/ROW]
[ROW][C]3[/C][C]176508[/C][C]162004.912325098[/C][C]14503.0876749021[/C][/ROW]
[ROW][C]4[/C][C]179321[/C][C]259227.756798927[/C][C]-79906.7567989273[/C][/ROW]
[ROW][C]5[/C][C]123185[/C][C]109360.733278493[/C][C]13824.2667215073[/C][/ROW]
[ROW][C]6[/C][C]52746[/C][C]51331.0880646819[/C][C]1414.91193531813[/C][/ROW]
[ROW][C]7[/C][C]385534[/C][C]338192.946464105[/C][C]47341.0535358949[/C][/ROW]
[ROW][C]8[/C][C]33170[/C][C]43212.9668802606[/C][C]-10042.9668802606[/C][/ROW]
[ROW][C]9[/C][C]101645[/C][C]92402.9715577377[/C][C]9242.02844226228[/C][/ROW]
[ROW][C]10[/C][C]149061[/C][C]153193.88969282[/C][C]-4132.88969281995[/C][/ROW]
[ROW][C]11[/C][C]165446[/C][C]158945.538690761[/C][C]6500.46130923942[/C][/ROW]
[ROW][C]12[/C][C]237213[/C][C]199810.584816737[/C][C]37402.4151832632[/C][/ROW]
[ROW][C]13[/C][C]173326[/C][C]183955.458923902[/C][C]-10629.4589239015[/C][/ROW]
[ROW][C]14[/C][C]133131[/C][C]140662.403181111[/C][C]-7531.40318111099[/C][/ROW]
[ROW][C]15[/C][C]258873[/C][C]248611.603695225[/C][C]10261.3963047748[/C][/ROW]
[ROW][C]16[/C][C]180083[/C][C]156355.331968343[/C][C]23727.6680316574[/C][/ROW]
[ROW][C]17[/C][C]324799[/C][C]379766.379103956[/C][C]-54967.3791039562[/C][/ROW]
[ROW][C]18[/C][C]230964[/C][C]203208.057532169[/C][C]27755.9424678309[/C][/ROW]
[ROW][C]19[/C][C]236785[/C][C]220940.500909991[/C][C]15844.4990900093[/C][/ROW]
[ROW][C]20[/C][C]135473[/C][C]153379.344922275[/C][C]-17906.344922275[/C][/ROW]
[ROW][C]21[/C][C]202925[/C][C]212883.869747969[/C][C]-9958.8697479695[/C][/ROW]
[ROW][C]22[/C][C]215147[/C][C]214390.811916242[/C][C]756.188083757706[/C][/ROW]
[ROW][C]23[/C][C]344297[/C][C]231919.830875255[/C][C]112377.169124745[/C][/ROW]
[ROW][C]24[/C][C]153935[/C][C]125792.427089287[/C][C]28142.5729107132[/C][/ROW]
[ROW][C]25[/C][C]132943[/C][C]166198.946206882[/C][C]-33255.9462068821[/C][/ROW]
[ROW][C]26[/C][C]174724[/C][C]277054.061863767[/C][C]-102330.061863767[/C][/ROW]
[ROW][C]27[/C][C]174415[/C][C]208996.059016806[/C][C]-34581.0590168055[/C][/ROW]
[ROW][C]28[/C][C]225548[/C][C]226176.976317499[/C][C]-628.976317499294[/C][/ROW]
[ROW][C]29[/C][C]223632[/C][C]200558.30914732[/C][C]23073.6908526803[/C][/ROW]
[ROW][C]30[/C][C]124817[/C][C]134750.244430626[/C][C]-9933.24443062558[/C][/ROW]
[ROW][C]31[/C][C]221698[/C][C]220732.25887267[/C][C]965.741127330058[/C][/ROW]
[ROW][C]32[/C][C]210767[/C][C]204835.136397213[/C][C]5931.8636027869[/C][/ROW]
[ROW][C]33[/C][C]170266[/C][C]154088.003627574[/C][C]16177.9963724262[/C][/ROW]
[ROW][C]34[/C][C]260561[/C][C]229154.290994569[/C][C]31406.7090054311[/C][/ROW]
[ROW][C]35[/C][C]84853[/C][C]102288.224639328[/C][C]-17435.2246393279[/C][/ROW]
[ROW][C]36[/C][C]294424[/C][C]260053.368035846[/C][C]34370.6319641538[/C][/ROW]
[ROW][C]37[/C][C]101011[/C][C]81969.5035055238[/C][C]19041.4964944762[/C][/ROW]
[ROW][C]38[/C][C]215641[/C][C]205019.37822398[/C][C]10621.6217760202[/C][/ROW]
[ROW][C]39[/C][C]325107[/C][C]238900.763020633[/C][C]86206.2369793672[/C][/ROW]
[ROW][C]40[/C][C]7176[/C][C]22237.1590871186[/C][C]-15061.1590871186[/C][/ROW]
[ROW][C]41[/C][C]167542[/C][C]154171.287351283[/C][C]13370.7126487166[/C][/ROW]
[ROW][C]42[/C][C]106408[/C][C]86764.1262885542[/C][C]19643.8737114458[/C][/ROW]
[ROW][C]43[/C][C]96560[/C][C]135075.303127548[/C][C]-38515.3031275478[/C][/ROW]
[ROW][C]44[/C][C]265769[/C][C]247669.294967367[/C][C]18099.7050326333[/C][/ROW]
[ROW][C]45[/C][C]269651[/C][C]284170.152093294[/C][C]-14519.1520932941[/C][/ROW]
[ROW][C]46[/C][C]149112[/C][C]157566.784179102[/C][C]-8454.7841791018[/C][/ROW]
[ROW][C]47[/C][C]175824[/C][C]202157.694188842[/C][C]-26333.6941888422[/C][/ROW]
[ROW][C]48[/C][C]152871[/C][C]155346.724694035[/C][C]-2475.72469403496[/C][/ROW]
[ROW][C]49[/C][C]111665[/C][C]112554.475536056[/C][C]-889.475536055782[/C][/ROW]
[ROW][C]50[/C][C]116408[/C][C]191208.649286415[/C][C]-74800.6492864148[/C][/ROW]
[ROW][C]51[/C][C]362301[/C][C]340094.887562685[/C][C]22206.1124373153[/C][/ROW]
[ROW][C]52[/C][C]78800[/C][C]94530.6996458357[/C][C]-15730.6996458357[/C][/ROW]
[ROW][C]53[/C][C]183167[/C][C]198016.298850188[/C][C]-14849.2988501879[/C][/ROW]
[ROW][C]54[/C][C]277965[/C][C]293858.960390487[/C][C]-15893.9603904868[/C][/ROW]
[ROW][C]55[/C][C]150629[/C][C]206198.113224204[/C][C]-55569.1132242044[/C][/ROW]
[ROW][C]56[/C][C]168809[/C][C]162492.492156685[/C][C]6316.5078433155[/C][/ROW]
[ROW][C]57[/C][C]24188[/C][C]51655.1603317191[/C][C]-27467.1603317192[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198224&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198224&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
1210907159042.48900859151864.510991409
2120982125572.315294411-4590.3152944109
3176508162004.91232509814503.0876749021
4179321259227.756798927-79906.7567989273
5123185109360.73327849313824.2667215073
65274651331.08806468191414.91193531813
7385534338192.94646410547341.0535358949
83317043212.9668802606-10042.9668802606
910164592402.97155773779242.02844226228
10149061153193.88969282-4132.88969281995
11165446158945.5386907616500.46130923942
12237213199810.58481673737402.4151832632
13173326183955.458923902-10629.4589239015
14133131140662.403181111-7531.40318111099
15258873248611.60369522510261.3963047748
16180083156355.33196834323727.6680316574
17324799379766.379103956-54967.3791039562
18230964203208.05753216927755.9424678309
19236785220940.50090999115844.4990900093
20135473153379.344922275-17906.344922275
21202925212883.869747969-9958.8697479695
22215147214390.811916242756.188083757706
23344297231919.830875255112377.169124745
24153935125792.42708928728142.5729107132
25132943166198.946206882-33255.9462068821
26174724277054.061863767-102330.061863767
27174415208996.059016806-34581.0590168055
28225548226176.976317499-628.976317499294
29223632200558.3091473223073.6908526803
30124817134750.244430626-9933.24443062558
31221698220732.25887267965.741127330058
32210767204835.1363972135931.8636027869
33170266154088.00362757416177.9963724262
34260561229154.29099456931406.7090054311
3584853102288.224639328-17435.2246393279
36294424260053.36803584634370.6319641538
3710101181969.503505523819041.4964944762
38215641205019.3782239810621.6217760202
39325107238900.76302063386206.2369793672
40717622237.1590871186-15061.1590871186
41167542154171.28735128313370.7126487166
4210640886764.126288554219643.8737114458
4396560135075.303127548-38515.3031275478
44265769247669.29496736718099.7050326333
45269651284170.152093294-14519.1520932941
46149112157566.784179102-8454.7841791018
47175824202157.694188842-26333.6941888422
48152871155346.724694035-2475.72469403496
49111665112554.475536056-889.475536055782
50116408191208.649286415-74800.6492864148
51362301340094.88756268522206.1124373153
527880094530.6996458357-15730.6996458357
53183167198016.298850188-14849.2988501879
54277965293858.960390487-15893.9603904868
55150629206198.113224204-55569.1132242044
56168809162492.4921566856316.5078433155
572418851655.1603317191-27467.1603317192







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.7555253199264670.4889493601470660.244474680073533
110.6146623635559030.7706752728881930.385337636444097
120.5633366272598610.8733267454802780.436663372740139
130.5760360671284620.8479278657430750.423963932871538
140.4593404702294910.9186809404589820.540659529770509
150.3622322585624070.7244645171248140.637767741437593
160.2679734783932480.5359469567864960.732026521606752
170.3101472852901930.6202945705803870.689852714709807
180.2368533466402820.4737066932805640.763146653359718
190.1928959989689130.3857919979378260.807104001031087
200.2184324888676190.4368649777352370.781567511132381
210.1638437273376540.3276874546753080.836156272662346
220.1150400738947790.2300801477895590.884959926105221
230.6708170948065160.6583658103869690.329182905193485
240.6270877603785930.7458244792428130.372912239621407
250.6138348576389060.7723302847221880.386165142361094
260.9321175356331390.1357649287337210.0678824643668607
270.9460560482107830.1078879035784350.0539439517892174
280.9188230225105230.1623539549789550.0811769774894774
290.8924934143789560.2150131712420880.107506585621044
300.8627809061751230.2744381876497540.137219093824877
310.8289579298654630.3420841402690750.171042070134537
320.7684098697380370.4631802605239250.231590130261963
330.7448795549252970.5102408901494060.255120445074703
340.6820924048052410.6358151903895180.317907595194759
350.6265976027598330.7468047944803340.373402397240167
360.5702701202388670.8594597595222660.429729879761133
370.5075028977116440.9849942045767110.492497102288355
380.4611212466338530.9222424932677060.538878753366147
390.9825781377302760.03484372453944810.017421862269724
400.9699836308687120.06003273826257650.0300163691312882
410.9577348317096890.08453033658062160.0422651682903108
420.9769292742862160.04614145142756820.0230707257137841
430.9942463290954010.01150734180919770.00575367090459886
440.9842302173407240.03153956531855210.0157697826592761
450.9948028216170080.0103943567659850.00519717838299252
460.9865817716144450.0268364567711090.0134182283855545
470.9723875016871480.0552249966257040.027612498312852

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.755525319926467 & 0.488949360147066 & 0.244474680073533 \tabularnewline
11 & 0.614662363555903 & 0.770675272888193 & 0.385337636444097 \tabularnewline
12 & 0.563336627259861 & 0.873326745480278 & 0.436663372740139 \tabularnewline
13 & 0.576036067128462 & 0.847927865743075 & 0.423963932871538 \tabularnewline
14 & 0.459340470229491 & 0.918680940458982 & 0.540659529770509 \tabularnewline
15 & 0.362232258562407 & 0.724464517124814 & 0.637767741437593 \tabularnewline
16 & 0.267973478393248 & 0.535946956786496 & 0.732026521606752 \tabularnewline
17 & 0.310147285290193 & 0.620294570580387 & 0.689852714709807 \tabularnewline
18 & 0.236853346640282 & 0.473706693280564 & 0.763146653359718 \tabularnewline
19 & 0.192895998968913 & 0.385791997937826 & 0.807104001031087 \tabularnewline
20 & 0.218432488867619 & 0.436864977735237 & 0.781567511132381 \tabularnewline
21 & 0.163843727337654 & 0.327687454675308 & 0.836156272662346 \tabularnewline
22 & 0.115040073894779 & 0.230080147789559 & 0.884959926105221 \tabularnewline
23 & 0.670817094806516 & 0.658365810386969 & 0.329182905193485 \tabularnewline
24 & 0.627087760378593 & 0.745824479242813 & 0.372912239621407 \tabularnewline
25 & 0.613834857638906 & 0.772330284722188 & 0.386165142361094 \tabularnewline
26 & 0.932117535633139 & 0.135764928733721 & 0.0678824643668607 \tabularnewline
27 & 0.946056048210783 & 0.107887903578435 & 0.0539439517892174 \tabularnewline
28 & 0.918823022510523 & 0.162353954978955 & 0.0811769774894774 \tabularnewline
29 & 0.892493414378956 & 0.215013171242088 & 0.107506585621044 \tabularnewline
30 & 0.862780906175123 & 0.274438187649754 & 0.137219093824877 \tabularnewline
31 & 0.828957929865463 & 0.342084140269075 & 0.171042070134537 \tabularnewline
32 & 0.768409869738037 & 0.463180260523925 & 0.231590130261963 \tabularnewline
33 & 0.744879554925297 & 0.510240890149406 & 0.255120445074703 \tabularnewline
34 & 0.682092404805241 & 0.635815190389518 & 0.317907595194759 \tabularnewline
35 & 0.626597602759833 & 0.746804794480334 & 0.373402397240167 \tabularnewline
36 & 0.570270120238867 & 0.859459759522266 & 0.429729879761133 \tabularnewline
37 & 0.507502897711644 & 0.984994204576711 & 0.492497102288355 \tabularnewline
38 & 0.461121246633853 & 0.922242493267706 & 0.538878753366147 \tabularnewline
39 & 0.982578137730276 & 0.0348437245394481 & 0.017421862269724 \tabularnewline
40 & 0.969983630868712 & 0.0600327382625765 & 0.0300163691312882 \tabularnewline
41 & 0.957734831709689 & 0.0845303365806216 & 0.0422651682903108 \tabularnewline
42 & 0.976929274286216 & 0.0461414514275682 & 0.0230707257137841 \tabularnewline
43 & 0.994246329095401 & 0.0115073418091977 & 0.00575367090459886 \tabularnewline
44 & 0.984230217340724 & 0.0315395653185521 & 0.0157697826592761 \tabularnewline
45 & 0.994802821617008 & 0.010394356765985 & 0.00519717838299252 \tabularnewline
46 & 0.986581771614445 & 0.026836456771109 & 0.0134182283855545 \tabularnewline
47 & 0.972387501687148 & 0.055224996625704 & 0.027612498312852 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198224&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]10[/C][C]0.755525319926467[/C][C]0.488949360147066[/C][C]0.244474680073533[/C][/ROW]
[ROW][C]11[/C][C]0.614662363555903[/C][C]0.770675272888193[/C][C]0.385337636444097[/C][/ROW]
[ROW][C]12[/C][C]0.563336627259861[/C][C]0.873326745480278[/C][C]0.436663372740139[/C][/ROW]
[ROW][C]13[/C][C]0.576036067128462[/C][C]0.847927865743075[/C][C]0.423963932871538[/C][/ROW]
[ROW][C]14[/C][C]0.459340470229491[/C][C]0.918680940458982[/C][C]0.540659529770509[/C][/ROW]
[ROW][C]15[/C][C]0.362232258562407[/C][C]0.724464517124814[/C][C]0.637767741437593[/C][/ROW]
[ROW][C]16[/C][C]0.267973478393248[/C][C]0.535946956786496[/C][C]0.732026521606752[/C][/ROW]
[ROW][C]17[/C][C]0.310147285290193[/C][C]0.620294570580387[/C][C]0.689852714709807[/C][/ROW]
[ROW][C]18[/C][C]0.236853346640282[/C][C]0.473706693280564[/C][C]0.763146653359718[/C][/ROW]
[ROW][C]19[/C][C]0.192895998968913[/C][C]0.385791997937826[/C][C]0.807104001031087[/C][/ROW]
[ROW][C]20[/C][C]0.218432488867619[/C][C]0.436864977735237[/C][C]0.781567511132381[/C][/ROW]
[ROW][C]21[/C][C]0.163843727337654[/C][C]0.327687454675308[/C][C]0.836156272662346[/C][/ROW]
[ROW][C]22[/C][C]0.115040073894779[/C][C]0.230080147789559[/C][C]0.884959926105221[/C][/ROW]
[ROW][C]23[/C][C]0.670817094806516[/C][C]0.658365810386969[/C][C]0.329182905193485[/C][/ROW]
[ROW][C]24[/C][C]0.627087760378593[/C][C]0.745824479242813[/C][C]0.372912239621407[/C][/ROW]
[ROW][C]25[/C][C]0.613834857638906[/C][C]0.772330284722188[/C][C]0.386165142361094[/C][/ROW]
[ROW][C]26[/C][C]0.932117535633139[/C][C]0.135764928733721[/C][C]0.0678824643668607[/C][/ROW]
[ROW][C]27[/C][C]0.946056048210783[/C][C]0.107887903578435[/C][C]0.0539439517892174[/C][/ROW]
[ROW][C]28[/C][C]0.918823022510523[/C][C]0.162353954978955[/C][C]0.0811769774894774[/C][/ROW]
[ROW][C]29[/C][C]0.892493414378956[/C][C]0.215013171242088[/C][C]0.107506585621044[/C][/ROW]
[ROW][C]30[/C][C]0.862780906175123[/C][C]0.274438187649754[/C][C]0.137219093824877[/C][/ROW]
[ROW][C]31[/C][C]0.828957929865463[/C][C]0.342084140269075[/C][C]0.171042070134537[/C][/ROW]
[ROW][C]32[/C][C]0.768409869738037[/C][C]0.463180260523925[/C][C]0.231590130261963[/C][/ROW]
[ROW][C]33[/C][C]0.744879554925297[/C][C]0.510240890149406[/C][C]0.255120445074703[/C][/ROW]
[ROW][C]34[/C][C]0.682092404805241[/C][C]0.635815190389518[/C][C]0.317907595194759[/C][/ROW]
[ROW][C]35[/C][C]0.626597602759833[/C][C]0.746804794480334[/C][C]0.373402397240167[/C][/ROW]
[ROW][C]36[/C][C]0.570270120238867[/C][C]0.859459759522266[/C][C]0.429729879761133[/C][/ROW]
[ROW][C]37[/C][C]0.507502897711644[/C][C]0.984994204576711[/C][C]0.492497102288355[/C][/ROW]
[ROW][C]38[/C][C]0.461121246633853[/C][C]0.922242493267706[/C][C]0.538878753366147[/C][/ROW]
[ROW][C]39[/C][C]0.982578137730276[/C][C]0.0348437245394481[/C][C]0.017421862269724[/C][/ROW]
[ROW][C]40[/C][C]0.969983630868712[/C][C]0.0600327382625765[/C][C]0.0300163691312882[/C][/ROW]
[ROW][C]41[/C][C]0.957734831709689[/C][C]0.0845303365806216[/C][C]0.0422651682903108[/C][/ROW]
[ROW][C]42[/C][C]0.976929274286216[/C][C]0.0461414514275682[/C][C]0.0230707257137841[/C][/ROW]
[ROW][C]43[/C][C]0.994246329095401[/C][C]0.0115073418091977[/C][C]0.00575367090459886[/C][/ROW]
[ROW][C]44[/C][C]0.984230217340724[/C][C]0.0315395653185521[/C][C]0.0157697826592761[/C][/ROW]
[ROW][C]45[/C][C]0.994802821617008[/C][C]0.010394356765985[/C][C]0.00519717838299252[/C][/ROW]
[ROW][C]46[/C][C]0.986581771614445[/C][C]0.026836456771109[/C][C]0.0134182283855545[/C][/ROW]
[ROW][C]47[/C][C]0.972387501687148[/C][C]0.055224996625704[/C][C]0.027612498312852[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198224&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198224&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
100.7555253199264670.4889493601470660.244474680073533
110.6146623635559030.7706752728881930.385337636444097
120.5633366272598610.8733267454802780.436663372740139
130.5760360671284620.8479278657430750.423963932871538
140.4593404702294910.9186809404589820.540659529770509
150.3622322585624070.7244645171248140.637767741437593
160.2679734783932480.5359469567864960.732026521606752
170.3101472852901930.6202945705803870.689852714709807
180.2368533466402820.4737066932805640.763146653359718
190.1928959989689130.3857919979378260.807104001031087
200.2184324888676190.4368649777352370.781567511132381
210.1638437273376540.3276874546753080.836156272662346
220.1150400738947790.2300801477895590.884959926105221
230.6708170948065160.6583658103869690.329182905193485
240.6270877603785930.7458244792428130.372912239621407
250.6138348576389060.7723302847221880.386165142361094
260.9321175356331390.1357649287337210.0678824643668607
270.9460560482107830.1078879035784350.0539439517892174
280.9188230225105230.1623539549789550.0811769774894774
290.8924934143789560.2150131712420880.107506585621044
300.8627809061751230.2744381876497540.137219093824877
310.8289579298654630.3420841402690750.171042070134537
320.7684098697380370.4631802605239250.231590130261963
330.7448795549252970.5102408901494060.255120445074703
340.6820924048052410.6358151903895180.317907595194759
350.6265976027598330.7468047944803340.373402397240167
360.5702701202388670.8594597595222660.429729879761133
370.5075028977116440.9849942045767110.492497102288355
380.4611212466338530.9222424932677060.538878753366147
390.9825781377302760.03484372453944810.017421862269724
400.9699836308687120.06003273826257650.0300163691312882
410.9577348317096890.08453033658062160.0422651682903108
420.9769292742862160.04614145142756820.0230707257137841
430.9942463290954010.01150734180919770.00575367090459886
440.9842302173407240.03153956531855210.0157697826592761
450.9948028216170080.0103943567659850.00519717838299252
460.9865817716144450.0268364567711090.0134182283855545
470.9723875016871480.0552249966257040.027612498312852







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level60.157894736842105NOK
10% type I error level90.236842105263158NOK

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

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

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level60.157894736842105NOK
10% type I error level90.236842105263158NOK



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