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, 06 Dec 2010 14:47:05 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/06/t1291646703883g3v5jniy9s0v.htm/, Retrieved Mon, 29 Apr 2024 02:34:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105624, Retrieved Mon, 29 Apr 2024 02:34:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-06 14:47:05] [c474a97a96075919a678ad3d2290b00b] [Current]
Feedback Forum

Post a new message
Dataseries X:
3484.74	13830.14	9349.44	7977	-5.6	6	1	2.77
3411.13	14153.22	9327.78	8241	-6.2	3	1	2.76
3288.18	15418.03	9753.63	8444	-7.1	2	1.2	2.76
3280.37	16666.97	10443.5	8490	-1.4	2	1.2	2.46
3173.95	16505.21	10853.87	8388	-0.1	2	0.8	2.46
3165.26	17135.96	10704.02	8099	-0.9	-8	0.7	2.47
3092.71	18033.25	11052.23	7984	0	0	0.7	2.71
3053.05	17671	10935.47	7786	0.1	-2	0.9	2.8
3181.96	17544.22	10714.03	8086	2.6	3	1.2	2.89
2999.93	17677.9	10394.48	9315	6	5	1.3	3.36
3249.57	18470.97	10817.9	9113	6.4	8	1.5	3.31
3210.52	18409.96	11251.2	9023	8.6	8	1.9	3.5
3030.29	18941.6	11281.26	9026	6.4	9	1.8	3.51
2803.47	19685.53	10539.68	9787	7.7	11	1.9	3.71
2767.63	19834.71	10483.39	9536	9.2	13	2.2	3.71
2882.6	19598.93	10947.43	9490	8.6	12	2.1	3.71
2863.36	17039.97	10580.27	9736	7.4	13	2.2	4.21
2897.06	16969.28	10582.92	9694	8.6	15	2.7	4.21
3012.61	16973.38	10654.41	9647	6.2	13	2.8	4.21
3142.95	16329.89	11014.51	9753	6	16	2.9	4.5
3032.93	16153.34	10967.87	10070	6.6	10	3.4	4.51
3045.78	15311.7	10433.56	10137	5.1	14	3	4.51
3110.52	14760.87	10665.78	9984	4.7	14	3.1	4.51
3013.24	14452.93	10666.71	9732	5	15	2.5	4.32
2987.1	13720.95	10682.74	9103	3.6	13	2.2	4.02
2995.55	13266.27	10777.22	9155	1.9	8	2.3	4.02
2833.18	12708.47	10052.6	9308	-0.1	7	2.1	3.85
2848.96	13411.84	10213.97	9394	-5.7	3	2.8	3.84
2794.83	13975.55	10546.82	9948	-5.6	3	3.1	4.02
2845.26	12974.89	10767.2	10177	-6.4	4	2.9	3.82
2915.02	12151.11	10444.5	10002	-7.7	4	2.6	3.75
2892.63	11576.21	10314.68	9728	-8	0	2.7	3.74
2604.42	9996.83	9042.56	10002	-11.9	-4	2.3	3.14
2641.65	10438.9	9220.75	10063	-15.4	-14	2.3	2.91
2659.81	10511.22	9721.84	10018	-15.5	-18	2.1	2.84
2638.53	10496.2	9978.53	9960	-13.4	-8	2.2	2.85
2720.25	10300.79	9923.81	10236	-10.9	-1	2.9	2.85
2745.88	9981.65	9892.56	10893	-10.8	1	2.6	3.08
2735.7	11448.79	10500.98	10756	-7.3	2	2.7	3.3
2811.7	11384.49	10179.35	10940	-6.5	0	1.8	3.29
2799.43	11717.46	10080.48	10997	-5.1	1	1.3	3.26
2555.28	10965.88	9492.44	10827	-5.3	0	0.9	3.26
2304.98	10352.27	8616.49	10166	-6.8	-1	1.3	3.11
2214.95	9751.2	8685.4	10186	-8.4	-3	1.3	2.84
2065.81	9354.01	8160.67	10457	-8.4	-3	1.3	2.71
1940.49	8792.5	8048.1	10368	-9.7	-3	1.3	2.69
2042	8721.14	8641.21	10244	-8.8	-4	1.1	2.65
1995.37	8692.94	8526.63	10511	-9.6	-8	1.4	2.57
1946.81	8570.73	8474.21	10812	-11.5	-9	1.2	2.32
1765.9	8538.47	7916.13	10738	-11	-13	1.7	2.12
1635.25	8169.75	7977.64	10171	-14.9	-18	1.8	2.05




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

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

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = + 688.098795765917 + 0.0462179954610761Nikkei[t] + 0.278030419928214DJ_Indust[t] -0.178777803993867Goudprijs[t] -57.5548412693366Conjunct_Seizoenzuiver[t] + 33.6760247240671Cons_vertrouw[t] -131.109005569773Alg_consumptie_index_BE[t] + 131.838648549116Gem_rente_kasbon_1j[t] -34.4247599390837M1[t] + 56.988069043629M2[t] -72.544498687564M3[t] -24.1245880172990M4[t] -68.2147043679782M5[t] -14.5616582959767M6[t] -131.285788333769M7[t] -116.524230423104M8[t] + 65.1267127103127M9[t] + 96.69510720441M10[t] + 87.6952746740044M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
BEL_20[t] =  +  688.098795765917 +  0.0462179954610761Nikkei[t] +  0.278030419928214DJ_Indust[t] -0.178777803993867Goudprijs[t] -57.5548412693366Conjunct_Seizoenzuiver[t] +  33.6760247240671Cons_vertrouw[t] -131.109005569773Alg_consumptie_index_BE[t] +  131.838648549116Gem_rente_kasbon_1j[t] -34.4247599390837M1[t] +  56.988069043629M2[t] -72.544498687564M3[t] -24.1245880172990M4[t] -68.2147043679782M5[t] -14.5616582959767M6[t] -131.285788333769M7[t] -116.524230423104M8[t] +  65.1267127103127M9[t] +  96.69510720441M10[t] +  87.6952746740044M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105624&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]BEL_20[t] =  +  688.098795765917 +  0.0462179954610761Nikkei[t] +  0.278030419928214DJ_Indust[t] -0.178777803993867Goudprijs[t] -57.5548412693366Conjunct_Seizoenzuiver[t] +  33.6760247240671Cons_vertrouw[t] -131.109005569773Alg_consumptie_index_BE[t] +  131.838648549116Gem_rente_kasbon_1j[t] -34.4247599390837M1[t] +  56.988069043629M2[t] -72.544498687564M3[t] -24.1245880172990M4[t] -68.2147043679782M5[t] -14.5616582959767M6[t] -131.285788333769M7[t] -116.524230423104M8[t] +  65.1267127103127M9[t] +  96.69510720441M10[t] +  87.6952746740044M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105624&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105624&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
BEL_20[t] = + 688.098795765917 + 0.0462179954610761Nikkei[t] + 0.278030419928214DJ_Indust[t] -0.178777803993867Goudprijs[t] -57.5548412693366Conjunct_Seizoenzuiver[t] + 33.6760247240671Cons_vertrouw[t] -131.109005569773Alg_consumptie_index_BE[t] + 131.838648549116Gem_rente_kasbon_1j[t] -34.4247599390837M1[t] + 56.988069043629M2[t] -72.544498687564M3[t] -24.1245880172990M4[t] -68.2147043679782M5[t] -14.5616582959767M6[t] -131.285788333769M7[t] -116.524230423104M8[t] + 65.1267127103127M9[t] + 96.69510720441M10[t] + 87.6952746740044M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)688.098795765917899.1433520.76530.4497110.224855
Nikkei0.04621799546107610.027091.70610.0976820.048841
DJ_Indust0.2780304199282140.062054.48088.9e-054.5e-05
Goudprijs-0.1787778039938670.051491-3.4720.0015020.000751
Conjunct_Seizoenzuiver-57.554841269336612.588776-4.57196.9e-053.4e-05
Cons_vertrouw33.67602472406718.6863693.87690.0004940.000247
Alg_consumptie_index_BE-131.10900556977375.27088-1.74180.0911450.045572
Gem_rente_kasbon_1j131.838648549116130.1853681.01270.31880.1594
M1-34.4247599390837119.646909-0.28770.7754170.387708
M256.988069043629118.5865930.48060.6340980.317049
M3-72.544498687564120.302055-0.6030.5507460.275373
M4-24.1245880172990126.555262-0.19060.8500240.425012
M5-68.2147043679782127.073369-0.53680.5951090.297555
M6-14.5616582959767124.993304-0.11650.9079850.453992
M7-131.285788333769126.340208-1.03910.3065260.153263
M8-116.524230423104124.034076-0.93950.3545360.177268
M965.1267127103127124.0061790.52520.6030720.301536
M1096.69510720441129.1429180.74870.4594790.22974
M1187.6952746740044122.4603060.71610.4791160.239558

