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 computationMon, 23 Nov 2009 10:09:30 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/23/t1258996269s7y220nn9u07udg.htm/, Retrieved Fri, 03 May 2024 13:47:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58826, Retrieved Fri, 03 May 2024 13:47:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKVN WS7
Estimated Impact198
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:10:54] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [Workshop 7: Multi...] [2009-11-19 18:53:44] [1433a524809eda02c3198b3ae6eebb69]
-    D      [Multiple Regression] [Multiple Regressi...] [2009-11-23 16:53:34] [1b4c3bbe3f2ba180dd536c5a6a81a8e6]
-    D          [Multiple Regression] [Multiple Regressi...] [2009-11-23 17:09:30] [f1100e00818182135823a11ccbd0f3b9] [Current]
-    D            [Multiple Regression] [Multiple Linear r...] [2009-12-14 08:31:37] [1b4c3bbe3f2ba180dd536c5a6a81a8e6]
Feedback Forum

Post a new message
Dataseries X:
9627	2249	8700	9487
8947	2687	9627	8700
9283	4359	8947	9627
8829	5382	9283	8947
9947	4459	8829	9283
9628	6398	9947	8829
9318	4596	9628	9947
9605	3024	9318	9628
8640	1887	9605	9318
9214	2070	8640	9605
9567	1351	9214	8640
8547	2218	9567	9214
9185	2461	8547	9567
9470	3028	9185	8547
9123	4784	9470	9185
9278	4975	9123	9470
10170	4607	9278	9123
9434	6249	10170	9278
9655	4809	9434	10170
9429	3157	9655	9434
8739	1910	9429	9655
9552	2228	8739	9429
9687	1594	9552	8739
9019	2467	9687	9552
9672	2222	9019	9687
9206	3607	9672	9019
9069	4685	9206	9672
9788	4962	9069	9206
10312	5770	9788	9069
10105	5480	10312	9788
9863	5000	10105	10312
9656	3228	9863	10105
9295	1993	9656	9863
9946	2288	9295	9656
9701	1580	9946	9295
9049	2111	9701	9946
10190	2192	9049	9701
9706	3601	10190	9049
9765	4665	9706	10190
9893	4876	9765	9706
9994	5813	9893	9765
10433	5589	9994	9893
10073	5331	10433	9994
10112	3075	10073	10433
9266	2002	10112	10073
9820	2306	9266	10112
10097	1507	9820	9266
9115	1992	10097	9820
10411	2487	9115	10097
9678	3490	10411	9115
10408	4647	9678	10411
10153	5594	10408	9678
10368	5611	10153	10408
10581	5788	10368	10153
10597	6204	10581	10368
10680	3013	10597	10581
9738	1931	10680	10597
9556	2549	9738	10680




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58826&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]3 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=58826&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58826&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 11530.2416951373 -0.259549357501086X[t] -0.0622607723033541Y1[t] -0.229673673228820Y2[t] + 1011.70358259052M1[t] + 688.167517972763M2[t] + 1327.0896144447M3[t] + 1409.30209454738M4[t] + 2010.41806827211M5[t] + 2079.33498696616M6[t] + 1856.22016254202M7[t] + 1246.47376015360M8[t] + 128.215142601614M9[t] + 624.499650722314M10[t] + 521.174273946823M11[t] + 26.4262219167830t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  11530.2416951373 -0.259549357501086X[t] -0.0622607723033541Y1[t] -0.229673673228820Y2[t] +  1011.70358259052M1[t] +  688.167517972763M2[t] +  1327.0896144447M3[t] +  1409.30209454738M4[t] +  2010.41806827211M5[t] +  2079.33498696616M6[t] +  1856.22016254202M7[t] +  1246.47376015360M8[t] +  128.215142601614M9[t] +  624.499650722314M10[t] +  521.174273946823M11[t] +  26.4262219167830t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58826&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  11530.2416951373 -0.259549357501086X[t] -0.0622607723033541Y1[t] -0.229673673228820Y2[t] +  1011.70358259052M1[t] +  688.167517972763M2[t] +  1327.0896144447M3[t] +  1409.30209454738M4[t] +  2010.41806827211M5[t] +  2079.33498696616M6[t] +  1856.22016254202M7[t] +  1246.47376015360M8[t] +  128.215142601614M9[t] +  624.499650722314M10[t] +  521.174273946823M11[t] +  26.4262219167830t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58826&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58826&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
Y[t] = + 11530.2416951373 -0.259549357501086X[t] -0.0622607723033541Y1[t] -0.229673673228820Y2[t] + 1011.70358259052M1[t] + 688.167517972763M2[t] + 1327.0896144447M3[t] + 1409.30209454738M4[t] + 2010.41806827211M5[t] + 2079.33498696616M6[t] + 1856.22016254202M7[t] + 1246.47376015360M8[t] + 128.215142601614M9[t] + 624.499650722314M10[t] + 521.174273946823M11[t] + 26.4262219167830t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)11530.24169513732073.6805955.56032e-061e-06
X-0.2595493575010860.123969-2.09370.0423660.021183
Y1-0.06226077230335410.164574-0.37830.7071020.353551
Y2-0.2296736732288200.163221-1.40710.1667440.083372
M11011.70358259052210.5421694.80522e-051e-05
M2688.167517972763204.7374383.36120.0016620.000831
M31327.0896144447375.7598113.53170.0010180.000509
M41409.30209454738402.2971243.50310.0011060.000553
M52010.41806827211414.8982014.84561.8e-059e-06
M62079.33498696616462.4448824.49645.4e-052.7e-05
M71856.22016254202424.9821234.36788e-054e-05
M81246.47376015360208.3612485.982300
M9128.215142601614160.6006430.79830.429160.21458
M10624.499650722314199.2261353.13460.0031360.001568
M11521.174273946823223.2582112.33440.0244310.012215
t26.42622191678304.7644745.54652e-061e-06

