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 computationSun, 06 Dec 2009 05:38:48 -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/2009/Dec/06/t1260103363h7k29j70wet1j1d.htm/, Retrieved Mon, 29 Apr 2024 08:28:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=64368, Retrieved Mon, 29 Apr 2024 08:28:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact169
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:06:21] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [SHW WS7] [2009-11-20 11:57:18] [253127ae8da904b75450fbd69fe4eb21]
-    D        [Multiple Regression] [SHW paper] [2009-12-06 12:38:48] [b7e46d23597387652ca7420fdeb9acca] [Current]
Feedback Forum

Post a new message
Dataseries X:
8,9	0
8,8	0
8,3	0
7,5	0
7,2	0
7,4	0
8,8	0
9,3	0
9,3	0
8,7	0
8,2	0
8,3	0
8,5	0
8,6	0
8,5	0
8,2	0
8,1	0
7,9	0
8,6	0
8,7	0
8,7	0
8,5	0
8,4	0
8,5	0
8,7	0
8,7	0
8,6	0
8,5	0
8,3	0
8	0
8,2	0
8,1	0
8,1	0
8	0
7,9	0
7,9	0
8	0
8	0
7,9	0
8	0
7,7	0
7,2	0
7,5	0
7,3	0
7	0
7	0
7	0
7,2	0
7,3	1
7,1	1
6,8	1
6,4	1
6,1	1
6,5	1
7,7	1
7,9	1
7,5	1
6,9	1
6,6	1
6,9	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64368&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64368&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64368&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 8.72 -0.437500000000001X[t] + 0.253402777777773M1[t] + 0.237638888888889M2[t] + 0.0418750000000011M3[t] -0.233888888888888M4[t] -0.449652777777777M5[t] -0.505416666666666M6[t] + 0.278819444444445M7[t] + 0.403055555555556M8[t] + 0.287291666666667M9[t] + 0.0115277777777778M10[t] -0.164236111111111M11[t] -0.0242361111111111t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  8.72 -0.437500000000001X[t] +  0.253402777777773M1[t] +  0.237638888888889M2[t] +  0.0418750000000011M3[t] -0.233888888888888M4[t] -0.449652777777777M5[t] -0.505416666666666M6[t] +  0.278819444444445M7[t] +  0.403055555555556M8[t] +  0.287291666666667M9[t] +  0.0115277777777778M10[t] -0.164236111111111M11[t] -0.0242361111111111t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64368&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  8.72 -0.437500000000001X[t] +  0.253402777777773M1[t] +  0.237638888888889M2[t] +  0.0418750000000011M3[t] -0.233888888888888M4[t] -0.449652777777777M5[t] -0.505416666666666M6[t] +  0.278819444444445M7[t] +  0.403055555555556M8[t] +  0.287291666666667M9[t] +  0.0115277777777778M10[t] -0.164236111111111M11[t] -0.0242361111111111t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64368&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64368&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
Y[t] = + 8.72 -0.437500000000001X[t] + 0.253402777777773M1[t] + 0.237638888888889M2[t] + 0.0418750000000011M3[t] -0.233888888888888M4[t] -0.449652777777777M5[t] -0.505416666666666M6[t] + 0.278819444444445M7[t] + 0.403055555555556M8[t] + 0.287291666666667M9[t] + 0.0115277777777778M10[t] -0.164236111111111M11[t] -0.0242361111111111t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.720.24682435.328800
X-0.4375000000000010.202888-2.15640.0363180.018159
M10.2534027777777730.2860090.8860.3802280.190114
M20.2376388888888890.2851680.83330.4089660.204483
M30.04187500000000110.2844050.14720.8835880.441794
M4-0.2338888888888880.283721-0.82440.4139880.206994
M5-0.4496527777777770.283116-1.58820.1190850.059543
M6-0.5054166666666660.28259-1.78850.080280.04014
M70.2788194444444450.2821450.98820.3282180.164109
M80.4030555555555560.281781.43040.1593630.079681
M90.2872916666666670.2814961.02060.3127870.156393
M100.01152777777777780.2812930.0410.9674880.483744
M11-0.1642361111111110.281171-0.58410.5619960.280998
t-0.02423611111111110.004782-5.06817e-063e-06

