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:57:06 +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/t1291647294f8cgejwfrcegrof.htm/, Retrieved Sun, 28 Apr 2024 21:52:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105632, Retrieved Sun, 28 Apr 2024 21:52:02 +0000
QR Codes:

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

Post a new message
Dataseries X:
1635.25	8169.75	7977.64	10171	-14.9	-18	1.8	2.05
1833.42	7905.84	8334.59	9721	-16.2	-11	1.5	2.05
1910.43	8145.82	8623.36	9897	-14.4	-9	1	1.81
1959.67	8895.71	9098.03	9828	-17.3	-10	1.6	1.58
1969.6	9676.31	9154.34	9924	-15.7	-13	1.5	1.57
2061.41	9884.59	9284.73	10371	-12.6	-11	1.8	1.76
2093.48	10637.44	9492.49	10846	-9.4	-5	1.8	1.76
2120.88	10717.13	9682.35	10413	-8.1	-15	1.6	1.89
2174.56	10205.29	9762.12	10709	-5.4	-6	1.9	1.9
2196.72	10295.98	10124.63	10662	-4.6	-6	1.7	1.9
2350.44	10892.76	10540.05	10570	-4.9	-3	1.6	1.92
2440.25	10631.92	10601.61	10297	-4	-1	1.3	1.76
2408.64	11441.08	10323.73	10635	-3.1	-3	1.1	1.64
2472.81	11950.95	10418.4	10872	-1.3	-4	1.9	1.57
2407.6	11037.54	10092.96	10296	0	-6	2.6	1.69
2454.62	11527.72	10364.91	10383	-0.4	0	2.3	1.76
2448.05	11383.89	10152.09	10431	3	-4	2.4	1.89
2497.84	10989.34	10032.8	10574	0.4	-2	2.2	1.78
2645.64	11079.42	10204.59	10653	1.2	-2	2	1.88
2756.76	11028.93	10001.6	10805	0.6	-6	2.9	1.86
2849.27	10973	10411.75	10872	-1.3	-7	2.6	1.88
2921.44	11068.05	10673.38	10625	-3.2	-6	2.3	1.87
2981.85	11394.84	10539.51	10407	-1.8	-6	2.3	1.86
3080.58	11545.71	10723.78	10463	-3.6	-3	2.6	1.89
3106.22	11809.38	10682.06	10556	-4.2	-2	3.1	1.9
3119.31	11395.64	10283.19	10646	-6.9	-5	2.8	1.89
3061.26	11082.38	10377.18	10702	-8	-11	2.5	1.85
3097.31	11402.75	10486.64	11353	-7.5	-11	2.9	1.78
3161.69	11716.87	10545.38	11346	-8.2	-11	3.1	1.71
3257.16	12204.98	10554.27	11451	-7.6	-10	3.1	1.69
3277.01	12986.62	10532.54	11964	-3.7	-14	3.2	1.72
3295.32	13392.79	10324.31	12574	-1.7	-8	2.5	1.77
3363.99	14368.05	10695.25	13031	-0.7	-9	2.6	1.98
3494.17	15650.83	10827.81	13812	0.2	-5	2.9	2.2
3667.03	16102.64	10872.48	14544	0.6	-1	2.6	2.25
3813.06	16187.64	10971.19	14931	2.2	-2	2.4	2.24
3917.96	16311.54	11145.65	14886	3.3	-5	1.7	2.51
3895.51	17232.97	11234.68	16005	5.3	-4	2	2.79
3801.06	16397.83	11333.88	17064	5.5	-6	2.2	3.07
3570.12	14990.31	10997.97	15168	6.3	-2	1.9	3.08
3701.61	15147.55	11036.89	16050	7.7	-2	1.6	3.05
3862.27	15786.78	11257.35	15839	6.5	-2	1.6	3.08
3970.1	15934.09	11533.59	15137	5.5	-2	1.2	3.15
4138.52	16519.44	11963.12	14954	6.9	2	1.2	3.16
4199.75	16101.07	12185.15	15648	5.7	1	1.5	3.16
4290.89	16775.08	12377.62	15305	6.9	-8	1.6	3.19
4443.91	17286.32	12512.89	15579	6.1	-1	1.7	3.44
4502.64	17741.23	12631.48	16348	4.8	1	1.8	3.55
4356.98	17128.37	12268.53	15928	3.7	-1	1.8	3.6
4591.27	17460.53	12754.8	16171	5.8	2	1.8	3.62
4696.96	17611.14	13407.75	15937	6.8	2	1.3	3.69




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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -4162.90150693943 + 0.0638179802619133Nikkei[t] + 0.402353700913268DJ_Indust[t] + 0.0963455379503522Goudprijs[t] -14.9608458786253Conjunct_Seizoenzuiver[t] -4.07998337596778Cons_vertrouw[t] + 253.964447027001Alg_consumptie_index_BE[t] + 183.299513518561Gem_rente_kasbon_1j[t] + 24.9144552917607M1[t] + 12.0310172490279M2[t] -31.6485543535592M3[t] -80.3430192654199M4[t] -47.2277227733143M5[t] -4.40120853957415M6[t] + 22.0742445366294M7[t] + 66.1102220435124M8[t] -38.1169925279443M9[t] -97.3200633225077M10[t] -33.8625976909345M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
BEL_20[t] =  -4162.90150693943 +  0.0638179802619133Nikkei[t] +  0.402353700913268DJ_Indust[t] +  0.0963455379503522Goudprijs[t] -14.9608458786253Conjunct_Seizoenzuiver[t] -4.07998337596778Cons_vertrouw[t] +  253.964447027001Alg_consumptie_index_BE[t] +  183.299513518561Gem_rente_kasbon_1j[t] +  24.9144552917607M1[t] +  12.0310172490279M2[t] -31.6485543535592M3[t] -80.3430192654199M4[t] -47.2277227733143M5[t] -4.40120853957415M6[t] +  22.0742445366294M7[t] +  66.1102220435124M8[t] -38.1169925279443M9[t] -97.3200633225077M10[t] -33.8625976909345M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105632&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]BEL_20[t] =  -4162.90150693943 +  0.0638179802619133Nikkei[t] +  0.402353700913268DJ_Indust[t] +  0.0963455379503522Goudprijs[t] -14.9608458786253Conjunct_Seizoenzuiver[t] -4.07998337596778Cons_vertrouw[t] +  253.964447027001Alg_consumptie_index_BE[t] +  183.299513518561Gem_rente_kasbon_1j[t] +  24.9144552917607M1[t] +  12.0310172490279M2[t] -31.6485543535592M3[t] -80.3430192654199M4[t] -47.2277227733143M5[t] -4.40120853957415M6[t] +  22.0742445366294M7[t] +  66.1102220435124M8[t] -38.1169925279443M9[t] -97.3200633225077M10[t] -33.8625976909345M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105632&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105632&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] = -4162.90150693943 + 0.0638179802619133Nikkei[t] + 0.402353700913268DJ_Indust[t] + 0.0963455379503522Goudprijs[t] -14.9608458786253Conjunct_Seizoenzuiver[t] -4.07998337596778Cons_vertrouw[t] + 253.964447027001Alg_consumptie_index_BE[t] + 183.299513518561Gem_rente_kasbon_1j[t] + 24.9144552917607M1[t] + 12.0310172490279M2[t] -31.6485543535592M3[t] -80.3430192654199M4[t] -47.2277227733143M5[t] -4.40120853957415M6[t] + 22.0742445366294M7[t] + 66.1102220435124M8[t] -38.1169925279443M9[t] -97.3200633225077M10[t] -33.8625976909345M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-4162.90150693943781.614662-5.3268e-064e-06
Nikkei0.06381798026191330.0663880.96130.3436180.171809
DJ_Indust0.4023537009132680.0875474.59596.4e-053.2e-05
Goudprijs0.09634553795035220.075181.28150.2092150.104607
Conjunct_Seizoenzuiver-14.96084587862539.679435-1.54560.1320270.066013
Cons_vertrouw-4.0799833759677810.704407-0.38110.7056110.352805
Alg_consumptie_index_BE253.96444702700160.7386454.18130.000210.000105
Gem_rente_kasbon_1j183.299513518561141.8737311.2920.2056140.102807
M124.9144552917607131.5662760.18940.8510.4255
M212.0310172490279127.4843190.09440.9254020.462701
M3-31.6485543535592131.943702-0.23990.8119660.405983
M4-80.3430192654199134.506658-0.59730.55450.27725
M5-47.2277227733143139.800103-0.33780.7377030.368851
M6-4.40120853957415135.633715-0.03240.9743150.487158
M722.0742445366294136.7246040.16150.8727540.436377
M866.1102220435124144.0433740.4590.6493650.324682
M9-38.1169925279443137.20537-0.27780.7829450.391473
M10-97.3200633225077139.431396-0.6980.4902320.245116
M11-33.8625976909345131.573216-0.25740.7985430.399272

