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 computationThu, 19 Nov 2009 01:47:11 -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/Nov/19/t12586206143pctc3md3gmv49t.htm/, Retrieved Fri, 26 Apr 2024 11:18:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57657, Retrieved Fri, 26 Apr 2024 11:18:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact209
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]
-   PD      [Multiple Regression] [] [2009-11-19 08:47:11] [a1151e037da67acc5ce4bbcb8804d7f1] [Current]
Feedback Forum

Post a new message
Dataseries X:
3353	1
3186	1
3902	1
4164	1
3499	1
4145	1
3796	1
3711	1
3949	1
3740	1
3243	1
4407	1
4814	1
3908	1
5250	1
3937	1
4004	1
5560	1
3922	1
3759	1
4138	1
4634	1
3996	1
4308	1
4143	0
4429	0
5219	0
4929	0
5755	0
5592	0
4163	0
4962	0
5208	0
4755	0
4491	0
5732	0
5731	0
5040	0
6102	0
4904	0
5369	0
5578	0
4619	0
4731	0
5011	0
5299	0
4146	0
4625	0
4736	0
4219	0
5116	0
4205	0
4121	0
5103	1
4300	1
4578	1
3809	1
5526	1
4247	1
3830	1
4394	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=57657&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=57657&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57657&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] = + 5051.60408163265 -785.340136054422X[t] -130.434013605440M1[t] -581.068027210885M2[t] + 380.331972789115M3[t] -309.668027210883M4[t] -187.868027210884M5[t] + 615.199999999999M6[t] -420.4M7[t] -232.2M8[t] -157.400000000000M9[t] + 210.4M10[t] -555.8M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  5051.60408163265 -785.340136054422X[t] -130.434013605440M1[t] -581.068027210885M2[t] +  380.331972789115M3[t] -309.668027210883M4[t] -187.868027210884M5[t] +  615.199999999999M6[t] -420.4M7[t] -232.2M8[t] -157.400000000000M9[t] +  210.4M10[t] -555.8M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57657&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  5051.60408163265 -785.340136054422X[t] -130.434013605440M1[t] -581.068027210885M2[t] +  380.331972789115M3[t] -309.668027210883M4[t] -187.868027210884M5[t] +  615.199999999999M6[t] -420.4M7[t] -232.2M8[t] -157.400000000000M9[t] +  210.4M10[t] -555.8M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57657&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57657&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] = + 5051.60408163265 -785.340136054422X[t] -130.434013605440M1[t] -581.068027210885M2[t] + 380.331972789115M3[t] -309.668027210883M4[t] -187.868027210884M5[t] + 615.199999999999M6[t] -420.4M7[t] -232.2M8[t] -157.400000000000M9[t] + 210.4M10[t] -555.8M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5051.60408163265243.68579820.7300
X-785.340136054422134.144617-5.854400
M1-130.434013605440311.72392-0.41840.67750.33875
M2-581.068027210885326.387939-1.78030.0813570.040679
M3380.331972789115326.3879391.16530.2496660.124833
M4-309.668027210883326.387939-0.94880.3474890.173744
M5-187.868027210884326.387939-0.57560.5675760.283788
M6615.199999999999325.2834081.89130.0646310.032315
M7-420.4325.283408-1.29240.2024020.101201
M8-232.2325.283408-0.71380.4787840.239392
M9-157.400000000000325.283408-0.48390.6306670.315334
M10210.4325.2834080.64680.5208290.260415
M11-555.8325.283408-1.70870.0939730.046986

