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 computationTue, 21 Dec 2010 18:49:04 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/21/t1292957231uii56xz4wvw011u.htm/, Retrieved Tue, 07 May 2024 02:39:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113822, Retrieved Tue, 07 May 2024 02:39:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact145
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-   PD  [Multiple Regression] [Meervoudige regre...] [2010-11-19 12:47:27] [2960375a246cc0628590c95c4038a43c]
-   PD    [Multiple Regression] [Meervoudige regre...] [2010-11-21 10:08:26] [2960375a246cc0628590c95c4038a43c]
- R  D      [Multiple Regression] [Mini-tutorial Ws 7] [2010-11-23 19:58:46] [608064602fec1c42028cf50c6f981c88]
-   PD        [Multiple Regression] [Seizoenseffecten ...] [2010-11-30 08:53:41] [608064602fec1c42028cf50c6f981c88]
-    D          [Multiple Regression] [maandeffecten-Ws 8] [2010-11-30 19:51:31] [608064602fec1c42028cf50c6f981c88]
-    D            [Multiple Regression] [Maandeffecten-Paper] [2010-12-21 18:01:47] [608064602fec1c42028cf50c6f981c88]
-   PD                [Multiple Regression] [Lineaire trend - ...] [2010-12-21 18:49:04] [8bf9de033bd61652831a8b7489bc3566] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.1
9.9
11.5
23.4
25.4
27.9
26.1
18.8
14.1
11.5
15.8
12.4
4.5
-2.2
-4.2
-9.4
-14.5
-17.9
-15.1
-15.2
-15.7
-18
-18.1
-13.5
-9.9
-4.8
-1.7
-0.1
2.2
10.2
7.6
10.8
3.8
11
10.8
20.1
14.9
13
10.9
9.6
4
-1.1
-7.7
-8.9
-8
-7.1
-5.3
-2.5
-2.4
-2.9
-4.8
-7.2
1.7
2.2
13.4
12.3
13.7
4.4
-2.5




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

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

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







Multiple Linear Regression - Estimated Regression Equation
registraties_personenwagens[t] = + 8.35652173913044 -1.79025362318841M1[t] -2.08920289855073M2[t] -2.20815217391305M3[t] -1.14710144927537M4[t] -0.506050724637686M5[t] + 0.134999999999994M6[t] + 0.876050724637677M7[t] -0.282898550724641M8[t] -2.12184782608696M9[t] -3.20079710144928M10[t] -3.2797463768116M11[t] -0.141050724637681t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
registraties_personenwagens[t] =  +  8.35652173913044 -1.79025362318841M1[t] -2.08920289855073M2[t] -2.20815217391305M3[t] -1.14710144927537M4[t] -0.506050724637686M5[t] +  0.134999999999994M6[t] +  0.876050724637677M7[t] -0.282898550724641M8[t] -2.12184782608696M9[t] -3.20079710144928M10[t] -3.2797463768116M11[t] -0.141050724637681t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113822&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]registraties_personenwagens[t] =  +  8.35652173913044 -1.79025362318841M1[t] -2.08920289855073M2[t] -2.20815217391305M3[t] -1.14710144927537M4[t] -0.506050724637686M5[t] +  0.134999999999994M6[t] +  0.876050724637677M7[t] -0.282898550724641M8[t] -2.12184782608696M9[t] -3.20079710144928M10[t] -3.2797463768116M11[t] -0.141050724637681t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113822&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113822&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
registraties_personenwagens[t] = + 8.35652173913044 -1.79025362318841M1[t] -2.08920289855073M2[t] -2.20815217391305M3[t] -1.14710144927537M4[t] -0.506050724637686M5[t] + 0.134999999999994M6[t] + 0.876050724637677M7[t] -0.282898550724641M8[t] -2.12184782608696M9[t] -3.20079710144928M10[t] -3.2797463768116M11[t] -0.141050724637681t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.356521739130447.245131.15340.2547050.127352
M1-1.790253623188418.824591-0.20290.8401310.420065
M2-2.089202898550738.819279-0.23690.8137940.406897
M3-2.208152173913058.815145-0.25050.803320.40166
M4-1.147101449275378.81219-0.13020.8969980.448499
M5-0.5060507246376868.810417-0.05740.9544450.477223
M60.1349999999999948.8098260.01530.987840.49392
M70.8760507246376778.8104170.09940.9212260.460613
M8-0.2828985507246418.81219-0.03210.9745290.487264
M9-2.121847826086968.815145-0.24070.8108540.405427
M10-3.200797101449288.819279-0.36290.7183180.359159
M11-3.27974637681168.824591-0.37170.7118530.355926
t-0.1410507246376810.102054-1.38210.1736110.086806