\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) & 11530.2416951373 & 2073.680595 & 5.5603 & 2e-06 & 1e-06 \tabularnewline
X & -0.259549357501086 & 0.123969 & -2.0937 & 0.042366 & 0.021183 \tabularnewline
Y1 & -0.0622607723033541 & 0.164574 & -0.3783 & 0.707102 & 0.353551 \tabularnewline
Y2 & -0.229673673228820 & 0.163221 & -1.4071 & 0.166744 & 0.083372 \tabularnewline
M1 & 1011.70358259052 & 210.542169 & 4.8052 & 2e-05 & 1e-05 \tabularnewline
M2 & 688.167517972763 & 204.737438 & 3.3612 & 0.001662 & 0.000831 \tabularnewline
M3 & 1327.0896144447 & 375.759811 & 3.5317 & 0.001018 & 0.000509 \tabularnewline
M4 & 1409.30209454738 & 402.297124 & 3.5031 & 0.001106 & 0.000553 \tabularnewline
M5 & 2010.41806827211 & 414.898201 & 4.8456 & 1.8e-05 & 9e-06 \tabularnewline
M6 & 2079.33498696616 & 462.444882 & 4.4964 & 5.4e-05 & 2.7e-05 \tabularnewline
M7 & 1856.22016254202 & 424.982123 & 4.3678 & 8e-05 & 4e-05 \tabularnewline
M8 & 1246.47376015360 & 208.361248 & 5.9823 & 0 & 0 \tabularnewline
M9 & 128.215142601614 & 160.600643 & 0.7983 & 0.42916 & 0.21458 \tabularnewline
M10 & 624.499650722314 & 199.226135 & 3.1346 & 0.003136 & 0.001568 \tabularnewline
M11 & 521.174273946823 & 223.258211 & 2.3344 & 0.024431 & 0.012215 \tabularnewline
t & 26.4262219167830 & 4.764474 & 5.5465 & 2e-06 & 1e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58826&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]11530.2416951373[/C][C]2073.680595[/C][C]5.5603[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]X[/C][C]-0.259549357501086[/C][C]0.123969[/C][C]-2.0937[/C][C]0.042366[/C][C]0.021183[/C][/ROW]
[ROW][C]Y1[/C][C]-0.0622607723033541[/C][C]0.164574[/C][C]-0.3783[/C][C]0.707102[/C][C]0.353551[/C][/ROW]
[ROW][C]Y2[/C][C]-0.229673673228820[/C][C]0.163221[/C][C]-1.4071[/C][C]0.166744[/C][C]0.083372[/C][/ROW]
[ROW][C]M1[/C][C]1011.70358259052[/C][C]210.542169[/C][C]4.8052[/C][C]2e-05[/C][C]1e-05[/C][/ROW]
[ROW][C]M2[/C][C]688.167517972763[/C][C]204.737438[/C][C]3.3612[/C][C]0.001662[/C][C]0.000831[/C][/ROW]
[ROW][C]M3[/C][C]1327.0896144447[/C][C]375.759811[/C][C]3.5317[/C][C]0.001018[/C][C]0.000509[/C][/ROW]
[ROW][C]M4[/C][C]1409.30209454738[/C][C]402.297124[/C][C]3.5031[/C][C]0.001106[/C][C]0.000553[/C][/ROW]
[ROW][C]M5[/C][C]2010.41806827211[/C][C]414.898201[/C][C]4.8456[/C][C]1.8e-05[/C][C]9e-06[/C][/ROW]
[ROW][C]M6[/C][C]2079.33498696616[/C][C]462.444882[/C][C]4.4964[/C][C]5.4e-05[/C][C]2.7e-05[/C][/ROW]
[ROW][C]M7[/C][C]1856.22016254202[/C][C]424.982123[/C][C]4.3678[/C][C]8e-05[/C][C]4e-05[/C][/ROW]
[ROW][C]M8[/C][C]1246.47376015360[/C][C]208.361248[/C][C]5.9823[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]128.215142601614[/C][C]160.600643[/C][C]0.7983[/C][C]0.42916[/C][C]0.21458[/C][/ROW]
[ROW][C]M10[/C][C]624.499650722314[/C][C]199.226135[/C][C]3.1346[/C][C]0.003136[/C][C]0.001568[/C][/ROW]
[ROW][C]M11[/C][C]521.174273946823[/C][C]223.258211[/C][C]2.3344[/C][C]0.024431[/C][C]0.012215[/C][/ROW]
[ROW][C]t[/C][C]26.4262219167830[/C][C]4.764474[/C][C]5.5465[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58826&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58826&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)11530.24169513732073.6805955.56032e-061e-06
X-0.2595493575010860.123969-2.09370.0423660.021183
Y1-0.06226077230335410.164574-0.37830.7071020.353551
Y2-0.2296736732288200.163221-1.40710.1667440.083372
M11011.70358259052210.5421694.80522e-051e-05
M2688.167517972763204.7374383.36120.0016620.000831
M31327.0896144447375.7598113.53170.0010180.000509
M41409.30209454738402.2971243.50310.0011060.000553
M52010.41806827211414.8982014.84561.8e-059e-06
M62079.33498696616462.4448824.49645.4e-052.7e-05
M71856.22016254202424.9821234.36788e-054e-05
M81246.47376015360208.3612485.982300
M9128.215142601614160.6006430.79830.429160.21458
M10624.499650722314199.2261353.13460.0031360.001568
M11521.174273946823223.2582112.33440.0244310.012215
t26.42622191678304.7644745.54652e-061e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.922374588345396
R-squared0.850774881225338
Adjusted R-squared0.797480195948673
F-TEST (value)15.9635970605468
F-TEST (DF numerator)15
F-TEST (DF denominator)42
p-value9.89652804150865e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation230.419594494323
Sum Squared Residuals2229913.96013099

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.922374588345396 \tabularnewline
R-squared & 0.850774881225338 \tabularnewline
Adjusted R-squared & 0.797480195948673 \tabularnewline
F-TEST (value) & 15.9635970605468 \tabularnewline
F-TEST (DF numerator) & 15 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 9.89652804150865e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 230.419594494323 \tabularnewline
Sum Squared Residuals & 2229913.96013099 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58826&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.922374588345396[/C][/ROW]
[ROW][C]R-squared[/C][C]0.850774881225338[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.797480195948673[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]15.9635970605468[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]15[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/C][/ROW]
[ROW][C]p-value[/C][C]9.89652804150865e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]230.419594494323[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2229913.96013099[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58826&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58826&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.922374588345396
R-squared0.850774881225338
Adjusted R-squared0.797480195948673
F-TEST (value)15.9635970605468
F-TEST (DF numerator)15
F-TEST (DF denominator)42
p-value9.89652804150865e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation230.419594494323
Sum Squared Residuals2229913.96013099







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
196279264.06213766365362.937862336351
289478976.30712128305-29.307121283052
392839037.11874401312245.881255986878
488299015.49693161065-186.496931610649
599479833.6992206465113.300779353496
696289460.44046127346167.559538726542
793189494.5458206780-176.545820678007
896059411.8039713721193.196028627890
986408668.40919226552-28.4091922655165
1092149137.7876909363776.212309063633
1195679433.40193548463133.598064515374
1285478559.81384944472-12.8138494447178
1391859517.3043411789-332.304341178906
1494709267.57478673867202.425213261329
1591239312.87830972904-189.878309729039
1692789328.09057558485-50.0905755848496
171017010121.193279690148.8067203098561
1894349699.22034703913-265.220347039127
1996559717.2378312285-62.2378312284959
2094299717.97338216602-288.973382166024
2187398913.11208809167-174.112088091666
2295529448.15230548283103.847694517169
2396879643.6642699250743.3357300749297
2490198727.1997282006291.800271799402
2596729839.50337530842-167.503375308419
2692069295.6834018712-89.6834018712014
2790699560.2741241487-491.274124148692
2897889712.5753116705575.4246883294507
291031210117.1014243974194.898575602578
301010510089.953862945115.0461370549167
3198639910.38792713314-47.387927133141
3296569849.5987654092-193.598765409206
3392959146.77883507601148.221164923985
3499469662.94109381055283.058906189446
3597019812.18331732874-111.183317328735
3690499045.350884407983.64911559202179
371019010159.321264440530.6787355594572
3897069575.2140707676130.785929232399
3997659732.478425415932.5215745840966
4098939893.8408852795-0.840885279493136
41999410256.6652073672-262.665207367159
421043310374.460835882358.5391641176993
431007310194.2064475729-121.206447572942
441011210118.0167531055-6.01675310550995
4592669384.93517031152-118.935170311519
4698209872.45823578139-52.4582357813851
471009710162.7504772616-65.7504772615684
4891159397.6355379467-282.635537946706
491041110304.8088814085106.191118591516
5096789892.22061933947-214.220619339474
511040810005.2503966932402.749603306757
52101539990.99629585446162.003704145541
531036810462.3408678988-94.3408678987702
541058110556.924492860024.0755071399683
551059710189.6219733874407.378026612586
561068010384.6071279471295.392872052850
5797389564.76471425528173.235285744716
5895569966.66067398886-410.660673988863

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9627 & 9264.06213766365 & 362.937862336351 \tabularnewline
2 & 8947 & 8976.30712128305 & -29.307121283052 \tabularnewline
3 & 9283 & 9037.11874401312 & 245.881255986878 \tabularnewline
4 & 8829 & 9015.49693161065 & -186.496931610649 \tabularnewline
5 & 9947 & 9833.6992206465 & 113.300779353496 \tabularnewline
6 & 9628 & 9460.44046127346 & 167.559538726542 \tabularnewline
7 & 9318 & 9494.5458206780 & -176.545820678007 \tabularnewline
8 & 9605 & 9411.8039713721 & 193.196028627890 \tabularnewline
9 & 8640 & 8668.40919226552 & -28.4091922655165 \tabularnewline
10 & 9214 & 9137.78769093637 & 76.212309063633 \tabularnewline
11 & 9567 & 9433.40193548463 & 133.598064515374 \tabularnewline
12 & 8547 & 8559.81384944472 & -12.8138494447178 \tabularnewline
13 & 9185 & 9517.3043411789 & -332.304341178906 \tabularnewline
14 & 9470 & 9267.57478673867 & 202.425213261329 \tabularnewline
15 & 9123 & 9312.87830972904 & -189.878309729039 \tabularnewline
16 & 9278 & 9328.09057558485 & -50.0905755848496 \tabularnewline
17 & 10170 & 10121.1932796901 & 48.8067203098561 \tabularnewline
18 & 9434 & 9699.22034703913 & -265.220347039127 \tabularnewline
19 & 9655 & 9717.2378312285 & -62.2378312284959 \tabularnewline
20 & 9429 & 9717.97338216602 & -288.973382166024 \tabularnewline
21 & 8739 & 8913.11208809167 & -174.112088091666 \tabularnewline
22 & 9552 & 9448.15230548283 & 103.847694517169 \tabularnewline
23 & 9687 & 9643.66426992507 & 43.3357300749297 \tabularnewline
24 & 9019 & 8727.1997282006 & 291.800271799402 \tabularnewline
25 & 9672 & 9839.50337530842 & -167.503375308419 \tabularnewline
26 & 9206 & 9295.6834018712 & -89.6834018712014 \tabularnewline
27 & 9069 & 9560.2741241487 & -491.274124148692 \tabularnewline
28 & 9788 & 9712.57531167055 & 75.4246883294507 \tabularnewline
29 & 10312 & 10117.1014243974 & 194.898575602578 \tabularnewline
30 & 10105 & 10089.9538629451 & 15.0461370549167 \tabularnewline
31 & 9863 & 9910.38792713314 & -47.387927133141 \tabularnewline
32 & 9656 & 9849.5987654092 & -193.598765409206 \tabularnewline
33 & 9295 & 9146.77883507601 & 148.221164923985 \tabularnewline
34 & 9946 & 9662.94109381055 & 283.058906189446 \tabularnewline
35 & 9701 & 9812.18331732874 & -111.183317328735 \tabularnewline
36 & 9049 & 9045.35088440798 & 3.64911559202179 \tabularnewline
37 & 10190 & 10159.3212644405 & 30.6787355594572 \tabularnewline
38 & 9706 & 9575.2140707676 & 130.785929232399 \tabularnewline
39 & 9765 & 9732.4784254159 & 32.5215745840966 \tabularnewline
40 & 9893 & 9893.8408852795 & -0.840885279493136 \tabularnewline
41 & 9994 & 10256.6652073672 & -262.665207367159 \tabularnewline
42 & 10433 & 10374.4608358823 & 58.5391641176993 \tabularnewline
43 & 10073 & 10194.2064475729 & -121.206447572942 \tabularnewline
44 & 10112 & 10118.0167531055 & -6.01675310550995 \tabularnewline
45 & 9266 & 9384.93517031152 & -118.935170311519 \tabularnewline
46 & 9820 & 9872.45823578139 & -52.4582357813851 \tabularnewline
47 & 10097 & 10162.7504772616 & -65.7504772615684 \tabularnewline
48 & 9115 & 9397.6355379467 & -282.635537946706 \tabularnewline
49 & 10411 & 10304.8088814085 & 106.191118591516 \tabularnewline
50 & 9678 & 9892.22061933947 & -214.220619339474 \tabularnewline
51 & 10408 & 10005.2503966932 & 402.749603306757 \tabularnewline
52 & 10153 & 9990.99629585446 & 162.003704145541 \tabularnewline
53 & 10368 & 10462.3408678988 & -94.3408678987702 \tabularnewline
54 & 10581 & 10556.9244928600 & 24.0755071399683 \tabularnewline
55 & 10597 & 10189.6219733874 & 407.378026612586 \tabularnewline
56 & 10680 & 10384.6071279471 & 295.392872052850 \tabularnewline
57 & 9738 & 9564.76471425528 & 173.235285744716 \tabularnewline
58 & 9556 & 9966.66067398886 & -410.660673988863 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58826&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]9627[/C][C]9264.06213766365[/C][C]362.937862336351[/C][/ROW]
[ROW][C]2[/C][C]8947[/C][C]8976.30712128305[/C][C]-29.307121283052[/C][/ROW]
[ROW][C]3[/C][C]9283[/C][C]9037.11874401312[/C][C]245.881255986878[/C][/ROW]
[ROW][C]4[/C][C]8829[/C][C]9015.49693161065[/C][C]-186.496931610649[/C][/ROW]
[ROW][C]5[/C][C]9947[/C][C]9833.6992206465[/C][C]113.300779353496[/C][/ROW]
[ROW][C]6[/C][C]9628[/C][C]9460.44046127346[/C][C]167.559538726542[/C][/ROW]
[ROW][C]7[/C][C]9318[/C][C]9494.5458206780[/C][C]-176.545820678007[/C][/ROW]
[ROW][C]8[/C][C]9605[/C][C]9411.8039713721[/C][C]193.196028627890[/C][/ROW]
[ROW][C]9[/C][C]8640[/C][C]8668.40919226552[/C][C]-28.4091922655165[/C][/ROW]
[ROW][C]10[/C][C]9214[/C][C]9137.78769093637[/C][C]76.212309063633[/C][/ROW]
[ROW][C]11[/C][C]9567[/C][C]9433.40193548463[/C][C]133.598064515374[/C][/ROW]
[ROW][C]12[/C][C]8547[/C][C]8559.81384944472[/C][C]-12.8138494447178[/C][/ROW]
[ROW][C]13[/C][C]9185[/C][C]9517.3043411789[/C][C]-332.304341178906[/C][/ROW]
[ROW][C]14[/C][C]9470[/C][C]9267.57478673867[/C][C]202.425213261329[/C][/ROW]
[ROW][C]15[/C][C]9123[/C][C]9312.87830972904[/C][C]-189.878309729039[/C][/ROW]
[ROW][C]16[/C][C]9278[/C][C]9328.09057558485[/C][C]-50.0905755848496[/C][/ROW]
[ROW][C]17[/C][C]10170[/C][C]10121.1932796901[/C][C]48.8067203098561[/C][/ROW]
[ROW][C]18[/C][C]9434[/C][C]9699.22034703913[/C][C]-265.220347039127[/C][/ROW]
[ROW][C]19[/C][C]9655[/C][C]9717.2378312285[/C][C]-62.2378312284959[/C][/ROW]
[ROW][C]20[/C][C]9429[/C][C]9717.97338216602[/C][C]-288.973382166024[/C][/ROW]
[ROW][C]21[/C][C]8739[/C][C]8913.11208809167[/C][C]-174.112088091666[/C][/ROW]
[ROW][C]22[/C][C]9552[/C][C]9448.15230548283[/C][C]103.847694517169[/C][/ROW]
[ROW][C]23[/C][C]9687[/C][C]9643.66426992507[/C][C]43.3357300749297[/C][/ROW]
[ROW][C]24[/C][C]9019[/C][C]8727.1997282006[/C][C]291.800271799402[/C][/ROW]
[ROW][C]25[/C][C]9672[/C][C]9839.50337530842[/C][C]-167.503375308419[/C][/ROW]
[ROW][C]26[/C][C]9206[/C][C]9295.6834018712[/C][C]-89.6834018712014[/C][/ROW]
[ROW][C]27[/C][C]9069[/C][C]9560.2741241487[/C][C]-491.274124148692[/C][/ROW]
[ROW][C]28[/C][C]9788[/C][C]9712.57531167055[/C][C]75.4246883294507[/C][/ROW]
[ROW][C]29[/C][C]10312[/C][C]10117.1014243974[/C][C]194.898575602578[/C][/ROW]
[ROW][C]30[/C][C]10105[/C][C]10089.9538629451[/C][C]15.0461370549167[/C][/ROW]
[ROW][C]31[/C][C]9863[/C][C]9910.38792713314[/C][C]-47.387927133141[/C][/ROW]
[ROW][C]32[/C][C]9656[/C][C]9849.5987654092[/C][C]-193.598765409206[/C][/ROW]
[ROW][C]33[/C][C]9295[/C][C]9146.77883507601[/C][C]148.221164923985[/C][/ROW]
[ROW][C]34[/C][C]9946[/C][C]9662.94109381055[/C][C]283.058906189446[/C][/ROW]
[ROW][C]35[/C][C]9701[/C][C]9812.18331732874[/C][C]-111.183317328735[/C][/ROW]
[ROW][C]36[/C][C]9049[/C][C]9045.35088440798[/C][C]3.64911559202179[/C][/ROW]
[ROW][C]37[/C][C]10190[/C][C]10159.3212644405[/C][C]30.6787355594572[/C][/ROW]
[ROW][C]38[/C][C]9706[/C][C]9575.2140707676[/C][C]130.785929232399[/C][/ROW]
[ROW][C]39[/C][C]9765[/C][C]9732.4784254159[/C][C]32.5215745840966[/C][/ROW]
[ROW][C]40[/C][C]9893[/C][C]9893.8408852795[/C][C]-0.840885279493136[/C][/ROW]
[ROW][C]41[/C][C]9994[/C][C]10256.6652073672[/C][C]-262.665207367159[/C][/ROW]
[ROW][C]42[/C][C]10433[/C][C]10374.4608358823[/C][C]58.5391641176993[/C][/ROW]
[ROW][C]43[/C][C]10073[/C][C]10194.2064475729[/C][C]-121.206447572942[/C][/ROW]
[ROW][C]44[/C][C]10112[/C][C]10118.0167531055[/C][C]-6.01675310550995[/C][/ROW]
[ROW][C]45[/C][C]9266[/C][C]9384.93517031152[/C][C]-118.935170311519[/C][/ROW]
[ROW][C]46[/C][C]9820[/C][C]9872.45823578139[/C][C]-52.4582357813851[/C][/ROW]
[ROW][C]47[/C][C]10097[/C][C]10162.7504772616[/C][C]-65.7504772615684[/C][/ROW]
[ROW][C]48[/C][C]9115[/C][C]9397.6355379467[/C][C]-282.635537946706[/C][/ROW]
[ROW][C]49[/C][C]10411[/C][C]10304.8088814085[/C][C]106.191118591516[/C][/ROW]
[ROW][C]50[/C][C]9678[/C][C]9892.22061933947[/C][C]-214.220619339474[/C][/ROW]
[ROW][C]51[/C][C]10408[/C][C]10005.2503966932[/C][C]402.749603306757[/C][/ROW]
[ROW][C]52[/C][C]10153[/C][C]9990.99629585446[/C][C]162.003704145541[/C][/ROW]
[ROW][C]53[/C][C]10368[/C][C]10462.3408678988[/C][C]-94.3408678987702[/C][/ROW]
[ROW][C]54[/C][C]10581[/C][C]10556.9244928600[/C][C]24.0755071399683[/C][/ROW]
[ROW][C]55[/C][C]10597[/C][C]10189.6219733874[/C][C]407.378026612586[/C][/ROW]
[ROW][C]56[/C][C]10680[/C][C]10384.6071279471[/C][C]295.392872052850[/C][/ROW]
[ROW][C]57[/C][C]9738[/C][C]9564.76471425528[/C][C]173.235285744716[/C][/ROW]
[ROW][C]58[/C][C]9556[/C][C]9966.66067398886[/C][C]-410.660673988863[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58826&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58826&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
196279264.06213766365362.937862336351
289478976.30712128305-29.307121283052
392839037.11874401312245.881255986878
488299015.49693161065-186.496931610649
599479833.6992206465113.300779353496
696289460.44046127346167.559538726542
793189494.5458206780-176.545820678007
896059411.8039713721193.196028627890
986408668.40919226552-28.4091922655165
1092149137.7876909363776.212309063633
1195679433.40193548463133.598064515374
1285478559.81384944472-12.8138494447178
1391859517.3043411789-332.304341178906
1494709267.57478673867202.425213261329
1591239312.87830972904-189.878309729039
1692789328.09057558485-50.0905755848496
171017010121.193279690148.8067203098561
1894349699.22034703913-265.220347039127
1996559717.2378312285-62.2378312284959
2094299717.97338216602-288.973382166024
2187398913.11208809167-174.112088091666
2295529448.15230548283103.847694517169
2396879643.6642699250743.3357300749297
2490198727.1997282006291.800271799402
2596729839.50337530842-167.503375308419
2692069295.6834018712-89.6834018712014
2790699560.2741241487-491.274124148692
2897889712.5753116705575.4246883294507
291031210117.1014243974194.898575602578
301010510089.953862945115.0461370549167
3198639910.38792713314-47.387927133141
3296569849.5987654092-193.598765409206
3392959146.77883507601148.221164923985
3499469662.94109381055283.058906189446
3597019812.18331732874-111.183317328735
3690499045.350884407983.64911559202179
371019010159.321264440530.6787355594572
3897069575.2140707676130.785929232399
3997659732.478425415932.5215745840966
4098939893.8408852795-0.840885279493136
41999410256.6652073672-262.665207367159
421043310374.460835882358.5391641176993
431007310194.2064475729-121.206447572942
441011210118.0167531055-6.01675310550995
4592669384.93517031152-118.935170311519
4698209872.45823578139-52.4582357813851
471009710162.7504772616-65.7504772615684
4891159397.6355379467-282.635537946706
491041110304.8088814085106.191118591516
5096789892.22061933947-214.220619339474
511040810005.2503966932402.749603306757
52101539990.99629585446162.003704145541
531036810462.3408678988-94.3408678987702
541058110556.924492860024.0755071399683
551059710189.6219733874407.378026612586
561068010384.6071279471295.392872052850
5797389564.76471425528173.235285744716
5895569966.66067398886-410.660673988863







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.722605735918370.5547885281632590.277394264081629
200.6658379524820960.6683240950358080.334162047517904
210.5301355180983170.9397289638033650.469864481901683
220.4132348112582890.8264696225165780.586765188741711
230.3863759709324130.7727519418648250.613624029067587
240.4652589302079920.9305178604159840.534741069792008
250.3709137479321480.7418274958642950.629086252067852
260.2669831252728490.5339662505456990.73301687472715
270.5176961859311930.9646076281376140.482303814068807
280.4885149978706350.9770299957412690.511485002129365
290.5102087676124420.9795824647751160.489791232387558
300.4426849841361630.8853699682723270.557315015863837
310.3576849961527880.7153699923055760.642315003847212
320.3671819672002620.7343639344005240.632818032799738
330.3115070373811650.623014074762330.688492962618835
340.5523049815928320.8953900368143360.447695018407168
350.4358953969890860.8717907939781730.564104603010914
360.3496765549195420.6993531098390840.650323445080458
370.2571313168645360.5142626337290710.742868683135465
380.4117793163074120.8235586326148250.588220683692588
390.2882918594696620.5765837189393230.711708140530338

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
19 & 0.72260573591837 & 0.554788528163259 & 0.277394264081629 \tabularnewline
20 & 0.665837952482096 & 0.668324095035808 & 0.334162047517904 \tabularnewline
21 & 0.530135518098317 & 0.939728963803365 & 0.469864481901683 \tabularnewline
22 & 0.413234811258289 & 0.826469622516578 & 0.586765188741711 \tabularnewline
23 & 0.386375970932413 & 0.772751941864825 & 0.613624029067587 \tabularnewline
24 & 0.465258930207992 & 0.930517860415984 & 0.534741069792008 \tabularnewline
25 & 0.370913747932148 & 0.741827495864295 & 0.629086252067852 \tabularnewline
26 & 0.266983125272849 & 0.533966250545699 & 0.73301687472715 \tabularnewline
27 & 0.517696185931193 & 0.964607628137614 & 0.482303814068807 \tabularnewline
28 & 0.488514997870635 & 0.977029995741269 & 0.511485002129365 \tabularnewline
29 & 0.510208767612442 & 0.979582464775116 & 0.489791232387558 \tabularnewline
30 & 0.442684984136163 & 0.885369968272327 & 0.557315015863837 \tabularnewline
31 & 0.357684996152788 & 0.715369992305576 & 0.642315003847212 \tabularnewline
32 & 0.367181967200262 & 0.734363934400524 & 0.632818032799738 \tabularnewline
33 & 0.311507037381165 & 0.62301407476233 & 0.688492962618835 \tabularnewline
34 & 0.552304981592832 & 0.895390036814336 & 0.447695018407168 \tabularnewline
35 & 0.435895396989086 & 0.871790793978173 & 0.564104603010914 \tabularnewline
36 & 0.349676554919542 & 0.699353109839084 & 0.650323445080458 \tabularnewline
37 & 0.257131316864536 & 0.514262633729071 & 0.742868683135465 \tabularnewline
38 & 0.411779316307412 & 0.823558632614825 & 0.588220683692588 \tabularnewline
39 & 0.288291859469662 & 0.576583718939323 & 0.711708140530338 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58826&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]19[/C][C]0.72260573591837[/C][C]0.554788528163259[/C][C]0.277394264081629[/C][/ROW]
[ROW][C]20[/C][C]0.665837952482096[/C][C]0.668324095035808[/C][C]0.334162047517904[/C][/ROW]
[ROW][C]21[/C][C]0.530135518098317[/C][C]0.939728963803365[/C][C]0.469864481901683[/C][/ROW]
[ROW][C]22[/C][C]0.413234811258289[/C][C]0.826469622516578[/C][C]0.586765188741711[/C][/ROW]
[ROW][C]23[/C][C]0.386375970932413[/C][C]0.772751941864825[/C][C]0.613624029067587[/C][/ROW]
[ROW][C]24[/C][C]0.465258930207992[/C][C]0.930517860415984[/C][C]0.534741069792008[/C][/ROW]
[ROW][C]25[/C][C]0.370913747932148[/C][C]0.741827495864295[/C][C]0.629086252067852[/C][/ROW]
[ROW][C]26[/C][C]0.266983125272849[/C][C]0.533966250545699[/C][C]0.73301687472715[/C][/ROW]
[ROW][C]27[/C][C]0.517696185931193[/C][C]0.964607628137614[/C][C]0.482303814068807[/C][/ROW]
[ROW][C]28[/C][C]0.488514997870635[/C][C]0.977029995741269[/C][C]0.511485002129365[/C][/ROW]
[ROW][C]29[/C][C]0.510208767612442[/C][C]0.979582464775116[/C][C]0.489791232387558[/C][/ROW]
[ROW][C]30[/C][C]0.442684984136163[/C][C]0.885369968272327[/C][C]0.557315015863837[/C][/ROW]
[ROW][C]31[/C][C]0.357684996152788[/C][C]0.715369992305576[/C][C]0.642315003847212[/C][/ROW]
[ROW][C]32[/C][C]0.367181967200262[/C][C]0.734363934400524[/C][C]0.632818032799738[/C][/ROW]
[ROW][C]33[/C][C]0.311507037381165[/C][C]0.62301407476233[/C][C]0.688492962618835[/C][/ROW]
[ROW][C]34[/C][C]0.552304981592832[/C][C]0.895390036814336[/C][C]0.447695018407168[/C][/ROW]
[ROW][C]35[/C][C]0.435895396989086[/C][C]0.871790793978173[/C][C]0.564104603010914[/C][/ROW]
[ROW][C]36[/C][C]0.349676554919542[/C][C]0.699353109839084[/C][C]0.650323445080458[/C][/ROW]
[ROW][C]37[/C][C]0.257131316864536[/C][C]0.514262633729071[/C][C]0.742868683135465[/C][/ROW]
[ROW][C]38[/C][C]0.411779316307412[/C][C]0.823558632614825[/C][C]0.588220683692588[/C][/ROW]
[ROW][C]39[/C][C]0.288291859469662[/C][C]0.576583718939323[/C][C]0.711708140530338[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58826&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58826&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
190.722605735918370.5547885281632590.277394264081629
200.6658379524820960.6683240950358080.334162047517904
210.5301355180983170.9397289638033650.469864481901683
220.4132348112582890.8264696225165780.586765188741711
230.3863759709324130.7727519418648250.613624029067587
240.4652589302079920.9305178604159840.534741069792008
250.3709137479321480.7418274958642950.629086252067852
260.2669831252728490.5339662505456990.73301687472715
270.5176961859311930.9646076281376140.482303814068807
280.4885149978706350.9770299957412690.511485002129365
290.5102087676124420.9795824647751160.489791232387558
300.4426849841361630.8853699682723270.557315015863837
310.3576849961527880.7153699923055760.642315003847212
320.3671819672002620.7343639344005240.632818032799738
330.3115070373811650.623014074762330.688492962618835
340.5523049815928320.8953900368143360.447695018407168
350.4358953969890860.8717907939781730.564104603010914
360.3496765549195420.6993531098390840.650323445080458
370.2571313168645360.5142626337290710.742868683135465
380.4117793163074120.8235586326148250.588220683692588
390.2882918594696620.5765837189393230.711708140530338







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

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

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



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}