\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) & 5051.60408163265 & 243.685798 & 20.73 & 0 & 0 \tabularnewline
X & -785.340136054422 & 134.144617 & -5.8544 & 0 & 0 \tabularnewline
M1 & -130.434013605440 & 311.72392 & -0.4184 & 0.6775 & 0.33875 \tabularnewline
M2 & -581.068027210885 & 326.387939 & -1.7803 & 0.081357 & 0.040679 \tabularnewline
M3 & 380.331972789115 & 326.387939 & 1.1653 & 0.249666 & 0.124833 \tabularnewline
M4 & -309.668027210883 & 326.387939 & -0.9488 & 0.347489 & 0.173744 \tabularnewline
M5 & -187.868027210884 & 326.387939 & -0.5756 & 0.567576 & 0.283788 \tabularnewline
M6 & 615.199999999999 & 325.283408 & 1.8913 & 0.064631 & 0.032315 \tabularnewline
M7 & -420.4 & 325.283408 & -1.2924 & 0.202402 & 0.101201 \tabularnewline
M8 & -232.2 & 325.283408 & -0.7138 & 0.478784 & 0.239392 \tabularnewline
M9 & -157.400000000000 & 325.283408 & -0.4839 & 0.630667 & 0.315334 \tabularnewline
M10 & 210.4 & 325.283408 & 0.6468 & 0.520829 & 0.260415 \tabularnewline
M11 & -555.8 & 325.283408 & -1.7087 & 0.093973 & 0.046986 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57657&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]5051.60408163265[/C][C]243.685798[/C][C]20.73[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-785.340136054422[/C][C]134.144617[/C][C]-5.8544[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-130.434013605440[/C][C]311.72392[/C][C]-0.4184[/C][C]0.6775[/C][C]0.33875[/C][/ROW]
[ROW][C]M2[/C][C]-581.068027210885[/C][C]326.387939[/C][C]-1.7803[/C][C]0.081357[/C][C]0.040679[/C][/ROW]
[ROW][C]M3[/C][C]380.331972789115[/C][C]326.387939[/C][C]1.1653[/C][C]0.249666[/C][C]0.124833[/C][/ROW]
[ROW][C]M4[/C][C]-309.668027210883[/C][C]326.387939[/C][C]-0.9488[/C][C]0.347489[/C][C]0.173744[/C][/ROW]
[ROW][C]M5[/C][C]-187.868027210884[/C][C]326.387939[/C][C]-0.5756[/C][C]0.567576[/C][C]0.283788[/C][/ROW]
[ROW][C]M6[/C][C]615.199999999999[/C][C]325.283408[/C][C]1.8913[/C][C]0.064631[/C][C]0.032315[/C][/ROW]
[ROW][C]M7[/C][C]-420.4[/C][C]325.283408[/C][C]-1.2924[/C][C]0.202402[/C][C]0.101201[/C][/ROW]
[ROW][C]M8[/C][C]-232.2[/C][C]325.283408[/C][C]-0.7138[/C][C]0.478784[/C][C]0.239392[/C][/ROW]
[ROW][C]M9[/C][C]-157.400000000000[/C][C]325.283408[/C][C]-0.4839[/C][C]0.630667[/C][C]0.315334[/C][/ROW]
[ROW][C]M10[/C][C]210.4[/C][C]325.283408[/C][C]0.6468[/C][C]0.520829[/C][C]0.260415[/C][/ROW]
[ROW][C]M11[/C][C]-555.8[/C][C]325.283408[/C][C]-1.7087[/C][C]0.093973[/C][C]0.046986[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57657&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57657&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)5051.60408163265243.68579820.7300
X-785.340136054422134.144617-5.854400
M1-130.434013605440311.72392-0.41840.67750.33875
M2-581.068027210885326.387939-1.78030.0813570.040679
M3380.331972789115326.3879391.16530.2496660.124833
M4-309.668027210883326.387939-0.94880.3474890.173744
M5-187.868027210884326.387939-0.57560.5675760.283788
M6615.199999999999325.2834081.89130.0646310.032315
M7-420.4325.283408-1.29240.2024020.101201
M8-232.2325.283408-0.71380.4787840.239392
M9-157.400000000000325.283408-0.48390.6306670.315334
M10210.4325.2834080.64680.5208290.260415
M11-555.8325.283408-1.70870.0939730.046986







Multiple Linear Regression - Regression Statistics
Multiple R0.749715982507451
R-squared0.562074054427113
Adjusted R-squared0.452592568033891
F-TEST (value)5.1339644075376
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.93964197101604e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation514.318227918436
Sum Squared Residuals12697115.4993197

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.749715982507451 \tabularnewline
R-squared & 0.562074054427113 \tabularnewline
Adjusted R-squared & 0.452592568033891 \tabularnewline
F-TEST (value) & 5.1339644075376 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 1.93964197101604e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 514.318227918436 \tabularnewline
Sum Squared Residuals & 12697115.4993197 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57657&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.749715982507451[/C][/ROW]
[ROW][C]R-squared[/C][C]0.562074054427113[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.452592568033891[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.1339644075376[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]1.93964197101604e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]514.318227918436[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]12697115.4993197[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57657&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57657&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.749715982507451
R-squared0.562074054427113
Adjusted R-squared0.452592568033891
F-TEST (value)5.1339644075376
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.93964197101604e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation514.318227918436
Sum Squared Residuals12697115.4993197







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
133534135.82993197278-782.82993197278
231863685.19591836735-499.195918367347
339024646.59591836735-744.595918367348
441643956.59591836735207.404081632653
534994078.39591836735-579.395918367346
641454881.46394557823-736.463945578232
737963845.86394557823-49.8639455782308
837114034.06394557823-323.063945578231
939494108.86394557823-159.863945578231
1037404476.66394557823-736.663945578231
1132433710.46394557823-467.463945578232
1244074266.26394557823140.736054421769
1348144135.82993197279678.170068027209
1439083685.19591836735222.804081632653
1552504646.59591836735603.404081632653
1639373956.59591836735-19.5959183673476
1740044078.39591836735-74.3959183673475
1855604881.46394557823678.536054421769
1939223845.8639455782376.1360544217683
2037594034.06394557823-275.063945578232
2141384108.8639455782329.1360544217685
2246344476.66394557823157.336054421768
2339963710.46394557823285.536054421769
2443084266.2639455782341.7360544217684
2541434921.17006802721-778.170068027212
2644294470.53605442177-41.5360544217689
2752195431.93605442177-212.936054421769
2849294741.93605442177187.063945578231
2957554863.73605442177891.263945578231
3055925666.80408163265-74.8040816326526
3141634631.20408163265-468.204081632653
3249624819.40408163265142.595918367347
3352084894.20408163265313.795918367347
3447555262.00408163265-507.004081632653
3544914495.80408163265-4.80408163265294
3657325051.60408163265680.395918367347
3757314921.17006802721809.829931972788
3850404470.53605442177569.463945578231
3961025431.93605442177670.063945578231
4049044741.93605442177162.063945578231
4153694863.73605442177505.263945578231
4255785666.80408163265-88.8040816326526
4346194631.20408163265-12.2040816326532
4447314819.40408163265-88.404081632653
4550114894.20408163265116.795918367347
4652995262.0040816326536.9959183673471
4741464495.80408163265-349.804081632653
4846255051.60408163265-426.604081632653
4947364921.17006802721-185.170068027213
5042194470.53605442177-251.536054421769
5151165431.93605442177-315.936054421769
5242054741.93605442177-536.936054421769
5341214863.73605442177-742.73605442177
5451034881.46394557823221.536054421769
5543003845.86394557823454.136054421768
5645784034.06394557823543.936054421769
5738094108.86394557823-299.863945578231
5855264476.663945578231049.33605442177
5942473710.46394557823536.536054421769
6038304266.26394557823-436.263945578231
6143944135.82993197279258.170068027209

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3353 & 4135.82993197278 & -782.82993197278 \tabularnewline
2 & 3186 & 3685.19591836735 & -499.195918367347 \tabularnewline
3 & 3902 & 4646.59591836735 & -744.595918367348 \tabularnewline
4 & 4164 & 3956.59591836735 & 207.404081632653 \tabularnewline
5 & 3499 & 4078.39591836735 & -579.395918367346 \tabularnewline
6 & 4145 & 4881.46394557823 & -736.463945578232 \tabularnewline
7 & 3796 & 3845.86394557823 & -49.8639455782308 \tabularnewline
8 & 3711 & 4034.06394557823 & -323.063945578231 \tabularnewline
9 & 3949 & 4108.86394557823 & -159.863945578231 \tabularnewline
10 & 3740 & 4476.66394557823 & -736.663945578231 \tabularnewline
11 & 3243 & 3710.46394557823 & -467.463945578232 \tabularnewline
12 & 4407 & 4266.26394557823 & 140.736054421769 \tabularnewline
13 & 4814 & 4135.82993197279 & 678.170068027209 \tabularnewline
14 & 3908 & 3685.19591836735 & 222.804081632653 \tabularnewline
15 & 5250 & 4646.59591836735 & 603.404081632653 \tabularnewline
16 & 3937 & 3956.59591836735 & -19.5959183673476 \tabularnewline
17 & 4004 & 4078.39591836735 & -74.3959183673475 \tabularnewline
18 & 5560 & 4881.46394557823 & 678.536054421769 \tabularnewline
19 & 3922 & 3845.86394557823 & 76.1360544217683 \tabularnewline
20 & 3759 & 4034.06394557823 & -275.063945578232 \tabularnewline
21 & 4138 & 4108.86394557823 & 29.1360544217685 \tabularnewline
22 & 4634 & 4476.66394557823 & 157.336054421768 \tabularnewline
23 & 3996 & 3710.46394557823 & 285.536054421769 \tabularnewline
24 & 4308 & 4266.26394557823 & 41.7360544217684 \tabularnewline
25 & 4143 & 4921.17006802721 & -778.170068027212 \tabularnewline
26 & 4429 & 4470.53605442177 & -41.5360544217689 \tabularnewline
27 & 5219 & 5431.93605442177 & -212.936054421769 \tabularnewline
28 & 4929 & 4741.93605442177 & 187.063945578231 \tabularnewline
29 & 5755 & 4863.73605442177 & 891.263945578231 \tabularnewline
30 & 5592 & 5666.80408163265 & -74.8040816326526 \tabularnewline
31 & 4163 & 4631.20408163265 & -468.204081632653 \tabularnewline
32 & 4962 & 4819.40408163265 & 142.595918367347 \tabularnewline
33 & 5208 & 4894.20408163265 & 313.795918367347 \tabularnewline
34 & 4755 & 5262.00408163265 & -507.004081632653 \tabularnewline
35 & 4491 & 4495.80408163265 & -4.80408163265294 \tabularnewline
36 & 5732 & 5051.60408163265 & 680.395918367347 \tabularnewline
37 & 5731 & 4921.17006802721 & 809.829931972788 \tabularnewline
38 & 5040 & 4470.53605442177 & 569.463945578231 \tabularnewline
39 & 6102 & 5431.93605442177 & 670.063945578231 \tabularnewline
40 & 4904 & 4741.93605442177 & 162.063945578231 \tabularnewline
41 & 5369 & 4863.73605442177 & 505.263945578231 \tabularnewline
42 & 5578 & 5666.80408163265 & -88.8040816326526 \tabularnewline
43 & 4619 & 4631.20408163265 & -12.2040816326532 \tabularnewline
44 & 4731 & 4819.40408163265 & -88.404081632653 \tabularnewline
45 & 5011 & 4894.20408163265 & 116.795918367347 \tabularnewline
46 & 5299 & 5262.00408163265 & 36.9959183673471 \tabularnewline
47 & 4146 & 4495.80408163265 & -349.804081632653 \tabularnewline
48 & 4625 & 5051.60408163265 & -426.604081632653 \tabularnewline
49 & 4736 & 4921.17006802721 & -185.170068027213 \tabularnewline
50 & 4219 & 4470.53605442177 & -251.536054421769 \tabularnewline
51 & 5116 & 5431.93605442177 & -315.936054421769 \tabularnewline
52 & 4205 & 4741.93605442177 & -536.936054421769 \tabularnewline
53 & 4121 & 4863.73605442177 & -742.73605442177 \tabularnewline
54 & 5103 & 4881.46394557823 & 221.536054421769 \tabularnewline
55 & 4300 & 3845.86394557823 & 454.136054421768 \tabularnewline
56 & 4578 & 4034.06394557823 & 543.936054421769 \tabularnewline
57 & 3809 & 4108.86394557823 & -299.863945578231 \tabularnewline
58 & 5526 & 4476.66394557823 & 1049.33605442177 \tabularnewline
59 & 4247 & 3710.46394557823 & 536.536054421769 \tabularnewline
60 & 3830 & 4266.26394557823 & -436.263945578231 \tabularnewline
61 & 4394 & 4135.82993197279 & 258.170068027209 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57657&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]3353[/C][C]4135.82993197278[/C][C]-782.82993197278[/C][/ROW]
[ROW][C]2[/C][C]3186[/C][C]3685.19591836735[/C][C]-499.195918367347[/C][/ROW]
[ROW][C]3[/C][C]3902[/C][C]4646.59591836735[/C][C]-744.595918367348[/C][/ROW]
[ROW][C]4[/C][C]4164[/C][C]3956.59591836735[/C][C]207.404081632653[/C][/ROW]
[ROW][C]5[/C][C]3499[/C][C]4078.39591836735[/C][C]-579.395918367346[/C][/ROW]
[ROW][C]6[/C][C]4145[/C][C]4881.46394557823[/C][C]-736.463945578232[/C][/ROW]
[ROW][C]7[/C][C]3796[/C][C]3845.86394557823[/C][C]-49.8639455782308[/C][/ROW]
[ROW][C]8[/C][C]3711[/C][C]4034.06394557823[/C][C]-323.063945578231[/C][/ROW]
[ROW][C]9[/C][C]3949[/C][C]4108.86394557823[/C][C]-159.863945578231[/C][/ROW]
[ROW][C]10[/C][C]3740[/C][C]4476.66394557823[/C][C]-736.663945578231[/C][/ROW]
[ROW][C]11[/C][C]3243[/C][C]3710.46394557823[/C][C]-467.463945578232[/C][/ROW]
[ROW][C]12[/C][C]4407[/C][C]4266.26394557823[/C][C]140.736054421769[/C][/ROW]
[ROW][C]13[/C][C]4814[/C][C]4135.82993197279[/C][C]678.170068027209[/C][/ROW]
[ROW][C]14[/C][C]3908[/C][C]3685.19591836735[/C][C]222.804081632653[/C][/ROW]
[ROW][C]15[/C][C]5250[/C][C]4646.59591836735[/C][C]603.404081632653[/C][/ROW]
[ROW][C]16[/C][C]3937[/C][C]3956.59591836735[/C][C]-19.5959183673476[/C][/ROW]
[ROW][C]17[/C][C]4004[/C][C]4078.39591836735[/C][C]-74.3959183673475[/C][/ROW]
[ROW][C]18[/C][C]5560[/C][C]4881.46394557823[/C][C]678.536054421769[/C][/ROW]
[ROW][C]19[/C][C]3922[/C][C]3845.86394557823[/C][C]76.1360544217683[/C][/ROW]
[ROW][C]20[/C][C]3759[/C][C]4034.06394557823[/C][C]-275.063945578232[/C][/ROW]
[ROW][C]21[/C][C]4138[/C][C]4108.86394557823[/C][C]29.1360544217685[/C][/ROW]
[ROW][C]22[/C][C]4634[/C][C]4476.66394557823[/C][C]157.336054421768[/C][/ROW]
[ROW][C]23[/C][C]3996[/C][C]3710.46394557823[/C][C]285.536054421769[/C][/ROW]
[ROW][C]24[/C][C]4308[/C][C]4266.26394557823[/C][C]41.7360544217684[/C][/ROW]
[ROW][C]25[/C][C]4143[/C][C]4921.17006802721[/C][C]-778.170068027212[/C][/ROW]
[ROW][C]26[/C][C]4429[/C][C]4470.53605442177[/C][C]-41.5360544217689[/C][/ROW]
[ROW][C]27[/C][C]5219[/C][C]5431.93605442177[/C][C]-212.936054421769[/C][/ROW]
[ROW][C]28[/C][C]4929[/C][C]4741.93605442177[/C][C]187.063945578231[/C][/ROW]
[ROW][C]29[/C][C]5755[/C][C]4863.73605442177[/C][C]891.263945578231[/C][/ROW]
[ROW][C]30[/C][C]5592[/C][C]5666.80408163265[/C][C]-74.8040816326526[/C][/ROW]
[ROW][C]31[/C][C]4163[/C][C]4631.20408163265[/C][C]-468.204081632653[/C][/ROW]
[ROW][C]32[/C][C]4962[/C][C]4819.40408163265[/C][C]142.595918367347[/C][/ROW]
[ROW][C]33[/C][C]5208[/C][C]4894.20408163265[/C][C]313.795918367347[/C][/ROW]
[ROW][C]34[/C][C]4755[/C][C]5262.00408163265[/C][C]-507.004081632653[/C][/ROW]
[ROW][C]35[/C][C]4491[/C][C]4495.80408163265[/C][C]-4.80408163265294[/C][/ROW]
[ROW][C]36[/C][C]5732[/C][C]5051.60408163265[/C][C]680.395918367347[/C][/ROW]
[ROW][C]37[/C][C]5731[/C][C]4921.17006802721[/C][C]809.829931972788[/C][/ROW]
[ROW][C]38[/C][C]5040[/C][C]4470.53605442177[/C][C]569.463945578231[/C][/ROW]
[ROW][C]39[/C][C]6102[/C][C]5431.93605442177[/C][C]670.063945578231[/C][/ROW]
[ROW][C]40[/C][C]4904[/C][C]4741.93605442177[/C][C]162.063945578231[/C][/ROW]
[ROW][C]41[/C][C]5369[/C][C]4863.73605442177[/C][C]505.263945578231[/C][/ROW]
[ROW][C]42[/C][C]5578[/C][C]5666.80408163265[/C][C]-88.8040816326526[/C][/ROW]
[ROW][C]43[/C][C]4619[/C][C]4631.20408163265[/C][C]-12.2040816326532[/C][/ROW]
[ROW][C]44[/C][C]4731[/C][C]4819.40408163265[/C][C]-88.404081632653[/C][/ROW]
[ROW][C]45[/C][C]5011[/C][C]4894.20408163265[/C][C]116.795918367347[/C][/ROW]
[ROW][C]46[/C][C]5299[/C][C]5262.00408163265[/C][C]36.9959183673471[/C][/ROW]
[ROW][C]47[/C][C]4146[/C][C]4495.80408163265[/C][C]-349.804081632653[/C][/ROW]
[ROW][C]48[/C][C]4625[/C][C]5051.60408163265[/C][C]-426.604081632653[/C][/ROW]
[ROW][C]49[/C][C]4736[/C][C]4921.17006802721[/C][C]-185.170068027213[/C][/ROW]
[ROW][C]50[/C][C]4219[/C][C]4470.53605442177[/C][C]-251.536054421769[/C][/ROW]
[ROW][C]51[/C][C]5116[/C][C]5431.93605442177[/C][C]-315.936054421769[/C][/ROW]
[ROW][C]52[/C][C]4205[/C][C]4741.93605442177[/C][C]-536.936054421769[/C][/ROW]
[ROW][C]53[/C][C]4121[/C][C]4863.73605442177[/C][C]-742.73605442177[/C][/ROW]
[ROW][C]54[/C][C]5103[/C][C]4881.46394557823[/C][C]221.536054421769[/C][/ROW]
[ROW][C]55[/C][C]4300[/C][C]3845.86394557823[/C][C]454.136054421768[/C][/ROW]
[ROW][C]56[/C][C]4578[/C][C]4034.06394557823[/C][C]543.936054421769[/C][/ROW]
[ROW][C]57[/C][C]3809[/C][C]4108.86394557823[/C][C]-299.863945578231[/C][/ROW]
[ROW][C]58[/C][C]5526[/C][C]4476.66394557823[/C][C]1049.33605442177[/C][/ROW]
[ROW][C]59[/C][C]4247[/C][C]3710.46394557823[/C][C]536.536054421769[/C][/ROW]
[ROW][C]60[/C][C]3830[/C][C]4266.26394557823[/C][C]-436.263945578231[/C][/ROW]
[ROW][C]61[/C][C]4394[/C][C]4135.82993197279[/C][C]258.170068027209[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57657&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57657&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
133534135.82993197278-782.82993197278
231863685.19591836735-499.195918367347
339024646.59591836735-744.595918367348
441643956.59591836735207.404081632653
534994078.39591836735-579.395918367346
641454881.46394557823-736.463945578232
737963845.86394557823-49.8639455782308
837114034.06394557823-323.063945578231
939494108.86394557823-159.863945578231
1037404476.66394557823-736.663945578231
1132433710.46394557823-467.463945578232
1244074266.26394557823140.736054421769
1348144135.82993197279678.170068027209
1439083685.19591836735222.804081632653
1552504646.59591836735603.404081632653
1639373956.59591836735-19.5959183673476
1740044078.39591836735-74.3959183673475
1855604881.46394557823678.536054421769
1939223845.8639455782376.1360544217683
2037594034.06394557823-275.063945578232
2141384108.8639455782329.1360544217685
2246344476.66394557823157.336054421768
2339963710.46394557823285.536054421769
2443084266.2639455782341.7360544217684
2541434921.17006802721-778.170068027212
2644294470.53605442177-41.5360544217689
2752195431.93605442177-212.936054421769
2849294741.93605442177187.063945578231
2957554863.73605442177891.263945578231
3055925666.80408163265-74.8040816326526
3141634631.20408163265-468.204081632653
3249624819.40408163265142.595918367347
3352084894.20408163265313.795918367347
3447555262.00408163265-507.004081632653
3544914495.80408163265-4.80408163265294
3657325051.60408163265680.395918367347
3757314921.17006802721809.829931972788
3850404470.53605442177569.463945578231
3961025431.93605442177670.063945578231
4049044741.93605442177162.063945578231
4153694863.73605442177505.263945578231
4255785666.80408163265-88.8040816326526
4346194631.20408163265-12.2040816326532
4447314819.40408163265-88.404081632653
4550114894.20408163265116.795918367347
4652995262.0040816326536.9959183673471
4741464495.80408163265-349.804081632653
4846255051.60408163265-426.604081632653
4947364921.17006802721-185.170068027213
5042194470.53605442177-251.536054421769
5151165431.93605442177-315.936054421769
5242054741.93605442177-536.936054421769
5341214863.73605442177-742.73605442177
5451034881.46394557823221.536054421769
5543003845.86394557823454.136054421768
5645784034.06394557823543.936054421769
5738094108.86394557823-299.863945578231
5855264476.663945578231049.33605442177
5942473710.46394557823536.536054421769
6038304266.26394557823-436.263945578231
6143944135.82993197279258.170068027209







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.9618505918082320.07629881638353680.0381494081917684
170.93671342116050.1265731576789990.0632865788394996
180.965966122138370.06806775572326020.0340338778616301
190.9353249041190.1293501917620.064675095881
200.9034841916565260.1930316166869470.0965158083434737
210.8493136795546350.3013726408907300.150686320445365
220.8361669170883470.3276661658233060.163833082911653
230.8019253114106420.3961493771787160.198074688589358
240.7226751869038640.5546496261922720.277324813096136
250.707859005416750.5842819891665020.292140994583251
260.6589546441214230.6820907117571540.341045355878577
270.5788330425153440.8423339149693110.421166957484656
280.5043417700754770.9913164598490450.495658229924523
290.6721990206515980.6556019586968040.327800979348402
300.581586091932250.8368278161355010.418413908067750
310.5435669891273490.9128660217453030.456433010872651
320.4623884522697350.9247769045394690.537611547730265
330.4069014932558210.8138029865116420.593098506744179
340.4157195495713250.831439099142650.584280450428675
350.3216020854206960.6432041708413920.678397914579304
360.460890662733250.92178132546650.53910933726675
370.6085408084986130.7829183830027730.391459191501387
380.6247526658777810.7504946682444370.375247334122219
390.7022295202139940.5955409595720110.297770479786006
400.684148829395010.6317023412099810.315851170604991
410.8885640765745280.2228718468509440.111435923425472
420.811849762031630.376300475936740.18815023796837
430.6964432893471530.6071134213056940.303556710652847
440.5630472909674190.8739054180651620.436952709032581
450.7095677110527260.5808645778945480.290432288947274

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.961850591808232 & 0.0762988163835368 & 0.0381494081917684 \tabularnewline
17 & 0.9367134211605 & 0.126573157678999 & 0.0632865788394996 \tabularnewline
18 & 0.96596612213837 & 0.0680677557232602 & 0.0340338778616301 \tabularnewline
19 & 0.935324904119 & 0.129350191762 & 0.064675095881 \tabularnewline
20 & 0.903484191656526 & 0.193031616686947 & 0.0965158083434737 \tabularnewline
21 & 0.849313679554635 & 0.301372640890730 & 0.150686320445365 \tabularnewline
22 & 0.836166917088347 & 0.327666165823306 & 0.163833082911653 \tabularnewline
23 & 0.801925311410642 & 0.396149377178716 & 0.198074688589358 \tabularnewline
24 & 0.722675186903864 & 0.554649626192272 & 0.277324813096136 \tabularnewline
25 & 0.70785900541675 & 0.584281989166502 & 0.292140994583251 \tabularnewline
26 & 0.658954644121423 & 0.682090711757154 & 0.341045355878577 \tabularnewline
27 & 0.578833042515344 & 0.842333914969311 & 0.421166957484656 \tabularnewline
28 & 0.504341770075477 & 0.991316459849045 & 0.495658229924523 \tabularnewline
29 & 0.672199020651598 & 0.655601958696804 & 0.327800979348402 \tabularnewline
30 & 0.58158609193225 & 0.836827816135501 & 0.418413908067750 \tabularnewline
31 & 0.543566989127349 & 0.912866021745303 & 0.456433010872651 \tabularnewline
32 & 0.462388452269735 & 0.924776904539469 & 0.537611547730265 \tabularnewline
33 & 0.406901493255821 & 0.813802986511642 & 0.593098506744179 \tabularnewline
34 & 0.415719549571325 & 0.83143909914265 & 0.584280450428675 \tabularnewline
35 & 0.321602085420696 & 0.643204170841392 & 0.678397914579304 \tabularnewline
36 & 0.46089066273325 & 0.9217813254665 & 0.53910933726675 \tabularnewline
37 & 0.608540808498613 & 0.782918383002773 & 0.391459191501387 \tabularnewline
38 & 0.624752665877781 & 0.750494668244437 & 0.375247334122219 \tabularnewline
39 & 0.702229520213994 & 0.595540959572011 & 0.297770479786006 \tabularnewline
40 & 0.68414882939501 & 0.631702341209981 & 0.315851170604991 \tabularnewline
41 & 0.888564076574528 & 0.222871846850944 & 0.111435923425472 \tabularnewline
42 & 0.81184976203163 & 0.37630047593674 & 0.18815023796837 \tabularnewline
43 & 0.696443289347153 & 0.607113421305694 & 0.303556710652847 \tabularnewline
44 & 0.563047290967419 & 0.873905418065162 & 0.436952709032581 \tabularnewline
45 & 0.709567711052726 & 0.580864577894548 & 0.290432288947274 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57657&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.961850591808232[/C][C]0.0762988163835368[/C][C]0.0381494081917684[/C][/ROW]
[ROW][C]17[/C][C]0.9367134211605[/C][C]0.126573157678999[/C][C]0.0632865788394996[/C][/ROW]
[ROW][C]18[/C][C]0.96596612213837[/C][C]0.0680677557232602[/C][C]0.0340338778616301[/C][/ROW]
[ROW][C]19[/C][C]0.935324904119[/C][C]0.129350191762[/C][C]0.064675095881[/C][/ROW]
[ROW][C]20[/C][C]0.903484191656526[/C][C]0.193031616686947[/C][C]0.0965158083434737[/C][/ROW]
[ROW][C]21[/C][C]0.849313679554635[/C][C]0.301372640890730[/C][C]0.150686320445365[/C][/ROW]
[ROW][C]22[/C][C]0.836166917088347[/C][C]0.327666165823306[/C][C]0.163833082911653[/C][/ROW]
[ROW][C]23[/C][C]0.801925311410642[/C][C]0.396149377178716[/C][C]0.198074688589358[/C][/ROW]
[ROW][C]24[/C][C]0.722675186903864[/C][C]0.554649626192272[/C][C]0.277324813096136[/C][/ROW]
[ROW][C]25[/C][C]0.70785900541675[/C][C]0.584281989166502[/C][C]0.292140994583251[/C][/ROW]
[ROW][C]26[/C][C]0.658954644121423[/C][C]0.682090711757154[/C][C]0.341045355878577[/C][/ROW]
[ROW][C]27[/C][C]0.578833042515344[/C][C]0.842333914969311[/C][C]0.421166957484656[/C][/ROW]
[ROW][C]28[/C][C]0.504341770075477[/C][C]0.991316459849045[/C][C]0.495658229924523[/C][/ROW]
[ROW][C]29[/C][C]0.672199020651598[/C][C]0.655601958696804[/C][C]0.327800979348402[/C][/ROW]
[ROW][C]30[/C][C]0.58158609193225[/C][C]0.836827816135501[/C][C]0.418413908067750[/C][/ROW]
[ROW][C]31[/C][C]0.543566989127349[/C][C]0.912866021745303[/C][C]0.456433010872651[/C][/ROW]
[ROW][C]32[/C][C]0.462388452269735[/C][C]0.924776904539469[/C][C]0.537611547730265[/C][/ROW]
[ROW][C]33[/C][C]0.406901493255821[/C][C]0.813802986511642[/C][C]0.593098506744179[/C][/ROW]
[ROW][C]34[/C][C]0.415719549571325[/C][C]0.83143909914265[/C][C]0.584280450428675[/C][/ROW]
[ROW][C]35[/C][C]0.321602085420696[/C][C]0.643204170841392[/C][C]0.678397914579304[/C][/ROW]
[ROW][C]36[/C][C]0.46089066273325[/C][C]0.9217813254665[/C][C]0.53910933726675[/C][/ROW]
[ROW][C]37[/C][C]0.608540808498613[/C][C]0.782918383002773[/C][C]0.391459191501387[/C][/ROW]
[ROW][C]38[/C][C]0.624752665877781[/C][C]0.750494668244437[/C][C]0.375247334122219[/C][/ROW]
[ROW][C]39[/C][C]0.702229520213994[/C][C]0.595540959572011[/C][C]0.297770479786006[/C][/ROW]
[ROW][C]40[/C][C]0.68414882939501[/C][C]0.631702341209981[/C][C]0.315851170604991[/C][/ROW]
[ROW][C]41[/C][C]0.888564076574528[/C][C]0.222871846850944[/C][C]0.111435923425472[/C][/ROW]
[ROW][C]42[/C][C]0.81184976203163[/C][C]0.37630047593674[/C][C]0.18815023796837[/C][/ROW]
[ROW][C]43[/C][C]0.696443289347153[/C][C]0.607113421305694[/C][C]0.303556710652847[/C][/ROW]
[ROW][C]44[/C][C]0.563047290967419[/C][C]0.873905418065162[/C][C]0.436952709032581[/C][/ROW]
[ROW][C]45[/C][C]0.709567711052726[/C][C]0.580864577894548[/C][C]0.290432288947274[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57657&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.9618505918082320.07629881638353680.0381494081917684
170.93671342116050.1265731576789990.0632865788394996
180.965966122138370.06806775572326020.0340338778616301
190.9353249041190.1293501917620.064675095881
200.9034841916565260.1930316166869470.0965158083434737
210.8493136795546350.3013726408907300.150686320445365
220.8361669170883470.3276661658233060.163833082911653
230.8019253114106420.3961493771787160.198074688589358
240.7226751869038640.5546496261922720.277324813096136
250.707859005416750.5842819891665020.292140994583251
260.6589546441214230.6820907117571540.341045355878577
270.5788330425153440.8423339149693110.421166957484656
280.5043417700754770.9913164598490450.495658229924523
290.6721990206515980.6556019586968040.327800979348402
300.581586091932250.8368278161355010.418413908067750
310.5435669891273490.9128660217453030.456433010872651
320.4623884522697350.9247769045394690.537611547730265
330.4069014932558210.8138029865116420.593098506744179
340.4157195495713250.831439099142650.584280450428675
350.3216020854206960.6432041708413920.678397914579304
360.460890662733250.92178132546650.53910933726675
370.6085408084986130.7829183830027730.391459191501387
380.6247526658777810.7504946682444370.375247334122219
390.7022295202139940.5955409595720110.297770479786006
400.684148829395010.6317023412099810.315851170604991
410.8885640765745280.2228718468509440.111435923425472
420.811849762031630.376300475936740.18815023796837
430.6964432893471530.6071134213056940.303556710652847
440.5630472909674190.8739054180651620.436952709032581
450.7095677110527260.5808645778945480.290432288947274







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 level20.0666666666666667OK

\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 & 2 & 0.0666666666666667 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57657&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]2[/C][C]0.0666666666666667[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57657&T=6

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



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}