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 computationWed, 01 Dec 2010 16:38:23 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/01/t1291222341eja76qxqn0nv9iq.htm/, Retrieved Sun, 05 May 2024 16:52:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104110, Retrieved Sun, 05 May 2024 16:52:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact113
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Beurs, multiple reg.] [2010-12-01 16:38:23] [92762195fa34a5ca20b359b4f0975e64] [Current]
Feedback Forum

Post a new message
Dataseries X:
162556	1081	807	213118	6282154
29790	309	444	81767	4321023
87550	458	412	153198	4111912
84738	588	428	-26007	223193
54660	302	315	126942	1491348
42634	156	168	157214	1629616
40949	481	263	129352	1398893
45187	353	267	234817	1926517
37704	452	228	60448	983660
16275	109	129	47818	1443586
25830	115	104	245546	1073089
12679	110	122	48020	984885
18014	239	393	-1710	1405225
43556	247	190	32648	227132
24811	505	280	95350	929118
6575	159	63	151352	1071292
7123	109	102	288170	638830
21950	519	265	114337	856956
37597	248	234	37884	992426
17821	373	277	122844	444477
12988	119	73	82340	857217
22330	84	67	79801	711969
13326	102	103	165548	702380
16189	295	290	116384	358589
7146	105	83	134028	297978
15824	64	56	63838	585715
27664	282	236	74996	657954
11920	182	73	31080	209458
8568	37	34	32168	786690
14416	361	139	49857	439798
3369	28	26	87161	688779
11819	85	70	106113	574339
6984	45	40	80570	741409
4519	49	42	102129	597793
2220	22	12	301670	644190
18562	155	211	102313	377934
10327	91	74	88577	640273
5336	81	80	112477	697458
2365	79	83	191778	550608
4069	145	131	79804	207393
8636	855	203	128294	301607
13718	61	56	96448	345783
4525	226	89	93811	501749
6869	105	88	117520	379983
4628	62	39	69159	387475
3689	25	25	101792	377305
4891	217	49	210568	370837
7489	322	149	136996	430866
4901	84	58	121920	469107
2284	33	41	76403	194493




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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104110&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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
5[t] = -128263.368737775 + 15.5975953485900`1`[t] -1747.05931782307`2`[t] + 4992.99917296018`3`[t] + 3.72194258279855`4`[t] -3998.48313872466t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
5[t] =  -128263.368737775 +  15.5975953485900`1`[t] -1747.05931782307`2`[t] +  4992.99917296018`3`[t] +  3.72194258279855`4`[t] -3998.48313872466t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104110&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]5[t] =  -128263.368737775 +  15.5975953485900`1`[t] -1747.05931782307`2`[t] +  4992.99917296018`3`[t] +  3.72194258279855`4`[t] -3998.48313872466t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104110&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104110&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
5[t] = -128263.368737775 + 15.5975953485900`1`[t] -1747.05931782307`2`[t] + 4992.99917296018`3`[t] + 3.72194258279855`4`[t] -3998.48313872466t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-128263.368737775370139.085568-0.34650.7305980.365299
`1`15.59759534859006.7207862.32080.0249950.012497
`2`-1747.05931782307775.971398-2.25140.0294010.014701
`3`4992.999172960181567.3689953.18560.0026560.001328
`4`3.721942582798551.3725112.71180.0095110.004755
t-3998.483138724668852.84823-0.45170.6537320.326866

