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:58:19 +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/t1291647408hr3cqxo28ii6fx2.htm/, Retrieved Mon, 29 Apr 2024 05:24:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105633, Retrieved Mon, 29 Apr 2024 05:24:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact48
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-06 14:58:19] [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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105633&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105633&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105633&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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = + 131.464612932303 + 0.070054324911192Nikkei[t] + 0.106968905140376DJ_Indust[t] -0.0267508881683204Goudprijs[t] -17.0480085003543Conjunct_Seizoenzuiver[t] + 4.47598215700542Cons_vertrouw[t] + 0.150200966608876Alg_consumptie_index_BE[t] + 58.6738632349272Gem_rente_kasbon_1j[t] + 43.1906593467027t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
BEL_20[t] =  +  131.464612932303 +  0.070054324911192Nikkei[t] +  0.106968905140376DJ_Indust[t] -0.0267508881683204Goudprijs[t] -17.0480085003543Conjunct_Seizoenzuiver[t] +  4.47598215700542Cons_vertrouw[t] +  0.150200966608876Alg_consumptie_index_BE[t] +  58.6738632349272Gem_rente_kasbon_1j[t] +  43.1906593467027t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105633&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]BEL_20[t] =  +  131.464612932303 +  0.070054324911192Nikkei[t] +  0.106968905140376DJ_Indust[t] -0.0267508881683204Goudprijs[t] -17.0480085003543Conjunct_Seizoenzuiver[t] +  4.47598215700542Cons_vertrouw[t] +  0.150200966608876Alg_consumptie_index_BE[t] +  58.6738632349272Gem_rente_kasbon_1j[t] +  43.1906593467027t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105633&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105633&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] = + 131.464612932303 + 0.070054324911192Nikkei[t] + 0.106968905140376DJ_Indust[t] -0.0267508881683204Goudprijs[t] -17.0480085003543Conjunct_Seizoenzuiver[t] + 4.47598215700542Cons_vertrouw[t] + 0.150200966608876Alg_consumptie_index_BE[t] + 58.6738632349272Gem_rente_kasbon_1j[t] + 43.1906593467027t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)131.464612932303438.795140.29960.7659570.382979
Nikkei0.0700543249111920.0241752.89780.0059490.002974
DJ_Indust0.1069689051403760.0393942.71540.0095680.004784
Goudprijs-0.02675088816832040.028804-0.92870.358340.17917
Conjunct_Seizoenzuiver-17.04800850035433.711154-4.59373.9e-052e-05
Cons_vertrouw4.475982157005424.0420541.10740.2744430.137222
Alg_consumptie_index_BE0.15020096660887632.4003390.00460.9963230.498162
Gem_rente_kasbon_1j58.673863234927258.1282121.00940.3185690.159285
t43.19065934670273.56290912.122300

