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 computationThu, 15 Dec 2011 04:52:52 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/15/t1323942800a6i7ciybbqhtse8.htm/, Retrieved Thu, 09 May 2024 02:13:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=155307, Retrieved Thu, 09 May 2024 02:13:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2010-12-05 18:56:24] [b98453cac15ba1066b407e146608df68]
- R PD    [Multiple Regression] [] [2011-12-15 09:52:52] [cfea828c93f35e07cca4521b1fb38047] [Current]
Feedback Forum

Post a new message
Dataseries X:
-14	-20	36	-2	3
-7	-8	24	1	5
-9	-15	22	-1	4
-9	-13	17	-1	-4
-4	-6	8	-2	-1
-3	0	12	-1	3
1	5	5	1	2
-1	-1	6	0	2
-2	-5	5	-2	2
1	4	8	3	6
-3	-3	15	0	6
-2	3	16	0	6
0	8	17	2	6
-2	3	23	3	7
-4	3	24	1	4
-4	7	27	1	3
-7	4	31	0	0
-9	-4	40	1	6
-13	-6	47	-1	3
-8	8	43	2	1
-13	2	60	2	6
-15	-1	64	0	5
-15	-2	65	1	7
-15	0	65	1	4
-10	10	55	3	3
-12	3	57	3	6
-11	6	57	1	6
-11	7	57	1	5
-17	-4	65	-2	2
-18	-5	69	1	3
-19	-7	70	1	-2
-22	-10	71	-1	-4
-24	-21	71	-4	0
-24	-22	73	-2	1
-20	-16	68	-1	4
-25	-25	65	-5	-3
-22	-22	57	-4	-3
-17	-22	41	-5	0
-9	-19	21	0	6
-11	-21	21	-2	-1
-13	-31	17	-4	0
-11	-28	9	-6	-1
-9	-23	11	-2	1
-7	-17	6	-2	-4
-3	-12	-2	-2	-1
-3	-14	0	1	-1
-6	-18	5	-2	0
-4	-16	3	0	3
-8	-22	7	-1	0
-1	-9	4	2	8
-2	-10	8	3	8
-2	-10	9	2	8
-1	0	14	3	8
1	3	12	4	11
2	2	12	5	13
2	4	7	5	5
-1	-3	15	4	12
1	0	14	5	13
-1	-1	19	6	9
-8	-7	39	4	11




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'AstonUniversity' @ aston.wessa.net