\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) & -128263.368737775 & 370139.085568 & -0.3465 & 0.730598 & 0.365299 \tabularnewline
`1` & 15.5975953485900 & 6.720786 & 2.3208 & 0.024995 & 0.012497 \tabularnewline
`2` & -1747.05931782307 & 775.971398 & -2.2514 & 0.029401 & 0.014701 \tabularnewline
`3` & 4992.99917296018 & 1567.368995 & 3.1856 & 0.002656 & 0.001328 \tabularnewline
`4` & 3.72194258279855 & 1.372511 & 2.7118 & 0.009511 & 0.004755 \tabularnewline
t & -3998.48313872466 & 8852.84823 & -0.4517 & 0.653732 & 0.326866 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104110&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]-128263.368737775[/C][C]370139.085568[/C][C]-0.3465[/C][C]0.730598[/C][C]0.365299[/C][/ROW]
[ROW][C]`1`[/C][C]15.5975953485900[/C][C]6.720786[/C][C]2.3208[/C][C]0.024995[/C][C]0.012497[/C][/ROW]
[ROW][C]`2`[/C][C]-1747.05931782307[/C][C]775.971398[/C][C]-2.2514[/C][C]0.029401[/C][C]0.014701[/C][/ROW]
[ROW][C]`3`[/C][C]4992.99917296018[/C][C]1567.368995[/C][C]3.1856[/C][C]0.002656[/C][C]0.001328[/C][/ROW]
[ROW][C]`4`[/C][C]3.72194258279855[/C][C]1.372511[/C][C]2.7118[/C][C]0.009511[/C][C]0.004755[/C][/ROW]
[ROW][C]t[/C][C]-3998.48313872466[/C][C]8852.84823[/C][C]-0.4517[/C][C]0.653732[/C][C]0.326866[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104110&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104110&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)-128263.368737775370139.085568-0.34650.7305980.365299
`1`15.59759534859006.7207862.32080.0249950.012497
`2`-1747.05931782307775.971398-2.25140.0294010.014701
`3`4992.999172960181567.3689953.18560.0026560.001328
`4`3.721942582798551.3725112.71180.0095110.004755
t-3998.483138724668852.84823-0.45170.6537320.326866







