Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 03 Dec 2010 17:38:13 +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/03/t12913979983leqheslkfcfbdq.htm/, Retrieved Tue, 07 May 2024 15:41:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104945, Retrieved Tue, 07 May 2024 15:41:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact143
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple regressi...] [2010-12-03 17:38:13] [d5e0edb7e0239841e94676417b2a1e2e] [Current]
Feedback Forum

Post a new message
Dataseries X:
162556	1081	213118	230380558	6282929
29790	309	81767	25266003	4324047
87550	458	153198	70164684	4108272
84738	588	-26007	-15292116	-1212617
54660	299	126942	37955658	1485329
42634	156	157214	24525384	1779876
40949	481	129352	62218312	1367203
42312	323	234817	75845891	2519076
37704	452	60448	27322496	912684
16275	109	47818	5212162	1443586
25830	115	245546	28237790	1220017
12679	110	48020	5282200	984885
18014	239	-1710	-408690	1457425
43556	247	32648	8064056	-572920
24524	497	95350	47388950	929144
6532	103	151352	15589256	1151176
7123	109	288170	31410530	790090
20813	502	114337	57397174	774497
37597	248	37884	9395232	990576
17821	373	122844	45820812	454195
12988	119	82340	9798460	876607
22330	84	79801	6703284	711969
13326	102	165548	16885896	702380
16189	295	116384	34333280	264449
7146	105	134028	14072940	450033
15824	64	63838	4085632	541063
26088	267	74996	20023932	588864
11326	129	31080	4009320	-37216
8568	37	32168	1190216	783310
14416	361	49857	17998377	467359
3369	28	87161	2440508	688779
11819	85	106113	9019605	608419
6620	44	80570	3545080	696348
4519	49	102129	5004321	597793
2220	22	301670	6636740	821730
18562	155	102313	15858515	377934
10327	91	88577	8060507	651939
5336	81	112477	9110637	697458
2365	79	191778	15150462	700368
4069	145	79804	11571580	225986
7710	816	128294	104687904	348695
13718	61	96448	5883328	373683
4525	226	93811	21201286	501709
6869	105	117520	12339600	413743
4628	62	69159	4287858	379825
3653	24	101792	2443008	336260
1265	26	210568	5474768	636765
7489	322	136996	44112712	481231
4901	84	121920	10241280	469107




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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 & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=104945&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=104945&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104945&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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
Wealth [t] = + 715947.084583941 + 21.495781857674Costs[t] -3855.32416995473Trades[t] -1.17140535691399Dividends[t] + 0.0299110528431907TrDiv[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Wealth
[t] =  +  715947.084583941 +  21.495781857674Costs[t] -3855.32416995473Trades[t] -1.17140535691399Dividends[t] +  0.0299110528431907TrDiv[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104945&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Wealth
[t] =  +  715947.084583941 +  21.495781857674Costs[t] -3855.32416995473Trades[t] -1.17140535691399Dividends[t] +  0.0299110528431907TrDiv[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104945&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104945&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
Wealth [t] = + 715947.084583941 + 21.495781857674Costs[t] -3855.32416995473Trades[t] -1.17140535691399Dividends[t] + 0.0299110528431907TrDiv[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)715947.084583941312229.4559632.2930.0266840.013342
Costs21.4957818576745.7292453.75190.000510.000255
Trades-3855.324169954731100.628291-3.50280.001070.000535
Dividends-1.171405356913992.1403-0.54730.5869320.293466
TrDiv0.02991105284319070.0069014.33458.4e-054.2e-05

\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) & 715947.084583941 & 312229.455963 & 2.293 & 0.026684 & 0.013342 \tabularnewline
Costs & 21.495781857674 & 5.729245 & 3.7519 & 0.00051 & 0.000255 \tabularnewline
Trades & -3855.32416995473 & 1100.628291 & -3.5028 & 0.00107 & 0.000535 \tabularnewline
Dividends & -1.17140535691399 & 2.1403 & -0.5473 & 0.586932 & 0.293466 \tabularnewline
TrDiv & 0.0299110528431907 & 0.006901 & 4.3345 & 8.4e-05 & 4.2e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104945&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]715947.084583941[/C][C]312229.455963[/C][C]2.293[/C][C]0.026684[/C][C]0.013342[/C][/ROW]
[ROW][C]Costs[/C][C]21.495781857674[/C][C]5.729245[/C][C]3.7519[/C][C]0.00051[/C][C]0.000255[/C][/ROW]
[ROW][C]Trades[/C][C]-3855.32416995473[/C][C]1100.628291[/C][C]-3.5028[/C][C]0.00107[/C][C]0.000535[/C][/ROW]
[ROW][C]Dividends[/C][C]-1.17140535691399[/C][C]2.1403[/C][C]-0.5473[/C][C]0.586932[/C][C]0.293466[/C][/ROW]
[ROW][C]TrDiv[/C][C]0.0299110528431907[/C][C]0.006901[/C][C]4.3345[/C][C]8.4e-05[/C][C]4.2e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104945&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104945&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)715947.084583941312229.4559632.2930.0266840.013342
Costs21.4957818576745.7292453.75190.000510.000255
Trades-3855.324169954731100.628291-3.50280.001070.000535
Dividends-1.171405356913992.1403-0.54730.5869320.293466
TrDiv0.02991105284319070.0069014.33458.4e-054.2e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.812965176413633
R-squared0.66091237806125
Adjusted R-squared0.630086230612272
F-TEST (value)21.4399927579395
F-TEST (DF numerator)4
F-TEST (DF denominator)44
p-value7.21631754352359e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation721742.058513831
Sum Squared Residuals22920110357222.4

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.812965176413633 \tabularnewline
R-squared & 0.66091237806125 \tabularnewline
Adjusted R-squared & 0.630086230612272 \tabularnewline
F-TEST (value) & 21.4399927579395 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 7.21631754352359e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 721742.058513831 \tabularnewline
Sum Squared Residuals & 22920110357222.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104945&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.812965176413633[/C][/ROW]
[ROW][C]R-squared[/C][C]0.66091237806125[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.630086230612272[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]21.4399927579395[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]7.21631754352359e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]721742.058513831[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]22920110357222.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104945&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104945&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.812965176413633
R-squared0.66091237806125
Adjusted R-squared0.630086230612272
F-TEST (value)21.4399927579395
F-TEST (DF numerator)4
F-TEST (DF denominator)44
p-value7.21631754352359e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation721742.058513831
Sum Squared Residuals22920110357222.4







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
162829296683887.45004589-400958.450045888
24324047824961.7066584653499085.29334154
341082722751406.92936531356865.07063470
4-1212617-156412.514936801-1056204.4850632
514853291724757.74742663-239428.747426634
617798761580386.41283274199489.587167257
713672031451258.52244419-84055.5224441936
825190762373771.46159587145304.538404128
9912684530253.029575272382430.970424728
101443586745447.591444877698138.408555123
1112200171384808.97951899-164791.979518985
12984885666151.722151661318733.277848339
131457425171528.3773227391285896.62267726
14-572920902912.652251892-1475832.65225189
15929144632773.413245609296370.586754391
161151176748255.658595311402920.341404689
177900901050789.34519181-260699.345191809
18774497810840.98934077-36343.9893407696
19990576804647.361222844185928.638777156
20454195887636.107061598-433441.107061598
21876607732979.46088039143627.539119610
22711969979123.626249426-267154.626249426
23702380920307.921818147-217927.921818147
24264449817233.378242163-552784.378242163
25450033728682.238716216-278649.238716216
26541063856780.969297827-315717.969297827
27588864758443.660342362-169579.660342362
28-37216545587.195872171-582803.195872171
29783310755394.79540176827915.2045982317
30467359114005.899149518353353.100850482
31688779651314.59834196237464.4016580384
32608419787787.72105513-179368.721055130
33696348700271.842610513-3923.84261051299
34597793654225.690650008-56432.6906500078
35821730523984.615395247297745.384604753
36377934871871.424980693-493937.424980693
37651939724438.202882798-72499.2028827978
38697458659119.9032226738338.0967773304
39700368690730.4921934179637.50780658263
40225986497026.724075425-271040.724075425
41348695716776.189750495-368081.189750495
42373683838648.276578457-464965.276578457
43501709466174.31303228735534.6869677131
44413743690219.442438361-276476.442438361
45379825623640.588627346-243815.588627346
46336260655776.642924459-319516.642924459
47636765559996.4119726276768.58802738
48481231794494.4236033-313263.423603300
49469107660960.407339162-191853.407339162

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6282929 & 6683887.45004589 & -400958.450045888 \tabularnewline
2 & 4324047 & 824961.706658465 & 3499085.29334154 \tabularnewline
3 & 4108272 & 2751406.9293653 & 1356865.07063470 \tabularnewline
4 & -1212617 & -156412.514936801 & -1056204.4850632 \tabularnewline
5 & 1485329 & 1724757.74742663 & -239428.747426634 \tabularnewline
6 & 1779876 & 1580386.41283274 & 199489.587167257 \tabularnewline
7 & 1367203 & 1451258.52244419 & -84055.5224441936 \tabularnewline
8 & 2519076 & 2373771.46159587 & 145304.538404128 \tabularnewline
9 & 912684 & 530253.029575272 & 382430.970424728 \tabularnewline
10 & 1443586 & 745447.591444877 & 698138.408555123 \tabularnewline
11 & 1220017 & 1384808.97951899 & -164791.979518985 \tabularnewline
12 & 984885 & 666151.722151661 & 318733.277848339 \tabularnewline
13 & 1457425 & 171528.377322739 & 1285896.62267726 \tabularnewline
14 & -572920 & 902912.652251892 & -1475832.65225189 \tabularnewline
15 & 929144 & 632773.413245609 & 296370.586754391 \tabularnewline
16 & 1151176 & 748255.658595311 & 402920.341404689 \tabularnewline
17 & 790090 & 1050789.34519181 & -260699.345191809 \tabularnewline
18 & 774497 & 810840.98934077 & -36343.9893407696 \tabularnewline
19 & 990576 & 804647.361222844 & 185928.638777156 \tabularnewline
20 & 454195 & 887636.107061598 & -433441.107061598 \tabularnewline
21 & 876607 & 732979.46088039 & 143627.539119610 \tabularnewline
22 & 711969 & 979123.626249426 & -267154.626249426 \tabularnewline
23 & 702380 & 920307.921818147 & -217927.921818147 \tabularnewline
24 & 264449 & 817233.378242163 & -552784.378242163 \tabularnewline
25 & 450033 & 728682.238716216 & -278649.238716216 \tabularnewline
26 & 541063 & 856780.969297827 & -315717.969297827 \tabularnewline
27 & 588864 & 758443.660342362 & -169579.660342362 \tabularnewline
28 & -37216 & 545587.195872171 & -582803.195872171 \tabularnewline
29 & 783310 & 755394.795401768 & 27915.2045982317 \tabularnewline
30 & 467359 & 114005.899149518 & 353353.100850482 \tabularnewline
31 & 688779 & 651314.598341962 & 37464.4016580384 \tabularnewline
32 & 608419 & 787787.72105513 & -179368.721055130 \tabularnewline
33 & 696348 & 700271.842610513 & -3923.84261051299 \tabularnewline
34 & 597793 & 654225.690650008 & -56432.6906500078 \tabularnewline
35 & 821730 & 523984.615395247 & 297745.384604753 \tabularnewline
36 & 377934 & 871871.424980693 & -493937.424980693 \tabularnewline
37 & 651939 & 724438.202882798 & -72499.2028827978 \tabularnewline
38 & 697458 & 659119.90322267 & 38338.0967773304 \tabularnewline
39 & 700368 & 690730.492193417 & 9637.50780658263 \tabularnewline
40 & 225986 & 497026.724075425 & -271040.724075425 \tabularnewline
41 & 348695 & 716776.189750495 & -368081.189750495 \tabularnewline
42 & 373683 & 838648.276578457 & -464965.276578457 \tabularnewline
43 & 501709 & 466174.313032287 & 35534.6869677131 \tabularnewline
44 & 413743 & 690219.442438361 & -276476.442438361 \tabularnewline
45 & 379825 & 623640.588627346 & -243815.588627346 \tabularnewline
46 & 336260 & 655776.642924459 & -319516.642924459 \tabularnewline
47 & 636765 & 559996.41197262 & 76768.58802738 \tabularnewline
48 & 481231 & 794494.4236033 & -313263.423603300 \tabularnewline
49 & 469107 & 660960.407339162 & -191853.407339162 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104945&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]6282929[/C][C]6683887.45004589[/C][C]-400958.450045888[/C][/ROW]
[ROW][C]2[/C][C]4324047[/C][C]824961.706658465[/C][C]3499085.29334154[/C][/ROW]
[ROW][C]3[/C][C]4108272[/C][C]2751406.9293653[/C][C]1356865.07063470[/C][/ROW]
[ROW][C]4[/C][C]-1212617[/C][C]-156412.514936801[/C][C]-1056204.4850632[/C][/ROW]
[ROW][C]5[/C][C]1485329[/C][C]1724757.74742663[/C][C]-239428.747426634[/C][/ROW]
[ROW][C]6[/C][C]1779876[/C][C]1580386.41283274[/C][C]199489.587167257[/C][/ROW]
[ROW][C]7[/C][C]1367203[/C][C]1451258.52244419[/C][C]-84055.5224441936[/C][/ROW]
[ROW][C]8[/C][C]2519076[/C][C]2373771.46159587[/C][C]145304.538404128[/C][/ROW]
[ROW][C]9[/C][C]912684[/C][C]530253.029575272[/C][C]382430.970424728[/C][/ROW]
[ROW][C]10[/C][C]1443586[/C][C]745447.591444877[/C][C]698138.408555123[/C][/ROW]
[ROW][C]11[/C][C]1220017[/C][C]1384808.97951899[/C][C]-164791.979518985[/C][/ROW]
[ROW][C]12[/C][C]984885[/C][C]666151.722151661[/C][C]318733.277848339[/C][/ROW]
[ROW][C]13[/C][C]1457425[/C][C]171528.377322739[/C][C]1285896.62267726[/C][/ROW]
[ROW][C]14[/C][C]-572920[/C][C]902912.652251892[/C][C]-1475832.65225189[/C][/ROW]
[ROW][C]15[/C][C]929144[/C][C]632773.413245609[/C][C]296370.586754391[/C][/ROW]
[ROW][C]16[/C][C]1151176[/C][C]748255.658595311[/C][C]402920.341404689[/C][/ROW]
[ROW][C]17[/C][C]790090[/C][C]1050789.34519181[/C][C]-260699.345191809[/C][/ROW]
[ROW][C]18[/C][C]774497[/C][C]810840.98934077[/C][C]-36343.9893407696[/C][/ROW]
[ROW][C]19[/C][C]990576[/C][C]804647.361222844[/C][C]185928.638777156[/C][/ROW]
[ROW][C]20[/C][C]454195[/C][C]887636.107061598[/C][C]-433441.107061598[/C][/ROW]
[ROW][C]21[/C][C]876607[/C][C]732979.46088039[/C][C]143627.539119610[/C][/ROW]
[ROW][C]22[/C][C]711969[/C][C]979123.626249426[/C][C]-267154.626249426[/C][/ROW]
[ROW][C]23[/C][C]702380[/C][C]920307.921818147[/C][C]-217927.921818147[/C][/ROW]
[ROW][C]24[/C][C]264449[/C][C]817233.378242163[/C][C]-552784.378242163[/C][/ROW]
[ROW][C]25[/C][C]450033[/C][C]728682.238716216[/C][C]-278649.238716216[/C][/ROW]
[ROW][C]26[/C][C]541063[/C][C]856780.969297827[/C][C]-315717.969297827[/C][/ROW]
[ROW][C]27[/C][C]588864[/C][C]758443.660342362[/C][C]-169579.660342362[/C][/ROW]
[ROW][C]28[/C][C]-37216[/C][C]545587.195872171[/C][C]-582803.195872171[/C][/ROW]
[ROW][C]29[/C][C]783310[/C][C]755394.795401768[/C][C]27915.2045982317[/C][/ROW]
[ROW][C]30[/C][C]467359[/C][C]114005.899149518[/C][C]353353.100850482[/C][/ROW]
[ROW][C]31[/C][C]688779[/C][C]651314.598341962[/C][C]37464.4016580384[/C][/ROW]
[ROW][C]32[/C][C]608419[/C][C]787787.72105513[/C][C]-179368.721055130[/C][/ROW]
[ROW][C]33[/C][C]696348[/C][C]700271.842610513[/C][C]-3923.84261051299[/C][/ROW]
[ROW][C]34[/C][C]597793[/C][C]654225.690650008[/C][C]-56432.6906500078[/C][/ROW]
[ROW][C]35[/C][C]821730[/C][C]523984.615395247[/C][C]297745.384604753[/C][/ROW]
[ROW][C]36[/C][C]377934[/C][C]871871.424980693[/C][C]-493937.424980693[/C][/ROW]
[ROW][C]37[/C][C]651939[/C][C]724438.202882798[/C][C]-72499.2028827978[/C][/ROW]
[ROW][C]38[/C][C]697458[/C][C]659119.90322267[/C][C]38338.0967773304[/C][/ROW]
[ROW][C]39[/C][C]700368[/C][C]690730.492193417[/C][C]9637.50780658263[/C][/ROW]
[ROW][C]40[/C][C]225986[/C][C]497026.724075425[/C][C]-271040.724075425[/C][/ROW]
[ROW][C]41[/C][C]348695[/C][C]716776.189750495[/C][C]-368081.189750495[/C][/ROW]
[ROW][C]42[/C][C]373683[/C][C]838648.276578457[/C][C]-464965.276578457[/C][/ROW]
[ROW][C]43[/C][C]501709[/C][C]466174.313032287[/C][C]35534.6869677131[/C][/ROW]
[ROW][C]44[/C][C]413743[/C][C]690219.442438361[/C][C]-276476.442438361[/C][/ROW]
[ROW][C]45[/C][C]379825[/C][C]623640.588627346[/C][C]-243815.588627346[/C][/ROW]
[ROW][C]46[/C][C]336260[/C][C]655776.642924459[/C][C]-319516.642924459[/C][/ROW]
[ROW][C]47[/C][C]636765[/C][C]559996.41197262[/C][C]76768.58802738[/C][/ROW]
[ROW][C]48[/C][C]481231[/C][C]794494.4236033[/C][C]-313263.423603300[/C][/ROW]
[ROW][C]49[/C][C]469107[/C][C]660960.407339162[/C][C]-191853.407339162[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104945&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104945&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
162829296683887.45004589-400958.450045888
24324047824961.7066584653499085.29334154
341082722751406.92936531356865.07063470
4-1212617-156412.514936801-1056204.4850632
514853291724757.74742663-239428.747426634
617798761580386.41283274199489.587167257
713672031451258.52244419-84055.5224441936
825190762373771.46159587145304.538404128
9912684530253.029575272382430.970424728
101443586745447.591444877698138.408555123
1112200171384808.97951899-164791.979518985
12984885666151.722151661318733.277848339
131457425171528.3773227391285896.62267726
14-572920902912.652251892-1475832.65225189
15929144632773.413245609296370.586754391
161151176748255.658595311402920.341404689
177900901050789.34519181-260699.345191809
18774497810840.98934077-36343.9893407696
19990576804647.361222844185928.638777156
20454195887636.107061598-433441.107061598
21876607732979.46088039143627.539119610
22711969979123.626249426-267154.626249426
23702380920307.921818147-217927.921818147
24264449817233.378242163-552784.378242163
25450033728682.238716216-278649.238716216
26541063856780.969297827-315717.969297827
27588864758443.660342362-169579.660342362
28-37216545587.195872171-582803.195872171
29783310755394.79540176827915.2045982317
30467359114005.899149518353353.100850482
31688779651314.59834196237464.4016580384
32608419787787.72105513-179368.721055130
33696348700271.842610513-3923.84261051299
34597793654225.690650008-56432.6906500078
35821730523984.615395247297745.384604753
36377934871871.424980693-493937.424980693
37651939724438.202882798-72499.2028827978
38697458659119.9032226738338.0967773304
39700368690730.4921934179637.50780658263
40225986497026.724075425-271040.724075425
41348695716776.189750495-368081.189750495
42373683838648.276578457-464965.276578457
43501709466174.31303228735534.6869677131
44413743690219.442438361-276476.442438361
45379825623640.588627346-243815.588627346
46336260655776.642924459-319516.642924459
47636765559996.4119726276768.58802738
48481231794494.4236033-313263.423603300
49469107660960.407339162-191853.407339162







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.9999995448315419.10336917402721e-074.55168458701361e-07
90.999998961315062.07736987972554e-061.03868493986277e-06
100.9999999815728593.68542826753797e-081.84271413376898e-08
110.9999999750325494.99349022652152e-082.49674511326076e-08
120.999999981105263.77894789084448e-081.88947394542224e-08
130.9999999968621176.27576503541607e-093.13788251770803e-09
140.9999999999998612.77044379890532e-131.38522189945266e-13
150.9999999999997435.14462394796567e-132.57231197398284e-13
160.9999999999999431.12926633765013e-135.64633168825065e-14
170.9999999999997025.95001089092457e-132.97500544546228e-13
180.999999999999291.41925707076958e-127.09628535384791e-13
190.9999999999991331.73471916365727e-128.67359581828634e-13
200.9999999999969376.12646718667591e-123.06323359333795e-12
210.9999999999972255.55083032034328e-122.77541516017164e-12
220.99999999999171.66015590504748e-118.3007795252374e-12
230.9999999999609557.80905564356612e-113.90452782178306e-11
240.9999999999211381.57724225776189e-107.88621128880944e-11
250.9999999996720576.55886441583376e-103.27943220791688e-10
260.9999999985283582.94328424053372e-091.47164212026686e-09
270.9999999949017551.01964909135522e-085.09824545677611e-09
280.9999999991368311.72633764939764e-098.63168824698822e-10
290.9999999993118351.37633034144963e-096.88165170724813e-10
300.9999999973753625.24927665137684e-092.62463832568842e-09
310.9999999906641331.86717342542710e-089.33586712713552e-09
320.9999999547890019.04219969326104e-084.52109984663052e-08
330.9999999243601871.51279626529823e-077.56398132649113e-08
340.9999996536209436.927581144794e-073.463790572397e-07
350.999997779382914.4412341817148e-062.2206170908574e-06
360.99998960518012.07896398017451e-051.03948199008725e-05
370.9999820217175673.59565648659548e-051.79782824329774e-05
380.9999897587991792.04824016423153e-051.02412008211576e-05
390.999940127135880.0001197457282415375.98728641207684e-05
400.9999371311879740.0001257376240519926.2868812025996e-05
410.9998271608054530.0003456783890947850.000172839194547393

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.999999544831541 & 9.10336917402721e-07 & 4.55168458701361e-07 \tabularnewline
9 & 0.99999896131506 & 2.07736987972554e-06 & 1.03868493986277e-06 \tabularnewline
10 & 0.999999981572859 & 3.68542826753797e-08 & 1.84271413376898e-08 \tabularnewline
11 & 0.999999975032549 & 4.99349022652152e-08 & 2.49674511326076e-08 \tabularnewline
12 & 0.99999998110526 & 3.77894789084448e-08 & 1.88947394542224e-08 \tabularnewline
13 & 0.999999996862117 & 6.27576503541607e-09 & 3.13788251770803e-09 \tabularnewline
14 & 0.999999999999861 & 2.77044379890532e-13 & 1.38522189945266e-13 \tabularnewline
15 & 0.999999999999743 & 5.14462394796567e-13 & 2.57231197398284e-13 \tabularnewline
16 & 0.999999999999943 & 1.12926633765013e-13 & 5.64633168825065e-14 \tabularnewline
17 & 0.999999999999702 & 5.95001089092457e-13 & 2.97500544546228e-13 \tabularnewline
18 & 0.99999999999929 & 1.41925707076958e-12 & 7.09628535384791e-13 \tabularnewline
19 & 0.999999999999133 & 1.73471916365727e-12 & 8.67359581828634e-13 \tabularnewline
20 & 0.999999999996937 & 6.12646718667591e-12 & 3.06323359333795e-12 \tabularnewline
21 & 0.999999999997225 & 5.55083032034328e-12 & 2.77541516017164e-12 \tabularnewline
22 & 0.9999999999917 & 1.66015590504748e-11 & 8.3007795252374e-12 \tabularnewline
23 & 0.999999999960955 & 7.80905564356612e-11 & 3.90452782178306e-11 \tabularnewline
24 & 0.999999999921138 & 1.57724225776189e-10 & 7.88621128880944e-11 \tabularnewline
25 & 0.999999999672057 & 6.55886441583376e-10 & 3.27943220791688e-10 \tabularnewline
26 & 0.999999998528358 & 2.94328424053372e-09 & 1.47164212026686e-09 \tabularnewline
27 & 0.999999994901755 & 1.01964909135522e-08 & 5.09824545677611e-09 \tabularnewline
28 & 0.999999999136831 & 1.72633764939764e-09 & 8.63168824698822e-10 \tabularnewline
29 & 0.999999999311835 & 1.37633034144963e-09 & 6.88165170724813e-10 \tabularnewline
30 & 0.999999997375362 & 5.24927665137684e-09 & 2.62463832568842e-09 \tabularnewline
31 & 0.999999990664133 & 1.86717342542710e-08 & 9.33586712713552e-09 \tabularnewline
32 & 0.999999954789001 & 9.04219969326104e-08 & 4.52109984663052e-08 \tabularnewline
33 & 0.999999924360187 & 1.51279626529823e-07 & 7.56398132649113e-08 \tabularnewline
34 & 0.999999653620943 & 6.927581144794e-07 & 3.463790572397e-07 \tabularnewline
35 & 0.99999777938291 & 4.4412341817148e-06 & 2.2206170908574e-06 \tabularnewline
36 & 0.9999896051801 & 2.07896398017451e-05 & 1.03948199008725e-05 \tabularnewline
37 & 0.999982021717567 & 3.59565648659548e-05 & 1.79782824329774e-05 \tabularnewline
38 & 0.999989758799179 & 2.04824016423153e-05 & 1.02412008211576e-05 \tabularnewline
39 & 0.99994012713588 & 0.000119745728241537 & 5.98728641207684e-05 \tabularnewline
40 & 0.999937131187974 & 0.000125737624051992 & 6.2868812025996e-05 \tabularnewline
41 & 0.999827160805453 & 0.000345678389094785 & 0.000172839194547393 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104945&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]8[/C][C]0.999999544831541[/C][C]9.10336917402721e-07[/C][C]4.55168458701361e-07[/C][/ROW]
[ROW][C]9[/C][C]0.99999896131506[/C][C]2.07736987972554e-06[/C][C]1.03868493986277e-06[/C][/ROW]
[ROW][C]10[/C][C]0.999999981572859[/C][C]3.68542826753797e-08[/C][C]1.84271413376898e-08[/C][/ROW]
[ROW][C]11[/C][C]0.999999975032549[/C][C]4.99349022652152e-08[/C][C]2.49674511326076e-08[/C][/ROW]
[ROW][C]12[/C][C]0.99999998110526[/C][C]3.77894789084448e-08[/C][C]1.88947394542224e-08[/C][/ROW]
[ROW][C]13[/C][C]0.999999996862117[/C][C]6.27576503541607e-09[/C][C]3.13788251770803e-09[/C][/ROW]
[ROW][C]14[/C][C]0.999999999999861[/C][C]2.77044379890532e-13[/C][C]1.38522189945266e-13[/C][/ROW]
[ROW][C]15[/C][C]0.999999999999743[/C][C]5.14462394796567e-13[/C][C]2.57231197398284e-13[/C][/ROW]
[ROW][C]16[/C][C]0.999999999999943[/C][C]1.12926633765013e-13[/C][C]5.64633168825065e-14[/C][/ROW]
[ROW][C]17[/C][C]0.999999999999702[/C][C]5.95001089092457e-13[/C][C]2.97500544546228e-13[/C][/ROW]
[ROW][C]18[/C][C]0.99999999999929[/C][C]1.41925707076958e-12[/C][C]7.09628535384791e-13[/C][/ROW]
[ROW][C]19[/C][C]0.999999999999133[/C][C]1.73471916365727e-12[/C][C]8.67359581828634e-13[/C][/ROW]
[ROW][C]20[/C][C]0.999999999996937[/C][C]6.12646718667591e-12[/C][C]3.06323359333795e-12[/C][/ROW]
[ROW][C]21[/C][C]0.999999999997225[/C][C]5.55083032034328e-12[/C][C]2.77541516017164e-12[/C][/ROW]
[ROW][C]22[/C][C]0.9999999999917[/C][C]1.66015590504748e-11[/C][C]8.3007795252374e-12[/C][/ROW]
[ROW][C]23[/C][C]0.999999999960955[/C][C]7.80905564356612e-11[/C][C]3.90452782178306e-11[/C][/ROW]
[ROW][C]24[/C][C]0.999999999921138[/C][C]1.57724225776189e-10[/C][C]7.88621128880944e-11[/C][/ROW]
[ROW][C]25[/C][C]0.999999999672057[/C][C]6.55886441583376e-10[/C][C]3.27943220791688e-10[/C][/ROW]
[ROW][C]26[/C][C]0.999999998528358[/C][C]2.94328424053372e-09[/C][C]1.47164212026686e-09[/C][/ROW]
[ROW][C]27[/C][C]0.999999994901755[/C][C]1.01964909135522e-08[/C][C]5.09824545677611e-09[/C][/ROW]
[ROW][C]28[/C][C]0.999999999136831[/C][C]1.72633764939764e-09[/C][C]8.63168824698822e-10[/C][/ROW]
[ROW][C]29[/C][C]0.999999999311835[/C][C]1.37633034144963e-09[/C][C]6.88165170724813e-10[/C][/ROW]
[ROW][C]30[/C][C]0.999999997375362[/C][C]5.24927665137684e-09[/C][C]2.62463832568842e-09[/C][/ROW]
[ROW][C]31[/C][C]0.999999990664133[/C][C]1.86717342542710e-08[/C][C]9.33586712713552e-09[/C][/ROW]
[ROW][C]32[/C][C]0.999999954789001[/C][C]9.04219969326104e-08[/C][C]4.52109984663052e-08[/C][/ROW]
[ROW][C]33[/C][C]0.999999924360187[/C][C]1.51279626529823e-07[/C][C]7.56398132649113e-08[/C][/ROW]
[ROW][C]34[/C][C]0.999999653620943[/C][C]6.927581144794e-07[/C][C]3.463790572397e-07[/C][/ROW]
[ROW][C]35[/C][C]0.99999777938291[/C][C]4.4412341817148e-06[/C][C]2.2206170908574e-06[/C][/ROW]
[ROW][C]36[/C][C]0.9999896051801[/C][C]2.07896398017451e-05[/C][C]1.03948199008725e-05[/C][/ROW]
[ROW][C]37[/C][C]0.999982021717567[/C][C]3.59565648659548e-05[/C][C]1.79782824329774e-05[/C][/ROW]
[ROW][C]38[/C][C]0.999989758799179[/C][C]2.04824016423153e-05[/C][C]1.02412008211576e-05[/C][/ROW]
[ROW][C]39[/C][C]0.99994012713588[/C][C]0.000119745728241537[/C][C]5.98728641207684e-05[/C][/ROW]
[ROW][C]40[/C][C]0.999937131187974[/C][C]0.000125737624051992[/C][C]6.2868812025996e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999827160805453[/C][C]0.000345678389094785[/C][C]0.000172839194547393[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104945&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104945&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
80.9999995448315419.10336917402721e-074.55168458701361e-07
90.999998961315062.07736987972554e-061.03868493986277e-06
100.9999999815728593.68542826753797e-081.84271413376898e-08
110.9999999750325494.99349022652152e-082.49674511326076e-08
120.999999981105263.77894789084448e-081.88947394542224e-08
130.9999999968621176.27576503541607e-093.13788251770803e-09
140.9999999999998612.77044379890532e-131.38522189945266e-13
150.9999999999997435.14462394796567e-132.57231197398284e-13
160.9999999999999431.12926633765013e-135.64633168825065e-14
170.9999999999997025.95001089092457e-132.97500544546228e-13
180.999999999999291.41925707076958e-127.09628535384791e-13
190.9999999999991331.73471916365727e-128.67359581828634e-13
200.9999999999969376.12646718667591e-123.06323359333795e-12
210.9999999999972255.55083032034328e-122.77541516017164e-12
220.99999999999171.66015590504748e-118.3007795252374e-12
230.9999999999609557.80905564356612e-113.90452782178306e-11
240.9999999999211381.57724225776189e-107.88621128880944e-11
250.9999999996720576.55886441583376e-103.27943220791688e-10
260.9999999985283582.94328424053372e-091.47164212026686e-09
270.9999999949017551.01964909135522e-085.09824545677611e-09
280.9999999991368311.72633764939764e-098.63168824698822e-10
290.9999999993118351.37633034144963e-096.88165170724813e-10
300.9999999973753625.24927665137684e-092.62463832568842e-09
310.9999999906641331.86717342542710e-089.33586712713552e-09
320.9999999547890019.04219969326104e-084.52109984663052e-08
330.9999999243601871.51279626529823e-077.56398132649113e-08
340.9999996536209436.927581144794e-073.463790572397e-07
350.999997779382914.4412341817148e-062.2206170908574e-06
360.99998960518012.07896398017451e-051.03948199008725e-05
370.9999820217175673.59565648659548e-051.79782824329774e-05
380.9999897587991792.04824016423153e-051.02412008211576e-05
390.999940127135880.0001197457282415375.98728641207684e-05
400.9999371311879740.0001257376240519926.2868812025996e-05
410.9998271608054530.0003456783890947850.000172839194547393







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

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

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



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