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, 23 Dec 2008 12:43:38 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/23/t1230061519fcnlplyysmjv25p.htm/, Retrieved Fri, 17 May 2024 05:03:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=36383, Retrieved Fri, 17 May 2024 05:03:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact168
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]
F R  D  [Multiple Regression] [Q1 seatbelt law] [2008-11-24 10:40:19] [7a4703cb85a198d9845d72899eff0288]
F   P     [Multiple Regression] [The seatbelt law ...] [2008-11-27 16:39:47] [7a4703cb85a198d9845d72899eff0288]
-   PD        [Multiple Regression] [Multiple Regressi...] [2008-12-23 19:43:38] [9f72e095d5529918bf5b0810c01bf6ce] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	98.1
0	101.1
0	111.1
0	93.3
0	100
0	108
0	70.4
0	75.4
1	105.5
1	112.3
1	102.5
1	93.5
1	86.7
1	95.2
1	103.8
1	97
1	95.5
1	101
1	67.5
1	64
1	106.7
1	100.6
1	101.2
1	93.1
1	84.2
1	85.8
1	91.8
1	92.4
1	80.3
1	79.7
1	62.5
1	57.1
1	100.8
1	100.7
1	86.2
1	83.2




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=36383&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=36383&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36383&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
Cons[t] = + 103.966666666667 -0.474999999999977Dummy[t] -6.63923611111119M1[t] -1.70763888888888M2[t] + 7.05729166666667M3[t] -0.377777777777778M4[t] -2.11284722222223M5[t] + 2.75208333333334M6[t] -26.1163194444444M7[t] -26.8513888888889M8[t] + 12.7052083333333M9[t] + 13.4701388888889M10[t] + 6.13506944444444M11[t] -0.564930555555555t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Cons[t] =  +  103.966666666667 -0.474999999999977Dummy[t] -6.63923611111119M1[t] -1.70763888888888M2[t] +  7.05729166666667M3[t] -0.377777777777778M4[t] -2.11284722222223M5[t] +  2.75208333333334M6[t] -26.1163194444444M7[t] -26.8513888888889M8[t] +  12.7052083333333M9[t] +  13.4701388888889M10[t] +  6.13506944444444M11[t] -0.564930555555555t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36383&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Cons[t] =  +  103.966666666667 -0.474999999999977Dummy[t] -6.63923611111119M1[t] -1.70763888888888M2[t] +  7.05729166666667M3[t] -0.377777777777778M4[t] -2.11284722222223M5[t] +  2.75208333333334M6[t] -26.1163194444444M7[t] -26.8513888888889M8[t] +  12.7052083333333M9[t] +  13.4701388888889M10[t] +  6.13506944444444M11[t] -0.564930555555555t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36383&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36383&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
Cons[t] = + 103.966666666667 -0.474999999999977Dummy[t] -6.63923611111119M1[t] -1.70763888888888M2[t] + 7.05729166666667M3[t] -0.377777777777778M4[t] -2.11284722222223M5[t] + 2.75208333333334M6[t] -26.1163194444444M7[t] -26.8513888888889M8[t] + 12.7052083333333M9[t] + 13.4701388888889M10[t] + 6.13506944444444M11[t] -0.564930555555555t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)103.9666666666673.39295930.641900
Dummy-0.4749999999999772.823113-0.16830.8679210.43396
M1-6.639236111111193.862523-1.71890.0996770.049839
M2-1.707638888888883.848167-0.44380.6615540.330777
M37.057291666666673.8369641.83930.0794080.039704
M4-0.3777777777777783.828942-0.09870.9222990.461149
M5-2.112847222222233.824121-0.55250.5861720.293086
M62.752083333333343.8225120.720.4791250.239563
M7-26.11631944444443.824121-6.82941e-060
M8-26.85138888888893.828942-7.012700
M912.70520833333333.7788253.36220.0028140.001407
M1013.47013888888893.7706793.57230.0017010.000851
M116.135069444444443.7657831.62920.1175150.058758
t-0.5649305555555550.110902-5.09394.2e-052.1e-05

