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, 15 Dec 2009 08:01:33 -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/15/t1260889424aomli66pkaqop53.htm/, Retrieved Mon, 06 May 2024 10:46:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67958, Retrieved Mon, 06 May 2024 10:46:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact135
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] [] [2009-11-18 12:11:35] [6ba840d2473f9a55d7b3e13093db69b8]
-    D        [Multiple Regression] [] [2009-12-15 15:01:33] [830aa0f7fb5acd5849dbc0c6ad889830] [Current]
-    D          [Multiple Regression] [] [2009-12-21 09:25:37] [6ba840d2473f9a55d7b3e13093db69b8]
Feedback Forum

Post a new message
Dataseries X:
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	0
7.1	0
6.8	0
6.4	0
6.1	0
6.5	0
7.7	0
7.9	0
7.5	0
6.9	1
6.6	1
6.9	1
7.7	1
8	1
8	1
7.7	1
7.3	1
7.4	1
8.1	1
8.3	1
8.2	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67958&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67958&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 9.16083333333332 + 0.908333333333333X[t] -0.520763888888894M1[t] -0.680694444444444M2[t] -0.500624999999998M3[t] -0.180555555555555M4[t] -0.100486111111111M5[t] -0.180416666666666M6[t] -0.340347222222221M7[t] -0.560277777777777M8[t] -0.620208333333332M9[t] + 0.0398611111111113M10[t] + 0.119930555555556M11[t] -0.0400694444444444t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  9.16083333333332 +  0.908333333333333X[t] -0.520763888888894M1[t] -0.680694444444444M2[t] -0.500624999999998M3[t] -0.180555555555555M4[t] -0.100486111111111M5[t] -0.180416666666666M6[t] -0.340347222222221M7[t] -0.560277777777777M8[t] -0.620208333333332M9[t] +  0.0398611111111113M10[t] +  0.119930555555556M11[t] -0.0400694444444444t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67958&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  9.16083333333332 +  0.908333333333333X[t] -0.520763888888894M1[t] -0.680694444444444M2[t] -0.500624999999998M3[t] -0.180555555555555M4[t] -0.100486111111111M5[t] -0.180416666666666M6[t] -0.340347222222221M7[t] -0.560277777777777M8[t] -0.620208333333332M9[t] +  0.0398611111111113M10[t] +  0.119930555555556M11[t] -0.0400694444444444t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67958&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67958&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] = + 9.16083333333332 + 0.908333333333333X[t] -0.520763888888894M1[t] -0.680694444444444M2[t] -0.500624999999998M3[t] -0.180555555555555M4[t] -0.100486111111111M5[t] -0.180416666666666M6[t] -0.340347222222221M7[t] -0.560277777777777M8[t] -0.620208333333332M9[t] + 0.0398611111111113M10[t] + 0.119930555555556M11[t] -0.0400694444444444t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)9.160833333333320.2337539.190700
X0.9083333333333330.1921424.72742.2e-051.1e-05
M1-0.5207638888888940.27086-1.92260.0607310.030365
M2-0.6806944444444440.270064-2.52050.0152510.007626
M3-0.5006249999999980.269341-1.85870.0694740.034737
M4-0.1805555555555550.268693-0.6720.504960.25248
M5-0.1004861111111110.26812-0.37480.7095460.354773
M6-0.1804166666666660.267622-0.67410.5035920.251796
M7-0.3403472222222210.2672-1.27380.209150.104575
M8-0.5602777777777770.266855-2.09960.0412830.020641
M9-0.6202083333333320.266586-2.32650.0244520.012226
M100.03986111111111130.2663930.14960.8817090.440854
M110.1199305555555560.2662780.45040.654540.32727
t-0.04006944444444440.004529-8.847700

