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 computationSat, 06 Dec 2008 04:29:09 -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/2008/Dec/06/t12285635399g1bu1eiag8vmys.htm/, Retrieved Sat, 25 May 2024 22:00:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=29514, Retrieved Sat, 25 May 2024 22:00:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact296
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper - Multiple ...] [2008-12-06 11:29:09] [98255691c21504803b38711776845ae0] [Current]
Feedback Forum

Post a new message
Dataseries X:
14929388	0	0
14717825	0	0
15826281	0	0
16301310	0	0
15033017	0	0
16998461	0	0
14066463	0	0
13328937	0	0
17319718	0	0
17586427	0	0
15887037	0	0
17935679	0	0
15869489	0	0
15892511	0	0
17556558	0	0
16791643	0	1
15953689	0	1
18144914	0	1
14390881	0	1
13885709	0	1
17332572	0	1
17152596	0	1
16003877	0	1
16841467	0	1
14783398	0	1
14667848	0	1
17714362	0	1
16282088	0	1
15014866	1	0
17722582	1	0
13876509	1	0
15495490	1	0
17799521	1	0
17920079	1	0
17248022	1	0
18813782	1	0
16249688	0	0
17823359	0	0
20424438	0	0
17814219	0	0
19699960	0	0
19776328	0	0
15679833	0	0
17119267	0	0
20092613	0	0
20863688	0	0
20925203	0	0
21032593	0	0
20664684	0	0
19711511	0	0
22553293	0	0
19498333	0	0
20722828	0	0
21321275	0	0
17960848	0	0
17789655	0	0
20003709	0	0
21169852	0	0
20422839	0	0
19810562	0	0




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

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







Multiple Linear Regression - Estimated Regression Equation
omzet[t] = + 16246717.3967962 -1413728.01969538D1[t] -1068775.45378151D2[t] -1711827.27958100M1[t] -1735673.65452264M2[t] + 429574.170535714M3[t] -921266.313649629M4[t] -992050.175408496M5[t] + 428662.049649861M6[t] -3256270.92529178M7[t] -3014493.90023343M8[t] -115806.675175070M9[t] + 225967.349883287M10[t] -702293.225058356M11[t] + 87127.7749416433t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
omzet[t] =  +  16246717.3967962 -1413728.01969538D1[t] -1068775.45378151D2[t] -1711827.27958100M1[t] -1735673.65452264M2[t] +  429574.170535714M3[t] -921266.313649629M4[t] -992050.175408496M5[t] +  428662.049649861M6[t] -3256270.92529178M7[t] -3014493.90023343M8[t] -115806.675175070M9[t] +  225967.349883287M10[t] -702293.225058356M11[t] +  87127.7749416433t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29514&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]omzet[t] =  +  16246717.3967962 -1413728.01969538D1[t] -1068775.45378151D2[t] -1711827.27958100M1[t] -1735673.65452264M2[t] +  429574.170535714M3[t] -921266.313649629M4[t] -992050.175408496M5[t] +  428662.049649861M6[t] -3256270.92529178M7[t] -3014493.90023343M8[t] -115806.675175070M9[t] +  225967.349883287M10[t] -702293.225058356M11[t] +  87127.7749416433t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29514&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29514&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
omzet[t] = + 16246717.3967962 -1413728.01969538D1[t] -1068775.45378151D2[t] -1711827.27958100M1[t] -1735673.65452264M2[t] + 429574.170535714M3[t] -921266.313649629M4[t] -992050.175408496M5[t] + 428662.049649861M6[t] -3256270.92529178M7[t] -3014493.90023343M8[t] -115806.675175070M9[t] + 225967.349883287M10[t] -702293.225058356M11[t] + 87127.7749416433t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)16246717.3967962469918.21146434.573500
D1-1413728.01969538342938.327209-4.12240.0001598e-05
D2-1068775.45378151284106.776008-3.76190.0004850.000243
M1-1711827.27958100546665.917153-3.13140.0030550.001527
M2-1735673.65452264545757.714279-3.18030.0026640.001332
M3429574.170535714544930.2942510.78830.4346480.217324
M4-921266.313649629544184.025553-1.69290.0973820.048691
M5-992050.175408496538846.697754-1.84110.0722110.036105
M6428662.049649861538305.4987860.79630.4300290.215014
M7-3256270.92529178537847.135852-6.054300
M8-3014493.90023343537471.820884-5.60871e-061e-06
M9-115806.675175070537179.72795-0.21560.8302870.415144
M10225967.349883287536970.9928630.42080.6758910.337945
M11-702293.225058356536845.712853-1.30820.1974540.098727
t87127.77494164336696.4609313.01100