Multiple Linear Regression - Regression Statistics
Multiple R0.839819542959623
R-squared0.705296864736911
Adjusted R-squared0.671807872093378
F-TEST (value)21.0605577851895
F-TEST (DF numerator)5
F-TEST (DF denominator)44
p-value1.08826281319807e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation637021.159167832
Sum Squared Residuals17855022118011.3

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.839819542959623 \tabularnewline
R-squared & 0.705296864736911 \tabularnewline
Adjusted R-squared & 0.671807872093378 \tabularnewline
F-TEST (value) & 21.0605577851895 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 1.08826281319807e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 637021.159167832 \tabularnewline
Sum Squared Residuals & 17855022118011.3 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104110&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.839819542959623[/C][/ROW]
[ROW][C]R-squared[/C][C]0.705296864736911[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.671807872093378[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]21.0605577851895[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]1.08826281319807e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]637021.159167832[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]17855022118011.3[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104110&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104110&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.839819542959623
R-squared0.705296864736911
Adjusted R-squared0.671807872093378
F-TEST (value)21.0605577851895
F-TEST (DF numerator)5
F-TEST (DF denominator)44
p-value1.08826281319807e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation637021.159167832
Sum Squared Residuals17855022118011.3







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
162821545337213.02698188944940.973018117
243210232309774.413173952011248.58682605
341119123052467.306111311059444.69388869
42231932190387.93975230-1967194.93975230
514913482221962.43816803-730614.438168033
616296161664157.70121067-34541.7012106652
713988931436717.14880635-37824.1488063537
819265172134951.53862300-208434.538622995
9983660997559.003060841-13899.0030608413
101443586717245.94226669726340.05773331
1110730891462907.41046439-389818.410464391
12984885617213.801988892367671.198011108
1314052251639068.40926536-233843.409265357
142271321133786.90312661-906654.903126608
159291181069413.36057326-140295.360573265
161071292510415.060613959560876.939386041
176388301306272.73365619-667442.733656194
18856956984107.896640445-127151.896640445
199924261258281.41240670-265855.412406696
204444771258357.67519822-813880.675198225
21857217453403.686809274403813.313190726
22711969616857.00828539895111.9917146019
23702380939864.089780948-237484.089780948
243585891394044.33398823-1035455.33398823
25297978613057.19262673-315079.192626729
26585715419989.946397259165725.053602741
276579541160077.34737211-502123.34737211
28209458107904.559188801101553.440811199
29786690114269.043310585672420.956689415
30439798225540.434303684214257.565696316
31688779205640.507748383483138.492251617
32574339524089.54362877550249.4563712249
33741409269699.505111312471709.494888688
34597793310492.070655495287300.929344505
35644190910695.487116985-266505.487116985
363779341180845.54583455-802911.545834555
37640273425047.171328002215225.828671998
38697458479584.105749342217873.894250658
39550608742872.051742991-192264.051742991
40207393473049.117637746-265656.117637746
41301607-160154.326905311461761.326905311
42345783449779.405952064-103996.405952064
43501749169081.651449792332667.348550208
44379983496288.646787364-116305.646787364
45387475107805.678417072279669.321582928
46377305205358.411888497171946.588111503
47370837409362.855874288-38525.8558742880
48430866487914.854674141-57048.854674141
49469107348874.981297508120232.018702492
50194493138864.96985893555628.0301410649

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6282154 & 5337213.02698188 & 944940.973018117 \tabularnewline
2 & 4321023 & 2309774.41317395 & 2011248.58682605 \tabularnewline
3 & 4111912 & 3052467.30611131 & 1059444.69388869 \tabularnewline
4 & 223193 & 2190387.93975230 & -1967194.93975230 \tabularnewline
5 & 1491348 & 2221962.43816803 & -730614.438168033 \tabularnewline
6 & 1629616 & 1664157.70121067 & -34541.7012106652 \tabularnewline
7 & 1398893 & 1436717.14880635 & -37824.1488063537 \tabularnewline
8 & 1926517 & 2134951.53862300 & -208434.538622995 \tabularnewline
9 & 983660 & 997559.003060841 & -13899.0030608413 \tabularnewline
10 & 1443586 & 717245.94226669 & 726340.05773331 \tabularnewline
11 & 1073089 & 1462907.41046439 & -389818.410464391 \tabularnewline
12 & 984885 & 617213.801988892 & 367671.198011108 \tabularnewline
13 & 1405225 & 1639068.40926536 & -233843.409265357 \tabularnewline
14 & 227132 & 1133786.90312661 & -906654.903126608 \tabularnewline
15 & 929118 & 1069413.36057326 & -140295.360573265 \tabularnewline
16 & 1071292 & 510415.060613959 & 560876.939386041 \tabularnewline
17 & 638830 & 1306272.73365619 & -667442.733656194 \tabularnewline
18 & 856956 & 984107.896640445 & -127151.896640445 \tabularnewline
19 & 992426 & 1258281.41240670 & -265855.412406696 \tabularnewline
20 & 444477 & 1258357.67519822 & -813880.675198225 \tabularnewline
21 & 857217 & 453403.686809274 & 403813.313190726 \tabularnewline
22 & 711969 & 616857.008285398 & 95111.9917146019 \tabularnewline
23 & 702380 & 939864.089780948 & -237484.089780948 \tabularnewline
24 & 358589 & 1394044.33398823 & -1035455.33398823 \tabularnewline
25 & 297978 & 613057.19262673 & -315079.192626729 \tabularnewline
26 & 585715 & 419989.946397259 & 165725.053602741 \tabularnewline
27 & 657954 & 1160077.34737211 & -502123.34737211 \tabularnewline
28 & 209458 & 107904.559188801 & 101553.440811199 \tabularnewline
29 & 786690 & 114269.043310585 & 672420.956689415 \tabularnewline
30 & 439798 & 225540.434303684 & 214257.565696316 \tabularnewline
31 & 688779 & 205640.507748383 & 483138.492251617 \tabularnewline
32 & 574339 & 524089.543628775 & 50249.4563712249 \tabularnewline
33 & 741409 & 269699.505111312 & 471709.494888688 \tabularnewline
34 & 597793 & 310492.070655495 & 287300.929344505 \tabularnewline
35 & 644190 & 910695.487116985 & -266505.487116985 \tabularnewline
36 & 377934 & 1180845.54583455 & -802911.545834555 \tabularnewline
37 & 640273 & 425047.171328002 & 215225.828671998 \tabularnewline
38 & 697458 & 479584.105749342 & 217873.894250658 \tabularnewline
39 & 550608 & 742872.051742991 & -192264.051742991 \tabularnewline
40 & 207393 & 473049.117637746 & -265656.117637746 \tabularnewline
41 & 301607 & -160154.326905311 & 461761.326905311 \tabularnewline
42 & 345783 & 449779.405952064 & -103996.405952064 \tabularnewline
43 & 501749 & 169081.651449792 & 332667.348550208 \tabularnewline
44 & 379983 & 496288.646787364 & -116305.646787364 \tabularnewline
45 & 387475 & 107805.678417072 & 279669.321582928 \tabularnewline
46 & 377305 & 205358.411888497 & 171946.588111503 \tabularnewline
47 & 370837 & 409362.855874288 & -38525.8558742880 \tabularnewline
48 & 430866 & 487914.854674141 & -57048.854674141 \tabularnewline
49 & 469107 & 348874.981297508 & 120232.018702492 \tabularnewline
50 & 194493 & 138864.969858935 & 55628.0301410649 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104110&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]6282154[/C][C]5337213.02698188[/C][C]944940.973018117[/C][/ROW]
[ROW][C]2[/C][C]4321023[/C][C]2309774.41317395[/C][C]2011248.58682605[/C][/ROW]
[ROW][C]3[/C][C]4111912[/C][C]3052467.30611131[/C][C]1059444.69388869[/C][/ROW]
[ROW][C]4[/C][C]223193[/C][C]2190387.93975230[/C][C]-1967194.93975230[/C][/ROW]
[ROW][C]5[/C][C]1491348[/C][C]2221962.43816803[/C][C]-730614.438168033[/C][/ROW]
[ROW][C]6[/C][C]1629616[/C][C]1664157.70121067[/C][C]-34541.7012106652[/C][/ROW]
[ROW][C]7[/C][C]1398893[/C][C]1436717.14880635[/C][C]-37824.1488063537[/C][/ROW]
[ROW][C]8[/C][C]1926517[/C][C]2134951.53862300[/C][C]-208434.538622995[/C][/ROW]
[ROW][C]9[/C][C]983660[/C][C]997559.003060841[/C][C]-13899.0030608413[/C][/ROW]
[ROW][C]10[/C][C]1443586[/C][C]717245.94226669[/C][C]726340.05773331[/C][/ROW]
[ROW][C]11[/C][C]1073089[/C][C]1462907.41046439[/C][C]-389818.410464391[/C][/ROW]
[ROW][C]12[/C][C]984885[/C][C]617213.801988892[/C][C]367671.198011108[/C][/ROW]
[ROW][C]13[/C][C]1405225[/C][C]1639068.40926536[/C][C]-233843.409265357[/C][/ROW]
[ROW][C]14[/C][C]227132[/C][C]1133786.90312661[/C][C]-906654.903126608[/C][/ROW]
[ROW][C]15[/C][C]929118[/C][C]1069413.36057326[/C][C]-140295.360573265[/C][/ROW]
[ROW][C]16[/C][C]1071292[/C][C]510415.060613959[/C][C]560876.939386041[/C][/ROW]
[ROW][C]17[/C][C]638830[/C][C]1306272.73365619[/C][C]-667442.733656194[/C][/ROW]
[ROW][C]18[/C][C]856956[/C][C]984107.896640445[/C][C]-127151.896640445[/C][/ROW]
[ROW][C]19[/C][C]992426[/C][C]1258281.41240670[/C][C]-265855.412406696[/C][/ROW]
[ROW][C]20[/C][C]444477[/C][C]1258357.67519822[/C][C]-813880.675198225[/C][/ROW]
[ROW][C]21[/C][C]857217[/C][C]453403.686809274[/C][C]403813.313190726[/C][/ROW]
[ROW][C]22[/C][C]711969[/C][C]616857.008285398[/C][C]95111.9917146019[/C][/ROW]
[ROW][C]23[/C][C]702380[/C][C]939864.089780948[/C][C]-237484.089780948[/C][/ROW]
[ROW][C]24[/C][C]358589[/C][C]1394044.33398823[/C][C]-1035455.33398823[/C][/ROW]
[ROW][C]25[/C][C]297978[/C][C]613057.19262673[/C][C]-315079.192626729[/C][/ROW]
[ROW][C]26[/C][C]585715[/C][C]419989.946397259[/C][C]165725.053602741[/C][/ROW]
[ROW][C]27[/C][C]657954[/C][C]1160077.34737211[/C][C]-502123.34737211[/C][/ROW]
[ROW][C]28[/C][C]209458[/C][C]107904.559188801[/C][C]101553.440811199[/C][/ROW]
[ROW][C]29[/C][C]786690[/C][C]114269.043310585[/C][C]672420.956689415[/C][/ROW]
[ROW][C]30[/C][C]439798[/C][C]225540.434303684[/C][C]214257.565696316[/C][/ROW]
[ROW][C]31[/C][C]688779[/C][C]205640.507748383[/C][C]483138.492251617[/C][/ROW]
[ROW][C]32[/C][C]574339[/C][C]524089.543628775[/C][C]50249.4563712249[/C][/ROW]
[ROW][C]33[/C][C]741409[/C][C]269699.505111312[/C][C]471709.494888688[/C][/ROW]
[ROW][C]34[/C][C]597793[/C][C]310492.070655495[/C][C]287300.929344505[/C][/ROW]
[ROW][C]35[/C][C]644190[/C][C]910695.487116985[/C][C]-266505.487116985[/C][/ROW]
[ROW][C]36[/C][C]377934[/C][C]1180845.54583455[/C][C]-802911.545834555[/C][/ROW]
[ROW][C]37[/C][C]640273[/C][C]425047.171328002[/C][C]215225.828671998[/C][/ROW]
[ROW][C]38[/C][C]697458[/C][C]479584.105749342[/C][C]217873.894250658[/C][/ROW]
[ROW][C]39[/C][C]550608[/C][C]742872.051742991[/C][C]-192264.051742991[/C][/ROW]
[ROW][C]40[/C][C]207393[/C][C]473049.117637746[/C][C]-265656.117637746[/C][/ROW]
[ROW][C]41[/C][C]301607[/C][C]-160154.326905311[/C][C]461761.326905311[/C][/ROW]
[ROW][C]42[/C][C]345783[/C][C]449779.405952064[/C][C]-103996.405952064[/C][/ROW]
[ROW][C]43[/C][C]501749[/C][C]169081.651449792[/C][C]332667.348550208[/C][/ROW]
[ROW][C]44[/C][C]379983[/C][C]496288.646787364[/C][C]-116305.646787364[/C][/ROW]
[ROW][C]45[/C][C]387475[/C][C]107805.678417072[/C][C]279669.321582928[/C][/ROW]
[ROW][C]46[/C][C]377305[/C][C]205358.411888497[/C][C]171946.588111503[/C][/ROW]
[ROW][C]47[/C][C]370837[/C][C]409362.855874288[/C][C]-38525.8558742880[/C][/ROW]
[ROW][C]48[/C][C]430866[/C][C]487914.854674141[/C][C]-57048.854674141[/C][/ROW]
[ROW][C]49[/C][C]469107[/C][C]348874.981297508[/C][C]120232.018702492[/C][/ROW]
[ROW][C]50[/C][C]194493[/C][C]138864.969858935[/C][C]55628.0301410649[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104110&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104110&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
162821545337213.02698188944940.973018117
243210232309774.413173952011248.58682605
341119123052467.306111311059444.69388869
42231932190387.93975230-1967194.93975230
514913482221962.43816803-730614.438168033
616296161664157.70121067-34541.7012106652
713988931436717.14880635-37824.1488063537
819265172134951.53862300-208434.538622995
9983660997559.003060841-13899.0030608413
101443586717245.94226669726340.05773331
1110730891462907.41046439-389818.410464391
12984885617213.801988892367671.198011108
1314052251639068.40926536-233843.409265357
142271321133786.90312661-906654.903126608
159291181069413.36057326-140295.360573265
161071292510415.060613959560876.939386041
176388301306272.73365619-667442.733656194
18856956984107.896640445-127151.896640445
199924261258281.41240670-265855.412406696
204444771258357.67519822-813880.675198225
21857217453403.686809274403813.313190726
22711969616857.00828539895111.9917146019
23702380939864.089780948-237484.089780948
243585891394044.33398823-1035455.33398823
25297978613057.19262673-315079.192626729
26585715419989.946397259165725.053602741
276579541160077.34737211-502123.34737211
28209458107904.559188801101553.440811199
29786690114269.043310585672420.956689415
30439798225540.434303684214257.565696316
31688779205640.507748383483138.492251617
32574339524089.54362877550249.4563712249
33741409269699.505111312471709.494888688
34597793310492.070655495287300.929344505
35644190910695.487116985-266505.487116985
363779341180845.54583455-802911.545834555
37640273425047.171328002215225.828671998
38697458479584.105749342217873.894250658
39550608742872.051742991-192264.051742991
40207393473049.117637746-265656.117637746
41301607-160154.326905311461761.326905311
42345783449779.405952064-103996.405952064
43501749169081.651449792332667.348550208
44379983496288.646787364-116305.646787364
45387475107805.678417072279669.321582928
46377305205358.411888497171946.588111503
47370837409362.855874288-38525.8558742880
48430866487914.854674141-57048.854674141
49469107348874.981297508120232.018702492
50194493138864.96985893555628.0301410649







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.9999999418498281.16300343650822e-075.81501718254112e-08
100.9999999997593124.81376774772452e-102.40688387386226e-10
110.9999999997833184.33363051684853e-102.16681525842426e-10
120.9999999991092251.78155057318665e-098.90775286593323e-10
130.9999999999674666.50680475653807e-113.25340237826904e-11
140.9999999999978634.27309858434303e-122.13654929217152e-12
150.9999999999939561.208793417559e-116.043967087795e-12
160.9999999999980223.95617749773151e-121.97808874886576e-12
170.9999999999975584.88382585441317e-122.44191292720658e-12
180.999999999995419.17854322261322e-124.58927161130661e-12
190.99999999999588.39856344119715e-124.19928172059858e-12
200.9999999999851042.97921754652948e-111.48960877326474e-11
210.9999999999900611.98772073725138e-119.93860368625689e-12
220.9999999999638567.22884199347525e-113.61442099673762e-11
230.9999999998091543.81692339878665e-101.90846169939333e-10
240.9999999994847531.03049478044610e-095.15247390223048e-10
250.9999999997651544.69692417676992e-102.34846208838496e-10
260.9999999991737831.65243385297641e-098.26216926488205e-10
270.9999999974324075.135185375793e-092.5675926878965e-09
280.9999999998369963.26007828943009e-101.63003914471505e-10
290.999999999552728.9456158136654e-104.4728079068327e-10
300.999999998409713.18057881035701e-091.59028940517850e-09
310.9999999906538621.86922767250441e-089.34613836252207e-09
320.999999945726221.08547560325012e-075.42737801625059e-08
330.9999997751695484.49660904262627e-072.24830452131313e-07
340.999998641656432.71668713925774e-061.35834356962887e-06
350.9999941809926531.16380146948068e-055.81900734740341e-06
360.9999745877999965.08244000087935e-052.54122000043967e-05
370.9999028310925870.0001943378148257669.71689074128828e-05
380.999878300661880.0002433986762399980.000121699338119999
390.9994444848742470.001111030251507020.000555515125753508
400.9989861450040810.002027709991837680.00101385499591884
410.994927594736840.01014481052631950.00507240526315976

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.999999941849828 & 1.16300343650822e-07 & 5.81501718254112e-08 \tabularnewline
10 & 0.999999999759312 & 4.81376774772452e-10 & 2.40688387386226e-10 \tabularnewline
11 & 0.999999999783318 & 4.33363051684853e-10 & 2.16681525842426e-10 \tabularnewline
12 & 0.999999999109225 & 1.78155057318665e-09 & 8.90775286593323e-10 \tabularnewline
13 & 0.999999999967466 & 6.50680475653807e-11 & 3.25340237826904e-11 \tabularnewline
14 & 0.999999999997863 & 4.27309858434303e-12 & 2.13654929217152e-12 \tabularnewline
15 & 0.999999999993956 & 1.208793417559e-11 & 6.043967087795e-12 \tabularnewline
16 & 0.999999999998022 & 3.95617749773151e-12 & 1.97808874886576e-12 \tabularnewline
17 & 0.999999999997558 & 4.88382585441317e-12 & 2.44191292720658e-12 \tabularnewline
18 & 0.99999999999541 & 9.17854322261322e-12 & 4.58927161130661e-12 \tabularnewline
19 & 0.9999999999958 & 8.39856344119715e-12 & 4.19928172059858e-12 \tabularnewline
20 & 0.999999999985104 & 2.97921754652948e-11 & 1.48960877326474e-11 \tabularnewline
21 & 0.999999999990061 & 1.98772073725138e-11 & 9.93860368625689e-12 \tabularnewline
22 & 0.999999999963856 & 7.22884199347525e-11 & 3.61442099673762e-11 \tabularnewline
23 & 0.999999999809154 & 3.81692339878665e-10 & 1.90846169939333e-10 \tabularnewline
24 & 0.999999999484753 & 1.03049478044610e-09 & 5.15247390223048e-10 \tabularnewline
25 & 0.999999999765154 & 4.69692417676992e-10 & 2.34846208838496e-10 \tabularnewline
26 & 0.999999999173783 & 1.65243385297641e-09 & 8.26216926488205e-10 \tabularnewline
27 & 0.999999997432407 & 5.135185375793e-09 & 2.5675926878965e-09 \tabularnewline
28 & 0.999999999836996 & 3.26007828943009e-10 & 1.63003914471505e-10 \tabularnewline
29 & 0.99999999955272 & 8.9456158136654e-10 & 4.4728079068327e-10 \tabularnewline
30 & 0.99999999840971 & 3.18057881035701e-09 & 1.59028940517850e-09 \tabularnewline
31 & 0.999999990653862 & 1.86922767250441e-08 & 9.34613836252207e-09 \tabularnewline
32 & 0.99999994572622 & 1.08547560325012e-07 & 5.42737801625059e-08 \tabularnewline
33 & 0.999999775169548 & 4.49660904262627e-07 & 2.24830452131313e-07 \tabularnewline
34 & 0.99999864165643 & 2.71668713925774e-06 & 1.35834356962887e-06 \tabularnewline
35 & 0.999994180992653 & 1.16380146948068e-05 & 5.81900734740341e-06 \tabularnewline
36 & 0.999974587799996 & 5.08244000087935e-05 & 2.54122000043967e-05 \tabularnewline
37 & 0.999902831092587 & 0.000194337814825766 & 9.71689074128828e-05 \tabularnewline
38 & 0.99987830066188 & 0.000243398676239998 & 0.000121699338119999 \tabularnewline
39 & 0.999444484874247 & 0.00111103025150702 & 0.000555515125753508 \tabularnewline
40 & 0.998986145004081 & 0.00202770999183768 & 0.00101385499591884 \tabularnewline
41 & 0.99492759473684 & 0.0101448105263195 & 0.00507240526315976 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104110&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]9[/C][C]0.999999941849828[/C][C]1.16300343650822e-07[/C][C]5.81501718254112e-08[/C][/ROW]
[ROW][C]10[/C][C]0.999999999759312[/C][C]4.81376774772452e-10[/C][C]2.40688387386226e-10[/C][/ROW]
[ROW][C]11[/C][C]0.999999999783318[/C][C]4.33363051684853e-10[/C][C]2.16681525842426e-10[/C][/ROW]
[ROW][C]12[/C][C]0.999999999109225[/C][C]1.78155057318665e-09[/C][C]8.90775286593323e-10[/C][/ROW]
[ROW][C]13[/C][C]0.999999999967466[/C][C]6.50680475653807e-11[/C][C]3.25340237826904e-11[/C][/ROW]
[ROW][C]14[/C][C]0.999999999997863[/C][C]4.27309858434303e-12[/C][C]2.13654929217152e-12[/C][/ROW]
[ROW][C]15[/C][C]0.999999999993956[/C][C]1.208793417559e-11[/C][C]6.043967087795e-12[/C][/ROW]
[ROW][C]16[/C][C]0.999999999998022[/C][C]3.95617749773151e-12[/C][C]1.97808874886576e-12[/C][/ROW]
[ROW][C]17[/C][C]0.999999999997558[/C][C]4.88382585441317e-12[/C][C]2.44191292720658e-12[/C][/ROW]
[ROW][C]18[/C][C]0.99999999999541[/C][C]9.17854322261322e-12[/C][C]4.58927161130661e-12[/C][/ROW]
[ROW][C]19[/C][C]0.9999999999958[/C][C]8.39856344119715e-12[/C][C]4.19928172059858e-12[/C][/ROW]
[ROW][C]20[/C][C]0.999999999985104[/C][C]2.97921754652948e-11[/C][C]1.48960877326474e-11[/C][/ROW]
[ROW][C]21[/C][C]0.999999999990061[/C][C]1.98772073725138e-11[/C][C]9.93860368625689e-12[/C][/ROW]
[ROW][C]22[/C][C]0.999999999963856[/C][C]7.22884199347525e-11[/C][C]3.61442099673762e-11[/C][/ROW]
[ROW][C]23[/C][C]0.999999999809154[/C][C]3.81692339878665e-10[/C][C]1.90846169939333e-10[/C][/ROW]
[ROW][C]24[/C][C]0.999999999484753[/C][C]1.03049478044610e-09[/C][C]5.15247390223048e-10[/C][/ROW]
[ROW][C]25[/C][C]0.999999999765154[/C][C]4.69692417676992e-10[/C][C]2.34846208838496e-10[/C][/ROW]
[ROW][C]26[/C][C]0.999999999173783[/C][C]1.65243385297641e-09[/C][C]8.26216926488205e-10[/C][/ROW]
[ROW][C]27[/C][C]0.999999997432407[/C][C]5.135185375793e-09[/C][C]2.5675926878965e-09[/C][/ROW]
[ROW][C]28[/C][C]0.999999999836996[/C][C]3.26007828943009e-10[/C][C]1.63003914471505e-10[/C][/ROW]
[ROW][C]29[/C][C]0.99999999955272[/C][C]8.9456158136654e-10[/C][C]4.4728079068327e-10[/C][/ROW]
[ROW][C]30[/C][C]0.99999999840971[/C][C]3.18057881035701e-09[/C][C]1.59028940517850e-09[/C][/ROW]
[ROW][C]31[/C][C]0.999999990653862[/C][C]1.86922767250441e-08[/C][C]9.34613836252207e-09[/C][/ROW]
[ROW][C]32[/C][C]0.99999994572622[/C][C]1.08547560325012e-07[/C][C]5.42737801625059e-08[/C][/ROW]
[ROW][C]33[/C][C]0.999999775169548[/C][C]4.49660904262627e-07[/C][C]2.24830452131313e-07[/C][/ROW]
[ROW][C]34[/C][C]0.99999864165643[/C][C]2.71668713925774e-06[/C][C]1.35834356962887e-06[/C][/ROW]
[ROW][C]35[/C][C]0.999994180992653[/C][C]1.16380146948068e-05[/C][C]5.81900734740341e-06[/C][/ROW]
[ROW][C]36[/C][C]0.999974587799996[/C][C]5.08244000087935e-05[/C][C]2.54122000043967e-05[/C][/ROW]
[ROW][C]37[/C][C]0.999902831092587[/C][C]0.000194337814825766[/C][C]9.71689074128828e-05[/C][/ROW]
[ROW][C]38[/C][C]0.99987830066188[/C][C]0.000243398676239998[/C][C]0.000121699338119999[/C][/ROW]
[ROW][C]39[/C][C]0.999444484874247[/C][C]0.00111103025150702[/C][C]0.000555515125753508[/C][/ROW]
[ROW][C]40[/C][C]0.998986145004081[/C][C]0.00202770999183768[/C][C]0.00101385499591884[/C][/ROW]
[ROW][C]41[/C][C]0.99492759473684[/C][C]0.0101448105263195[/C][C]0.00507240526315976[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104110&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104110&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
90.9999999418498281.16300343650822e-075.81501718254112e-08
100.9999999997593124.81376774772452e-102.40688387386226e-10
110.9999999997833184.33363051684853e-102.16681525842426e-10
120.9999999991092251.78155057318665e-098.90775286593323e-10
130.9999999999674666.50680475653807e-113.25340237826904e-11
140.9999999999978634.27309858434303e-122.13654929217152e-12
150.9999999999939561.208793417559e-116.043967087795e-12
160.9999999999980223.95617749773151e-121.97808874886576e-12
170.9999999999975584.88382585441317e-122.44191292720658e-12
180.999999999995419.17854322261322e-124.58927161130661e-12
190.99999999999588.39856344119715e-124.19928172059858e-12
200.9999999999851042.97921754652948e-111.48960877326474e-11
210.9999999999900611.98772073725138e-119.93860368625689e-12
220.9999999999638567.22884199347525e-113.61442099673762e-11
230.9999999998091543.81692339878665e-101.90846169939333e-10
240.9999999994847531.03049478044610e-095.15247390223048e-10
250.9999999997651544.69692417676992e-102.34846208838496e-10
260.9999999991737831.65243385297641e-098.26216926488205e-10
270.9999999974324075.135185375793e-092.5675926878965e-09
280.9999999998369963.26007828943009e-101.63003914471505e-10
290.999999999552728.9456158136654e-104.4728079068327e-10
300.999999998409713.18057881035701e-091.59028940517850e-09
310.9999999906538621.86922767250441e-089.34613836252207e-09
320.999999945726221.08547560325012e-075.42737801625059e-08
330.9999997751695484.49660904262627e-072.24830452131313e-07
340.999998641656432.71668713925774e-061.35834356962887e-06
350.9999941809926531.16380146948068e-055.81900734740341e-06
360.9999745877999965.08244000087935e-052.54122000043967e-05
370.9999028310925870.0001943378148257669.71689074128828e-05
380.999878300661880.0002433986762399980.000121699338119999
390.9994444848742470.001111030251507020.000555515125753508
400.9989861450040810.002027709991837680.00101385499591884
410.994927594736840.01014481052631950.00507240526315976







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level320.96969696969697NOK
5% type I error level331NOK
10% type I error level331NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104110&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 level320.96969696969697NOK
5% type I error level331NOK
10% type I error level331NOK



Parameters (Session):
par1 = 5 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 5 ; par2 = Do not include Seasonal 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')
}