Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 30 Nov 2010 13:19:11 +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/Nov/30/t1291123050ykjs4t6rl8w468a.htm/, Retrieved Mon, 29 Apr 2024 11:49:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=103393, Retrieved Mon, 29 Apr 2024 11:49:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [tutorial multiple...] [2010-11-30 13:19:11] [fdda052f11cae2ac9ab9683c59d96811] [Current]
Feedback Forum

Post a new message
Dataseries X:
2284	41	76403	194493
3160	90	108094	530670
4150	136	134759	518365
7285	97	188873	491303
1134	63	146216	527021
4658	114	156608	233773
2384	77	61348	405972
3748	6	50350	652925
5371	47	87720	446211
1285	51	99489	341340
9327	85	87419	387699
5565	43	94355	493408
1528	32	60326	146494
3122	25	94670	414462
7561	77	82425	364304
2675	54	59017	355178
13253	251	90829	357760
880	15	80791	261216
2053	44	100423	397144
1424	73	131116	374943
4036	85	100269	424898
3045	49	27330	202055
5119	38	39039	378525
1431	35	106885	310768
554	9	79285	325738
1975	34	118881	394510
1765	20	77623	247060
1012	29	114768	368078
810	11	74015	236761
1280	52	69465	312378
666	13	117869	339836
1380	29	60982	347385
4677	66	90131	426280
876	33	138971	352850
814	15	39625	301881
514	15	102725	377516
5692	68	64239	357312
3642	100	90262	458343
540	13	103960	354228
2099	45	106611	308636
567	14	103345	386212
2001	36	95551	393343
2949	40	82903	378509
2253	68	63593	452469
6533	29	126910	364839
1889	43	37527	358649
3055	30	60247	376641
272	9	112995	429112
1414	22	70184	330546
2564	19	130140	403560
1383	9	73221	317892




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103393&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103393&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103393&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







