Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 22 Nov 2008 09:26:17 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/22/t1227372319sk8miek3j4nbnhz.htm/, Retrieved Sun, 19 May 2024 06:15:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25201, Retrieved Sun, 19 May 2024 06:15:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact230
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Stefan Temmerman] [2008-11-22 16:26:17] [7866e091edc3e3e9f6a037e9d19fcaa2] [Current]
Feedback Forum

Post a new message
Dataseries X:
8	0
-10	0
-24	0
-19	0
8	1
24	1
14	1
7	1
9	1
-26	0
19	0
15	0
-1	0
-10	0
-21	0
-14	0
-27	0
26	0
23	0
5	0
19	0
-19	0
24	1
17	1
1	1
-9	1
-16	1
-21	1
-14	1
31	1
27	1
10	1
12	1
-23	1
13	1
26	1
-1	1
4	1
-16	1
-5	1
9	1
23	1
9	1
2	1
10	1
-29	0
17	0
9	0
9	0
-10	0
-23	0
13	0
13	0
-9	0
9	0
5	0
8	0
-18	0
7	1
4	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25201&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25201&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Woongebouwen[t] = + 13.4520547945205 + 2.34425253126862Conjunctuur[t] -10.7323903116935M1[t] -20.9140956918801M2[t] -33.8958010720667M3[t] -23.0775064522533M4[t] -16.5280623386937M5[t] + 4.6902322811197M6[t] + 2.10852690093308M7[t] -8.47317847925353M8[t] -2.65488385944015M9[t] -36.2988882271193M10[t] + 1.78170538018661M11[t] -0.0182946198133809t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Woongebouwen[t] =  +  13.4520547945205 +  2.34425253126862Conjunctuur[t] -10.7323903116935M1[t] -20.9140956918801M2[t] -33.8958010720667M3[t] -23.0775064522533M4[t] -16.5280623386937M5[t] +  4.6902322811197M6[t] +  2.10852690093308M7[t] -8.47317847925353M8[t] -2.65488385944015M9[t] -36.2988882271193M10[t] +  1.78170538018661M11[t] -0.0182946198133809t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25201&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Woongebouwen[t] =  +  13.4520547945205 +  2.34425253126862Conjunctuur[t] -10.7323903116935M1[t] -20.9140956918801M2[t] -33.8958010720667M3[t] -23.0775064522533M4[t] -16.5280623386937M5[t] +  4.6902322811197M6[t] +  2.10852690093308M7[t] -8.47317847925353M8[t] -2.65488385944015M9[t] -36.2988882271193M10[t] +  1.78170538018661M11[t] -0.0182946198133809t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25201&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25201&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
Woongebouwen[t] = + 13.4520547945205 + 2.34425253126862Conjunctuur[t] -10.7323903116935M1[t] -20.9140956918801M2[t] -33.8958010720667M3[t] -23.0775064522533M4[t] -16.5280623386937M5[t] + 4.6902322811197M6[t] + 2.10852690093308M7[t] -8.47317847925353M8[t] -2.65488385944015M9[t] -36.2988882271193M10[t] + 1.78170538018661M11[t] -0.0182946198133809t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)13.45205479452055.1834672.59520.0126450.006322
Conjunctuur2.344252531268622.5358220.92450.3600740.180037
M1-10.73239031169356.070974-1.76780.0837230.041862
M2-20.91409569188016.062104-3.450.0012110.000606
M3-33.89580107206676.054082-5.59881e-061e-06
M4-23.07750645225336.04691-3.81640.0004030.000201
M5-16.52806233869376.020303-2.74540.0085940.004297
M64.69023228111976.0146760.77980.4395040.219752
M72.108526900933086.009910.35080.7273090.363654
M8-8.473178479253536.006008-1.41080.1650360.082518
M9-2.654883859440156.002971-0.44230.6603720.330186
M10-36.29888822711936.085337-5.96500
M111.781705380186615.9994980.2970.7678220.383911
t-0.01829461981338090.072179-0.25350.8010410.40052