\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) & 131.464612932303 & 438.79514 & 0.2996 & 0.765957 & 0.382979 \tabularnewline
Nikkei & 0.070054324911192 & 0.024175 & 2.8978 & 0.005949 & 0.002974 \tabularnewline
DJ_Indust & 0.106968905140376 & 0.039394 & 2.7154 & 0.009568 & 0.004784 \tabularnewline
Goudprijs & -0.0267508881683204 & 0.028804 & -0.9287 & 0.35834 & 0.17917 \tabularnewline
Conjunct_Seizoenzuiver & -17.0480085003543 & 3.711154 & -4.5937 & 3.9e-05 & 2e-05 \tabularnewline
Cons_vertrouw & 4.47598215700542 & 4.042054 & 1.1074 & 0.274443 & 0.137222 \tabularnewline
Alg_consumptie_index_BE & 0.150200966608876 & 32.400339 & 0.0046 & 0.996323 & 0.498162 \tabularnewline
Gem_rente_kasbon_1j & 58.6738632349272 & 58.128212 & 1.0094 & 0.318569 & 0.159285 \tabularnewline
t & 43.1906593467027 & 3.562909 & 12.1223 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105633&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]131.464612932303[/C][C]438.79514[/C][C]0.2996[/C][C]0.765957[/C][C]0.382979[/C][/ROW]
[ROW][C]Nikkei[/C][C]0.070054324911192[/C][C]0.024175[/C][C]2.8978[/C][C]0.005949[/C][C]0.002974[/C][/ROW]
[ROW][C]DJ_Indust[/C][C]0.106968905140376[/C][C]0.039394[/C][C]2.7154[/C][C]0.009568[/C][C]0.004784[/C][/ROW]
[ROW][C]Goudprijs[/C][C]-0.0267508881683204[/C][C]0.028804[/C][C]-0.9287[/C][C]0.35834[/C][C]0.17917[/C][/ROW]
[ROW][C]Conjunct_Seizoenzuiver[/C][C]-17.0480085003543[/C][C]3.711154[/C][C]-4.5937[/C][C]3.9e-05[/C][C]2e-05[/C][/ROW]
[ROW][C]Cons_vertrouw[/C][C]4.47598215700542[/C][C]4.042054[/C][C]1.1074[/C][C]0.274443[/C][C]0.137222[/C][/ROW]
[ROW][C]Alg_consumptie_index_BE[/C][C]0.150200966608876[/C][C]32.400339[/C][C]0.0046[/C][C]0.996323[/C][C]0.498162[/C][/ROW]
[ROW][C]Gem_rente_kasbon_1j[/C][C]58.6738632349272[/C][C]58.128212[/C][C]1.0094[/C][C]0.318569[/C][C]0.159285[/C][/ROW]
[ROW][C]t[/C][C]43.1906593467027[/C][C]3.562909[/C][C]12.1223[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105633&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105633&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)131.464612932303438.795140.29960.7659570.382979
Nikkei0.0700543249111920.0241752.89780.0059490.002974
DJ_Indust0.1069689051403760.0393942.71540.0095680.004784
Goudprijs-0.02675088816832040.028804-0.92870.358340.17917
Conjunct_Seizoenzuiver-17.04800850035433.711154-4.59373.9e-052e-05
Cons_vertrouw4.475982157005424.0420541.10740.2744430.137222
Alg_consumptie_index_BE0.15020096660887632.4003390.00460.9963230.498162
Gem_rente_kasbon_1j58.673863234927258.1282121.00940.3185690.159285
t43.19065934670273.56290912.122300







