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 computationThu, 02 Dec 2010 15:34:35 +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/02/t1291304134tt29t6kzpejmgc1.htm/, Retrieved Sun, 05 May 2024 17:54:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104330, Retrieved Sun, 05 May 2024 17:54:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact136
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Workshop 4] [2010-12-02 15:34:35] [f149abcac50db27facd6576b094a0cd9] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
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 & 6 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \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=104330&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/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=104330&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104330&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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
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] = -289294.338884457 + 15.765558710734costs[t] + 3132.12605876057orders[t] + 3.41235292761755dividends[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
wealth
[t] =  -289294.338884457 +  15.765558710734costs[t] +  3132.12605876057orders[t] +  3.41235292761755dividends[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104330&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]wealth
[t] =  -289294.338884457 +  15.765558710734costs[t] +  3132.12605876057orders[t] +  3.41235292761755dividends[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104330&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104330&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] = -289294.338884457 + 15.765558710734costs[t] + 3132.12605876057orders[t] + 3.41235292761755dividends[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-289294.338884457218626.454153-1.32320.1922970.096148
costs15.7655587107346.7467932.33670.0238620.011931
orders3132.126058760571263.9270352.47810.016940.00847
dividends3.412352927617551.4273732.39070.0209680.010484

\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) & -289294.338884457 & 218626.454153 & -1.3232 & 0.192297 & 0.096148 \tabularnewline
costs & 15.765558710734 & 6.746793 & 2.3367 & 0.023862 & 0.011931 \tabularnewline
orders & 3132.12605876057 & 1263.927035 & 2.4781 & 0.01694 & 0.00847 \tabularnewline
dividends & 3.41235292761755 & 1.427373 & 2.3907 & 0.020968 & 0.010484 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104330&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]-289294.338884457[/C][C]218626.454153[/C][C]-1.3232[/C][C]0.192297[/C][C]0.096148[/C][/ROW]
[ROW][C]costs[/C][C]15.765558710734[/C][C]6.746793[/C][C]2.3367[/C][C]0.023862[/C][C]0.011931[/C][/ROW]
[ROW][C]orders[/C][C]3132.12605876057[/C][C]1263.927035[/C][C]2.4781[/C][C]0.01694[/C][C]0.00847[/C][/ROW]
[ROW][C]dividends[/C][C]3.41235292761755[/C][C]1.427373[/C][C]2.3907[/C][C]0.020968[/C][C]0.010484[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104330&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104330&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)-289294.338884457218626.454153-1.32320.1922970.096148
costs15.7655587107346.7467932.33670.0238620.011931
orders3132.126058760571263.9270352.47810.016940.00847
dividends3.412352927617551.4273732.39070.0209680.010484