\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) & 13.4520547945205 & 5.183467 & 2.5952 & 0.012645 & 0.006322 \tabularnewline
Conjunctuur & 2.34425253126862 & 2.535822 & 0.9245 & 0.360074 & 0.180037 \tabularnewline
M1 & -10.7323903116935 & 6.070974 & -1.7678 & 0.083723 & 0.041862 \tabularnewline
M2 & -20.9140956918801 & 6.062104 & -3.45 & 0.001211 & 0.000606 \tabularnewline
M3 & -33.8958010720667 & 6.054082 & -5.5988 & 1e-06 & 1e-06 \tabularnewline
M4 & -23.0775064522533 & 6.04691 & -3.8164 & 0.000403 & 0.000201 \tabularnewline
M5 & -16.5280623386937 & 6.020303 & -2.7454 & 0.008594 & 0.004297 \tabularnewline
M6 & 4.6902322811197 & 6.014676 & 0.7798 & 0.439504 & 0.219752 \tabularnewline
M7 & 2.10852690093308 & 6.00991 & 0.3508 & 0.727309 & 0.363654 \tabularnewline
M8 & -8.47317847925353 & 6.006008 & -1.4108 & 0.165036 & 0.082518 \tabularnewline
M9 & -2.65488385944015 & 6.002971 & -0.4423 & 0.660372 & 0.330186 \tabularnewline
M10 & -36.2988882271193 & 6.085337 & -5.965 & 0 & 0 \tabularnewline
M11 & 1.78170538018661 & 5.999498 & 0.297 & 0.767822 & 0.383911 \tabularnewline
t & -0.0182946198133809 & 0.072179 & -0.2535 & 0.801041 & 0.40052 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25201&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]13.4520547945205[/C][C]5.183467[/C][C]2.5952[/C][C]0.012645[/C][C]0.006322[/C][/ROW]
[ROW][C]Conjunctuur[/C][C]2.34425253126862[/C][C]2.535822[/C][C]0.9245[/C][C]0.360074[/C][C]0.180037[/C][/ROW]
[ROW][C]M1[/C][C]-10.7323903116935[/C][C]6.070974[/C][C]-1.7678[/C][C]0.083723[/C][C]0.041862[/C][/ROW]
[ROW][C]M2[/C][C]-20.9140956918801[/C][C]6.062104[/C][C]-3.45[/C][C]0.001211[/C][C]0.000606[/C][/ROW]
[ROW][C]M3[/C][C]-33.8958010720667[/C][C]6.054082[/C][C]-5.5988[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M4[/C][C]-23.0775064522533[/C][C]6.04691[/C][C]-3.8164[/C][C]0.000403[/C][C]0.000201[/C][/ROW]
[ROW][C]M5[/C][C]-16.5280623386937[/C][C]6.020303[/C][C]-2.7454[/C][C]0.008594[/C][C]0.004297[/C][/ROW]
[ROW][C]M6[/C][C]4.6902322811197[/C][C]6.014676[/C][C]0.7798[/C][C]0.439504[/C][C]0.219752[/C][/ROW]
[ROW][C]M7[/C][C]2.10852690093308[/C][C]6.00991[/C][C]0.3508[/C][C]0.727309[/C][C]0.363654[/C][/ROW]
[ROW][C]M8[/C][C]-8.47317847925353[/C][C]6.006008[/C][C]-1.4108[/C][C]0.165036[/C][C]0.082518[/C][/ROW]
[ROW][C]M9[/C][C]-2.65488385944015[/C][C]6.002971[/C][C]-0.4423[/C][C]0.660372[/C][C]0.330186[/C][/ROW]
[ROW][C]M10[/C][C]-36.2988882271193[/C][C]6.085337[/C][C]-5.965[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]1.78170538018661[/C][C]5.999498[/C][C]0.297[/C][C]0.767822[/C][C]0.383911[/C][/ROW]
[ROW][C]t[/C][C]-0.0182946198133809[/C][C]0.072179[/C][C]-0.2535[/C][C]0.801041[/C][C]0.40052[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25201&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25201&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)13.45205479452055.1834672.59520.0126450.006322
Conjunctuur2.344252531268622.5358220.92450.3600740.180037
M1-10.73239031169356.070974-1.76780.0837230.041862
M2-20.91409569188016.062104-3.450.0012110.000606
M3-33.89580107206676.054082-5.59881e-061e-06
M4-23.07750645225336.04691-3.81640.0004030.000201
M5-16.52806233869376.020303-2.74540.0085940.004297
M64.69023228111976.0146760.77980.4395040.219752
M72.108526900933086.009910.35080.7273090.363654
M8-8.473178479253536.006008-1.41080.1650360.082518
M9-2.654883859440156.002971-0.44230.6603720.330186
M10-36.29888822711936.085337-5.96500
M111.781705380186615.9994980.2970.7678220.383911
t-0.01829461981338090.072179-0.25350.8010410.40052







Multiple Linear Regression - Regression Statistics
Multiple R0.857459474391303
R-squared0.73523675022341
Adjusted R-squared0.660412353547417
F-TEST (value)9.82616342911732
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.34161934287158e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.48535314482555
Sum Squared Residuals4138.70851697439

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.857459474391303 \tabularnewline
R-squared & 0.73523675022341 \tabularnewline
Adjusted R-squared & 0.660412353547417 \tabularnewline
F-TEST (value) & 9.82616342911732 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 2.34161934287158e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 9.48535314482555 \tabularnewline
Sum Squared Residuals & 4138.70851697439 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25201&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.857459474391303[/C][/ROW]
[ROW][C]R-squared[/C][C]0.73523675022341[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.660412353547417[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.82616342911732[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]2.34161934287158e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]9.48535314482555[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4138.70851697439[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25201&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25201&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.857459474391303
R-squared0.73523675022341
Adjusted R-squared0.660412353547417
F-TEST (value)9.82616342911732
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.34161934287158e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.48535314482555
Sum Squared Residuals4138.70851697439







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
182.701369863013715.29863013698629
2-10-7.49863013698628-2.50136986301372
3-24-20.4986301369863-3.50136986301369
4-19-9.69863013698634-9.30136986301366
58-0.8232281119714148.82322811197141
62420.37677188802863.62322811197138
71417.7767718880286-3.77677188802860
877.17677188802858-0.176771888028577
9912.9767718880286-3.97677188802859
10-26-23.0297796307326-2.97022036926743
111915.03251935676003.96748064324002
121513.232519356761.76748064324000
13-12.48183442525312-3.48183442525312
14-10-7.7181655747469-2.28183442525311
15-21-20.7181655747469-0.281834425253125
16-14-9.91816557474686-4.08183442525314
17-27-3.38701608100060-23.6129839189994
182617.81298391899948.18701608100061
192315.21298391899947.7870160810006
2054.612983918999400.387016081000596
211910.41298391899948.5870160810006
22-19-23.24931506849324.24931506849316
232417.1572364502686.842763549732
241715.3572364502681.64276354973198
2514.60655151876116-3.60655151876116
26-9-5.59344848123884-3.40655151876116
27-16-18.59344848123882.59344848123883
28-21-7.79344848123882-13.2065515187612
29-14-1.26229898749255-12.7377010125075
303119.937701012507411.0622989874926
312717.33770101250749.66229898749256
32106.737701012507453.26229898749255
331212.5377010125074-0.537701012507439
34-23-21.1245979749851-1.87540202501488
351316.9377010125074-3.93770101250744
362615.137701012507510.8622989874925
37-14.38701608100059-5.38701608100059
384-5.812983918999429.81298391899942
39-16-18.81298391899942.81298391899940
40-5-8.01298391899943.01298391899939
419-1.4818344252531310.4818344252531
422319.71816557474693.28183442525314
43917.1181655747469-8.11816557474687
4426.51816557474688-4.51816557474688
451012.3181655747469-2.31816557474687
46-29-23.6883859440143-5.31161405598571
471714.37391304347832.62608695652173
48912.5739130434783-3.57391304347827
4991.823228111971417.17677188802859
50-10-8.3767718880286-1.62322811197140
51-23-21.3767718880286-1.62322811197141
5213-10.576771888028623.5767718880286
5313-4.0456223942823117.0456223942823
54-917.1543776057177-26.1543776057177
55914.5543776057177-5.55437760571769
5653.954377605717691.04562239428231
5789.7543776057177-1.75437760571769
58-18-23.90792138177495.90792138177487
59716.4986301369863-9.4986301369863
60414.6986301369863-10.6986301369863

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8 & 2.70136986301371 & 5.29863013698629 \tabularnewline
2 & -10 & -7.49863013698628 & -2.50136986301372 \tabularnewline
3 & -24 & -20.4986301369863 & -3.50136986301369 \tabularnewline
4 & -19 & -9.69863013698634 & -9.30136986301366 \tabularnewline
5 & 8 & -0.823228111971414 & 8.82322811197141 \tabularnewline
6 & 24 & 20.3767718880286 & 3.62322811197138 \tabularnewline
7 & 14 & 17.7767718880286 & -3.77677188802860 \tabularnewline
8 & 7 & 7.17677188802858 & -0.176771888028577 \tabularnewline
9 & 9 & 12.9767718880286 & -3.97677188802859 \tabularnewline
10 & -26 & -23.0297796307326 & -2.97022036926743 \tabularnewline
11 & 19 & 15.0325193567600 & 3.96748064324002 \tabularnewline
12 & 15 & 13.23251935676 & 1.76748064324000 \tabularnewline
13 & -1 & 2.48183442525312 & -3.48183442525312 \tabularnewline
14 & -10 & -7.7181655747469 & -2.28183442525311 \tabularnewline
15 & -21 & -20.7181655747469 & -0.281834425253125 \tabularnewline
16 & -14 & -9.91816557474686 & -4.08183442525314 \tabularnewline
17 & -27 & -3.38701608100060 & -23.6129839189994 \tabularnewline
18 & 26 & 17.8129839189994 & 8.18701608100061 \tabularnewline
19 & 23 & 15.2129839189994 & 7.7870160810006 \tabularnewline
20 & 5 & 4.61298391899940 & 0.387016081000596 \tabularnewline
21 & 19 & 10.4129839189994 & 8.5870160810006 \tabularnewline
22 & -19 & -23.2493150684932 & 4.24931506849316 \tabularnewline
23 & 24 & 17.157236450268 & 6.842763549732 \tabularnewline
24 & 17 & 15.357236450268 & 1.64276354973198 \tabularnewline
25 & 1 & 4.60655151876116 & -3.60655151876116 \tabularnewline
26 & -9 & -5.59344848123884 & -3.40655151876116 \tabularnewline
27 & -16 & -18.5934484812388 & 2.59344848123883 \tabularnewline
28 & -21 & -7.79344848123882 & -13.2065515187612 \tabularnewline
29 & -14 & -1.26229898749255 & -12.7377010125075 \tabularnewline
30 & 31 & 19.9377010125074 & 11.0622989874926 \tabularnewline
31 & 27 & 17.3377010125074 & 9.66229898749256 \tabularnewline
32 & 10 & 6.73770101250745 & 3.26229898749255 \tabularnewline
33 & 12 & 12.5377010125074 & -0.537701012507439 \tabularnewline
34 & -23 & -21.1245979749851 & -1.87540202501488 \tabularnewline
35 & 13 & 16.9377010125074 & -3.93770101250744 \tabularnewline
36 & 26 & 15.1377010125075 & 10.8622989874925 \tabularnewline
37 & -1 & 4.38701608100059 & -5.38701608100059 \tabularnewline
38 & 4 & -5.81298391899942 & 9.81298391899942 \tabularnewline
39 & -16 & -18.8129839189994 & 2.81298391899940 \tabularnewline
40 & -5 & -8.0129839189994 & 3.01298391899939 \tabularnewline
41 & 9 & -1.48183442525313 & 10.4818344252531 \tabularnewline
42 & 23 & 19.7181655747469 & 3.28183442525314 \tabularnewline
43 & 9 & 17.1181655747469 & -8.11816557474687 \tabularnewline
44 & 2 & 6.51816557474688 & -4.51816557474688 \tabularnewline
45 & 10 & 12.3181655747469 & -2.31816557474687 \tabularnewline
46 & -29 & -23.6883859440143 & -5.31161405598571 \tabularnewline
47 & 17 & 14.3739130434783 & 2.62608695652173 \tabularnewline
48 & 9 & 12.5739130434783 & -3.57391304347827 \tabularnewline
49 & 9 & 1.82322811197141 & 7.17677188802859 \tabularnewline
50 & -10 & -8.3767718880286 & -1.62322811197140 \tabularnewline
51 & -23 & -21.3767718880286 & -1.62322811197141 \tabularnewline
52 & 13 & -10.5767718880286 & 23.5767718880286 \tabularnewline
53 & 13 & -4.04562239428231 & 17.0456223942823 \tabularnewline
54 & -9 & 17.1543776057177 & -26.1543776057177 \tabularnewline
55 & 9 & 14.5543776057177 & -5.55437760571769 \tabularnewline
56 & 5 & 3.95437760571769 & 1.04562239428231 \tabularnewline
57 & 8 & 9.7543776057177 & -1.75437760571769 \tabularnewline
58 & -18 & -23.9079213817749 & 5.90792138177487 \tabularnewline
59 & 7 & 16.4986301369863 & -9.4986301369863 \tabularnewline
60 & 4 & 14.6986301369863 & -10.6986301369863 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25201&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]8[/C][C]2.70136986301371[/C][C]5.29863013698629[/C][/ROW]
[ROW][C]2[/C][C]-10[/C][C]-7.49863013698628[/C][C]-2.50136986301372[/C][/ROW]
[ROW][C]3[/C][C]-24[/C][C]-20.4986301369863[/C][C]-3.50136986301369[/C][/ROW]
[ROW][C]4[/C][C]-19[/C][C]-9.69863013698634[/C][C]-9.30136986301366[/C][/ROW]
[ROW][C]5[/C][C]8[/C][C]-0.823228111971414[/C][C]8.82322811197141[/C][/ROW]
[ROW][C]6[/C][C]24[/C][C]20.3767718880286[/C][C]3.62322811197138[/C][/ROW]
[ROW][C]7[/C][C]14[/C][C]17.7767718880286[/C][C]-3.77677188802860[/C][/ROW]
[ROW][C]8[/C][C]7[/C][C]7.17677188802858[/C][C]-0.176771888028577[/C][/ROW]
[ROW][C]9[/C][C]9[/C][C]12.9767718880286[/C][C]-3.97677188802859[/C][/ROW]
[ROW][C]10[/C][C]-26[/C][C]-23.0297796307326[/C][C]-2.97022036926743[/C][/ROW]
[ROW][C]11[/C][C]19[/C][C]15.0325193567600[/C][C]3.96748064324002[/C][/ROW]
[ROW][C]12[/C][C]15[/C][C]13.23251935676[/C][C]1.76748064324000[/C][/ROW]
[ROW][C]13[/C][C]-1[/C][C]2.48183442525312[/C][C]-3.48183442525312[/C][/ROW]
[ROW][C]14[/C][C]-10[/C][C]-7.7181655747469[/C][C]-2.28183442525311[/C][/ROW]
[ROW][C]15[/C][C]-21[/C][C]-20.7181655747469[/C][C]-0.281834425253125[/C][/ROW]
[ROW][C]16[/C][C]-14[/C][C]-9.91816557474686[/C][C]-4.08183442525314[/C][/ROW]
[ROW][C]17[/C][C]-27[/C][C]-3.38701608100060[/C][C]-23.6129839189994[/C][/ROW]
[ROW][C]18[/C][C]26[/C][C]17.8129839189994[/C][C]8.18701608100061[/C][/ROW]
[ROW][C]19[/C][C]23[/C][C]15.2129839189994[/C][C]7.7870160810006[/C][/ROW]
[ROW][C]20[/C][C]5[/C][C]4.61298391899940[/C][C]0.387016081000596[/C][/ROW]
[ROW][C]21[/C][C]19[/C][C]10.4129839189994[/C][C]8.5870160810006[/C][/ROW]
[ROW][C]22[/C][C]-19[/C][C]-23.2493150684932[/C][C]4.24931506849316[/C][/ROW]
[ROW][C]23[/C][C]24[/C][C]17.157236450268[/C][C]6.842763549732[/C][/ROW]
[ROW][C]24[/C][C]17[/C][C]15.357236450268[/C][C]1.64276354973198[/C][/ROW]
[ROW][C]25[/C][C]1[/C][C]4.60655151876116[/C][C]-3.60655151876116[/C][/ROW]
[ROW][C]26[/C][C]-9[/C][C]-5.59344848123884[/C][C]-3.40655151876116[/C][/ROW]
[ROW][C]27[/C][C]-16[/C][C]-18.5934484812388[/C][C]2.59344848123883[/C][/ROW]
[ROW][C]28[/C][C]-21[/C][C]-7.79344848123882[/C][C]-13.2065515187612[/C][/ROW]
[ROW][C]29[/C][C]-14[/C][C]-1.26229898749255[/C][C]-12.7377010125075[/C][/ROW]
[ROW][C]30[/C][C]31[/C][C]19.9377010125074[/C][C]11.0622989874926[/C][/ROW]
[ROW][C]31[/C][C]27[/C][C]17.3377010125074[/C][C]9.66229898749256[/C][/ROW]
[ROW][C]32[/C][C]10[/C][C]6.73770101250745[/C][C]3.26229898749255[/C][/ROW]
[ROW][C]33[/C][C]12[/C][C]12.5377010125074[/C][C]-0.537701012507439[/C][/ROW]
[ROW][C]34[/C][C]-23[/C][C]-21.1245979749851[/C][C]-1.87540202501488[/C][/ROW]
[ROW][C]35[/C][C]13[/C][C]16.9377010125074[/C][C]-3.93770101250744[/C][/ROW]
[ROW][C]36[/C][C]26[/C][C]15.1377010125075[/C][C]10.8622989874925[/C][/ROW]
[ROW][C]37[/C][C]-1[/C][C]4.38701608100059[/C][C]-5.38701608100059[/C][/ROW]
[ROW][C]38[/C][C]4[/C][C]-5.81298391899942[/C][C]9.81298391899942[/C][/ROW]
[ROW][C]39[/C][C]-16[/C][C]-18.8129839189994[/C][C]2.81298391899940[/C][/ROW]
[ROW][C]40[/C][C]-5[/C][C]-8.0129839189994[/C][C]3.01298391899939[/C][/ROW]
[ROW][C]41[/C][C]9[/C][C]-1.48183442525313[/C][C]10.4818344252531[/C][/ROW]
[ROW][C]42[/C][C]23[/C][C]19.7181655747469[/C][C]3.28183442525314[/C][/ROW]
[ROW][C]43[/C][C]9[/C][C]17.1181655747469[/C][C]-8.11816557474687[/C][/ROW]
[ROW][C]44[/C][C]2[/C][C]6.51816557474688[/C][C]-4.51816557474688[/C][/ROW]
[ROW][C]45[/C][C]10[/C][C]12.3181655747469[/C][C]-2.31816557474687[/C][/ROW]
[ROW][C]46[/C][C]-29[/C][C]-23.6883859440143[/C][C]-5.31161405598571[/C][/ROW]
[ROW][C]47[/C][C]17[/C][C]14.3739130434783[/C][C]2.62608695652173[/C][/ROW]
[ROW][C]48[/C][C]9[/C][C]12.5739130434783[/C][C]-3.57391304347827[/C][/ROW]
[ROW][C]49[/C][C]9[/C][C]1.82322811197141[/C][C]7.17677188802859[/C][/ROW]
[ROW][C]50[/C][C]-10[/C][C]-8.3767718880286[/C][C]-1.62322811197140[/C][/ROW]
[ROW][C]51[/C][C]-23[/C][C]-21.3767718880286[/C][C]-1.62322811197141[/C][/ROW]
[ROW][C]52[/C][C]13[/C][C]-10.5767718880286[/C][C]23.5767718880286[/C][/ROW]
[ROW][C]53[/C][C]13[/C][C]-4.04562239428231[/C][C]17.0456223942823[/C][/ROW]
[ROW][C]54[/C][C]-9[/C][C]17.1543776057177[/C][C]-26.1543776057177[/C][/ROW]
[ROW][C]55[/C][C]9[/C][C]14.5543776057177[/C][C]-5.55437760571769[/C][/ROW]
[ROW][C]56[/C][C]5[/C][C]3.95437760571769[/C][C]1.04562239428231[/C][/ROW]
[ROW][C]57[/C][C]8[/C][C]9.7543776057177[/C][C]-1.75437760571769[/C][/ROW]
[ROW][C]58[/C][C]-18[/C][C]-23.9079213817749[/C][C]5.90792138177487[/C][/ROW]
[ROW][C]59[/C][C]7[/C][C]16.4986301369863[/C][C]-9.4986301369863[/C][/ROW]
[ROW][C]60[/C][C]4[/C][C]14.6986301369863[/C][C]-10.6986301369863[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25201&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25201&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
182.701369863013715.29863013698629
2-10-7.49863013698628-2.50136986301372
3-24-20.4986301369863-3.50136986301369
4-19-9.69863013698634-9.30136986301366
58-0.8232281119714148.82322811197141
62420.37677188802863.62322811197138
71417.7767718880286-3.77677188802860
877.17677188802858-0.176771888028577
9912.9767718880286-3.97677188802859
10-26-23.0297796307326-2.97022036926743
111915.03251935676003.96748064324002
121513.232519356761.76748064324000
13-12.48183442525312-3.48183442525312
14-10-7.7181655747469-2.28183442525311
15-21-20.7181655747469-0.281834425253125
16-14-9.91816557474686-4.08183442525314
17-27-3.38701608100060-23.6129839189994
182617.81298391899948.18701608100061
192315.21298391899947.7870160810006
2054.612983918999400.387016081000596
211910.41298391899948.5870160810006
22-19-23.24931506849324.24931506849316
232417.1572364502686.842763549732
241715.3572364502681.64276354973198
2514.60655151876116-3.60655151876116
26-9-5.59344848123884-3.40655151876116
27-16-18.59344848123882.59344848123883
28-21-7.79344848123882-13.2065515187612
29-14-1.26229898749255-12.7377010125075
303119.937701012507411.0622989874926
312717.33770101250749.66229898749256
32106.737701012507453.26229898749255
331212.5377010125074-0.537701012507439
34-23-21.1245979749851-1.87540202501488
351316.9377010125074-3.93770101250744
362615.137701012507510.8622989874925
37-14.38701608100059-5.38701608100059
384-5.812983918999429.81298391899942
39-16-18.81298391899942.81298391899940
40-5-8.01298391899943.01298391899939
419-1.4818344252531310.4818344252531
422319.71816557474693.28183442525314
43917.1181655747469-8.11816557474687
4426.51816557474688-4.51816557474688
451012.3181655747469-2.31816557474687
46-29-23.6883859440143-5.31161405598571
471714.37391304347832.62608695652173
48912.5739130434783-3.57391304347827
4991.823228111971417.17677188802859
50-10-8.3767718880286-1.62322811197140
51-23-21.3767718880286-1.62322811197141
5213-10.576771888028623.5767718880286
5313-4.0456223942823117.0456223942823
54-917.1543776057177-26.1543776057177
55914.5543776057177-5.55437760571769
5653.954377605717691.04562239428231
5789.7543776057177-1.75437760571769
58-18-23.90792138177495.90792138177487
59716.4986301369863-9.4986301369863
60414.6986301369863-10.6986301369863







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1023630559075750.2047261118151510.897636944092425
180.5759339198384640.8481321603230720.424066080161536
190.6608088557401210.6783822885197570.339191144259878
200.5466424564106540.9067150871786930.453357543589346
210.5178629557492480.9642740885015040.482137044250752
220.4130436985135870.8260873970271750.586956301486413
230.3120746914593180.6241493829186370.687925308540682
240.2197931434983710.4395862869967420.78020685650163
250.1581441846300150.3162883692600310.841855815369985
260.1060529437700040.2121058875400070.893947056229996
270.06776439122430870.1355287824486170.932235608775691
280.1032926016329490.2065852032658980.896707398367051
290.2257138619073780.4514277238147560.774286138092622
300.2465687868604280.4931375737208560.753431213139572
310.2451905514437110.4903811028874230.754809448556289
320.1752697989483120.3505395978966250.824730201051688
330.1208072089025360.2416144178050710.879192791097464
340.08058335164225410.1611667032845080.919416648357746
350.06497445020256610.1299489004051320.935025549797434
360.07934654836297440.1586930967259490.920653451637026
370.06716843534625910.1343368706925180.93283156465374
380.07772060041514690.1554412008302940.922279399584853
390.04857444503340650.0971488900668130.951425554966594
400.09482772833448630.1896554566689730.905172271665514
410.1054296768940320.2108593537880640.894570323105968
420.7584359701317630.4831280597364750.241564029868237
430.6465390863717630.7069218272564740.353460913628237

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.102363055907575 & 0.204726111815151 & 0.897636944092425 \tabularnewline
18 & 0.575933919838464 & 0.848132160323072 & 0.424066080161536 \tabularnewline
19 & 0.660808855740121 & 0.678382288519757 & 0.339191144259878 \tabularnewline
20 & 0.546642456410654 & 0.906715087178693 & 0.453357543589346 \tabularnewline
21 & 0.517862955749248 & 0.964274088501504 & 0.482137044250752 \tabularnewline
22 & 0.413043698513587 & 0.826087397027175 & 0.586956301486413 \tabularnewline
23 & 0.312074691459318 & 0.624149382918637 & 0.687925308540682 \tabularnewline
24 & 0.219793143498371 & 0.439586286996742 & 0.78020685650163 \tabularnewline
25 & 0.158144184630015 & 0.316288369260031 & 0.841855815369985 \tabularnewline
26 & 0.106052943770004 & 0.212105887540007 & 0.893947056229996 \tabularnewline
27 & 0.0677643912243087 & 0.135528782448617 & 0.932235608775691 \tabularnewline
28 & 0.103292601632949 & 0.206585203265898 & 0.896707398367051 \tabularnewline
29 & 0.225713861907378 & 0.451427723814756 & 0.774286138092622 \tabularnewline
30 & 0.246568786860428 & 0.493137573720856 & 0.753431213139572 \tabularnewline
31 & 0.245190551443711 & 0.490381102887423 & 0.754809448556289 \tabularnewline
32 & 0.175269798948312 & 0.350539597896625 & 0.824730201051688 \tabularnewline
33 & 0.120807208902536 & 0.241614417805071 & 0.879192791097464 \tabularnewline
34 & 0.0805833516422541 & 0.161166703284508 & 0.919416648357746 \tabularnewline
35 & 0.0649744502025661 & 0.129948900405132 & 0.935025549797434 \tabularnewline
36 & 0.0793465483629744 & 0.158693096725949 & 0.920653451637026 \tabularnewline
37 & 0.0671684353462591 & 0.134336870692518 & 0.93283156465374 \tabularnewline
38 & 0.0777206004151469 & 0.155441200830294 & 0.922279399584853 \tabularnewline
39 & 0.0485744450334065 & 0.097148890066813 & 0.951425554966594 \tabularnewline
40 & 0.0948277283344863 & 0.189655456668973 & 0.905172271665514 \tabularnewline
41 & 0.105429676894032 & 0.210859353788064 & 0.894570323105968 \tabularnewline
42 & 0.758435970131763 & 0.483128059736475 & 0.241564029868237 \tabularnewline
43 & 0.646539086371763 & 0.706921827256474 & 0.353460913628237 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25201&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]17[/C][C]0.102363055907575[/C][C]0.204726111815151[/C][C]0.897636944092425[/C][/ROW]
[ROW][C]18[/C][C]0.575933919838464[/C][C]0.848132160323072[/C][C]0.424066080161536[/C][/ROW]
[ROW][C]19[/C][C]0.660808855740121[/C][C]0.678382288519757[/C][C]0.339191144259878[/C][/ROW]
[ROW][C]20[/C][C]0.546642456410654[/C][C]0.906715087178693[/C][C]0.453357543589346[/C][/ROW]
[ROW][C]21[/C][C]0.517862955749248[/C][C]0.964274088501504[/C][C]0.482137044250752[/C][/ROW]
[ROW][C]22[/C][C]0.413043698513587[/C][C]0.826087397027175[/C][C]0.586956301486413[/C][/ROW]
[ROW][C]23[/C][C]0.312074691459318[/C][C]0.624149382918637[/C][C]0.687925308540682[/C][/ROW]
[ROW][C]24[/C][C]0.219793143498371[/C][C]0.439586286996742[/C][C]0.78020685650163[/C][/ROW]
[ROW][C]25[/C][C]0.158144184630015[/C][C]0.316288369260031[/C][C]0.841855815369985[/C][/ROW]
[ROW][C]26[/C][C]0.106052943770004[/C][C]0.212105887540007[/C][C]0.893947056229996[/C][/ROW]
[ROW][C]27[/C][C]0.0677643912243087[/C][C]0.135528782448617[/C][C]0.932235608775691[/C][/ROW]
[ROW][C]28[/C][C]0.103292601632949[/C][C]0.206585203265898[/C][C]0.896707398367051[/C][/ROW]
[ROW][C]29[/C][C]0.225713861907378[/C][C]0.451427723814756[/C][C]0.774286138092622[/C][/ROW]
[ROW][C]30[/C][C]0.246568786860428[/C][C]0.493137573720856[/C][C]0.753431213139572[/C][/ROW]
[ROW][C]31[/C][C]0.245190551443711[/C][C]0.490381102887423[/C][C]0.754809448556289[/C][/ROW]
[ROW][C]32[/C][C]0.175269798948312[/C][C]0.350539597896625[/C][C]0.824730201051688[/C][/ROW]
[ROW][C]33[/C][C]0.120807208902536[/C][C]0.241614417805071[/C][C]0.879192791097464[/C][/ROW]
[ROW][C]34[/C][C]0.0805833516422541[/C][C]0.161166703284508[/C][C]0.919416648357746[/C][/ROW]
[ROW][C]35[/C][C]0.0649744502025661[/C][C]0.129948900405132[/C][C]0.935025549797434[/C][/ROW]
[ROW][C]36[/C][C]0.0793465483629744[/C][C]0.158693096725949[/C][C]0.920653451637026[/C][/ROW]
[ROW][C]37[/C][C]0.0671684353462591[/C][C]0.134336870692518[/C][C]0.93283156465374[/C][/ROW]
[ROW][C]38[/C][C]0.0777206004151469[/C][C]0.155441200830294[/C][C]0.922279399584853[/C][/ROW]
[ROW][C]39[/C][C]0.0485744450334065[/C][C]0.097148890066813[/C][C]0.951425554966594[/C][/ROW]
[ROW][C]40[/C][C]0.0948277283344863[/C][C]0.189655456668973[/C][C]0.905172271665514[/C][/ROW]
[ROW][C]41[/C][C]0.105429676894032[/C][C]0.210859353788064[/C][C]0.894570323105968[/C][/ROW]
[ROW][C]42[/C][C]0.758435970131763[/C][C]0.483128059736475[/C][C]0.241564029868237[/C][/ROW]
[ROW][C]43[/C][C]0.646539086371763[/C][C]0.706921827256474[/C][C]0.353460913628237[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25201&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25201&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
170.1023630559075750.2047261118151510.897636944092425
180.5759339198384640.8481321603230720.424066080161536
190.6608088557401210.6783822885197570.339191144259878
200.5466424564106540.9067150871786930.453357543589346
210.5178629557492480.9642740885015040.482137044250752
220.4130436985135870.8260873970271750.586956301486413
230.3120746914593180.6241493829186370.687925308540682
240.2197931434983710.4395862869967420.78020685650163
250.1581441846300150.3162883692600310.841855815369985
260.1060529437700040.2121058875400070.893947056229996
270.06776439122430870.1355287824486170.932235608775691
280.1032926016329490.2065852032658980.896707398367051
290.2257138619073780.4514277238147560.774286138092622
300.2465687868604280.4931375737208560.753431213139572
310.2451905514437110.4903811028874230.754809448556289
320.1752697989483120.3505395978966250.824730201051688
330.1208072089025360.2416144178050710.879192791097464
340.08058335164225410.1611667032845080.919416648357746
350.06497445020256610.1299489004051320.935025549797434
360.07934654836297440.1586930967259490.920653451637026
370.06716843534625910.1343368706925180.93283156465374
380.07772060041514690.1554412008302940.922279399584853
390.04857444503340650.0971488900668130.951425554966594
400.09482772833448630.1896554566689730.905172271665514
410.1054296768940320.2108593537880640.894570323105968
420.7584359701317630.4831280597364750.241564029868237
430.6465390863717630.7069218272564740.353460913628237







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 level10.0370370370370370OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25201&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 level10.0370370370370370OK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}