\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) & 9.16083333333332 & 0.23375 & 39.1907 & 0 & 0 \tabularnewline
X & 0.908333333333333 & 0.192142 & 4.7274 & 2.2e-05 & 1.1e-05 \tabularnewline
M1 & -0.520763888888894 & 0.27086 & -1.9226 & 0.060731 & 0.030365 \tabularnewline
M2 & -0.680694444444444 & 0.270064 & -2.5205 & 0.015251 & 0.007626 \tabularnewline
M3 & -0.500624999999998 & 0.269341 & -1.8587 & 0.069474 & 0.034737 \tabularnewline
M4 & -0.180555555555555 & 0.268693 & -0.672 & 0.50496 & 0.25248 \tabularnewline
M5 & -0.100486111111111 & 0.26812 & -0.3748 & 0.709546 & 0.354773 \tabularnewline
M6 & -0.180416666666666 & 0.267622 & -0.6741 & 0.503592 & 0.251796 \tabularnewline
M7 & -0.340347222222221 & 0.2672 & -1.2738 & 0.20915 & 0.104575 \tabularnewline
M8 & -0.560277777777777 & 0.266855 & -2.0996 & 0.041283 & 0.020641 \tabularnewline
M9 & -0.620208333333332 & 0.266586 & -2.3265 & 0.024452 & 0.012226 \tabularnewline
M10 & 0.0398611111111113 & 0.266393 & 0.1496 & 0.881709 & 0.440854 \tabularnewline
M11 & 0.119930555555556 & 0.266278 & 0.4504 & 0.65454 & 0.32727 \tabularnewline
t & -0.0400694444444444 & 0.004529 & -8.8477 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67958&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]9.16083333333332[/C][C]0.23375[/C][C]39.1907[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]0.908333333333333[/C][C]0.192142[/C][C]4.7274[/C][C]2.2e-05[/C][C]1.1e-05[/C][/ROW]
[ROW][C]M1[/C][C]-0.520763888888894[/C][C]0.27086[/C][C]-1.9226[/C][C]0.060731[/C][C]0.030365[/C][/ROW]
[ROW][C]M2[/C][C]-0.680694444444444[/C][C]0.270064[/C][C]-2.5205[/C][C]0.015251[/C][C]0.007626[/C][/ROW]
[ROW][C]M3[/C][C]-0.500624999999998[/C][C]0.269341[/C][C]-1.8587[/C][C]0.069474[/C][C]0.034737[/C][/ROW]
[ROW][C]M4[/C][C]-0.180555555555555[/C][C]0.268693[/C][C]-0.672[/C][C]0.50496[/C][C]0.25248[/C][/ROW]
[ROW][C]M5[/C][C]-0.100486111111111[/C][C]0.26812[/C][C]-0.3748[/C][C]0.709546[/C][C]0.354773[/C][/ROW]
[ROW][C]M6[/C][C]-0.180416666666666[/C][C]0.267622[/C][C]-0.6741[/C][C]0.503592[/C][C]0.251796[/C][/ROW]
[ROW][C]M7[/C][C]-0.340347222222221[/C][C]0.2672[/C][C]-1.2738[/C][C]0.20915[/C][C]0.104575[/C][/ROW]
[ROW][C]M8[/C][C]-0.560277777777777[/C][C]0.266855[/C][C]-2.0996[/C][C]0.041283[/C][C]0.020641[/C][/ROW]
[ROW][C]M9[/C][C]-0.620208333333332[/C][C]0.266586[/C][C]-2.3265[/C][C]0.024452[/C][C]0.012226[/C][/ROW]
[ROW][C]M10[/C][C]0.0398611111111113[/C][C]0.266393[/C][C]0.1496[/C][C]0.881709[/C][C]0.440854[/C][/ROW]
[ROW][C]M11[/C][C]0.119930555555556[/C][C]0.266278[/C][C]0.4504[/C][C]0.65454[/C][C]0.32727[/C][/ROW]
[ROW][C]t[/C][C]-0.0400694444444444[/C][C]0.004529[/C][C]-8.8477[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67958&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67958&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)9.160833333333320.2337539.190700
X0.9083333333333330.1921424.72742.2e-051.1e-05
M1-0.5207638888888940.27086-1.92260.0607310.030365
M2-0.6806944444444440.270064-2.52050.0152510.007626
M3-0.5006249999999980.269341-1.85870.0694740.034737
M4-0.1805555555555550.268693-0.6720.504960.25248
M5-0.1004861111111110.26812-0.37480.7095460.354773
M6-0.1804166666666660.267622-0.67410.5035920.251796
M7-0.3403472222222210.2672-1.27380.209150.104575
M8-0.5602777777777770.266855-2.09960.0412830.020641
M9-0.6202083333333320.266586-2.32650.0244520.012226
M100.03986111111111130.2663930.14960.8817090.440854
M110.1199305555555560.2662780.45040.654540.32727
t-0.04006944444444440.004529-8.847700







