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, 20 Dec 2009 04:56:52 -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/20/t1261310406jpkzigp8zvkwaij.htm/, Retrieved Sat, 27 Apr 2024 10:26:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69847, Retrieved Sat, 27 Apr 2024 10:26:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
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]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [Multiple Linear R...] [2009-12-20 11:56:52] [fe2edc5b0acc9545190e03904e9be55e] [Current]
Feedback Forum

Post a new message
Dataseries X:
921365	0
987921	0
1132614	0
1332224	0
1418133	0
1411549	0
1695920	0
1636173	0
1539653	0
1395314	0
1127575	0
1036076	0
989236	0
1008380	0
1207763	0
1368839	0
1469798	0
1498721	0
1761769	0
1653214	0
1599104	0
1421179	0
1163995	0
1037735	0
1015407	0
1039210	0
1258049	0
1469445	0
1552346	0
1549144	0
1785895	0
1662335	0
1629440	0
1467430	0
1202209	0
1076982	0
1039367	1
1063449	1
1335135	1
1491602	1
1591972	1
1641248	1
1898849	1
1798580	1
1762444	1
1622044	1
1368955	1
1262973	1
1195650	1
1269530	1
1479279	1
1607819	1
1712466	1
1721766	1
1949843	1
1821326	1
1757802	1
1590367	1
1260647	1
1149235	1




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

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69847&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1347837.27777778 + 168510.555555556X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  1347837.27777778 +  168510.555555556X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69847&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  1347837.27777778 +  168510.555555556X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69847&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69847&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] = + 1347837.27777778 + 168510.555555556X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1347837.2777777843662.66338430.869300
X168510.55555555669036.7325012.44090.0177250.008863