\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) & 688.098795765917 & 899.143352 & 0.7653 & 0.449711 & 0.224855 \tabularnewline
Nikkei & 0.0462179954610761 & 0.02709 & 1.7061 & 0.097682 & 0.048841 \tabularnewline
DJ_Indust & 0.278030419928214 & 0.06205 & 4.4808 & 8.9e-05 & 4.5e-05 \tabularnewline
Goudprijs & -0.178777803993867 & 0.051491 & -3.472 & 0.001502 & 0.000751 \tabularnewline
Conjunct_Seizoenzuiver & -57.5548412693366 & 12.588776 & -4.5719 & 6.9e-05 & 3.4e-05 \tabularnewline
Cons_vertrouw & 33.6760247240671 & 8.686369 & 3.8769 & 0.000494 & 0.000247 \tabularnewline
Alg_consumptie_index_BE & -131.109005569773 & 75.27088 & -1.7418 & 0.091145 & 0.045572 \tabularnewline
Gem_rente_kasbon_1j & 131.838648549116 & 130.185368 & 1.0127 & 0.3188 & 0.1594 \tabularnewline
M1 & -34.4247599390837 & 119.646909 & -0.2877 & 0.775417 & 0.387708 \tabularnewline
M2 & 56.988069043629 & 118.586593 & 0.4806 & 0.634098 & 0.317049 \tabularnewline
M3 & -72.544498687564 & 120.302055 & -0.603 & 0.550746 & 0.275373 \tabularnewline
M4 & -24.1245880172990 & 126.555262 & -0.1906 & 0.850024 & 0.425012 \tabularnewline
M5 & -68.2147043679782 & 127.073369 & -0.5368 & 0.595109 & 0.297555 \tabularnewline
M6 & -14.5616582959767 & 124.993304 & -0.1165 & 0.907985 & 0.453992 \tabularnewline
M7 & -131.285788333769 & 126.340208 & -1.0391 & 0.306526 & 0.153263 \tabularnewline
M8 & -116.524230423104 & 124.034076 & -0.9395 & 0.354536 & 0.177268 \tabularnewline
M9 & 65.1267127103127 & 124.006179 & 0.5252 & 0.603072 & 0.301536 \tabularnewline
M10 & 96.69510720441 & 129.142918 & 0.7487 & 0.459479 & 0.22974 \tabularnewline
M11 & 87.6952746740044 & 122.460306 & 0.7161 & 0.479116 & 0.239558 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105624&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]688.098795765917[/C][C]899.143352[/C][C]0.7653[/C][C]0.449711[/C][C]0.224855[/C][/ROW]
[ROW][C]Nikkei[/C][C]0.0462179954610761[/C][C]0.02709[/C][C]1.7061[/C][C]0.097682[/C][C]0.048841[/C][/ROW]
[ROW][C]DJ_Indust[/C][C]0.278030419928214[/C][C]0.06205[/C][C]4.4808[/C][C]8.9e-05[/C][C]4.5e-05[/C][/ROW]
[ROW][C]Goudprijs[/C][C]-0.178777803993867[/C][C]0.051491[/C][C]-3.472[/C][C]0.001502[/C][C]0.000751[/C][/ROW]
[ROW][C]Conjunct_Seizoenzuiver[/C][C]-57.5548412693366[/C][C]12.588776[/C][C]-4.5719[/C][C]6.9e-05[/C][C]3.4e-05[/C][/ROW]
[ROW][C]Cons_vertrouw[/C][C]33.6760247240671[/C][C]8.686369[/C][C]3.8769[/C][C]0.000494[/C][C]0.000247[/C][/ROW]
[ROW][C]Alg_consumptie_index_BE[/C][C]-131.109005569773[/C][C]75.27088[/C][C]-1.7418[/C][C]0.091145[/C][C]0.045572[/C][/ROW]
[ROW][C]Gem_rente_kasbon_1j[/C][C]131.838648549116[/C][C]130.185368[/C][C]1.0127[/C][C]0.3188[/C][C]0.1594[/C][/ROW]
[ROW][C]M1[/C][C]-34.4247599390837[/C][C]119.646909[/C][C]-0.2877[/C][C]0.775417[/C][C]0.387708[/C][/ROW]
[ROW][C]M2[/C][C]56.988069043629[/C][C]118.586593[/C][C]0.4806[/C][C]0.634098[/C][C]0.317049[/C][/ROW]
[ROW][C]M3[/C][C]-72.544498687564[/C][C]120.302055[/C][C]-0.603[/C][C]0.550746[/C][C]0.275373[/C][/ROW]
[ROW][C]M4[/C][C]-24.1245880172990[/C][C]126.555262[/C][C]-0.1906[/C][C]0.850024[/C][C]0.425012[/C][/ROW]
[ROW][C]M5[/C][C]-68.2147043679782[/C][C]127.073369[/C][C]-0.5368[/C][C]0.595109[/C][C]0.297555[/C][/ROW]
[ROW][C]M6[/C][C]-14.5616582959767[/C][C]124.993304[/C][C]-0.1165[/C][C]0.907985[/C][C]0.453992[/C][/ROW]
[ROW][C]M7[/C][C]-131.285788333769[/C][C]126.340208[/C][C]-1.0391[/C][C]0.306526[/C][C]0.153263[/C][/ROW]
[ROW][C]M8[/C][C]-116.524230423104[/C][C]124.034076[/C][C]-0.9395[/C][C]0.354536[/C][C]0.177268[/C][/ROW]
[ROW][C]M9[/C][C]65.1267127103127[/C][C]124.006179[/C][C]0.5252[/C][C]0.603072[/C][C]0.301536[/C][/ROW]
[ROW][C]M10[/C][C]96.69510720441[/C][C]129.142918[/C][C]0.7487[/C][C]0.459479[/C][C]0.22974[/C][/ROW]
[ROW][C]M11[/C][C]87.6952746740044[/C][C]122.460306[/C][C]0.7161[/C][C]0.479116[/C][C]0.239558[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105624&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105624&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)688.098795765917899.1433520.76530.4497110.224855
Nikkei0.04621799546107610.027091.70610.0976820.048841
DJ_Indust0.2780304199282140.062054.48088.9e-054.5e-05
Goudprijs-0.1787778039938670.051491-3.4720.0015020.000751
Conjunct_Seizoenzuiver-57.554841269336612.588776-4.57196.9e-053.4e-05
Cons_vertrouw33.67602472406718.6863693.87690.0004940.000247
Alg_consumptie_index_BE-131.10900556977375.27088-1.74180.0911450.045572
Gem_rente_kasbon_1j131.838648549116130.1853681.01270.31880.1594
M1-34.4247599390837119.646909-0.28770.7754170.387708
M256.988069043629118.5865930.48060.6340980.317049
M3-72.544498687564120.302055-0.6030.5507460.275373
M4-24.1245880172990126.555262-0.19060.8500240.425012
M5-68.2147043679782127.073369-0.53680.5951090.297555
M6-14.5616582959767124.993304-0.11650.9079850.453992
M7-131.285788333769126.340208-1.03910.3065260.153263
M8-116.524230423104124.034076-0.93950.3545360.177268
M965.1267127103127124.0061790.52520.6030720.301536
M1096.69510720441129.1429180.74870.4594790.22974
M1187.6952746740044122.4603060.71610.4791160.239558