Multiple Linear Regression - Regression Statistics
Multiple R0.814831228336522
R-squared0.663949930672405
Adjusted R-squared0.642033621803214
F-TEST (value)30.2947879880337
F-TEST (DF numerator)3
F-TEST (DF denominator)46
p-value5.79654102494942e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation665289.84892443
Sum Squared Residuals20360086821767

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.814831228336522 \tabularnewline
R-squared & 0.663949930672405 \tabularnewline
Adjusted R-squared & 0.642033621803214 \tabularnewline
F-TEST (value) & 30.2947879880337 \tabularnewline
F-TEST (DF numerator) & 3 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 5.79654102494942e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 665289.84892443 \tabularnewline
Sum Squared Residuals & 20360086821767 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104330&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.814831228336522[/C][/ROW]
[ROW][C]R-squared[/C][C]0.663949930672405[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.642033621803214[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]30.2947879880337[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]3[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]5.79654102494942e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]665289.84892443[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]20360086821767[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104330&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104330&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.814831228336522
R-squared0.663949930672405
Adjusted R-squared0.642033621803214
F-TEST (value)30.2947879880337
F-TEST (DF numerator)3
F-TEST (DF denominator)46
p-value5.79654102494942e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation665289.84892443
Sum Squared Residuals20360086821767







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
162821545528351.3835454753802.616454605
243210231850043.487030512470979.51296949
341119122904181.906254811207730.09374519
42231932298452.46570670-2075259.46570670
514913481992241.71409147-500893.71409147
616296161445521.32222322184094.677776783
713988931621433.35410860-222540.354108605
819265172060660.09767092-134143.097670922
99836601225524.93791109-241864.937911093
101443586534506.283005668909079.716994332
1110730891281560.76468968-208471.764689679
12984885456577.746761923528307.253238077
1314052251219796.85331738185428.146682616
142271321103900.78586564-876768.785865639
159291181304228.08638886-375110.086388857
161071292528154.591641306543137.408358694
176388301125818.33695723-486988.336957228
188569561276931.27707271-419975.277072713
199924261165634.44802285-173208.448022846
204444771278449.68421646-833972.684216462
21857217425087.080000106432129.919999894
22711969544912.209039999167056.790960001
23702380808314.683008352-105934.683008352
243585891271394.13125202-912805.131252022
25297978540683.6447223-242705.6447223
26585715353416.707638038232298.292361962
276579541141938.64731639-483984.647316388
28209458233332.252227367-23874.2522273671
2978669062045.8231225722724644.176877428
30439798543477.157569432-103679.157569432
31688779142679.199463853546099.800536147
32574339478382.62983922895956.3701607715
33741409221030.640879877520378.359120123
34597793261999.707541946335793.292458054
35644190812695.221832884-168505.221832884
363779341013352.62538600-635418.625386002
37640273407549.899539154232723.100460846
38697458429211.987336504268246.012663496
39550608662371.890096194-111763.890096194
40207393457483.646242745-250090.646242745
41301607920463.022565603-618856.022565603
42345783431491.269962841-85708.2699628407
43501749380920.274004035120828.725995965
44379983495646.093124119-115663.093124119
45387475141816.499241584245658.500758416
46377305194518.1878765182786.8121235
47370837659821.516911582-288984.516911582
48430866762939.414727448-332073.414727448
49469107385670.04470009483436.9552999055
50194493135845.36634880658647.633651194

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6282154 & 5528351.3835454 & 753802.616454605 \tabularnewline
2 & 4321023 & 1850043.48703051 & 2470979.51296949 \tabularnewline
3 & 4111912 & 2904181.90625481 & 1207730.09374519 \tabularnewline
4 & 223193 & 2298452.46570670 & -2075259.46570670 \tabularnewline
5 & 1491348 & 1992241.71409147 & -500893.71409147 \tabularnewline
6 & 1629616 & 1445521.32222322 & 184094.677776783 \tabularnewline
7 & 1398893 & 1621433.35410860 & -222540.354108605 \tabularnewline
8 & 1926517 & 2060660.09767092 & -134143.097670922 \tabularnewline
9 & 983660 & 1225524.93791109 & -241864.937911093 \tabularnewline
10 & 1443586 & 534506.283005668 & 909079.716994332 \tabularnewline
11 & 1073089 & 1281560.76468968 & -208471.764689679 \tabularnewline
12 & 984885 & 456577.746761923 & 528307.253238077 \tabularnewline
13 & 1405225 & 1219796.85331738 & 185428.146682616 \tabularnewline
14 & 227132 & 1103900.78586564 & -876768.785865639 \tabularnewline
15 & 929118 & 1304228.08638886 & -375110.086388857 \tabularnewline
16 & 1071292 & 528154.591641306 & 543137.408358694 \tabularnewline
17 & 638830 & 1125818.33695723 & -486988.336957228 \tabularnewline
18 & 856956 & 1276931.27707271 & -419975.277072713 \tabularnewline
19 & 992426 & 1165634.44802285 & -173208.448022846 \tabularnewline
20 & 444477 & 1278449.68421646 & -833972.684216462 \tabularnewline
21 & 857217 & 425087.080000106 & 432129.919999894 \tabularnewline
22 & 711969 & 544912.209039999 & 167056.790960001 \tabularnewline
23 & 702380 & 808314.683008352 & -105934.683008352 \tabularnewline
24 & 358589 & 1271394.13125202 & -912805.131252022 \tabularnewline
25 & 297978 & 540683.6447223 & -242705.6447223 \tabularnewline
26 & 585715 & 353416.707638038 & 232298.292361962 \tabularnewline
27 & 657954 & 1141938.64731639 & -483984.647316388 \tabularnewline
28 & 209458 & 233332.252227367 & -23874.2522273671 \tabularnewline
29 & 786690 & 62045.8231225722 & 724644.176877428 \tabularnewline
30 & 439798 & 543477.157569432 & -103679.157569432 \tabularnewline
31 & 688779 & 142679.199463853 & 546099.800536147 \tabularnewline
32 & 574339 & 478382.629839228 & 95956.3701607715 \tabularnewline
33 & 741409 & 221030.640879877 & 520378.359120123 \tabularnewline
34 & 597793 & 261999.707541946 & 335793.292458054 \tabularnewline
35 & 644190 & 812695.221832884 & -168505.221832884 \tabularnewline
36 & 377934 & 1013352.62538600 & -635418.625386002 \tabularnewline
37 & 640273 & 407549.899539154 & 232723.100460846 \tabularnewline
38 & 697458 & 429211.987336504 & 268246.012663496 \tabularnewline
39 & 550608 & 662371.890096194 & -111763.890096194 \tabularnewline
40 & 207393 & 457483.646242745 & -250090.646242745 \tabularnewline
41 & 301607 & 920463.022565603 & -618856.022565603 \tabularnewline
42 & 345783 & 431491.269962841 & -85708.2699628407 \tabularnewline
43 & 501749 & 380920.274004035 & 120828.725995965 \tabularnewline
44 & 379983 & 495646.093124119 & -115663.093124119 \tabularnewline
45 & 387475 & 141816.499241584 & 245658.500758416 \tabularnewline
46 & 377305 & 194518.1878765 & 182786.8121235 \tabularnewline
47 & 370837 & 659821.516911582 & -288984.516911582 \tabularnewline
48 & 430866 & 762939.414727448 & -332073.414727448 \tabularnewline
49 & 469107 & 385670.044700094 & 83436.9552999055 \tabularnewline
50 & 194493 & 135845.366348806 & 58647.633651194 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104330&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]5528351.3835454[/C][C]753802.616454605[/C][/ROW]
[ROW][C]2[/C][C]4321023[/C][C]1850043.48703051[/C][C]2470979.51296949[/C][/ROW]
[ROW][C]3[/C][C]4111912[/C][C]2904181.90625481[/C][C]1207730.09374519[/C][/ROW]
[ROW][C]4[/C][C]223193[/C][C]2298452.46570670[/C][C]-2075259.46570670[/C][/ROW]
[ROW][C]5[/C][C]1491348[/C][C]1992241.71409147[/C][C]-500893.71409147[/C][/ROW]
[ROW][C]6[/C][C]1629616[/C][C]1445521.32222322[/C][C]184094.677776783[/C][/ROW]
[ROW][C]7[/C][C]1398893[/C][C]1621433.35410860[/C][C]-222540.354108605[/C][/ROW]
[ROW][C]8[/C][C]1926517[/C][C]2060660.09767092[/C][C]-134143.097670922[/C][/ROW]
[ROW][C]9[/C][C]983660[/C][C]1225524.93791109[/C][C]-241864.937911093[/C][/ROW]
[ROW][C]10[/C][C]1443586[/C][C]534506.283005668[/C][C]909079.716994332[/C][/ROW]
[ROW][C]11[/C][C]1073089[/C][C]1281560.76468968[/C][C]-208471.764689679[/C][/ROW]
[ROW][C]12[/C][C]984885[/C][C]456577.746761923[/C][C]528307.253238077[/C][/ROW]
[ROW][C]13[/C][C]1405225[/C][C]1219796.85331738[/C][C]185428.146682616[/C][/ROW]
[ROW][C]14[/C][C]227132[/C][C]1103900.78586564[/C][C]-876768.785865639[/C][/ROW]
[ROW][C]15[/C][C]929118[/C][C]1304228.08638886[/C][C]-375110.086388857[/C][/ROW]
[ROW][C]16[/C][C]1071292[/C][C]528154.591641306[/C][C]543137.408358694[/C][/ROW]
[ROW][C]17[/C][C]638830[/C][C]1125818.33695723[/C][C]-486988.336957228[/C][/ROW]
[ROW][C]18[/C][C]856956[/C][C]1276931.27707271[/C][C]-419975.277072713[/C][/ROW]
[ROW][C]19[/C][C]992426[/C][C]1165634.44802285[/C][C]-173208.448022846[/C][/ROW]
[ROW][C]20[/C][C]444477[/C][C]1278449.68421646[/C][C]-833972.684216462[/C][/ROW]
[ROW][C]21[/C][C]857217[/C][C]425087.080000106[/C][C]432129.919999894[/C][/ROW]
[ROW][C]22[/C][C]711969[/C][C]544912.209039999[/C][C]167056.790960001[/C][/ROW]
[ROW][C]23[/C][C]702380[/C][C]808314.683008352[/C][C]-105934.683008352[/C][/ROW]
[ROW][C]24[/C][C]358589[/C][C]1271394.13125202[/C][C]-912805.131252022[/C][/ROW]
[ROW][C]25[/C][C]297978[/C][C]540683.6447223[/C][C]-242705.6447223[/C][/ROW]
[ROW][C]26[/C][C]585715[/C][C]353416.707638038[/C][C]232298.292361962[/C][/ROW]
[ROW][C]27[/C][C]657954[/C][C]1141938.64731639[/C][C]-483984.647316388[/C][/ROW]
[ROW][C]28[/C][C]209458[/C][C]233332.252227367[/C][C]-23874.2522273671[/C][/ROW]
[ROW][C]29[/C][C]786690[/C][C]62045.8231225722[/C][C]724644.176877428[/C][/ROW]
[ROW][C]30[/C][C]439798[/C][C]543477.157569432[/C][C]-103679.157569432[/C][/ROW]
[ROW][C]31[/C][C]688779[/C][C]142679.199463853[/C][C]546099.800536147[/C][/ROW]
[ROW][C]32[/C][C]574339[/C][C]478382.629839228[/C][C]95956.3701607715[/C][/ROW]
[ROW][C]33[/C][C]741409[/C][C]221030.640879877[/C][C]520378.359120123[/C][/ROW]
[ROW][C]34[/C][C]597793[/C][C]261999.707541946[/C][C]335793.292458054[/C][/ROW]
[ROW][C]35[/C][C]644190[/C][C]812695.221832884[/C][C]-168505.221832884[/C][/ROW]
[ROW][C]36[/C][C]377934[/C][C]1013352.62538600[/C][C]-635418.625386002[/C][/ROW]
[ROW][C]37[/C][C]640273[/C][C]407549.899539154[/C][C]232723.100460846[/C][/ROW]
[ROW][C]38[/C][C]697458[/C][C]429211.987336504[/C][C]268246.012663496[/C][/ROW]
[ROW][C]39[/C][C]550608[/C][C]662371.890096194[/C][C]-111763.890096194[/C][/ROW]
[ROW][C]40[/C][C]207393[/C][C]457483.646242745[/C][C]-250090.646242745[/C][/ROW]
[ROW][C]41[/C][C]301607[/C][C]920463.022565603[/C][C]-618856.022565603[/C][/ROW]
[ROW][C]42[/C][C]345783[/C][C]431491.269962841[/C][C]-85708.2699628407[/C][/ROW]
[ROW][C]43[/C][C]501749[/C][C]380920.274004035[/C][C]120828.725995965[/C][/ROW]
[ROW][C]44[/C][C]379983[/C][C]495646.093124119[/C][C]-115663.093124119[/C][/ROW]
[ROW][C]45[/C][C]387475[/C][C]141816.499241584[/C][C]245658.500758416[/C][/ROW]
[ROW][C]46[/C][C]377305[/C][C]194518.1878765[/C][C]182786.8121235[/C][/ROW]
[ROW][C]47[/C][C]370837[/C][C]659821.516911582[/C][C]-288984.516911582[/C][/ROW]
[ROW][C]48[/C][C]430866[/C][C]762939.414727448[/C][C]-332073.414727448[/C][/ROW]
[ROW][C]49[/C][C]469107[/C][C]385670.044700094[/C][C]83436.9552999055[/C][/ROW]
[ROW][C]50[/C][C]194493[/C][C]135845.366348806[/C][C]58647.633651194[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104330&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104330&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
162821545528351.3835454753802.616454605
243210231850043.487030512470979.51296949
341119122904181.906254811207730.09374519
42231932298452.46570670-2075259.46570670
514913481992241.71409147-500893.71409147
616296161445521.32222322184094.677776783
713988931621433.35410860-222540.354108605
819265172060660.09767092-134143.097670922
99836601225524.93791109-241864.937911093
101443586534506.283005668909079.716994332
1110730891281560.76468968-208471.764689679
12984885456577.746761923528307.253238077
1314052251219796.85331738185428.146682616
142271321103900.78586564-876768.785865639
159291181304228.08638886-375110.086388857
161071292528154.591641306543137.408358694
176388301125818.33695723-486988.336957228
188569561276931.27707271-419975.277072713
199924261165634.44802285-173208.448022846
204444771278449.68421646-833972.684216462
21857217425087.080000106432129.919999894
22711969544912.209039999167056.790960001
23702380808314.683008352-105934.683008352
243585891271394.13125202-912805.131252022
25297978540683.6447223-242705.6447223
26585715353416.707638038232298.292361962
276579541141938.64731639-483984.647316388
28209458233332.252227367-23874.2522273671
2978669062045.8231225722724644.176877428
30439798543477.157569432-103679.157569432
31688779142679.199463853546099.800536147
32574339478382.62983922895956.3701607715
33741409221030.640879877520378.359120123
34597793261999.707541946335793.292458054
35644190812695.221832884-168505.221832884
363779341013352.62538600-635418.625386002
37640273407549.899539154232723.100460846
38697458429211.987336504268246.012663496
39550608662371.890096194-111763.890096194
40207393457483.646242745-250090.646242745
41301607920463.022565603-618856.022565603
42345783431491.269962841-85708.2699628407
43501749380920.274004035120828.725995965
44379983495646.093124119-115663.093124119
45387475141816.499241584245658.500758416
46377305194518.1878765182786.8121235
47370837659821.516911582-288984.516911582
48430866762939.414727448-332073.414727448
49469107385670.04470009483436.9552999055
50194493135845.36634880658647.633651194







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.9998925488169680.0002149023660639940.000107451183031997
80.9999992623384621.47532307560704e-067.37661537803519e-07
90.9999979192015774.16159684558364e-062.08079842279182e-06
100.9999999816519373.66961251508855e-081.83480625754428e-08
110.9999999806531493.86937028312172e-081.93468514156086e-08
120.999999982322643.53547217667679e-081.76773608833840e-08
130.9999999998595752.80849614782837e-101.40424807391418e-10
140.9999999999900381.99230623435424e-119.9615311717712e-12
150.9999999999957768.44840946101723e-124.22420473050861e-12
160.999999999999558.97956655539194e-134.48978327769597e-13
170.99999999999976.01054469167839e-133.00527234583919e-13
180.9999999999998393.22642173661611e-131.61321086830805e-13
190.999999999999529.6226720985326e-134.8113360492663e-13
200.9999999999994411.11732441216481e-125.58662206082403e-13
210.9999999999995329.35175383564155e-134.67587691782077e-13
220.9999999999978074.38618377581493e-122.19309188790746e-12
230.9999999999909641.80711660581779e-119.03558302908897e-12
240.9999999999816533.66935159608415e-111.83467579804207e-11
250.999999999942191.15619721469750e-105.78098607348752e-11
260.9999999997324045.35191559120733e-102.67595779560366e-10
270.9999999993097471.38050620334204e-096.90253101671021e-10
280.999999999227981.54404084132423e-097.72020420662115e-10
290.9999999990966541.80669234488757e-099.03346172443785e-10
300.9999999948992491.02015026411145e-085.10075132055723e-09
310.9999999887353572.25292864254602e-081.12646432127301e-08
320.9999999426819871.14636026414715e-075.73180132073575e-08
330.9999999412927631.17414473943641e-075.87072369718203e-08
340.9999998229648083.54070384046758e-071.77035192023379e-07
350.9999990422615781.91547684332016e-069.5773842166008e-07
360.9999956183274328.76334513620044e-064.38167256810022e-06
370.9999924333485781.51333028432779e-057.56665142163897e-06
380.9999973911082125.21778357694502e-062.60889178847251e-06
390.9999889310475032.21379049934618e-051.10689524967309e-05
400.9999594452066588.1109586682929e-054.05547933414645e-05
410.9998613557116290.0002772885767423450.000138644288371172
420.9991857392925640.001628521414871810.000814260707435903
430.9982529782499150.003494043500170690.00174702175008535

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
7 & 0.999892548816968 & 0.000214902366063994 & 0.000107451183031997 \tabularnewline
8 & 0.999999262338462 & 1.47532307560704e-06 & 7.37661537803519e-07 \tabularnewline
9 & 0.999997919201577 & 4.16159684558364e-06 & 2.08079842279182e-06 \tabularnewline
10 & 0.999999981651937 & 3.66961251508855e-08 & 1.83480625754428e-08 \tabularnewline
11 & 0.999999980653149 & 3.86937028312172e-08 & 1.93468514156086e-08 \tabularnewline
12 & 0.99999998232264 & 3.53547217667679e-08 & 1.76773608833840e-08 \tabularnewline
13 & 0.999999999859575 & 2.80849614782837e-10 & 1.40424807391418e-10 \tabularnewline
14 & 0.999999999990038 & 1.99230623435424e-11 & 9.9615311717712e-12 \tabularnewline
15 & 0.999999999995776 & 8.44840946101723e-12 & 4.22420473050861e-12 \tabularnewline
16 & 0.99999999999955 & 8.97956655539194e-13 & 4.48978327769597e-13 \tabularnewline
17 & 0.9999999999997 & 6.01054469167839e-13 & 3.00527234583919e-13 \tabularnewline
18 & 0.999999999999839 & 3.22642173661611e-13 & 1.61321086830805e-13 \tabularnewline
19 & 0.99999999999952 & 9.6226720985326e-13 & 4.8113360492663e-13 \tabularnewline
20 & 0.999999999999441 & 1.11732441216481e-12 & 5.58662206082403e-13 \tabularnewline
21 & 0.999999999999532 & 9.35175383564155e-13 & 4.67587691782077e-13 \tabularnewline
22 & 0.999999999997807 & 4.38618377581493e-12 & 2.19309188790746e-12 \tabularnewline
23 & 0.999999999990964 & 1.80711660581779e-11 & 9.03558302908897e-12 \tabularnewline
24 & 0.999999999981653 & 3.66935159608415e-11 & 1.83467579804207e-11 \tabularnewline
25 & 0.99999999994219 & 1.15619721469750e-10 & 5.78098607348752e-11 \tabularnewline
26 & 0.999999999732404 & 5.35191559120733e-10 & 2.67595779560366e-10 \tabularnewline
27 & 0.999999999309747 & 1.38050620334204e-09 & 6.90253101671021e-10 \tabularnewline
28 & 0.99999999922798 & 1.54404084132423e-09 & 7.72020420662115e-10 \tabularnewline
29 & 0.999999999096654 & 1.80669234488757e-09 & 9.03346172443785e-10 \tabularnewline
30 & 0.999999994899249 & 1.02015026411145e-08 & 5.10075132055723e-09 \tabularnewline
31 & 0.999999988735357 & 2.25292864254602e-08 & 1.12646432127301e-08 \tabularnewline
32 & 0.999999942681987 & 1.14636026414715e-07 & 5.73180132073575e-08 \tabularnewline
33 & 0.999999941292763 & 1.17414473943641e-07 & 5.87072369718203e-08 \tabularnewline
34 & 0.999999822964808 & 3.54070384046758e-07 & 1.77035192023379e-07 \tabularnewline
35 & 0.999999042261578 & 1.91547684332016e-06 & 9.5773842166008e-07 \tabularnewline
36 & 0.999995618327432 & 8.76334513620044e-06 & 4.38167256810022e-06 \tabularnewline
37 & 0.999992433348578 & 1.51333028432779e-05 & 7.56665142163897e-06 \tabularnewline
38 & 0.999997391108212 & 5.21778357694502e-06 & 2.60889178847251e-06 \tabularnewline
39 & 0.999988931047503 & 2.21379049934618e-05 & 1.10689524967309e-05 \tabularnewline
40 & 0.999959445206658 & 8.1109586682929e-05 & 4.05547933414645e-05 \tabularnewline
41 & 0.999861355711629 & 0.000277288576742345 & 0.000138644288371172 \tabularnewline
42 & 0.999185739292564 & 0.00162852141487181 & 0.000814260707435903 \tabularnewline
43 & 0.998252978249915 & 0.00349404350017069 & 0.00174702175008535 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104330&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]7[/C][C]0.999892548816968[/C][C]0.000214902366063994[/C][C]0.000107451183031997[/C][/ROW]
[ROW][C]8[/C][C]0.999999262338462[/C][C]1.47532307560704e-06[/C][C]7.37661537803519e-07[/C][/ROW]
[ROW][C]9[/C][C]0.999997919201577[/C][C]4.16159684558364e-06[/C][C]2.08079842279182e-06[/C][/ROW]
[ROW][C]10[/C][C]0.999999981651937[/C][C]3.66961251508855e-08[/C][C]1.83480625754428e-08[/C][/ROW]
[ROW][C]11[/C][C]0.999999980653149[/C][C]3.86937028312172e-08[/C][C]1.93468514156086e-08[/C][/ROW]
[ROW][C]12[/C][C]0.99999998232264[/C][C]3.53547217667679e-08[/C][C]1.76773608833840e-08[/C][/ROW]
[ROW][C]13[/C][C]0.999999999859575[/C][C]2.80849614782837e-10[/C][C]1.40424807391418e-10[/C][/ROW]
[ROW][C]14[/C][C]0.999999999990038[/C][C]1.99230623435424e-11[/C][C]9.9615311717712e-12[/C][/ROW]
[ROW][C]15[/C][C]0.999999999995776[/C][C]8.44840946101723e-12[/C][C]4.22420473050861e-12[/C][/ROW]
[ROW][C]16[/C][C]0.99999999999955[/C][C]8.97956655539194e-13[/C][C]4.48978327769597e-13[/C][/ROW]
[ROW][C]17[/C][C]0.9999999999997[/C][C]6.01054469167839e-13[/C][C]3.00527234583919e-13[/C][/ROW]
[ROW][C]18[/C][C]0.999999999999839[/C][C]3.22642173661611e-13[/C][C]1.61321086830805e-13[/C][/ROW]
[ROW][C]19[/C][C]0.99999999999952[/C][C]9.6226720985326e-13[/C][C]4.8113360492663e-13[/C][/ROW]
[ROW][C]20[/C][C]0.999999999999441[/C][C]1.11732441216481e-12[/C][C]5.58662206082403e-13[/C][/ROW]
[ROW][C]21[/C][C]0.999999999999532[/C][C]9.35175383564155e-13[/C][C]4.67587691782077e-13[/C][/ROW]
[ROW][C]22[/C][C]0.999999999997807[/C][C]4.38618377581493e-12[/C][C]2.19309188790746e-12[/C][/ROW]
[ROW][C]23[/C][C]0.999999999990964[/C][C]1.80711660581779e-11[/C][C]9.03558302908897e-12[/C][/ROW]
[ROW][C]24[/C][C]0.999999999981653[/C][C]3.66935159608415e-11[/C][C]1.83467579804207e-11[/C][/ROW]
[ROW][C]25[/C][C]0.99999999994219[/C][C]1.15619721469750e-10[/C][C]5.78098607348752e-11[/C][/ROW]
[ROW][C]26[/C][C]0.999999999732404[/C][C]5.35191559120733e-10[/C][C]2.67595779560366e-10[/C][/ROW]
[ROW][C]27[/C][C]0.999999999309747[/C][C]1.38050620334204e-09[/C][C]6.90253101671021e-10[/C][/ROW]
[ROW][C]28[/C][C]0.99999999922798[/C][C]1.54404084132423e-09[/C][C]7.72020420662115e-10[/C][/ROW]
[ROW][C]29[/C][C]0.999999999096654[/C][C]1.80669234488757e-09[/C][C]9.03346172443785e-10[/C][/ROW]
[ROW][C]30[/C][C]0.999999994899249[/C][C]1.02015026411145e-08[/C][C]5.10075132055723e-09[/C][/ROW]
[ROW][C]31[/C][C]0.999999988735357[/C][C]2.25292864254602e-08[/C][C]1.12646432127301e-08[/C][/ROW]
[ROW][C]32[/C][C]0.999999942681987[/C][C]1.14636026414715e-07[/C][C]5.73180132073575e-08[/C][/ROW]
[ROW][C]33[/C][C]0.999999941292763[/C][C]1.17414473943641e-07[/C][C]5.87072369718203e-08[/C][/ROW]
[ROW][C]34[/C][C]0.999999822964808[/C][C]3.54070384046758e-07[/C][C]1.77035192023379e-07[/C][/ROW]
[ROW][C]35[/C][C]0.999999042261578[/C][C]1.91547684332016e-06[/C][C]9.5773842166008e-07[/C][/ROW]
[ROW][C]36[/C][C]0.999995618327432[/C][C]8.76334513620044e-06[/C][C]4.38167256810022e-06[/C][/ROW]
[ROW][C]37[/C][C]0.999992433348578[/C][C]1.51333028432779e-05[/C][C]7.56665142163897e-06[/C][/ROW]
[ROW][C]38[/C][C]0.999997391108212[/C][C]5.21778357694502e-06[/C][C]2.60889178847251e-06[/C][/ROW]
[ROW][C]39[/C][C]0.999988931047503[/C][C]2.21379049934618e-05[/C][C]1.10689524967309e-05[/C][/ROW]
[ROW][C]40[/C][C]0.999959445206658[/C][C]8.1109586682929e-05[/C][C]4.05547933414645e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999861355711629[/C][C]0.000277288576742345[/C][C]0.000138644288371172[/C][/ROW]
[ROW][C]42[/C][C]0.999185739292564[/C][C]0.00162852141487181[/C][C]0.000814260707435903[/C][/ROW]
[ROW][C]43[/C][C]0.998252978249915[/C][C]0.00349404350017069[/C][C]0.00174702175008535[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104330&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104330&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
70.9998925488169680.0002149023660639940.000107451183031997
80.9999992623384621.47532307560704e-067.37661537803519e-07
90.9999979192015774.16159684558364e-062.08079842279182e-06
100.9999999816519373.66961251508855e-081.83480625754428e-08
110.9999999806531493.86937028312172e-081.93468514156086e-08
120.999999982322643.53547217667679e-081.76773608833840e-08
130.9999999998595752.80849614782837e-101.40424807391418e-10
140.9999999999900381.99230623435424e-119.9615311717712e-12
150.9999999999957768.44840946101723e-124.22420473050861e-12
160.999999999999558.97956655539194e-134.48978327769597e-13
170.99999999999976.01054469167839e-133.00527234583919e-13
180.9999999999998393.22642173661611e-131.61321086830805e-13
190.999999999999529.6226720985326e-134.8113360492663e-13
200.9999999999994411.11732441216481e-125.58662206082403e-13
210.9999999999995329.35175383564155e-134.67587691782077e-13
220.9999999999978074.38618377581493e-122.19309188790746e-12
230.9999999999909641.80711660581779e-119.03558302908897e-12
240.9999999999816533.66935159608415e-111.83467579804207e-11
250.999999999942191.15619721469750e-105.78098607348752e-11
260.9999999997324045.35191559120733e-102.67595779560366e-10
270.9999999993097471.38050620334204e-096.90253101671021e-10
280.999999999227981.54404084132423e-097.72020420662115e-10
290.9999999990966541.80669234488757e-099.03346172443785e-10
300.9999999948992491.02015026411145e-085.10075132055723e-09
310.9999999887353572.25292864254602e-081.12646432127301e-08
320.9999999426819871.14636026414715e-075.73180132073575e-08
330.9999999412927631.17414473943641e-075.87072369718203e-08
340.9999998229648083.54070384046758e-071.77035192023379e-07
350.9999990422615781.91547684332016e-069.5773842166008e-07
360.9999956183274328.76334513620044e-064.38167256810022e-06
370.9999924333485781.51333028432779e-057.56665142163897e-06
380.9999973911082125.21778357694502e-062.60889178847251e-06
390.9999889310475032.21379049934618e-051.10689524967309e-05
400.9999594452066588.1109586682929e-054.05547933414645e-05
410.9998613557116290.0002772885767423450.000138644288371172
420.9991857392925640.001628521414871810.000814260707435903
430.9982529782499150.003494043500170690.00174702175008535







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

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

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



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