Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 03 Dec 2010 18:58:22 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/03/t1291402790x9av7tggcml7y71.htm/, Retrieved Tue, 07 May 2024 05:41:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104963, Retrieved Tue, 07 May 2024 05:41:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact98
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [] [2010-12-03 13:54:43] [99820e5c3330fe494c612533a1ea567a]
-   P     [Multiple Regression] [] [2010-12-03 18:58:22] [b7dd4adfab743bef2d672ff51f950617] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	162556	1081	213118	6282929
1	29790	309	81767	4324047
1	87550	458	153198	4108272
0	84738	588	-26007	-1212617
1	54660	299	126942	1485329
1	42634	156	157214	1779876
0	40949	481	129352	1367203
1	42312	323	234817	2519076
1	37704	452	60448	912684
1	16275	109	47818	1443586
0	25830	115	245546	1220017
0	12679	110	48020	984885
1	18014	239	-1710	1457425
0	43556	247	32648	-572920
1	24524	497	95350	929144
0	6532	103	151352	1151176
0	7123	109	288170	790090
1	20813	502	114337	774497
1	37597	248	37884	990576
0	17821	373	122844	454195
1	12988	119	82340	876607
1	22330	84	79801	711969
0	13326	102	165548	702380
0	16189	295	116384	264449
0	7146	105	134028	450033
0	15824	64	63838	541063
1	26088	267	74996	588864
0	11326	129	31080	-37216
0	8568	37	32168	783310
0	14416	361	49857	467359
1	3369	28	87161	688779
1	11819	85	106113	608419
1	6620	44	80570	696348
1	4519	49	102129	597793
0	2220	22	301670	821730
0	18562	155	102313	377934
0	10327	91	88577	651939
1	5336	81	112477	697458
1	2365	79	191778	700368
0	4069	145	79804	225986
0	7710	816	128294	348695
0	13718	61	96448	373683
0	4525	226	93811	501709
0	6869	105	117520	413743
0	4628	62	69159	379825
1	3653	24	101792	336260
1	1265	26	210568	636765
1	7489	322	136996	481231
0	4901	84	121920	469107




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

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