\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) & 8.35652173913044 & 7.24513 & 1.1534 & 0.254705 & 0.127352 \tabularnewline
M1 & -1.79025362318841 & 8.824591 & -0.2029 & 0.840131 & 0.420065 \tabularnewline
M2 & -2.08920289855073 & 8.819279 & -0.2369 & 0.813794 & 0.406897 \tabularnewline
M3 & -2.20815217391305 & 8.815145 & -0.2505 & 0.80332 & 0.40166 \tabularnewline
M4 & -1.14710144927537 & 8.81219 & -0.1302 & 0.896998 & 0.448499 \tabularnewline
M5 & -0.506050724637686 & 8.810417 & -0.0574 & 0.954445 & 0.477223 \tabularnewline
M6 & 0.134999999999994 & 8.809826 & 0.0153 & 0.98784 & 0.49392 \tabularnewline
M7 & 0.876050724637677 & 8.810417 & 0.0994 & 0.921226 & 0.460613 \tabularnewline
M8 & -0.282898550724641 & 8.81219 & -0.0321 & 0.974529 & 0.487264 \tabularnewline
M9 & -2.12184782608696 & 8.815145 & -0.2407 & 0.810854 & 0.405427 \tabularnewline
M10 & -3.20079710144928 & 8.819279 & -0.3629 & 0.718318 & 0.359159 \tabularnewline
M11 & -3.2797463768116 & 8.824591 & -0.3717 & 0.711853 & 0.355926 \tabularnewline
t & -0.141050724637681 & 0.102054 & -1.3821 & 0.173611 & 0.086806 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113822&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]8.35652173913044[/C][C]7.24513[/C][C]1.1534[/C][C]0.254705[/C][C]0.127352[/C][/ROW]
[ROW][C]M1[/C][C]-1.79025362318841[/C][C]8.824591[/C][C]-0.2029[/C][C]0.840131[/C][C]0.420065[/C][/ROW]
[ROW][C]M2[/C][C]-2.08920289855073[/C][C]8.819279[/C][C]-0.2369[/C][C]0.813794[/C][C]0.406897[/C][/ROW]
[ROW][C]M3[/C][C]-2.20815217391305[/C][C]8.815145[/C][C]-0.2505[/C][C]0.80332[/C][C]0.40166[/C][/ROW]
[ROW][C]M4[/C][C]-1.14710144927537[/C][C]8.81219[/C][C]-0.1302[/C][C]0.896998[/C][C]0.448499[/C][/ROW]
[ROW][C]M5[/C][C]-0.506050724637686[/C][C]8.810417[/C][C]-0.0574[/C][C]0.954445[/C][C]0.477223[/C][/ROW]
[ROW][C]M6[/C][C]0.134999999999994[/C][C]8.809826[/C][C]0.0153[/C][C]0.98784[/C][C]0.49392[/C][/ROW]
[ROW][C]M7[/C][C]0.876050724637677[/C][C]8.810417[/C][C]0.0994[/C][C]0.921226[/C][C]0.460613[/C][/ROW]
[ROW][C]M8[/C][C]-0.282898550724641[/C][C]8.81219[/C][C]-0.0321[/C][C]0.974529[/C][C]0.487264[/C][/ROW]
[ROW][C]M9[/C][C]-2.12184782608696[/C][C]8.815145[/C][C]-0.2407[/C][C]0.810854[/C][C]0.405427[/C][/ROW]
[ROW][C]M10[/C][C]-3.20079710144928[/C][C]8.819279[/C][C]-0.3629[/C][C]0.718318[/C][C]0.359159[/C][/ROW]
[ROW][C]M11[/C][C]-3.2797463768116[/C][C]8.824591[/C][C]-0.3717[/C][C]0.711853[/C][C]0.355926[/C][/ROW]
[ROW][C]t[/C][C]-0.141050724637681[/C][C]0.102054[/C][C]-1.3821[/C][C]0.173611[/C][C]0.086806[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113822&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113822&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)8.356521739130447.245131.15340.2547050.127352
M1-1.790253623188418.824591-0.20290.8401310.420065
M2-2.089202898550738.819279-0.23690.8137940.406897
M3-2.208152173913058.815145-0.25050.803320.40166
M4-1.147101449275378.81219-0.13020.8969980.448499
M5-0.5060507246376868.810417-0.05740.9544450.477223
M60.1349999999999948.8098260.01530.987840.49392
M70.8760507246376778.8104170.09940.9212260.460613
M8-0.2828985507246418.81219-0.03210.9745290.487264
M9-2.121847826086968.815145-0.24070.8108540.405427
M10-3.200797101449288.819279-0.36290.7183180.359159
M11-3.27974637681168.824591-0.37170.7118530.355926
t-0.1410507246376810.102054-1.38210.1736110.086806