\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) & -4162.90150693943 & 781.614662 & -5.326 & 8e-06 & 4e-06 \tabularnewline
Nikkei & 0.0638179802619133 & 0.066388 & 0.9613 & 0.343618 & 0.171809 \tabularnewline
DJ_Indust & 0.402353700913268 & 0.087547 & 4.5959 & 6.4e-05 & 3.2e-05 \tabularnewline
Goudprijs & 0.0963455379503522 & 0.07518 & 1.2815 & 0.209215 & 0.104607 \tabularnewline
Conjunct_Seizoenzuiver & -14.9608458786253 & 9.679435 & -1.5456 & 0.132027 & 0.066013 \tabularnewline
Cons_vertrouw & -4.07998337596778 & 10.704407 & -0.3811 & 0.705611 & 0.352805 \tabularnewline
Alg_consumptie_index_BE & 253.964447027001 & 60.738645 & 4.1813 & 0.00021 & 0.000105 \tabularnewline
Gem_rente_kasbon_1j & 183.299513518561 & 141.873731 & 1.292 & 0.205614 & 0.102807 \tabularnewline
M1 & 24.9144552917607 & 131.566276 & 0.1894 & 0.851 & 0.4255 \tabularnewline
M2 & 12.0310172490279 & 127.484319 & 0.0944 & 0.925402 & 0.462701 \tabularnewline
M3 & -31.6485543535592 & 131.943702 & -0.2399 & 0.811966 & 0.405983 \tabularnewline
M4 & -80.3430192654199 & 134.506658 & -0.5973 & 0.5545 & 0.27725 \tabularnewline
M5 & -47.2277227733143 & 139.800103 & -0.3378 & 0.737703 & 0.368851 \tabularnewline
M6 & -4.40120853957415 & 135.633715 & -0.0324 & 0.974315 & 0.487158 \tabularnewline
M7 & 22.0742445366294 & 136.724604 & 0.1615 & 0.872754 & 0.436377 \tabularnewline
M8 & 66.1102220435124 & 144.043374 & 0.459 & 0.649365 & 0.324682 \tabularnewline
M9 & -38.1169925279443 & 137.20537 & -0.2778 & 0.782945 & 0.391473 \tabularnewline
M10 & -97.3200633225077 & 139.431396 & -0.698 & 0.490232 & 0.245116 \tabularnewline
M11 & -33.8625976909345 & 131.573216 & -0.2574 & 0.798543 & 0.399272 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105632&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]-4162.90150693943[/C][C]781.614662[/C][C]-5.326[/C][C]8e-06[/C][C]4e-06[/C][/ROW]
[ROW][C]Nikkei[/C][C]0.0638179802619133[/C][C]0.066388[/C][C]0.9613[/C][C]0.343618[/C][C]0.171809[/C][/ROW]
[ROW][C]DJ_Indust[/C][C]0.402353700913268[/C][C]0.087547[/C][C]4.5959[/C][C]6.4e-05[/C][C]3.2e-05[/C][/ROW]
[ROW][C]Goudprijs[/C][C]0.0963455379503522[/C][C]0.07518[/C][C]1.2815[/C][C]0.209215[/C][C]0.104607[/C][/ROW]
[ROW][C]Conjunct_Seizoenzuiver[/C][C]-14.9608458786253[/C][C]9.679435[/C][C]-1.5456[/C][C]0.132027[/C][C]0.066013[/C][/ROW]
[ROW][C]Cons_vertrouw[/C][C]-4.07998337596778[/C][C]10.704407[/C][C]-0.3811[/C][C]0.705611[/C][C]0.352805[/C][/ROW]
[ROW][C]Alg_consumptie_index_BE[/C][C]253.964447027001[/C][C]60.738645[/C][C]4.1813[/C][C]0.00021[/C][C]0.000105[/C][/ROW]
[ROW][C]Gem_rente_kasbon_1j[/C][C]183.299513518561[/C][C]141.873731[/C][C]1.292[/C][C]0.205614[/C][C]0.102807[/C][/ROW]
[ROW][C]M1[/C][C]24.9144552917607[/C][C]131.566276[/C][C]0.1894[/C][C]0.851[/C][C]0.4255[/C][/ROW]
[ROW][C]M2[/C][C]12.0310172490279[/C][C]127.484319[/C][C]0.0944[/C][C]0.925402[/C][C]0.462701[/C][/ROW]
[ROW][C]M3[/C][C]-31.6485543535592[/C][C]131.943702[/C][C]-0.2399[/C][C]0.811966[/C][C]0.405983[/C][/ROW]
[ROW][C]M4[/C][C]-80.3430192654199[/C][C]134.506658[/C][C]-0.5973[/C][C]0.5545[/C][C]0.27725[/C][/ROW]
[ROW][C]M5[/C][C]-47.2277227733143[/C][C]139.800103[/C][C]-0.3378[/C][C]0.737703[/C][C]0.368851[/C][/ROW]
[ROW][C]M6[/C][C]-4.40120853957415[/C][C]135.633715[/C][C]-0.0324[/C][C]0.974315[/C][C]0.487158[/C][/ROW]
[ROW][C]M7[/C][C]22.0742445366294[/C][C]136.724604[/C][C]0.1615[/C][C]0.872754[/C][C]0.436377[/C][/ROW]
[ROW][C]M8[/C][C]66.1102220435124[/C][C]144.043374[/C][C]0.459[/C][C]0.649365[/C][C]0.324682[/C][/ROW]
[ROW][C]M9[/C][C]-38.1169925279443[/C][C]137.20537[/C][C]-0.2778[/C][C]0.782945[/C][C]0.391473[/C][/ROW]
[ROW][C]M10[/C][C]-97.3200633225077[/C][C]139.431396[/C][C]-0.698[/C][C]0.490232[/C][C]0.245116[/C][/ROW]
[ROW][C]M11[/C][C]-33.8625976909345[/C][C]131.573216[/C][C]-0.2574[/C][C]0.798543[/C][C]0.399272[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105632&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105632&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)-4162.90150693943781.614662-5.3268e-064e-06
Nikkei0.06381798026191330.0663880.96130.3436180.171809
DJ_Indust0.4023537009132680.0875474.59596.4e-053.2e-05
Goudprijs0.09634553795035220.075181.28150.2092150.104607
Conjunct_Seizoenzuiver-14.96084587862539.679435-1.54560.1320270.066013
Cons_vertrouw-4.0799833759677810.704407-0.38110.7056110.352805
Alg_consumptie_index_BE253.96444702700160.7386454.18130.000210.000105
Gem_rente_kasbon_1j183.299513518561141.8737311.2920.2056140.102807
M124.9144552917607131.5662760.18940.8510.4255
M212.0310172490279127.4843190.09440.9254020.462701
M3-31.6485543535592131.943702-0.23990.8119660.405983
M4-80.3430192654199134.506658-0.59730.55450.27725
M5-47.2277227733143139.800103-0.33780.7377030.368851
M6-4.40120853957415135.633715-0.03240.9743150.487158
M722.0742445366294136.7246040.16150.8727540.436377
M866.1102220435124144.0433740.4590.6493650.324682
M9-38.1169925279443137.20537-0.27780.7829450.391473
M10-97.3200633225077139.431396-0.6980.4902320.245116
M11-33.8625976909345131.573216-0.25740.7985430.399272







