Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 01 Dec 2010 19:13:49 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/01/t1291230896qotfwciyi17411r.htm/, Retrieved Sun, 05 May 2024 06:48:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104170, Retrieved Sun, 05 May 2024 06:48:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact226
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [workshop 7 minitu...] [2010-12-01 19:13:49] [36a5183bc8f6439b2481209b0fbe6bda] [Current]
-         [Multiple Regression] [] [2010-12-03 10:05:27] [adca540665f1dd1a5a4406fd7f55bdf4]
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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 7 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104170&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104170&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Wealth[t] = + 294370.551448375 + 9.09965160204046Costs[t] -180.944089053399Orders[t] + 0.738242849391377Dividends[t] -346.303558627739t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Wealth[t] =  +  294370.551448375 +  9.09965160204046Costs[t] -180.944089053399Orders[t] +  0.738242849391377Dividends[t] -346.303558627739t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104170&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Wealth[t] =  +  294370.551448375 +  9.09965160204046Costs[t] -180.944089053399Orders[t] +  0.738242849391377Dividends[t] -346.303558627739t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104170&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104170&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] = + 294370.551448375 + 9.09965160204046Costs[t] -180.944089053399Orders[t] + 0.738242849391377Dividends[t] -346.303558627739t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)294370.55144837553080.6364795.54571e-061e-06
Costs9.099651602040467.401321.22950.225150.112575
Orders-180.944089053399474.895146-0.3810.7049430.352472
Dividends0.7382428493913770.4075131.81160.0765830.038291
t-346.303558627739936.761194-0.36970.7133160.356658

\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) & 294370.551448375 & 53080.636479 & 5.5457 & 1e-06 & 1e-06 \tabularnewline
Costs & 9.09965160204046 & 7.40132 & 1.2295 & 0.22515 & 0.112575 \tabularnewline
Orders & -180.944089053399 & 474.895146 & -0.381 & 0.704943 & 0.352472 \tabularnewline
Dividends & 0.738242849391377 & 0.407513 & 1.8116 & 0.076583 & 0.038291 \tabularnewline
t & -346.303558627739 & 936.761194 & -0.3697 & 0.713316 & 0.356658 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104170&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]294370.551448375[/C][C]53080.636479[/C][C]5.5457[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]Costs[/C][C]9.09965160204046[/C][C]7.40132[/C][C]1.2295[/C][C]0.22515[/C][C]0.112575[/C][/ROW]
[ROW][C]Orders[/C][C]-180.944089053399[/C][C]474.895146[/C][C]-0.381[/C][C]0.704943[/C][C]0.352472[/C][/ROW]
[ROW][C]Dividends[/C][C]0.738242849391377[/C][C]0.407513[/C][C]1.8116[/C][C]0.076583[/C][C]0.038291[/C][/ROW]
[ROW][C]t[/C][C]-346.303558627739[/C][C]936.761194[/C][C]-0.3697[/C][C]0.713316[/C][C]0.356658[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104170&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104170&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)294370.55144837553080.6364795.54571e-061e-06
Costs9.099651602040467.401321.22950.225150.112575
Orders-180.944089053399474.895146-0.3810.7049430.352472
Dividends0.7382428493913770.4075131.81160.0765830.038291
t-346.303558627739936.761194-0.36970.7133160.356658