\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 & 'AstonUniversity' @ aston.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155307&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]'AstonUniversity' @ aston.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155307&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155307&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'AstonUniversity' @ aston.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Spaarvermogen[t] = + 0.0493435035166121 + 3.52319756708551consumentenvertrouwen[t] -0.910838516689858economie[t] + 0.89239975891074Werkloosheid[t] -0.621014432131371`Financiën`[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Spaarvermogen[t] =  +  0.0493435035166121 +  3.52319756708551consumentenvertrouwen[t] -0.910838516689858economie[t] +  0.89239975891074Werkloosheid[t] -0.621014432131371`Financiën`[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155307&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Spaarvermogen[t] =  +  0.0493435035166121 +  3.52319756708551consumentenvertrouwen[t] -0.910838516689858economie[t] +  0.89239975891074Werkloosheid[t] -0.621014432131371`Financiën`[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155307&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155307&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
Spaarvermogen[t] = + 0.0493435035166121 + 3.52319756708551consumentenvertrouwen[t] -0.910838516689858economie[t] + 0.89239975891074Werkloosheid[t] -0.621014432131371`Financiën`[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.04934350351661210.3874840.12730.8991330.449567
consumentenvertrouwen3.523197567085510.23779114.816300
economie-0.9108385166898580.062362-14.605700
Werkloosheid0.892399758910740.06072614.695600
`Financiën`-0.6210144321313710.161446-3.84660.0003140.000157

\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) & 0.0493435035166121 & 0.387484 & 0.1273 & 0.899133 & 0.449567 \tabularnewline
consumentenvertrouwen & 3.52319756708551 & 0.237791 & 14.8163 & 0 & 0 \tabularnewline
economie & -0.910838516689858 & 0.062362 & -14.6057 & 0 & 0 \tabularnewline
Werkloosheid & 0.89239975891074 & 0.060726 & 14.6956 & 0 & 0 \tabularnewline
`Financiën` & -0.621014432131371 & 0.161446 & -3.8466 & 0.000314 & 0.000157 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155307&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]0.0493435035166121[/C][C]0.387484[/C][C]0.1273[/C][C]0.899133[/C][C]0.449567[/C][/ROW]
[ROW][C]consumentenvertrouwen[/C][C]3.52319756708551[/C][C]0.237791[/C][C]14.8163[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]economie[/C][C]-0.910838516689858[/C][C]0.062362[/C][C]-14.6057[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Werkloosheid[/C][C]0.89239975891074[/C][C]0.060726[/C][C]14.6956[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`Financiën`[/C][C]-0.621014432131371[/C][C]0.161446[/C][C]-3.8466[/C][C]0.000314[/C][C]0.000157[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155307&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155307&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)0.04934350351661210.3874840.12730.8991330.449567
consumentenvertrouwen3.523197567085510.23779114.816300
economie-0.9108385166898580.062362-14.605700
Werkloosheid0.892399758910740.06072614.695600
`Financiën`-0.6210144321313710.161446-3.84660.0003140.000157







Multiple Linear Regression - Regression Statistics
Multiple R0.960440364793394
R-squared0.922445694324467
Adjusted R-squared0.916805381184428
F-TEST (value)163.545120886343
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.21964691016139
Sum Squared Residuals81.8146222006423

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.960440364793394 \tabularnewline
R-squared & 0.922445694324467 \tabularnewline
Adjusted R-squared & 0.916805381184428 \tabularnewline
F-TEST (value) & 163.545120886343 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 55 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.21964691016139 \tabularnewline
Sum Squared Residuals & 81.8146222006423 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155307&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.960440364793394[/C][/ROW]
[ROW][C]R-squared[/C][C]0.922445694324467[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.916805381184428[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]163.545120886343[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]55[/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]1.21964691016139[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]81.8146222006423[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155307&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155307&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.960440364793394
R-squared0.922445694324467
Adjusted R-squared0.916805381184428
F-TEST (value)163.545120886343
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.21964691016139
Sum Squared Residuals81.8146222006423







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
132.309768083166050.690231916833949
253.470248449163331.52975155083667
342.256952278262571.74304772173744
4-4-4.026723549670860.0267235496708553
5-1-0.197188729137605-0.802811270862395
630.8095623413203452.19043765867966
722.85933284957516-0.85933284957516
822.79138300658541-0.791383006585406
923.26116861161133-1.26116861161133
1065.20534177873450.794658221265502
1165.598262735990770.401737264009231
1264.548828961847871.45117103815213
1366.6914024072176-0.691402407217597
1478.93258397782894-1.93258397782894
1544.02061746683141-0.0206174668314054
1633.05446267680419-0.0544626768041934
170-0.5920010066084210.592001006608421
1867.05889539080471-1.05889539080471
1932.276609332480320.72339066751968
2011.70821560221278-0.708215602212779
2164.728054768406971.27194523159303
2255.22580308421123-0.225803084211227
2376.408026927680450.591973072319546
2444.58634989430074-0.586349894300739
2532.927926109459560.072073890540445
2664.042200109939031.95779989006097
2766.0749109912177-0.0749109912177023
2855.16407247452784-0.164072474527845
2923.04635212328327-1.04635212328327
3032.140548812136460.859451187863538
31-21.33142803734141-3.33142803734141
32-4-4.371220490672060.37122049067206
3300.46465135513947-0.46465135513947
3411.91826052538807-0.918260525388067
3545.46300646690589-1.46300646690589
36-3-4.148576266519671.14857626651967
37-3-4.071711618750021.07171161875002
380-0.1131054937629430.113105493762943
3964.386892153979891.61310784602011
40-10.404202917451331-1.40420291745133
4100.138622778798674-0.138622778798674
42-1-1.444666844123060.444666844123064
4310.3482774958946590.651722504105341
44-4-2.53235726462717-1.46764273537283
45-1-0.132957651020355-0.867042348979645
46-11.61047560378673-2.61047560378673
4701.00927906023745-1.00927906023745
4833.20716877894453-0.20716877894453
490-1.229976921484031.22997692148403
5087.051262758020050.948737241979952
5187.387488311135990.612511688864012
5288.9009025021781-0.900902502178098
5387.156699264787360.843300735212643
54119.064764898935951.93523510106405
551312.87778655057990.12221344942006
5656.59411072264652-1.59411072264652
571210.16060014163631.8393998583637
581312.96106553469560.038934465304372
59910.6664932796368-1.6664932796368
601110.55916545265490.440834547345056

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3 & 2.30976808316605 & 0.690231916833949 \tabularnewline
2 & 5 & 3.47024844916333 & 1.52975155083667 \tabularnewline
3 & 4 & 2.25695227826257 & 1.74304772173744 \tabularnewline
4 & -4 & -4.02672354967086 & 0.0267235496708553 \tabularnewline
5 & -1 & -0.197188729137605 & -0.802811270862395 \tabularnewline
6 & 3 & 0.809562341320345 & 2.19043765867966 \tabularnewline
7 & 2 & 2.85933284957516 & -0.85933284957516 \tabularnewline
8 & 2 & 2.79138300658541 & -0.791383006585406 \tabularnewline
9 & 2 & 3.26116861161133 & -1.26116861161133 \tabularnewline
10 & 6 & 5.2053417787345 & 0.794658221265502 \tabularnewline
11 & 6 & 5.59826273599077 & 0.401737264009231 \tabularnewline
12 & 6 & 4.54882896184787 & 1.45117103815213 \tabularnewline
13 & 6 & 6.6914024072176 & -0.691402407217597 \tabularnewline
14 & 7 & 8.93258397782894 & -1.93258397782894 \tabularnewline
15 & 4 & 4.02061746683141 & -0.0206174668314054 \tabularnewline
16 & 3 & 3.05446267680419 & -0.0544626768041934 \tabularnewline
17 & 0 & -0.592001006608421 & 0.592001006608421 \tabularnewline
18 & 6 & 7.05889539080471 & -1.05889539080471 \tabularnewline
19 & 3 & 2.27660933248032 & 0.72339066751968 \tabularnewline
20 & 1 & 1.70821560221278 & -0.708215602212779 \tabularnewline
21 & 6 & 4.72805476840697 & 1.27194523159303 \tabularnewline
22 & 5 & 5.22580308421123 & -0.225803084211227 \tabularnewline
23 & 7 & 6.40802692768045 & 0.591973072319546 \tabularnewline
24 & 4 & 4.58634989430074 & -0.586349894300739 \tabularnewline
25 & 3 & 2.92792610945956 & 0.072073890540445 \tabularnewline
26 & 6 & 4.04220010993903 & 1.95779989006097 \tabularnewline
27 & 6 & 6.0749109912177 & -0.0749109912177023 \tabularnewline
28 & 5 & 5.16407247452784 & -0.164072474527845 \tabularnewline
29 & 2 & 3.04635212328327 & -1.04635212328327 \tabularnewline
30 & 3 & 2.14054881213646 & 0.859451187863538 \tabularnewline
31 & -2 & 1.33142803734141 & -3.33142803734141 \tabularnewline
32 & -4 & -4.37122049067206 & 0.37122049067206 \tabularnewline
33 & 0 & 0.46465135513947 & -0.46465135513947 \tabularnewline
34 & 1 & 1.91826052538807 & -0.918260525388067 \tabularnewline
35 & 4 & 5.46300646690589 & -1.46300646690589 \tabularnewline
36 & -3 & -4.14857626651967 & 1.14857626651967 \tabularnewline
37 & -3 & -4.07171161875002 & 1.07171161875002 \tabularnewline
38 & 0 & -0.113105493762943 & 0.113105493762943 \tabularnewline
39 & 6 & 4.38689215397989 & 1.61310784602011 \tabularnewline
40 & -1 & 0.404202917451331 & -1.40420291745133 \tabularnewline
41 & 0 & 0.138622778798674 & -0.138622778798674 \tabularnewline
42 & -1 & -1.44466684412306 & 0.444666844123064 \tabularnewline
43 & 1 & 0.348277495894659 & 0.651722504105341 \tabularnewline
44 & -4 & -2.53235726462717 & -1.46764273537283 \tabularnewline
45 & -1 & -0.132957651020355 & -0.867042348979645 \tabularnewline
46 & -1 & 1.61047560378673 & -2.61047560378673 \tabularnewline
47 & 0 & 1.00927906023745 & -1.00927906023745 \tabularnewline
48 & 3 & 3.20716877894453 & -0.20716877894453 \tabularnewline
49 & 0 & -1.22997692148403 & 1.22997692148403 \tabularnewline
50 & 8 & 7.05126275802005 & 0.948737241979952 \tabularnewline
51 & 8 & 7.38748831113599 & 0.612511688864012 \tabularnewline
52 & 8 & 8.9009025021781 & -0.900902502178098 \tabularnewline
53 & 8 & 7.15669926478736 & 0.843300735212643 \tabularnewline
54 & 11 & 9.06476489893595 & 1.93523510106405 \tabularnewline
55 & 13 & 12.8777865505799 & 0.12221344942006 \tabularnewline
56 & 5 & 6.59411072264652 & -1.59411072264652 \tabularnewline
57 & 12 & 10.1606001416363 & 1.8393998583637 \tabularnewline
58 & 13 & 12.9610655346956 & 0.038934465304372 \tabularnewline
59 & 9 & 10.6664932796368 & -1.6664932796368 \tabularnewline
60 & 11 & 10.5591654526549 & 0.440834547345056 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155307&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]3[/C][C]2.30976808316605[/C][C]0.690231916833949[/C][/ROW]
[ROW][C]2[/C][C]5[/C][C]3.47024844916333[/C][C]1.52975155083667[/C][/ROW]
[ROW][C]3[/C][C]4[/C][C]2.25695227826257[/C][C]1.74304772173744[/C][/ROW]
[ROW][C]4[/C][C]-4[/C][C]-4.02672354967086[/C][C]0.0267235496708553[/C][/ROW]
[ROW][C]5[/C][C]-1[/C][C]-0.197188729137605[/C][C]-0.802811270862395[/C][/ROW]
[ROW][C]6[/C][C]3[/C][C]0.809562341320345[/C][C]2.19043765867966[/C][/ROW]
[ROW][C]7[/C][C]2[/C][C]2.85933284957516[/C][C]-0.85933284957516[/C][/ROW]
[ROW][C]8[/C][C]2[/C][C]2.79138300658541[/C][C]-0.791383006585406[/C][/ROW]
[ROW][C]9[/C][C]2[/C][C]3.26116861161133[/C][C]-1.26116861161133[/C][/ROW]
[ROW][C]10[/C][C]6[/C][C]5.2053417787345[/C][C]0.794658221265502[/C][/ROW]
[ROW][C]11[/C][C]6[/C][C]5.59826273599077[/C][C]0.401737264009231[/C][/ROW]
[ROW][C]12[/C][C]6[/C][C]4.54882896184787[/C][C]1.45117103815213[/C][/ROW]
[ROW][C]13[/C][C]6[/C][C]6.6914024072176[/C][C]-0.691402407217597[/C][/ROW]
[ROW][C]14[/C][C]7[/C][C]8.93258397782894[/C][C]-1.93258397782894[/C][/ROW]
[ROW][C]15[/C][C]4[/C][C]4.02061746683141[/C][C]-0.0206174668314054[/C][/ROW]
[ROW][C]16[/C][C]3[/C][C]3.05446267680419[/C][C]-0.0544626768041934[/C][/ROW]
[ROW][C]17[/C][C]0[/C][C]-0.592001006608421[/C][C]0.592001006608421[/C][/ROW]
[ROW][C]18[/C][C]6[/C][C]7.05889539080471[/C][C]-1.05889539080471[/C][/ROW]
[ROW][C]19[/C][C]3[/C][C]2.27660933248032[/C][C]0.72339066751968[/C][/ROW]
[ROW][C]20[/C][C]1[/C][C]1.70821560221278[/C][C]-0.708215602212779[/C][/ROW]
[ROW][C]21[/C][C]6[/C][C]4.72805476840697[/C][C]1.27194523159303[/C][/ROW]
[ROW][C]22[/C][C]5[/C][C]5.22580308421123[/C][C]-0.225803084211227[/C][/ROW]
[ROW][C]23[/C][C]7[/C][C]6.40802692768045[/C][C]0.591973072319546[/C][/ROW]
[ROW][C]24[/C][C]4[/C][C]4.58634989430074[/C][C]-0.586349894300739[/C][/ROW]
[ROW][C]25[/C][C]3[/C][C]2.92792610945956[/C][C]0.072073890540445[/C][/ROW]
[ROW][C]26[/C][C]6[/C][C]4.04220010993903[/C][C]1.95779989006097[/C][/ROW]
[ROW][C]27[/C][C]6[/C][C]6.0749109912177[/C][C]-0.0749109912177023[/C][/ROW]
[ROW][C]28[/C][C]5[/C][C]5.16407247452784[/C][C]-0.164072474527845[/C][/ROW]
[ROW][C]29[/C][C]2[/C][C]3.04635212328327[/C][C]-1.04635212328327[/C][/ROW]
[ROW][C]30[/C][C]3[/C][C]2.14054881213646[/C][C]0.859451187863538[/C][/ROW]
[ROW][C]31[/C][C]-2[/C][C]1.33142803734141[/C][C]-3.33142803734141[/C][/ROW]
[ROW][C]32[/C][C]-4[/C][C]-4.37122049067206[/C][C]0.37122049067206[/C][/ROW]
[ROW][C]33[/C][C]0[/C][C]0.46465135513947[/C][C]-0.46465135513947[/C][/ROW]
[ROW][C]34[/C][C]1[/C][C]1.91826052538807[/C][C]-0.918260525388067[/C][/ROW]
[ROW][C]35[/C][C]4[/C][C]5.46300646690589[/C][C]-1.46300646690589[/C][/ROW]
[ROW][C]36[/C][C]-3[/C][C]-4.14857626651967[/C][C]1.14857626651967[/C][/ROW]
[ROW][C]37[/C][C]-3[/C][C]-4.07171161875002[/C][C]1.07171161875002[/C][/ROW]
[ROW][C]38[/C][C]0[/C][C]-0.113105493762943[/C][C]0.113105493762943[/C][/ROW]
[ROW][C]39[/C][C]6[/C][C]4.38689215397989[/C][C]1.61310784602011[/C][/ROW]
[ROW][C]40[/C][C]-1[/C][C]0.404202917451331[/C][C]-1.40420291745133[/C][/ROW]
[ROW][C]41[/C][C]0[/C][C]0.138622778798674[/C][C]-0.138622778798674[/C][/ROW]
[ROW][C]42[/C][C]-1[/C][C]-1.44466684412306[/C][C]0.444666844123064[/C][/ROW]
[ROW][C]43[/C][C]1[/C][C]0.348277495894659[/C][C]0.651722504105341[/C][/ROW]
[ROW][C]44[/C][C]-4[/C][C]-2.53235726462717[/C][C]-1.46764273537283[/C][/ROW]
[ROW][C]45[/C][C]-1[/C][C]-0.132957651020355[/C][C]-0.867042348979645[/C][/ROW]
[ROW][C]46[/C][C]-1[/C][C]1.61047560378673[/C][C]-2.61047560378673[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]1.00927906023745[/C][C]-1.00927906023745[/C][/ROW]
[ROW][C]48[/C][C]3[/C][C]3.20716877894453[/C][C]-0.20716877894453[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]-1.22997692148403[/C][C]1.22997692148403[/C][/ROW]
[ROW][C]50[/C][C]8[/C][C]7.05126275802005[/C][C]0.948737241979952[/C][/ROW]
[ROW][C]51[/C][C]8[/C][C]7.38748831113599[/C][C]0.612511688864012[/C][/ROW]
[ROW][C]52[/C][C]8[/C][C]8.9009025021781[/C][C]-0.900902502178098[/C][/ROW]
[ROW][C]53[/C][C]8[/C][C]7.15669926478736[/C][C]0.843300735212643[/C][/ROW]
[ROW][C]54[/C][C]11[/C][C]9.06476489893595[/C][C]1.93523510106405[/C][/ROW]
[ROW][C]55[/C][C]13[/C][C]12.8777865505799[/C][C]0.12221344942006[/C][/ROW]
[ROW][C]56[/C][C]5[/C][C]6.59411072264652[/C][C]-1.59411072264652[/C][/ROW]
[ROW][C]57[/C][C]12[/C][C]10.1606001416363[/C][C]1.8393998583637[/C][/ROW]
[ROW][C]58[/C][C]13[/C][C]12.9610655346956[/C][C]0.038934465304372[/C][/ROW]
[ROW][C]59[/C][C]9[/C][C]10.6664932796368[/C][C]-1.6664932796368[/C][/ROW]
[ROW][C]60[/C][C]11[/C][C]10.5591654526549[/C][C]0.440834547345056[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155307&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155307&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
132.309768083166050.690231916833949
253.470248449163331.52975155083667
342.256952278262571.74304772173744
4-4-4.026723549670860.0267235496708553
5-1-0.197188729137605-0.802811270862395
630.8095623413203452.19043765867966
722.85933284957516-0.85933284957516
822.79138300658541-0.791383006585406
923.26116861161133-1.26116861161133
1065.20534177873450.794658221265502
1165.598262735990770.401737264009231
1264.548828961847871.45117103815213
1366.6914024072176-0.691402407217597
1478.93258397782894-1.93258397782894
1544.02061746683141-0.0206174668314054
1633.05446267680419-0.0544626768041934
170-0.5920010066084210.592001006608421
1867.05889539080471-1.05889539080471
1932.276609332480320.72339066751968
2011.70821560221278-0.708215602212779
2164.728054768406971.27194523159303
2255.22580308421123-0.225803084211227
2376.408026927680450.591973072319546
2444.58634989430074-0.586349894300739
2532.927926109459560.072073890540445
2664.042200109939031.95779989006097
2766.0749109912177-0.0749109912177023
2855.16407247452784-0.164072474527845
2923.04635212328327-1.04635212328327
3032.140548812136460.859451187863538
31-21.33142803734141-3.33142803734141
32-4-4.371220490672060.37122049067206
3300.46465135513947-0.46465135513947
3411.91826052538807-0.918260525388067
3545.46300646690589-1.46300646690589
36-3-4.148576266519671.14857626651967
37-3-4.071711618750021.07171161875002
380-0.1131054937629430.113105493762943
3964.386892153979891.61310784602011
40-10.404202917451331-1.40420291745133
4100.138622778798674-0.138622778798674
42-1-1.444666844123060.444666844123064
4310.3482774958946590.651722504105341
44-4-2.53235726462717-1.46764273537283
45-1-0.132957651020355-0.867042348979645
46-11.61047560378673-2.61047560378673
4701.00927906023745-1.00927906023745
4833.20716877894453-0.20716877894453
490-1.229976921484031.22997692148403
5087.051262758020050.948737241979952
5187.387488311135990.612511688864012
5288.9009025021781-0.900902502178098
5387.156699264787360.843300735212643
54119.064764898935951.93523510106405
551312.87778655057990.12221344942006
5656.59411072264652-1.59411072264652
571210.16060014163631.8393998583637
581312.96106553469560.038934465304372
59910.6664932796368-1.6664932796368
601110.55916545265490.440834547345056







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.7756803143287850.448639371342430.224319685671215
90.6523066266386950.695386746722610.347693373361305
100.531224900894560.937550198210880.46877509910544
110.3970150645681710.7940301291363430.602984935431829
120.2969103974731910.5938207949463820.703089602526809
130.494628785818930.989257571637860.50537121418107
140.7235632633920040.5528734732159920.276436736607996
150.6532905286356030.6934189427287940.346709471364397
160.5758836914555310.8482326170889370.424116308544469
170.4882500732217780.9765001464435570.511749926778222
180.4873942414226890.9747884828453790.512605758577311
190.405025704599840.810051409199680.59497429540016
200.3616775693413790.7233551386827590.63832243065862
210.3430726829806480.6861453659612950.656927317019352
220.2793256118672150.558651223734430.720674388132785
230.2182163471381620.4364326942763240.781783652861838
240.1858180625787750.3716361251575510.814181937421225
250.1349982774781250.2699965549562510.865001722521875
260.1985128182324630.3970256364649260.801487181767537
270.1460319362972130.2920638725944260.853968063702787
280.1042312727997860.2084625455995720.895768727200214
290.09628886067089940.1925777213417990.9037111393291
300.07980811387726280.1596162277545260.920191886122737
310.5131763542582650.973647291483470.486823645741735
320.4501425619890670.9002851239781340.549857438010933
330.3852109525381630.7704219050763260.614789047461837
340.3599128129581270.7198256259162540.640087187041873
350.5130774409741650.9738451180516690.486922559025835
360.4591980250327080.9183960500654150.540801974967292
370.4184380697444770.8368761394889550.581561930255523
380.349076796994440.698153593988880.65092320300556
390.3760343038599220.7520686077198430.623965696140078
400.4220750540489780.8441501080979560.577924945951022
410.3518657917267690.7037315834535380.648134208273231
420.2791593646559340.5583187293118690.720840635344066
430.2232928415380960.4465856830761910.776707158461904
440.2244723549042810.4489447098085610.77552764509572
450.2010534899840550.402106979968110.798946510015945
460.3257294877065220.6514589754130440.674270512293478
470.5112282251091280.9775435497817430.488771774890872
480.4953933852251390.9907867704502780.504606614774861
490.4043063523835410.8086127047670820.595693647616459
500.310556012051860.621112024103720.68944398794814
510.4587445995687710.9174891991375410.541255400431229
520.565499714885110.8690005702297790.43450028511489

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.775680314328785 & 0.44863937134243 & 0.224319685671215 \tabularnewline
9 & 0.652306626638695 & 0.69538674672261 & 0.347693373361305 \tabularnewline
10 & 0.53122490089456 & 0.93755019821088 & 0.46877509910544 \tabularnewline
11 & 0.397015064568171 & 0.794030129136343 & 0.602984935431829 \tabularnewline
12 & 0.296910397473191 & 0.593820794946382 & 0.703089602526809 \tabularnewline
13 & 0.49462878581893 & 0.98925757163786 & 0.50537121418107 \tabularnewline
14 & 0.723563263392004 & 0.552873473215992 & 0.276436736607996 \tabularnewline
15 & 0.653290528635603 & 0.693418942728794 & 0.346709471364397 \tabularnewline
16 & 0.575883691455531 & 0.848232617088937 & 0.424116308544469 \tabularnewline
17 & 0.488250073221778 & 0.976500146443557 & 0.511749926778222 \tabularnewline
18 & 0.487394241422689 & 0.974788482845379 & 0.512605758577311 \tabularnewline
19 & 0.40502570459984 & 0.81005140919968 & 0.59497429540016 \tabularnewline
20 & 0.361677569341379 & 0.723355138682759 & 0.63832243065862 \tabularnewline
21 & 0.343072682980648 & 0.686145365961295 & 0.656927317019352 \tabularnewline
22 & 0.279325611867215 & 0.55865122373443 & 0.720674388132785 \tabularnewline
23 & 0.218216347138162 & 0.436432694276324 & 0.781783652861838 \tabularnewline
24 & 0.185818062578775 & 0.371636125157551 & 0.814181937421225 \tabularnewline
25 & 0.134998277478125 & 0.269996554956251 & 0.865001722521875 \tabularnewline
26 & 0.198512818232463 & 0.397025636464926 & 0.801487181767537 \tabularnewline
27 & 0.146031936297213 & 0.292063872594426 & 0.853968063702787 \tabularnewline
28 & 0.104231272799786 & 0.208462545599572 & 0.895768727200214 \tabularnewline
29 & 0.0962888606708994 & 0.192577721341799 & 0.9037111393291 \tabularnewline
30 & 0.0798081138772628 & 0.159616227754526 & 0.920191886122737 \tabularnewline
31 & 0.513176354258265 & 0.97364729148347 & 0.486823645741735 \tabularnewline
32 & 0.450142561989067 & 0.900285123978134 & 0.549857438010933 \tabularnewline
33 & 0.385210952538163 & 0.770421905076326 & 0.614789047461837 \tabularnewline
34 & 0.359912812958127 & 0.719825625916254 & 0.640087187041873 \tabularnewline
35 & 0.513077440974165 & 0.973845118051669 & 0.486922559025835 \tabularnewline
36 & 0.459198025032708 & 0.918396050065415 & 0.540801974967292 \tabularnewline
37 & 0.418438069744477 & 0.836876139488955 & 0.581561930255523 \tabularnewline
38 & 0.34907679699444 & 0.69815359398888 & 0.65092320300556 \tabularnewline
39 & 0.376034303859922 & 0.752068607719843 & 0.623965696140078 \tabularnewline
40 & 0.422075054048978 & 0.844150108097956 & 0.577924945951022 \tabularnewline
41 & 0.351865791726769 & 0.703731583453538 & 0.648134208273231 \tabularnewline
42 & 0.279159364655934 & 0.558318729311869 & 0.720840635344066 \tabularnewline
43 & 0.223292841538096 & 0.446585683076191 & 0.776707158461904 \tabularnewline
44 & 0.224472354904281 & 0.448944709808561 & 0.77552764509572 \tabularnewline
45 & 0.201053489984055 & 0.40210697996811 & 0.798946510015945 \tabularnewline
46 & 0.325729487706522 & 0.651458975413044 & 0.674270512293478 \tabularnewline
47 & 0.511228225109128 & 0.977543549781743 & 0.488771774890872 \tabularnewline
48 & 0.495393385225139 & 0.990786770450278 & 0.504606614774861 \tabularnewline
49 & 0.404306352383541 & 0.808612704767082 & 0.595693647616459 \tabularnewline
50 & 0.31055601205186 & 0.62111202410372 & 0.68944398794814 \tabularnewline
51 & 0.458744599568771 & 0.917489199137541 & 0.541255400431229 \tabularnewline
52 & 0.56549971488511 & 0.869000570229779 & 0.43450028511489 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155307&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]8[/C][C]0.775680314328785[/C][C]0.44863937134243[/C][C]0.224319685671215[/C][/ROW]
[ROW][C]9[/C][C]0.652306626638695[/C][C]0.69538674672261[/C][C]0.347693373361305[/C][/ROW]
[ROW][C]10[/C][C]0.53122490089456[/C][C]0.93755019821088[/C][C]0.46877509910544[/C][/ROW]
[ROW][C]11[/C][C]0.397015064568171[/C][C]0.794030129136343[/C][C]0.602984935431829[/C][/ROW]
[ROW][C]12[/C][C]0.296910397473191[/C][C]0.593820794946382[/C][C]0.703089602526809[/C][/ROW]
[ROW][C]13[/C][C]0.49462878581893[/C][C]0.98925757163786[/C][C]0.50537121418107[/C][/ROW]
[ROW][C]14[/C][C]0.723563263392004[/C][C]0.552873473215992[/C][C]0.276436736607996[/C][/ROW]
[ROW][C]15[/C][C]0.653290528635603[/C][C]0.693418942728794[/C][C]0.346709471364397[/C][/ROW]
[ROW][C]16[/C][C]0.575883691455531[/C][C]0.848232617088937[/C][C]0.424116308544469[/C][/ROW]
[ROW][C]17[/C][C]0.488250073221778[/C][C]0.976500146443557[/C][C]0.511749926778222[/C][/ROW]
[ROW][C]18[/C][C]0.487394241422689[/C][C]0.974788482845379[/C][C]0.512605758577311[/C][/ROW]
[ROW][C]19[/C][C]0.40502570459984[/C][C]0.81005140919968[/C][C]0.59497429540016[/C][/ROW]
[ROW][C]20[/C][C]0.361677569341379[/C][C]0.723355138682759[/C][C]0.63832243065862[/C][/ROW]
[ROW][C]21[/C][C]0.343072682980648[/C][C]0.686145365961295[/C][C]0.656927317019352[/C][/ROW]
[ROW][C]22[/C][C]0.279325611867215[/C][C]0.55865122373443[/C][C]0.720674388132785[/C][/ROW]
[ROW][C]23[/C][C]0.218216347138162[/C][C]0.436432694276324[/C][C]0.781783652861838[/C][/ROW]
[ROW][C]24[/C][C]0.185818062578775[/C][C]0.371636125157551[/C][C]0.814181937421225[/C][/ROW]
[ROW][C]25[/C][C]0.134998277478125[/C][C]0.269996554956251[/C][C]0.865001722521875[/C][/ROW]
[ROW][C]26[/C][C]0.198512818232463[/C][C]0.397025636464926[/C][C]0.801487181767537[/C][/ROW]
[ROW][C]27[/C][C]0.146031936297213[/C][C]0.292063872594426[/C][C]0.853968063702787[/C][/ROW]
[ROW][C]28[/C][C]0.104231272799786[/C][C]0.208462545599572[/C][C]0.895768727200214[/C][/ROW]
[ROW][C]29[/C][C]0.0962888606708994[/C][C]0.192577721341799[/C][C]0.9037111393291[/C][/ROW]
[ROW][C]30[/C][C]0.0798081138772628[/C][C]0.159616227754526[/C][C]0.920191886122737[/C][/ROW]
[ROW][C]31[/C][C]0.513176354258265[/C][C]0.97364729148347[/C][C]0.486823645741735[/C][/ROW]
[ROW][C]32[/C][C]0.450142561989067[/C][C]0.900285123978134[/C][C]0.549857438010933[/C][/ROW]
[ROW][C]33[/C][C]0.385210952538163[/C][C]0.770421905076326[/C][C]0.614789047461837[/C][/ROW]
[ROW][C]34[/C][C]0.359912812958127[/C][C]0.719825625916254[/C][C]0.640087187041873[/C][/ROW]
[ROW][C]35[/C][C]0.513077440974165[/C][C]0.973845118051669[/C][C]0.486922559025835[/C][/ROW]
[ROW][C]36[/C][C]0.459198025032708[/C][C]0.918396050065415[/C][C]0.540801974967292[/C][/ROW]
[ROW][C]37[/C][C]0.418438069744477[/C][C]0.836876139488955[/C][C]0.581561930255523[/C][/ROW]
[ROW][C]38[/C][C]0.34907679699444[/C][C]0.69815359398888[/C][C]0.65092320300556[/C][/ROW]
[ROW][C]39[/C][C]0.376034303859922[/C][C]0.752068607719843[/C][C]0.623965696140078[/C][/ROW]
[ROW][C]40[/C][C]0.422075054048978[/C][C]0.844150108097956[/C][C]0.577924945951022[/C][/ROW]
[ROW][C]41[/C][C]0.351865791726769[/C][C]0.703731583453538[/C][C]0.648134208273231[/C][/ROW]
[ROW][C]42[/C][C]0.279159364655934[/C][C]0.558318729311869[/C][C]0.720840635344066[/C][/ROW]
[ROW][C]43[/C][C]0.223292841538096[/C][C]0.446585683076191[/C][C]0.776707158461904[/C][/ROW]
[ROW][C]44[/C][C]0.224472354904281[/C][C]0.448944709808561[/C][C]0.77552764509572[/C][/ROW]
[ROW][C]45[/C][C]0.201053489984055[/C][C]0.40210697996811[/C][C]0.798946510015945[/C][/ROW]
[ROW][C]46[/C][C]0.325729487706522[/C][C]0.651458975413044[/C][C]0.674270512293478[/C][/ROW]
[ROW][C]47[/C][C]0.511228225109128[/C][C]0.977543549781743[/C][C]0.488771774890872[/C][/ROW]
[ROW][C]48[/C][C]0.495393385225139[/C][C]0.990786770450278[/C][C]0.504606614774861[/C][/ROW]
[ROW][C]49[/C][C]0.404306352383541[/C][C]0.808612704767082[/C][C]0.595693647616459[/C][/ROW]
[ROW][C]50[/C][C]0.31055601205186[/C][C]0.62111202410372[/C][C]0.68944398794814[/C][/ROW]
[ROW][C]51[/C][C]0.458744599568771[/C][C]0.917489199137541[/C][C]0.541255400431229[/C][/ROW]
[ROW][C]52[/C][C]0.56549971488511[/C][C]0.869000570229779[/C][C]0.43450028511489[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155307&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155307&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
80.7756803143287850.448639371342430.224319685671215
90.6523066266386950.695386746722610.347693373361305
100.531224900894560.937550198210880.46877509910544
110.3970150645681710.7940301291363430.602984935431829
120.2969103974731910.5938207949463820.703089602526809
130.494628785818930.989257571637860.50537121418107
140.7235632633920040.5528734732159920.276436736607996
150.6532905286356030.6934189427287940.346709471364397
160.5758836914555310.8482326170889370.424116308544469
170.4882500732217780.9765001464435570.511749926778222
180.4873942414226890.9747884828453790.512605758577311
190.405025704599840.810051409199680.59497429540016
200.3616775693413790.7233551386827590.63832243065862
210.3430726829806480.6861453659612950.656927317019352
220.2793256118672150.558651223734430.720674388132785
230.2182163471381620.4364326942763240.781783652861838
240.1858180625787750.3716361251575510.814181937421225
250.1349982774781250.2699965549562510.865001722521875
260.1985128182324630.3970256364649260.801487181767537
270.1460319362972130.2920638725944260.853968063702787
280.1042312727997860.2084625455995720.895768727200214
290.09628886067089940.1925777213417990.9037111393291
300.07980811387726280.1596162277545260.920191886122737
310.5131763542582650.973647291483470.486823645741735
320.4501425619890670.9002851239781340.549857438010933
330.3852109525381630.7704219050763260.614789047461837
340.3599128129581270.7198256259162540.640087187041873
350.5130774409741650.9738451180516690.486922559025835
360.4591980250327080.9183960500654150.540801974967292
370.4184380697444770.8368761394889550.581561930255523
380.349076796994440.698153593988880.65092320300556
390.3760343038599220.7520686077198430.623965696140078
400.4220750540489780.8441501080979560.577924945951022
410.3518657917267690.7037315834535380.648134208273231
420.2791593646559340.5583187293118690.720840635344066
430.2232928415380960.4465856830761910.776707158461904
440.2244723549042810.4489447098085610.77552764509572
450.2010534899840550.402106979968110.798946510015945
460.3257294877065220.6514589754130440.674270512293478
470.5112282251091280.9775435497817430.488771774890872
480.4953933852251390.9907867704502780.504606614774861
490.4043063523835410.8086127047670820.595693647616459
500.310556012051860.621112024103720.68944398794814
510.4587445995687710.9174891991375410.541255400431229
520.565499714885110.8690005702297790.43450028511489







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155307&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155307&T=6

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 5 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 5 ; 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')
}