\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.72 & 0.246824 & 35.3288 & 0 & 0 \tabularnewline
X & -0.437500000000001 & 0.202888 & -2.1564 & 0.036318 & 0.018159 \tabularnewline
M1 & 0.253402777777773 & 0.286009 & 0.886 & 0.380228 & 0.190114 \tabularnewline
M2 & 0.237638888888889 & 0.285168 & 0.8333 & 0.408966 & 0.204483 \tabularnewline
M3 & 0.0418750000000011 & 0.284405 & 0.1472 & 0.883588 & 0.441794 \tabularnewline
M4 & -0.233888888888888 & 0.283721 & -0.8244 & 0.413988 & 0.206994 \tabularnewline
M5 & -0.449652777777777 & 0.283116 & -1.5882 & 0.119085 & 0.059543 \tabularnewline
M6 & -0.505416666666666 & 0.28259 & -1.7885 & 0.08028 & 0.04014 \tabularnewline
M7 & 0.278819444444445 & 0.282145 & 0.9882 & 0.328218 & 0.164109 \tabularnewline
M8 & 0.403055555555556 & 0.28178 & 1.4304 & 0.159363 & 0.079681 \tabularnewline
M9 & 0.287291666666667 & 0.281496 & 1.0206 & 0.312787 & 0.156393 \tabularnewline
M10 & 0.0115277777777778 & 0.281293 & 0.041 & 0.967488 & 0.483744 \tabularnewline
M11 & -0.164236111111111 & 0.281171 & -0.5841 & 0.561996 & 0.280998 \tabularnewline
t & -0.0242361111111111 & 0.004782 & -5.0681 & 7e-06 & 3e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64368&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.72[/C][C]0.246824[/C][C]35.3288[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-0.437500000000001[/C][C]0.202888[/C][C]-2.1564[/C][C]0.036318[/C][C]0.018159[/C][/ROW]
[ROW][C]M1[/C][C]0.253402777777773[/C][C]0.286009[/C][C]0.886[/C][C]0.380228[/C][C]0.190114[/C][/ROW]
[ROW][C]M2[/C][C]0.237638888888889[/C][C]0.285168[/C][C]0.8333[/C][C]0.408966[/C][C]0.204483[/C][/ROW]
[ROW][C]M3[/C][C]0.0418750000000011[/C][C]0.284405[/C][C]0.1472[/C][C]0.883588[/C][C]0.441794[/C][/ROW]
[ROW][C]M4[/C][C]-0.233888888888888[/C][C]0.283721[/C][C]-0.8244[/C][C]0.413988[/C][C]0.206994[/C][/ROW]
[ROW][C]M5[/C][C]-0.449652777777777[/C][C]0.283116[/C][C]-1.5882[/C][C]0.119085[/C][C]0.059543[/C][/ROW]
[ROW][C]M6[/C][C]-0.505416666666666[/C][C]0.28259[/C][C]-1.7885[/C][C]0.08028[/C][C]0.04014[/C][/ROW]
[ROW][C]M7[/C][C]0.278819444444445[/C][C]0.282145[/C][C]0.9882[/C][C]0.328218[/C][C]0.164109[/C][/ROW]
[ROW][C]M8[/C][C]0.403055555555556[/C][C]0.28178[/C][C]1.4304[/C][C]0.159363[/C][C]0.079681[/C][/ROW]
[ROW][C]M9[/C][C]0.287291666666667[/C][C]0.281496[/C][C]1.0206[/C][C]0.312787[/C][C]0.156393[/C][/ROW]
[ROW][C]M10[/C][C]0.0115277777777778[/C][C]0.281293[/C][C]0.041[/C][C]0.967488[/C][C]0.483744[/C][/ROW]
[ROW][C]M11[/C][C]-0.164236111111111[/C][C]0.281171[/C][C]-0.5841[/C][C]0.561996[/C][C]0.280998[/C][/ROW]
[ROW][C]t[/C][C]-0.0242361111111111[/C][C]0.004782[/C][C]-5.0681[/C][C]7e-06[/C][C]3e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64368&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64368&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.720.24682435.328800
X-0.4375000000000010.202888-2.15640.0363180.018159
M10.2534027777777730.2860090.8860.3802280.190114
M20.2376388888888890.2851680.83330.4089660.204483
M30.04187500000000110.2844050.14720.8835880.441794
M4-0.2338888888888880.283721-0.82440.4139880.206994
M5-0.4496527777777770.283116-1.58820.1190850.059543
M6-0.5054166666666660.28259-1.78850.080280.04014
M70.2788194444444450.2821450.98820.3282180.164109
M80.4030555555555560.281781.43040.1593630.079681
M90.2872916666666670.2814961.02060.3127870.156393
M100.01152777777777780.2812930.0410.9674880.483744
M11-0.1642361111111110.281171-0.58410.5619960.280998
t-0.02423611111111110.004782-5.06817e-063e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.849220859124403
R-squared0.72117606757199
Adjusted R-squared0.6423779997119
F-TEST (value)9.15220496081801
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.96668389643662e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.444505506071113
Sum Squared Residuals9.08891666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.849220859124403 \tabularnewline
R-squared & 0.72117606757199 \tabularnewline
Adjusted R-squared & 0.6423779997119 \tabularnewline
F-TEST (value) & 9.15220496081801 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 6.96668389643662e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.444505506071113 \tabularnewline
Sum Squared Residuals & 9.08891666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64368&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.849220859124403[/C][/ROW]
[ROW][C]R-squared[/C][C]0.72117606757199[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.6423779997119[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.15220496081801[/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]6.96668389643662e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.444505506071113[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]9.08891666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64368&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64368&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.849220859124403
R-squared0.72117606757199
Adjusted R-squared0.6423779997119
F-TEST (value)9.15220496081801
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.96668389643662e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.444505506071113
Sum Squared Residuals9.08891666666667







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.98.94916666666669-0.0491666666666857
28.88.90916666666667-0.109166666666665
38.38.68916666666667-0.389166666666665
47.58.38916666666666-0.889166666666665
57.28.14916666666667-0.949166666666666
67.48.06916666666667-0.669166666666665
78.88.82916666666667-0.0291666666666649
89.38.929166666666670.370833333333336
99.38.789166666666660.510833333333335
108.78.489166666666670.210833333333334
118.28.28916666666666-0.089166666666666
128.38.42916666666667-0.129166666666665
138.58.65833333333333-0.158333333333328
148.68.61833333333333-0.0183333333333327
158.58.398333333333330.101666666666667
168.28.098333333333330.101666666666666
178.17.858333333333330.241666666666666
187.97.778333333333330.121666666666667
198.68.538333333333330.0616666666666667
208.78.638333333333330.0616666666666663
218.78.498333333333330.201666666666666
228.58.198333333333330.301666666666667
238.47.998333333333330.401666666666668
248.58.138333333333330.361666666666667
258.78.36750.332500000000004
268.78.32750.372499999999999
278.68.10750.492499999999999
288.57.80750.6925
298.37.56750.7325
3087.48750.5125
318.28.2475-0.0475000000000008
328.18.3475-0.247500000000001
338.18.2075-0.107500000000000
3487.90750.0924999999999999
357.97.70750.1925
367.97.84750.0525000000000001
3788.07666666666666-0.0766666666666623
3888.03666666666667-0.0366666666666675
397.97.816666666666670.0833333333333324
4087.516666666666670.483333333333333
417.77.276666666666670.423333333333332
427.27.196666666666670.00333333333333241
437.57.95666666666667-0.456666666666667
447.38.05666666666667-0.756666666666667
4577.91666666666667-0.916666666666667
4677.61666666666667-0.616666666666667
4777.41666666666667-0.416666666666668
487.27.55666666666667-0.356666666666667
497.37.34833333333333-0.0483333333333286
507.17.30833333333333-0.208333333333334
516.87.08833333333333-0.288333333333334
526.46.78833333333333-0.388333333333334
536.16.54833333333333-0.448333333333335
546.56.468333333333330.0316666666666661
557.77.228333333333330.471666666666666
567.97.328333333333330.571666666666667
577.57.188333333333330.311666666666666
586.96.888333333333330.0116666666666668
596.66.68833333333333-0.0883333333333339
606.96.828333333333330.0716666666666668

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.9 & 8.94916666666669 & -0.0491666666666857 \tabularnewline
2 & 8.8 & 8.90916666666667 & -0.109166666666665 \tabularnewline
3 & 8.3 & 8.68916666666667 & -0.389166666666665 \tabularnewline
4 & 7.5 & 8.38916666666666 & -0.889166666666665 \tabularnewline
5 & 7.2 & 8.14916666666667 & -0.949166666666666 \tabularnewline
6 & 7.4 & 8.06916666666667 & -0.669166666666665 \tabularnewline
7 & 8.8 & 8.82916666666667 & -0.0291666666666649 \tabularnewline
8 & 9.3 & 8.92916666666667 & 0.370833333333336 \tabularnewline
9 & 9.3 & 8.78916666666666 & 0.510833333333335 \tabularnewline
10 & 8.7 & 8.48916666666667 & 0.210833333333334 \tabularnewline
11 & 8.2 & 8.28916666666666 & -0.089166666666666 \tabularnewline
12 & 8.3 & 8.42916666666667 & -0.129166666666665 \tabularnewline
13 & 8.5 & 8.65833333333333 & -0.158333333333328 \tabularnewline
14 & 8.6 & 8.61833333333333 & -0.0183333333333327 \tabularnewline
15 & 8.5 & 8.39833333333333 & 0.101666666666667 \tabularnewline
16 & 8.2 & 8.09833333333333 & 0.101666666666666 \tabularnewline
17 & 8.1 & 7.85833333333333 & 0.241666666666666 \tabularnewline
18 & 7.9 & 7.77833333333333 & 0.121666666666667 \tabularnewline
19 & 8.6 & 8.53833333333333 & 0.0616666666666667 \tabularnewline
20 & 8.7 & 8.63833333333333 & 0.0616666666666663 \tabularnewline
21 & 8.7 & 8.49833333333333 & 0.201666666666666 \tabularnewline
22 & 8.5 & 8.19833333333333 & 0.301666666666667 \tabularnewline
23 & 8.4 & 7.99833333333333 & 0.401666666666668 \tabularnewline
24 & 8.5 & 8.13833333333333 & 0.361666666666667 \tabularnewline
25 & 8.7 & 8.3675 & 0.332500000000004 \tabularnewline
26 & 8.7 & 8.3275 & 0.372499999999999 \tabularnewline
27 & 8.6 & 8.1075 & 0.492499999999999 \tabularnewline
28 & 8.5 & 7.8075 & 0.6925 \tabularnewline
29 & 8.3 & 7.5675 & 0.7325 \tabularnewline
30 & 8 & 7.4875 & 0.5125 \tabularnewline
31 & 8.2 & 8.2475 & -0.0475000000000008 \tabularnewline
32 & 8.1 & 8.3475 & -0.247500000000001 \tabularnewline
33 & 8.1 & 8.2075 & -0.107500000000000 \tabularnewline
34 & 8 & 7.9075 & 0.0924999999999999 \tabularnewline
35 & 7.9 & 7.7075 & 0.1925 \tabularnewline
36 & 7.9 & 7.8475 & 0.0525000000000001 \tabularnewline
37 & 8 & 8.07666666666666 & -0.0766666666666623 \tabularnewline
38 & 8 & 8.03666666666667 & -0.0366666666666675 \tabularnewline
39 & 7.9 & 7.81666666666667 & 0.0833333333333324 \tabularnewline
40 & 8 & 7.51666666666667 & 0.483333333333333 \tabularnewline
41 & 7.7 & 7.27666666666667 & 0.423333333333332 \tabularnewline
42 & 7.2 & 7.19666666666667 & 0.00333333333333241 \tabularnewline
43 & 7.5 & 7.95666666666667 & -0.456666666666667 \tabularnewline
44 & 7.3 & 8.05666666666667 & -0.756666666666667 \tabularnewline
45 & 7 & 7.91666666666667 & -0.916666666666667 \tabularnewline
46 & 7 & 7.61666666666667 & -0.616666666666667 \tabularnewline
47 & 7 & 7.41666666666667 & -0.416666666666668 \tabularnewline
48 & 7.2 & 7.55666666666667 & -0.356666666666667 \tabularnewline
49 & 7.3 & 7.34833333333333 & -0.0483333333333286 \tabularnewline
50 & 7.1 & 7.30833333333333 & -0.208333333333334 \tabularnewline
51 & 6.8 & 7.08833333333333 & -0.288333333333334 \tabularnewline
52 & 6.4 & 6.78833333333333 & -0.388333333333334 \tabularnewline
53 & 6.1 & 6.54833333333333 & -0.448333333333335 \tabularnewline
54 & 6.5 & 6.46833333333333 & 0.0316666666666661 \tabularnewline
55 & 7.7 & 7.22833333333333 & 0.471666666666666 \tabularnewline
56 & 7.9 & 7.32833333333333 & 0.571666666666667 \tabularnewline
57 & 7.5 & 7.18833333333333 & 0.311666666666666 \tabularnewline
58 & 6.9 & 6.88833333333333 & 0.0116666666666668 \tabularnewline
59 & 6.6 & 6.68833333333333 & -0.0883333333333339 \tabularnewline
60 & 6.9 & 6.82833333333333 & 0.0716666666666668 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64368&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.9[/C][C]8.94916666666669[/C][C]-0.0491666666666857[/C][/ROW]
[ROW][C]2[/C][C]8.8[/C][C]8.90916666666667[/C][C]-0.109166666666665[/C][/ROW]
[ROW][C]3[/C][C]8.3[/C][C]8.68916666666667[/C][C]-0.389166666666665[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]8.38916666666666[/C][C]-0.889166666666665[/C][/ROW]
[ROW][C]5[/C][C]7.2[/C][C]8.14916666666667[/C][C]-0.949166666666666[/C][/ROW]
[ROW][C]6[/C][C]7.4[/C][C]8.06916666666667[/C][C]-0.669166666666665[/C][/ROW]
[ROW][C]7[/C][C]8.8[/C][C]8.82916666666667[/C][C]-0.0291666666666649[/C][/ROW]
[ROW][C]8[/C][C]9.3[/C][C]8.92916666666667[/C][C]0.370833333333336[/C][/ROW]
[ROW][C]9[/C][C]9.3[/C][C]8.78916666666666[/C][C]0.510833333333335[/C][/ROW]
[ROW][C]10[/C][C]8.7[/C][C]8.48916666666667[/C][C]0.210833333333334[/C][/ROW]
[ROW][C]11[/C][C]8.2[/C][C]8.28916666666666[/C][C]-0.089166666666666[/C][/ROW]
[ROW][C]12[/C][C]8.3[/C][C]8.42916666666667[/C][C]-0.129166666666665[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]8.65833333333333[/C][C]-0.158333333333328[/C][/ROW]
[ROW][C]14[/C][C]8.6[/C][C]8.61833333333333[/C][C]-0.0183333333333327[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.39833333333333[/C][C]0.101666666666667[/C][/ROW]
[ROW][C]16[/C][C]8.2[/C][C]8.09833333333333[/C][C]0.101666666666666[/C][/ROW]
[ROW][C]17[/C][C]8.1[/C][C]7.85833333333333[/C][C]0.241666666666666[/C][/ROW]
[ROW][C]18[/C][C]7.9[/C][C]7.77833333333333[/C][C]0.121666666666667[/C][/ROW]
[ROW][C]19[/C][C]8.6[/C][C]8.53833333333333[/C][C]0.0616666666666667[/C][/ROW]
[ROW][C]20[/C][C]8.7[/C][C]8.63833333333333[/C][C]0.0616666666666663[/C][/ROW]
[ROW][C]21[/C][C]8.7[/C][C]8.49833333333333[/C][C]0.201666666666666[/C][/ROW]
[ROW][C]22[/C][C]8.5[/C][C]8.19833333333333[/C][C]0.301666666666667[/C][/ROW]
[ROW][C]23[/C][C]8.4[/C][C]7.99833333333333[/C][C]0.401666666666668[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]8.13833333333333[/C][C]0.361666666666667[/C][/ROW]
[ROW][C]25[/C][C]8.7[/C][C]8.3675[/C][C]0.332500000000004[/C][/ROW]
[ROW][C]26[/C][C]8.7[/C][C]8.3275[/C][C]0.372499999999999[/C][/ROW]
[ROW][C]27[/C][C]8.6[/C][C]8.1075[/C][C]0.492499999999999[/C][/ROW]
[ROW][C]28[/C][C]8.5[/C][C]7.8075[/C][C]0.6925[/C][/ROW]
[ROW][C]29[/C][C]8.3[/C][C]7.5675[/C][C]0.7325[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]7.4875[/C][C]0.5125[/C][/ROW]
[ROW][C]31[/C][C]8.2[/C][C]8.2475[/C][C]-0.0475000000000008[/C][/ROW]
[ROW][C]32[/C][C]8.1[/C][C]8.3475[/C][C]-0.247500000000001[/C][/ROW]
[ROW][C]33[/C][C]8.1[/C][C]8.2075[/C][C]-0.107500000000000[/C][/ROW]
[ROW][C]34[/C][C]8[/C][C]7.9075[/C][C]0.0924999999999999[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]7.7075[/C][C]0.1925[/C][/ROW]
[ROW][C]36[/C][C]7.9[/C][C]7.8475[/C][C]0.0525000000000001[/C][/ROW]
[ROW][C]37[/C][C]8[/C][C]8.07666666666666[/C][C]-0.0766666666666623[/C][/ROW]
[ROW][C]38[/C][C]8[/C][C]8.03666666666667[/C][C]-0.0366666666666675[/C][/ROW]
[ROW][C]39[/C][C]7.9[/C][C]7.81666666666667[/C][C]0.0833333333333324[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]7.51666666666667[/C][C]0.483333333333333[/C][/ROW]
[ROW][C]41[/C][C]7.7[/C][C]7.27666666666667[/C][C]0.423333333333332[/C][/ROW]
[ROW][C]42[/C][C]7.2[/C][C]7.19666666666667[/C][C]0.00333333333333241[/C][/ROW]
[ROW][C]43[/C][C]7.5[/C][C]7.95666666666667[/C][C]-0.456666666666667[/C][/ROW]
[ROW][C]44[/C][C]7.3[/C][C]8.05666666666667[/C][C]-0.756666666666667[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]7.91666666666667[/C][C]-0.916666666666667[/C][/ROW]
[ROW][C]46[/C][C]7[/C][C]7.61666666666667[/C][C]-0.616666666666667[/C][/ROW]
[ROW][C]47[/C][C]7[/C][C]7.41666666666667[/C][C]-0.416666666666668[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]7.55666666666667[/C][C]-0.356666666666667[/C][/ROW]
[ROW][C]49[/C][C]7.3[/C][C]7.34833333333333[/C][C]-0.0483333333333286[/C][/ROW]
[ROW][C]50[/C][C]7.1[/C][C]7.30833333333333[/C][C]-0.208333333333334[/C][/ROW]
[ROW][C]51[/C][C]6.8[/C][C]7.08833333333333[/C][C]-0.288333333333334[/C][/ROW]
[ROW][C]52[/C][C]6.4[/C][C]6.78833333333333[/C][C]-0.388333333333334[/C][/ROW]
[ROW][C]53[/C][C]6.1[/C][C]6.54833333333333[/C][C]-0.448333333333335[/C][/ROW]
[ROW][C]54[/C][C]6.5[/C][C]6.46833333333333[/C][C]0.0316666666666661[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]7.22833333333333[/C][C]0.471666666666666[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]7.32833333333333[/C][C]0.571666666666667[/C][/ROW]
[ROW][C]57[/C][C]7.5[/C][C]7.18833333333333[/C][C]0.311666666666666[/C][/ROW]
[ROW][C]58[/C][C]6.9[/C][C]6.88833333333333[/C][C]0.0116666666666668[/C][/ROW]
[ROW][C]59[/C][C]6.6[/C][C]6.68833333333333[/C][C]-0.0883333333333339[/C][/ROW]
[ROW][C]60[/C][C]6.9[/C][C]6.82833333333333[/C][C]0.0716666666666668[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64368&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64368&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.98.94916666666669-0.0491666666666857
28.88.90916666666667-0.109166666666665
38.38.68916666666667-0.389166666666665
47.58.38916666666666-0.889166666666665
57.28.14916666666667-0.949166666666666
67.48.06916666666667-0.669166666666665
78.88.82916666666667-0.0291666666666649
89.38.929166666666670.370833333333336
99.38.789166666666660.510833333333335
108.78.489166666666670.210833333333334
118.28.28916666666666-0.089166666666666
128.38.42916666666667-0.129166666666665
138.58.65833333333333-0.158333333333328
148.68.61833333333333-0.0183333333333327
158.58.398333333333330.101666666666667
168.28.098333333333330.101666666666666
178.17.858333333333330.241666666666666
187.97.778333333333330.121666666666667
198.68.538333333333330.0616666666666667
208.78.638333333333330.0616666666666663
218.78.498333333333330.201666666666666
228.58.198333333333330.301666666666667
238.47.998333333333330.401666666666668
248.58.138333333333330.361666666666667
258.78.36750.332500000000004
268.78.32750.372499999999999
278.68.10750.492499999999999
288.57.80750.6925
298.37.56750.7325
3087.48750.5125
318.28.2475-0.0475000000000008
328.18.3475-0.247500000000001
338.18.2075-0.107500000000000
3487.90750.0924999999999999
357.97.70750.1925
367.97.84750.0525000000000001
3788.07666666666666-0.0766666666666623
3888.03666666666667-0.0366666666666675
397.97.816666666666670.0833333333333324
4087.516666666666670.483333333333333
417.77.276666666666670.423333333333332
427.27.196666666666670.00333333333333241
437.57.95666666666667-0.456666666666667
447.38.05666666666667-0.756666666666667
4577.91666666666667-0.916666666666667
4677.61666666666667-0.616666666666667
4777.41666666666667-0.416666666666668
487.27.55666666666667-0.356666666666667
497.37.34833333333333-0.0483333333333286
507.17.30833333333333-0.208333333333334
516.87.08833333333333-0.288333333333334
526.46.78833333333333-0.388333333333334
536.16.54833333333333-0.448333333333335
546.56.468333333333330.0316666666666661
557.77.228333333333330.471666666666666
567.97.328333333333330.571666666666667
577.57.188333333333330.311666666666666
586.96.888333333333330.0116666666666668
596.66.68833333333333-0.0883333333333339
606.96.828333333333330.0716666666666668







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.7632729868833180.4734540262333640.236727013116682
180.6636586609156570.6726826781686870.336341339084343
190.617200795249510.765598409500980.38279920475049
200.6882781321132710.6234437357734570.311721867886729
210.6926142500397030.6147714999205940.307385749960297
220.59493687308760.8101262538247990.405063126912400
230.4902932055435600.9805864110871190.509706794456440
240.394140577615920.788281155231840.60585942238408
250.2930655311209510.5861310622419020.706934468879049
260.2089677534319830.4179355068639650.791032246568017
270.1499033914641010.2998067829282030.850096608535899
280.1582571627112840.3165143254225680.841742837288716
290.1618870143148640.3237740286297280.838112985685136
300.116402555936370.232805111872740.88359744406363
310.1340050070894290.2680100141788590.86599499291057
320.2324361531849850.4648723063699690.767563846815015
330.2719905068279290.5439810136558580.728009493172071
340.2287886179503170.4575772359006330.771211382049683
350.1704239288845680.3408478577691360.829576071115432
360.1228448053270840.2456896106541680.877155194672916
370.09432853015746360.1886570603149270.905671469842536
380.0729385910286060.1458771820572120.927061408971394
390.06025563388484060.1205112677696810.93974436611516
400.124389106176670.248778212353340.87561089382333
410.4876997759773450.975399551954690.512300224022655
420.5823730671996390.8352538656007220.417626932800361
430.4546104154662570.9092208309325140.545389584533743

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.763272986883318 & 0.473454026233364 & 0.236727013116682 \tabularnewline
18 & 0.663658660915657 & 0.672682678168687 & 0.336341339084343 \tabularnewline
19 & 0.61720079524951 & 0.76559840950098 & 0.38279920475049 \tabularnewline
20 & 0.688278132113271 & 0.623443735773457 & 0.311721867886729 \tabularnewline
21 & 0.692614250039703 & 0.614771499920594 & 0.307385749960297 \tabularnewline
22 & 0.5949368730876 & 0.810126253824799 & 0.405063126912400 \tabularnewline
23 & 0.490293205543560 & 0.980586411087119 & 0.509706794456440 \tabularnewline
24 & 0.39414057761592 & 0.78828115523184 & 0.60585942238408 \tabularnewline
25 & 0.293065531120951 & 0.586131062241902 & 0.706934468879049 \tabularnewline
26 & 0.208967753431983 & 0.417935506863965 & 0.791032246568017 \tabularnewline
27 & 0.149903391464101 & 0.299806782928203 & 0.850096608535899 \tabularnewline
28 & 0.158257162711284 & 0.316514325422568 & 0.841742837288716 \tabularnewline
29 & 0.161887014314864 & 0.323774028629728 & 0.838112985685136 \tabularnewline
30 & 0.11640255593637 & 0.23280511187274 & 0.88359744406363 \tabularnewline
31 & 0.134005007089429 & 0.268010014178859 & 0.86599499291057 \tabularnewline
32 & 0.232436153184985 & 0.464872306369969 & 0.767563846815015 \tabularnewline
33 & 0.271990506827929 & 0.543981013655858 & 0.728009493172071 \tabularnewline
34 & 0.228788617950317 & 0.457577235900633 & 0.771211382049683 \tabularnewline
35 & 0.170423928884568 & 0.340847857769136 & 0.829576071115432 \tabularnewline
36 & 0.122844805327084 & 0.245689610654168 & 0.877155194672916 \tabularnewline
37 & 0.0943285301574636 & 0.188657060314927 & 0.905671469842536 \tabularnewline
38 & 0.072938591028606 & 0.145877182057212 & 0.927061408971394 \tabularnewline
39 & 0.0602556338848406 & 0.120511267769681 & 0.93974436611516 \tabularnewline
40 & 0.12438910617667 & 0.24877821235334 & 0.87561089382333 \tabularnewline
41 & 0.487699775977345 & 0.97539955195469 & 0.512300224022655 \tabularnewline
42 & 0.582373067199639 & 0.835253865600722 & 0.417626932800361 \tabularnewline
43 & 0.454610415466257 & 0.909220830932514 & 0.545389584533743 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64368&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.763272986883318[/C][C]0.473454026233364[/C][C]0.236727013116682[/C][/ROW]
[ROW][C]18[/C][C]0.663658660915657[/C][C]0.672682678168687[/C][C]0.336341339084343[/C][/ROW]
[ROW][C]19[/C][C]0.61720079524951[/C][C]0.76559840950098[/C][C]0.38279920475049[/C][/ROW]
[ROW][C]20[/C][C]0.688278132113271[/C][C]0.623443735773457[/C][C]0.311721867886729[/C][/ROW]
[ROW][C]21[/C][C]0.692614250039703[/C][C]0.614771499920594[/C][C]0.307385749960297[/C][/ROW]
[ROW][C]22[/C][C]0.5949368730876[/C][C]0.810126253824799[/C][C]0.405063126912400[/C][/ROW]
[ROW][C]23[/C][C]0.490293205543560[/C][C]0.980586411087119[/C][C]0.509706794456440[/C][/ROW]
[ROW][C]24[/C][C]0.39414057761592[/C][C]0.78828115523184[/C][C]0.60585942238408[/C][/ROW]
[ROW][C]25[/C][C]0.293065531120951[/C][C]0.586131062241902[/C][C]0.706934468879049[/C][/ROW]
[ROW][C]26[/C][C]0.208967753431983[/C][C]0.417935506863965[/C][C]0.791032246568017[/C][/ROW]
[ROW][C]27[/C][C]0.149903391464101[/C][C]0.299806782928203[/C][C]0.850096608535899[/C][/ROW]
[ROW][C]28[/C][C]0.158257162711284[/C][C]0.316514325422568[/C][C]0.841742837288716[/C][/ROW]
[ROW][C]29[/C][C]0.161887014314864[/C][C]0.323774028629728[/C][C]0.838112985685136[/C][/ROW]
[ROW][C]30[/C][C]0.11640255593637[/C][C]0.23280511187274[/C][C]0.88359744406363[/C][/ROW]
[ROW][C]31[/C][C]0.134005007089429[/C][C]0.268010014178859[/C][C]0.86599499291057[/C][/ROW]
[ROW][C]32[/C][C]0.232436153184985[/C][C]0.464872306369969[/C][C]0.767563846815015[/C][/ROW]
[ROW][C]33[/C][C]0.271990506827929[/C][C]0.543981013655858[/C][C]0.728009493172071[/C][/ROW]
[ROW][C]34[/C][C]0.228788617950317[/C][C]0.457577235900633[/C][C]0.771211382049683[/C][/ROW]
[ROW][C]35[/C][C]0.170423928884568[/C][C]0.340847857769136[/C][C]0.829576071115432[/C][/ROW]
[ROW][C]36[/C][C]0.122844805327084[/C][C]0.245689610654168[/C][C]0.877155194672916[/C][/ROW]
[ROW][C]37[/C][C]0.0943285301574636[/C][C]0.188657060314927[/C][C]0.905671469842536[/C][/ROW]
[ROW][C]38[/C][C]0.072938591028606[/C][C]0.145877182057212[/C][C]0.927061408971394[/C][/ROW]
[ROW][C]39[/C][C]0.0602556338848406[/C][C]0.120511267769681[/C][C]0.93974436611516[/C][/ROW]
[ROW][C]40[/C][C]0.12438910617667[/C][C]0.24877821235334[/C][C]0.87561089382333[/C][/ROW]
[ROW][C]41[/C][C]0.487699775977345[/C][C]0.97539955195469[/C][C]0.512300224022655[/C][/ROW]
[ROW][C]42[/C][C]0.582373067199639[/C][C]0.835253865600722[/C][C]0.417626932800361[/C][/ROW]
[ROW][C]43[/C][C]0.454610415466257[/C][C]0.909220830932514[/C][C]0.545389584533743[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64368&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64368&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.7632729868833180.4734540262333640.236727013116682
180.6636586609156570.6726826781686870.336341339084343
190.617200795249510.765598409500980.38279920475049
200.6882781321132710.6234437357734570.311721867886729
210.6926142500397030.6147714999205940.307385749960297
220.59493687308760.8101262538247990.405063126912400
230.4902932055435600.9805864110871190.509706794456440
240.394140577615920.788281155231840.60585942238408
250.2930655311209510.5861310622419020.706934468879049
260.2089677534319830.4179355068639650.791032246568017
270.1499033914641010.2998067829282030.850096608535899
280.1582571627112840.3165143254225680.841742837288716
290.1618870143148640.3237740286297280.838112985685136
300.116402555936370.232805111872740.88359744406363
310.1340050070894290.2680100141788590.86599499291057
320.2324361531849850.4648723063699690.767563846815015
330.2719905068279290.5439810136558580.728009493172071
340.2287886179503170.4575772359006330.771211382049683
350.1704239288845680.3408478577691360.829576071115432
360.1228448053270840.2456896106541680.877155194672916
370.09432853015746360.1886570603149270.905671469842536
380.0729385910286060.1458771820572120.927061408971394
390.06025563388484060.1205112677696810.93974436611516
400.124389106176670.248778212353340.87561089382333
410.4876997759773450.975399551954690.512300224022655
420.5823730671996390.8352538656007220.417626932800361
430.4546104154662570.9092208309325140.545389584533743







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=64368&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=64368&T=6

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