Multiple Linear Regression - Estimated Regression Equation
Wealth[t] = + 281385.616456098 + 9.22576570117291Costs[t] -138.707662852302Orders[t] + 0.755073191162331Dividends[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Wealth[t] =  +  281385.616456098 +  9.22576570117291Costs[t] -138.707662852302Orders[t] +  0.755073191162331Dividends[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103393&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Wealth[t] =  +  281385.616456098 +  9.22576570117291Costs[t] -138.707662852302Orders[t] +  0.755073191162331Dividends[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103393&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103393&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] = + 281385.616456098 + 9.22576570117291Costs[t] -138.707662852302Orders[t] + 0.755073191162331Dividends[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)281385.61645609839429.9599077.136300
Costs9.225765701172917.3252351.25940.2140870.107043
Orders-138.707662852302456.693876-0.30370.7626810.38134
Dividends0.7550731911623310.4012261.88190.0660480.033024

\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) & 281385.616456098 & 39429.959907 & 7.1363 & 0 & 0 \tabularnewline
Costs & 9.22576570117291 & 7.325235 & 1.2594 & 0.214087 & 0.107043 \tabularnewline
Orders & -138.707662852302 & 456.693876 & -0.3037 & 0.762681 & 0.38134 \tabularnewline
Dividends & 0.755073191162331 & 0.401226 & 1.8819 & 0.066048 & 0.033024 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103393&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]281385.616456098[/C][C]39429.959907[/C][C]7.1363[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Costs[/C][C]9.22576570117291[/C][C]7.325235[/C][C]1.2594[/C][C]0.214087[/C][C]0.107043[/C][/ROW]
[ROW][C]Orders[/C][C]-138.707662852302[/C][C]456.693876[/C][C]-0.3037[/C][C]0.762681[/C][C]0.38134[/C][/ROW]
[ROW][C]Dividends[/C][C]0.755073191162331[/C][C]0.401226[/C][C]1.8819[/C][C]0.066048[/C][C]0.033024[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103393&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103393&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)281385.61645609839429.9599077.136300
Costs9.225765701172917.3252351.25940.2140870.107043
Orders-138.707662852302456.693876-0.30370.7626810.38134
Dividends0.7550731911623310.4012261.88190.0660480.033024







Multiple Linear Regression - Regression Statistics
Multiple R0.346675455408413
R-squared0.120183871382630
Adjusted R-squared0.0640253950879047
F-TEST (value)2.14008426353829
F-TEST (DF numerator)3
F-TEST (DF denominator)47
p-value0.107746189670541
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation88335.758374865
Sum Squared Residuals366750691760.139

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.346675455408413 \tabularnewline
R-squared & 0.120183871382630 \tabularnewline
Adjusted R-squared & 0.0640253950879047 \tabularnewline
F-TEST (value) & 2.14008426353829 \tabularnewline
F-TEST (DF numerator) & 3 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.107746189670541 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 88335.758374865 \tabularnewline
Sum Squared Residuals & 366750691760.139 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103393&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.346675455408413[/C][/ROW]
[ROW][C]R-squared[/C][C]0.120183871382630[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0640253950879047[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.14008426353829[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]3[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.107746189670541[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]88335.758374865[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]366750691760.139[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103393&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103393&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.346675455408413
R-squared0.120183871382630
Adjusted R-squared0.0640253950879047
F-TEST (value)2.14008426353829
F-TEST (DF numerator)3
F-TEST (DF denominator)47
p-value0.107746189670541
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation88335.758374865
Sum Squared Residuals366750691760.139







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1194493354460.108165008-159967.108165008
2530670379674.227940598150995.772059402
3518365402561.210135897115803.789864103
4491303477753.61512687213549.3848731278
5527021393512.833720524133508.166279476
6233773426797.061848549-193024.061848549
7405972339021.58197949466950.4180205063
8652925353149.475502004299775.524497996
9446211390652.96421179955558.0357882009
10341340361288.111292187-19948.1112921870
11387699421651.925106712-33952.9251067117
12493408398007.50403259895400.4959674021
13146494336594.486566275-190100.486566275
14414462378203.5444111936258.4555888099
15364304402698.048664594-38394.0486645942
16355178343136.48043553912041.5195644615
17357760437421.608797898-79661.608797898
18261216348426.793517542-87210.7935175415
19397144370049.69135119927094.3086488005
20374943383399.623958790-8456.62395879042
21424898382541.08928824242356.9107117581
22202055323317.547850873-121262.547850873
23378525352818.72220180125706.2777981992
24310768370438.917012032-59670.9170120316
25325738345114.299650183-19376.2996501825
26394510384654.2992175059855.70078249468
27247060353505.985979216-106445.985979216
28368078373357.809126287-5279.80912628667
29236761343219.444626553-106458.444626553
30312378338432.957309371-26054.957309371
31339836374726.498765112-34890.4987651121
32347385336140.52424446111244.4757555388
33426280383435.31868488442844.6813151162
34352850389823.31078522-36973.3107852198
35301881316734.549993876-14853.5499938756
36377516361611.93864586715904.0613541332
37357312372971.700480295-15659.7004802946
38458343369269.50523523489073.4947647661
39354228363061.739270887-8833.73927088741
40308636375007.761817514-66371.7618175136
41386212362707.75726940223504.2427305981
42393343367000.89625021426342.103749786
43378509365641.92576169612867.0742383044
44452469340756.51495247111712.485047530
45364839433461.360249555-68622.3602495552
46358649321184.29000771337464.7099922865
47376641350899.99533556925741.0046644309
48429112367966.15099653461145.8490034660
49330546344373.337423343-13827.3374233429
50403560400670.2592175772889.74078242265
51317892348183.695585246-30291.6955852465

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 194493 & 354460.108165008 & -159967.108165008 \tabularnewline
2 & 530670 & 379674.227940598 & 150995.772059402 \tabularnewline
3 & 518365 & 402561.210135897 & 115803.789864103 \tabularnewline
4 & 491303 & 477753.615126872 & 13549.3848731278 \tabularnewline
5 & 527021 & 393512.833720524 & 133508.166279476 \tabularnewline
6 & 233773 & 426797.061848549 & -193024.061848549 \tabularnewline
7 & 405972 & 339021.581979494 & 66950.4180205063 \tabularnewline
8 & 652925 & 353149.475502004 & 299775.524497996 \tabularnewline
9 & 446211 & 390652.964211799 & 55558.0357882009 \tabularnewline
10 & 341340 & 361288.111292187 & -19948.1112921870 \tabularnewline
11 & 387699 & 421651.925106712 & -33952.9251067117 \tabularnewline
12 & 493408 & 398007.504032598 & 95400.4959674021 \tabularnewline
13 & 146494 & 336594.486566275 & -190100.486566275 \tabularnewline
14 & 414462 & 378203.54441119 & 36258.4555888099 \tabularnewline
15 & 364304 & 402698.048664594 & -38394.0486645942 \tabularnewline
16 & 355178 & 343136.480435539 & 12041.5195644615 \tabularnewline
17 & 357760 & 437421.608797898 & -79661.608797898 \tabularnewline
18 & 261216 & 348426.793517542 & -87210.7935175415 \tabularnewline
19 & 397144 & 370049.691351199 & 27094.3086488005 \tabularnewline
20 & 374943 & 383399.623958790 & -8456.62395879042 \tabularnewline
21 & 424898 & 382541.089288242 & 42356.9107117581 \tabularnewline
22 & 202055 & 323317.547850873 & -121262.547850873 \tabularnewline
23 & 378525 & 352818.722201801 & 25706.2777981992 \tabularnewline
24 & 310768 & 370438.917012032 & -59670.9170120316 \tabularnewline
25 & 325738 & 345114.299650183 & -19376.2996501825 \tabularnewline
26 & 394510 & 384654.299217505 & 9855.70078249468 \tabularnewline
27 & 247060 & 353505.985979216 & -106445.985979216 \tabularnewline
28 & 368078 & 373357.809126287 & -5279.80912628667 \tabularnewline
29 & 236761 & 343219.444626553 & -106458.444626553 \tabularnewline
30 & 312378 & 338432.957309371 & -26054.957309371 \tabularnewline
31 & 339836 & 374726.498765112 & -34890.4987651121 \tabularnewline
32 & 347385 & 336140.524244461 & 11244.4757555388 \tabularnewline
33 & 426280 & 383435.318684884 & 42844.6813151162 \tabularnewline
34 & 352850 & 389823.31078522 & -36973.3107852198 \tabularnewline
35 & 301881 & 316734.549993876 & -14853.5499938756 \tabularnewline
36 & 377516 & 361611.938645867 & 15904.0613541332 \tabularnewline
37 & 357312 & 372971.700480295 & -15659.7004802946 \tabularnewline
38 & 458343 & 369269.505235234 & 89073.4947647661 \tabularnewline
39 & 354228 & 363061.739270887 & -8833.73927088741 \tabularnewline
40 & 308636 & 375007.761817514 & -66371.7618175136 \tabularnewline
41 & 386212 & 362707.757269402 & 23504.2427305981 \tabularnewline
42 & 393343 & 367000.896250214 & 26342.103749786 \tabularnewline
43 & 378509 & 365641.925761696 & 12867.0742383044 \tabularnewline
44 & 452469 & 340756.51495247 & 111712.485047530 \tabularnewline
45 & 364839 & 433461.360249555 & -68622.3602495552 \tabularnewline
46 & 358649 & 321184.290007713 & 37464.7099922865 \tabularnewline
47 & 376641 & 350899.995335569 & 25741.0046644309 \tabularnewline
48 & 429112 & 367966.150996534 & 61145.8490034660 \tabularnewline
49 & 330546 & 344373.337423343 & -13827.3374233429 \tabularnewline
50 & 403560 & 400670.259217577 & 2889.74078242265 \tabularnewline
51 & 317892 & 348183.695585246 & -30291.6955852465 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103393&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]194493[/C][C]354460.108165008[/C][C]-159967.108165008[/C][/ROW]
[ROW][C]2[/C][C]530670[/C][C]379674.227940598[/C][C]150995.772059402[/C][/ROW]
[ROW][C]3[/C][C]518365[/C][C]402561.210135897[/C][C]115803.789864103[/C][/ROW]
[ROW][C]4[/C][C]491303[/C][C]477753.615126872[/C][C]13549.3848731278[/C][/ROW]
[ROW][C]5[/C][C]527021[/C][C]393512.833720524[/C][C]133508.166279476[/C][/ROW]
[ROW][C]6[/C][C]233773[/C][C]426797.061848549[/C][C]-193024.061848549[/C][/ROW]
[ROW][C]7[/C][C]405972[/C][C]339021.581979494[/C][C]66950.4180205063[/C][/ROW]
[ROW][C]8[/C][C]652925[/C][C]353149.475502004[/C][C]299775.524497996[/C][/ROW]
[ROW][C]9[/C][C]446211[/C][C]390652.964211799[/C][C]55558.0357882009[/C][/ROW]
[ROW][C]10[/C][C]341340[/C][C]361288.111292187[/C][C]-19948.1112921870[/C][/ROW]
[ROW][C]11[/C][C]387699[/C][C]421651.925106712[/C][C]-33952.9251067117[/C][/ROW]
[ROW][C]12[/C][C]493408[/C][C]398007.504032598[/C][C]95400.4959674021[/C][/ROW]
[ROW][C]13[/C][C]146494[/C][C]336594.486566275[/C][C]-190100.486566275[/C][/ROW]
[ROW][C]14[/C][C]414462[/C][C]378203.54441119[/C][C]36258.4555888099[/C][/ROW]
[ROW][C]15[/C][C]364304[/C][C]402698.048664594[/C][C]-38394.0486645942[/C][/ROW]
[ROW][C]16[/C][C]355178[/C][C]343136.480435539[/C][C]12041.5195644615[/C][/ROW]
[ROW][C]17[/C][C]357760[/C][C]437421.608797898[/C][C]-79661.608797898[/C][/ROW]
[ROW][C]18[/C][C]261216[/C][C]348426.793517542[/C][C]-87210.7935175415[/C][/ROW]
[ROW][C]19[/C][C]397144[/C][C]370049.691351199[/C][C]27094.3086488005[/C][/ROW]
[ROW][C]20[/C][C]374943[/C][C]383399.623958790[/C][C]-8456.62395879042[/C][/ROW]
[ROW][C]21[/C][C]424898[/C][C]382541.089288242[/C][C]42356.9107117581[/C][/ROW]
[ROW][C]22[/C][C]202055[/C][C]323317.547850873[/C][C]-121262.547850873[/C][/ROW]
[ROW][C]23[/C][C]378525[/C][C]352818.722201801[/C][C]25706.2777981992[/C][/ROW]
[ROW][C]24[/C][C]310768[/C][C]370438.917012032[/C][C]-59670.9170120316[/C][/ROW]
[ROW][C]25[/C][C]325738[/C][C]345114.299650183[/C][C]-19376.2996501825[/C][/ROW]
[ROW][C]26[/C][C]394510[/C][C]384654.299217505[/C][C]9855.70078249468[/C][/ROW]
[ROW][C]27[/C][C]247060[/C][C]353505.985979216[/C][C]-106445.985979216[/C][/ROW]
[ROW][C]28[/C][C]368078[/C][C]373357.809126287[/C][C]-5279.80912628667[/C][/ROW]
[ROW][C]29[/C][C]236761[/C][C]343219.444626553[/C][C]-106458.444626553[/C][/ROW]
[ROW][C]30[/C][C]312378[/C][C]338432.957309371[/C][C]-26054.957309371[/C][/ROW]
[ROW][C]31[/C][C]339836[/C][C]374726.498765112[/C][C]-34890.4987651121[/C][/ROW]
[ROW][C]32[/C][C]347385[/C][C]336140.524244461[/C][C]11244.4757555388[/C][/ROW]
[ROW][C]33[/C][C]426280[/C][C]383435.318684884[/C][C]42844.6813151162[/C][/ROW]
[ROW][C]34[/C][C]352850[/C][C]389823.31078522[/C][C]-36973.3107852198[/C][/ROW]
[ROW][C]35[/C][C]301881[/C][C]316734.549993876[/C][C]-14853.5499938756[/C][/ROW]
[ROW][C]36[/C][C]377516[/C][C]361611.938645867[/C][C]15904.0613541332[/C][/ROW]
[ROW][C]37[/C][C]357312[/C][C]372971.700480295[/C][C]-15659.7004802946[/C][/ROW]
[ROW][C]38[/C][C]458343[/C][C]369269.505235234[/C][C]89073.4947647661[/C][/ROW]
[ROW][C]39[/C][C]354228[/C][C]363061.739270887[/C][C]-8833.73927088741[/C][/ROW]
[ROW][C]40[/C][C]308636[/C][C]375007.761817514[/C][C]-66371.7618175136[/C][/ROW]
[ROW][C]41[/C][C]386212[/C][C]362707.757269402[/C][C]23504.2427305981[/C][/ROW]
[ROW][C]42[/C][C]393343[/C][C]367000.896250214[/C][C]26342.103749786[/C][/ROW]
[ROW][C]43[/C][C]378509[/C][C]365641.925761696[/C][C]12867.0742383044[/C][/ROW]
[ROW][C]44[/C][C]452469[/C][C]340756.51495247[/C][C]111712.485047530[/C][/ROW]
[ROW][C]45[/C][C]364839[/C][C]433461.360249555[/C][C]-68622.3602495552[/C][/ROW]
[ROW][C]46[/C][C]358649[/C][C]321184.290007713[/C][C]37464.7099922865[/C][/ROW]
[ROW][C]47[/C][C]376641[/C][C]350899.995335569[/C][C]25741.0046644309[/C][/ROW]
[ROW][C]48[/C][C]429112[/C][C]367966.150996534[/C][C]61145.8490034660[/C][/ROW]
[ROW][C]49[/C][C]330546[/C][C]344373.337423343[/C][C]-13827.3374233429[/C][/ROW]
[ROW][C]50[/C][C]403560[/C][C]400670.259217577[/C][C]2889.74078242265[/C][/ROW]
[ROW][C]51[/C][C]317892[/C][C]348183.695585246[/C][C]-30291.6955852465[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103393&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103393&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
1194493354460.108165008-159967.108165008
2530670379674.227940598150995.772059402
3518365402561.210135897115803.789864103
4491303477753.61512687213549.3848731278
5527021393512.833720524133508.166279476
6233773426797.061848549-193024.061848549
7405972339021.58197949466950.4180205063
8652925353149.475502004299775.524497996
9446211390652.96421179955558.0357882009
10341340361288.111292187-19948.1112921870
11387699421651.925106712-33952.9251067117
12493408398007.50403259895400.4959674021
13146494336594.486566275-190100.486566275
14414462378203.5444111936258.4555888099
15364304402698.048664594-38394.0486645942
16355178343136.48043553912041.5195644615
17357760437421.608797898-79661.608797898
18261216348426.793517542-87210.7935175415
19397144370049.69135119927094.3086488005
20374943383399.623958790-8456.62395879042
21424898382541.08928824242356.9107117581
22202055323317.547850873-121262.547850873
23378525352818.72220180125706.2777981992
24310768370438.917012032-59670.9170120316
25325738345114.299650183-19376.2996501825
26394510384654.2992175059855.70078249468
27247060353505.985979216-106445.985979216
28368078373357.809126287-5279.80912628667
29236761343219.444626553-106458.444626553
30312378338432.957309371-26054.957309371
31339836374726.498765112-34890.4987651121
32347385336140.52424446111244.4757555388
33426280383435.31868488442844.6813151162
34352850389823.31078522-36973.3107852198
35301881316734.549993876-14853.5499938756
36377516361611.93864586715904.0613541332
37357312372971.700480295-15659.7004802946
38458343369269.50523523489073.4947647661
39354228363061.739270887-8833.73927088741
40308636375007.761817514-66371.7618175136
41386212362707.75726940223504.2427305981
42393343367000.89625021426342.103749786
43378509365641.92576169612867.0742383044
44452469340756.51495247111712.485047530
45364839433461.360249555-68622.3602495552
46358649321184.29000771337464.7099922865
47376641350899.99533556925741.0046644309
48429112367966.15099653461145.8490034660
49330546344373.337423343-13827.3374233429
50403560400670.2592175772889.74078242265
51317892348183.695585246-30291.6955852465







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.9970144031835110.005971193632977930.00298559681648897
80.9999937750488471.24499023059513e-056.22495115297566e-06
90.9999851682344372.96635311260023e-051.48317655630012e-05
100.9999678945677766.4210864447534e-053.2105432223767e-05
110.9999349565099570.0001300869800852416.50434900426207e-05
120.9999298930986630.0001402138026739307.01069013369652e-05
130.9999995330118429.33976316914071e-074.66988158457036e-07
140.9999989693542792.06129144223396e-061.03064572111698e-06
150.9999973208818945.35823621150409e-062.67911810575204e-06
160.9999924969475041.50061049929911e-057.50305249649556e-06
170.9999972705617815.45887643803713e-062.72943821901856e-06
180.9999975142665274.97146694639639e-062.48573347319819e-06
190.9999934162622091.31674755824159e-056.58373779120795e-06
200.999987674065722.46518685592314e-051.23259342796157e-05
210.999969074945276.18501094599347e-053.09250547299674e-05
220.9999960476088977.90478220588834e-063.95239110294417e-06
230.9999917876062521.64247874955791e-058.21239374778954e-06
240.9999909392338941.81215322110067e-059.06076610550336e-06
250.9999757447751434.85104497149074e-052.42552248574537e-05
260.999937407241870.0001251855162605246.25927581302621e-05
270.999973382923685.32341526420876e-052.66170763210438e-05
280.999928799297510.0001424014049810447.12007024905222e-05
290.9999801430987153.97138025707882e-051.98569012853941e-05
300.9999853305315632.93389368732703e-051.46694684366351e-05
310.999965739252286.85214954388671e-053.42607477194336e-05
320.999903118967250.0001937620655017129.68810327508558e-05
330.9997808995963970.0004382008072060860.000219100403603043
340.99978293490540.0004341301891988950.000217065094599448
350.9994993836423250.001001232715350580.000500616357675290
360.998627366263190.002745267473618430.00137263373680922
370.996790473220290.006419053559420690.00320952677971035
380.9930634388738580.01387312225228380.00693656112614191
390.9847298298778420.03054034024431670.0152701701221583
400.999592733781540.000814532436920440.00040726621846022
410.9983277430499880.003344513900023610.00167225695001181
420.995098396354810.00980320729038160.0049016036451908
430.9842198652554670.03156026948906580.0157801347445329
440.9476615162764280.1046769674471450.0523384837235724

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
7 & 0.997014403183511 & 0.00597119363297793 & 0.00298559681648897 \tabularnewline
8 & 0.999993775048847 & 1.24499023059513e-05 & 6.22495115297566e-06 \tabularnewline
9 & 0.999985168234437 & 2.96635311260023e-05 & 1.48317655630012e-05 \tabularnewline
10 & 0.999967894567776 & 6.4210864447534e-05 & 3.2105432223767e-05 \tabularnewline
11 & 0.999934956509957 & 0.000130086980085241 & 6.50434900426207e-05 \tabularnewline
12 & 0.999929893098663 & 0.000140213802673930 & 7.01069013369652e-05 \tabularnewline
13 & 0.999999533011842 & 9.33976316914071e-07 & 4.66988158457036e-07 \tabularnewline
14 & 0.999998969354279 & 2.06129144223396e-06 & 1.03064572111698e-06 \tabularnewline
15 & 0.999997320881894 & 5.35823621150409e-06 & 2.67911810575204e-06 \tabularnewline
16 & 0.999992496947504 & 1.50061049929911e-05 & 7.50305249649556e-06 \tabularnewline
17 & 0.999997270561781 & 5.45887643803713e-06 & 2.72943821901856e-06 \tabularnewline
18 & 0.999997514266527 & 4.97146694639639e-06 & 2.48573347319819e-06 \tabularnewline
19 & 0.999993416262209 & 1.31674755824159e-05 & 6.58373779120795e-06 \tabularnewline
20 & 0.99998767406572 & 2.46518685592314e-05 & 1.23259342796157e-05 \tabularnewline
21 & 0.99996907494527 & 6.18501094599347e-05 & 3.09250547299674e-05 \tabularnewline
22 & 0.999996047608897 & 7.90478220588834e-06 & 3.95239110294417e-06 \tabularnewline
23 & 0.999991787606252 & 1.64247874955791e-05 & 8.21239374778954e-06 \tabularnewline
24 & 0.999990939233894 & 1.81215322110067e-05 & 9.06076610550336e-06 \tabularnewline
25 & 0.999975744775143 & 4.85104497149074e-05 & 2.42552248574537e-05 \tabularnewline
26 & 0.99993740724187 & 0.000125185516260524 & 6.25927581302621e-05 \tabularnewline
27 & 0.99997338292368 & 5.32341526420876e-05 & 2.66170763210438e-05 \tabularnewline
28 & 0.99992879929751 & 0.000142401404981044 & 7.12007024905222e-05 \tabularnewline
29 & 0.999980143098715 & 3.97138025707882e-05 & 1.98569012853941e-05 \tabularnewline
30 & 0.999985330531563 & 2.93389368732703e-05 & 1.46694684366351e-05 \tabularnewline
31 & 0.99996573925228 & 6.85214954388671e-05 & 3.42607477194336e-05 \tabularnewline
32 & 0.99990311896725 & 0.000193762065501712 & 9.68810327508558e-05 \tabularnewline
33 & 0.999780899596397 & 0.000438200807206086 & 0.000219100403603043 \tabularnewline
34 & 0.9997829349054 & 0.000434130189198895 & 0.000217065094599448 \tabularnewline
35 & 0.999499383642325 & 0.00100123271535058 & 0.000500616357675290 \tabularnewline
36 & 0.99862736626319 & 0.00274526747361843 & 0.00137263373680922 \tabularnewline
37 & 0.99679047322029 & 0.00641905355942069 & 0.00320952677971035 \tabularnewline
38 & 0.993063438873858 & 0.0138731222522838 & 0.00693656112614191 \tabularnewline
39 & 0.984729829877842 & 0.0305403402443167 & 0.0152701701221583 \tabularnewline
40 & 0.99959273378154 & 0.00081453243692044 & 0.00040726621846022 \tabularnewline
41 & 0.998327743049988 & 0.00334451390002361 & 0.00167225695001181 \tabularnewline
42 & 0.99509839635481 & 0.0098032072903816 & 0.0049016036451908 \tabularnewline
43 & 0.984219865255467 & 0.0315602694890658 & 0.0157801347445329 \tabularnewline
44 & 0.947661516276428 & 0.104676967447145 & 0.0523384837235724 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103393&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.997014403183511[/C][C]0.00597119363297793[/C][C]0.00298559681648897[/C][/ROW]
[ROW][C]8[/C][C]0.999993775048847[/C][C]1.24499023059513e-05[/C][C]6.22495115297566e-06[/C][/ROW]
[ROW][C]9[/C][C]0.999985168234437[/C][C]2.96635311260023e-05[/C][C]1.48317655630012e-05[/C][/ROW]
[ROW][C]10[/C][C]0.999967894567776[/C][C]6.4210864447534e-05[/C][C]3.2105432223767e-05[/C][/ROW]
[ROW][C]11[/C][C]0.999934956509957[/C][C]0.000130086980085241[/C][C]6.50434900426207e-05[/C][/ROW]
[ROW][C]12[/C][C]0.999929893098663[/C][C]0.000140213802673930[/C][C]7.01069013369652e-05[/C][/ROW]
[ROW][C]13[/C][C]0.999999533011842[/C][C]9.33976316914071e-07[/C][C]4.66988158457036e-07[/C][/ROW]
[ROW][C]14[/C][C]0.999998969354279[/C][C]2.06129144223396e-06[/C][C]1.03064572111698e-06[/C][/ROW]
[ROW][C]15[/C][C]0.999997320881894[/C][C]5.35823621150409e-06[/C][C]2.67911810575204e-06[/C][/ROW]
[ROW][C]16[/C][C]0.999992496947504[/C][C]1.50061049929911e-05[/C][C]7.50305249649556e-06[/C][/ROW]
[ROW][C]17[/C][C]0.999997270561781[/C][C]5.45887643803713e-06[/C][C]2.72943821901856e-06[/C][/ROW]
[ROW][C]18[/C][C]0.999997514266527[/C][C]4.97146694639639e-06[/C][C]2.48573347319819e-06[/C][/ROW]
[ROW][C]19[/C][C]0.999993416262209[/C][C]1.31674755824159e-05[/C][C]6.58373779120795e-06[/C][/ROW]
[ROW][C]20[/C][C]0.99998767406572[/C][C]2.46518685592314e-05[/C][C]1.23259342796157e-05[/C][/ROW]
[ROW][C]21[/C][C]0.99996907494527[/C][C]6.18501094599347e-05[/C][C]3.09250547299674e-05[/C][/ROW]
[ROW][C]22[/C][C]0.999996047608897[/C][C]7.90478220588834e-06[/C][C]3.95239110294417e-06[/C][/ROW]
[ROW][C]23[/C][C]0.999991787606252[/C][C]1.64247874955791e-05[/C][C]8.21239374778954e-06[/C][/ROW]
[ROW][C]24[/C][C]0.999990939233894[/C][C]1.81215322110067e-05[/C][C]9.06076610550336e-06[/C][/ROW]
[ROW][C]25[/C][C]0.999975744775143[/C][C]4.85104497149074e-05[/C][C]2.42552248574537e-05[/C][/ROW]
[ROW][C]26[/C][C]0.99993740724187[/C][C]0.000125185516260524[/C][C]6.25927581302621e-05[/C][/ROW]
[ROW][C]27[/C][C]0.99997338292368[/C][C]5.32341526420876e-05[/C][C]2.66170763210438e-05[/C][/ROW]
[ROW][C]28[/C][C]0.99992879929751[/C][C]0.000142401404981044[/C][C]7.12007024905222e-05[/C][/ROW]
[ROW][C]29[/C][C]0.999980143098715[/C][C]3.97138025707882e-05[/C][C]1.98569012853941e-05[/C][/ROW]
[ROW][C]30[/C][C]0.999985330531563[/C][C]2.93389368732703e-05[/C][C]1.46694684366351e-05[/C][/ROW]
[ROW][C]31[/C][C]0.99996573925228[/C][C]6.85214954388671e-05[/C][C]3.42607477194336e-05[/C][/ROW]
[ROW][C]32[/C][C]0.99990311896725[/C][C]0.000193762065501712[/C][C]9.68810327508558e-05[/C][/ROW]
[ROW][C]33[/C][C]0.999780899596397[/C][C]0.000438200807206086[/C][C]0.000219100403603043[/C][/ROW]
[ROW][C]34[/C][C]0.9997829349054[/C][C]0.000434130189198895[/C][C]0.000217065094599448[/C][/ROW]
[ROW][C]35[/C][C]0.999499383642325[/C][C]0.00100123271535058[/C][C]0.000500616357675290[/C][/ROW]
[ROW][C]36[/C][C]0.99862736626319[/C][C]0.00274526747361843[/C][C]0.00137263373680922[/C][/ROW]
[ROW][C]37[/C][C]0.99679047322029[/C][C]0.00641905355942069[/C][C]0.00320952677971035[/C][/ROW]
[ROW][C]38[/C][C]0.993063438873858[/C][C]0.0138731222522838[/C][C]0.00693656112614191[/C][/ROW]
[ROW][C]39[/C][C]0.984729829877842[/C][C]0.0305403402443167[/C][C]0.0152701701221583[/C][/ROW]
[ROW][C]40[/C][C]0.99959273378154[/C][C]0.00081453243692044[/C][C]0.00040726621846022[/C][/ROW]
[ROW][C]41[/C][C]0.998327743049988[/C][C]0.00334451390002361[/C][C]0.00167225695001181[/C][/ROW]
[ROW][C]42[/C][C]0.99509839635481[/C][C]0.0098032072903816[/C][C]0.0049016036451908[/C][/ROW]
[ROW][C]43[/C][C]0.984219865255467[/C][C]0.0315602694890658[/C][C]0.0157801347445329[/C][/ROW]
[ROW][C]44[/C][C]0.947661516276428[/C][C]0.104676967447145[/C][C]0.0523384837235724[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103393&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103393&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.9970144031835110.005971193632977930.00298559681648897
80.9999937750488471.24499023059513e-056.22495115297566e-06
90.9999851682344372.96635311260023e-051.48317655630012e-05
100.9999678945677766.4210864447534e-053.2105432223767e-05
110.9999349565099570.0001300869800852416.50434900426207e-05
120.9999298930986630.0001402138026739307.01069013369652e-05
130.9999995330118429.33976316914071e-074.66988158457036e-07
140.9999989693542792.06129144223396e-061.03064572111698e-06
150.9999973208818945.35823621150409e-062.67911810575204e-06
160.9999924969475041.50061049929911e-057.50305249649556e-06
170.9999972705617815.45887643803713e-062.72943821901856e-06
180.9999975142665274.97146694639639e-062.48573347319819e-06
190.9999934162622091.31674755824159e-056.58373779120795e-06
200.999987674065722.46518685592314e-051.23259342796157e-05
210.999969074945276.18501094599347e-053.09250547299674e-05
220.9999960476088977.90478220588834e-063.95239110294417e-06
230.9999917876062521.64247874955791e-058.21239374778954e-06
240.9999909392338941.81215322110067e-059.06076610550336e-06
250.9999757447751434.85104497149074e-052.42552248574537e-05
260.999937407241870.0001251855162605246.25927581302621e-05
270.999973382923685.32341526420876e-052.66170763210438e-05
280.999928799297510.0001424014049810447.12007024905222e-05
290.9999801430987153.97138025707882e-051.98569012853941e-05
300.9999853305315632.93389368732703e-051.46694684366351e-05
310.999965739252286.85214954388671e-053.42607477194336e-05
320.999903118967250.0001937620655017129.68810327508558e-05
330.9997808995963970.0004382008072060860.000219100403603043
340.99978293490540.0004341301891988950.000217065094599448
350.9994993836423250.001001232715350580.000500616357675290
360.998627366263190.002745267473618430.00137263373680922
370.996790473220290.006419053559420690.00320952677971035
380.9930634388738580.01387312225228380.00693656112614191
390.9847298298778420.03054034024431670.0152701701221583
400.999592733781540.000814532436920440.00040726621846022
410.9983277430499880.003344513900023610.00167225695001181
420.995098396354810.00980320729038160.0049016036451908
430.9842198652554670.03156026948906580.0157801347445329
440.9476615162764280.1046769674471450.0523384837235724







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level340.894736842105263NOK
5% type I error level370.973684210526316NOK
10% type I error level370.973684210526316NOK

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

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



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