Multiple Linear Regression - Regression Statistics
Multiple R0.350414092233016
R-squared0.122790036035489
Adjusted R-squared0.046510908734227
F-TEST (value)1.60974620947790
F-TEST (DF numerator)4
F-TEST (DF denominator)46
p-value0.187896665754245
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation89158.422019695
Sum Squared Residuals365664313983.934

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.350414092233016 \tabularnewline
R-squared & 0.122790036035489 \tabularnewline
Adjusted R-squared & 0.046510908734227 \tabularnewline
F-TEST (value) & 1.60974620947790 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.187896665754245 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 89158.422019695 \tabularnewline
Sum Squared Residuals & 365664313983.934 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104170&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.350414092233016[/C][/ROW]
[ROW][C]R-squared[/C][C]0.122790036035489[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.046510908734227[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.60974620947790[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0.187896665754245[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]89158.422019695[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]365664313983.934[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104170&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104170&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.350414092233016
R-squared0.122790036035489
Adjusted R-squared0.046510908734227
F-TEST (value)1.60974620947790
F-TEST (DF numerator)4
F-TEST (DF denominator)46
p-value0.187896665754245
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation89158.422019695
Sum Squared Residuals365664313983.934







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1194493363793.112919667-169300.112919667
2530670385947.497940872144722.502059128
3518365405971.66695083112393.333049170
4491303481158.86418964610144.1358103537
5527021399501.477428195127519.522571805
6233773429666.01726431-195893.01726431
7405972344997.02342459560974.9765754046
8652925361790.480116336291134.519883664
9446211396382.33873838649828.6612616139
10341340366819.462472095-25479.4624720947
11387699424589.866877107-36890.8668771067
12493408402730.77813522490677.2218647759
13146494342517.900116807-196023.900116807
14414462383297.26225470331164.7377452967
15364304404895.435835959-40591.435835959
16355178346969.1599794368208.84002056357
17357760430717.967048511-72957.9670485114
18261216353073.997512249-91857.9975122488
19397144372647.39031951724496.6096804826
20374943383988.915097027-9045.91509702722
21424898382466.99527911242431.0047208875
22202055325770.228997027-123715.228997027
23378525354931.07336414323593.9266358574
24310768371654.911324157-60886.9113241572
25325738347657.256982726-21919.2569827264
26394510384949.4199887649560.58001123588
27247060354766.983360266-107706.983360266
28368078373362.175984464-5284.17598446397
29236761344349.125563938-107588.125563938
30312378337501.945642350-25123.9456423496
31339836374359.182355092-34523.1823550918
32347385335618.50364213911766.4963578607
33426280380097.86093737246182.1390626276
34352850387190.717342426-34340.7173424259
35301881316195.754871797-14314.7548717971
36377516359702.67962915317813.3203708469
37357312368472.321044384-11160.3210443841
38458343362892.81452157795450.1854784235
39354228360173.977992028-5945.97799202813
40308636370180.902225009-61544.9022250092
41386212359092.09802659927119.9019734013
42393343362060.06013796631282.9398620343
43378509360279.15438275718229.8456172434
44452469334277.589393866118191.410606134
45364839426677.936659968-61838.9366599678
46358649315553.27320756743095.7267924328
47376641344942.31411278531698.6858872151
48429112362012.33983549667099.6601645037
49330546338100.650623410-7554.65062341033
50403560393023.86695239910536.1330476013
51317892341720.270997787-23828.2709977874

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 194493 & 363793.112919667 & -169300.112919667 \tabularnewline
2 & 530670 & 385947.497940872 & 144722.502059128 \tabularnewline
3 & 518365 & 405971.66695083 & 112393.333049170 \tabularnewline
4 & 491303 & 481158.864189646 & 10144.1358103537 \tabularnewline
5 & 527021 & 399501.477428195 & 127519.522571805 \tabularnewline
6 & 233773 & 429666.01726431 & -195893.01726431 \tabularnewline
7 & 405972 & 344997.023424595 & 60974.9765754046 \tabularnewline
8 & 652925 & 361790.480116336 & 291134.519883664 \tabularnewline
9 & 446211 & 396382.338738386 & 49828.6612616139 \tabularnewline
10 & 341340 & 366819.462472095 & -25479.4624720947 \tabularnewline
11 & 387699 & 424589.866877107 & -36890.8668771067 \tabularnewline
12 & 493408 & 402730.778135224 & 90677.2218647759 \tabularnewline
13 & 146494 & 342517.900116807 & -196023.900116807 \tabularnewline
14 & 414462 & 383297.262254703 & 31164.7377452967 \tabularnewline
15 & 364304 & 404895.435835959 & -40591.435835959 \tabularnewline
16 & 355178 & 346969.159979436 & 8208.84002056357 \tabularnewline
17 & 357760 & 430717.967048511 & -72957.9670485114 \tabularnewline
18 & 261216 & 353073.997512249 & -91857.9975122488 \tabularnewline
19 & 397144 & 372647.390319517 & 24496.6096804826 \tabularnewline
20 & 374943 & 383988.915097027 & -9045.91509702722 \tabularnewline
21 & 424898 & 382466.995279112 & 42431.0047208875 \tabularnewline
22 & 202055 & 325770.228997027 & -123715.228997027 \tabularnewline
23 & 378525 & 354931.073364143 & 23593.9266358574 \tabularnewline
24 & 310768 & 371654.911324157 & -60886.9113241572 \tabularnewline
25 & 325738 & 347657.256982726 & -21919.2569827264 \tabularnewline
26 & 394510 & 384949.419988764 & 9560.58001123588 \tabularnewline
27 & 247060 & 354766.983360266 & -107706.983360266 \tabularnewline
28 & 368078 & 373362.175984464 & -5284.17598446397 \tabularnewline
29 & 236761 & 344349.125563938 & -107588.125563938 \tabularnewline
30 & 312378 & 337501.945642350 & -25123.9456423496 \tabularnewline
31 & 339836 & 374359.182355092 & -34523.1823550918 \tabularnewline
32 & 347385 & 335618.503642139 & 11766.4963578607 \tabularnewline
33 & 426280 & 380097.860937372 & 46182.1390626276 \tabularnewline
34 & 352850 & 387190.717342426 & -34340.7173424259 \tabularnewline
35 & 301881 & 316195.754871797 & -14314.7548717971 \tabularnewline
36 & 377516 & 359702.679629153 & 17813.3203708469 \tabularnewline
37 & 357312 & 368472.321044384 & -11160.3210443841 \tabularnewline
38 & 458343 & 362892.814521577 & 95450.1854784235 \tabularnewline
39 & 354228 & 360173.977992028 & -5945.97799202813 \tabularnewline
40 & 308636 & 370180.902225009 & -61544.9022250092 \tabularnewline
41 & 386212 & 359092.098026599 & 27119.9019734013 \tabularnewline
42 & 393343 & 362060.060137966 & 31282.9398620343 \tabularnewline
43 & 378509 & 360279.154382757 & 18229.8456172434 \tabularnewline
44 & 452469 & 334277.589393866 & 118191.410606134 \tabularnewline
45 & 364839 & 426677.936659968 & -61838.9366599678 \tabularnewline
46 & 358649 & 315553.273207567 & 43095.7267924328 \tabularnewline
47 & 376641 & 344942.314112785 & 31698.6858872151 \tabularnewline
48 & 429112 & 362012.339835496 & 67099.6601645037 \tabularnewline
49 & 330546 & 338100.650623410 & -7554.65062341033 \tabularnewline
50 & 403560 & 393023.866952399 & 10536.1330476013 \tabularnewline
51 & 317892 & 341720.270997787 & -23828.2709977874 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104170&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]363793.112919667[/C][C]-169300.112919667[/C][/ROW]
[ROW][C]2[/C][C]530670[/C][C]385947.497940872[/C][C]144722.502059128[/C][/ROW]
[ROW][C]3[/C][C]518365[/C][C]405971.66695083[/C][C]112393.333049170[/C][/ROW]
[ROW][C]4[/C][C]491303[/C][C]481158.864189646[/C][C]10144.1358103537[/C][/ROW]
[ROW][C]5[/C][C]527021[/C][C]399501.477428195[/C][C]127519.522571805[/C][/ROW]
[ROW][C]6[/C][C]233773[/C][C]429666.01726431[/C][C]-195893.01726431[/C][/ROW]
[ROW][C]7[/C][C]405972[/C][C]344997.023424595[/C][C]60974.9765754046[/C][/ROW]
[ROW][C]8[/C][C]652925[/C][C]361790.480116336[/C][C]291134.519883664[/C][/ROW]
[ROW][C]9[/C][C]446211[/C][C]396382.338738386[/C][C]49828.6612616139[/C][/ROW]
[ROW][C]10[/C][C]341340[/C][C]366819.462472095[/C][C]-25479.4624720947[/C][/ROW]
[ROW][C]11[/C][C]387699[/C][C]424589.866877107[/C][C]-36890.8668771067[/C][/ROW]
[ROW][C]12[/C][C]493408[/C][C]402730.778135224[/C][C]90677.2218647759[/C][/ROW]
[ROW][C]13[/C][C]146494[/C][C]342517.900116807[/C][C]-196023.900116807[/C][/ROW]
[ROW][C]14[/C][C]414462[/C][C]383297.262254703[/C][C]31164.7377452967[/C][/ROW]
[ROW][C]15[/C][C]364304[/C][C]404895.435835959[/C][C]-40591.435835959[/C][/ROW]
[ROW][C]16[/C][C]355178[/C][C]346969.159979436[/C][C]8208.84002056357[/C][/ROW]
[ROW][C]17[/C][C]357760[/C][C]430717.967048511[/C][C]-72957.9670485114[/C][/ROW]
[ROW][C]18[/C][C]261216[/C][C]353073.997512249[/C][C]-91857.9975122488[/C][/ROW]
[ROW][C]19[/C][C]397144[/C][C]372647.390319517[/C][C]24496.6096804826[/C][/ROW]
[ROW][C]20[/C][C]374943[/C][C]383988.915097027[/C][C]-9045.91509702722[/C][/ROW]
[ROW][C]21[/C][C]424898[/C][C]382466.995279112[/C][C]42431.0047208875[/C][/ROW]
[ROW][C]22[/C][C]202055[/C][C]325770.228997027[/C][C]-123715.228997027[/C][/ROW]
[ROW][C]23[/C][C]378525[/C][C]354931.073364143[/C][C]23593.9266358574[/C][/ROW]
[ROW][C]24[/C][C]310768[/C][C]371654.911324157[/C][C]-60886.9113241572[/C][/ROW]
[ROW][C]25[/C][C]325738[/C][C]347657.256982726[/C][C]-21919.2569827264[/C][/ROW]
[ROW][C]26[/C][C]394510[/C][C]384949.419988764[/C][C]9560.58001123588[/C][/ROW]
[ROW][C]27[/C][C]247060[/C][C]354766.983360266[/C][C]-107706.983360266[/C][/ROW]
[ROW][C]28[/C][C]368078[/C][C]373362.175984464[/C][C]-5284.17598446397[/C][/ROW]
[ROW][C]29[/C][C]236761[/C][C]344349.125563938[/C][C]-107588.125563938[/C][/ROW]
[ROW][C]30[/C][C]312378[/C][C]337501.945642350[/C][C]-25123.9456423496[/C][/ROW]
[ROW][C]31[/C][C]339836[/C][C]374359.182355092[/C][C]-34523.1823550918[/C][/ROW]
[ROW][C]32[/C][C]347385[/C][C]335618.503642139[/C][C]11766.4963578607[/C][/ROW]
[ROW][C]33[/C][C]426280[/C][C]380097.860937372[/C][C]46182.1390626276[/C][/ROW]
[ROW][C]34[/C][C]352850[/C][C]387190.717342426[/C][C]-34340.7173424259[/C][/ROW]
[ROW][C]35[/C][C]301881[/C][C]316195.754871797[/C][C]-14314.7548717971[/C][/ROW]
[ROW][C]36[/C][C]377516[/C][C]359702.679629153[/C][C]17813.3203708469[/C][/ROW]
[ROW][C]37[/C][C]357312[/C][C]368472.321044384[/C][C]-11160.3210443841[/C][/ROW]
[ROW][C]38[/C][C]458343[/C][C]362892.814521577[/C][C]95450.1854784235[/C][/ROW]
[ROW][C]39[/C][C]354228[/C][C]360173.977992028[/C][C]-5945.97799202813[/C][/ROW]
[ROW][C]40[/C][C]308636[/C][C]370180.902225009[/C][C]-61544.9022250092[/C][/ROW]
[ROW][C]41[/C][C]386212[/C][C]359092.098026599[/C][C]27119.9019734013[/C][/ROW]
[ROW][C]42[/C][C]393343[/C][C]362060.060137966[/C][C]31282.9398620343[/C][/ROW]
[ROW][C]43[/C][C]378509[/C][C]360279.154382757[/C][C]18229.8456172434[/C][/ROW]
[ROW][C]44[/C][C]452469[/C][C]334277.589393866[/C][C]118191.410606134[/C][/ROW]
[ROW][C]45[/C][C]364839[/C][C]426677.936659968[/C][C]-61838.9366599678[/C][/ROW]
[ROW][C]46[/C][C]358649[/C][C]315553.273207567[/C][C]43095.7267924328[/C][/ROW]
[ROW][C]47[/C][C]376641[/C][C]344942.314112785[/C][C]31698.6858872151[/C][/ROW]
[ROW][C]48[/C][C]429112[/C][C]362012.339835496[/C][C]67099.6601645037[/C][/ROW]
[ROW][C]49[/C][C]330546[/C][C]338100.650623410[/C][C]-7554.65062341033[/C][/ROW]
[ROW][C]50[/C][C]403560[/C][C]393023.866952399[/C][C]10536.1330476013[/C][/ROW]
[ROW][C]51[/C][C]317892[/C][C]341720.270997787[/C][C]-23828.2709977874[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104170&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104170&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
1194493363793.112919667-169300.112919667
2530670385947.497940872144722.502059128
3518365405971.66695083112393.333049170
4491303481158.86418964610144.1358103537
5527021399501.477428195127519.522571805
6233773429666.01726431-195893.01726431
7405972344997.02342459560974.9765754046
8652925361790.480116336291134.519883664
9446211396382.33873838649828.6612616139
10341340366819.462472095-25479.4624720947
11387699424589.866877107-36890.8668771067
12493408402730.77813522490677.2218647759
13146494342517.900116807-196023.900116807
14414462383297.26225470331164.7377452967
15364304404895.435835959-40591.435835959
16355178346969.1599794368208.84002056357
17357760430717.967048511-72957.9670485114
18261216353073.997512249-91857.9975122488
19397144372647.39031951724496.6096804826
20374943383988.915097027-9045.91509702722
21424898382466.99527911242431.0047208875
22202055325770.228997027-123715.228997027
23378525354931.07336414323593.9266358574
24310768371654.911324157-60886.9113241572
25325738347657.256982726-21919.2569827264
26394510384949.4199887649560.58001123588
27247060354766.983360266-107706.983360266
28368078373362.175984464-5284.17598446397
29236761344349.125563938-107588.125563938
30312378337501.945642350-25123.9456423496
31339836374359.182355092-34523.1823550918
32347385335618.50364213911766.4963578607
33426280380097.86093737246182.1390626276
34352850387190.717342426-34340.7173424259
35301881316195.754871797-14314.7548717971
36377516359702.67962915317813.3203708469
37357312368472.321044384-11160.3210443841
38458343362892.81452157795450.1854784235
39354228360173.977992028-5945.97799202813
40308636370180.902225009-61544.9022250092
41386212359092.09802659927119.9019734013
42393343362060.06013796631282.9398620343
43378509360279.15438275718229.8456172434
44452469334277.589393866118191.410606134
45364839426677.936659968-61838.9366599678
46358649315553.27320756743095.7267924328
47376641344942.31411278531698.6858872151
48429112362012.33983549667099.6601645037
49330546338100.650623410-7554.65062341033
50403560393023.86695239910536.1330476013
51317892341720.270997787-23828.2709977874







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.9999961593426387.68131472472358e-063.84065736236179e-06
90.9999942851988861.14296022270546e-055.7148011135273e-06
100.9999907764782151.84470435705723e-059.22352178528616e-06
110.9999791402327834.17195344342222e-052.08597672171111e-05
120.9999903733672971.92532654051588e-059.6266327025794e-06
130.9999997338460745.32307851399559e-072.66153925699779e-07
140.999999742339835.15320340034459e-072.57660170017230e-07
150.9999993130223371.37395532618426e-066.8697766309213e-07
160.999998746019372.50796125806381e-061.25398062903191e-06
170.9999997178220245.64355951161632e-072.82177975580816e-07
180.9999992067016931.58659661321776e-067.93298306608881e-07
190.9999991041891531.7916216942151e-068.9581084710755e-07
200.999997833059484.33388104127623e-062.16694052063811e-06
210.99999596311678.07376659947195e-064.03688329973597e-06
220.9999986076147062.78477058867005e-061.39238529433502e-06
230.9999994604263161.07914736875015e-065.39573684375074e-07
240.9999985804305462.83913890789459e-061.41956945394730e-06
250.9999974041983525.19160329527972e-062.59580164763986e-06
260.9999965897411986.82051760401477e-063.41025880200738e-06
270.9999941962065821.16075868362915e-055.80379341814575e-06
280.9999862085141852.75829716298629e-051.37914858149315e-05
290.9999844533551633.10932896743657e-051.55466448371829e-05
300.999980140152953.97196940991509e-051.98598470495755e-05
310.9999393212552080.0001213574895834476.06787447917235e-05
320.9998489791395030.0003020417209942710.000151020860497136
330.9998197581724480.0003604836551044200.000180241827552210
340.99968071149110.0006385770178015090.000319288508900754
350.999095732128420.001808535743158410.000904267871579203
360.9980496304238370.003900739152326040.00195036957616302
370.9948888068320020.01022238633599670.00511119316799833
380.9897256036159880.02054879276802460.0102743963840123
390.975427356918840.04914528616232150.0245726430811607
400.9984602803512070.003079439297585190.00153971964879259
410.9939608549265690.01207829014686280.00603914507343142
420.9839273775838530.03214524483229390.0160726224161469
430.9701533824284670.05969323514306660.0298466175715333

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.999996159342638 & 7.68131472472358e-06 & 3.84065736236179e-06 \tabularnewline
9 & 0.999994285198886 & 1.14296022270546e-05 & 5.7148011135273e-06 \tabularnewline
10 & 0.999990776478215 & 1.84470435705723e-05 & 9.22352178528616e-06 \tabularnewline
11 & 0.999979140232783 & 4.17195344342222e-05 & 2.08597672171111e-05 \tabularnewline
12 & 0.999990373367297 & 1.92532654051588e-05 & 9.6266327025794e-06 \tabularnewline
13 & 0.999999733846074 & 5.32307851399559e-07 & 2.66153925699779e-07 \tabularnewline
14 & 0.99999974233983 & 5.15320340034459e-07 & 2.57660170017230e-07 \tabularnewline
15 & 0.999999313022337 & 1.37395532618426e-06 & 6.8697766309213e-07 \tabularnewline
16 & 0.99999874601937 & 2.50796125806381e-06 & 1.25398062903191e-06 \tabularnewline
17 & 0.999999717822024 & 5.64355951161632e-07 & 2.82177975580816e-07 \tabularnewline
18 & 0.999999206701693 & 1.58659661321776e-06 & 7.93298306608881e-07 \tabularnewline
19 & 0.999999104189153 & 1.7916216942151e-06 & 8.9581084710755e-07 \tabularnewline
20 & 0.99999783305948 & 4.33388104127623e-06 & 2.16694052063811e-06 \tabularnewline
21 & 0.9999959631167 & 8.07376659947195e-06 & 4.03688329973597e-06 \tabularnewline
22 & 0.999998607614706 & 2.78477058867005e-06 & 1.39238529433502e-06 \tabularnewline
23 & 0.999999460426316 & 1.07914736875015e-06 & 5.39573684375074e-07 \tabularnewline
24 & 0.999998580430546 & 2.83913890789459e-06 & 1.41956945394730e-06 \tabularnewline
25 & 0.999997404198352 & 5.19160329527972e-06 & 2.59580164763986e-06 \tabularnewline
26 & 0.999996589741198 & 6.82051760401477e-06 & 3.41025880200738e-06 \tabularnewline
27 & 0.999994196206582 & 1.16075868362915e-05 & 5.80379341814575e-06 \tabularnewline
28 & 0.999986208514185 & 2.75829716298629e-05 & 1.37914858149315e-05 \tabularnewline
29 & 0.999984453355163 & 3.10932896743657e-05 & 1.55466448371829e-05 \tabularnewline
30 & 0.99998014015295 & 3.97196940991509e-05 & 1.98598470495755e-05 \tabularnewline
31 & 0.999939321255208 & 0.000121357489583447 & 6.06787447917235e-05 \tabularnewline
32 & 0.999848979139503 & 0.000302041720994271 & 0.000151020860497136 \tabularnewline
33 & 0.999819758172448 & 0.000360483655104420 & 0.000180241827552210 \tabularnewline
34 & 0.9996807114911 & 0.000638577017801509 & 0.000319288508900754 \tabularnewline
35 & 0.99909573212842 & 0.00180853574315841 & 0.000904267871579203 \tabularnewline
36 & 0.998049630423837 & 0.00390073915232604 & 0.00195036957616302 \tabularnewline
37 & 0.994888806832002 & 0.0102223863359967 & 0.00511119316799833 \tabularnewline
38 & 0.989725603615988 & 0.0205487927680246 & 0.0102743963840123 \tabularnewline
39 & 0.97542735691884 & 0.0491452861623215 & 0.0245726430811607 \tabularnewline
40 & 0.998460280351207 & 0.00307943929758519 & 0.00153971964879259 \tabularnewline
41 & 0.993960854926569 & 0.0120782901468628 & 0.00603914507343142 \tabularnewline
42 & 0.983927377583853 & 0.0321452448322939 & 0.0160726224161469 \tabularnewline
43 & 0.970153382428467 & 0.0596932351430666 & 0.0298466175715333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104170&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.999996159342638[/C][C]7.68131472472358e-06[/C][C]3.84065736236179e-06[/C][/ROW]
[ROW][C]9[/C][C]0.999994285198886[/C][C]1.14296022270546e-05[/C][C]5.7148011135273e-06[/C][/ROW]
[ROW][C]10[/C][C]0.999990776478215[/C][C]1.84470435705723e-05[/C][C]9.22352178528616e-06[/C][/ROW]
[ROW][C]11[/C][C]0.999979140232783[/C][C]4.17195344342222e-05[/C][C]2.08597672171111e-05[/C][/ROW]
[ROW][C]12[/C][C]0.999990373367297[/C][C]1.92532654051588e-05[/C][C]9.6266327025794e-06[/C][/ROW]
[ROW][C]13[/C][C]0.999999733846074[/C][C]5.32307851399559e-07[/C][C]2.66153925699779e-07[/C][/ROW]
[ROW][C]14[/C][C]0.99999974233983[/C][C]5.15320340034459e-07[/C][C]2.57660170017230e-07[/C][/ROW]
[ROW][C]15[/C][C]0.999999313022337[/C][C]1.37395532618426e-06[/C][C]6.8697766309213e-07[/C][/ROW]
[ROW][C]16[/C][C]0.99999874601937[/C][C]2.50796125806381e-06[/C][C]1.25398062903191e-06[/C][/ROW]
[ROW][C]17[/C][C]0.999999717822024[/C][C]5.64355951161632e-07[/C][C]2.82177975580816e-07[/C][/ROW]
[ROW][C]18[/C][C]0.999999206701693[/C][C]1.58659661321776e-06[/C][C]7.93298306608881e-07[/C][/ROW]
[ROW][C]19[/C][C]0.999999104189153[/C][C]1.7916216942151e-06[/C][C]8.9581084710755e-07[/C][/ROW]
[ROW][C]20[/C][C]0.99999783305948[/C][C]4.33388104127623e-06[/C][C]2.16694052063811e-06[/C][/ROW]
[ROW][C]21[/C][C]0.9999959631167[/C][C]8.07376659947195e-06[/C][C]4.03688329973597e-06[/C][/ROW]
[ROW][C]22[/C][C]0.999998607614706[/C][C]2.78477058867005e-06[/C][C]1.39238529433502e-06[/C][/ROW]
[ROW][C]23[/C][C]0.999999460426316[/C][C]1.07914736875015e-06[/C][C]5.39573684375074e-07[/C][/ROW]
[ROW][C]24[/C][C]0.999998580430546[/C][C]2.83913890789459e-06[/C][C]1.41956945394730e-06[/C][/ROW]
[ROW][C]25[/C][C]0.999997404198352[/C][C]5.19160329527972e-06[/C][C]2.59580164763986e-06[/C][/ROW]
[ROW][C]26[/C][C]0.999996589741198[/C][C]6.82051760401477e-06[/C][C]3.41025880200738e-06[/C][/ROW]
[ROW][C]27[/C][C]0.999994196206582[/C][C]1.16075868362915e-05[/C][C]5.80379341814575e-06[/C][/ROW]
[ROW][C]28[/C][C]0.999986208514185[/C][C]2.75829716298629e-05[/C][C]1.37914858149315e-05[/C][/ROW]
[ROW][C]29[/C][C]0.999984453355163[/C][C]3.10932896743657e-05[/C][C]1.55466448371829e-05[/C][/ROW]
[ROW][C]30[/C][C]0.99998014015295[/C][C]3.97196940991509e-05[/C][C]1.98598470495755e-05[/C][/ROW]
[ROW][C]31[/C][C]0.999939321255208[/C][C]0.000121357489583447[/C][C]6.06787447917235e-05[/C][/ROW]
[ROW][C]32[/C][C]0.999848979139503[/C][C]0.000302041720994271[/C][C]0.000151020860497136[/C][/ROW]
[ROW][C]33[/C][C]0.999819758172448[/C][C]0.000360483655104420[/C][C]0.000180241827552210[/C][/ROW]
[ROW][C]34[/C][C]0.9996807114911[/C][C]0.000638577017801509[/C][C]0.000319288508900754[/C][/ROW]
[ROW][C]35[/C][C]0.99909573212842[/C][C]0.00180853574315841[/C][C]0.000904267871579203[/C][/ROW]
[ROW][C]36[/C][C]0.998049630423837[/C][C]0.00390073915232604[/C][C]0.00195036957616302[/C][/ROW]
[ROW][C]37[/C][C]0.994888806832002[/C][C]0.0102223863359967[/C][C]0.00511119316799833[/C][/ROW]
[ROW][C]38[/C][C]0.989725603615988[/C][C]0.0205487927680246[/C][C]0.0102743963840123[/C][/ROW]
[ROW][C]39[/C][C]0.97542735691884[/C][C]0.0491452861623215[/C][C]0.0245726430811607[/C][/ROW]
[ROW][C]40[/C][C]0.998460280351207[/C][C]0.00307943929758519[/C][C]0.00153971964879259[/C][/ROW]
[ROW][C]41[/C][C]0.993960854926569[/C][C]0.0120782901468628[/C][C]0.00603914507343142[/C][/ROW]
[ROW][C]42[/C][C]0.983927377583853[/C][C]0.0321452448322939[/C][C]0.0160726224161469[/C][/ROW]
[ROW][C]43[/C][C]0.970153382428467[/C][C]0.0596932351430666[/C][C]0.0298466175715333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104170&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104170&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.9999961593426387.68131472472358e-063.84065736236179e-06
90.9999942851988861.14296022270546e-055.7148011135273e-06
100.9999907764782151.84470435705723e-059.22352178528616e-06
110.9999791402327834.17195344342222e-052.08597672171111e-05
120.9999903733672971.92532654051588e-059.6266327025794e-06
130.9999997338460745.32307851399559e-072.66153925699779e-07
140.999999742339835.15320340034459e-072.57660170017230e-07
150.9999993130223371.37395532618426e-066.8697766309213e-07
160.999998746019372.50796125806381e-061.25398062903191e-06
170.9999997178220245.64355951161632e-072.82177975580816e-07
180.9999992067016931.58659661321776e-067.93298306608881e-07
190.9999991041891531.7916216942151e-068.9581084710755e-07
200.999997833059484.33388104127623e-062.16694052063811e-06
210.99999596311678.07376659947195e-064.03688329973597e-06
220.9999986076147062.78477058867005e-061.39238529433502e-06
230.9999994604263161.07914736875015e-065.39573684375074e-07
240.9999985804305462.83913890789459e-061.41956945394730e-06
250.9999974041983525.19160329527972e-062.59580164763986e-06
260.9999965897411986.82051760401477e-063.41025880200738e-06
270.9999941962065821.16075868362915e-055.80379341814575e-06
280.9999862085141852.75829716298629e-051.37914858149315e-05
290.9999844533551633.10932896743657e-051.55466448371829e-05
300.999980140152953.97196940991509e-051.98598470495755e-05
310.9999393212552080.0001213574895834476.06787447917235e-05
320.9998489791395030.0003020417209942710.000151020860497136
330.9998197581724480.0003604836551044200.000180241827552210
340.99968071149110.0006385770178015090.000319288508900754
350.999095732128420.001808535743158410.000904267871579203
360.9980496304238370.003900739152326040.00195036957616302
370.9948888068320020.01022238633599670.00511119316799833
380.9897256036159880.02054879276802460.0102743963840123
390.975427356918840.04914528616232150.0245726430811607
400.9984602803512070.003079439297585190.00153971964879259
410.9939608549265690.01207829014686280.00603914507343142
420.9839273775838530.03214524483229390.0160726224161469
430.9701533824284670.05969323514306660.0298466175715333







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level300.833333333333333NOK
5% type I error level350.972222222222222NOK
10% type I error level361NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104170&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 level300.833333333333333NOK
5% type I error level350.972222222222222NOK
10% type I error level361NOK



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