\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) & 103.966666666667 & 3.392959 & 30.6419 & 0 & 0 \tabularnewline
Dummy & -0.474999999999977 & 2.823113 & -0.1683 & 0.867921 & 0.43396 \tabularnewline
M1 & -6.63923611111119 & 3.862523 & -1.7189 & 0.099677 & 0.049839 \tabularnewline
M2 & -1.70763888888888 & 3.848167 & -0.4438 & 0.661554 & 0.330777 \tabularnewline
M3 & 7.05729166666667 & 3.836964 & 1.8393 & 0.079408 & 0.039704 \tabularnewline
M4 & -0.377777777777778 & 3.828942 & -0.0987 & 0.922299 & 0.461149 \tabularnewline
M5 & -2.11284722222223 & 3.824121 & -0.5525 & 0.586172 & 0.293086 \tabularnewline
M6 & 2.75208333333334 & 3.822512 & 0.72 & 0.479125 & 0.239563 \tabularnewline
M7 & -26.1163194444444 & 3.824121 & -6.8294 & 1e-06 & 0 \tabularnewline
M8 & -26.8513888888889 & 3.828942 & -7.0127 & 0 & 0 \tabularnewline
M9 & 12.7052083333333 & 3.778825 & 3.3622 & 0.002814 & 0.001407 \tabularnewline
M10 & 13.4701388888889 & 3.770679 & 3.5723 & 0.001701 & 0.000851 \tabularnewline
M11 & 6.13506944444444 & 3.765783 & 1.6292 & 0.117515 & 0.058758 \tabularnewline
t & -0.564930555555555 & 0.110902 & -5.0939 & 4.2e-05 & 2.1e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36383&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]103.966666666667[/C][C]3.392959[/C][C]30.6419[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-0.474999999999977[/C][C]2.823113[/C][C]-0.1683[/C][C]0.867921[/C][C]0.43396[/C][/ROW]
[ROW][C]M1[/C][C]-6.63923611111119[/C][C]3.862523[/C][C]-1.7189[/C][C]0.099677[/C][C]0.049839[/C][/ROW]
[ROW][C]M2[/C][C]-1.70763888888888[/C][C]3.848167[/C][C]-0.4438[/C][C]0.661554[/C][C]0.330777[/C][/ROW]
[ROW][C]M3[/C][C]7.05729166666667[/C][C]3.836964[/C][C]1.8393[/C][C]0.079408[/C][C]0.039704[/C][/ROW]
[ROW][C]M4[/C][C]-0.377777777777778[/C][C]3.828942[/C][C]-0.0987[/C][C]0.922299[/C][C]0.461149[/C][/ROW]
[ROW][C]M5[/C][C]-2.11284722222223[/C][C]3.824121[/C][C]-0.5525[/C][C]0.586172[/C][C]0.293086[/C][/ROW]
[ROW][C]M6[/C][C]2.75208333333334[/C][C]3.822512[/C][C]0.72[/C][C]0.479125[/C][C]0.239563[/C][/ROW]
[ROW][C]M7[/C][C]-26.1163194444444[/C][C]3.824121[/C][C]-6.8294[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-26.8513888888889[/C][C]3.828942[/C][C]-7.0127[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]12.7052083333333[/C][C]3.778825[/C][C]3.3622[/C][C]0.002814[/C][C]0.001407[/C][/ROW]
[ROW][C]M10[/C][C]13.4701388888889[/C][C]3.770679[/C][C]3.5723[/C][C]0.001701[/C][C]0.000851[/C][/ROW]
[ROW][C]M11[/C][C]6.13506944444444[/C][C]3.765783[/C][C]1.6292[/C][C]0.117515[/C][C]0.058758[/C][/ROW]
[ROW][C]t[/C][C]-0.564930555555555[/C][C]0.110902[/C][C]-5.0939[/C][C]4.2e-05[/C][C]2.1e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36383&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36383&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)103.9666666666673.39295930.641900
Dummy-0.4749999999999772.823113-0.16830.8679210.43396
M1-6.639236111111193.862523-1.71890.0996770.049839
M2-1.707638888888883.848167-0.44380.6615540.330777
M37.057291666666673.8369641.83930.0794080.039704
M4-0.3777777777777783.828942-0.09870.9222990.461149
M5-2.112847222222233.824121-0.55250.5861720.293086
M62.752083333333343.8225120.720.4791250.239563
M7-26.11631944444443.824121-6.82941e-060
M8-26.85138888888893.828942-7.012700
M912.70520833333333.7788253.36220.0028140.001407
M1013.47013888888893.7706793.57230.0017010.000851
M116.135069444444443.7657831.62920.1175150.058758
t-0.5649305555555550.110902-5.09394.2e-052.1e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.966201020747453
R-squared0.93354441249342
Adjusted R-squared0.894275201694078
F-TEST (value)23.7729354242346
F-TEST (DF numerator)13
F-TEST (DF denominator)22
p-value5.89050475063857e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.61012349469769
Sum Squared Residuals467.571250000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.966201020747453 \tabularnewline
R-squared & 0.93354441249342 \tabularnewline
Adjusted R-squared & 0.894275201694078 \tabularnewline
F-TEST (value) & 23.7729354242346 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 22 \tabularnewline
p-value & 5.89050475063857e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.61012349469769 \tabularnewline
Sum Squared Residuals & 467.571250000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36383&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.966201020747453[/C][/ROW]
[ROW][C]R-squared[/C][C]0.93354441249342[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.894275201694078[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]23.7729354242346[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]22[/C][/ROW]
[ROW][C]p-value[/C][C]5.89050475063857e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]4.61012349469769[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]467.571250000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36383&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36383&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.966201020747453
R-squared0.93354441249342
Adjusted R-squared0.894275201694078
F-TEST (value)23.7729354242346
F-TEST (DF numerator)13
F-TEST (DF denominator)22
p-value5.89050475063857e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.61012349469769
Sum Squared Residuals467.571250000000







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
198.196.76250000000021.33749999999984
2101.1101.129166666667-0.0291666666666274
3111.1109.3291666666671.77083333333334
493.3101.329166666667-8.02916666666665
510099.02916666666660.970833333333353
6108103.3291666666674.67083333333336
770.473.8958333333333-3.49583333333331
875.472.59583333333332.80416666666669
9105.5111.1125-5.6125
10112.3111.31250.9875
11102.5103.4125-0.912499999999997
1293.596.7125-3.21250000000001
1386.789.5083333333333-2.80833333333325
1495.293.8751.32499999999998
15103.8102.0751.72499999999999
169794.0752.92499999999999
1795.591.7753.72499999999999
1810196.0754.92499999999999
1967.566.64166666666670.858333333333322
206465.3416666666667-1.34166666666668
21106.7104.3333333333332.36666666666667
22100.6104.533333333333-3.93333333333334
23101.296.63333333333334.56666666666667
2493.189.93333333333333.16666666666666
2584.282.72916666666661.47083333333341
2685.887.0958333333333-1.29583333333335
2791.895.2958333333333-3.49583333333334
2892.487.29583333333335.10416666666667
2980.384.9958333333333-4.69583333333335
3079.789.2958333333333-9.59583333333335
3162.559.86252.63749999999999
3257.158.5625-1.46250000000001
33100.897.55416666666673.24583333333333
34100.797.75416666666672.94583333333334
3586.289.8541666666667-3.65416666666667
3683.283.15416666666670.0458333333333238

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 98.1 & 96.7625000000002 & 1.33749999999984 \tabularnewline
2 & 101.1 & 101.129166666667 & -0.0291666666666274 \tabularnewline
3 & 111.1 & 109.329166666667 & 1.77083333333334 \tabularnewline
4 & 93.3 & 101.329166666667 & -8.02916666666665 \tabularnewline
5 & 100 & 99.0291666666666 & 0.970833333333353 \tabularnewline
6 & 108 & 103.329166666667 & 4.67083333333336 \tabularnewline
7 & 70.4 & 73.8958333333333 & -3.49583333333331 \tabularnewline
8 & 75.4 & 72.5958333333333 & 2.80416666666669 \tabularnewline
9 & 105.5 & 111.1125 & -5.6125 \tabularnewline
10 & 112.3 & 111.3125 & 0.9875 \tabularnewline
11 & 102.5 & 103.4125 & -0.912499999999997 \tabularnewline
12 & 93.5 & 96.7125 & -3.21250000000001 \tabularnewline
13 & 86.7 & 89.5083333333333 & -2.80833333333325 \tabularnewline
14 & 95.2 & 93.875 & 1.32499999999998 \tabularnewline
15 & 103.8 & 102.075 & 1.72499999999999 \tabularnewline
16 & 97 & 94.075 & 2.92499999999999 \tabularnewline
17 & 95.5 & 91.775 & 3.72499999999999 \tabularnewline
18 & 101 & 96.075 & 4.92499999999999 \tabularnewline
19 & 67.5 & 66.6416666666667 & 0.858333333333322 \tabularnewline
20 & 64 & 65.3416666666667 & -1.34166666666668 \tabularnewline
21 & 106.7 & 104.333333333333 & 2.36666666666667 \tabularnewline
22 & 100.6 & 104.533333333333 & -3.93333333333334 \tabularnewline
23 & 101.2 & 96.6333333333333 & 4.56666666666667 \tabularnewline
24 & 93.1 & 89.9333333333333 & 3.16666666666666 \tabularnewline
25 & 84.2 & 82.7291666666666 & 1.47083333333341 \tabularnewline
26 & 85.8 & 87.0958333333333 & -1.29583333333335 \tabularnewline
27 & 91.8 & 95.2958333333333 & -3.49583333333334 \tabularnewline
28 & 92.4 & 87.2958333333333 & 5.10416666666667 \tabularnewline
29 & 80.3 & 84.9958333333333 & -4.69583333333335 \tabularnewline
30 & 79.7 & 89.2958333333333 & -9.59583333333335 \tabularnewline
31 & 62.5 & 59.8625 & 2.63749999999999 \tabularnewline
32 & 57.1 & 58.5625 & -1.46250000000001 \tabularnewline
33 & 100.8 & 97.5541666666667 & 3.24583333333333 \tabularnewline
34 & 100.7 & 97.7541666666667 & 2.94583333333334 \tabularnewline
35 & 86.2 & 89.8541666666667 & -3.65416666666667 \tabularnewline
36 & 83.2 & 83.1541666666667 & 0.0458333333333238 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36383&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]98.1[/C][C]96.7625000000002[/C][C]1.33749999999984[/C][/ROW]
[ROW][C]2[/C][C]101.1[/C][C]101.129166666667[/C][C]-0.0291666666666274[/C][/ROW]
[ROW][C]3[/C][C]111.1[/C][C]109.329166666667[/C][C]1.77083333333334[/C][/ROW]
[ROW][C]4[/C][C]93.3[/C][C]101.329166666667[/C][C]-8.02916666666665[/C][/ROW]
[ROW][C]5[/C][C]100[/C][C]99.0291666666666[/C][C]0.970833333333353[/C][/ROW]
[ROW][C]6[/C][C]108[/C][C]103.329166666667[/C][C]4.67083333333336[/C][/ROW]
[ROW][C]7[/C][C]70.4[/C][C]73.8958333333333[/C][C]-3.49583333333331[/C][/ROW]
[ROW][C]8[/C][C]75.4[/C][C]72.5958333333333[/C][C]2.80416666666669[/C][/ROW]
[ROW][C]9[/C][C]105.5[/C][C]111.1125[/C][C]-5.6125[/C][/ROW]
[ROW][C]10[/C][C]112.3[/C][C]111.3125[/C][C]0.9875[/C][/ROW]
[ROW][C]11[/C][C]102.5[/C][C]103.4125[/C][C]-0.912499999999997[/C][/ROW]
[ROW][C]12[/C][C]93.5[/C][C]96.7125[/C][C]-3.21250000000001[/C][/ROW]
[ROW][C]13[/C][C]86.7[/C][C]89.5083333333333[/C][C]-2.80833333333325[/C][/ROW]
[ROW][C]14[/C][C]95.2[/C][C]93.875[/C][C]1.32499999999998[/C][/ROW]
[ROW][C]15[/C][C]103.8[/C][C]102.075[/C][C]1.72499999999999[/C][/ROW]
[ROW][C]16[/C][C]97[/C][C]94.075[/C][C]2.92499999999999[/C][/ROW]
[ROW][C]17[/C][C]95.5[/C][C]91.775[/C][C]3.72499999999999[/C][/ROW]
[ROW][C]18[/C][C]101[/C][C]96.075[/C][C]4.92499999999999[/C][/ROW]
[ROW][C]19[/C][C]67.5[/C][C]66.6416666666667[/C][C]0.858333333333322[/C][/ROW]
[ROW][C]20[/C][C]64[/C][C]65.3416666666667[/C][C]-1.34166666666668[/C][/ROW]
[ROW][C]21[/C][C]106.7[/C][C]104.333333333333[/C][C]2.36666666666667[/C][/ROW]
[ROW][C]22[/C][C]100.6[/C][C]104.533333333333[/C][C]-3.93333333333334[/C][/ROW]
[ROW][C]23[/C][C]101.2[/C][C]96.6333333333333[/C][C]4.56666666666667[/C][/ROW]
[ROW][C]24[/C][C]93.1[/C][C]89.9333333333333[/C][C]3.16666666666666[/C][/ROW]
[ROW][C]25[/C][C]84.2[/C][C]82.7291666666666[/C][C]1.47083333333341[/C][/ROW]
[ROW][C]26[/C][C]85.8[/C][C]87.0958333333333[/C][C]-1.29583333333335[/C][/ROW]
[ROW][C]27[/C][C]91.8[/C][C]95.2958333333333[/C][C]-3.49583333333334[/C][/ROW]
[ROW][C]28[/C][C]92.4[/C][C]87.2958333333333[/C][C]5.10416666666667[/C][/ROW]
[ROW][C]29[/C][C]80.3[/C][C]84.9958333333333[/C][C]-4.69583333333335[/C][/ROW]
[ROW][C]30[/C][C]79.7[/C][C]89.2958333333333[/C][C]-9.59583333333335[/C][/ROW]
[ROW][C]31[/C][C]62.5[/C][C]59.8625[/C][C]2.63749999999999[/C][/ROW]
[ROW][C]32[/C][C]57.1[/C][C]58.5625[/C][C]-1.46250000000001[/C][/ROW]
[ROW][C]33[/C][C]100.8[/C][C]97.5541666666667[/C][C]3.24583333333333[/C][/ROW]
[ROW][C]34[/C][C]100.7[/C][C]97.7541666666667[/C][C]2.94583333333334[/C][/ROW]
[ROW][C]35[/C][C]86.2[/C][C]89.8541666666667[/C][C]-3.65416666666667[/C][/ROW]
[ROW][C]36[/C][C]83.2[/C][C]83.1541666666667[/C][C]0.0458333333333238[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36383&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36383&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
198.196.76250000000021.33749999999984
2101.1101.129166666667-0.0291666666666274
3111.1109.3291666666671.77083333333334
493.3101.329166666667-8.02916666666665
510099.02916666666660.970833333333353
6108103.3291666666674.67083333333336
770.473.8958333333333-3.49583333333331
875.472.59583333333332.80416666666669
9105.5111.1125-5.6125
10112.3111.31250.9875
11102.5103.4125-0.912499999999997
1293.596.7125-3.21250000000001
1386.789.5083333333333-2.80833333333325
1495.293.8751.32499999999998
15103.8102.0751.72499999999999
169794.0752.92499999999999
1795.591.7753.72499999999999
1810196.0754.92499999999999
1967.566.64166666666670.858333333333322
206465.3416666666667-1.34166666666668
21106.7104.3333333333332.36666666666667
22100.6104.533333333333-3.93333333333334
23101.296.63333333333334.56666666666667
2493.189.93333333333333.16666666666666
2584.282.72916666666661.47083333333341
2685.887.0958333333333-1.29583333333335
2791.895.2958333333333-3.49583333333334
2892.487.29583333333335.10416666666667
2980.384.9958333333333-4.69583333333335
3079.789.2958333333333-9.59583333333335
3162.559.86252.63749999999999
3257.158.5625-1.46250000000001
33100.897.55416666666673.24583333333333
34100.797.75416666666672.94583333333334
3586.289.8541666666667-3.65416666666667
3683.283.15416666666670.0458333333333238







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.3995894805131990.7991789610263970.600410519486801
180.4942722159218340.9885444318436690.505727784078166
190.3099840818466810.6199681636933620.69001591815332

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.399589480513199 & 0.799178961026397 & 0.600410519486801 \tabularnewline
18 & 0.494272215921834 & 0.988544431843669 & 0.505727784078166 \tabularnewline
19 & 0.309984081846681 & 0.619968163693362 & 0.69001591815332 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36383&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.399589480513199[/C][C]0.799178961026397[/C][C]0.600410519486801[/C][/ROW]
[ROW][C]18[/C][C]0.494272215921834[/C][C]0.988544431843669[/C][C]0.505727784078166[/C][/ROW]
[ROW][C]19[/C][C]0.309984081846681[/C][C]0.619968163693362[/C][C]0.69001591815332[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36383&T=5

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







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36383&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 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 2 ; 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')
}