Multiple Linear Regression - Regression Statistics
Multiple R0.826158445159561
R-squared0.682537776508464
Adjusted R-squared0.592820191608682
F-TEST (value)7.60762538660493
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.03769617343374e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.420961201695992
Sum Squared Residuals8.15158333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.826158445159561 \tabularnewline
R-squared & 0.682537776508464 \tabularnewline
Adjusted R-squared & 0.592820191608682 \tabularnewline
F-TEST (value) & 7.60762538660493 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 1.03769617343374e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.420961201695992 \tabularnewline
Sum Squared Residuals & 8.15158333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67958&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.826158445159561[/C][/ROW]
[ROW][C]R-squared[/C][C]0.682537776508464[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.592820191608682[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.60762538660493[/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]1.03769617343374e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.420961201695992[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8.15158333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67958&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67958&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.826158445159561
R-squared0.682537776508464
Adjusted R-squared0.592820191608682
F-TEST (value)7.60762538660493
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.03769617343374e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.420961201695992
Sum Squared Residuals8.15158333333333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.78.600000000000020.0999999999999748
28.28.4-0.200000000000002
38.38.54-0.239999999999998
48.58.82-0.319999999999998
58.68.86-0.259999999999999
68.58.74-0.239999999999998
78.28.54-0.339999999999999
88.18.28-0.179999999999999
97.98.18-0.279999999999998
108.68.8-0.199999999999998
118.78.84-0.139999999999999
128.78.680.0200000000000014
138.58.119166666666660.380833333333340
148.47.919166666666660.480833333333336
158.58.059166666666670.440833333333334
168.78.339166666666670.360833333333333
178.78.379166666666660.320833333333334
188.68.259166666666670.340833333333334
198.58.059166666666670.440833333333334
208.37.799166666666670.500833333333335
2187.699166666666670.300833333333334
228.28.31916666666667-0.119166666666666
238.18.35916666666667-0.259166666666666
248.18.19916666666666-0.099166666666666
2587.638333333333330.361666666666673
267.97.438333333333330.461666666666667
277.97.578333333333330.321666666666666
2887.858333333333330.141666666666666
2987.898333333333330.101666666666667
307.97.778333333333330.121666666666667
3187.578333333333330.421666666666666
327.77.318333333333330.381666666666666
337.27.21833333333333-0.0183333333333336
347.57.83833333333333-0.338333333333334
357.37.87833333333333-0.578333333333334
3677.71833333333333-0.718333333333333
3777.1575-0.157499999999995
3876.95750.0424999999999987
397.27.09750.102499999999998
407.37.3775-0.0775000000000014
417.17.4175-0.317500000000001
426.87.2975-0.497500000000001
436.47.0975-0.6975
446.16.8375-0.737500000000002
456.56.7375-0.237500000000001
467.77.35750.342499999999999
477.97.39750.502499999999999
487.57.23750.262499999999999
496.97.585-0.684999999999994
506.67.385-0.785
516.97.525-0.625000000000001
527.77.805-0.105000000000000
5387.8450.155
5487.7250.274999999999999
557.77.5250.174999999999999
567.37.2650.0349999999999991
577.47.1650.235000000000000
588.17.7850.314999999999999
598.37.8250.475
608.27.6650.534999999999999

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.7 & 8.60000000000002 & 0.0999999999999748 \tabularnewline
2 & 8.2 & 8.4 & -0.200000000000002 \tabularnewline
3 & 8.3 & 8.54 & -0.239999999999998 \tabularnewline
4 & 8.5 & 8.82 & -0.319999999999998 \tabularnewline
5 & 8.6 & 8.86 & -0.259999999999999 \tabularnewline
6 & 8.5 & 8.74 & -0.239999999999998 \tabularnewline
7 & 8.2 & 8.54 & -0.339999999999999 \tabularnewline
8 & 8.1 & 8.28 & -0.179999999999999 \tabularnewline
9 & 7.9 & 8.18 & -0.279999999999998 \tabularnewline
10 & 8.6 & 8.8 & -0.199999999999998 \tabularnewline
11 & 8.7 & 8.84 & -0.139999999999999 \tabularnewline
12 & 8.7 & 8.68 & 0.0200000000000014 \tabularnewline
13 & 8.5 & 8.11916666666666 & 0.380833333333340 \tabularnewline
14 & 8.4 & 7.91916666666666 & 0.480833333333336 \tabularnewline
15 & 8.5 & 8.05916666666667 & 0.440833333333334 \tabularnewline
16 & 8.7 & 8.33916666666667 & 0.360833333333333 \tabularnewline
17 & 8.7 & 8.37916666666666 & 0.320833333333334 \tabularnewline
18 & 8.6 & 8.25916666666667 & 0.340833333333334 \tabularnewline
19 & 8.5 & 8.05916666666667 & 0.440833333333334 \tabularnewline
20 & 8.3 & 7.79916666666667 & 0.500833333333335 \tabularnewline
21 & 8 & 7.69916666666667 & 0.300833333333334 \tabularnewline
22 & 8.2 & 8.31916666666667 & -0.119166666666666 \tabularnewline
23 & 8.1 & 8.35916666666667 & -0.259166666666666 \tabularnewline
24 & 8.1 & 8.19916666666666 & -0.099166666666666 \tabularnewline
25 & 8 & 7.63833333333333 & 0.361666666666673 \tabularnewline
26 & 7.9 & 7.43833333333333 & 0.461666666666667 \tabularnewline
27 & 7.9 & 7.57833333333333 & 0.321666666666666 \tabularnewline
28 & 8 & 7.85833333333333 & 0.141666666666666 \tabularnewline
29 & 8 & 7.89833333333333 & 0.101666666666667 \tabularnewline
30 & 7.9 & 7.77833333333333 & 0.121666666666667 \tabularnewline
31 & 8 & 7.57833333333333 & 0.421666666666666 \tabularnewline
32 & 7.7 & 7.31833333333333 & 0.381666666666666 \tabularnewline
33 & 7.2 & 7.21833333333333 & -0.0183333333333336 \tabularnewline
34 & 7.5 & 7.83833333333333 & -0.338333333333334 \tabularnewline
35 & 7.3 & 7.87833333333333 & -0.578333333333334 \tabularnewline
36 & 7 & 7.71833333333333 & -0.718333333333333 \tabularnewline
37 & 7 & 7.1575 & -0.157499999999995 \tabularnewline
38 & 7 & 6.9575 & 0.0424999999999987 \tabularnewline
39 & 7.2 & 7.0975 & 0.102499999999998 \tabularnewline
40 & 7.3 & 7.3775 & -0.0775000000000014 \tabularnewline
41 & 7.1 & 7.4175 & -0.317500000000001 \tabularnewline
42 & 6.8 & 7.2975 & -0.497500000000001 \tabularnewline
43 & 6.4 & 7.0975 & -0.6975 \tabularnewline
44 & 6.1 & 6.8375 & -0.737500000000002 \tabularnewline
45 & 6.5 & 6.7375 & -0.237500000000001 \tabularnewline
46 & 7.7 & 7.3575 & 0.342499999999999 \tabularnewline
47 & 7.9 & 7.3975 & 0.502499999999999 \tabularnewline
48 & 7.5 & 7.2375 & 0.262499999999999 \tabularnewline
49 & 6.9 & 7.585 & -0.684999999999994 \tabularnewline
50 & 6.6 & 7.385 & -0.785 \tabularnewline
51 & 6.9 & 7.525 & -0.625000000000001 \tabularnewline
52 & 7.7 & 7.805 & -0.105000000000000 \tabularnewline
53 & 8 & 7.845 & 0.155 \tabularnewline
54 & 8 & 7.725 & 0.274999999999999 \tabularnewline
55 & 7.7 & 7.525 & 0.174999999999999 \tabularnewline
56 & 7.3 & 7.265 & 0.0349999999999991 \tabularnewline
57 & 7.4 & 7.165 & 0.235000000000000 \tabularnewline
58 & 8.1 & 7.785 & 0.314999999999999 \tabularnewline
59 & 8.3 & 7.825 & 0.475 \tabularnewline
60 & 8.2 & 7.665 & 0.534999999999999 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67958&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.7[/C][C]8.60000000000002[/C][C]0.0999999999999748[/C][/ROW]
[ROW][C]2[/C][C]8.2[/C][C]8.4[/C][C]-0.200000000000002[/C][/ROW]
[ROW][C]3[/C][C]8.3[/C][C]8.54[/C][C]-0.239999999999998[/C][/ROW]
[ROW][C]4[/C][C]8.5[/C][C]8.82[/C][C]-0.319999999999998[/C][/ROW]
[ROW][C]5[/C][C]8.6[/C][C]8.86[/C][C]-0.259999999999999[/C][/ROW]
[ROW][C]6[/C][C]8.5[/C][C]8.74[/C][C]-0.239999999999998[/C][/ROW]
[ROW][C]7[/C][C]8.2[/C][C]8.54[/C][C]-0.339999999999999[/C][/ROW]
[ROW][C]8[/C][C]8.1[/C][C]8.28[/C][C]-0.179999999999999[/C][/ROW]
[ROW][C]9[/C][C]7.9[/C][C]8.18[/C][C]-0.279999999999998[/C][/ROW]
[ROW][C]10[/C][C]8.6[/C][C]8.8[/C][C]-0.199999999999998[/C][/ROW]
[ROW][C]11[/C][C]8.7[/C][C]8.84[/C][C]-0.139999999999999[/C][/ROW]
[ROW][C]12[/C][C]8.7[/C][C]8.68[/C][C]0.0200000000000014[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]8.11916666666666[/C][C]0.380833333333340[/C][/ROW]
[ROW][C]14[/C][C]8.4[/C][C]7.91916666666666[/C][C]0.480833333333336[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.05916666666667[/C][C]0.440833333333334[/C][/ROW]
[ROW][C]16[/C][C]8.7[/C][C]8.33916666666667[/C][C]0.360833333333333[/C][/ROW]
[ROW][C]17[/C][C]8.7[/C][C]8.37916666666666[/C][C]0.320833333333334[/C][/ROW]
[ROW][C]18[/C][C]8.6[/C][C]8.25916666666667[/C][C]0.340833333333334[/C][/ROW]
[ROW][C]19[/C][C]8.5[/C][C]8.05916666666667[/C][C]0.440833333333334[/C][/ROW]
[ROW][C]20[/C][C]8.3[/C][C]7.79916666666667[/C][C]0.500833333333335[/C][/ROW]
[ROW][C]21[/C][C]8[/C][C]7.69916666666667[/C][C]0.300833333333334[/C][/ROW]
[ROW][C]22[/C][C]8.2[/C][C]8.31916666666667[/C][C]-0.119166666666666[/C][/ROW]
[ROW][C]23[/C][C]8.1[/C][C]8.35916666666667[/C][C]-0.259166666666666[/C][/ROW]
[ROW][C]24[/C][C]8.1[/C][C]8.19916666666666[/C][C]-0.099166666666666[/C][/ROW]
[ROW][C]25[/C][C]8[/C][C]7.63833333333333[/C][C]0.361666666666673[/C][/ROW]
[ROW][C]26[/C][C]7.9[/C][C]7.43833333333333[/C][C]0.461666666666667[/C][/ROW]
[ROW][C]27[/C][C]7.9[/C][C]7.57833333333333[/C][C]0.321666666666666[/C][/ROW]
[ROW][C]28[/C][C]8[/C][C]7.85833333333333[/C][C]0.141666666666666[/C][/ROW]
[ROW][C]29[/C][C]8[/C][C]7.89833333333333[/C][C]0.101666666666667[/C][/ROW]
[ROW][C]30[/C][C]7.9[/C][C]7.77833333333333[/C][C]0.121666666666667[/C][/ROW]
[ROW][C]31[/C][C]8[/C][C]7.57833333333333[/C][C]0.421666666666666[/C][/ROW]
[ROW][C]32[/C][C]7.7[/C][C]7.31833333333333[/C][C]0.381666666666666[/C][/ROW]
[ROW][C]33[/C][C]7.2[/C][C]7.21833333333333[/C][C]-0.0183333333333336[/C][/ROW]
[ROW][C]34[/C][C]7.5[/C][C]7.83833333333333[/C][C]-0.338333333333334[/C][/ROW]
[ROW][C]35[/C][C]7.3[/C][C]7.87833333333333[/C][C]-0.578333333333334[/C][/ROW]
[ROW][C]36[/C][C]7[/C][C]7.71833333333333[/C][C]-0.718333333333333[/C][/ROW]
[ROW][C]37[/C][C]7[/C][C]7.1575[/C][C]-0.157499999999995[/C][/ROW]
[ROW][C]38[/C][C]7[/C][C]6.9575[/C][C]0.0424999999999987[/C][/ROW]
[ROW][C]39[/C][C]7.2[/C][C]7.0975[/C][C]0.102499999999998[/C][/ROW]
[ROW][C]40[/C][C]7.3[/C][C]7.3775[/C][C]-0.0775000000000014[/C][/ROW]
[ROW][C]41[/C][C]7.1[/C][C]7.4175[/C][C]-0.317500000000001[/C][/ROW]
[ROW][C]42[/C][C]6.8[/C][C]7.2975[/C][C]-0.497500000000001[/C][/ROW]
[ROW][C]43[/C][C]6.4[/C][C]7.0975[/C][C]-0.6975[/C][/ROW]
[ROW][C]44[/C][C]6.1[/C][C]6.8375[/C][C]-0.737500000000002[/C][/ROW]
[ROW][C]45[/C][C]6.5[/C][C]6.7375[/C][C]-0.237500000000001[/C][/ROW]
[ROW][C]46[/C][C]7.7[/C][C]7.3575[/C][C]0.342499999999999[/C][/ROW]
[ROW][C]47[/C][C]7.9[/C][C]7.3975[/C][C]0.502499999999999[/C][/ROW]
[ROW][C]48[/C][C]7.5[/C][C]7.2375[/C][C]0.262499999999999[/C][/ROW]
[ROW][C]49[/C][C]6.9[/C][C]7.585[/C][C]-0.684999999999994[/C][/ROW]
[ROW][C]50[/C][C]6.6[/C][C]7.385[/C][C]-0.785[/C][/ROW]
[ROW][C]51[/C][C]6.9[/C][C]7.525[/C][C]-0.625000000000001[/C][/ROW]
[ROW][C]52[/C][C]7.7[/C][C]7.805[/C][C]-0.105000000000000[/C][/ROW]
[ROW][C]53[/C][C]8[/C][C]7.845[/C][C]0.155[/C][/ROW]
[ROW][C]54[/C][C]8[/C][C]7.725[/C][C]0.274999999999999[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]7.525[/C][C]0.174999999999999[/C][/ROW]
[ROW][C]56[/C][C]7.3[/C][C]7.265[/C][C]0.0349999999999991[/C][/ROW]
[ROW][C]57[/C][C]7.4[/C][C]7.165[/C][C]0.235000000000000[/C][/ROW]
[ROW][C]58[/C][C]8.1[/C][C]7.785[/C][C]0.314999999999999[/C][/ROW]
[ROW][C]59[/C][C]8.3[/C][C]7.825[/C][C]0.475[/C][/ROW]
[ROW][C]60[/C][C]8.2[/C][C]7.665[/C][C]0.534999999999999[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67958&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67958&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.78.600000000000020.0999999999999748
28.28.4-0.200000000000002
38.38.54-0.239999999999998
48.58.82-0.319999999999998
58.68.86-0.259999999999999
68.58.74-0.239999999999998
78.28.54-0.339999999999999
88.18.28-0.179999999999999
97.98.18-0.279999999999998
108.68.8-0.199999999999998
118.78.84-0.139999999999999
128.78.680.0200000000000014
138.58.119166666666660.380833333333340
148.47.919166666666660.480833333333336
158.58.059166666666670.440833333333334
168.78.339166666666670.360833333333333
178.78.379166666666660.320833333333334
188.68.259166666666670.340833333333334
198.58.059166666666670.440833333333334
208.37.799166666666670.500833333333335
2187.699166666666670.300833333333334
228.28.31916666666667-0.119166666666666
238.18.35916666666667-0.259166666666666
248.18.19916666666666-0.099166666666666
2587.638333333333330.361666666666673
267.97.438333333333330.461666666666667
277.97.578333333333330.321666666666666
2887.858333333333330.141666666666666
2987.898333333333330.101666666666667
307.97.778333333333330.121666666666667
3187.578333333333330.421666666666666
327.77.318333333333330.381666666666666
337.27.21833333333333-0.0183333333333336
347.57.83833333333333-0.338333333333334
357.37.87833333333333-0.578333333333334
3677.71833333333333-0.718333333333333
3777.1575-0.157499999999995
3876.95750.0424999999999987
397.27.09750.102499999999998
407.37.3775-0.0775000000000014
417.17.4175-0.317500000000001
426.87.2975-0.497500000000001
436.47.0975-0.6975
446.16.8375-0.737500000000002
456.56.7375-0.237500000000001
467.77.35750.342499999999999
477.97.39750.502499999999999
487.57.23750.262499999999999
496.97.585-0.684999999999994
506.67.385-0.785
516.97.525-0.625000000000001
527.77.805-0.105000000000000
5387.8450.155
5487.7250.274999999999999
557.77.5250.174999999999999
567.37.2650.0349999999999991
577.47.1650.235000000000000
588.17.7850.314999999999999
598.37.8250.475
608.27.6650.534999999999999







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.03672759954859210.07345519909718410.963272400451408
180.008873967408334180.01774793481666840.991126032591666
190.003559627628179750.007119255256359490.99644037237182
200.000935203088117110.001870406176234220.999064796911883
210.0002056395443426280.0004112790886852570.999794360455657
220.001431051030140310.002862102060280620.99856894896986
230.006932452371849640.01386490474369930.99306754762815
240.01112161737621110.02224323475242220.988878382623789
250.01596720510986050.03193441021972110.98403279489014
260.01277192642169200.02554385284338400.987228073578308
270.01019424802014030.02038849604028060.98980575197986
280.007657255853179850.01531451170635970.99234274414682
290.005748663521919560.01149732704383910.99425133647808
300.004204035714122940.008408071428245890.995795964285877
310.004926934953676840.009853869907353670.995073065046323
320.01756126988629420.03512253977258850.982438730113706
330.03380158018940370.06760316037880740.966198419810596
340.0392056576166690.0784113152333380.960794342383331
350.04974197969416240.09948395938832490.950258020305838
360.08829358885250510.1765871777050100.911706411147495
370.1328334379381020.2656668758762050.867166562061898
380.2826468926860040.5652937853720080.717353107313996
390.6294996458389580.7410007083220840.370500354161042
400.6280646008332660.7438707983334670.371935399166734
410.5190125613187380.9619748773625240.480987438681262
420.4945515115016020.9891030230032040.505448488498398
430.5981495112848160.8037009774303690.401850488715184

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0367275995485921 & 0.0734551990971841 & 0.963272400451408 \tabularnewline
18 & 0.00887396740833418 & 0.0177479348166684 & 0.991126032591666 \tabularnewline
19 & 0.00355962762817975 & 0.00711925525635949 & 0.99644037237182 \tabularnewline
20 & 0.00093520308811711 & 0.00187040617623422 & 0.999064796911883 \tabularnewline
21 & 0.000205639544342628 & 0.000411279088685257 & 0.999794360455657 \tabularnewline
22 & 0.00143105103014031 & 0.00286210206028062 & 0.99856894896986 \tabularnewline
23 & 0.00693245237184964 & 0.0138649047436993 & 0.99306754762815 \tabularnewline
24 & 0.0111216173762111 & 0.0222432347524222 & 0.988878382623789 \tabularnewline
25 & 0.0159672051098605 & 0.0319344102197211 & 0.98403279489014 \tabularnewline
26 & 0.0127719264216920 & 0.0255438528433840 & 0.987228073578308 \tabularnewline
27 & 0.0101942480201403 & 0.0203884960402806 & 0.98980575197986 \tabularnewline
28 & 0.00765725585317985 & 0.0153145117063597 & 0.99234274414682 \tabularnewline
29 & 0.00574866352191956 & 0.0114973270438391 & 0.99425133647808 \tabularnewline
30 & 0.00420403571412294 & 0.00840807142824589 & 0.995795964285877 \tabularnewline
31 & 0.00492693495367684 & 0.00985386990735367 & 0.995073065046323 \tabularnewline
32 & 0.0175612698862942 & 0.0351225397725885 & 0.982438730113706 \tabularnewline
33 & 0.0338015801894037 & 0.0676031603788074 & 0.966198419810596 \tabularnewline
34 & 0.039205657616669 & 0.078411315233338 & 0.960794342383331 \tabularnewline
35 & 0.0497419796941624 & 0.0994839593883249 & 0.950258020305838 \tabularnewline
36 & 0.0882935888525051 & 0.176587177705010 & 0.911706411147495 \tabularnewline
37 & 0.132833437938102 & 0.265666875876205 & 0.867166562061898 \tabularnewline
38 & 0.282646892686004 & 0.565293785372008 & 0.717353107313996 \tabularnewline
39 & 0.629499645838958 & 0.741000708322084 & 0.370500354161042 \tabularnewline
40 & 0.628064600833266 & 0.743870798333467 & 0.371935399166734 \tabularnewline
41 & 0.519012561318738 & 0.961974877362524 & 0.480987438681262 \tabularnewline
42 & 0.494551511501602 & 0.989103023003204 & 0.505448488498398 \tabularnewline
43 & 0.598149511284816 & 0.803700977430369 & 0.401850488715184 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67958&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.0367275995485921[/C][C]0.0734551990971841[/C][C]0.963272400451408[/C][/ROW]
[ROW][C]18[/C][C]0.00887396740833418[/C][C]0.0177479348166684[/C][C]0.991126032591666[/C][/ROW]
[ROW][C]19[/C][C]0.00355962762817975[/C][C]0.00711925525635949[/C][C]0.99644037237182[/C][/ROW]
[ROW][C]20[/C][C]0.00093520308811711[/C][C]0.00187040617623422[/C][C]0.999064796911883[/C][/ROW]
[ROW][C]21[/C][C]0.000205639544342628[/C][C]0.000411279088685257[/C][C]0.999794360455657[/C][/ROW]
[ROW][C]22[/C][C]0.00143105103014031[/C][C]0.00286210206028062[/C][C]0.99856894896986[/C][/ROW]
[ROW][C]23[/C][C]0.00693245237184964[/C][C]0.0138649047436993[/C][C]0.99306754762815[/C][/ROW]
[ROW][C]24[/C][C]0.0111216173762111[/C][C]0.0222432347524222[/C][C]0.988878382623789[/C][/ROW]
[ROW][C]25[/C][C]0.0159672051098605[/C][C]0.0319344102197211[/C][C]0.98403279489014[/C][/ROW]
[ROW][C]26[/C][C]0.0127719264216920[/C][C]0.0255438528433840[/C][C]0.987228073578308[/C][/ROW]
[ROW][C]27[/C][C]0.0101942480201403[/C][C]0.0203884960402806[/C][C]0.98980575197986[/C][/ROW]
[ROW][C]28[/C][C]0.00765725585317985[/C][C]0.0153145117063597[/C][C]0.99234274414682[/C][/ROW]
[ROW][C]29[/C][C]0.00574866352191956[/C][C]0.0114973270438391[/C][C]0.99425133647808[/C][/ROW]
[ROW][C]30[/C][C]0.00420403571412294[/C][C]0.00840807142824589[/C][C]0.995795964285877[/C][/ROW]
[ROW][C]31[/C][C]0.00492693495367684[/C][C]0.00985386990735367[/C][C]0.995073065046323[/C][/ROW]
[ROW][C]32[/C][C]0.0175612698862942[/C][C]0.0351225397725885[/C][C]0.982438730113706[/C][/ROW]
[ROW][C]33[/C][C]0.0338015801894037[/C][C]0.0676031603788074[/C][C]0.966198419810596[/C][/ROW]
[ROW][C]34[/C][C]0.039205657616669[/C][C]0.078411315233338[/C][C]0.960794342383331[/C][/ROW]
[ROW][C]35[/C][C]0.0497419796941624[/C][C]0.0994839593883249[/C][C]0.950258020305838[/C][/ROW]
[ROW][C]36[/C][C]0.0882935888525051[/C][C]0.176587177705010[/C][C]0.911706411147495[/C][/ROW]
[ROW][C]37[/C][C]0.132833437938102[/C][C]0.265666875876205[/C][C]0.867166562061898[/C][/ROW]
[ROW][C]38[/C][C]0.282646892686004[/C][C]0.565293785372008[/C][C]0.717353107313996[/C][/ROW]
[ROW][C]39[/C][C]0.629499645838958[/C][C]0.741000708322084[/C][C]0.370500354161042[/C][/ROW]
[ROW][C]40[/C][C]0.628064600833266[/C][C]0.743870798333467[/C][C]0.371935399166734[/C][/ROW]
[ROW][C]41[/C][C]0.519012561318738[/C][C]0.961974877362524[/C][C]0.480987438681262[/C][/ROW]
[ROW][C]42[/C][C]0.494551511501602[/C][C]0.989103023003204[/C][C]0.505448488498398[/C][/ROW]
[ROW][C]43[/C][C]0.598149511284816[/C][C]0.803700977430369[/C][C]0.401850488715184[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67958&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67958&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.03672759954859210.07345519909718410.963272400451408
180.008873967408334180.01774793481666840.991126032591666
190.003559627628179750.007119255256359490.99644037237182
200.000935203088117110.001870406176234220.999064796911883
210.0002056395443426280.0004112790886852570.999794360455657
220.001431051030140310.002862102060280620.99856894896986
230.006932452371849640.01386490474369930.99306754762815
240.01112161737621110.02224323475242220.988878382623789
250.01596720510986050.03193441021972110.98403279489014
260.01277192642169200.02554385284338400.987228073578308
270.01019424802014030.02038849604028060.98980575197986
280.007657255853179850.01531451170635970.99234274414682
290.005748663521919560.01149732704383910.99425133647808
300.004204035714122940.008408071428245890.995795964285877
310.004926934953676840.009853869907353670.995073065046323
320.01756126988629420.03512253977258850.982438730113706
330.03380158018940370.06760316037880740.966198419810596
340.0392056576166690.0784113152333380.960794342383331
350.04974197969416240.09948395938832490.950258020305838
360.08829358885250510.1765871777050100.911706411147495
370.1328334379381020.2656668758762050.867166562061898
380.2826468926860040.5652937853720080.717353107313996
390.6294996458389580.7410007083220840.370500354161042
400.6280646008332660.7438707983334670.371935399166734
410.5190125613187380.9619748773625240.480987438681262
420.4945515115016020.9891030230032040.505448488498398
430.5981495112848160.8037009774303690.401850488715184







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.222222222222222NOK
5% type I error level150.555555555555556NOK
10% type I error level190.703703703703704NOK

\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 & 6 & 0.222222222222222 & NOK \tabularnewline
5% type I error level & 15 & 0.555555555555556 & NOK \tabularnewline
10% type I error level & 19 & 0.703703703703704 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67958&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]6[/C][C]0.222222222222222[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]15[/C][C]0.555555555555556[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]19[/C][C]0.703703703703704[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67958&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67958&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 level60.222222222222222NOK
5% type I error level150.555555555555556NOK
10% type I error level190.703703703703704NOK



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')
}