Multiple Linear Regression - Regression Statistics
Multiple R0.231935098563939
R-squared0.053793889945864
Adjusted R-squared-0.193042486589998
F-TEST (value)0.217933396612021
F-TEST (DF numerator)12
F-TEST (DF denominator)46
p-value0.996729660179765
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.1329135293497
Sum Squared Residuals7933.7772173913

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.231935098563939 \tabularnewline
R-squared & 0.053793889945864 \tabularnewline
Adjusted R-squared & -0.193042486589998 \tabularnewline
F-TEST (value) & 0.217933396612021 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.996729660179765 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 13.1329135293497 \tabularnewline
Sum Squared Residuals & 7933.7772173913 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113822&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.231935098563939[/C][/ROW]
[ROW][C]R-squared[/C][C]0.053793889945864[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.193042486589998[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.217933396612021[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0.996729660179765[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]13.1329135293497[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7933.7772173913[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113822&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113822&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.231935098563939
R-squared0.053793889945864
Adjusted R-squared-0.193042486589998
F-TEST (value)0.217933396612021
F-TEST (DF numerator)12
F-TEST (DF denominator)46
p-value0.996729660179765
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.1329135293497
Sum Squared Residuals7933.7772173913







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.16.425217391304331.67478260869567
29.95.985217391304353.91478260869565
311.55.725217391304355.77478260869565
423.46.6452173913043516.7547826086957
525.47.1452173913043518.2547826086957
627.97.6452173913043520.2547826086956
726.18.2452173913043517.8547826086957
818.86.9452173913043511.8547826086957
914.14.965217391304359.13478260869565
1011.53.745217391304357.75478260869565
1115.83.5252173913043512.2747826086957
1212.46.663913043478265.73608695652174
134.54.73260869565218-0.232608695652179
14-2.24.29260869565217-6.49260869565217
15-4.24.03260869565217-8.23260869565217
16-9.44.95260869565218-14.3526086956522
17-14.55.45260869565217-19.9526086956522
18-17.95.95260869565217-23.8526086956522
19-15.16.55260869565218-21.6526086956522
20-15.25.25260869565217-20.4526086956522
21-15.73.27260869565217-18.9726086956522
22-182.05260869565218-20.0526086956522
23-18.11.83260869565218-19.9326086956522
24-13.54.97130434782609-18.4713043478261
25-9.93.04-12.94
26-4.82.6-7.4
27-1.72.34-4.04
28-0.13.26-3.36
292.23.76-1.56
3010.24.265.94
317.64.862.74
3210.83.567.24
333.81.582.22
34110.35999999999999910.64
3510.80.14000000000000110.66
3620.13.2786956521739216.8213043478261
3714.91.3473913043478313.5526086956522
38130.90739130434782212.0926086956522
3910.90.64739130434782210.2526086956522
409.61.567391304347838.03260869565217
4142.067391304347821.93260869565218
42-1.12.56739130434782-3.66739130434783
43-7.73.16739130434783-10.8673913043478
44-8.91.86739130434782-10.7673913043478
45-8-0.112608695652177-7.88739130434782
46-7.1-1.33260869565218-5.76739130434782
47-5.3-1.55260869565217-3.74739130434783
48-2.51.58608695652174-4.08608695652174
49-2.4-0.345217391304347-2.05478260869565
50-2.9-0.785217391304349-2.11478260869565
51-4.8-1.04521739130435-3.75478260869565
52-7.2-0.12521739130435-7.07478260869565
531.70.3747826086956491.32521739130435
542.20.874782608695651.32521739130435
5513.41.4747826086956511.9252173913044
5612.30.17478260869565112.1252173913043
5713.7-1.8052173913043515.5052173913043
584.4-3.025217391304357.42521739130435
59-2.5-3.245217391304350.745217391304348

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.1 & 6.42521739130433 & 1.67478260869567 \tabularnewline
2 & 9.9 & 5.98521739130435 & 3.91478260869565 \tabularnewline
3 & 11.5 & 5.72521739130435 & 5.77478260869565 \tabularnewline
4 & 23.4 & 6.64521739130435 & 16.7547826086957 \tabularnewline
5 & 25.4 & 7.14521739130435 & 18.2547826086957 \tabularnewline
6 & 27.9 & 7.64521739130435 & 20.2547826086956 \tabularnewline
7 & 26.1 & 8.24521739130435 & 17.8547826086957 \tabularnewline
8 & 18.8 & 6.94521739130435 & 11.8547826086957 \tabularnewline
9 & 14.1 & 4.96521739130435 & 9.13478260869565 \tabularnewline
10 & 11.5 & 3.74521739130435 & 7.75478260869565 \tabularnewline
11 & 15.8 & 3.52521739130435 & 12.2747826086957 \tabularnewline
12 & 12.4 & 6.66391304347826 & 5.73608695652174 \tabularnewline
13 & 4.5 & 4.73260869565218 & -0.232608695652179 \tabularnewline
14 & -2.2 & 4.29260869565217 & -6.49260869565217 \tabularnewline
15 & -4.2 & 4.03260869565217 & -8.23260869565217 \tabularnewline
16 & -9.4 & 4.95260869565218 & -14.3526086956522 \tabularnewline
17 & -14.5 & 5.45260869565217 & -19.9526086956522 \tabularnewline
18 & -17.9 & 5.95260869565217 & -23.8526086956522 \tabularnewline
19 & -15.1 & 6.55260869565218 & -21.6526086956522 \tabularnewline
20 & -15.2 & 5.25260869565217 & -20.4526086956522 \tabularnewline
21 & -15.7 & 3.27260869565217 & -18.9726086956522 \tabularnewline
22 & -18 & 2.05260869565218 & -20.0526086956522 \tabularnewline
23 & -18.1 & 1.83260869565218 & -19.9326086956522 \tabularnewline
24 & -13.5 & 4.97130434782609 & -18.4713043478261 \tabularnewline
25 & -9.9 & 3.04 & -12.94 \tabularnewline
26 & -4.8 & 2.6 & -7.4 \tabularnewline
27 & -1.7 & 2.34 & -4.04 \tabularnewline
28 & -0.1 & 3.26 & -3.36 \tabularnewline
29 & 2.2 & 3.76 & -1.56 \tabularnewline
30 & 10.2 & 4.26 & 5.94 \tabularnewline
31 & 7.6 & 4.86 & 2.74 \tabularnewline
32 & 10.8 & 3.56 & 7.24 \tabularnewline
33 & 3.8 & 1.58 & 2.22 \tabularnewline
34 & 11 & 0.359999999999999 & 10.64 \tabularnewline
35 & 10.8 & 0.140000000000001 & 10.66 \tabularnewline
36 & 20.1 & 3.27869565217392 & 16.8213043478261 \tabularnewline
37 & 14.9 & 1.34739130434783 & 13.5526086956522 \tabularnewline
38 & 13 & 0.907391304347822 & 12.0926086956522 \tabularnewline
39 & 10.9 & 0.647391304347822 & 10.2526086956522 \tabularnewline
40 & 9.6 & 1.56739130434783 & 8.03260869565217 \tabularnewline
41 & 4 & 2.06739130434782 & 1.93260869565218 \tabularnewline
42 & -1.1 & 2.56739130434782 & -3.66739130434783 \tabularnewline
43 & -7.7 & 3.16739130434783 & -10.8673913043478 \tabularnewline
44 & -8.9 & 1.86739130434782 & -10.7673913043478 \tabularnewline
45 & -8 & -0.112608695652177 & -7.88739130434782 \tabularnewline
46 & -7.1 & -1.33260869565218 & -5.76739130434782 \tabularnewline
47 & -5.3 & -1.55260869565217 & -3.74739130434783 \tabularnewline
48 & -2.5 & 1.58608695652174 & -4.08608695652174 \tabularnewline
49 & -2.4 & -0.345217391304347 & -2.05478260869565 \tabularnewline
50 & -2.9 & -0.785217391304349 & -2.11478260869565 \tabularnewline
51 & -4.8 & -1.04521739130435 & -3.75478260869565 \tabularnewline
52 & -7.2 & -0.12521739130435 & -7.07478260869565 \tabularnewline
53 & 1.7 & 0.374782608695649 & 1.32521739130435 \tabularnewline
54 & 2.2 & 0.87478260869565 & 1.32521739130435 \tabularnewline
55 & 13.4 & 1.47478260869565 & 11.9252173913044 \tabularnewline
56 & 12.3 & 0.174782608695651 & 12.1252173913043 \tabularnewline
57 & 13.7 & -1.80521739130435 & 15.5052173913043 \tabularnewline
58 & 4.4 & -3.02521739130435 & 7.42521739130435 \tabularnewline
59 & -2.5 & -3.24521739130435 & 0.745217391304348 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113822&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.1[/C][C]6.42521739130433[/C][C]1.67478260869567[/C][/ROW]
[ROW][C]2[/C][C]9.9[/C][C]5.98521739130435[/C][C]3.91478260869565[/C][/ROW]
[ROW][C]3[/C][C]11.5[/C][C]5.72521739130435[/C][C]5.77478260869565[/C][/ROW]
[ROW][C]4[/C][C]23.4[/C][C]6.64521739130435[/C][C]16.7547826086957[/C][/ROW]
[ROW][C]5[/C][C]25.4[/C][C]7.14521739130435[/C][C]18.2547826086957[/C][/ROW]
[ROW][C]6[/C][C]27.9[/C][C]7.64521739130435[/C][C]20.2547826086956[/C][/ROW]
[ROW][C]7[/C][C]26.1[/C][C]8.24521739130435[/C][C]17.8547826086957[/C][/ROW]
[ROW][C]8[/C][C]18.8[/C][C]6.94521739130435[/C][C]11.8547826086957[/C][/ROW]
[ROW][C]9[/C][C]14.1[/C][C]4.96521739130435[/C][C]9.13478260869565[/C][/ROW]
[ROW][C]10[/C][C]11.5[/C][C]3.74521739130435[/C][C]7.75478260869565[/C][/ROW]
[ROW][C]11[/C][C]15.8[/C][C]3.52521739130435[/C][C]12.2747826086957[/C][/ROW]
[ROW][C]12[/C][C]12.4[/C][C]6.66391304347826[/C][C]5.73608695652174[/C][/ROW]
[ROW][C]13[/C][C]4.5[/C][C]4.73260869565218[/C][C]-0.232608695652179[/C][/ROW]
[ROW][C]14[/C][C]-2.2[/C][C]4.29260869565217[/C][C]-6.49260869565217[/C][/ROW]
[ROW][C]15[/C][C]-4.2[/C][C]4.03260869565217[/C][C]-8.23260869565217[/C][/ROW]
[ROW][C]16[/C][C]-9.4[/C][C]4.95260869565218[/C][C]-14.3526086956522[/C][/ROW]
[ROW][C]17[/C][C]-14.5[/C][C]5.45260869565217[/C][C]-19.9526086956522[/C][/ROW]
[ROW][C]18[/C][C]-17.9[/C][C]5.95260869565217[/C][C]-23.8526086956522[/C][/ROW]
[ROW][C]19[/C][C]-15.1[/C][C]6.55260869565218[/C][C]-21.6526086956522[/C][/ROW]
[ROW][C]20[/C][C]-15.2[/C][C]5.25260869565217[/C][C]-20.4526086956522[/C][/ROW]
[ROW][C]21[/C][C]-15.7[/C][C]3.27260869565217[/C][C]-18.9726086956522[/C][/ROW]
[ROW][C]22[/C][C]-18[/C][C]2.05260869565218[/C][C]-20.0526086956522[/C][/ROW]
[ROW][C]23[/C][C]-18.1[/C][C]1.83260869565218[/C][C]-19.9326086956522[/C][/ROW]
[ROW][C]24[/C][C]-13.5[/C][C]4.97130434782609[/C][C]-18.4713043478261[/C][/ROW]
[ROW][C]25[/C][C]-9.9[/C][C]3.04[/C][C]-12.94[/C][/ROW]
[ROW][C]26[/C][C]-4.8[/C][C]2.6[/C][C]-7.4[/C][/ROW]
[ROW][C]27[/C][C]-1.7[/C][C]2.34[/C][C]-4.04[/C][/ROW]
[ROW][C]28[/C][C]-0.1[/C][C]3.26[/C][C]-3.36[/C][/ROW]
[ROW][C]29[/C][C]2.2[/C][C]3.76[/C][C]-1.56[/C][/ROW]
[ROW][C]30[/C][C]10.2[/C][C]4.26[/C][C]5.94[/C][/ROW]
[ROW][C]31[/C][C]7.6[/C][C]4.86[/C][C]2.74[/C][/ROW]
[ROW][C]32[/C][C]10.8[/C][C]3.56[/C][C]7.24[/C][/ROW]
[ROW][C]33[/C][C]3.8[/C][C]1.58[/C][C]2.22[/C][/ROW]
[ROW][C]34[/C][C]11[/C][C]0.359999999999999[/C][C]10.64[/C][/ROW]
[ROW][C]35[/C][C]10.8[/C][C]0.140000000000001[/C][C]10.66[/C][/ROW]
[ROW][C]36[/C][C]20.1[/C][C]3.27869565217392[/C][C]16.8213043478261[/C][/ROW]
[ROW][C]37[/C][C]14.9[/C][C]1.34739130434783[/C][C]13.5526086956522[/C][/ROW]
[ROW][C]38[/C][C]13[/C][C]0.907391304347822[/C][C]12.0926086956522[/C][/ROW]
[ROW][C]39[/C][C]10.9[/C][C]0.647391304347822[/C][C]10.2526086956522[/C][/ROW]
[ROW][C]40[/C][C]9.6[/C][C]1.56739130434783[/C][C]8.03260869565217[/C][/ROW]
[ROW][C]41[/C][C]4[/C][C]2.06739130434782[/C][C]1.93260869565218[/C][/ROW]
[ROW][C]42[/C][C]-1.1[/C][C]2.56739130434782[/C][C]-3.66739130434783[/C][/ROW]
[ROW][C]43[/C][C]-7.7[/C][C]3.16739130434783[/C][C]-10.8673913043478[/C][/ROW]
[ROW][C]44[/C][C]-8.9[/C][C]1.86739130434782[/C][C]-10.7673913043478[/C][/ROW]
[ROW][C]45[/C][C]-8[/C][C]-0.112608695652177[/C][C]-7.88739130434782[/C][/ROW]
[ROW][C]46[/C][C]-7.1[/C][C]-1.33260869565218[/C][C]-5.76739130434782[/C][/ROW]
[ROW][C]47[/C][C]-5.3[/C][C]-1.55260869565217[/C][C]-3.74739130434783[/C][/ROW]
[ROW][C]48[/C][C]-2.5[/C][C]1.58608695652174[/C][C]-4.08608695652174[/C][/ROW]
[ROW][C]49[/C][C]-2.4[/C][C]-0.345217391304347[/C][C]-2.05478260869565[/C][/ROW]
[ROW][C]50[/C][C]-2.9[/C][C]-0.785217391304349[/C][C]-2.11478260869565[/C][/ROW]
[ROW][C]51[/C][C]-4.8[/C][C]-1.04521739130435[/C][C]-3.75478260869565[/C][/ROW]
[ROW][C]52[/C][C]-7.2[/C][C]-0.12521739130435[/C][C]-7.07478260869565[/C][/ROW]
[ROW][C]53[/C][C]1.7[/C][C]0.374782608695649[/C][C]1.32521739130435[/C][/ROW]
[ROW][C]54[/C][C]2.2[/C][C]0.87478260869565[/C][C]1.32521739130435[/C][/ROW]
[ROW][C]55[/C][C]13.4[/C][C]1.47478260869565[/C][C]11.9252173913044[/C][/ROW]
[ROW][C]56[/C][C]12.3[/C][C]0.174782608695651[/C][C]12.1252173913043[/C][/ROW]
[ROW][C]57[/C][C]13.7[/C][C]-1.80521739130435[/C][C]15.5052173913043[/C][/ROW]
[ROW][C]58[/C][C]4.4[/C][C]-3.02521739130435[/C][C]7.42521739130435[/C][/ROW]
[ROW][C]59[/C][C]-2.5[/C][C]-3.24521739130435[/C][C]0.745217391304348[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113822&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113822&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
18.16.425217391304331.67478260869567
29.95.985217391304353.91478260869565
311.55.725217391304355.77478260869565
423.46.6452173913043516.7547826086957
525.47.1452173913043518.2547826086957
627.97.6452173913043520.2547826086956
726.18.2452173913043517.8547826086957
818.86.9452173913043511.8547826086957
914.14.965217391304359.13478260869565
1011.53.745217391304357.75478260869565
1115.83.5252173913043512.2747826086957
1212.46.663913043478265.73608695652174
134.54.73260869565218-0.232608695652179
14-2.24.29260869565217-6.49260869565217
15-4.24.03260869565217-8.23260869565217
16-9.44.95260869565218-14.3526086956522
17-14.55.45260869565217-19.9526086956522
18-17.95.95260869565217-23.8526086956522
19-15.16.55260869565218-21.6526086956522
20-15.25.25260869565217-20.4526086956522
21-15.73.27260869565217-18.9726086956522
22-182.05260869565218-20.0526086956522
23-18.11.83260869565218-19.9326086956522
24-13.54.97130434782609-18.4713043478261
25-9.93.04-12.94
26-4.82.6-7.4
27-1.72.34-4.04
28-0.13.26-3.36
292.23.76-1.56
3010.24.265.94
317.64.862.74
3210.83.567.24
333.81.582.22
34110.35999999999999910.64
3510.80.14000000000000110.66
3620.13.2786956521739216.8213043478261
3714.91.3473913043478313.5526086956522
38130.90739130434782212.0926086956522
3910.90.64739130434782210.2526086956522
409.61.567391304347838.03260869565217
4142.067391304347821.93260869565218
42-1.12.56739130434782-3.66739130434783
43-7.73.16739130434783-10.8673913043478
44-8.91.86739130434782-10.7673913043478
45-8-0.112608695652177-7.88739130434782
46-7.1-1.33260869565218-5.76739130434782
47-5.3-1.55260869565217-3.74739130434783
48-2.51.58608695652174-4.08608695652174
49-2.4-0.345217391304347-2.05478260869565
50-2.9-0.785217391304349-2.11478260869565
51-4.8-1.04521739130435-3.75478260869565
52-7.2-0.12521739130435-7.07478260869565
531.70.3747826086956491.32521739130435
542.20.874782608695651.32521739130435
5513.41.4747826086956511.9252173913044
5612.30.17478260869565112.1252173913043
5713.7-1.8052173913043515.5052173913043
584.4-3.025217391304357.42521739130435
59-2.5-3.245217391304350.745217391304348







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.3952721140584810.7905442281169610.60472788594152
170.5357506785318940.9284986429362110.464249321468106
180.6502566481861140.6994867036277720.349743351813886
190.6255292464294320.7489415071411350.374470753570568
200.5432935046272060.9134129907455880.456706495372794
210.4542738613045340.9085477226090690.545726138695466
220.3934769479678380.7869538959356750.606523052032162
230.3572360481163450.714472096232690.642763951883655
240.3596558863531920.7193117727063840.640344113646808
250.6083540785117450.7832918429765110.391645921488255
260.7773029137718280.4453941724563450.222697086228172
270.8447134681837650.3105730636324690.155286531816235
280.8486431377748330.3027137244503340.151356862225167
290.8518446634704580.2963106730590850.148155336529542
300.8713757038971640.2572485922056710.128624296102836
310.8549171615640090.2901656768719820.145082838435991
320.85267432477540.2946513504492010.147325675224601
330.8210175472065660.3579649055868680.178982452793434
340.8176855113934370.3646289772131260.182314488606563
350.809779829865590.3804403402688210.19022017013441
360.8646016400524610.2707967198950780.135398359947539
370.8805923575871910.2388152848256180.119407642412809
380.891988615854210.216022768291580.10801138414579
390.9159400867359090.1681198265281830.0840599132640913
400.972056570232520.05588685953496040.0279434297674802
410.9728021536453050.05439569270939090.0271978463546955
420.9624288462619020.07514230747619630.0375711537380981
430.9121288270128480.1757423459743030.0878711729871517

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.395272114058481 & 0.790544228116961 & 0.60472788594152 \tabularnewline
17 & 0.535750678531894 & 0.928498642936211 & 0.464249321468106 \tabularnewline
18 & 0.650256648186114 & 0.699486703627772 & 0.349743351813886 \tabularnewline
19 & 0.625529246429432 & 0.748941507141135 & 0.374470753570568 \tabularnewline
20 & 0.543293504627206 & 0.913412990745588 & 0.456706495372794 \tabularnewline
21 & 0.454273861304534 & 0.908547722609069 & 0.545726138695466 \tabularnewline
22 & 0.393476947967838 & 0.786953895935675 & 0.606523052032162 \tabularnewline
23 & 0.357236048116345 & 0.71447209623269 & 0.642763951883655 \tabularnewline
24 & 0.359655886353192 & 0.719311772706384 & 0.640344113646808 \tabularnewline
25 & 0.608354078511745 & 0.783291842976511 & 0.391645921488255 \tabularnewline
26 & 0.777302913771828 & 0.445394172456345 & 0.222697086228172 \tabularnewline
27 & 0.844713468183765 & 0.310573063632469 & 0.155286531816235 \tabularnewline
28 & 0.848643137774833 & 0.302713724450334 & 0.151356862225167 \tabularnewline
29 & 0.851844663470458 & 0.296310673059085 & 0.148155336529542 \tabularnewline
30 & 0.871375703897164 & 0.257248592205671 & 0.128624296102836 \tabularnewline
31 & 0.854917161564009 & 0.290165676871982 & 0.145082838435991 \tabularnewline
32 & 0.8526743247754 & 0.294651350449201 & 0.147325675224601 \tabularnewline
33 & 0.821017547206566 & 0.357964905586868 & 0.178982452793434 \tabularnewline
34 & 0.817685511393437 & 0.364628977213126 & 0.182314488606563 \tabularnewline
35 & 0.80977982986559 & 0.380440340268821 & 0.19022017013441 \tabularnewline
36 & 0.864601640052461 & 0.270796719895078 & 0.135398359947539 \tabularnewline
37 & 0.880592357587191 & 0.238815284825618 & 0.119407642412809 \tabularnewline
38 & 0.89198861585421 & 0.21602276829158 & 0.10801138414579 \tabularnewline
39 & 0.915940086735909 & 0.168119826528183 & 0.0840599132640913 \tabularnewline
40 & 0.97205657023252 & 0.0558868595349604 & 0.0279434297674802 \tabularnewline
41 & 0.972802153645305 & 0.0543956927093909 & 0.0271978463546955 \tabularnewline
42 & 0.962428846261902 & 0.0751423074761963 & 0.0375711537380981 \tabularnewline
43 & 0.912128827012848 & 0.175742345974303 & 0.0878711729871517 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113822&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]16[/C][C]0.395272114058481[/C][C]0.790544228116961[/C][C]0.60472788594152[/C][/ROW]
[ROW][C]17[/C][C]0.535750678531894[/C][C]0.928498642936211[/C][C]0.464249321468106[/C][/ROW]
[ROW][C]18[/C][C]0.650256648186114[/C][C]0.699486703627772[/C][C]0.349743351813886[/C][/ROW]
[ROW][C]19[/C][C]0.625529246429432[/C][C]0.748941507141135[/C][C]0.374470753570568[/C][/ROW]
[ROW][C]20[/C][C]0.543293504627206[/C][C]0.913412990745588[/C][C]0.456706495372794[/C][/ROW]
[ROW][C]21[/C][C]0.454273861304534[/C][C]0.908547722609069[/C][C]0.545726138695466[/C][/ROW]
[ROW][C]22[/C][C]0.393476947967838[/C][C]0.786953895935675[/C][C]0.606523052032162[/C][/ROW]
[ROW][C]23[/C][C]0.357236048116345[/C][C]0.71447209623269[/C][C]0.642763951883655[/C][/ROW]
[ROW][C]24[/C][C]0.359655886353192[/C][C]0.719311772706384[/C][C]0.640344113646808[/C][/ROW]
[ROW][C]25[/C][C]0.608354078511745[/C][C]0.783291842976511[/C][C]0.391645921488255[/C][/ROW]
[ROW][C]26[/C][C]0.777302913771828[/C][C]0.445394172456345[/C][C]0.222697086228172[/C][/ROW]
[ROW][C]27[/C][C]0.844713468183765[/C][C]0.310573063632469[/C][C]0.155286531816235[/C][/ROW]
[ROW][C]28[/C][C]0.848643137774833[/C][C]0.302713724450334[/C][C]0.151356862225167[/C][/ROW]
[ROW][C]29[/C][C]0.851844663470458[/C][C]0.296310673059085[/C][C]0.148155336529542[/C][/ROW]
[ROW][C]30[/C][C]0.871375703897164[/C][C]0.257248592205671[/C][C]0.128624296102836[/C][/ROW]
[ROW][C]31[/C][C]0.854917161564009[/C][C]0.290165676871982[/C][C]0.145082838435991[/C][/ROW]
[ROW][C]32[/C][C]0.8526743247754[/C][C]0.294651350449201[/C][C]0.147325675224601[/C][/ROW]
[ROW][C]33[/C][C]0.821017547206566[/C][C]0.357964905586868[/C][C]0.178982452793434[/C][/ROW]
[ROW][C]34[/C][C]0.817685511393437[/C][C]0.364628977213126[/C][C]0.182314488606563[/C][/ROW]
[ROW][C]35[/C][C]0.80977982986559[/C][C]0.380440340268821[/C][C]0.19022017013441[/C][/ROW]
[ROW][C]36[/C][C]0.864601640052461[/C][C]0.270796719895078[/C][C]0.135398359947539[/C][/ROW]
[ROW][C]37[/C][C]0.880592357587191[/C][C]0.238815284825618[/C][C]0.119407642412809[/C][/ROW]
[ROW][C]38[/C][C]0.89198861585421[/C][C]0.21602276829158[/C][C]0.10801138414579[/C][/ROW]
[ROW][C]39[/C][C]0.915940086735909[/C][C]0.168119826528183[/C][C]0.0840599132640913[/C][/ROW]
[ROW][C]40[/C][C]0.97205657023252[/C][C]0.0558868595349604[/C][C]0.0279434297674802[/C][/ROW]
[ROW][C]41[/C][C]0.972802153645305[/C][C]0.0543956927093909[/C][C]0.0271978463546955[/C][/ROW]
[ROW][C]42[/C][C]0.962428846261902[/C][C]0.0751423074761963[/C][C]0.0375711537380981[/C][/ROW]
[ROW][C]43[/C][C]0.912128827012848[/C][C]0.175742345974303[/C][C]0.0878711729871517[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113822&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113822&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
160.3952721140584810.7905442281169610.60472788594152
170.5357506785318940.9284986429362110.464249321468106
180.6502566481861140.6994867036277720.349743351813886
190.6255292464294320.7489415071411350.374470753570568
200.5432935046272060.9134129907455880.456706495372794
210.4542738613045340.9085477226090690.545726138695466
220.3934769479678380.7869538959356750.606523052032162
230.3572360481163450.714472096232690.642763951883655
240.3596558863531920.7193117727063840.640344113646808
250.6083540785117450.7832918429765110.391645921488255
260.7773029137718280.4453941724563450.222697086228172
270.8447134681837650.3105730636324690.155286531816235
280.8486431377748330.3027137244503340.151356862225167
290.8518446634704580.2963106730590850.148155336529542
300.8713757038971640.2572485922056710.128624296102836
310.8549171615640090.2901656768719820.145082838435991
320.85267432477540.2946513504492010.147325675224601
330.8210175472065660.3579649055868680.178982452793434
340.8176855113934370.3646289772131260.182314488606563
350.809779829865590.3804403402688210.19022017013441
360.8646016400524610.2707967198950780.135398359947539
370.8805923575871910.2388152848256180.119407642412809
380.891988615854210.216022768291580.10801138414579
390.9159400867359090.1681198265281830.0840599132640913
400.972056570232520.05588685953496040.0279434297674802
410.9728021536453050.05439569270939090.0271978463546955
420.9624288462619020.07514230747619630.0375711537380981
430.9121288270128480.1757423459743030.0878711729871517







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = 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')
}