\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) & 16246717.3967962 & 469918.211464 & 34.5735 & 0 & 0 \tabularnewline
D1 & -1413728.01969538 & 342938.327209 & -4.1224 & 0.000159 & 8e-05 \tabularnewline
D2 & -1068775.45378151 & 284106.776008 & -3.7619 & 0.000485 & 0.000243 \tabularnewline
M1 & -1711827.27958100 & 546665.917153 & -3.1314 & 0.003055 & 0.001527 \tabularnewline
M2 & -1735673.65452264 & 545757.714279 & -3.1803 & 0.002664 & 0.001332 \tabularnewline
M3 & 429574.170535714 & 544930.294251 & 0.7883 & 0.434648 & 0.217324 \tabularnewline
M4 & -921266.313649629 & 544184.025553 & -1.6929 & 0.097382 & 0.048691 \tabularnewline
M5 & -992050.175408496 & 538846.697754 & -1.8411 & 0.072211 & 0.036105 \tabularnewline
M6 & 428662.049649861 & 538305.498786 & 0.7963 & 0.430029 & 0.215014 \tabularnewline
M7 & -3256270.92529178 & 537847.135852 & -6.0543 & 0 & 0 \tabularnewline
M8 & -3014493.90023343 & 537471.820884 & -5.6087 & 1e-06 & 1e-06 \tabularnewline
M9 & -115806.675175070 & 537179.72795 & -0.2156 & 0.830287 & 0.415144 \tabularnewline
M10 & 225967.349883287 & 536970.992863 & 0.4208 & 0.675891 & 0.337945 \tabularnewline
M11 & -702293.225058356 & 536845.712853 & -1.3082 & 0.197454 & 0.098727 \tabularnewline
t & 87127.7749416433 & 6696.46093 & 13.011 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29514&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]16246717.3967962[/C][C]469918.211464[/C][C]34.5735[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]D1[/C][C]-1413728.01969538[/C][C]342938.327209[/C][C]-4.1224[/C][C]0.000159[/C][C]8e-05[/C][/ROW]
[ROW][C]D2[/C][C]-1068775.45378151[/C][C]284106.776008[/C][C]-3.7619[/C][C]0.000485[/C][C]0.000243[/C][/ROW]
[ROW][C]M1[/C][C]-1711827.27958100[/C][C]546665.917153[/C][C]-3.1314[/C][C]0.003055[/C][C]0.001527[/C][/ROW]
[ROW][C]M2[/C][C]-1735673.65452264[/C][C]545757.714279[/C][C]-3.1803[/C][C]0.002664[/C][C]0.001332[/C][/ROW]
[ROW][C]M3[/C][C]429574.170535714[/C][C]544930.294251[/C][C]0.7883[/C][C]0.434648[/C][C]0.217324[/C][/ROW]
[ROW][C]M4[/C][C]-921266.313649629[/C][C]544184.025553[/C][C]-1.6929[/C][C]0.097382[/C][C]0.048691[/C][/ROW]
[ROW][C]M5[/C][C]-992050.175408496[/C][C]538846.697754[/C][C]-1.8411[/C][C]0.072211[/C][C]0.036105[/C][/ROW]
[ROW][C]M6[/C][C]428662.049649861[/C][C]538305.498786[/C][C]0.7963[/C][C]0.430029[/C][C]0.215014[/C][/ROW]
[ROW][C]M7[/C][C]-3256270.92529178[/C][C]537847.135852[/C][C]-6.0543[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-3014493.90023343[/C][C]537471.820884[/C][C]-5.6087[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M9[/C][C]-115806.675175070[/C][C]537179.72795[/C][C]-0.2156[/C][C]0.830287[/C][C]0.415144[/C][/ROW]
[ROW][C]M10[/C][C]225967.349883287[/C][C]536970.992863[/C][C]0.4208[/C][C]0.675891[/C][C]0.337945[/C][/ROW]
[ROW][C]M11[/C][C]-702293.225058356[/C][C]536845.712853[/C][C]-1.3082[/C][C]0.197454[/C][C]0.098727[/C][/ROW]
[ROW][C]t[/C][C]87127.7749416433[/C][C]6696.46093[/C][C]13.011[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29514&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29514&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)16246717.3967962469918.21146434.573500
D1-1413728.01969538342938.327209-4.12240.0001598e-05
D2-1068775.45378151284106.776008-3.76190.0004850.000243
M1-1711827.27958100546665.917153-3.13140.0030550.001527
M2-1735673.65452264545757.714279-3.18030.0026640.001332
M3429574.170535714544930.2942510.78830.4346480.217324
M4-921266.313649629544184.025553-1.69290.0973820.048691
M5-992050.175408496538846.697754-1.84110.0722110.036105
M6428662.049649861538305.4987860.79630.4300290.215014
M7-3256270.92529178537847.135852-6.054300
M8-3014493.90023343537471.820884-5.60871e-061e-06
M9-115806.675175070537179.72795-0.21560.8302870.415144
M10225967.349883287536970.9928630.42080.6758910.337945
M11-702293.225058356536845.712853-1.30820.1974540.098727
t87127.77494164336696.4609313.01100







Multiple Linear Regression - Regression Statistics
Multiple R0.944937868840558
R-squared0.892907575968935
Adjusted R-squared0.859589932937048
F-TEST (value)26.7998422071566
F-TEST (DF numerator)14
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation848761.563721035
Sum Squared Residuals32417828642258.0

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.944937868840558 \tabularnewline
R-squared & 0.892907575968935 \tabularnewline
Adjusted R-squared & 0.859589932937048 \tabularnewline
F-TEST (value) & 26.7998422071566 \tabularnewline
F-TEST (DF numerator) & 14 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 848761.563721035 \tabularnewline
Sum Squared Residuals & 32417828642258.0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29514&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.944937868840558[/C][/ROW]
[ROW][C]R-squared[/C][C]0.892907575968935[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.859589932937048[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]26.7998422071566[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]14[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]848761.563721035[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]32417828642258.0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29514&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29514&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.944937868840558
R-squared0.892907575968935
Adjusted R-squared0.859589932937048
F-TEST (value)26.7998422071566
F-TEST (DF numerator)14
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation848761.563721035
Sum Squared Residuals32417828642258.0







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11492938814622017.8921569307370.107843138
21471782514685299.292156932525.7078431433
31582628116937674.8921569-1111393.89215686
41630131015673962.1829132627347.817086832
51503301715690306.0960959-657289.096095943
61699846117198146.0960959-199685.096095938
71406646313600340.8960959466122.103904065
81332893713929245.6960959-600308.69609594
91731971816915060.6960959404657.303904062
101758642717343962.4960959242464.503904061
111588703716502829.6960959-615792.696095937
121793567917292250.6960959643428.303904062
131586948915667551.1914566201937.808543418
141589251115730832.5914566161678.408543415
151755655817983208.1914566-426650.191456582
161679164315650720.02843141140922.97156863
171595368915667063.9416141286625.058385855
181814491417174903.9416141970010.058385854
191439088113577098.7416141813782.258385853
201388570913906003.5416141-20294.5416141452
211733257216891818.5416141440753.458385854
221715259617320720.3416141-168124.341614146
231600387716479587.5416141-475710.541614147
241684146717269008.5416141-427541.541614145
251478339815644309.0369748-860911.03697479
261466784815707590.4369748-1039742.43697479
271771436217959966.0369748-245604.036974790
281628208816696253.3277311-414165.327731092
291501486616367644.675-1352778.675
301772258217875484.675-152902.675000000
311387650914277679.475-401170.475000001
321549549014606584.275888905.725000001
331779952117592399.275207121.725
341792007918021301.075-101222.075000000
351724802217180168.27567853.7249999991
361881378217969589.275844192.725
371624968817758617.790056-1508929.79005602
381782335917821899.19005601459.80994397594
392042443820074274.7900560350163.209943977
401781421918810562.0808123-996343.080812324
411969996018826905.9939951873054.006004903
421977632820334745.9939951-558417.993995098
431567983316736940.7939951-1057107.7939951
441711926717065845.593995153421.406004902
452009261320051660.593995140952.4060049018
462086368820480562.3939951383125.606004902
472092520319639429.59399511285773.40600490
482103259320428850.5939951603742.406004903
492066468418804151.08935571860532.91064426
501971151118867432.4893557844078.510644256
512255329321119808.08935571433484.91064426
521949833319856095.3801120-357762.380112045
532072282819872439.2932948850388.706705183
542132127521380279.2932948-59004.2932948188
551796084817782474.0932948178373.906705181
561778965518111378.8932948-321723.893294818
572000370921097193.8932948-1093484.89329482
582116985221526095.6932948-356243.693294817
592042283920684962.8932948-262123.893294817
601981056221474383.8932948-1663821.89329482

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 14929388 & 14622017.8921569 & 307370.107843138 \tabularnewline
2 & 14717825 & 14685299.2921569 & 32525.7078431433 \tabularnewline
3 & 15826281 & 16937674.8921569 & -1111393.89215686 \tabularnewline
4 & 16301310 & 15673962.1829132 & 627347.817086832 \tabularnewline
5 & 15033017 & 15690306.0960959 & -657289.096095943 \tabularnewline
6 & 16998461 & 17198146.0960959 & -199685.096095938 \tabularnewline
7 & 14066463 & 13600340.8960959 & 466122.103904065 \tabularnewline
8 & 13328937 & 13929245.6960959 & -600308.69609594 \tabularnewline
9 & 17319718 & 16915060.6960959 & 404657.303904062 \tabularnewline
10 & 17586427 & 17343962.4960959 & 242464.503904061 \tabularnewline
11 & 15887037 & 16502829.6960959 & -615792.696095937 \tabularnewline
12 & 17935679 & 17292250.6960959 & 643428.303904062 \tabularnewline
13 & 15869489 & 15667551.1914566 & 201937.808543418 \tabularnewline
14 & 15892511 & 15730832.5914566 & 161678.408543415 \tabularnewline
15 & 17556558 & 17983208.1914566 & -426650.191456582 \tabularnewline
16 & 16791643 & 15650720.0284314 & 1140922.97156863 \tabularnewline
17 & 15953689 & 15667063.9416141 & 286625.058385855 \tabularnewline
18 & 18144914 & 17174903.9416141 & 970010.058385854 \tabularnewline
19 & 14390881 & 13577098.7416141 & 813782.258385853 \tabularnewline
20 & 13885709 & 13906003.5416141 & -20294.5416141452 \tabularnewline
21 & 17332572 & 16891818.5416141 & 440753.458385854 \tabularnewline
22 & 17152596 & 17320720.3416141 & -168124.341614146 \tabularnewline
23 & 16003877 & 16479587.5416141 & -475710.541614147 \tabularnewline
24 & 16841467 & 17269008.5416141 & -427541.541614145 \tabularnewline
25 & 14783398 & 15644309.0369748 & -860911.03697479 \tabularnewline
26 & 14667848 & 15707590.4369748 & -1039742.43697479 \tabularnewline
27 & 17714362 & 17959966.0369748 & -245604.036974790 \tabularnewline
28 & 16282088 & 16696253.3277311 & -414165.327731092 \tabularnewline
29 & 15014866 & 16367644.675 & -1352778.675 \tabularnewline
30 & 17722582 & 17875484.675 & -152902.675000000 \tabularnewline
31 & 13876509 & 14277679.475 & -401170.475000001 \tabularnewline
32 & 15495490 & 14606584.275 & 888905.725000001 \tabularnewline
33 & 17799521 & 17592399.275 & 207121.725 \tabularnewline
34 & 17920079 & 18021301.075 & -101222.075000000 \tabularnewline
35 & 17248022 & 17180168.275 & 67853.7249999991 \tabularnewline
36 & 18813782 & 17969589.275 & 844192.725 \tabularnewline
37 & 16249688 & 17758617.790056 & -1508929.79005602 \tabularnewline
38 & 17823359 & 17821899.1900560 & 1459.80994397594 \tabularnewline
39 & 20424438 & 20074274.7900560 & 350163.209943977 \tabularnewline
40 & 17814219 & 18810562.0808123 & -996343.080812324 \tabularnewline
41 & 19699960 & 18826905.9939951 & 873054.006004903 \tabularnewline
42 & 19776328 & 20334745.9939951 & -558417.993995098 \tabularnewline
43 & 15679833 & 16736940.7939951 & -1057107.7939951 \tabularnewline
44 & 17119267 & 17065845.5939951 & 53421.406004902 \tabularnewline
45 & 20092613 & 20051660.5939951 & 40952.4060049018 \tabularnewline
46 & 20863688 & 20480562.3939951 & 383125.606004902 \tabularnewline
47 & 20925203 & 19639429.5939951 & 1285773.40600490 \tabularnewline
48 & 21032593 & 20428850.5939951 & 603742.406004903 \tabularnewline
49 & 20664684 & 18804151.0893557 & 1860532.91064426 \tabularnewline
50 & 19711511 & 18867432.4893557 & 844078.510644256 \tabularnewline
51 & 22553293 & 21119808.0893557 & 1433484.91064426 \tabularnewline
52 & 19498333 & 19856095.3801120 & -357762.380112045 \tabularnewline
53 & 20722828 & 19872439.2932948 & 850388.706705183 \tabularnewline
54 & 21321275 & 21380279.2932948 & -59004.2932948188 \tabularnewline
55 & 17960848 & 17782474.0932948 & 178373.906705181 \tabularnewline
56 & 17789655 & 18111378.8932948 & -321723.893294818 \tabularnewline
57 & 20003709 & 21097193.8932948 & -1093484.89329482 \tabularnewline
58 & 21169852 & 21526095.6932948 & -356243.693294817 \tabularnewline
59 & 20422839 & 20684962.8932948 & -262123.893294817 \tabularnewline
60 & 19810562 & 21474383.8932948 & -1663821.89329482 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29514&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]14929388[/C][C]14622017.8921569[/C][C]307370.107843138[/C][/ROW]
[ROW][C]2[/C][C]14717825[/C][C]14685299.2921569[/C][C]32525.7078431433[/C][/ROW]
[ROW][C]3[/C][C]15826281[/C][C]16937674.8921569[/C][C]-1111393.89215686[/C][/ROW]
[ROW][C]4[/C][C]16301310[/C][C]15673962.1829132[/C][C]627347.817086832[/C][/ROW]
[ROW][C]5[/C][C]15033017[/C][C]15690306.0960959[/C][C]-657289.096095943[/C][/ROW]
[ROW][C]6[/C][C]16998461[/C][C]17198146.0960959[/C][C]-199685.096095938[/C][/ROW]
[ROW][C]7[/C][C]14066463[/C][C]13600340.8960959[/C][C]466122.103904065[/C][/ROW]
[ROW][C]8[/C][C]13328937[/C][C]13929245.6960959[/C][C]-600308.69609594[/C][/ROW]
[ROW][C]9[/C][C]17319718[/C][C]16915060.6960959[/C][C]404657.303904062[/C][/ROW]
[ROW][C]10[/C][C]17586427[/C][C]17343962.4960959[/C][C]242464.503904061[/C][/ROW]
[ROW][C]11[/C][C]15887037[/C][C]16502829.6960959[/C][C]-615792.696095937[/C][/ROW]
[ROW][C]12[/C][C]17935679[/C][C]17292250.6960959[/C][C]643428.303904062[/C][/ROW]
[ROW][C]13[/C][C]15869489[/C][C]15667551.1914566[/C][C]201937.808543418[/C][/ROW]
[ROW][C]14[/C][C]15892511[/C][C]15730832.5914566[/C][C]161678.408543415[/C][/ROW]
[ROW][C]15[/C][C]17556558[/C][C]17983208.1914566[/C][C]-426650.191456582[/C][/ROW]
[ROW][C]16[/C][C]16791643[/C][C]15650720.0284314[/C][C]1140922.97156863[/C][/ROW]
[ROW][C]17[/C][C]15953689[/C][C]15667063.9416141[/C][C]286625.058385855[/C][/ROW]
[ROW][C]18[/C][C]18144914[/C][C]17174903.9416141[/C][C]970010.058385854[/C][/ROW]
[ROW][C]19[/C][C]14390881[/C][C]13577098.7416141[/C][C]813782.258385853[/C][/ROW]
[ROW][C]20[/C][C]13885709[/C][C]13906003.5416141[/C][C]-20294.5416141452[/C][/ROW]
[ROW][C]21[/C][C]17332572[/C][C]16891818.5416141[/C][C]440753.458385854[/C][/ROW]
[ROW][C]22[/C][C]17152596[/C][C]17320720.3416141[/C][C]-168124.341614146[/C][/ROW]
[ROW][C]23[/C][C]16003877[/C][C]16479587.5416141[/C][C]-475710.541614147[/C][/ROW]
[ROW][C]24[/C][C]16841467[/C][C]17269008.5416141[/C][C]-427541.541614145[/C][/ROW]
[ROW][C]25[/C][C]14783398[/C][C]15644309.0369748[/C][C]-860911.03697479[/C][/ROW]
[ROW][C]26[/C][C]14667848[/C][C]15707590.4369748[/C][C]-1039742.43697479[/C][/ROW]
[ROW][C]27[/C][C]17714362[/C][C]17959966.0369748[/C][C]-245604.036974790[/C][/ROW]
[ROW][C]28[/C][C]16282088[/C][C]16696253.3277311[/C][C]-414165.327731092[/C][/ROW]
[ROW][C]29[/C][C]15014866[/C][C]16367644.675[/C][C]-1352778.675[/C][/ROW]
[ROW][C]30[/C][C]17722582[/C][C]17875484.675[/C][C]-152902.675000000[/C][/ROW]
[ROW][C]31[/C][C]13876509[/C][C]14277679.475[/C][C]-401170.475000001[/C][/ROW]
[ROW][C]32[/C][C]15495490[/C][C]14606584.275[/C][C]888905.725000001[/C][/ROW]
[ROW][C]33[/C][C]17799521[/C][C]17592399.275[/C][C]207121.725[/C][/ROW]
[ROW][C]34[/C][C]17920079[/C][C]18021301.075[/C][C]-101222.075000000[/C][/ROW]
[ROW][C]35[/C][C]17248022[/C][C]17180168.275[/C][C]67853.7249999991[/C][/ROW]
[ROW][C]36[/C][C]18813782[/C][C]17969589.275[/C][C]844192.725[/C][/ROW]
[ROW][C]37[/C][C]16249688[/C][C]17758617.790056[/C][C]-1508929.79005602[/C][/ROW]
[ROW][C]38[/C][C]17823359[/C][C]17821899.1900560[/C][C]1459.80994397594[/C][/ROW]
[ROW][C]39[/C][C]20424438[/C][C]20074274.7900560[/C][C]350163.209943977[/C][/ROW]
[ROW][C]40[/C][C]17814219[/C][C]18810562.0808123[/C][C]-996343.080812324[/C][/ROW]
[ROW][C]41[/C][C]19699960[/C][C]18826905.9939951[/C][C]873054.006004903[/C][/ROW]
[ROW][C]42[/C][C]19776328[/C][C]20334745.9939951[/C][C]-558417.993995098[/C][/ROW]
[ROW][C]43[/C][C]15679833[/C][C]16736940.7939951[/C][C]-1057107.7939951[/C][/ROW]
[ROW][C]44[/C][C]17119267[/C][C]17065845.5939951[/C][C]53421.406004902[/C][/ROW]
[ROW][C]45[/C][C]20092613[/C][C]20051660.5939951[/C][C]40952.4060049018[/C][/ROW]
[ROW][C]46[/C][C]20863688[/C][C]20480562.3939951[/C][C]383125.606004902[/C][/ROW]
[ROW][C]47[/C][C]20925203[/C][C]19639429.5939951[/C][C]1285773.40600490[/C][/ROW]
[ROW][C]48[/C][C]21032593[/C][C]20428850.5939951[/C][C]603742.406004903[/C][/ROW]
[ROW][C]49[/C][C]20664684[/C][C]18804151.0893557[/C][C]1860532.91064426[/C][/ROW]
[ROW][C]50[/C][C]19711511[/C][C]18867432.4893557[/C][C]844078.510644256[/C][/ROW]
[ROW][C]51[/C][C]22553293[/C][C]21119808.0893557[/C][C]1433484.91064426[/C][/ROW]
[ROW][C]52[/C][C]19498333[/C][C]19856095.3801120[/C][C]-357762.380112045[/C][/ROW]
[ROW][C]53[/C][C]20722828[/C][C]19872439.2932948[/C][C]850388.706705183[/C][/ROW]
[ROW][C]54[/C][C]21321275[/C][C]21380279.2932948[/C][C]-59004.2932948188[/C][/ROW]
[ROW][C]55[/C][C]17960848[/C][C]17782474.0932948[/C][C]178373.906705181[/C][/ROW]
[ROW][C]56[/C][C]17789655[/C][C]18111378.8932948[/C][C]-321723.893294818[/C][/ROW]
[ROW][C]57[/C][C]20003709[/C][C]21097193.8932948[/C][C]-1093484.89329482[/C][/ROW]
[ROW][C]58[/C][C]21169852[/C][C]21526095.6932948[/C][C]-356243.693294817[/C][/ROW]
[ROW][C]59[/C][C]20422839[/C][C]20684962.8932948[/C][C]-262123.893294817[/C][/ROW]
[ROW][C]60[/C][C]19810562[/C][C]21474383.8932948[/C][C]-1663821.89329482[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29514&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29514&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
11492938814622017.8921569307370.107843138
21471782514685299.292156932525.7078431433
31582628116937674.8921569-1111393.89215686
41630131015673962.1829132627347.817086832
51503301715690306.0960959-657289.096095943
61699846117198146.0960959-199685.096095938
71406646313600340.8960959466122.103904065
81332893713929245.6960959-600308.69609594
91731971816915060.6960959404657.303904062
101758642717343962.4960959242464.503904061
111588703716502829.6960959-615792.696095937
121793567917292250.6960959643428.303904062
131586948915667551.1914566201937.808543418
141589251115730832.5914566161678.408543415
151755655817983208.1914566-426650.191456582
161679164315650720.02843141140922.97156863
171595368915667063.9416141286625.058385855
181814491417174903.9416141970010.058385854
191439088113577098.7416141813782.258385853
201388570913906003.5416141-20294.5416141452
211733257216891818.5416141440753.458385854
221715259617320720.3416141-168124.341614146
231600387716479587.5416141-475710.541614147
241684146717269008.5416141-427541.541614145
251478339815644309.0369748-860911.03697479
261466784815707590.4369748-1039742.43697479
271771436217959966.0369748-245604.036974790
281628208816696253.3277311-414165.327731092
291501486616367644.675-1352778.675
301772258217875484.675-152902.675000000
311387650914277679.475-401170.475000001
321549549014606584.275888905.725000001
331779952117592399.275207121.725
341792007918021301.075-101222.075000000
351724802217180168.27567853.7249999991
361881378217969589.275844192.725
371624968817758617.790056-1508929.79005602
381782335917821899.19005601459.80994397594
392042443820074274.7900560350163.209943977
401781421918810562.0808123-996343.080812324
411969996018826905.9939951873054.006004903
421977632820334745.9939951-558417.993995098
431567983316736940.7939951-1057107.7939951
441711926717065845.593995153421.406004902
452009261320051660.593995140952.4060049018
462086368820480562.3939951383125.606004902
472092520319639429.59399511285773.40600490
482103259320428850.5939951603742.406004903
492066468418804151.08935571860532.91064426
501971151118867432.4893557844078.510644256
512255329321119808.08935571433484.91064426
521949833319856095.3801120-357762.380112045
532072282819872439.2932948850388.706705183
542132127521380279.2932948-59004.2932948188
551796084817782474.0932948178373.906705181
561778965518111378.8932948-321723.893294818
572000370921097193.8932948-1093484.89329482
582116985221526095.6932948-356243.693294817
592042283920684962.8932948-262123.893294817
601981056221474383.8932948-1663821.89329482







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.04559203973425360.09118407946850720.954407960265746
190.02493346799881810.04986693599763630.975066532001182
200.007465010642879850.01493002128575970.99253498935712
210.006722214725880980.01344442945176200.993277785274119
220.01144237585719560.02288475171439110.988557624142804
230.004704683557818720.009409367115637430.995295316442181
240.01795139597031080.03590279194062170.98204860402969
250.03911969077713460.07823938155426910.960880309222865
260.04689329452435350.0937865890487070.953106705475647
270.03531400853015020.07062801706030050.96468599146985
280.03339697188071570.06679394376143150.966603028119284
290.04680242666557400.09360485333114790.953197573334426
300.02897602343595500.05795204687190990.971023976564045
310.01599785797678230.03199571595356460.984002142023218
320.04314734919158520.08629469838317040.956852650808415
330.02476429281253940.04952858562507880.97523570718746
340.01371850916483610.02743701832967220.986281490835164
350.01415606645755950.0283121329151190.98584393354244
360.009333925988225670.01866785197645130.990666074011774
370.07190087322668170.1438017464533630.928099126773318
380.0835671757467460.1671343514934920.916432824253254
390.1268136725647670.2536273451295350.873186327435233
400.1282776828477140.2565553656954280.871722317152286
410.1244887896191910.2489775792383830.875511210380809
420.1051796134375600.2103592268751200.89482038656244

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
18 & 0.0455920397342536 & 0.0911840794685072 & 0.954407960265746 \tabularnewline
19 & 0.0249334679988181 & 0.0498669359976363 & 0.975066532001182 \tabularnewline
20 & 0.00746501064287985 & 0.0149300212857597 & 0.99253498935712 \tabularnewline
21 & 0.00672221472588098 & 0.0134444294517620 & 0.993277785274119 \tabularnewline
22 & 0.0114423758571956 & 0.0228847517143911 & 0.988557624142804 \tabularnewline
23 & 0.00470468355781872 & 0.00940936711563743 & 0.995295316442181 \tabularnewline
24 & 0.0179513959703108 & 0.0359027919406217 & 0.98204860402969 \tabularnewline
25 & 0.0391196907771346 & 0.0782393815542691 & 0.960880309222865 \tabularnewline
26 & 0.0468932945243535 & 0.093786589048707 & 0.953106705475647 \tabularnewline
27 & 0.0353140085301502 & 0.0706280170603005 & 0.96468599146985 \tabularnewline
28 & 0.0333969718807157 & 0.0667939437614315 & 0.966603028119284 \tabularnewline
29 & 0.0468024266655740 & 0.0936048533311479 & 0.953197573334426 \tabularnewline
30 & 0.0289760234359550 & 0.0579520468719099 & 0.971023976564045 \tabularnewline
31 & 0.0159978579767823 & 0.0319957159535646 & 0.984002142023218 \tabularnewline
32 & 0.0431473491915852 & 0.0862946983831704 & 0.956852650808415 \tabularnewline
33 & 0.0247642928125394 & 0.0495285856250788 & 0.97523570718746 \tabularnewline
34 & 0.0137185091648361 & 0.0274370183296722 & 0.986281490835164 \tabularnewline
35 & 0.0141560664575595 & 0.028312132915119 & 0.98584393354244 \tabularnewline
36 & 0.00933392598822567 & 0.0186678519764513 & 0.990666074011774 \tabularnewline
37 & 0.0719008732266817 & 0.143801746453363 & 0.928099126773318 \tabularnewline
38 & 0.083567175746746 & 0.167134351493492 & 0.916432824253254 \tabularnewline
39 & 0.126813672564767 & 0.253627345129535 & 0.873186327435233 \tabularnewline
40 & 0.128277682847714 & 0.256555365695428 & 0.871722317152286 \tabularnewline
41 & 0.124488789619191 & 0.248977579238383 & 0.875511210380809 \tabularnewline
42 & 0.105179613437560 & 0.210359226875120 & 0.89482038656244 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29514&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]18[/C][C]0.0455920397342536[/C][C]0.0911840794685072[/C][C]0.954407960265746[/C][/ROW]
[ROW][C]19[/C][C]0.0249334679988181[/C][C]0.0498669359976363[/C][C]0.975066532001182[/C][/ROW]
[ROW][C]20[/C][C]0.00746501064287985[/C][C]0.0149300212857597[/C][C]0.99253498935712[/C][/ROW]
[ROW][C]21[/C][C]0.00672221472588098[/C][C]0.0134444294517620[/C][C]0.993277785274119[/C][/ROW]
[ROW][C]22[/C][C]0.0114423758571956[/C][C]0.0228847517143911[/C][C]0.988557624142804[/C][/ROW]
[ROW][C]23[/C][C]0.00470468355781872[/C][C]0.00940936711563743[/C][C]0.995295316442181[/C][/ROW]
[ROW][C]24[/C][C]0.0179513959703108[/C][C]0.0359027919406217[/C][C]0.98204860402969[/C][/ROW]
[ROW][C]25[/C][C]0.0391196907771346[/C][C]0.0782393815542691[/C][C]0.960880309222865[/C][/ROW]
[ROW][C]26[/C][C]0.0468932945243535[/C][C]0.093786589048707[/C][C]0.953106705475647[/C][/ROW]
[ROW][C]27[/C][C]0.0353140085301502[/C][C]0.0706280170603005[/C][C]0.96468599146985[/C][/ROW]
[ROW][C]28[/C][C]0.0333969718807157[/C][C]0.0667939437614315[/C][C]0.966603028119284[/C][/ROW]
[ROW][C]29[/C][C]0.0468024266655740[/C][C]0.0936048533311479[/C][C]0.953197573334426[/C][/ROW]
[ROW][C]30[/C][C]0.0289760234359550[/C][C]0.0579520468719099[/C][C]0.971023976564045[/C][/ROW]
[ROW][C]31[/C][C]0.0159978579767823[/C][C]0.0319957159535646[/C][C]0.984002142023218[/C][/ROW]
[ROW][C]32[/C][C]0.0431473491915852[/C][C]0.0862946983831704[/C][C]0.956852650808415[/C][/ROW]
[ROW][C]33[/C][C]0.0247642928125394[/C][C]0.0495285856250788[/C][C]0.97523570718746[/C][/ROW]
[ROW][C]34[/C][C]0.0137185091648361[/C][C]0.0274370183296722[/C][C]0.986281490835164[/C][/ROW]
[ROW][C]35[/C][C]0.0141560664575595[/C][C]0.028312132915119[/C][C]0.98584393354244[/C][/ROW]
[ROW][C]36[/C][C]0.00933392598822567[/C][C]0.0186678519764513[/C][C]0.990666074011774[/C][/ROW]
[ROW][C]37[/C][C]0.0719008732266817[/C][C]0.143801746453363[/C][C]0.928099126773318[/C][/ROW]
[ROW][C]38[/C][C]0.083567175746746[/C][C]0.167134351493492[/C][C]0.916432824253254[/C][/ROW]
[ROW][C]39[/C][C]0.126813672564767[/C][C]0.253627345129535[/C][C]0.873186327435233[/C][/ROW]
[ROW][C]40[/C][C]0.128277682847714[/C][C]0.256555365695428[/C][C]0.871722317152286[/C][/ROW]
[ROW][C]41[/C][C]0.124488789619191[/C][C]0.248977579238383[/C][C]0.875511210380809[/C][/ROW]
[ROW][C]42[/C][C]0.105179613437560[/C][C]0.210359226875120[/C][C]0.89482038656244[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29514&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29514&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
180.04559203973425360.09118407946850720.954407960265746
190.02493346799881810.04986693599763630.975066532001182
200.007465010642879850.01493002128575970.99253498935712
210.006722214725880980.01344442945176200.993277785274119
220.01144237585719560.02288475171439110.988557624142804
230.004704683557818720.009409367115637430.995295316442181
240.01795139597031080.03590279194062170.98204860402969
250.03911969077713460.07823938155426910.960880309222865
260.04689329452435350.0937865890487070.953106705475647
270.03531400853015020.07062801706030050.96468599146985
280.03339697188071570.06679394376143150.966603028119284
290.04680242666557400.09360485333114790.953197573334426
300.02897602343595500.05795204687190990.971023976564045
310.01599785797678230.03199571595356460.984002142023218
320.04314734919158520.08629469838317040.956852650808415
330.02476429281253940.04952858562507880.97523570718746
340.01371850916483610.02743701832967220.986281490835164
350.01415606645755950.0283121329151190.98584393354244
360.009333925988225670.01866785197645130.990666074011774
370.07190087322668170.1438017464533630.928099126773318
380.0835671757467460.1671343514934920.916432824253254
390.1268136725647670.2536273451295350.873186327435233
400.1282776828477140.2565553656954280.871722317152286
410.1244887896191910.2489775792383830.875511210380809
420.1051796134375600.2103592268751200.89482038656244







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.04NOK
5% type I error level110.44NOK
10% type I error level190.76NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29514&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 level10.04NOK
5% type I error level110.44NOK
10% type I error level190.76NOK



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