Multiple Linear Regression - Regression Statistics
Multiple R0.984771263508163
R-squared0.969774441431463
Adjusted R-squared0.95277256473666
F-TEST (value)57.0392585971375
F-TEST (DF numerator)18
F-TEST (DF denominator)32
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation182.219833680821
Sum Squared Residuals1062530.16917331

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.984771263508163 \tabularnewline
R-squared & 0.969774441431463 \tabularnewline
Adjusted R-squared & 0.95277256473666 \tabularnewline
F-TEST (value) & 57.0392585971375 \tabularnewline
F-TEST (DF numerator) & 18 \tabularnewline
F-TEST (DF denominator) & 32 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 182.219833680821 \tabularnewline
Sum Squared Residuals & 1062530.16917331 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105632&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.984771263508163[/C][/ROW]
[ROW][C]R-squared[/C][C]0.969774441431463[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.95277256473666[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]57.0392585971375[/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]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]182.219833680821[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1062530.16917331[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105632&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105632&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.984771263508163
R-squared0.969774441431463
Adjusted R-squared0.95277256473666
F-TEST (value)57.0392585971375
F-TEST (DF numerator)18
F-TEST (DF denominator)32
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation182.219833680821
Sum Squared Residuals1062530.16917331







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11635.251702.40964936445-67.1596493644514
21833.421687.64855151646145.771448483541
31910.431586.36491561770324.065084382304
41959.671927.5505215492832.1194784507189
51969.62003.46099885971-33.8609988597131
62061.412211.58652924925-150.176529249245
72093.482343.10987712638-249.629877126381
82120.882421.29154667270-300.411546672704
92174.562345.92196602643-171.361966026433
102196.722371.07398158792-174.353981587924
112350.442601.41657562551-250.976575625514
122440.252489.95746899894-49.7074689989381
132408.642409.17600105041-0.536001050413833
142472.812657.24720643326-184.437206433259
152407.62557.32055684587-149.720556845872
162454.622575.85661019768-121.236610197682
172448.052533.46707675863-85.41707675863
182497.842476.6772424650421.1627575349631
192645.642541.20144422476104.438555775242
202756.762765.18444901326-8.42444901326227
212849.272788.8506629856360.4193370143661
222921.442763.5072366613157.932763338700
232981.852750.17518348297231.674816517032
243080.582969.58095841580110.999041584195
253106.223137.2079819904-30.9879819903986
263119.312920.71667528326198.593324716736
273061.262857.67357373134203.586426268661
283097.313017.4614463888279.8485536111783
293161.693142.0176000409319.672399959069
303257.163212.9650333327144.1949666672939
313277.013318.87335223401-41.8633522340062
323295.323140.80721653638154.512783463615
333363.993345.1065980941818.8834019058189
343494.173583.08036003983-88.9103600398321
353667.033674.5408706455-7.51087064549996
363813.063718.3467990922194.713200907786
373917.963684.52615498451233.433845015485
383895.513967.59024821335-72.0802482133481
393801.064119.84169116165-318.781691161654
403570.123560.851421864219.2685781357851
413701.613602.0043243407399.6056756592742
423862.273777.4511949530184.8188050469886
433970.13783.04532641486187.054673585145
444138.523984.19678777765154.323212222350
454199.754107.6907728937592.059227106248
464290.894185.55842171094105.331578289056
474443.914417.0973702460226.8126297539823
484502.644658.64477349304-156.004773493043
494356.984491.73021261022-134.750212610222
504591.274679.11731855367-87.8473185536699
514696.964756.10926264344-59.1492626434395

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1635.25 & 1702.40964936445 & -67.1596493644514 \tabularnewline
2 & 1833.42 & 1687.64855151646 & 145.771448483541 \tabularnewline
3 & 1910.43 & 1586.36491561770 & 324.065084382304 \tabularnewline
4 & 1959.67 & 1927.55052154928 & 32.1194784507189 \tabularnewline
5 & 1969.6 & 2003.46099885971 & -33.8609988597131 \tabularnewline
6 & 2061.41 & 2211.58652924925 & -150.176529249245 \tabularnewline
7 & 2093.48 & 2343.10987712638 & -249.629877126381 \tabularnewline
8 & 2120.88 & 2421.29154667270 & -300.411546672704 \tabularnewline
9 & 2174.56 & 2345.92196602643 & -171.361966026433 \tabularnewline
10 & 2196.72 & 2371.07398158792 & -174.353981587924 \tabularnewline
11 & 2350.44 & 2601.41657562551 & -250.976575625514 \tabularnewline
12 & 2440.25 & 2489.95746899894 & -49.7074689989381 \tabularnewline
13 & 2408.64 & 2409.17600105041 & -0.536001050413833 \tabularnewline
14 & 2472.81 & 2657.24720643326 & -184.437206433259 \tabularnewline
15 & 2407.6 & 2557.32055684587 & -149.720556845872 \tabularnewline
16 & 2454.62 & 2575.85661019768 & -121.236610197682 \tabularnewline
17 & 2448.05 & 2533.46707675863 & -85.41707675863 \tabularnewline
18 & 2497.84 & 2476.67724246504 & 21.1627575349631 \tabularnewline
19 & 2645.64 & 2541.20144422476 & 104.438555775242 \tabularnewline
20 & 2756.76 & 2765.18444901326 & -8.42444901326227 \tabularnewline
21 & 2849.27 & 2788.85066298563 & 60.4193370143661 \tabularnewline
22 & 2921.44 & 2763.5072366613 & 157.932763338700 \tabularnewline
23 & 2981.85 & 2750.17518348297 & 231.674816517032 \tabularnewline
24 & 3080.58 & 2969.58095841580 & 110.999041584195 \tabularnewline
25 & 3106.22 & 3137.2079819904 & -30.9879819903986 \tabularnewline
26 & 3119.31 & 2920.71667528326 & 198.593324716736 \tabularnewline
27 & 3061.26 & 2857.67357373134 & 203.586426268661 \tabularnewline
28 & 3097.31 & 3017.46144638882 & 79.8485536111783 \tabularnewline
29 & 3161.69 & 3142.01760004093 & 19.672399959069 \tabularnewline
30 & 3257.16 & 3212.96503333271 & 44.1949666672939 \tabularnewline
31 & 3277.01 & 3318.87335223401 & -41.8633522340062 \tabularnewline
32 & 3295.32 & 3140.80721653638 & 154.512783463615 \tabularnewline
33 & 3363.99 & 3345.10659809418 & 18.8834019058189 \tabularnewline
34 & 3494.17 & 3583.08036003983 & -88.9103600398321 \tabularnewline
35 & 3667.03 & 3674.5408706455 & -7.51087064549996 \tabularnewline
36 & 3813.06 & 3718.34679909221 & 94.713200907786 \tabularnewline
37 & 3917.96 & 3684.52615498451 & 233.433845015485 \tabularnewline
38 & 3895.51 & 3967.59024821335 & -72.0802482133481 \tabularnewline
39 & 3801.06 & 4119.84169116165 & -318.781691161654 \tabularnewline
40 & 3570.12 & 3560.85142186421 & 9.2685781357851 \tabularnewline
41 & 3701.61 & 3602.00432434073 & 99.6056756592742 \tabularnewline
42 & 3862.27 & 3777.45119495301 & 84.8188050469886 \tabularnewline
43 & 3970.1 & 3783.04532641486 & 187.054673585145 \tabularnewline
44 & 4138.52 & 3984.19678777765 & 154.323212222350 \tabularnewline
45 & 4199.75 & 4107.69077289375 & 92.059227106248 \tabularnewline
46 & 4290.89 & 4185.55842171094 & 105.331578289056 \tabularnewline
47 & 4443.91 & 4417.09737024602 & 26.8126297539823 \tabularnewline
48 & 4502.64 & 4658.64477349304 & -156.004773493043 \tabularnewline
49 & 4356.98 & 4491.73021261022 & -134.750212610222 \tabularnewline
50 & 4591.27 & 4679.11731855367 & -87.8473185536699 \tabularnewline
51 & 4696.96 & 4756.10926264344 & -59.1492626434395 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105632&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]1635.25[/C][C]1702.40964936445[/C][C]-67.1596493644514[/C][/ROW]
[ROW][C]2[/C][C]1833.42[/C][C]1687.64855151646[/C][C]145.771448483541[/C][/ROW]
[ROW][C]3[/C][C]1910.43[/C][C]1586.36491561770[/C][C]324.065084382304[/C][/ROW]
[ROW][C]4[/C][C]1959.67[/C][C]1927.55052154928[/C][C]32.1194784507189[/C][/ROW]
[ROW][C]5[/C][C]1969.6[/C][C]2003.46099885971[/C][C]-33.8609988597131[/C][/ROW]
[ROW][C]6[/C][C]2061.41[/C][C]2211.58652924925[/C][C]-150.176529249245[/C][/ROW]
[ROW][C]7[/C][C]2093.48[/C][C]2343.10987712638[/C][C]-249.629877126381[/C][/ROW]
[ROW][C]8[/C][C]2120.88[/C][C]2421.29154667270[/C][C]-300.411546672704[/C][/ROW]
[ROW][C]9[/C][C]2174.56[/C][C]2345.92196602643[/C][C]-171.361966026433[/C][/ROW]
[ROW][C]10[/C][C]2196.72[/C][C]2371.07398158792[/C][C]-174.353981587924[/C][/ROW]
[ROW][C]11[/C][C]2350.44[/C][C]2601.41657562551[/C][C]-250.976575625514[/C][/ROW]
[ROW][C]12[/C][C]2440.25[/C][C]2489.95746899894[/C][C]-49.7074689989381[/C][/ROW]
[ROW][C]13[/C][C]2408.64[/C][C]2409.17600105041[/C][C]-0.536001050413833[/C][/ROW]
[ROW][C]14[/C][C]2472.81[/C][C]2657.24720643326[/C][C]-184.437206433259[/C][/ROW]
[ROW][C]15[/C][C]2407.6[/C][C]2557.32055684587[/C][C]-149.720556845872[/C][/ROW]
[ROW][C]16[/C][C]2454.62[/C][C]2575.85661019768[/C][C]-121.236610197682[/C][/ROW]
[ROW][C]17[/C][C]2448.05[/C][C]2533.46707675863[/C][C]-85.41707675863[/C][/ROW]
[ROW][C]18[/C][C]2497.84[/C][C]2476.67724246504[/C][C]21.1627575349631[/C][/ROW]
[ROW][C]19[/C][C]2645.64[/C][C]2541.20144422476[/C][C]104.438555775242[/C][/ROW]
[ROW][C]20[/C][C]2756.76[/C][C]2765.18444901326[/C][C]-8.42444901326227[/C][/ROW]
[ROW][C]21[/C][C]2849.27[/C][C]2788.85066298563[/C][C]60.4193370143661[/C][/ROW]
[ROW][C]22[/C][C]2921.44[/C][C]2763.5072366613[/C][C]157.932763338700[/C][/ROW]
[ROW][C]23[/C][C]2981.85[/C][C]2750.17518348297[/C][C]231.674816517032[/C][/ROW]
[ROW][C]24[/C][C]3080.58[/C][C]2969.58095841580[/C][C]110.999041584195[/C][/ROW]
[ROW][C]25[/C][C]3106.22[/C][C]3137.2079819904[/C][C]-30.9879819903986[/C][/ROW]
[ROW][C]26[/C][C]3119.31[/C][C]2920.71667528326[/C][C]198.593324716736[/C][/ROW]
[ROW][C]27[/C][C]3061.26[/C][C]2857.67357373134[/C][C]203.586426268661[/C][/ROW]
[ROW][C]28[/C][C]3097.31[/C][C]3017.46144638882[/C][C]79.8485536111783[/C][/ROW]
[ROW][C]29[/C][C]3161.69[/C][C]3142.01760004093[/C][C]19.672399959069[/C][/ROW]
[ROW][C]30[/C][C]3257.16[/C][C]3212.96503333271[/C][C]44.1949666672939[/C][/ROW]
[ROW][C]31[/C][C]3277.01[/C][C]3318.87335223401[/C][C]-41.8633522340062[/C][/ROW]
[ROW][C]32[/C][C]3295.32[/C][C]3140.80721653638[/C][C]154.512783463615[/C][/ROW]
[ROW][C]33[/C][C]3363.99[/C][C]3345.10659809418[/C][C]18.8834019058189[/C][/ROW]
[ROW][C]34[/C][C]3494.17[/C][C]3583.08036003983[/C][C]-88.9103600398321[/C][/ROW]
[ROW][C]35[/C][C]3667.03[/C][C]3674.5408706455[/C][C]-7.51087064549996[/C][/ROW]
[ROW][C]36[/C][C]3813.06[/C][C]3718.34679909221[/C][C]94.713200907786[/C][/ROW]
[ROW][C]37[/C][C]3917.96[/C][C]3684.52615498451[/C][C]233.433845015485[/C][/ROW]
[ROW][C]38[/C][C]3895.51[/C][C]3967.59024821335[/C][C]-72.0802482133481[/C][/ROW]
[ROW][C]39[/C][C]3801.06[/C][C]4119.84169116165[/C][C]-318.781691161654[/C][/ROW]
[ROW][C]40[/C][C]3570.12[/C][C]3560.85142186421[/C][C]9.2685781357851[/C][/ROW]
[ROW][C]41[/C][C]3701.61[/C][C]3602.00432434073[/C][C]99.6056756592742[/C][/ROW]
[ROW][C]42[/C][C]3862.27[/C][C]3777.45119495301[/C][C]84.8188050469886[/C][/ROW]
[ROW][C]43[/C][C]3970.1[/C][C]3783.04532641486[/C][C]187.054673585145[/C][/ROW]
[ROW][C]44[/C][C]4138.52[/C][C]3984.19678777765[/C][C]154.323212222350[/C][/ROW]
[ROW][C]45[/C][C]4199.75[/C][C]4107.69077289375[/C][C]92.059227106248[/C][/ROW]
[ROW][C]46[/C][C]4290.89[/C][C]4185.55842171094[/C][C]105.331578289056[/C][/ROW]
[ROW][C]47[/C][C]4443.91[/C][C]4417.09737024602[/C][C]26.8126297539823[/C][/ROW]
[ROW][C]48[/C][C]4502.64[/C][C]4658.64477349304[/C][C]-156.004773493043[/C][/ROW]
[ROW][C]49[/C][C]4356.98[/C][C]4491.73021261022[/C][C]-134.750212610222[/C][/ROW]
[ROW][C]50[/C][C]4591.27[/C][C]4679.11731855367[/C][C]-87.8473185536699[/C][/ROW]
[ROW][C]51[/C][C]4696.96[/C][C]4756.10926264344[/C][C]-59.1492626434395[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105632&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105632&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
11635.251702.40964936445-67.1596493644514
21833.421687.64855151646145.771448483541
31910.431586.36491561770324.065084382304
41959.671927.5505215492832.1194784507189
51969.62003.46099885971-33.8609988597131
62061.412211.58652924925-150.176529249245
72093.482343.10987712638-249.629877126381
82120.882421.29154667270-300.411546672704
92174.562345.92196602643-171.361966026433
102196.722371.07398158792-174.353981587924
112350.442601.41657562551-250.976575625514
122440.252489.95746899894-49.7074689989381
132408.642409.17600105041-0.536001050413833
142472.812657.24720643326-184.437206433259
152407.62557.32055684587-149.720556845872
162454.622575.85661019768-121.236610197682
172448.052533.46707675863-85.41707675863
182497.842476.6772424650421.1627575349631
192645.642541.20144422476104.438555775242
202756.762765.18444901326-8.42444901326227
212849.272788.8506629856360.4193370143661
222921.442763.5072366613157.932763338700
232981.852750.17518348297231.674816517032
243080.582969.58095841580110.999041584195
253106.223137.2079819904-30.9879819903986
263119.312920.71667528326198.593324716736
273061.262857.67357373134203.586426268661
283097.313017.4614463888279.8485536111783
293161.693142.0176000409319.672399959069
303257.163212.9650333327144.1949666672939
313277.013318.87335223401-41.8633522340062
323295.323140.80721653638154.512783463615
333363.993345.1065980941818.8834019058189
343494.173583.08036003983-88.9103600398321
353667.033674.5408706455-7.51087064549996
363813.063718.3467990922194.713200907786
373917.963684.52615498451233.433845015485
383895.513967.59024821335-72.0802482133481
393801.064119.84169116165-318.781691161654
403570.123560.851421864219.2685781357851
413701.613602.0043243407399.6056756592742
423862.273777.4511949530184.8188050469886
433970.13783.04532641486187.054673585145
444138.523984.19678777765154.323212222350
454199.754107.6907728937592.059227106248
464290.894185.55842171094105.331578289056
474443.914417.0973702460226.8126297539823
484502.644658.64477349304-156.004773493043
494356.984491.73021261022-134.750212610222
504591.274679.11731855367-87.8473185536699
514696.964756.10926264344-59.1492626434395







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.9888828685314540.02223426293709180.0111171314685459
230.9996355996498510.0007288007002971820.000364400350148591
240.9998066694118480.0003866611763041630.000193330588152082
250.9999895705300182.08589399635177e-051.04294699817588e-05
260.9999959610375248.07792495147865e-064.03896247573932e-06
270.9999964265234187.14695316385924e-063.57347658192962e-06
280.999954500479859.09990402996152e-054.54995201498076e-05
290.9999606191626887.8761674623162e-053.9380837311581e-05

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
22 & 0.988882868531454 & 0.0222342629370918 & 0.0111171314685459 \tabularnewline
23 & 0.999635599649851 & 0.000728800700297182 & 0.000364400350148591 \tabularnewline
24 & 0.999806669411848 & 0.000386661176304163 & 0.000193330588152082 \tabularnewline
25 & 0.999989570530018 & 2.08589399635177e-05 & 1.04294699817588e-05 \tabularnewline
26 & 0.999995961037524 & 8.07792495147865e-06 & 4.03896247573932e-06 \tabularnewline
27 & 0.999996426523418 & 7.14695316385924e-06 & 3.57347658192962e-06 \tabularnewline
28 & 0.99995450047985 & 9.09990402996152e-05 & 4.54995201498076e-05 \tabularnewline
29 & 0.999960619162688 & 7.8761674623162e-05 & 3.9380837311581e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105632&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.988882868531454[/C][C]0.0222342629370918[/C][C]0.0111171314685459[/C][/ROW]
[ROW][C]23[/C][C]0.999635599649851[/C][C]0.000728800700297182[/C][C]0.000364400350148591[/C][/ROW]
[ROW][C]24[/C][C]0.999806669411848[/C][C]0.000386661176304163[/C][C]0.000193330588152082[/C][/ROW]
[ROW][C]25[/C][C]0.999989570530018[/C][C]2.08589399635177e-05[/C][C]1.04294699817588e-05[/C][/ROW]
[ROW][C]26[/C][C]0.999995961037524[/C][C]8.07792495147865e-06[/C][C]4.03896247573932e-06[/C][/ROW]
[ROW][C]27[/C][C]0.999996426523418[/C][C]7.14695316385924e-06[/C][C]3.57347658192962e-06[/C][/ROW]
[ROW][C]28[/C][C]0.99995450047985[/C][C]9.09990402996152e-05[/C][C]4.54995201498076e-05[/C][/ROW]
[ROW][C]29[/C][C]0.999960619162688[/C][C]7.8761674623162e-05[/C][C]3.9380837311581e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105632&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105632&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.9888828685314540.02223426293709180.0111171314685459
230.9996355996498510.0007288007002971820.000364400350148591
240.9998066694118480.0003866611763041630.000193330588152082
250.9999895705300182.08589399635177e-051.04294699817588e-05
260.9999959610375248.07792495147865e-064.03896247573932e-06
270.9999964265234187.14695316385924e-063.57347658192962e-06
280.999954500479859.09990402996152e-054.54995201498076e-05
290.9999606191626887.8761674623162e-053.9380837311581e-05







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

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

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



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