Multiple Linear Regression - Regression Statistics
Multiple R0.94922276490454
R-squared0.901023857413022
Adjusted R-squared0.845349777207846
F-TEST (value)16.1839019898036
F-TEST (DF numerator)18
F-TEST (DF denominator)32
p-value2.85611534422969e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation169.602470518423
Sum Squared Residuals920479.936190486

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.94922276490454 \tabularnewline
R-squared & 0.901023857413022 \tabularnewline
Adjusted R-squared & 0.845349777207846 \tabularnewline
F-TEST (value) & 16.1839019898036 \tabularnewline
F-TEST (DF numerator) & 18 \tabularnewline
F-TEST (DF denominator) & 32 \tabularnewline
p-value & 2.85611534422969e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 169.602470518423 \tabularnewline
Sum Squared Residuals & 920479.936190486 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105624&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.94922276490454[/C][/ROW]
[ROW][C]R-squared[/C][C]0.901023857413022[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.845349777207846[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]16.1839019898036[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]18[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]32[/C][/ROW]
[ROW][C]p-value[/C][C]2.85611534422969e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]169.602470518423[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]920479.936190486[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105624&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105624&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.94922276490454
R-squared0.901023857413022
Adjusted R-squared0.845349777207846
F-TEST (value)16.1839019898036
F-TEST (DF numerator)18
F-TEST (DF denominator)32
p-value2.85611534422969e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation169.602470518423
Sum Squared Residuals920479.936190486







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13484.743224.64088077143260.099119228574
23411.133209.95278468158201.177215318422
33288.183212.8860912095675.2939087904361
43280.373134.99638214319145.373617856807
53173.953193.38303085782-19.4330308578158
63165.263009.90491731214155.355082687857
73092.713301.27426870604-208.564268706039
83053.053214.76467480129-161.714674801295
93181.963272.38150022858-90.4215002285755
102999.932922.0846279528877.8453720471175
113249.573148.76806201861100.801937981386
123210.523040.79870095976169.721299040245
133030.293213.49249969773-183.202499697735
142803.473002.84415934495-199.374159344950
152767.632851.11637451454-83.4863745145386
162882.63039.84780185671-157.247801856710
172863.362886.97695304247-23.6169530424729
182897.062878.3400345359318.7199654640731
193012.612847.7530188292164.856981170799
203142.953051.6034157817591.3465842182463
213032.932854.62949975961178.300500240390
223045.782960.2463970426085.5336029574046
233110.523027.6165701499182.903429850085
243013.243041.02513331141-27.7851333114125
252987.13102.68362683346-115.583626833456
262995.553106.40613188762-110.856131887622
272833.182807.5166480640125.6633519359916
282848.963012.44410974976-163.484109749757
292794.832966.54983242192-171.719832421920
302845.263073.86057512869-228.600575128694
312915.022965.5539739007-50.5339739006996
322892.632834.7690818421057.8609181579048
332604.422603.851266363380.568733636618269
342641.652528.84685263005112.80314736995
352659.812558.59725077912101.212749220876
362638.532756.04708943989-117.517089439890
372720.252648.1031385232772.1468614767347
382745.882729.8726447462316.0073552537680
392735.72709.9278565209025.7721434790966
402811.72636.34170625034175.35829374966
412799.432584.66018367779214.769816322209
422555.282500.7544730232454.5255269767635
432304.982210.7387385640694.2412614359392
442214.952202.4428275748612.5071724251435
452065.812154.25773364843-88.4477336484332
461940.492216.67212237447-276.182122374472
4720422326.91811705235-284.918117052346
481995.372019.78907628894-24.4190762889422
491946.811980.26985417412-33.4598541741173
501765.91672.8542793396293.0457206603824
511635.251678.49302969099-43.2430296909856

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3484.74 & 3224.64088077143 & 260.099119228574 \tabularnewline
2 & 3411.13 & 3209.95278468158 & 201.177215318422 \tabularnewline
3 & 3288.18 & 3212.88609120956 & 75.2939087904361 \tabularnewline
4 & 3280.37 & 3134.99638214319 & 145.373617856807 \tabularnewline
5 & 3173.95 & 3193.38303085782 & -19.4330308578158 \tabularnewline
6 & 3165.26 & 3009.90491731214 & 155.355082687857 \tabularnewline
7 & 3092.71 & 3301.27426870604 & -208.564268706039 \tabularnewline
8 & 3053.05 & 3214.76467480129 & -161.714674801295 \tabularnewline
9 & 3181.96 & 3272.38150022858 & -90.4215002285755 \tabularnewline
10 & 2999.93 & 2922.08462795288 & 77.8453720471175 \tabularnewline
11 & 3249.57 & 3148.76806201861 & 100.801937981386 \tabularnewline
12 & 3210.52 & 3040.79870095976 & 169.721299040245 \tabularnewline
13 & 3030.29 & 3213.49249969773 & -183.202499697735 \tabularnewline
14 & 2803.47 & 3002.84415934495 & -199.374159344950 \tabularnewline
15 & 2767.63 & 2851.11637451454 & -83.4863745145386 \tabularnewline
16 & 2882.6 & 3039.84780185671 & -157.247801856710 \tabularnewline
17 & 2863.36 & 2886.97695304247 & -23.6169530424729 \tabularnewline
18 & 2897.06 & 2878.34003453593 & 18.7199654640731 \tabularnewline
19 & 3012.61 & 2847.7530188292 & 164.856981170799 \tabularnewline
20 & 3142.95 & 3051.60341578175 & 91.3465842182463 \tabularnewline
21 & 3032.93 & 2854.62949975961 & 178.300500240390 \tabularnewline
22 & 3045.78 & 2960.24639704260 & 85.5336029574046 \tabularnewline
23 & 3110.52 & 3027.61657014991 & 82.903429850085 \tabularnewline
24 & 3013.24 & 3041.02513331141 & -27.7851333114125 \tabularnewline
25 & 2987.1 & 3102.68362683346 & -115.583626833456 \tabularnewline
26 & 2995.55 & 3106.40613188762 & -110.856131887622 \tabularnewline
27 & 2833.18 & 2807.51664806401 & 25.6633519359916 \tabularnewline
28 & 2848.96 & 3012.44410974976 & -163.484109749757 \tabularnewline
29 & 2794.83 & 2966.54983242192 & -171.719832421920 \tabularnewline
30 & 2845.26 & 3073.86057512869 & -228.600575128694 \tabularnewline
31 & 2915.02 & 2965.5539739007 & -50.5339739006996 \tabularnewline
32 & 2892.63 & 2834.76908184210 & 57.8609181579048 \tabularnewline
33 & 2604.42 & 2603.85126636338 & 0.568733636618269 \tabularnewline
34 & 2641.65 & 2528.84685263005 & 112.80314736995 \tabularnewline
35 & 2659.81 & 2558.59725077912 & 101.212749220876 \tabularnewline
36 & 2638.53 & 2756.04708943989 & -117.517089439890 \tabularnewline
37 & 2720.25 & 2648.10313852327 & 72.1468614767347 \tabularnewline
38 & 2745.88 & 2729.87264474623 & 16.0073552537680 \tabularnewline
39 & 2735.7 & 2709.92785652090 & 25.7721434790966 \tabularnewline
40 & 2811.7 & 2636.34170625034 & 175.35829374966 \tabularnewline
41 & 2799.43 & 2584.66018367779 & 214.769816322209 \tabularnewline
42 & 2555.28 & 2500.75447302324 & 54.5255269767635 \tabularnewline
43 & 2304.98 & 2210.73873856406 & 94.2412614359392 \tabularnewline
44 & 2214.95 & 2202.44282757486 & 12.5071724251435 \tabularnewline
45 & 2065.81 & 2154.25773364843 & -88.4477336484332 \tabularnewline
46 & 1940.49 & 2216.67212237447 & -276.182122374472 \tabularnewline
47 & 2042 & 2326.91811705235 & -284.918117052346 \tabularnewline
48 & 1995.37 & 2019.78907628894 & -24.4190762889422 \tabularnewline
49 & 1946.81 & 1980.26985417412 & -33.4598541741173 \tabularnewline
50 & 1765.9 & 1672.85427933962 & 93.0457206603824 \tabularnewline
51 & 1635.25 & 1678.49302969099 & -43.2430296909856 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105624&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]3484.74[/C][C]3224.64088077143[/C][C]260.099119228574[/C][/ROW]
[ROW][C]2[/C][C]3411.13[/C][C]3209.95278468158[/C][C]201.177215318422[/C][/ROW]
[ROW][C]3[/C][C]3288.18[/C][C]3212.88609120956[/C][C]75.2939087904361[/C][/ROW]
[ROW][C]4[/C][C]3280.37[/C][C]3134.99638214319[/C][C]145.373617856807[/C][/ROW]
[ROW][C]5[/C][C]3173.95[/C][C]3193.38303085782[/C][C]-19.4330308578158[/C][/ROW]
[ROW][C]6[/C][C]3165.26[/C][C]3009.90491731214[/C][C]155.355082687857[/C][/ROW]
[ROW][C]7[/C][C]3092.71[/C][C]3301.27426870604[/C][C]-208.564268706039[/C][/ROW]
[ROW][C]8[/C][C]3053.05[/C][C]3214.76467480129[/C][C]-161.714674801295[/C][/ROW]
[ROW][C]9[/C][C]3181.96[/C][C]3272.38150022858[/C][C]-90.4215002285755[/C][/ROW]
[ROW][C]10[/C][C]2999.93[/C][C]2922.08462795288[/C][C]77.8453720471175[/C][/ROW]
[ROW][C]11[/C][C]3249.57[/C][C]3148.76806201861[/C][C]100.801937981386[/C][/ROW]
[ROW][C]12[/C][C]3210.52[/C][C]3040.79870095976[/C][C]169.721299040245[/C][/ROW]
[ROW][C]13[/C][C]3030.29[/C][C]3213.49249969773[/C][C]-183.202499697735[/C][/ROW]
[ROW][C]14[/C][C]2803.47[/C][C]3002.84415934495[/C][C]-199.374159344950[/C][/ROW]
[ROW][C]15[/C][C]2767.63[/C][C]2851.11637451454[/C][C]-83.4863745145386[/C][/ROW]
[ROW][C]16[/C][C]2882.6[/C][C]3039.84780185671[/C][C]-157.247801856710[/C][/ROW]
[ROW][C]17[/C][C]2863.36[/C][C]2886.97695304247[/C][C]-23.6169530424729[/C][/ROW]
[ROW][C]18[/C][C]2897.06[/C][C]2878.34003453593[/C][C]18.7199654640731[/C][/ROW]
[ROW][C]19[/C][C]3012.61[/C][C]2847.7530188292[/C][C]164.856981170799[/C][/ROW]
[ROW][C]20[/C][C]3142.95[/C][C]3051.60341578175[/C][C]91.3465842182463[/C][/ROW]
[ROW][C]21[/C][C]3032.93[/C][C]2854.62949975961[/C][C]178.300500240390[/C][/ROW]
[ROW][C]22[/C][C]3045.78[/C][C]2960.24639704260[/C][C]85.5336029574046[/C][/ROW]
[ROW][C]23[/C][C]3110.52[/C][C]3027.61657014991[/C][C]82.903429850085[/C][/ROW]
[ROW][C]24[/C][C]3013.24[/C][C]3041.02513331141[/C][C]-27.7851333114125[/C][/ROW]
[ROW][C]25[/C][C]2987.1[/C][C]3102.68362683346[/C][C]-115.583626833456[/C][/ROW]
[ROW][C]26[/C][C]2995.55[/C][C]3106.40613188762[/C][C]-110.856131887622[/C][/ROW]
[ROW][C]27[/C][C]2833.18[/C][C]2807.51664806401[/C][C]25.6633519359916[/C][/ROW]
[ROW][C]28[/C][C]2848.96[/C][C]3012.44410974976[/C][C]-163.484109749757[/C][/ROW]
[ROW][C]29[/C][C]2794.83[/C][C]2966.54983242192[/C][C]-171.719832421920[/C][/ROW]
[ROW][C]30[/C][C]2845.26[/C][C]3073.86057512869[/C][C]-228.600575128694[/C][/ROW]
[ROW][C]31[/C][C]2915.02[/C][C]2965.5539739007[/C][C]-50.5339739006996[/C][/ROW]
[ROW][C]32[/C][C]2892.63[/C][C]2834.76908184210[/C][C]57.8609181579048[/C][/ROW]
[ROW][C]33[/C][C]2604.42[/C][C]2603.85126636338[/C][C]0.568733636618269[/C][/ROW]
[ROW][C]34[/C][C]2641.65[/C][C]2528.84685263005[/C][C]112.80314736995[/C][/ROW]
[ROW][C]35[/C][C]2659.81[/C][C]2558.59725077912[/C][C]101.212749220876[/C][/ROW]
[ROW][C]36[/C][C]2638.53[/C][C]2756.04708943989[/C][C]-117.517089439890[/C][/ROW]
[ROW][C]37[/C][C]2720.25[/C][C]2648.10313852327[/C][C]72.1468614767347[/C][/ROW]
[ROW][C]38[/C][C]2745.88[/C][C]2729.87264474623[/C][C]16.0073552537680[/C][/ROW]
[ROW][C]39[/C][C]2735.7[/C][C]2709.92785652090[/C][C]25.7721434790966[/C][/ROW]
[ROW][C]40[/C][C]2811.7[/C][C]2636.34170625034[/C][C]175.35829374966[/C][/ROW]
[ROW][C]41[/C][C]2799.43[/C][C]2584.66018367779[/C][C]214.769816322209[/C][/ROW]
[ROW][C]42[/C][C]2555.28[/C][C]2500.75447302324[/C][C]54.5255269767635[/C][/ROW]
[ROW][C]43[/C][C]2304.98[/C][C]2210.73873856406[/C][C]94.2412614359392[/C][/ROW]
[ROW][C]44[/C][C]2214.95[/C][C]2202.44282757486[/C][C]12.5071724251435[/C][/ROW]
[ROW][C]45[/C][C]2065.81[/C][C]2154.25773364843[/C][C]-88.4477336484332[/C][/ROW]
[ROW][C]46[/C][C]1940.49[/C][C]2216.67212237447[/C][C]-276.182122374472[/C][/ROW]
[ROW][C]47[/C][C]2042[/C][C]2326.91811705235[/C][C]-284.918117052346[/C][/ROW]
[ROW][C]48[/C][C]1995.37[/C][C]2019.78907628894[/C][C]-24.4190762889422[/C][/ROW]
[ROW][C]49[/C][C]1946.81[/C][C]1980.26985417412[/C][C]-33.4598541741173[/C][/ROW]
[ROW][C]50[/C][C]1765.9[/C][C]1672.85427933962[/C][C]93.0457206603824[/C][/ROW]
[ROW][C]51[/C][C]1635.25[/C][C]1678.49302969099[/C][C]-43.2430296909856[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105624&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105624&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
13484.743224.64088077143260.099119228574
23411.133209.95278468158201.177215318422
33288.183212.8860912095675.2939087904361
43280.373134.99638214319145.373617856807
53173.953193.38303085782-19.4330308578158
63165.263009.90491731214155.355082687857
73092.713301.27426870604-208.564268706039
83053.053214.76467480129-161.714674801295
93181.963272.38150022858-90.4215002285755
102999.932922.0846279528877.8453720471175
113249.573148.76806201861100.801937981386
123210.523040.79870095976169.721299040245
133030.293213.49249969773-183.202499697735
142803.473002.84415934495-199.374159344950
152767.632851.11637451454-83.4863745145386
162882.63039.84780185671-157.247801856710
172863.362886.97695304247-23.6169530424729
182897.062878.3400345359318.7199654640731
193012.612847.7530188292164.856981170799
203142.953051.6034157817591.3465842182463
213032.932854.62949975961178.300500240390
223045.782960.2463970426085.5336029574046
233110.523027.6165701499182.903429850085
243013.243041.02513331141-27.7851333114125
252987.13102.68362683346-115.583626833456
262995.553106.40613188762-110.856131887622
272833.182807.5166480640125.6633519359916
282848.963012.44410974976-163.484109749757
292794.832966.54983242192-171.719832421920
302845.263073.86057512869-228.600575128694
312915.022965.5539739007-50.5339739006996
322892.632834.7690818421057.8609181579048
332604.422603.851266363380.568733636618269
342641.652528.84685263005112.80314736995
352659.812558.59725077912101.212749220876
362638.532756.04708943989-117.517089439890
372720.252648.1031385232772.1468614767347
382745.882729.8726447462316.0073552537680
392735.72709.9278565209025.7721434790966
402811.72636.34170625034175.35829374966
412799.432584.66018367779214.769816322209
422555.282500.7544730232454.5255269767635
432304.982210.7387385640694.2412614359392
442214.952202.4428275748612.5071724251435
452065.812154.25773364843-88.4477336484332
461940.492216.67212237447-276.182122374472
4720422326.91811705235-284.918117052346
481995.372019.78907628894-24.4190762889422
491946.811980.26985417412-33.4598541741173
501765.91672.8542793396293.0457206603824
511635.251678.49302969099-43.2430296909856







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.1886795589311620.3773591178623230.811320441068838
230.3476281230173320.6952562460346640.652371876982668
240.4532082079337190.9064164158674370.546791792066281
250.3185107498930350.6370214997860710.681489250106965
260.4299945729703010.8599891459406020.570005427029699
270.2827889799483180.5655779598966370.717211020051681
280.3742126344319920.7484252688639840.625787365568008
290.2669282334834210.5338564669668430.733071766516578

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
22 & 0.188679558931162 & 0.377359117862323 & 0.811320441068838 \tabularnewline
23 & 0.347628123017332 & 0.695256246034664 & 0.652371876982668 \tabularnewline
24 & 0.453208207933719 & 0.906416415867437 & 0.546791792066281 \tabularnewline
25 & 0.318510749893035 & 0.637021499786071 & 0.681489250106965 \tabularnewline
26 & 0.429994572970301 & 0.859989145940602 & 0.570005427029699 \tabularnewline
27 & 0.282788979948318 & 0.565577959896637 & 0.717211020051681 \tabularnewline
28 & 0.374212634431992 & 0.748425268863984 & 0.625787365568008 \tabularnewline
29 & 0.266928233483421 & 0.533856466966843 & 0.733071766516578 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105624&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]22[/C][C]0.188679558931162[/C][C]0.377359117862323[/C][C]0.811320441068838[/C][/ROW]
[ROW][C]23[/C][C]0.347628123017332[/C][C]0.695256246034664[/C][C]0.652371876982668[/C][/ROW]
[ROW][C]24[/C][C]0.453208207933719[/C][C]0.906416415867437[/C][C]0.546791792066281[/C][/ROW]
[ROW][C]25[/C][C]0.318510749893035[/C][C]0.637021499786071[/C][C]0.681489250106965[/C][/ROW]
[ROW][C]26[/C][C]0.429994572970301[/C][C]0.859989145940602[/C][C]0.570005427029699[/C][/ROW]
[ROW][C]27[/C][C]0.282788979948318[/C][C]0.565577959896637[/C][C]0.717211020051681[/C][/ROW]
[ROW][C]28[/C][C]0.374212634431992[/C][C]0.748425268863984[/C][C]0.625787365568008[/C][/ROW]
[ROW][C]29[/C][C]0.266928233483421[/C][C]0.533856466966843[/C][C]0.733071766516578[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105624&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105624&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
220.1886795589311620.3773591178623230.811320441068838
230.3476281230173320.6952562460346640.652371876982668
240.4532082079337190.9064164158674370.546791792066281
250.3185107498930350.6370214997860710.681489250106965
260.4299945729703010.8599891459406020.570005427029699
270.2827889799483180.5655779598966370.717211020051681
280.3742126344319920.7484252688639840.625787365568008
290.2669282334834210.5338564669668430.733071766516578







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=105624&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=105624&T=6

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