Multiple Linear Regression - Regression Statistics
Multiple R0.996362636253447
R-squared0.992738502921919
Adjusted R-squared0.991355360621332
F-TEST (value)717.74140845862
F-TEST (DF numerator)8
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation77.9600135000791
Sum Squared Residuals255266.075607166

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.996362636253447 \tabularnewline
R-squared & 0.992738502921919 \tabularnewline
Adjusted R-squared & 0.991355360621332 \tabularnewline
F-TEST (value) & 717.74140845862 \tabularnewline
F-TEST (DF numerator) & 8 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 77.9600135000791 \tabularnewline
Sum Squared Residuals & 255266.075607166 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105633&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.996362636253447[/C][/ROW]
[ROW][C]R-squared[/C][C]0.992738502921919[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.991355360621332[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]717.74140845862[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]8[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/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]77.9600135000791[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]255266.075607166[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105633&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105633&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.996362636253447
R-squared0.992738502921919
Adjusted R-squared0.991355360621332
F-TEST (value)717.74140845862
F-TEST (DF numerator)8
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation77.9600135000791
Sum Squared Residuals255266.075607166







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11635.251622.2571552669712.992844733028
21833.421750.6294539514882.7905460485205
31910.431800.92172596382109.508274036181
41959.671980.82453903473-21.1545390347251
51969.62040.84841939081-71.2484193908069
62061.412067.91625432756-6.50625432755852
72093.482145.66676577656-52.1867657765631
82120.882167.00763458898-46.1276345889771
92174.562169.842350322784.71764967721542
102196.722245.75237894843-49.0323789484268
112350.442397.34896878969-46.908968789691
122440.252420.3305345530719.9194654469274
132408.642450.07395613777-41.4339561377728
142472.812493.62059276989-20.8105927698915
152407.62429.45111119588-21.8511111958771
162454.622571.48107248847-116.861072488466
172448.052512.32211804711-64.2721180471125
182497.842558.07976706361-60.2397670636074
192645.642616.0427273769729.5972726230341
202756.762621.20317088031135.556829119687
212849.272731.60032973916117.669670260836
222921.442852.2787960834769.1612039165264
232981.852885.4203240246196.4296759753884
243080.583003.3128277421477.2671722578587
253106.223073.3907619889432.8292380110606
263119.313074.4927553760044.8172446239966
273061.263093.79905614672-32.5390561467211
283097.313141.15591343433-43.8459134343331
293161.693220.67912274439-58.9891227443882
303257.163289.27980872461-32.1198087246116
313277.013288.56416487016-11.5541648701549
323295.323317.20504089242-21.8850408924247
333363.993446.9833116505-82.9933116505012
343494.173588.8396434921-94.6696434921018
353667.033662.851556329984.17844367001622
363813.063679.83356561616133.226434383839
373917.963735.12558755312182.834412446877
383895.513809.309308419186.2006915808982
393801.063780.3740795641720.6859204358347
403570.123744.55683472340-174.436834723404
413701.613753.65929445522-52.0492944552206
423862.273893.07540824314-30.8054082431406
433970.14016.00908258280-45.9090825828049
444138.524145.6712627359-7.15126273589644
454199.754180.7651721224118.9848278775903
464290.894241.9707931968448.9192068031583
474443.914387.7697338560756.1402661439248
484502.644492.5263360242610.1136639757393
494356.984477.92904891401-120.949048914012
504591.274568.7048623858922.5651376141057
514696.964685.5355194930511.4244805069465

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1635.25 & 1622.25715526697 & 12.992844733028 \tabularnewline
2 & 1833.42 & 1750.62945395148 & 82.7905460485205 \tabularnewline
3 & 1910.43 & 1800.92172596382 & 109.508274036181 \tabularnewline
4 & 1959.67 & 1980.82453903473 & -21.1545390347251 \tabularnewline
5 & 1969.6 & 2040.84841939081 & -71.2484193908069 \tabularnewline
6 & 2061.41 & 2067.91625432756 & -6.50625432755852 \tabularnewline
7 & 2093.48 & 2145.66676577656 & -52.1867657765631 \tabularnewline
8 & 2120.88 & 2167.00763458898 & -46.1276345889771 \tabularnewline
9 & 2174.56 & 2169.84235032278 & 4.71764967721542 \tabularnewline
10 & 2196.72 & 2245.75237894843 & -49.0323789484268 \tabularnewline
11 & 2350.44 & 2397.34896878969 & -46.908968789691 \tabularnewline
12 & 2440.25 & 2420.33053455307 & 19.9194654469274 \tabularnewline
13 & 2408.64 & 2450.07395613777 & -41.4339561377728 \tabularnewline
14 & 2472.81 & 2493.62059276989 & -20.8105927698915 \tabularnewline
15 & 2407.6 & 2429.45111119588 & -21.8511111958771 \tabularnewline
16 & 2454.62 & 2571.48107248847 & -116.861072488466 \tabularnewline
17 & 2448.05 & 2512.32211804711 & -64.2721180471125 \tabularnewline
18 & 2497.84 & 2558.07976706361 & -60.2397670636074 \tabularnewline
19 & 2645.64 & 2616.04272737697 & 29.5972726230341 \tabularnewline
20 & 2756.76 & 2621.20317088031 & 135.556829119687 \tabularnewline
21 & 2849.27 & 2731.60032973916 & 117.669670260836 \tabularnewline
22 & 2921.44 & 2852.27879608347 & 69.1612039165264 \tabularnewline
23 & 2981.85 & 2885.42032402461 & 96.4296759753884 \tabularnewline
24 & 3080.58 & 3003.31282774214 & 77.2671722578587 \tabularnewline
25 & 3106.22 & 3073.39076198894 & 32.8292380110606 \tabularnewline
26 & 3119.31 & 3074.49275537600 & 44.8172446239966 \tabularnewline
27 & 3061.26 & 3093.79905614672 & -32.5390561467211 \tabularnewline
28 & 3097.31 & 3141.15591343433 & -43.8459134343331 \tabularnewline
29 & 3161.69 & 3220.67912274439 & -58.9891227443882 \tabularnewline
30 & 3257.16 & 3289.27980872461 & -32.1198087246116 \tabularnewline
31 & 3277.01 & 3288.56416487016 & -11.5541648701549 \tabularnewline
32 & 3295.32 & 3317.20504089242 & -21.8850408924247 \tabularnewline
33 & 3363.99 & 3446.9833116505 & -82.9933116505012 \tabularnewline
34 & 3494.17 & 3588.8396434921 & -94.6696434921018 \tabularnewline
35 & 3667.03 & 3662.85155632998 & 4.17844367001622 \tabularnewline
36 & 3813.06 & 3679.83356561616 & 133.226434383839 \tabularnewline
37 & 3917.96 & 3735.12558755312 & 182.834412446877 \tabularnewline
38 & 3895.51 & 3809.3093084191 & 86.2006915808982 \tabularnewline
39 & 3801.06 & 3780.37407956417 & 20.6859204358347 \tabularnewline
40 & 3570.12 & 3744.55683472340 & -174.436834723404 \tabularnewline
41 & 3701.61 & 3753.65929445522 & -52.0492944552206 \tabularnewline
42 & 3862.27 & 3893.07540824314 & -30.8054082431406 \tabularnewline
43 & 3970.1 & 4016.00908258280 & -45.9090825828049 \tabularnewline
44 & 4138.52 & 4145.6712627359 & -7.15126273589644 \tabularnewline
45 & 4199.75 & 4180.76517212241 & 18.9848278775903 \tabularnewline
46 & 4290.89 & 4241.97079319684 & 48.9192068031583 \tabularnewline
47 & 4443.91 & 4387.76973385607 & 56.1402661439248 \tabularnewline
48 & 4502.64 & 4492.52633602426 & 10.1136639757393 \tabularnewline
49 & 4356.98 & 4477.92904891401 & -120.949048914012 \tabularnewline
50 & 4591.27 & 4568.70486238589 & 22.5651376141057 \tabularnewline
51 & 4696.96 & 4685.53551949305 & 11.4244805069465 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105633&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]1622.25715526697[/C][C]12.992844733028[/C][/ROW]
[ROW][C]2[/C][C]1833.42[/C][C]1750.62945395148[/C][C]82.7905460485205[/C][/ROW]
[ROW][C]3[/C][C]1910.43[/C][C]1800.92172596382[/C][C]109.508274036181[/C][/ROW]
[ROW][C]4[/C][C]1959.67[/C][C]1980.82453903473[/C][C]-21.1545390347251[/C][/ROW]
[ROW][C]5[/C][C]1969.6[/C][C]2040.84841939081[/C][C]-71.2484193908069[/C][/ROW]
[ROW][C]6[/C][C]2061.41[/C][C]2067.91625432756[/C][C]-6.50625432755852[/C][/ROW]
[ROW][C]7[/C][C]2093.48[/C][C]2145.66676577656[/C][C]-52.1867657765631[/C][/ROW]
[ROW][C]8[/C][C]2120.88[/C][C]2167.00763458898[/C][C]-46.1276345889771[/C][/ROW]
[ROW][C]9[/C][C]2174.56[/C][C]2169.84235032278[/C][C]4.71764967721542[/C][/ROW]
[ROW][C]10[/C][C]2196.72[/C][C]2245.75237894843[/C][C]-49.0323789484268[/C][/ROW]
[ROW][C]11[/C][C]2350.44[/C][C]2397.34896878969[/C][C]-46.908968789691[/C][/ROW]
[ROW][C]12[/C][C]2440.25[/C][C]2420.33053455307[/C][C]19.9194654469274[/C][/ROW]
[ROW][C]13[/C][C]2408.64[/C][C]2450.07395613777[/C][C]-41.4339561377728[/C][/ROW]
[ROW][C]14[/C][C]2472.81[/C][C]2493.62059276989[/C][C]-20.8105927698915[/C][/ROW]
[ROW][C]15[/C][C]2407.6[/C][C]2429.45111119588[/C][C]-21.8511111958771[/C][/ROW]
[ROW][C]16[/C][C]2454.62[/C][C]2571.48107248847[/C][C]-116.861072488466[/C][/ROW]
[ROW][C]17[/C][C]2448.05[/C][C]2512.32211804711[/C][C]-64.2721180471125[/C][/ROW]
[ROW][C]18[/C][C]2497.84[/C][C]2558.07976706361[/C][C]-60.2397670636074[/C][/ROW]
[ROW][C]19[/C][C]2645.64[/C][C]2616.04272737697[/C][C]29.5972726230341[/C][/ROW]
[ROW][C]20[/C][C]2756.76[/C][C]2621.20317088031[/C][C]135.556829119687[/C][/ROW]
[ROW][C]21[/C][C]2849.27[/C][C]2731.60032973916[/C][C]117.669670260836[/C][/ROW]
[ROW][C]22[/C][C]2921.44[/C][C]2852.27879608347[/C][C]69.1612039165264[/C][/ROW]
[ROW][C]23[/C][C]2981.85[/C][C]2885.42032402461[/C][C]96.4296759753884[/C][/ROW]
[ROW][C]24[/C][C]3080.58[/C][C]3003.31282774214[/C][C]77.2671722578587[/C][/ROW]
[ROW][C]25[/C][C]3106.22[/C][C]3073.39076198894[/C][C]32.8292380110606[/C][/ROW]
[ROW][C]26[/C][C]3119.31[/C][C]3074.49275537600[/C][C]44.8172446239966[/C][/ROW]
[ROW][C]27[/C][C]3061.26[/C][C]3093.79905614672[/C][C]-32.5390561467211[/C][/ROW]
[ROW][C]28[/C][C]3097.31[/C][C]3141.15591343433[/C][C]-43.8459134343331[/C][/ROW]
[ROW][C]29[/C][C]3161.69[/C][C]3220.67912274439[/C][C]-58.9891227443882[/C][/ROW]
[ROW][C]30[/C][C]3257.16[/C][C]3289.27980872461[/C][C]-32.1198087246116[/C][/ROW]
[ROW][C]31[/C][C]3277.01[/C][C]3288.56416487016[/C][C]-11.5541648701549[/C][/ROW]
[ROW][C]32[/C][C]3295.32[/C][C]3317.20504089242[/C][C]-21.8850408924247[/C][/ROW]
[ROW][C]33[/C][C]3363.99[/C][C]3446.9833116505[/C][C]-82.9933116505012[/C][/ROW]
[ROW][C]34[/C][C]3494.17[/C][C]3588.8396434921[/C][C]-94.6696434921018[/C][/ROW]
[ROW][C]35[/C][C]3667.03[/C][C]3662.85155632998[/C][C]4.17844367001622[/C][/ROW]
[ROW][C]36[/C][C]3813.06[/C][C]3679.83356561616[/C][C]133.226434383839[/C][/ROW]
[ROW][C]37[/C][C]3917.96[/C][C]3735.12558755312[/C][C]182.834412446877[/C][/ROW]
[ROW][C]38[/C][C]3895.51[/C][C]3809.3093084191[/C][C]86.2006915808982[/C][/ROW]
[ROW][C]39[/C][C]3801.06[/C][C]3780.37407956417[/C][C]20.6859204358347[/C][/ROW]
[ROW][C]40[/C][C]3570.12[/C][C]3744.55683472340[/C][C]-174.436834723404[/C][/ROW]
[ROW][C]41[/C][C]3701.61[/C][C]3753.65929445522[/C][C]-52.0492944552206[/C][/ROW]
[ROW][C]42[/C][C]3862.27[/C][C]3893.07540824314[/C][C]-30.8054082431406[/C][/ROW]
[ROW][C]43[/C][C]3970.1[/C][C]4016.00908258280[/C][C]-45.9090825828049[/C][/ROW]
[ROW][C]44[/C][C]4138.52[/C][C]4145.6712627359[/C][C]-7.15126273589644[/C][/ROW]
[ROW][C]45[/C][C]4199.75[/C][C]4180.76517212241[/C][C]18.9848278775903[/C][/ROW]
[ROW][C]46[/C][C]4290.89[/C][C]4241.97079319684[/C][C]48.9192068031583[/C][/ROW]
[ROW][C]47[/C][C]4443.91[/C][C]4387.76973385607[/C][C]56.1402661439248[/C][/ROW]
[ROW][C]48[/C][C]4502.64[/C][C]4492.52633602426[/C][C]10.1136639757393[/C][/ROW]
[ROW][C]49[/C][C]4356.98[/C][C]4477.92904891401[/C][C]-120.949048914012[/C][/ROW]
[ROW][C]50[/C][C]4591.27[/C][C]4568.70486238589[/C][C]22.5651376141057[/C][/ROW]
[ROW][C]51[/C][C]4696.96[/C][C]4685.53551949305[/C][C]11.4244805069465[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105633&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105633&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.251622.2571552669712.992844733028
21833.421750.6294539514882.7905460485205
31910.431800.92172596382109.508274036181
41959.671980.82453903473-21.1545390347251
51969.62040.84841939081-71.2484193908069
62061.412067.91625432756-6.50625432755852
72093.482145.66676577656-52.1867657765631
82120.882167.00763458898-46.1276345889771
92174.562169.842350322784.71764967721542
102196.722245.75237894843-49.0323789484268
112350.442397.34896878969-46.908968789691
122440.252420.3305345530719.9194654469274
132408.642450.07395613777-41.4339561377728
142472.812493.62059276989-20.8105927698915
152407.62429.45111119588-21.8511111958771
162454.622571.48107248847-116.861072488466
172448.052512.32211804711-64.2721180471125
182497.842558.07976706361-60.2397670636074
192645.642616.0427273769729.5972726230341
202756.762621.20317088031135.556829119687
212849.272731.60032973916117.669670260836
222921.442852.2787960834769.1612039165264
232981.852885.4203240246196.4296759753884
243080.583003.3128277421477.2671722578587
253106.223073.3907619889432.8292380110606
263119.313074.4927553760044.8172446239966
273061.263093.79905614672-32.5390561467211
283097.313141.15591343433-43.8459134343331
293161.693220.67912274439-58.9891227443882
303257.163289.27980872461-32.1198087246116
313277.013288.56416487016-11.5541648701549
323295.323317.20504089242-21.8850408924247
333363.993446.9833116505-82.9933116505012
343494.173588.8396434921-94.6696434921018
353667.033662.851556329984.17844367001622
363813.063679.83356561616133.226434383839
373917.963735.12558755312182.834412446877
383895.513809.309308419186.2006915808982
393801.063780.3740795641720.6859204358347
403570.123744.55683472340-174.436834723404
413701.613753.65929445522-52.0492944552206
423862.273893.07540824314-30.8054082431406
433970.14016.00908258280-45.9090825828049
444138.524145.6712627359-7.15126273589644
454199.754180.7651721224118.9848278775903
464290.894241.9707931968448.9192068031583
474443.914387.7697338560756.1402661439248
484502.644492.5263360242610.1136639757393
494356.984477.92904891401-120.949048914012
504591.274568.7048623858922.5651376141057
514696.964685.5355194930511.4244805069465







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
120.1032355381676880.2064710763353760.896764461832312
130.07220870938671360.1444174187734270.927791290613286
140.04493255269850040.08986510539700070.9550674473015
150.02652611154899440.05305222309798890.973473888451006
160.05880920577651980.1176184115530400.94119079422348
170.04519404620356270.09038809240712540.954805953796437
180.06299778447582740.1259955689516550.937002215524173
190.1485451888972470.2970903777944940.851454811102753
200.458776062749510.917552125499020.54122393725049
210.3694273661613810.7388547323227630.630572633838619
220.3469813920264070.6939627840528150.653018607973593
230.3021518981954950.6043037963909890.697848101804505
240.2310840019248390.4621680038496780.768915998075161
250.1638554264025070.3277108528050140.836144573597493
260.3958655317882720.7917310635765440.604134468211728
270.715229656814890.5695406863702190.284770343185109
280.7388713172647280.5222573654705450.261128682735272
290.674450746321770.6510985073564590.325549253678229
300.6579175822175890.6841648355648220.342082417782411
310.8468972866787380.3062054266425240.153102713321262
320.8621365455823640.2757269088352730.137863454417637
330.7887675722595730.4224648554808530.211232427740427
340.7291045628318270.5417908743363450.270895437168173
350.7710559084384490.4578881831231020.228944091561551
360.8305455142951950.3389089714096110.169454485704805
370.8721345300009920.2557309399980170.127865469999008
380.8361304979141840.3277390041716330.163869502085816
390.7383592843772870.5232814312454270.261640715622713

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
12 & 0.103235538167688 & 0.206471076335376 & 0.896764461832312 \tabularnewline
13 & 0.0722087093867136 & 0.144417418773427 & 0.927791290613286 \tabularnewline
14 & 0.0449325526985004 & 0.0898651053970007 & 0.9550674473015 \tabularnewline
15 & 0.0265261115489944 & 0.0530522230979889 & 0.973473888451006 \tabularnewline
16 & 0.0588092057765198 & 0.117618411553040 & 0.94119079422348 \tabularnewline
17 & 0.0451940462035627 & 0.0903880924071254 & 0.954805953796437 \tabularnewline
18 & 0.0629977844758274 & 0.125995568951655 & 0.937002215524173 \tabularnewline
19 & 0.148545188897247 & 0.297090377794494 & 0.851454811102753 \tabularnewline
20 & 0.45877606274951 & 0.91755212549902 & 0.54122393725049 \tabularnewline
21 & 0.369427366161381 & 0.738854732322763 & 0.630572633838619 \tabularnewline
22 & 0.346981392026407 & 0.693962784052815 & 0.653018607973593 \tabularnewline
23 & 0.302151898195495 & 0.604303796390989 & 0.697848101804505 \tabularnewline
24 & 0.231084001924839 & 0.462168003849678 & 0.768915998075161 \tabularnewline
25 & 0.163855426402507 & 0.327710852805014 & 0.836144573597493 \tabularnewline
26 & 0.395865531788272 & 0.791731063576544 & 0.604134468211728 \tabularnewline
27 & 0.71522965681489 & 0.569540686370219 & 0.284770343185109 \tabularnewline
28 & 0.738871317264728 & 0.522257365470545 & 0.261128682735272 \tabularnewline
29 & 0.67445074632177 & 0.651098507356459 & 0.325549253678229 \tabularnewline
30 & 0.657917582217589 & 0.684164835564822 & 0.342082417782411 \tabularnewline
31 & 0.846897286678738 & 0.306205426642524 & 0.153102713321262 \tabularnewline
32 & 0.862136545582364 & 0.275726908835273 & 0.137863454417637 \tabularnewline
33 & 0.788767572259573 & 0.422464855480853 & 0.211232427740427 \tabularnewline
34 & 0.729104562831827 & 0.541790874336345 & 0.270895437168173 \tabularnewline
35 & 0.771055908438449 & 0.457888183123102 & 0.228944091561551 \tabularnewline
36 & 0.830545514295195 & 0.338908971409611 & 0.169454485704805 \tabularnewline
37 & 0.872134530000992 & 0.255730939998017 & 0.127865469999008 \tabularnewline
38 & 0.836130497914184 & 0.327739004171633 & 0.163869502085816 \tabularnewline
39 & 0.738359284377287 & 0.523281431245427 & 0.261640715622713 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105633&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]12[/C][C]0.103235538167688[/C][C]0.206471076335376[/C][C]0.896764461832312[/C][/ROW]
[ROW][C]13[/C][C]0.0722087093867136[/C][C]0.144417418773427[/C][C]0.927791290613286[/C][/ROW]
[ROW][C]14[/C][C]0.0449325526985004[/C][C]0.0898651053970007[/C][C]0.9550674473015[/C][/ROW]
[ROW][C]15[/C][C]0.0265261115489944[/C][C]0.0530522230979889[/C][C]0.973473888451006[/C][/ROW]
[ROW][C]16[/C][C]0.0588092057765198[/C][C]0.117618411553040[/C][C]0.94119079422348[/C][/ROW]
[ROW][C]17[/C][C]0.0451940462035627[/C][C]0.0903880924071254[/C][C]0.954805953796437[/C][/ROW]
[ROW][C]18[/C][C]0.0629977844758274[/C][C]0.125995568951655[/C][C]0.937002215524173[/C][/ROW]
[ROW][C]19[/C][C]0.148545188897247[/C][C]0.297090377794494[/C][C]0.851454811102753[/C][/ROW]
[ROW][C]20[/C][C]0.45877606274951[/C][C]0.91755212549902[/C][C]0.54122393725049[/C][/ROW]
[ROW][C]21[/C][C]0.369427366161381[/C][C]0.738854732322763[/C][C]0.630572633838619[/C][/ROW]
[ROW][C]22[/C][C]0.346981392026407[/C][C]0.693962784052815[/C][C]0.653018607973593[/C][/ROW]
[ROW][C]23[/C][C]0.302151898195495[/C][C]0.604303796390989[/C][C]0.697848101804505[/C][/ROW]
[ROW][C]24[/C][C]0.231084001924839[/C][C]0.462168003849678[/C][C]0.768915998075161[/C][/ROW]
[ROW][C]25[/C][C]0.163855426402507[/C][C]0.327710852805014[/C][C]0.836144573597493[/C][/ROW]
[ROW][C]26[/C][C]0.395865531788272[/C][C]0.791731063576544[/C][C]0.604134468211728[/C][/ROW]
[ROW][C]27[/C][C]0.71522965681489[/C][C]0.569540686370219[/C][C]0.284770343185109[/C][/ROW]
[ROW][C]28[/C][C]0.738871317264728[/C][C]0.522257365470545[/C][C]0.261128682735272[/C][/ROW]
[ROW][C]29[/C][C]0.67445074632177[/C][C]0.651098507356459[/C][C]0.325549253678229[/C][/ROW]
[ROW][C]30[/C][C]0.657917582217589[/C][C]0.684164835564822[/C][C]0.342082417782411[/C][/ROW]
[ROW][C]31[/C][C]0.846897286678738[/C][C]0.306205426642524[/C][C]0.153102713321262[/C][/ROW]
[ROW][C]32[/C][C]0.862136545582364[/C][C]0.275726908835273[/C][C]0.137863454417637[/C][/ROW]
[ROW][C]33[/C][C]0.788767572259573[/C][C]0.422464855480853[/C][C]0.211232427740427[/C][/ROW]
[ROW][C]34[/C][C]0.729104562831827[/C][C]0.541790874336345[/C][C]0.270895437168173[/C][/ROW]
[ROW][C]35[/C][C]0.771055908438449[/C][C]0.457888183123102[/C][C]0.228944091561551[/C][/ROW]
[ROW][C]36[/C][C]0.830545514295195[/C][C]0.338908971409611[/C][C]0.169454485704805[/C][/ROW]
[ROW][C]37[/C][C]0.872134530000992[/C][C]0.255730939998017[/C][C]0.127865469999008[/C][/ROW]
[ROW][C]38[/C][C]0.836130497914184[/C][C]0.327739004171633[/C][C]0.163869502085816[/C][/ROW]
[ROW][C]39[/C][C]0.738359284377287[/C][C]0.523281431245427[/C][C]0.261640715622713[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105633&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105633&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
120.1032355381676880.2064710763353760.896764461832312
130.07220870938671360.1444174187734270.927791290613286
140.04493255269850040.08986510539700070.9550674473015
150.02652611154899440.05305222309798890.973473888451006
160.05880920577651980.1176184115530400.94119079422348
170.04519404620356270.09038809240712540.954805953796437
180.06299778447582740.1259955689516550.937002215524173
190.1485451888972470.2970903777944940.851454811102753
200.458776062749510.917552125499020.54122393725049
210.3694273661613810.7388547323227630.630572633838619
220.3469813920264070.6939627840528150.653018607973593
230.3021518981954950.6043037963909890.697848101804505
240.2310840019248390.4621680038496780.768915998075161
250.1638554264025070.3277108528050140.836144573597493
260.3958655317882720.7917310635765440.604134468211728
270.715229656814890.5695406863702190.284770343185109
280.7388713172647280.5222573654705450.261128682735272
290.674450746321770.6510985073564590.325549253678229
300.6579175822175890.6841648355648220.342082417782411
310.8468972866787380.3062054266425240.153102713321262
320.8621365455823640.2757269088352730.137863454417637
330.7887675722595730.4224648554808530.211232427740427
340.7291045628318270.5417908743363450.270895437168173
350.7710559084384490.4578881831231020.228944091561551
360.8305455142951950.3389089714096110.169454485704805
370.8721345300009920.2557309399980170.127865469999008
380.8361304979141840.3277390041716330.163869502085816
390.7383592843772870.5232814312454270.261640715622713







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 level30.107142857142857NOK

\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 & 3 & 0.107142857142857 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105633&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]3[/C][C]0.107142857142857[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105633&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105633&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 level30.107142857142857NOK



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