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:54:48 +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/t1291647183i6fmqucffilsa65.htm/, Retrieved Sun, 28 Apr 2024 22:55:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105630, Retrieved Sun, 28 Apr 2024 22:55:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact114
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-06 14:54:48] [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 time7 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 & 7 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105630&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105630&T=0

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







Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -3817.4613946616 + 0.0945317983390053Nikkei[t] + 0.360449529459283DJ_Indust[t] + 0.0653703019067602Goudprijs[t] -14.6060391320068Conjunct_Seizoenzuiver[t] -3.86165594355231Cons_vertrouw[t] + 246.57375886206Alg_consumptie_index_BE[t] + 223.046859169249Gem_rente_kasbon_1j[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
BEL_20[t] =  -3817.4613946616 +  0.0945317983390053Nikkei[t] +  0.360449529459283DJ_Indust[t] +  0.0653703019067602Goudprijs[t] -14.6060391320068Conjunct_Seizoenzuiver[t] -3.86165594355231Cons_vertrouw[t] +  246.57375886206Alg_consumptie_index_BE[t] +  223.046859169249Gem_rente_kasbon_1j[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105630&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]BEL_20[t] =  -3817.4613946616 +  0.0945317983390053Nikkei[t] +  0.360449529459283DJ_Indust[t] +  0.0653703019067602Goudprijs[t] -14.6060391320068Conjunct_Seizoenzuiver[t] -3.86165594355231Cons_vertrouw[t] +  246.57375886206Alg_consumptie_index_BE[t] +  223.046859169249Gem_rente_kasbon_1j[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105630&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105630&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] = -3817.4613946616 + 0.0945317983390053Nikkei[t] + 0.360449529459283DJ_Indust[t] + 0.0653703019067602Goudprijs[t] -14.6060391320068Conjunct_Seizoenzuiver[t] -3.86165594355231Cons_vertrouw[t] + 246.57375886206Alg_consumptie_index_BE[t] + 223.046859169249Gem_rente_kasbon_1j[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-3817.4613946616616.247741-6.194700
Nikkei0.09453179833900530.05051.87190.068030.034015
DJ_Indust0.3604495294592830.0699865.15036e-063e-06
Goudprijs0.06537030190676020.058241.12240.2679120.133956
Conjunct_Seizoenzuiver-14.60603913200687.767973-1.88030.0668530.033427
Cons_vertrouw-3.861655943552318.349519-0.46250.6460540.323027
Alg_consumptie_index_BE246.5737588620652.8878134.66223e-051.5e-05
Gem_rente_kasbon_1j223.046859169249118.4886541.88240.0665550.033278

\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) & -3817.4613946616 & 616.247741 & -6.1947 & 0 & 0 \tabularnewline
Nikkei & 0.0945317983390053 & 0.0505 & 1.8719 & 0.06803 & 0.034015 \tabularnewline
DJ_Indust & 0.360449529459283 & 0.069986 & 5.1503 & 6e-06 & 3e-06 \tabularnewline
Goudprijs & 0.0653703019067602 & 0.05824 & 1.1224 & 0.267912 & 0.133956 \tabularnewline
Conjunct_Seizoenzuiver & -14.6060391320068 & 7.767973 & -1.8803 & 0.066853 & 0.033427 \tabularnewline
Cons_vertrouw & -3.86165594355231 & 8.349519 & -0.4625 & 0.646054 & 0.323027 \tabularnewline
Alg_consumptie_index_BE & 246.57375886206 & 52.887813 & 4.6622 & 3e-05 & 1.5e-05 \tabularnewline
Gem_rente_kasbon_1j & 223.046859169249 & 118.488654 & 1.8824 & 0.066555 & 0.033278 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105630&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]-3817.4613946616[/C][C]616.247741[/C][C]-6.1947[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Nikkei[/C][C]0.0945317983390053[/C][C]0.0505[/C][C]1.8719[/C][C]0.06803[/C][C]0.034015[/C][/ROW]
[ROW][C]DJ_Indust[/C][C]0.360449529459283[/C][C]0.069986[/C][C]5.1503[/C][C]6e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]Goudprijs[/C][C]0.0653703019067602[/C][C]0.05824[/C][C]1.1224[/C][C]0.267912[/C][C]0.133956[/C][/ROW]
[ROW][C]Conjunct_Seizoenzuiver[/C][C]-14.6060391320068[/C][C]7.767973[/C][C]-1.8803[/C][C]0.066853[/C][C]0.033427[/C][/ROW]
[ROW][C]Cons_vertrouw[/C][C]-3.86165594355231[/C][C]8.349519[/C][C]-0.4625[/C][C]0.646054[/C][C]0.323027[/C][/ROW]
[ROW][C]Alg_consumptie_index_BE[/C][C]246.57375886206[/C][C]52.887813[/C][C]4.6622[/C][C]3e-05[/C][C]1.5e-05[/C][/ROW]
[ROW][C]Gem_rente_kasbon_1j[/C][C]223.046859169249[/C][C]118.488654[/C][C]1.8824[/C][C]0.066555[/C][C]0.033278[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105630&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105630&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)-3817.4613946616616.247741-6.194700
Nikkei0.09453179833900530.05051.87190.068030.034015
DJ_Indust0.3604495294592830.0699865.15036e-063e-06
Goudprijs0.06537030190676020.058241.12240.2679120.133956
Conjunct_Seizoenzuiver-14.60603913200687.767973-1.88030.0668530.033427
Cons_vertrouw-3.861655943552318.349519-0.46250.6460540.323027
Alg_consumptie_index_BE246.5737588620652.8878134.66223e-051.5e-05
Gem_rente_kasbon_1j223.046859169249118.4886541.88240.0665550.033278







Multiple Linear Regression - Regression Statistics
Multiple R0.98353031074024
R-squared0.967331872144792
Adjusted R-squared0.962013804819526
F-TEST (value)181.895379087991
F-TEST (DF numerator)7
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation163.422316729577
Sum Squared Residuals1148394.70502627

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.98353031074024 \tabularnewline
R-squared & 0.967331872144792 \tabularnewline
Adjusted R-squared & 0.962013804819526 \tabularnewline
F-TEST (value) & 181.895379087991 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 163.422316729577 \tabularnewline
Sum Squared Residuals & 1148394.70502627 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105630&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.98353031074024[/C][/ROW]
[ROW][C]R-squared[/C][C]0.967331872144792[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.962013804819526[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]181.895379087991[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/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]163.422316729577[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1148394.70502627[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105630&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105630&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.98353031074024
R-squared0.967331872144792
Adjusted R-squared0.962013804819526
F-TEST (value)181.895379087991
F-TEST (DF numerator)7
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation163.422316729577
Sum Squared Residuals1148394.70502627







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11635.251683.47630700722-48.2263070072228
21833.421675.75837539814157.661624601860
31910.431603.20399216471307.226007835285
41959.671983.53911687270-23.8691168727036
51969.62045.23056138458-75.6305613845798
62061.412204.48818114559-143.078181145595
72093.482311.68507228755-218.205072287552
82120.882358.65796671820-237.777966718203
92174.562360.38686648766-185.826866487657
102196.722435.55452693567-238.834526935670
112350.442608.2934945071-257.853494507099
122440.252457.45062860971-17.2006286097128
132408.642374.3729271476234.2670728523819
142472.812631.40488612628-158.59488612628
152407.62578.20332275917-170.603322759174
162454.622652.56601794605-197.946017946046
172448.052584.83597332654-136.785973326542
182497.842470.2908646704427.5491353295608
192645.642507.19727042017138.442729579831
202756.762680.8586888728075.9013111271972
212849.272789.8916499463159.3783500536878
222921.442824.7220653568596.7179346431536
232981.852770.43108403516211.418915964839
243080.582950.14330419146130.436695808542
253106.223096.529302726169.69069727383502
263119.312894.34721707433224.962782925666
273061.262858.61615078845202.643849211553
283097.313046.625378895250.6846211047988
293161.693140.9606196595120.7293803404903
303257.163180.0845971577277.0754028422763
313277.013269.508681435117.50131856489218
323295.323058.89283843997236.427161560029
333363.993375.41812964038-11.4281296403797
343494.173689.96740301083-195.797403010828
353667.033712.5213321679-45.4913321679013
363813.063710.3815878858102.678412114204
373917.963665.17578458137252.784215418635
383895.513960.87192298474-65.3619229847421
393801.064103.47835636203-302.41835636203
403570.123626.52915156129-56.4091515612881
413701.613611.9666452819389.6433547180742
423862.273762.2844290299299.9855709700786
433970.13761.48035005156208.619649948443
444138.523926.01104938168212.508950618324
454199.754107.220410020392.5295899796992
464290.894266.4659329946324.4240670053703
474443.914446.53617052913-2.62617052912971
484502.644643.01217215573-140.372172155729
494356.984461.73902859837-104.759028598376
504591.274646.50277396368-55.2327739636803
514696.964758.51943930459-61.5594393045858

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1635.25 & 1683.47630700722 & -48.2263070072228 \tabularnewline
2 & 1833.42 & 1675.75837539814 & 157.661624601860 \tabularnewline
3 & 1910.43 & 1603.20399216471 & 307.226007835285 \tabularnewline
4 & 1959.67 & 1983.53911687270 & -23.8691168727036 \tabularnewline
5 & 1969.6 & 2045.23056138458 & -75.6305613845798 \tabularnewline
6 & 2061.41 & 2204.48818114559 & -143.078181145595 \tabularnewline
7 & 2093.48 & 2311.68507228755 & -218.205072287552 \tabularnewline
8 & 2120.88 & 2358.65796671820 & -237.777966718203 \tabularnewline
9 & 2174.56 & 2360.38686648766 & -185.826866487657 \tabularnewline
10 & 2196.72 & 2435.55452693567 & -238.834526935670 \tabularnewline
11 & 2350.44 & 2608.2934945071 & -257.853494507099 \tabularnewline
12 & 2440.25 & 2457.45062860971 & -17.2006286097128 \tabularnewline
13 & 2408.64 & 2374.37292714762 & 34.2670728523819 \tabularnewline
14 & 2472.81 & 2631.40488612628 & -158.59488612628 \tabularnewline
15 & 2407.6 & 2578.20332275917 & -170.603322759174 \tabularnewline
16 & 2454.62 & 2652.56601794605 & -197.946017946046 \tabularnewline
17 & 2448.05 & 2584.83597332654 & -136.785973326542 \tabularnewline
18 & 2497.84 & 2470.29086467044 & 27.5491353295608 \tabularnewline
19 & 2645.64 & 2507.19727042017 & 138.442729579831 \tabularnewline
20 & 2756.76 & 2680.85868887280 & 75.9013111271972 \tabularnewline
21 & 2849.27 & 2789.89164994631 & 59.3783500536878 \tabularnewline
22 & 2921.44 & 2824.72206535685 & 96.7179346431536 \tabularnewline
23 & 2981.85 & 2770.43108403516 & 211.418915964839 \tabularnewline
24 & 3080.58 & 2950.14330419146 & 130.436695808542 \tabularnewline
25 & 3106.22 & 3096.52930272616 & 9.69069727383502 \tabularnewline
26 & 3119.31 & 2894.34721707433 & 224.962782925666 \tabularnewline
27 & 3061.26 & 2858.61615078845 & 202.643849211553 \tabularnewline
28 & 3097.31 & 3046.6253788952 & 50.6846211047988 \tabularnewline
29 & 3161.69 & 3140.96061965951 & 20.7293803404903 \tabularnewline
30 & 3257.16 & 3180.08459715772 & 77.0754028422763 \tabularnewline
31 & 3277.01 & 3269.50868143511 & 7.50131856489218 \tabularnewline
32 & 3295.32 & 3058.89283843997 & 236.427161560029 \tabularnewline
33 & 3363.99 & 3375.41812964038 & -11.4281296403797 \tabularnewline
34 & 3494.17 & 3689.96740301083 & -195.797403010828 \tabularnewline
35 & 3667.03 & 3712.5213321679 & -45.4913321679013 \tabularnewline
36 & 3813.06 & 3710.3815878858 & 102.678412114204 \tabularnewline
37 & 3917.96 & 3665.17578458137 & 252.784215418635 \tabularnewline
38 & 3895.51 & 3960.87192298474 & -65.3619229847421 \tabularnewline
39 & 3801.06 & 4103.47835636203 & -302.41835636203 \tabularnewline
40 & 3570.12 & 3626.52915156129 & -56.4091515612881 \tabularnewline
41 & 3701.61 & 3611.96664528193 & 89.6433547180742 \tabularnewline
42 & 3862.27 & 3762.28442902992 & 99.9855709700786 \tabularnewline
43 & 3970.1 & 3761.48035005156 & 208.619649948443 \tabularnewline
44 & 4138.52 & 3926.01104938168 & 212.508950618324 \tabularnewline
45 & 4199.75 & 4107.2204100203 & 92.5295899796992 \tabularnewline
46 & 4290.89 & 4266.46593299463 & 24.4240670053703 \tabularnewline
47 & 4443.91 & 4446.53617052913 & -2.62617052912971 \tabularnewline
48 & 4502.64 & 4643.01217215573 & -140.372172155729 \tabularnewline
49 & 4356.98 & 4461.73902859837 & -104.759028598376 \tabularnewline
50 & 4591.27 & 4646.50277396368 & -55.2327739636803 \tabularnewline
51 & 4696.96 & 4758.51943930459 & -61.5594393045858 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105630&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]1683.47630700722[/C][C]-48.2263070072228[/C][/ROW]
[ROW][C]2[/C][C]1833.42[/C][C]1675.75837539814[/C][C]157.661624601860[/C][/ROW]
[ROW][C]3[/C][C]1910.43[/C][C]1603.20399216471[/C][C]307.226007835285[/C][/ROW]
[ROW][C]4[/C][C]1959.67[/C][C]1983.53911687270[/C][C]-23.8691168727036[/C][/ROW]
[ROW][C]5[/C][C]1969.6[/C][C]2045.23056138458[/C][C]-75.6305613845798[/C][/ROW]
[ROW][C]6[/C][C]2061.41[/C][C]2204.48818114559[/C][C]-143.078181145595[/C][/ROW]
[ROW][C]7[/C][C]2093.48[/C][C]2311.68507228755[/C][C]-218.205072287552[/C][/ROW]
[ROW][C]8[/C][C]2120.88[/C][C]2358.65796671820[/C][C]-237.777966718203[/C][/ROW]
[ROW][C]9[/C][C]2174.56[/C][C]2360.38686648766[/C][C]-185.826866487657[/C][/ROW]
[ROW][C]10[/C][C]2196.72[/C][C]2435.55452693567[/C][C]-238.834526935670[/C][/ROW]
[ROW][C]11[/C][C]2350.44[/C][C]2608.2934945071[/C][C]-257.853494507099[/C][/ROW]
[ROW][C]12[/C][C]2440.25[/C][C]2457.45062860971[/C][C]-17.2006286097128[/C][/ROW]
[ROW][C]13[/C][C]2408.64[/C][C]2374.37292714762[/C][C]34.2670728523819[/C][/ROW]
[ROW][C]14[/C][C]2472.81[/C][C]2631.40488612628[/C][C]-158.59488612628[/C][/ROW]
[ROW][C]15[/C][C]2407.6[/C][C]2578.20332275917[/C][C]-170.603322759174[/C][/ROW]
[ROW][C]16[/C][C]2454.62[/C][C]2652.56601794605[/C][C]-197.946017946046[/C][/ROW]
[ROW][C]17[/C][C]2448.05[/C][C]2584.83597332654[/C][C]-136.785973326542[/C][/ROW]
[ROW][C]18[/C][C]2497.84[/C][C]2470.29086467044[/C][C]27.5491353295608[/C][/ROW]
[ROW][C]19[/C][C]2645.64[/C][C]2507.19727042017[/C][C]138.442729579831[/C][/ROW]
[ROW][C]20[/C][C]2756.76[/C][C]2680.85868887280[/C][C]75.9013111271972[/C][/ROW]
[ROW][C]21[/C][C]2849.27[/C][C]2789.89164994631[/C][C]59.3783500536878[/C][/ROW]
[ROW][C]22[/C][C]2921.44[/C][C]2824.72206535685[/C][C]96.7179346431536[/C][/ROW]
[ROW][C]23[/C][C]2981.85[/C][C]2770.43108403516[/C][C]211.418915964839[/C][/ROW]
[ROW][C]24[/C][C]3080.58[/C][C]2950.14330419146[/C][C]130.436695808542[/C][/ROW]
[ROW][C]25[/C][C]3106.22[/C][C]3096.52930272616[/C][C]9.69069727383502[/C][/ROW]
[ROW][C]26[/C][C]3119.31[/C][C]2894.34721707433[/C][C]224.962782925666[/C][/ROW]
[ROW][C]27[/C][C]3061.26[/C][C]2858.61615078845[/C][C]202.643849211553[/C][/ROW]
[ROW][C]28[/C][C]3097.31[/C][C]3046.6253788952[/C][C]50.6846211047988[/C][/ROW]
[ROW][C]29[/C][C]3161.69[/C][C]3140.96061965951[/C][C]20.7293803404903[/C][/ROW]
[ROW][C]30[/C][C]3257.16[/C][C]3180.08459715772[/C][C]77.0754028422763[/C][/ROW]
[ROW][C]31[/C][C]3277.01[/C][C]3269.50868143511[/C][C]7.50131856489218[/C][/ROW]
[ROW][C]32[/C][C]3295.32[/C][C]3058.89283843997[/C][C]236.427161560029[/C][/ROW]
[ROW][C]33[/C][C]3363.99[/C][C]3375.41812964038[/C][C]-11.4281296403797[/C][/ROW]
[ROW][C]34[/C][C]3494.17[/C][C]3689.96740301083[/C][C]-195.797403010828[/C][/ROW]
[ROW][C]35[/C][C]3667.03[/C][C]3712.5213321679[/C][C]-45.4913321679013[/C][/ROW]
[ROW][C]36[/C][C]3813.06[/C][C]3710.3815878858[/C][C]102.678412114204[/C][/ROW]
[ROW][C]37[/C][C]3917.96[/C][C]3665.17578458137[/C][C]252.784215418635[/C][/ROW]
[ROW][C]38[/C][C]3895.51[/C][C]3960.87192298474[/C][C]-65.3619229847421[/C][/ROW]
[ROW][C]39[/C][C]3801.06[/C][C]4103.47835636203[/C][C]-302.41835636203[/C][/ROW]
[ROW][C]40[/C][C]3570.12[/C][C]3626.52915156129[/C][C]-56.4091515612881[/C][/ROW]
[ROW][C]41[/C][C]3701.61[/C][C]3611.96664528193[/C][C]89.6433547180742[/C][/ROW]
[ROW][C]42[/C][C]3862.27[/C][C]3762.28442902992[/C][C]99.9855709700786[/C][/ROW]
[ROW][C]43[/C][C]3970.1[/C][C]3761.48035005156[/C][C]208.619649948443[/C][/ROW]
[ROW][C]44[/C][C]4138.52[/C][C]3926.01104938168[/C][C]212.508950618324[/C][/ROW]
[ROW][C]45[/C][C]4199.75[/C][C]4107.2204100203[/C][C]92.5295899796992[/C][/ROW]
[ROW][C]46[/C][C]4290.89[/C][C]4266.46593299463[/C][C]24.4240670053703[/C][/ROW]
[ROW][C]47[/C][C]4443.91[/C][C]4446.53617052913[/C][C]-2.62617052912971[/C][/ROW]
[ROW][C]48[/C][C]4502.64[/C][C]4643.01217215573[/C][C]-140.372172155729[/C][/ROW]
[ROW][C]49[/C][C]4356.98[/C][C]4461.73902859837[/C][C]-104.759028598376[/C][/ROW]
[ROW][C]50[/C][C]4591.27[/C][C]4646.50277396368[/C][C]-55.2327739636803[/C][/ROW]
[ROW][C]51[/C][C]4696.96[/C][C]4758.51943930459[/C][C]-61.5594393045858[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105630&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105630&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.251683.47630700722-48.2263070072228
21833.421675.75837539814157.661624601860
31910.431603.20399216471307.226007835285
41959.671983.53911687270-23.8691168727036
51969.62045.23056138458-75.6305613845798
62061.412204.48818114559-143.078181145595
72093.482311.68507228755-218.205072287552
82120.882358.65796671820-237.777966718203
92174.562360.38686648766-185.826866487657
102196.722435.55452693567-238.834526935670
112350.442608.2934945071-257.853494507099
122440.252457.45062860971-17.2006286097128
132408.642374.3729271476234.2670728523819
142472.812631.40488612628-158.59488612628
152407.62578.20332275917-170.603322759174
162454.622652.56601794605-197.946017946046
172448.052584.83597332654-136.785973326542
182497.842470.2908646704427.5491353295608
192645.642507.19727042017138.442729579831
202756.762680.8586888728075.9013111271972
212849.272789.8916499463159.3783500536878
222921.442824.7220653568596.7179346431536
232981.852770.43108403516211.418915964839
243080.582950.14330419146130.436695808542
253106.223096.529302726169.69069727383502
263119.312894.34721707433224.962782925666
273061.262858.61615078845202.643849211553
283097.313046.625378895250.6846211047988
293161.693140.9606196595120.7293803404903
303257.163180.0845971577277.0754028422763
313277.013269.508681435117.50131856489218
323295.323058.89283843997236.427161560029
333363.993375.41812964038-11.4281296403797
343494.173689.96740301083-195.797403010828
353667.033712.5213321679-45.4913321679013
363813.063710.3815878858102.678412114204
373917.963665.17578458137252.784215418635
383895.513960.87192298474-65.3619229847421
393801.064103.47835636203-302.41835636203
403570.123626.52915156129-56.4091515612881
413701.613611.9666452819389.6433547180742
423862.273762.2844290299299.9855709700786
433970.13761.48035005156208.619649948443
444138.523926.01104938168212.508950618324
454199.754107.220410020392.5295899796992
464290.894266.4659329946324.4240670053703
474443.914446.53617052913-2.62617052912971
484502.644643.01217215573-140.372172155729
494356.984461.73902859837-104.759028598376
504591.274646.50277396368-55.2327739636803
514696.964758.51943930459-61.5594393045858







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.04974257661039680.09948515322079360.950257423389603
120.01483214262772940.02966428525545890.98516785737227
130.00509895980316330.01019791960632660.994901040196837
140.004268943906164230.008537887812328450.995731056093836
150.002487969862661880.004975939725323760.997512030137338
160.007529687362967340.01505937472593470.992470312637033
170.005465009772811160.01093001954562230.994534990227189
180.04431842048400140.08863684096800280.955681579515999
190.597273940832360.805452118335280.40272605916764
200.9794896913242590.04102061735148230.0205103086757411
210.9943981099902780.01120378001944440.00560189000972219
220.9995910957852320.0008178084295356270.000408904214767813
230.999939824568020.0001203508639606956.01754319803474e-05
240.9999598405277618.03189444773857e-054.01594722386928e-05
250.9999167464877620.0001665070244769018.32535122384506e-05
260.9999329542308860.0001340915382272096.70457691136043e-05
270.9999090306434430.0001819387131131889.09693565565942e-05
280.9998069622886860.0003860754226272890.000193037711313644
290.999584411293920.0008311774121607230.000415588706080362
300.999018873307920.001962253384160000.000981126692079998
310.9986884322526030.002623135494793160.00131156774739658
320.9990683697517120.001863260496575280.000931630248287642
330.9975510034887110.004897993022577250.00244899651128862
340.9972447344960970.00551053100780590.00275526550390295
350.9965549187950970.006890162409805280.00344508120490264
360.9909682392855970.01806352142880560.00903176071440281
370.9872015993170170.02559680136596510.0127984006829826
380.9680037282063330.06399254358733450.0319962717936672
390.9803171246439330.03936575071213390.0196828753560669
400.9901794859332870.01964102813342530.00982051406671264

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.0497425766103968 & 0.0994851532207936 & 0.950257423389603 \tabularnewline
12 & 0.0148321426277294 & 0.0296642852554589 & 0.98516785737227 \tabularnewline
13 & 0.0050989598031633 & 0.0101979196063266 & 0.994901040196837 \tabularnewline
14 & 0.00426894390616423 & 0.00853788781232845 & 0.995731056093836 \tabularnewline
15 & 0.00248796986266188 & 0.00497593972532376 & 0.997512030137338 \tabularnewline
16 & 0.00752968736296734 & 0.0150593747259347 & 0.992470312637033 \tabularnewline
17 & 0.00546500977281116 & 0.0109300195456223 & 0.994534990227189 \tabularnewline
18 & 0.0443184204840014 & 0.0886368409680028 & 0.955681579515999 \tabularnewline
19 & 0.59727394083236 & 0.80545211833528 & 0.40272605916764 \tabularnewline
20 & 0.979489691324259 & 0.0410206173514823 & 0.0205103086757411 \tabularnewline
21 & 0.994398109990278 & 0.0112037800194444 & 0.00560189000972219 \tabularnewline
22 & 0.999591095785232 & 0.000817808429535627 & 0.000408904214767813 \tabularnewline
23 & 0.99993982456802 & 0.000120350863960695 & 6.01754319803474e-05 \tabularnewline
24 & 0.999959840527761 & 8.03189444773857e-05 & 4.01594722386928e-05 \tabularnewline
25 & 0.999916746487762 & 0.000166507024476901 & 8.32535122384506e-05 \tabularnewline
26 & 0.999932954230886 & 0.000134091538227209 & 6.70457691136043e-05 \tabularnewline
27 & 0.999909030643443 & 0.000181938713113188 & 9.09693565565942e-05 \tabularnewline
28 & 0.999806962288686 & 0.000386075422627289 & 0.000193037711313644 \tabularnewline
29 & 0.99958441129392 & 0.000831177412160723 & 0.000415588706080362 \tabularnewline
30 & 0.99901887330792 & 0.00196225338416000 & 0.000981126692079998 \tabularnewline
31 & 0.998688432252603 & 0.00262313549479316 & 0.00131156774739658 \tabularnewline
32 & 0.999068369751712 & 0.00186326049657528 & 0.000931630248287642 \tabularnewline
33 & 0.997551003488711 & 0.00489799302257725 & 0.00244899651128862 \tabularnewline
34 & 0.997244734496097 & 0.0055105310078059 & 0.00275526550390295 \tabularnewline
35 & 0.996554918795097 & 0.00689016240980528 & 0.00344508120490264 \tabularnewline
36 & 0.990968239285597 & 0.0180635214288056 & 0.00903176071440281 \tabularnewline
37 & 0.987201599317017 & 0.0255968013659651 & 0.0127984006829826 \tabularnewline
38 & 0.968003728206333 & 0.0639925435873345 & 0.0319962717936672 \tabularnewline
39 & 0.980317124643933 & 0.0393657507121339 & 0.0196828753560669 \tabularnewline
40 & 0.990179485933287 & 0.0196410281334253 & 0.00982051406671264 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105630&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]11[/C][C]0.0497425766103968[/C][C]0.0994851532207936[/C][C]0.950257423389603[/C][/ROW]
[ROW][C]12[/C][C]0.0148321426277294[/C][C]0.0296642852554589[/C][C]0.98516785737227[/C][/ROW]
[ROW][C]13[/C][C]0.0050989598031633[/C][C]0.0101979196063266[/C][C]0.994901040196837[/C][/ROW]
[ROW][C]14[/C][C]0.00426894390616423[/C][C]0.00853788781232845[/C][C]0.995731056093836[/C][/ROW]
[ROW][C]15[/C][C]0.00248796986266188[/C][C]0.00497593972532376[/C][C]0.997512030137338[/C][/ROW]
[ROW][C]16[/C][C]0.00752968736296734[/C][C]0.0150593747259347[/C][C]0.992470312637033[/C][/ROW]
[ROW][C]17[/C][C]0.00546500977281116[/C][C]0.0109300195456223[/C][C]0.994534990227189[/C][/ROW]
[ROW][C]18[/C][C]0.0443184204840014[/C][C]0.0886368409680028[/C][C]0.955681579515999[/C][/ROW]
[ROW][C]19[/C][C]0.59727394083236[/C][C]0.80545211833528[/C][C]0.40272605916764[/C][/ROW]
[ROW][C]20[/C][C]0.979489691324259[/C][C]0.0410206173514823[/C][C]0.0205103086757411[/C][/ROW]
[ROW][C]21[/C][C]0.994398109990278[/C][C]0.0112037800194444[/C][C]0.00560189000972219[/C][/ROW]
[ROW][C]22[/C][C]0.999591095785232[/C][C]0.000817808429535627[/C][C]0.000408904214767813[/C][/ROW]
[ROW][C]23[/C][C]0.99993982456802[/C][C]0.000120350863960695[/C][C]6.01754319803474e-05[/C][/ROW]
[ROW][C]24[/C][C]0.999959840527761[/C][C]8.03189444773857e-05[/C][C]4.01594722386928e-05[/C][/ROW]
[ROW][C]25[/C][C]0.999916746487762[/C][C]0.000166507024476901[/C][C]8.32535122384506e-05[/C][/ROW]
[ROW][C]26[/C][C]0.999932954230886[/C][C]0.000134091538227209[/C][C]6.70457691136043e-05[/C][/ROW]
[ROW][C]27[/C][C]0.999909030643443[/C][C]0.000181938713113188[/C][C]9.09693565565942e-05[/C][/ROW]
[ROW][C]28[/C][C]0.999806962288686[/C][C]0.000386075422627289[/C][C]0.000193037711313644[/C][/ROW]
[ROW][C]29[/C][C]0.99958441129392[/C][C]0.000831177412160723[/C][C]0.000415588706080362[/C][/ROW]
[ROW][C]30[/C][C]0.99901887330792[/C][C]0.00196225338416000[/C][C]0.000981126692079998[/C][/ROW]
[ROW][C]31[/C][C]0.998688432252603[/C][C]0.00262313549479316[/C][C]0.00131156774739658[/C][/ROW]
[ROW][C]32[/C][C]0.999068369751712[/C][C]0.00186326049657528[/C][C]0.000931630248287642[/C][/ROW]
[ROW][C]33[/C][C]0.997551003488711[/C][C]0.00489799302257725[/C][C]0.00244899651128862[/C][/ROW]
[ROW][C]34[/C][C]0.997244734496097[/C][C]0.0055105310078059[/C][C]0.00275526550390295[/C][/ROW]
[ROW][C]35[/C][C]0.996554918795097[/C][C]0.00689016240980528[/C][C]0.00344508120490264[/C][/ROW]
[ROW][C]36[/C][C]0.990968239285597[/C][C]0.0180635214288056[/C][C]0.00903176071440281[/C][/ROW]
[ROW][C]37[/C][C]0.987201599317017[/C][C]0.0255968013659651[/C][C]0.0127984006829826[/C][/ROW]
[ROW][C]38[/C][C]0.968003728206333[/C][C]0.0639925435873345[/C][C]0.0319962717936672[/C][/ROW]
[ROW][C]39[/C][C]0.980317124643933[/C][C]0.0393657507121339[/C][C]0.0196828753560669[/C][/ROW]
[ROW][C]40[/C][C]0.990179485933287[/C][C]0.0196410281334253[/C][C]0.00982051406671264[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105630&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105630&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
110.04974257661039680.09948515322079360.950257423389603
120.01483214262772940.02966428525545890.98516785737227
130.00509895980316330.01019791960632660.994901040196837
140.004268943906164230.008537887812328450.995731056093836
150.002487969862661880.004975939725323760.997512030137338
160.007529687362967340.01505937472593470.992470312637033
170.005465009772811160.01093001954562230.994534990227189
180.04431842048400140.08863684096800280.955681579515999
190.597273940832360.805452118335280.40272605916764
200.9794896913242590.04102061735148230.0205103086757411
210.9943981099902780.01120378001944440.00560189000972219
220.9995910957852320.0008178084295356270.000408904214767813
230.999939824568020.0001203508639606956.01754319803474e-05
240.9999598405277618.03189444773857e-054.01594722386928e-05
250.9999167464877620.0001665070244769018.32535122384506e-05
260.9999329542308860.0001340915382272096.70457691136043e-05
270.9999090306434430.0001819387131131889.09693565565942e-05
280.9998069622886860.0003860754226272890.000193037711313644
290.999584411293920.0008311774121607230.000415588706080362
300.999018873307920.001962253384160000.000981126692079998
310.9986884322526030.002623135494793160.00131156774739658
320.9990683697517120.001863260496575280.000931630248287642
330.9975510034887110.004897993022577250.00244899651128862
340.9972447344960970.00551053100780590.00275526550390295
350.9965549187950970.006890162409805280.00344508120490264
360.9909682392855970.01806352142880560.00903176071440281
370.9872015993170170.02559680136596510.0127984006829826
380.9680037282063330.06399254358733450.0319962717936672
390.9803171246439330.03936575071213390.0196828753560669
400.9901794859332870.01964102813342530.00982051406671264







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.533333333333333NOK
5% type I error level260.866666666666667NOK
10% type I error level290.966666666666667NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105630&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 level160.533333333333333NOK
5% type I error level260.866666666666667NOK
10% type I error level290.966666666666667NOK



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