\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) & 1347837.27777778 & 43662.663384 & 30.8693 & 0 & 0 \tabularnewline
X & 168510.555555556 & 69036.732501 & 2.4409 & 0.017725 & 0.008863 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69847&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]1347837.27777778[/C][C]43662.663384[/C][C]30.8693[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]168510.555555556[/C][C]69036.732501[/C][C]2.4409[/C][C]0.017725[/C][C]0.008863[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69847&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.305210702601077
R-squared0.0931535729822429
Adjusted R-squared0.0775182897577987
F-TEST (value)5.95790761478546
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0177254198313308
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation261975.980301977
Sum Squared Residuals3980622026800.56

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.305210702601077 \tabularnewline
R-squared & 0.0931535729822429 \tabularnewline
Adjusted R-squared & 0.0775182897577987 \tabularnewline
F-TEST (value) & 5.95790761478546 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.0177254198313308 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 261975.980301977 \tabularnewline
Sum Squared Residuals & 3980622026800.56 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69847&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.305210702601077[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0931535729822429[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0775182897577987[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.95790761478546[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.0177254198313308[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]261975.980301977[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3980622026800.56[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69847&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69847&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.305210702601077
R-squared0.0931535729822429
Adjusted R-squared0.0775182897577987
F-TEST (value)5.95790761478546
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0177254198313308
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation261975.980301977
Sum Squared Residuals3980622026800.56







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19213651347837.27777778-426472.277777779
29879211347837.27777778-359916.277777778
311326141347837.27777778-215223.277777778
413322241347837.27777778-15613.2777777777
514181331347837.2777777870295.7222222223
614115491347837.2777777863711.7222222223
716959201347837.27777778348082.722222222
816361731347837.27777778288335.722222222
915396531347837.27777778191815.722222222
1013953141347837.2777777847476.7222222223
1111275751347837.27777778-220262.277777778
1210360761347837.27777778-311761.277777778
139892361347837.27777778-358601.277777778
1410083801347837.27777778-339457.277777778
1512077631347837.27777778-140074.277777778
1613688391347837.2777777821001.7222222223
1714697981347837.27777778121960.722222222
1814987211347837.27777778150883.722222222
1917617691347837.27777778413931.722222222
2016532141347837.27777778305376.722222222
2115991041347837.27777778251266.722222222
2214211791347837.2777777873341.7222222223
2311639951347837.27777778-183842.277777778
2410377351347837.27777778-310102.277777778
2510154071347837.27777778-332430.277777778
2610392101347837.27777778-308627.277777778
2712580491347837.27777778-89788.2777777777
2814694451347837.27777778121607.722222222
2915523461347837.27777778204508.722222222
3015491441347837.27777778201306.722222222
3117858951347837.27777778438057.722222222
3216623351347837.27777778314497.722222222
3316294401347837.27777778281602.722222222
3414674301347837.27777778119592.722222222
3512022091347837.27777778-145628.277777778
3610769821347837.27777778-270855.277777778
3710393671516347.83333333-476980.833333333
3810634491516347.83333333-452898.833333333
3913351351516347.83333333-181212.833333333
4014916021516347.83333333-24745.8333333333
4115919721516347.8333333375624.1666666667
4216412481516347.83333333124900.166666667
4318988491516347.83333333382501.166666667
4417985801516347.83333333282232.166666667
4517624441516347.83333333246096.166666667
4616220441516347.83333333105696.166666667
4713689551516347.83333333-147392.833333333
4812629731516347.83333333-253374.833333333
4911956501516347.83333333-320697.833333333
5012695301516347.83333333-246817.833333333
5114792791516347.83333333-37068.8333333333
5216078191516347.8333333391471.1666666667
5317124661516347.83333333196118.166666667
5417217661516347.83333333205418.166666667
5519498431516347.83333333433495.166666667
5618213261516347.83333333304978.166666667
5717578021516347.83333333241454.166666667
5815903671516347.8333333374019.1666666667
5912606471516347.83333333-255700.833333333
6011492351516347.83333333-367112.833333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 921365 & 1347837.27777778 & -426472.277777779 \tabularnewline
2 & 987921 & 1347837.27777778 & -359916.277777778 \tabularnewline
3 & 1132614 & 1347837.27777778 & -215223.277777778 \tabularnewline
4 & 1332224 & 1347837.27777778 & -15613.2777777777 \tabularnewline
5 & 1418133 & 1347837.27777778 & 70295.7222222223 \tabularnewline
6 & 1411549 & 1347837.27777778 & 63711.7222222223 \tabularnewline
7 & 1695920 & 1347837.27777778 & 348082.722222222 \tabularnewline
8 & 1636173 & 1347837.27777778 & 288335.722222222 \tabularnewline
9 & 1539653 & 1347837.27777778 & 191815.722222222 \tabularnewline
10 & 1395314 & 1347837.27777778 & 47476.7222222223 \tabularnewline
11 & 1127575 & 1347837.27777778 & -220262.277777778 \tabularnewline
12 & 1036076 & 1347837.27777778 & -311761.277777778 \tabularnewline
13 & 989236 & 1347837.27777778 & -358601.277777778 \tabularnewline
14 & 1008380 & 1347837.27777778 & -339457.277777778 \tabularnewline
15 & 1207763 & 1347837.27777778 & -140074.277777778 \tabularnewline
16 & 1368839 & 1347837.27777778 & 21001.7222222223 \tabularnewline
17 & 1469798 & 1347837.27777778 & 121960.722222222 \tabularnewline
18 & 1498721 & 1347837.27777778 & 150883.722222222 \tabularnewline
19 & 1761769 & 1347837.27777778 & 413931.722222222 \tabularnewline
20 & 1653214 & 1347837.27777778 & 305376.722222222 \tabularnewline
21 & 1599104 & 1347837.27777778 & 251266.722222222 \tabularnewline
22 & 1421179 & 1347837.27777778 & 73341.7222222223 \tabularnewline
23 & 1163995 & 1347837.27777778 & -183842.277777778 \tabularnewline
24 & 1037735 & 1347837.27777778 & -310102.277777778 \tabularnewline
25 & 1015407 & 1347837.27777778 & -332430.277777778 \tabularnewline
26 & 1039210 & 1347837.27777778 & -308627.277777778 \tabularnewline
27 & 1258049 & 1347837.27777778 & -89788.2777777777 \tabularnewline
28 & 1469445 & 1347837.27777778 & 121607.722222222 \tabularnewline
29 & 1552346 & 1347837.27777778 & 204508.722222222 \tabularnewline
30 & 1549144 & 1347837.27777778 & 201306.722222222 \tabularnewline
31 & 1785895 & 1347837.27777778 & 438057.722222222 \tabularnewline
32 & 1662335 & 1347837.27777778 & 314497.722222222 \tabularnewline
33 & 1629440 & 1347837.27777778 & 281602.722222222 \tabularnewline
34 & 1467430 & 1347837.27777778 & 119592.722222222 \tabularnewline
35 & 1202209 & 1347837.27777778 & -145628.277777778 \tabularnewline
36 & 1076982 & 1347837.27777778 & -270855.277777778 \tabularnewline
37 & 1039367 & 1516347.83333333 & -476980.833333333 \tabularnewline
38 & 1063449 & 1516347.83333333 & -452898.833333333 \tabularnewline
39 & 1335135 & 1516347.83333333 & -181212.833333333 \tabularnewline
40 & 1491602 & 1516347.83333333 & -24745.8333333333 \tabularnewline
41 & 1591972 & 1516347.83333333 & 75624.1666666667 \tabularnewline
42 & 1641248 & 1516347.83333333 & 124900.166666667 \tabularnewline
43 & 1898849 & 1516347.83333333 & 382501.166666667 \tabularnewline
44 & 1798580 & 1516347.83333333 & 282232.166666667 \tabularnewline
45 & 1762444 & 1516347.83333333 & 246096.166666667 \tabularnewline
46 & 1622044 & 1516347.83333333 & 105696.166666667 \tabularnewline
47 & 1368955 & 1516347.83333333 & -147392.833333333 \tabularnewline
48 & 1262973 & 1516347.83333333 & -253374.833333333 \tabularnewline
49 & 1195650 & 1516347.83333333 & -320697.833333333 \tabularnewline
50 & 1269530 & 1516347.83333333 & -246817.833333333 \tabularnewline
51 & 1479279 & 1516347.83333333 & -37068.8333333333 \tabularnewline
52 & 1607819 & 1516347.83333333 & 91471.1666666667 \tabularnewline
53 & 1712466 & 1516347.83333333 & 196118.166666667 \tabularnewline
54 & 1721766 & 1516347.83333333 & 205418.166666667 \tabularnewline
55 & 1949843 & 1516347.83333333 & 433495.166666667 \tabularnewline
56 & 1821326 & 1516347.83333333 & 304978.166666667 \tabularnewline
57 & 1757802 & 1516347.83333333 & 241454.166666667 \tabularnewline
58 & 1590367 & 1516347.83333333 & 74019.1666666667 \tabularnewline
59 & 1260647 & 1516347.83333333 & -255700.833333333 \tabularnewline
60 & 1149235 & 1516347.83333333 & -367112.833333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69847&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]921365[/C][C]1347837.27777778[/C][C]-426472.277777779[/C][/ROW]
[ROW][C]2[/C][C]987921[/C][C]1347837.27777778[/C][C]-359916.277777778[/C][/ROW]
[ROW][C]3[/C][C]1132614[/C][C]1347837.27777778[/C][C]-215223.277777778[/C][/ROW]
[ROW][C]4[/C][C]1332224[/C][C]1347837.27777778[/C][C]-15613.2777777777[/C][/ROW]
[ROW][C]5[/C][C]1418133[/C][C]1347837.27777778[/C][C]70295.7222222223[/C][/ROW]
[ROW][C]6[/C][C]1411549[/C][C]1347837.27777778[/C][C]63711.7222222223[/C][/ROW]
[ROW][C]7[/C][C]1695920[/C][C]1347837.27777778[/C][C]348082.722222222[/C][/ROW]
[ROW][C]8[/C][C]1636173[/C][C]1347837.27777778[/C][C]288335.722222222[/C][/ROW]
[ROW][C]9[/C][C]1539653[/C][C]1347837.27777778[/C][C]191815.722222222[/C][/ROW]
[ROW][C]10[/C][C]1395314[/C][C]1347837.27777778[/C][C]47476.7222222223[/C][/ROW]
[ROW][C]11[/C][C]1127575[/C][C]1347837.27777778[/C][C]-220262.277777778[/C][/ROW]
[ROW][C]12[/C][C]1036076[/C][C]1347837.27777778[/C][C]-311761.277777778[/C][/ROW]
[ROW][C]13[/C][C]989236[/C][C]1347837.27777778[/C][C]-358601.277777778[/C][/ROW]
[ROW][C]14[/C][C]1008380[/C][C]1347837.27777778[/C][C]-339457.277777778[/C][/ROW]
[ROW][C]15[/C][C]1207763[/C][C]1347837.27777778[/C][C]-140074.277777778[/C][/ROW]
[ROW][C]16[/C][C]1368839[/C][C]1347837.27777778[/C][C]21001.7222222223[/C][/ROW]
[ROW][C]17[/C][C]1469798[/C][C]1347837.27777778[/C][C]121960.722222222[/C][/ROW]
[ROW][C]18[/C][C]1498721[/C][C]1347837.27777778[/C][C]150883.722222222[/C][/ROW]
[ROW][C]19[/C][C]1761769[/C][C]1347837.27777778[/C][C]413931.722222222[/C][/ROW]
[ROW][C]20[/C][C]1653214[/C][C]1347837.27777778[/C][C]305376.722222222[/C][/ROW]
[ROW][C]21[/C][C]1599104[/C][C]1347837.27777778[/C][C]251266.722222222[/C][/ROW]
[ROW][C]22[/C][C]1421179[/C][C]1347837.27777778[/C][C]73341.7222222223[/C][/ROW]
[ROW][C]23[/C][C]1163995[/C][C]1347837.27777778[/C][C]-183842.277777778[/C][/ROW]
[ROW][C]24[/C][C]1037735[/C][C]1347837.27777778[/C][C]-310102.277777778[/C][/ROW]
[ROW][C]25[/C][C]1015407[/C][C]1347837.27777778[/C][C]-332430.277777778[/C][/ROW]
[ROW][C]26[/C][C]1039210[/C][C]1347837.27777778[/C][C]-308627.277777778[/C][/ROW]
[ROW][C]27[/C][C]1258049[/C][C]1347837.27777778[/C][C]-89788.2777777777[/C][/ROW]
[ROW][C]28[/C][C]1469445[/C][C]1347837.27777778[/C][C]121607.722222222[/C][/ROW]
[ROW][C]29[/C][C]1552346[/C][C]1347837.27777778[/C][C]204508.722222222[/C][/ROW]
[ROW][C]30[/C][C]1549144[/C][C]1347837.27777778[/C][C]201306.722222222[/C][/ROW]
[ROW][C]31[/C][C]1785895[/C][C]1347837.27777778[/C][C]438057.722222222[/C][/ROW]
[ROW][C]32[/C][C]1662335[/C][C]1347837.27777778[/C][C]314497.722222222[/C][/ROW]
[ROW][C]33[/C][C]1629440[/C][C]1347837.27777778[/C][C]281602.722222222[/C][/ROW]
[ROW][C]34[/C][C]1467430[/C][C]1347837.27777778[/C][C]119592.722222222[/C][/ROW]
[ROW][C]35[/C][C]1202209[/C][C]1347837.27777778[/C][C]-145628.277777778[/C][/ROW]
[ROW][C]36[/C][C]1076982[/C][C]1347837.27777778[/C][C]-270855.277777778[/C][/ROW]
[ROW][C]37[/C][C]1039367[/C][C]1516347.83333333[/C][C]-476980.833333333[/C][/ROW]
[ROW][C]38[/C][C]1063449[/C][C]1516347.83333333[/C][C]-452898.833333333[/C][/ROW]
[ROW][C]39[/C][C]1335135[/C][C]1516347.83333333[/C][C]-181212.833333333[/C][/ROW]
[ROW][C]40[/C][C]1491602[/C][C]1516347.83333333[/C][C]-24745.8333333333[/C][/ROW]
[ROW][C]41[/C][C]1591972[/C][C]1516347.83333333[/C][C]75624.1666666667[/C][/ROW]
[ROW][C]42[/C][C]1641248[/C][C]1516347.83333333[/C][C]124900.166666667[/C][/ROW]
[ROW][C]43[/C][C]1898849[/C][C]1516347.83333333[/C][C]382501.166666667[/C][/ROW]
[ROW][C]44[/C][C]1798580[/C][C]1516347.83333333[/C][C]282232.166666667[/C][/ROW]
[ROW][C]45[/C][C]1762444[/C][C]1516347.83333333[/C][C]246096.166666667[/C][/ROW]
[ROW][C]46[/C][C]1622044[/C][C]1516347.83333333[/C][C]105696.166666667[/C][/ROW]
[ROW][C]47[/C][C]1368955[/C][C]1516347.83333333[/C][C]-147392.833333333[/C][/ROW]
[ROW][C]48[/C][C]1262973[/C][C]1516347.83333333[/C][C]-253374.833333333[/C][/ROW]
[ROW][C]49[/C][C]1195650[/C][C]1516347.83333333[/C][C]-320697.833333333[/C][/ROW]
[ROW][C]50[/C][C]1269530[/C][C]1516347.83333333[/C][C]-246817.833333333[/C][/ROW]
[ROW][C]51[/C][C]1479279[/C][C]1516347.83333333[/C][C]-37068.8333333333[/C][/ROW]
[ROW][C]52[/C][C]1607819[/C][C]1516347.83333333[/C][C]91471.1666666667[/C][/ROW]
[ROW][C]53[/C][C]1712466[/C][C]1516347.83333333[/C][C]196118.166666667[/C][/ROW]
[ROW][C]54[/C][C]1721766[/C][C]1516347.83333333[/C][C]205418.166666667[/C][/ROW]
[ROW][C]55[/C][C]1949843[/C][C]1516347.83333333[/C][C]433495.166666667[/C][/ROW]
[ROW][C]56[/C][C]1821326[/C][C]1516347.83333333[/C][C]304978.166666667[/C][/ROW]
[ROW][C]57[/C][C]1757802[/C][C]1516347.83333333[/C][C]241454.166666667[/C][/ROW]
[ROW][C]58[/C][C]1590367[/C][C]1516347.83333333[/C][C]74019.1666666667[/C][/ROW]
[ROW][C]59[/C][C]1260647[/C][C]1516347.83333333[/C][C]-255700.833333333[/C][/ROW]
[ROW][C]60[/C][C]1149235[/C][C]1516347.83333333[/C][C]-367112.833333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69847&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69847&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
19213651347837.27777778-426472.277777779
29879211347837.27777778-359916.277777778
311326141347837.27777778-215223.277777778
413322241347837.27777778-15613.2777777777
514181331347837.2777777870295.7222222223
614115491347837.2777777863711.7222222223
716959201347837.27777778348082.722222222
816361731347837.27777778288335.722222222
915396531347837.27777778191815.722222222
1013953141347837.2777777847476.7222222223
1111275751347837.27777778-220262.277777778
1210360761347837.27777778-311761.277777778
139892361347837.27777778-358601.277777778
1410083801347837.27777778-339457.277777778
1512077631347837.27777778-140074.277777778
1613688391347837.2777777821001.7222222223
1714697981347837.27777778121960.722222222
1814987211347837.27777778150883.722222222
1917617691347837.27777778413931.722222222
2016532141347837.27777778305376.722222222
2115991041347837.27777778251266.722222222
2214211791347837.2777777873341.7222222223
2311639951347837.27777778-183842.277777778
2410377351347837.27777778-310102.277777778
2510154071347837.27777778-332430.277777778
2610392101347837.27777778-308627.277777778
2712580491347837.27777778-89788.2777777777
2814694451347837.27777778121607.722222222
2915523461347837.27777778204508.722222222
3015491441347837.27777778201306.722222222
3117858951347837.27777778438057.722222222
3216623351347837.27777778314497.722222222
3316294401347837.27777778281602.722222222
3414674301347837.27777778119592.722222222
3512022091347837.27777778-145628.277777778
3610769821347837.27777778-270855.277777778
3710393671516347.83333333-476980.833333333
3810634491516347.83333333-452898.833333333
3913351351516347.83333333-181212.833333333
4014916021516347.83333333-24745.8333333333
4115919721516347.8333333375624.1666666667
4216412481516347.83333333124900.166666667
4318988491516347.83333333382501.166666667
4417985801516347.83333333282232.166666667
4517624441516347.83333333246096.166666667
4616220441516347.83333333105696.166666667
4713689551516347.83333333-147392.833333333
4812629731516347.83333333-253374.833333333
4911956501516347.83333333-320697.833333333
5012695301516347.83333333-246817.833333333
5114792791516347.83333333-37068.8333333333
5216078191516347.8333333391471.1666666667
5317124661516347.83333333196118.166666667
5417217661516347.83333333205418.166666667
5519498431516347.83333333433495.166666667
5618213261516347.83333333304978.166666667
5717578021516347.83333333241454.166666667
5815903671516347.8333333374019.1666666667
5912606471516347.83333333-255700.833333333
6011492351516347.83333333-367112.833333333







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.5544578869420390.8910842261159230.445542113057961
60.505054141275070.989891717449860.49494585872493
70.7253953689057020.5492092621885960.274604631094298
80.7584437025248470.4831125949503070.241556297475153
90.7111277580525740.5777444838948530.288872241947426
100.6113399593452040.7773200813095920.388660040654796
110.5684146315783580.8631707368432840.431585368421642
120.5794949615725860.8410100768548280.420505038427414
130.6162995252001950.767400949599610.383700474799805
140.6320884982720510.7358230034558980.367911501727949
150.5570554586562480.8858890826875040.442944541343752
160.4795151643238830.9590303286477670.520484835676117
170.4316520961496430.8633041922992860.568347903850357
180.3930606253344990.7861212506689970.606939374665501
190.5354838138023730.9290323723952550.464516186197627
200.564893225045350.87021354990930.43510677495465
210.55524664962080.88950670075840.4447533503792
220.4809880530990680.9619761061981350.519011946900932
230.4386991395083050.877398279016610.561300860491695
240.4664030623015460.9328061246030910.533596937698454
250.5163700809413380.9672598381173240.483629919058662
260.5618451303087330.8763097393825350.438154869691267
270.5098749037062990.9802501925874010.490125096293701
280.4501988083803080.9003976167606160.549801191619692
290.4113084620025910.8226169240051810.588691537997409
300.3699001522950330.7398003045900660.630099847704967
310.4664995518365990.9329991036731970.533500448163401
320.4857995112468330.9715990224936660.514200488753167
330.5086473370427290.9827053259145420.491352662957271
340.4804772551897410.9609545103794820.519522744810259
350.4196382471122290.8392764942244570.580361752887771
360.3774230046433320.7548460092866630.622576995356668
370.4537453877600860.9074907755201720.546254612239914
380.5537722291625950.892455541674810.446227770837405
390.5400299998614880.9199400002770240.459970000138512
400.5001807502696880.9996384994606250.499819249730312
410.4577654864231710.9155309728463420.542234513576829
420.4134206751795280.8268413503590550.586579324820472
430.5115088775321160.9769822449357680.488491122467884
440.5194255110610890.9611489778778220.480574488938911
450.5029223770593570.9941552458812860.497077622940643
460.4249943439378250.849988687875650.575005656062175
470.3598595994377500.7197191988754990.64014040056225
480.3506896884390850.701379376878170.649310311560915
490.4106521263744720.8213042527489430.589347873625528
500.4374673647647570.8749347295295150.562532635235243
510.3502435324284360.7004870648568710.649756467571564
520.2507100942586100.5014201885172210.749289905741390
530.1764416394809520.3528832789619040.823558360519048
540.1159552148401120.2319104296802240.884044785159888
550.1699379499832390.3398758999664780.83006205001676

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.554457886942039 & 0.891084226115923 & 0.445542113057961 \tabularnewline
6 & 0.50505414127507 & 0.98989171744986 & 0.49494585872493 \tabularnewline
7 & 0.725395368905702 & 0.549209262188596 & 0.274604631094298 \tabularnewline
8 & 0.758443702524847 & 0.483112594950307 & 0.241556297475153 \tabularnewline
9 & 0.711127758052574 & 0.577744483894853 & 0.288872241947426 \tabularnewline
10 & 0.611339959345204 & 0.777320081309592 & 0.388660040654796 \tabularnewline
11 & 0.568414631578358 & 0.863170736843284 & 0.431585368421642 \tabularnewline
12 & 0.579494961572586 & 0.841010076854828 & 0.420505038427414 \tabularnewline
13 & 0.616299525200195 & 0.76740094959961 & 0.383700474799805 \tabularnewline
14 & 0.632088498272051 & 0.735823003455898 & 0.367911501727949 \tabularnewline
15 & 0.557055458656248 & 0.885889082687504 & 0.442944541343752 \tabularnewline
16 & 0.479515164323883 & 0.959030328647767 & 0.520484835676117 \tabularnewline
17 & 0.431652096149643 & 0.863304192299286 & 0.568347903850357 \tabularnewline
18 & 0.393060625334499 & 0.786121250668997 & 0.606939374665501 \tabularnewline
19 & 0.535483813802373 & 0.929032372395255 & 0.464516186197627 \tabularnewline
20 & 0.56489322504535 & 0.8702135499093 & 0.43510677495465 \tabularnewline
21 & 0.5552466496208 & 0.8895067007584 & 0.4447533503792 \tabularnewline
22 & 0.480988053099068 & 0.961976106198135 & 0.519011946900932 \tabularnewline
23 & 0.438699139508305 & 0.87739827901661 & 0.561300860491695 \tabularnewline
24 & 0.466403062301546 & 0.932806124603091 & 0.533596937698454 \tabularnewline
25 & 0.516370080941338 & 0.967259838117324 & 0.483629919058662 \tabularnewline
26 & 0.561845130308733 & 0.876309739382535 & 0.438154869691267 \tabularnewline
27 & 0.509874903706299 & 0.980250192587401 & 0.490125096293701 \tabularnewline
28 & 0.450198808380308 & 0.900397616760616 & 0.549801191619692 \tabularnewline
29 & 0.411308462002591 & 0.822616924005181 & 0.588691537997409 \tabularnewline
30 & 0.369900152295033 & 0.739800304590066 & 0.630099847704967 \tabularnewline
31 & 0.466499551836599 & 0.932999103673197 & 0.533500448163401 \tabularnewline
32 & 0.485799511246833 & 0.971599022493666 & 0.514200488753167 \tabularnewline
33 & 0.508647337042729 & 0.982705325914542 & 0.491352662957271 \tabularnewline
34 & 0.480477255189741 & 0.960954510379482 & 0.519522744810259 \tabularnewline
35 & 0.419638247112229 & 0.839276494224457 & 0.580361752887771 \tabularnewline
36 & 0.377423004643332 & 0.754846009286663 & 0.622576995356668 \tabularnewline
37 & 0.453745387760086 & 0.907490775520172 & 0.546254612239914 \tabularnewline
38 & 0.553772229162595 & 0.89245554167481 & 0.446227770837405 \tabularnewline
39 & 0.540029999861488 & 0.919940000277024 & 0.459970000138512 \tabularnewline
40 & 0.500180750269688 & 0.999638499460625 & 0.499819249730312 \tabularnewline
41 & 0.457765486423171 & 0.915530972846342 & 0.542234513576829 \tabularnewline
42 & 0.413420675179528 & 0.826841350359055 & 0.586579324820472 \tabularnewline
43 & 0.511508877532116 & 0.976982244935768 & 0.488491122467884 \tabularnewline
44 & 0.519425511061089 & 0.961148977877822 & 0.480574488938911 \tabularnewline
45 & 0.502922377059357 & 0.994155245881286 & 0.497077622940643 \tabularnewline
46 & 0.424994343937825 & 0.84998868787565 & 0.575005656062175 \tabularnewline
47 & 0.359859599437750 & 0.719719198875499 & 0.64014040056225 \tabularnewline
48 & 0.350689688439085 & 0.70137937687817 & 0.649310311560915 \tabularnewline
49 & 0.410652126374472 & 0.821304252748943 & 0.589347873625528 \tabularnewline
50 & 0.437467364764757 & 0.874934729529515 & 0.562532635235243 \tabularnewline
51 & 0.350243532428436 & 0.700487064856871 & 0.649756467571564 \tabularnewline
52 & 0.250710094258610 & 0.501420188517221 & 0.749289905741390 \tabularnewline
53 & 0.176441639480952 & 0.352883278961904 & 0.823558360519048 \tabularnewline
54 & 0.115955214840112 & 0.231910429680224 & 0.884044785159888 \tabularnewline
55 & 0.169937949983239 & 0.339875899966478 & 0.83006205001676 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69847&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]5[/C][C]0.554457886942039[/C][C]0.891084226115923[/C][C]0.445542113057961[/C][/ROW]
[ROW][C]6[/C][C]0.50505414127507[/C][C]0.98989171744986[/C][C]0.49494585872493[/C][/ROW]
[ROW][C]7[/C][C]0.725395368905702[/C][C]0.549209262188596[/C][C]0.274604631094298[/C][/ROW]
[ROW][C]8[/C][C]0.758443702524847[/C][C]0.483112594950307[/C][C]0.241556297475153[/C][/ROW]
[ROW][C]9[/C][C]0.711127758052574[/C][C]0.577744483894853[/C][C]0.288872241947426[/C][/ROW]
[ROW][C]10[/C][C]0.611339959345204[/C][C]0.777320081309592[/C][C]0.388660040654796[/C][/ROW]
[ROW][C]11[/C][C]0.568414631578358[/C][C]0.863170736843284[/C][C]0.431585368421642[/C][/ROW]
[ROW][C]12[/C][C]0.579494961572586[/C][C]0.841010076854828[/C][C]0.420505038427414[/C][/ROW]
[ROW][C]13[/C][C]0.616299525200195[/C][C]0.76740094959961[/C][C]0.383700474799805[/C][/ROW]
[ROW][C]14[/C][C]0.632088498272051[/C][C]0.735823003455898[/C][C]0.367911501727949[/C][/ROW]
[ROW][C]15[/C][C]0.557055458656248[/C][C]0.885889082687504[/C][C]0.442944541343752[/C][/ROW]
[ROW][C]16[/C][C]0.479515164323883[/C][C]0.959030328647767[/C][C]0.520484835676117[/C][/ROW]
[ROW][C]17[/C][C]0.431652096149643[/C][C]0.863304192299286[/C][C]0.568347903850357[/C][/ROW]
[ROW][C]18[/C][C]0.393060625334499[/C][C]0.786121250668997[/C][C]0.606939374665501[/C][/ROW]
[ROW][C]19[/C][C]0.535483813802373[/C][C]0.929032372395255[/C][C]0.464516186197627[/C][/ROW]
[ROW][C]20[/C][C]0.56489322504535[/C][C]0.8702135499093[/C][C]0.43510677495465[/C][/ROW]
[ROW][C]21[/C][C]0.5552466496208[/C][C]0.8895067007584[/C][C]0.4447533503792[/C][/ROW]
[ROW][C]22[/C][C]0.480988053099068[/C][C]0.961976106198135[/C][C]0.519011946900932[/C][/ROW]
[ROW][C]23[/C][C]0.438699139508305[/C][C]0.87739827901661[/C][C]0.561300860491695[/C][/ROW]
[ROW][C]24[/C][C]0.466403062301546[/C][C]0.932806124603091[/C][C]0.533596937698454[/C][/ROW]
[ROW][C]25[/C][C]0.516370080941338[/C][C]0.967259838117324[/C][C]0.483629919058662[/C][/ROW]
[ROW][C]26[/C][C]0.561845130308733[/C][C]0.876309739382535[/C][C]0.438154869691267[/C][/ROW]
[ROW][C]27[/C][C]0.509874903706299[/C][C]0.980250192587401[/C][C]0.490125096293701[/C][/ROW]
[ROW][C]28[/C][C]0.450198808380308[/C][C]0.900397616760616[/C][C]0.549801191619692[/C][/ROW]
[ROW][C]29[/C][C]0.411308462002591[/C][C]0.822616924005181[/C][C]0.588691537997409[/C][/ROW]
[ROW][C]30[/C][C]0.369900152295033[/C][C]0.739800304590066[/C][C]0.630099847704967[/C][/ROW]
[ROW][C]31[/C][C]0.466499551836599[/C][C]0.932999103673197[/C][C]0.533500448163401[/C][/ROW]
[ROW][C]32[/C][C]0.485799511246833[/C][C]0.971599022493666[/C][C]0.514200488753167[/C][/ROW]
[ROW][C]33[/C][C]0.508647337042729[/C][C]0.982705325914542[/C][C]0.491352662957271[/C][/ROW]
[ROW][C]34[/C][C]0.480477255189741[/C][C]0.960954510379482[/C][C]0.519522744810259[/C][/ROW]
[ROW][C]35[/C][C]0.419638247112229[/C][C]0.839276494224457[/C][C]0.580361752887771[/C][/ROW]
[ROW][C]36[/C][C]0.377423004643332[/C][C]0.754846009286663[/C][C]0.622576995356668[/C][/ROW]
[ROW][C]37[/C][C]0.453745387760086[/C][C]0.907490775520172[/C][C]0.546254612239914[/C][/ROW]
[ROW][C]38[/C][C]0.553772229162595[/C][C]0.89245554167481[/C][C]0.446227770837405[/C][/ROW]
[ROW][C]39[/C][C]0.540029999861488[/C][C]0.919940000277024[/C][C]0.459970000138512[/C][/ROW]
[ROW][C]40[/C][C]0.500180750269688[/C][C]0.999638499460625[/C][C]0.499819249730312[/C][/ROW]
[ROW][C]41[/C][C]0.457765486423171[/C][C]0.915530972846342[/C][C]0.542234513576829[/C][/ROW]
[ROW][C]42[/C][C]0.413420675179528[/C][C]0.826841350359055[/C][C]0.586579324820472[/C][/ROW]
[ROW][C]43[/C][C]0.511508877532116[/C][C]0.976982244935768[/C][C]0.488491122467884[/C][/ROW]
[ROW][C]44[/C][C]0.519425511061089[/C][C]0.961148977877822[/C][C]0.480574488938911[/C][/ROW]
[ROW][C]45[/C][C]0.502922377059357[/C][C]0.994155245881286[/C][C]0.497077622940643[/C][/ROW]
[ROW][C]46[/C][C]0.424994343937825[/C][C]0.84998868787565[/C][C]0.575005656062175[/C][/ROW]
[ROW][C]47[/C][C]0.359859599437750[/C][C]0.719719198875499[/C][C]0.64014040056225[/C][/ROW]
[ROW][C]48[/C][C]0.350689688439085[/C][C]0.70137937687817[/C][C]0.649310311560915[/C][/ROW]
[ROW][C]49[/C][C]0.410652126374472[/C][C]0.821304252748943[/C][C]0.589347873625528[/C][/ROW]
[ROW][C]50[/C][C]0.437467364764757[/C][C]0.874934729529515[/C][C]0.562532635235243[/C][/ROW]
[ROW][C]51[/C][C]0.350243532428436[/C][C]0.700487064856871[/C][C]0.649756467571564[/C][/ROW]
[ROW][C]52[/C][C]0.250710094258610[/C][C]0.501420188517221[/C][C]0.749289905741390[/C][/ROW]
[ROW][C]53[/C][C]0.176441639480952[/C][C]0.352883278961904[/C][C]0.823558360519048[/C][/ROW]
[ROW][C]54[/C][C]0.115955214840112[/C][C]0.231910429680224[/C][C]0.884044785159888[/C][/ROW]
[ROW][C]55[/C][C]0.169937949983239[/C][C]0.339875899966478[/C][C]0.83006205001676[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69847&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69847&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
50.5544578869420390.8910842261159230.445542113057961
60.505054141275070.989891717449860.49494585872493
70.7253953689057020.5492092621885960.274604631094298
80.7584437025248470.4831125949503070.241556297475153
90.7111277580525740.5777444838948530.288872241947426
100.6113399593452040.7773200813095920.388660040654796
110.5684146315783580.8631707368432840.431585368421642
120.5794949615725860.8410100768548280.420505038427414
130.6162995252001950.767400949599610.383700474799805
140.6320884982720510.7358230034558980.367911501727949
150.5570554586562480.8858890826875040.442944541343752
160.4795151643238830.9590303286477670.520484835676117
170.4316520961496430.8633041922992860.568347903850357
180.3930606253344990.7861212506689970.606939374665501
190.5354838138023730.9290323723952550.464516186197627
200.564893225045350.87021354990930.43510677495465
210.55524664962080.88950670075840.4447533503792
220.4809880530990680.9619761061981350.519011946900932
230.4386991395083050.877398279016610.561300860491695
240.4664030623015460.9328061246030910.533596937698454
250.5163700809413380.9672598381173240.483629919058662
260.5618451303087330.8763097393825350.438154869691267
270.5098749037062990.9802501925874010.490125096293701
280.4501988083803080.9003976167606160.549801191619692
290.4113084620025910.8226169240051810.588691537997409
300.3699001522950330.7398003045900660.630099847704967
310.4664995518365990.9329991036731970.533500448163401
320.4857995112468330.9715990224936660.514200488753167
330.5086473370427290.9827053259145420.491352662957271
340.4804772551897410.9609545103794820.519522744810259
350.4196382471122290.8392764942244570.580361752887771
360.3774230046433320.7548460092866630.622576995356668
370.4537453877600860.9074907755201720.546254612239914
380.5537722291625950.892455541674810.446227770837405
390.5400299998614880.9199400002770240.459970000138512
400.5001807502696880.9996384994606250.499819249730312
410.4577654864231710.9155309728463420.542234513576829
420.4134206751795280.8268413503590550.586579324820472
430.5115088775321160.9769822449357680.488491122467884
440.5194255110610890.9611489778778220.480574488938911
450.5029223770593570.9941552458812860.497077622940643
460.4249943439378250.849988687875650.575005656062175
470.3598595994377500.7197191988754990.64014040056225
480.3506896884390850.701379376878170.649310311560915
490.4106521263744720.8213042527489430.589347873625528
500.4374673647647570.8749347295295150.562532635235243
510.3502435324284360.7004870648568710.649756467571564
520.2507100942586100.5014201885172210.749289905741390
530.1764416394809520.3528832789619040.823558360519048
540.1159552148401120.2319104296802240.884044785159888
550.1699379499832390.3398758999664780.83006205001676







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69847&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 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No 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')
}