Multiple Linear Regression - Estimated Regression Equation
Wealth[t] = -504114.977829084 + 662967.306012224Group[t] + 24.5611272824609Costs[t] -41.5957333099101Trades[t] + 5.32130251682934Dividends[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Wealth[t] =  -504114.977829084 +  662967.306012224Group[t] +  24.5611272824609Costs[t] -41.5957333099101Trades[t] +  5.32130251682934Dividends[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104963&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Wealth[t] =  -504114.977829084 +  662967.306012224Group[t] +  24.5611272824609Costs[t] -41.5957333099101Trades[t] +  5.32130251682934Dividends[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104963&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104963&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] = -504114.977829084 + 662967.306012224Group[t] + 24.5611272824609Costs[t] -41.5957333099101Trades[t] + 5.32130251682934Dividends[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-504114.977829084268975.73522-1.87420.0675520.033776
Group662967.306012224233076.8122382.84440.0067270.003364
Costs24.56112728246096.1905253.96750.0002640.000132
Trades-41.5957333099101789.29099-0.05270.9582090.479105
Dividends5.321302516829341.6903713.1480.002950.001475

\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) & -504114.977829084 & 268975.73522 & -1.8742 & 0.067552 & 0.033776 \tabularnewline
Group & 662967.306012224 & 233076.812238 & 2.8444 & 0.006727 & 0.003364 \tabularnewline
Costs & 24.5611272824609 & 6.190525 & 3.9675 & 0.000264 & 0.000132 \tabularnewline
Trades & -41.5957333099101 & 789.29099 & -0.0527 & 0.958209 & 0.479105 \tabularnewline
Dividends & 5.32130251682934 & 1.690371 & 3.148 & 0.00295 & 0.001475 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104963&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]-504114.977829084[/C][C]268975.73522[/C][C]-1.8742[/C][C]0.067552[/C][C]0.033776[/C][/ROW]
[ROW][C]Group[/C][C]662967.306012224[/C][C]233076.812238[/C][C]2.8444[/C][C]0.006727[/C][C]0.003364[/C][/ROW]
[ROW][C]Costs[/C][C]24.5611272824609[/C][C]6.190525[/C][C]3.9675[/C][C]0.000264[/C][C]0.000132[/C][/ROW]
[ROW][C]Trades[/C][C]-41.5957333099101[/C][C]789.29099[/C][C]-0.0527[/C][C]0.958209[/C][C]0.479105[/C][/ROW]
[ROW][C]Dividends[/C][C]5.32130251682934[/C][C]1.690371[/C][C]3.148[/C][C]0.00295[/C][C]0.001475[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104963&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104963&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)-504114.977829084268975.73522-1.87420.0675520.033776
Group662967.306012224233076.8122382.84440.0067270.003364
Costs24.56112728246096.1905253.96750.0002640.000132
Trades-41.5957333099101789.29099-0.05270.9582090.479105
Dividends5.321302516829341.6903713.1480.002950.001475







Multiple Linear Regression - Regression Statistics
Multiple R0.76894626336554
R-squared0.591278355943827
Adjusted R-squared0.554121842847811
F-TEST (value)15.9131820151130
F-TEST (DF numerator)4
F-TEST (DF denominator)44
p-value3.96084618436987e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation792391.601716665
Sum Squared Residuals27626915820728.5

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.76894626336554 \tabularnewline
R-squared & 0.591278355943827 \tabularnewline
Adjusted R-squared & 0.554121842847811 \tabularnewline
F-TEST (value) & 15.9131820151130 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 3.96084618436987e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 792391.601716665 \tabularnewline
Sum Squared Residuals & 27626915820728.5 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104963&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.76894626336554[/C][/ROW]
[ROW][C]R-squared[/C][C]0.591278355943827[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.554121842847811[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]15.9131820151130[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]3.96084618436987e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]792391.601716665[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]27626915820728.5[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104963&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104963&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.76894626336554
R-squared0.591278355943827
Adjusted R-squared0.554121842847811
F-TEST (value)15.9131820151130
F-TEST (DF numerator)4
F-TEST (DF denominator)44
p-value3.96084618436987e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation792391.601716665
Sum Squared Residuals27626915820728.5







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
162829295240511.296784471042417.70321553
243240471312782.171228473011264.82877153
341082723105341.078879871002930.92112013
4-12126171414296.42009068-2626913.42009068
514853292164423.20527414-679094.205274138
617798762036085.74822804-256209.748228038
713672031169952.19869525197250.801304752
825190762434179.6169938484896.383006163
99126841387765.89432226-475081.894322265
101443586808504.783524156635081.216475844
1112200171432139.97834362-212122.978343617
1298488558248.9711792924926636.028820708
131457425582255.667484544875169.332515456
14-572920729125.220527678-1302045.22052768
159291441247902.52918286-318758.529182862
161151176457423.723576184693752.276423816
177900901199739.74314781-409649.743147815
187744971257583.77805814-483086.778058139
199905761273553.51330853-282977.513308526
20454195571763.749324438-117568.749324438
21876607911058.40629959-34451.4062995899
227119691128453.52094796-416484.520947956
23702380699874.8285954422505.17140455813
24264449500548.842538917-236099.842538917
25450033380234.81945944369798.1805405567
26541063221579.483426094319483.516573906
275888641187573.35948637-598709.359486366
28-37216-65915.417601854528699.4176018545
29783310-124038.622044060907348.62204406
30467359100246.352931555367112.647068445
31688779704244.134134435-15465.1341344350
326084191010264.02817151-401845.028171514
33696348748354.122308335-52006.1223083347
34597793811265.176181658-213472.176181658
358217301154772.94885707-333042.948857067
36377934489779.752529279-111845.752529279
37651939217087.58491888434851.41508112
38697458885065.392149662-187607.392149662
397003681234162.08534717-533794.085347173
4022598614454.0938063610211531.906193639
41348695334000.38023190514694.6197680950
42373683343506.21164296630176.7883570342
4350170996820.1978022888404888.802197711
44413743285587.325254383128155.674745617
45379825-25009.0554696691404834.055469669
46336260789241.854339624-452981.854339624
476367651309336.69349311-672571.693493115
484812311058393.94387125-577162.94387125
49469107261538.268236057207568.731763943

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6282929 & 5240511.29678447 & 1042417.70321553 \tabularnewline
2 & 4324047 & 1312782.17122847 & 3011264.82877153 \tabularnewline
3 & 4108272 & 3105341.07887987 & 1002930.92112013 \tabularnewline
4 & -1212617 & 1414296.42009068 & -2626913.42009068 \tabularnewline
5 & 1485329 & 2164423.20527414 & -679094.205274138 \tabularnewline
6 & 1779876 & 2036085.74822804 & -256209.748228038 \tabularnewline
7 & 1367203 & 1169952.19869525 & 197250.801304752 \tabularnewline
8 & 2519076 & 2434179.61699384 & 84896.383006163 \tabularnewline
9 & 912684 & 1387765.89432226 & -475081.894322265 \tabularnewline
10 & 1443586 & 808504.783524156 & 635081.216475844 \tabularnewline
11 & 1220017 & 1432139.97834362 & -212122.978343617 \tabularnewline
12 & 984885 & 58248.9711792924 & 926636.028820708 \tabularnewline
13 & 1457425 & 582255.667484544 & 875169.332515456 \tabularnewline
14 & -572920 & 729125.220527678 & -1302045.22052768 \tabularnewline
15 & 929144 & 1247902.52918286 & -318758.529182862 \tabularnewline
16 & 1151176 & 457423.723576184 & 693752.276423816 \tabularnewline
17 & 790090 & 1199739.74314781 & -409649.743147815 \tabularnewline
18 & 774497 & 1257583.77805814 & -483086.778058139 \tabularnewline
19 & 990576 & 1273553.51330853 & -282977.513308526 \tabularnewline
20 & 454195 & 571763.749324438 & -117568.749324438 \tabularnewline
21 & 876607 & 911058.40629959 & -34451.4062995899 \tabularnewline
22 & 711969 & 1128453.52094796 & -416484.520947956 \tabularnewline
23 & 702380 & 699874.828595442 & 2505.17140455813 \tabularnewline
24 & 264449 & 500548.842538917 & -236099.842538917 \tabularnewline
25 & 450033 & 380234.819459443 & 69798.1805405567 \tabularnewline
26 & 541063 & 221579.483426094 & 319483.516573906 \tabularnewline
27 & 588864 & 1187573.35948637 & -598709.359486366 \tabularnewline
28 & -37216 & -65915.4176018545 & 28699.4176018545 \tabularnewline
29 & 783310 & -124038.622044060 & 907348.62204406 \tabularnewline
30 & 467359 & 100246.352931555 & 367112.647068445 \tabularnewline
31 & 688779 & 704244.134134435 & -15465.1341344350 \tabularnewline
32 & 608419 & 1010264.02817151 & -401845.028171514 \tabularnewline
33 & 696348 & 748354.122308335 & -52006.1223083347 \tabularnewline
34 & 597793 & 811265.176181658 & -213472.176181658 \tabularnewline
35 & 821730 & 1154772.94885707 & -333042.948857067 \tabularnewline
36 & 377934 & 489779.752529279 & -111845.752529279 \tabularnewline
37 & 651939 & 217087.58491888 & 434851.41508112 \tabularnewline
38 & 697458 & 885065.392149662 & -187607.392149662 \tabularnewline
39 & 700368 & 1234162.08534717 & -533794.085347173 \tabularnewline
40 & 225986 & 14454.0938063610 & 211531.906193639 \tabularnewline
41 & 348695 & 334000.380231905 & 14694.6197680950 \tabularnewline
42 & 373683 & 343506.211642966 & 30176.7883570342 \tabularnewline
43 & 501709 & 96820.1978022888 & 404888.802197711 \tabularnewline
44 & 413743 & 285587.325254383 & 128155.674745617 \tabularnewline
45 & 379825 & -25009.0554696691 & 404834.055469669 \tabularnewline
46 & 336260 & 789241.854339624 & -452981.854339624 \tabularnewline
47 & 636765 & 1309336.69349311 & -672571.693493115 \tabularnewline
48 & 481231 & 1058393.94387125 & -577162.94387125 \tabularnewline
49 & 469107 & 261538.268236057 & 207568.731763943 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104963&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]6282929[/C][C]5240511.29678447[/C][C]1042417.70321553[/C][/ROW]
[ROW][C]2[/C][C]4324047[/C][C]1312782.17122847[/C][C]3011264.82877153[/C][/ROW]
[ROW][C]3[/C][C]4108272[/C][C]3105341.07887987[/C][C]1002930.92112013[/C][/ROW]
[ROW][C]4[/C][C]-1212617[/C][C]1414296.42009068[/C][C]-2626913.42009068[/C][/ROW]
[ROW][C]5[/C][C]1485329[/C][C]2164423.20527414[/C][C]-679094.205274138[/C][/ROW]
[ROW][C]6[/C][C]1779876[/C][C]2036085.74822804[/C][C]-256209.748228038[/C][/ROW]
[ROW][C]7[/C][C]1367203[/C][C]1169952.19869525[/C][C]197250.801304752[/C][/ROW]
[ROW][C]8[/C][C]2519076[/C][C]2434179.61699384[/C][C]84896.383006163[/C][/ROW]
[ROW][C]9[/C][C]912684[/C][C]1387765.89432226[/C][C]-475081.894322265[/C][/ROW]
[ROW][C]10[/C][C]1443586[/C][C]808504.783524156[/C][C]635081.216475844[/C][/ROW]
[ROW][C]11[/C][C]1220017[/C][C]1432139.97834362[/C][C]-212122.978343617[/C][/ROW]
[ROW][C]12[/C][C]984885[/C][C]58248.9711792924[/C][C]926636.028820708[/C][/ROW]
[ROW][C]13[/C][C]1457425[/C][C]582255.667484544[/C][C]875169.332515456[/C][/ROW]
[ROW][C]14[/C][C]-572920[/C][C]729125.220527678[/C][C]-1302045.22052768[/C][/ROW]
[ROW][C]15[/C][C]929144[/C][C]1247902.52918286[/C][C]-318758.529182862[/C][/ROW]
[ROW][C]16[/C][C]1151176[/C][C]457423.723576184[/C][C]693752.276423816[/C][/ROW]
[ROW][C]17[/C][C]790090[/C][C]1199739.74314781[/C][C]-409649.743147815[/C][/ROW]
[ROW][C]18[/C][C]774497[/C][C]1257583.77805814[/C][C]-483086.778058139[/C][/ROW]
[ROW][C]19[/C][C]990576[/C][C]1273553.51330853[/C][C]-282977.513308526[/C][/ROW]
[ROW][C]20[/C][C]454195[/C][C]571763.749324438[/C][C]-117568.749324438[/C][/ROW]
[ROW][C]21[/C][C]876607[/C][C]911058.40629959[/C][C]-34451.4062995899[/C][/ROW]
[ROW][C]22[/C][C]711969[/C][C]1128453.52094796[/C][C]-416484.520947956[/C][/ROW]
[ROW][C]23[/C][C]702380[/C][C]699874.828595442[/C][C]2505.17140455813[/C][/ROW]
[ROW][C]24[/C][C]264449[/C][C]500548.842538917[/C][C]-236099.842538917[/C][/ROW]
[ROW][C]25[/C][C]450033[/C][C]380234.819459443[/C][C]69798.1805405567[/C][/ROW]
[ROW][C]26[/C][C]541063[/C][C]221579.483426094[/C][C]319483.516573906[/C][/ROW]
[ROW][C]27[/C][C]588864[/C][C]1187573.35948637[/C][C]-598709.359486366[/C][/ROW]
[ROW][C]28[/C][C]-37216[/C][C]-65915.4176018545[/C][C]28699.4176018545[/C][/ROW]
[ROW][C]29[/C][C]783310[/C][C]-124038.622044060[/C][C]907348.62204406[/C][/ROW]
[ROW][C]30[/C][C]467359[/C][C]100246.352931555[/C][C]367112.647068445[/C][/ROW]
[ROW][C]31[/C][C]688779[/C][C]704244.134134435[/C][C]-15465.1341344350[/C][/ROW]
[ROW][C]32[/C][C]608419[/C][C]1010264.02817151[/C][C]-401845.028171514[/C][/ROW]
[ROW][C]33[/C][C]696348[/C][C]748354.122308335[/C][C]-52006.1223083347[/C][/ROW]
[ROW][C]34[/C][C]597793[/C][C]811265.176181658[/C][C]-213472.176181658[/C][/ROW]
[ROW][C]35[/C][C]821730[/C][C]1154772.94885707[/C][C]-333042.948857067[/C][/ROW]
[ROW][C]36[/C][C]377934[/C][C]489779.752529279[/C][C]-111845.752529279[/C][/ROW]
[ROW][C]37[/C][C]651939[/C][C]217087.58491888[/C][C]434851.41508112[/C][/ROW]
[ROW][C]38[/C][C]697458[/C][C]885065.392149662[/C][C]-187607.392149662[/C][/ROW]
[ROW][C]39[/C][C]700368[/C][C]1234162.08534717[/C][C]-533794.085347173[/C][/ROW]
[ROW][C]40[/C][C]225986[/C][C]14454.0938063610[/C][C]211531.906193639[/C][/ROW]
[ROW][C]41[/C][C]348695[/C][C]334000.380231905[/C][C]14694.6197680950[/C][/ROW]
[ROW][C]42[/C][C]373683[/C][C]343506.211642966[/C][C]30176.7883570342[/C][/ROW]
[ROW][C]43[/C][C]501709[/C][C]96820.1978022888[/C][C]404888.802197711[/C][/ROW]
[ROW][C]44[/C][C]413743[/C][C]285587.325254383[/C][C]128155.674745617[/C][/ROW]
[ROW][C]45[/C][C]379825[/C][C]-25009.0554696691[/C][C]404834.055469669[/C][/ROW]
[ROW][C]46[/C][C]336260[/C][C]789241.854339624[/C][C]-452981.854339624[/C][/ROW]
[ROW][C]47[/C][C]636765[/C][C]1309336.69349311[/C][C]-672571.693493115[/C][/ROW]
[ROW][C]48[/C][C]481231[/C][C]1058393.94387125[/C][C]-577162.94387125[/C][/ROW]
[ROW][C]49[/C][C]469107[/C][C]261538.268236057[/C][C]207568.731763943[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104963&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104963&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
162829295240511.296784471042417.70321553
243240471312782.171228473011264.82877153
341082723105341.078879871002930.92112013
4-12126171414296.42009068-2626913.42009068
514853292164423.20527414-679094.205274138
617798762036085.74822804-256209.748228038
713672031169952.19869525197250.801304752
825190762434179.6169938484896.383006163
99126841387765.89432226-475081.894322265
101443586808504.783524156635081.216475844
1112200171432139.97834362-212122.978343617
1298488558248.9711792924926636.028820708
131457425582255.667484544875169.332515456
14-572920729125.220527678-1302045.22052768
159291441247902.52918286-318758.529182862
161151176457423.723576184693752.276423816
177900901199739.74314781-409649.743147815
187744971257583.77805814-483086.778058139
199905761273553.51330853-282977.513308526
20454195571763.749324438-117568.749324438
21876607911058.40629959-34451.4062995899
227119691128453.52094796-416484.520947956
23702380699874.8285954422505.17140455813
24264449500548.842538917-236099.842538917
25450033380234.81945944369798.1805405567
26541063221579.483426094319483.516573906
275888641187573.35948637-598709.359486366
28-37216-65915.417601854528699.4176018545
29783310-124038.622044060907348.62204406
30467359100246.352931555367112.647068445
31688779704244.134134435-15465.1341344350
326084191010264.02817151-401845.028171514
33696348748354.122308335-52006.1223083347
34597793811265.176181658-213472.176181658
358217301154772.94885707-333042.948857067
36377934489779.752529279-111845.752529279
37651939217087.58491888434851.41508112
38697458885065.392149662-187607.392149662
397003681234162.08534717-533794.085347173
4022598614454.0938063610211531.906193639
41348695334000.38023190514694.6197680950
42373683343506.21164296630176.7883570342
4350170996820.1978022888404888.802197711
44413743285587.325254383128155.674745617
45379825-25009.0554696691404834.055469669
46336260789241.854339624-452981.854339624
476367651309336.69349311-672571.693493115
484812311058393.94387125-577162.94387125
49469107261538.268236057207568.731763943







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.999997765522024.46895596018079e-062.23447798009039e-06
90.9999999971046945.79061141253223e-092.89530570626611e-09
100.9999999978336574.33268589712414e-092.16634294856207e-09
110.9999999978101774.37964600785177e-092.18982300392588e-09
120.9999999998523272.95345996691483e-101.47672998345741e-10
130.9999999999837043.25922187753303e-111.62961093876652e-11
140.9999999999999715.76174671813783e-142.88087335906892e-14
150.999999999999983.88583823724936e-141.94291911862468e-14
1611.16482526544679e-155.82412632723397e-16
170.9999999999999975.21714082293867e-152.60857041146933e-15
180.9999999999999921.53111720049049e-147.65558600245243e-15
190.9999999999999843.19786807605004e-141.59893403802502e-14
200.999999999999892.18734511392418e-131.09367255696209e-13
210.999999999999813.80806001867231e-131.90403000933615e-13
220.9999999999991471.7057508495589e-128.5287542477945e-13
230.9999999999961037.79313730849583e-123.89656865424791e-12
240.9999999999851182.97633028648754e-111.48816514324377e-11
250.9999999999143371.71325549419838e-108.5662774709919e-11
260.9999999996314467.37107824852936e-103.68553912426468e-10
270.999999998439263.12148166031589e-091.56074083015795e-09
280.9999999996409037.18194955130118e-103.59097477565059e-10
290.9999999999217181.56563171009302e-107.82815855046509e-11
300.999999999646797.06419283817127e-103.53209641908564e-10
310.9999999984915133.01697368991477e-091.50848684495739e-09
320.999999990144431.97111400926475e-089.85557004632377e-09
330.9999999746187755.07624498408896e-082.53812249204448e-08
340.9999998563537482.87292503126202e-071.43646251563101e-07
350.9999990098581871.98028362498962e-069.9014181249481e-07
360.9999946593296961.06813406085621e-055.34067030428106e-06
370.9999919561911671.60876176657871e-058.04380883289354e-06
380.9999938117152111.23765695774905e-056.18828478874526e-06
390.9999600940486587.9811902684315e-053.99059513421575e-05
400.999895133820350.000209732359298990.000104866179649495
410.9998089448519180.00038211029616380.0001910551480819

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.99999776552202 & 4.46895596018079e-06 & 2.23447798009039e-06 \tabularnewline
9 & 0.999999997104694 & 5.79061141253223e-09 & 2.89530570626611e-09 \tabularnewline
10 & 0.999999997833657 & 4.33268589712414e-09 & 2.16634294856207e-09 \tabularnewline
11 & 0.999999997810177 & 4.37964600785177e-09 & 2.18982300392588e-09 \tabularnewline
12 & 0.999999999852327 & 2.95345996691483e-10 & 1.47672998345741e-10 \tabularnewline
13 & 0.999999999983704 & 3.25922187753303e-11 & 1.62961093876652e-11 \tabularnewline
14 & 0.999999999999971 & 5.76174671813783e-14 & 2.88087335906892e-14 \tabularnewline
15 & 0.99999999999998 & 3.88583823724936e-14 & 1.94291911862468e-14 \tabularnewline
16 & 1 & 1.16482526544679e-15 & 5.82412632723397e-16 \tabularnewline
17 & 0.999999999999997 & 5.21714082293867e-15 & 2.60857041146933e-15 \tabularnewline
18 & 0.999999999999992 & 1.53111720049049e-14 & 7.65558600245243e-15 \tabularnewline
19 & 0.999999999999984 & 3.19786807605004e-14 & 1.59893403802502e-14 \tabularnewline
20 & 0.99999999999989 & 2.18734511392418e-13 & 1.09367255696209e-13 \tabularnewline
21 & 0.99999999999981 & 3.80806001867231e-13 & 1.90403000933615e-13 \tabularnewline
22 & 0.999999999999147 & 1.7057508495589e-12 & 8.5287542477945e-13 \tabularnewline
23 & 0.999999999996103 & 7.79313730849583e-12 & 3.89656865424791e-12 \tabularnewline
24 & 0.999999999985118 & 2.97633028648754e-11 & 1.48816514324377e-11 \tabularnewline
25 & 0.999999999914337 & 1.71325549419838e-10 & 8.5662774709919e-11 \tabularnewline
26 & 0.999999999631446 & 7.37107824852936e-10 & 3.68553912426468e-10 \tabularnewline
27 & 0.99999999843926 & 3.12148166031589e-09 & 1.56074083015795e-09 \tabularnewline
28 & 0.999999999640903 & 7.18194955130118e-10 & 3.59097477565059e-10 \tabularnewline
29 & 0.999999999921718 & 1.56563171009302e-10 & 7.82815855046509e-11 \tabularnewline
30 & 0.99999999964679 & 7.06419283817127e-10 & 3.53209641908564e-10 \tabularnewline
31 & 0.999999998491513 & 3.01697368991477e-09 & 1.50848684495739e-09 \tabularnewline
32 & 0.99999999014443 & 1.97111400926475e-08 & 9.85557004632377e-09 \tabularnewline
33 & 0.999999974618775 & 5.07624498408896e-08 & 2.53812249204448e-08 \tabularnewline
34 & 0.999999856353748 & 2.87292503126202e-07 & 1.43646251563101e-07 \tabularnewline
35 & 0.999999009858187 & 1.98028362498962e-06 & 9.9014181249481e-07 \tabularnewline
36 & 0.999994659329696 & 1.06813406085621e-05 & 5.34067030428106e-06 \tabularnewline
37 & 0.999991956191167 & 1.60876176657871e-05 & 8.04380883289354e-06 \tabularnewline
38 & 0.999993811715211 & 1.23765695774905e-05 & 6.18828478874526e-06 \tabularnewline
39 & 0.999960094048658 & 7.9811902684315e-05 & 3.99059513421575e-05 \tabularnewline
40 & 0.99989513382035 & 0.00020973235929899 & 0.000104866179649495 \tabularnewline
41 & 0.999808944851918 & 0.0003821102961638 & 0.0001910551480819 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104963&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.99999776552202[/C][C]4.46895596018079e-06[/C][C]2.23447798009039e-06[/C][/ROW]
[ROW][C]9[/C][C]0.999999997104694[/C][C]5.79061141253223e-09[/C][C]2.89530570626611e-09[/C][/ROW]
[ROW][C]10[/C][C]0.999999997833657[/C][C]4.33268589712414e-09[/C][C]2.16634294856207e-09[/C][/ROW]
[ROW][C]11[/C][C]0.999999997810177[/C][C]4.37964600785177e-09[/C][C]2.18982300392588e-09[/C][/ROW]
[ROW][C]12[/C][C]0.999999999852327[/C][C]2.95345996691483e-10[/C][C]1.47672998345741e-10[/C][/ROW]
[ROW][C]13[/C][C]0.999999999983704[/C][C]3.25922187753303e-11[/C][C]1.62961093876652e-11[/C][/ROW]
[ROW][C]14[/C][C]0.999999999999971[/C][C]5.76174671813783e-14[/C][C]2.88087335906892e-14[/C][/ROW]
[ROW][C]15[/C][C]0.99999999999998[/C][C]3.88583823724936e-14[/C][C]1.94291911862468e-14[/C][/ROW]
[ROW][C]16[/C][C]1[/C][C]1.16482526544679e-15[/C][C]5.82412632723397e-16[/C][/ROW]
[ROW][C]17[/C][C]0.999999999999997[/C][C]5.21714082293867e-15[/C][C]2.60857041146933e-15[/C][/ROW]
[ROW][C]18[/C][C]0.999999999999992[/C][C]1.53111720049049e-14[/C][C]7.65558600245243e-15[/C][/ROW]
[ROW][C]19[/C][C]0.999999999999984[/C][C]3.19786807605004e-14[/C][C]1.59893403802502e-14[/C][/ROW]
[ROW][C]20[/C][C]0.99999999999989[/C][C]2.18734511392418e-13[/C][C]1.09367255696209e-13[/C][/ROW]
[ROW][C]21[/C][C]0.99999999999981[/C][C]3.80806001867231e-13[/C][C]1.90403000933615e-13[/C][/ROW]
[ROW][C]22[/C][C]0.999999999999147[/C][C]1.7057508495589e-12[/C][C]8.5287542477945e-13[/C][/ROW]
[ROW][C]23[/C][C]0.999999999996103[/C][C]7.79313730849583e-12[/C][C]3.89656865424791e-12[/C][/ROW]
[ROW][C]24[/C][C]0.999999999985118[/C][C]2.97633028648754e-11[/C][C]1.48816514324377e-11[/C][/ROW]
[ROW][C]25[/C][C]0.999999999914337[/C][C]1.71325549419838e-10[/C][C]8.5662774709919e-11[/C][/ROW]
[ROW][C]26[/C][C]0.999999999631446[/C][C]7.37107824852936e-10[/C][C]3.68553912426468e-10[/C][/ROW]
[ROW][C]27[/C][C]0.99999999843926[/C][C]3.12148166031589e-09[/C][C]1.56074083015795e-09[/C][/ROW]
[ROW][C]28[/C][C]0.999999999640903[/C][C]7.18194955130118e-10[/C][C]3.59097477565059e-10[/C][/ROW]
[ROW][C]29[/C][C]0.999999999921718[/C][C]1.56563171009302e-10[/C][C]7.82815855046509e-11[/C][/ROW]
[ROW][C]30[/C][C]0.99999999964679[/C][C]7.06419283817127e-10[/C][C]3.53209641908564e-10[/C][/ROW]
[ROW][C]31[/C][C]0.999999998491513[/C][C]3.01697368991477e-09[/C][C]1.50848684495739e-09[/C][/ROW]
[ROW][C]32[/C][C]0.99999999014443[/C][C]1.97111400926475e-08[/C][C]9.85557004632377e-09[/C][/ROW]
[ROW][C]33[/C][C]0.999999974618775[/C][C]5.07624498408896e-08[/C][C]2.53812249204448e-08[/C][/ROW]
[ROW][C]34[/C][C]0.999999856353748[/C][C]2.87292503126202e-07[/C][C]1.43646251563101e-07[/C][/ROW]
[ROW][C]35[/C][C]0.999999009858187[/C][C]1.98028362498962e-06[/C][C]9.9014181249481e-07[/C][/ROW]
[ROW][C]36[/C][C]0.999994659329696[/C][C]1.06813406085621e-05[/C][C]5.34067030428106e-06[/C][/ROW]
[ROW][C]37[/C][C]0.999991956191167[/C][C]1.60876176657871e-05[/C][C]8.04380883289354e-06[/C][/ROW]
[ROW][C]38[/C][C]0.999993811715211[/C][C]1.23765695774905e-05[/C][C]6.18828478874526e-06[/C][/ROW]
[ROW][C]39[/C][C]0.999960094048658[/C][C]7.9811902684315e-05[/C][C]3.99059513421575e-05[/C][/ROW]
[ROW][C]40[/C][C]0.99989513382035[/C][C]0.00020973235929899[/C][C]0.000104866179649495[/C][/ROW]
[ROW][C]41[/C][C]0.999808944851918[/C][C]0.0003821102961638[/C][C]0.0001910551480819[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104963&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104963&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.999997765522024.46895596018079e-062.23447798009039e-06
90.9999999971046945.79061141253223e-092.89530570626611e-09
100.9999999978336574.33268589712414e-092.16634294856207e-09
110.9999999978101774.37964600785177e-092.18982300392588e-09
120.9999999998523272.95345996691483e-101.47672998345741e-10
130.9999999999837043.25922187753303e-111.62961093876652e-11
140.9999999999999715.76174671813783e-142.88087335906892e-14
150.999999999999983.88583823724936e-141.94291911862468e-14
1611.16482526544679e-155.82412632723397e-16
170.9999999999999975.21714082293867e-152.60857041146933e-15
180.9999999999999921.53111720049049e-147.65558600245243e-15
190.9999999999999843.19786807605004e-141.59893403802502e-14
200.999999999999892.18734511392418e-131.09367255696209e-13
210.999999999999813.80806001867231e-131.90403000933615e-13
220.9999999999991471.7057508495589e-128.5287542477945e-13
230.9999999999961037.79313730849583e-123.89656865424791e-12
240.9999999999851182.97633028648754e-111.48816514324377e-11
250.9999999999143371.71325549419838e-108.5662774709919e-11
260.9999999996314467.37107824852936e-103.68553912426468e-10
270.999999998439263.12148166031589e-091.56074083015795e-09
280.9999999996409037.18194955130118e-103.59097477565059e-10
290.9999999999217181.56563171009302e-107.82815855046509e-11
300.999999999646797.06419283817127e-103.53209641908564e-10
310.9999999984915133.01697368991477e-091.50848684495739e-09
320.999999990144431.97111400926475e-089.85557004632377e-09
330.9999999746187755.07624498408896e-082.53812249204448e-08
340.9999998563537482.87292503126202e-071.43646251563101e-07
350.9999990098581871.98028362498962e-069.9014181249481e-07
360.9999946593296961.06813406085621e-055.34067030428106e-06
370.9999919561911671.60876176657871e-058.04380883289354e-06
380.9999938117152111.23765695774905e-056.18828478874526e-06
390.9999600940486587.9811902684315e-053.99059513421575e-05
400.999895133820350.000209732359298990.000104866179649495
410.9998089448519180.00038211029616380.0001910551480819







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 34 & 1 & NOK \tabularnewline
5% type I error level & 34 & 1 & NOK \tabularnewline
10% type I error level & 34 & 1 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104963&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]34[/C][C]1[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]34[/C][C]1[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]34[/C][C]1[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104963&T=6

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

As an alternative you can also use a QR Code:  

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

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



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