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 computationMon, 23 Nov 2009 13:14:10 -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/23/t1259007294k4fz4t16lnyd1k7.htm/, Retrieved Fri, 03 May 2024 06:56:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58897, Retrieved Fri, 03 May 2024 06:56:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsseizoenaliteit modeleren
Estimated Impact114
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 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [BBWS-2] [2009-11-23 20:14:10] [b32ceebc68d054278e6bda97f3d57f91] [Current]
-   P         [Multiple Regression] [BBWS7-3] [2009-11-23 20:31:52] [408e92805dcb18620260f240a7fb9d53]
Feedback Forum

Post a new message
Dataseries X:
3922	8.1
3759	7.7
4138	7.5
4634	7.6
3996	7.8
4308	7.8
4143	7.8
4429	7.5
5219	7.5
4929	7.1
5755	7.5
5592	7.5
4163	7.6
4962	7.7
5208	7.7
4755	7.9
4491	8.1
5732	8.2
5731	8.2
5040	8.2
6102	7.9
4904	7.3
5369	6.9
5578	6.6
4619	6.7
4731	6.9
5011	7
5299	7.1
4146	7.2
4625	7.1
4736	6.9
4219	7
5116	6.8
4205	6.4
4121	6.7
5103	6.6
4300	6.4
4578	6.3
3809	6.2
5526	6.5
4247	6.8
3830	6.8
4394	6.4
4826	6.1
4409	5.8
4569	6.1
4106	7.2
4794	7.3
3914	6.9
3793	6.1
4405	5.8
4022	6.2
4100	7.1
4788	7.7
3163	7.9
3585	7.7
3903	7.4
4178	7.5
3863	8
4187	8.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=58897&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=58897&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58897&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
Bouw[t] = + 4216.37859380438 + 115.570831883049Wman[t] -857.954333449357M1[t] -653.840167072746M2[t] -492.683083884441M3[t] -185.108666898712M4[t] -875.602749738948M5[t] -428.871249564914M6[t] -642.82558301427M7[t] -640.245666550643M8[t] -84.8200835363729M9[t] -454.505917159763M10[t] -412.622833275321M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bouw[t] =  +  4216.37859380438 +  115.570831883049Wman[t] -857.954333449357M1[t] -653.840167072746M2[t] -492.683083884441M3[t] -185.108666898712M4[t] -875.602749738948M5[t] -428.871249564914M6[t] -642.82558301427M7[t] -640.245666550643M8[t] -84.8200835363729M9[t] -454.505917159763M10[t] -412.622833275321M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58897&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bouw[t] =  +  4216.37859380438 +  115.570831883049Wman[t] -857.954333449357M1[t] -653.840167072746M2[t] -492.683083884441M3[t] -185.108666898712M4[t] -875.602749738948M5[t] -428.871249564914M6[t] -642.82558301427M7[t] -640.245666550643M8[t] -84.8200835363729M9[t] -454.505917159763M10[t] -412.622833275321M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58897&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58897&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
Bouw[t] = + 4216.37859380438 + 115.570831883049Wman[t] -857.954333449357M1[t] -653.840167072746M2[t] -492.683083884441M3[t] -185.108666898712M4[t] -875.602749738948M5[t] -428.871249564914M6[t] -642.82558301427M7[t] -640.245666550643M8[t] -84.8200835363729M9[t] -454.505917159763M10[t] -412.622833275321M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4216.37859380438988.0322714.26759.5e-054.8e-05
Wman115.570831883049131.1846770.8810.3828130.191406
M1-857.954333449357397.902828-2.15620.0362180.018109
M2-653.840167072746399.456804-1.63680.1083470.054173
M3-492.683083884441400.875991-1.2290.2251840.112592
M4-185.108666898712398.317814-0.46470.6442730.322137
M5-875.602749738948398.464685-2.19740.0329530.016476
M6-428.871249564914399.706602-1.0730.2887650.144383
M7-642.82558301427398.81005-1.61190.1136890.056844
M8-640.245666550643397.902828-1.60910.1143030.057151
M9-84.8200835363729398.188178-0.2130.8322360.416118
M10-454.505917159763400.257328-1.13550.2619090.130955
M11-412.622833275321397.799014-1.03730.304920.15246

\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) & 4216.37859380438 & 988.032271 & 4.2675 & 9.5e-05 & 4.8e-05 \tabularnewline
Wman & 115.570831883049 & 131.184677 & 0.881 & 0.382813 & 0.191406 \tabularnewline
M1 & -857.954333449357 & 397.902828 & -2.1562 & 0.036218 & 0.018109 \tabularnewline
M2 & -653.840167072746 & 399.456804 & -1.6368 & 0.108347 & 0.054173 \tabularnewline
M3 & -492.683083884441 & 400.875991 & -1.229 & 0.225184 & 0.112592 \tabularnewline
M4 & -185.108666898712 & 398.317814 & -0.4647 & 0.644273 & 0.322137 \tabularnewline
M5 & -875.602749738948 & 398.464685 & -2.1974 & 0.032953 & 0.016476 \tabularnewline
M6 & -428.871249564914 & 399.706602 & -1.073 & 0.288765 & 0.144383 \tabularnewline
M7 & -642.82558301427 & 398.81005 & -1.6119 & 0.113689 & 0.056844 \tabularnewline
M8 & -640.245666550643 & 397.902828 & -1.6091 & 0.114303 & 0.057151 \tabularnewline
M9 & -84.8200835363729 & 398.188178 & -0.213 & 0.832236 & 0.416118 \tabularnewline
M10 & -454.505917159763 & 400.257328 & -1.1355 & 0.261909 & 0.130955 \tabularnewline
M11 & -412.622833275321 & 397.799014 & -1.0373 & 0.30492 & 0.15246 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58897&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]4216.37859380438[/C][C]988.032271[/C][C]4.2675[/C][C]9.5e-05[/C][C]4.8e-05[/C][/ROW]
[ROW][C]Wman[/C][C]115.570831883049[/C][C]131.184677[/C][C]0.881[/C][C]0.382813[/C][C]0.191406[/C][/ROW]
[ROW][C]M1[/C][C]-857.954333449357[/C][C]397.902828[/C][C]-2.1562[/C][C]0.036218[/C][C]0.018109[/C][/ROW]
[ROW][C]M2[/C][C]-653.840167072746[/C][C]399.456804[/C][C]-1.6368[/C][C]0.108347[/C][C]0.054173[/C][/ROW]
[ROW][C]M3[/C][C]-492.683083884441[/C][C]400.875991[/C][C]-1.229[/C][C]0.225184[/C][C]0.112592[/C][/ROW]
[ROW][C]M4[/C][C]-185.108666898712[/C][C]398.317814[/C][C]-0.4647[/C][C]0.644273[/C][C]0.322137[/C][/ROW]
[ROW][C]M5[/C][C]-875.602749738948[/C][C]398.464685[/C][C]-2.1974[/C][C]0.032953[/C][C]0.016476[/C][/ROW]
[ROW][C]M6[/C][C]-428.871249564914[/C][C]399.706602[/C][C]-1.073[/C][C]0.288765[/C][C]0.144383[/C][/ROW]
[ROW][C]M7[/C][C]-642.82558301427[/C][C]398.81005[/C][C]-1.6119[/C][C]0.113689[/C][C]0.056844[/C][/ROW]
[ROW][C]M8[/C][C]-640.245666550643[/C][C]397.902828[/C][C]-1.6091[/C][C]0.114303[/C][C]0.057151[/C][/ROW]
[ROW][C]M9[/C][C]-84.8200835363729[/C][C]398.188178[/C][C]-0.213[/C][C]0.832236[/C][C]0.416118[/C][/ROW]
[ROW][C]M10[/C][C]-454.505917159763[/C][C]400.257328[/C][C]-1.1355[/C][C]0.261909[/C][C]0.130955[/C][/ROW]
[ROW][C]M11[/C][C]-412.622833275321[/C][C]397.799014[/C][C]-1.0373[/C][C]0.30492[/C][C]0.15246[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58897&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58897&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)4216.37859380438988.0322714.26759.5e-054.8e-05
Wman115.570831883049131.1846770.8810.3828130.191406
M1-857.954333449357397.902828-2.15620.0362180.018109
M2-653.840167072746399.456804-1.63680.1083470.054173
M3-492.683083884441400.875991-1.2290.2251840.112592
M4-185.108666898712398.317814-0.46470.6442730.322137
M5-875.602749738948398.464685-2.19740.0329530.016476
M6-428.871249564914399.706602-1.0730.2887650.144383
M7-642.82558301427398.81005-1.61190.1136890.056844
M8-640.245666550643397.902828-1.60910.1143030.057151
M9-84.8200835363729398.188178-0.2130.8322360.416118
M10-454.505917159763400.257328-1.13550.2619090.130955
M11-412.622833275321397.799014-1.03730.304920.15246







Multiple Linear Regression - Regression Statistics
Multiple R0.441907959629601
R-squared0.195282644783997
Adjusted R-squared-0.0101771054839188
F-TEST (value)0.950466670622114
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.507315791219589
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation628.920742405079
Sum Squared Residuals18590441.1106857

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.441907959629601 \tabularnewline
R-squared & 0.195282644783997 \tabularnewline
Adjusted R-squared & -0.0101771054839188 \tabularnewline
F-TEST (value) & 0.950466670622114 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.507315791219589 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 628.920742405079 \tabularnewline
Sum Squared Residuals & 18590441.1106857 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58897&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.441907959629601[/C][/ROW]
[ROW][C]R-squared[/C][C]0.195282644783997[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0101771054839188[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.950466670622114[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.507315791219589[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]628.920742405079[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]18590441.1106857[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58897&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58897&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.441907959629601
R-squared0.195282644783997
Adjusted R-squared-0.0101771054839188
F-TEST (value)0.950466670622114
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.507315791219589
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation628.920742405079
Sum Squared Residuals18590441.1106857







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
139224294.54799860773-372.547998607734
237594452.43383223112-693.433832231117
341384590.47674904281-452.476749042813
446344909.60824921685-275.608249216847
539964242.22833275322-246.228332753219
643084688.95983292725-380.959832927254
741434475.0054994779-332.005499477897
844294442.91416637661-13.9141663766096
952194998.33974939088220.660250609119
1049294582.42558301427346.574416985729
1157554670.536999651931084.46300034807
1255925083.15983292725508.840167072747
1341634236.7625826662-73.7625826662007
1449624452.43383223112509.566167768883
1552084613.59091541942594.409084580578
1647554944.27949878176-189.279498781761
1744914276.89958231813214.100417681866
1857324735.18816568047996.811834319527
1957314521.233832231121209.76616776888
2050404523.81374869474516.186251305256
2161025044.56808214411057.4319178559
2249044605.53974939088298.460250609119
2353694601.1945005221767.805499477897
2455784979.14608423251598.853915767491
2546194132.74883397146486.251166028543
2647314359.97716672468371.022833275322
2750114532.69133310129478.308666898713
2852994851.82283327532447.177166724678
2941464172.88583362339-26.8858336233903
3046254608.0602506091216.9397493908805
3147364370.99175078315365.008249216846
3242194385.12875043508-166.128750435085
3351164917.44016707275198.559832927253
3442054501.52600069614-296.526000696136
3541214578.08033414549-457.080334145493
3651034979.14608423251123.853915767491
3743004098.07758440654201.922415593458
3845784290.63466759485287.365332405151
3938094440.23466759485-631.234667594848
4055264782.48033414549743.519665854508
4142474126.65750087017120.342499129829
4238304573.38900104420-743.389001044205
4343944313.2063348416380.7936651583706
4448264281.11500174034544.884998259659
4544094801.8693351897-392.869335189698
4645694466.85475113122102.145248868778
4741064635.86575008702-529.865750087017
4847945060.04566655064-266.045666550643
4939144155.86300034807-241.863000348066
5037934267.52050121824-474.520501218239
5144054394.0063348416310.9936651583711
5240224747.80908458058-725.809084580578
5341004161.32875043509-61.3287504350853
5447884677.40274973895110.597250261051
5531634486.5625826662-1323.56258266620
5635854466.02833275322-881.02833275322
5739034986.78266620258-1083.78266620258
5841784628.65391576749-450.65391576749
5938634728.32241559346-865.322415593456
6041875152.50233205708-965.502332057083

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3922 & 4294.54799860773 & -372.547998607734 \tabularnewline
2 & 3759 & 4452.43383223112 & -693.433832231117 \tabularnewline
3 & 4138 & 4590.47674904281 & -452.476749042813 \tabularnewline
4 & 4634 & 4909.60824921685 & -275.608249216847 \tabularnewline
5 & 3996 & 4242.22833275322 & -246.228332753219 \tabularnewline
6 & 4308 & 4688.95983292725 & -380.959832927254 \tabularnewline
7 & 4143 & 4475.0054994779 & -332.005499477897 \tabularnewline
8 & 4429 & 4442.91416637661 & -13.9141663766096 \tabularnewline
9 & 5219 & 4998.33974939088 & 220.660250609119 \tabularnewline
10 & 4929 & 4582.42558301427 & 346.574416985729 \tabularnewline
11 & 5755 & 4670.53699965193 & 1084.46300034807 \tabularnewline
12 & 5592 & 5083.15983292725 & 508.840167072747 \tabularnewline
13 & 4163 & 4236.7625826662 & -73.7625826662007 \tabularnewline
14 & 4962 & 4452.43383223112 & 509.566167768883 \tabularnewline
15 & 5208 & 4613.59091541942 & 594.409084580578 \tabularnewline
16 & 4755 & 4944.27949878176 & -189.279498781761 \tabularnewline
17 & 4491 & 4276.89958231813 & 214.100417681866 \tabularnewline
18 & 5732 & 4735.18816568047 & 996.811834319527 \tabularnewline
19 & 5731 & 4521.23383223112 & 1209.76616776888 \tabularnewline
20 & 5040 & 4523.81374869474 & 516.186251305256 \tabularnewline
21 & 6102 & 5044.5680821441 & 1057.4319178559 \tabularnewline
22 & 4904 & 4605.53974939088 & 298.460250609119 \tabularnewline
23 & 5369 & 4601.1945005221 & 767.805499477897 \tabularnewline
24 & 5578 & 4979.14608423251 & 598.853915767491 \tabularnewline
25 & 4619 & 4132.74883397146 & 486.251166028543 \tabularnewline
26 & 4731 & 4359.97716672468 & 371.022833275322 \tabularnewline
27 & 5011 & 4532.69133310129 & 478.308666898713 \tabularnewline
28 & 5299 & 4851.82283327532 & 447.177166724678 \tabularnewline
29 & 4146 & 4172.88583362339 & -26.8858336233903 \tabularnewline
30 & 4625 & 4608.06025060912 & 16.9397493908805 \tabularnewline
31 & 4736 & 4370.99175078315 & 365.008249216846 \tabularnewline
32 & 4219 & 4385.12875043508 & -166.128750435085 \tabularnewline
33 & 5116 & 4917.44016707275 & 198.559832927253 \tabularnewline
34 & 4205 & 4501.52600069614 & -296.526000696136 \tabularnewline
35 & 4121 & 4578.08033414549 & -457.080334145493 \tabularnewline
36 & 5103 & 4979.14608423251 & 123.853915767491 \tabularnewline
37 & 4300 & 4098.07758440654 & 201.922415593458 \tabularnewline
38 & 4578 & 4290.63466759485 & 287.365332405151 \tabularnewline
39 & 3809 & 4440.23466759485 & -631.234667594848 \tabularnewline
40 & 5526 & 4782.48033414549 & 743.519665854508 \tabularnewline
41 & 4247 & 4126.65750087017 & 120.342499129829 \tabularnewline
42 & 3830 & 4573.38900104420 & -743.389001044205 \tabularnewline
43 & 4394 & 4313.20633484163 & 80.7936651583706 \tabularnewline
44 & 4826 & 4281.11500174034 & 544.884998259659 \tabularnewline
45 & 4409 & 4801.8693351897 & -392.869335189698 \tabularnewline
46 & 4569 & 4466.85475113122 & 102.145248868778 \tabularnewline
47 & 4106 & 4635.86575008702 & -529.865750087017 \tabularnewline
48 & 4794 & 5060.04566655064 & -266.045666550643 \tabularnewline
49 & 3914 & 4155.86300034807 & -241.863000348066 \tabularnewline
50 & 3793 & 4267.52050121824 & -474.520501218239 \tabularnewline
51 & 4405 & 4394.00633484163 & 10.9936651583711 \tabularnewline
52 & 4022 & 4747.80908458058 & -725.809084580578 \tabularnewline
53 & 4100 & 4161.32875043509 & -61.3287504350853 \tabularnewline
54 & 4788 & 4677.40274973895 & 110.597250261051 \tabularnewline
55 & 3163 & 4486.5625826662 & -1323.56258266620 \tabularnewline
56 & 3585 & 4466.02833275322 & -881.02833275322 \tabularnewline
57 & 3903 & 4986.78266620258 & -1083.78266620258 \tabularnewline
58 & 4178 & 4628.65391576749 & -450.65391576749 \tabularnewline
59 & 3863 & 4728.32241559346 & -865.322415593456 \tabularnewline
60 & 4187 & 5152.50233205708 & -965.502332057083 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58897&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]3922[/C][C]4294.54799860773[/C][C]-372.547998607734[/C][/ROW]
[ROW][C]2[/C][C]3759[/C][C]4452.43383223112[/C][C]-693.433832231117[/C][/ROW]
[ROW][C]3[/C][C]4138[/C][C]4590.47674904281[/C][C]-452.476749042813[/C][/ROW]
[ROW][C]4[/C][C]4634[/C][C]4909.60824921685[/C][C]-275.608249216847[/C][/ROW]
[ROW][C]5[/C][C]3996[/C][C]4242.22833275322[/C][C]-246.228332753219[/C][/ROW]
[ROW][C]6[/C][C]4308[/C][C]4688.95983292725[/C][C]-380.959832927254[/C][/ROW]
[ROW][C]7[/C][C]4143[/C][C]4475.0054994779[/C][C]-332.005499477897[/C][/ROW]
[ROW][C]8[/C][C]4429[/C][C]4442.91416637661[/C][C]-13.9141663766096[/C][/ROW]
[ROW][C]9[/C][C]5219[/C][C]4998.33974939088[/C][C]220.660250609119[/C][/ROW]
[ROW][C]10[/C][C]4929[/C][C]4582.42558301427[/C][C]346.574416985729[/C][/ROW]
[ROW][C]11[/C][C]5755[/C][C]4670.53699965193[/C][C]1084.46300034807[/C][/ROW]
[ROW][C]12[/C][C]5592[/C][C]5083.15983292725[/C][C]508.840167072747[/C][/ROW]
[ROW][C]13[/C][C]4163[/C][C]4236.7625826662[/C][C]-73.7625826662007[/C][/ROW]
[ROW][C]14[/C][C]4962[/C][C]4452.43383223112[/C][C]509.566167768883[/C][/ROW]
[ROW][C]15[/C][C]5208[/C][C]4613.59091541942[/C][C]594.409084580578[/C][/ROW]
[ROW][C]16[/C][C]4755[/C][C]4944.27949878176[/C][C]-189.279498781761[/C][/ROW]
[ROW][C]17[/C][C]4491[/C][C]4276.89958231813[/C][C]214.100417681866[/C][/ROW]
[ROW][C]18[/C][C]5732[/C][C]4735.18816568047[/C][C]996.811834319527[/C][/ROW]
[ROW][C]19[/C][C]5731[/C][C]4521.23383223112[/C][C]1209.76616776888[/C][/ROW]
[ROW][C]20[/C][C]5040[/C][C]4523.81374869474[/C][C]516.186251305256[/C][/ROW]
[ROW][C]21[/C][C]6102[/C][C]5044.5680821441[/C][C]1057.4319178559[/C][/ROW]
[ROW][C]22[/C][C]4904[/C][C]4605.53974939088[/C][C]298.460250609119[/C][/ROW]
[ROW][C]23[/C][C]5369[/C][C]4601.1945005221[/C][C]767.805499477897[/C][/ROW]
[ROW][C]24[/C][C]5578[/C][C]4979.14608423251[/C][C]598.853915767491[/C][/ROW]
[ROW][C]25[/C][C]4619[/C][C]4132.74883397146[/C][C]486.251166028543[/C][/ROW]
[ROW][C]26[/C][C]4731[/C][C]4359.97716672468[/C][C]371.022833275322[/C][/ROW]
[ROW][C]27[/C][C]5011[/C][C]4532.69133310129[/C][C]478.308666898713[/C][/ROW]
[ROW][C]28[/C][C]5299[/C][C]4851.82283327532[/C][C]447.177166724678[/C][/ROW]
[ROW][C]29[/C][C]4146[/C][C]4172.88583362339[/C][C]-26.8858336233903[/C][/ROW]
[ROW][C]30[/C][C]4625[/C][C]4608.06025060912[/C][C]16.9397493908805[/C][/ROW]
[ROW][C]31[/C][C]4736[/C][C]4370.99175078315[/C][C]365.008249216846[/C][/ROW]
[ROW][C]32[/C][C]4219[/C][C]4385.12875043508[/C][C]-166.128750435085[/C][/ROW]
[ROW][C]33[/C][C]5116[/C][C]4917.44016707275[/C][C]198.559832927253[/C][/ROW]
[ROW][C]34[/C][C]4205[/C][C]4501.52600069614[/C][C]-296.526000696136[/C][/ROW]
[ROW][C]35[/C][C]4121[/C][C]4578.08033414549[/C][C]-457.080334145493[/C][/ROW]
[ROW][C]36[/C][C]5103[/C][C]4979.14608423251[/C][C]123.853915767491[/C][/ROW]
[ROW][C]37[/C][C]4300[/C][C]4098.07758440654[/C][C]201.922415593458[/C][/ROW]
[ROW][C]38[/C][C]4578[/C][C]4290.63466759485[/C][C]287.365332405151[/C][/ROW]
[ROW][C]39[/C][C]3809[/C][C]4440.23466759485[/C][C]-631.234667594848[/C][/ROW]
[ROW][C]40[/C][C]5526[/C][C]4782.48033414549[/C][C]743.519665854508[/C][/ROW]
[ROW][C]41[/C][C]4247[/C][C]4126.65750087017[/C][C]120.342499129829[/C][/ROW]
[ROW][C]42[/C][C]3830[/C][C]4573.38900104420[/C][C]-743.389001044205[/C][/ROW]
[ROW][C]43[/C][C]4394[/C][C]4313.20633484163[/C][C]80.7936651583706[/C][/ROW]
[ROW][C]44[/C][C]4826[/C][C]4281.11500174034[/C][C]544.884998259659[/C][/ROW]
[ROW][C]45[/C][C]4409[/C][C]4801.8693351897[/C][C]-392.869335189698[/C][/ROW]
[ROW][C]46[/C][C]4569[/C][C]4466.85475113122[/C][C]102.145248868778[/C][/ROW]
[ROW][C]47[/C][C]4106[/C][C]4635.86575008702[/C][C]-529.865750087017[/C][/ROW]
[ROW][C]48[/C][C]4794[/C][C]5060.04566655064[/C][C]-266.045666550643[/C][/ROW]
[ROW][C]49[/C][C]3914[/C][C]4155.86300034807[/C][C]-241.863000348066[/C][/ROW]
[ROW][C]50[/C][C]3793[/C][C]4267.52050121824[/C][C]-474.520501218239[/C][/ROW]
[ROW][C]51[/C][C]4405[/C][C]4394.00633484163[/C][C]10.9936651583711[/C][/ROW]
[ROW][C]52[/C][C]4022[/C][C]4747.80908458058[/C][C]-725.809084580578[/C][/ROW]
[ROW][C]53[/C][C]4100[/C][C]4161.32875043509[/C][C]-61.3287504350853[/C][/ROW]
[ROW][C]54[/C][C]4788[/C][C]4677.40274973895[/C][C]110.597250261051[/C][/ROW]
[ROW][C]55[/C][C]3163[/C][C]4486.5625826662[/C][C]-1323.56258266620[/C][/ROW]
[ROW][C]56[/C][C]3585[/C][C]4466.02833275322[/C][C]-881.02833275322[/C][/ROW]
[ROW][C]57[/C][C]3903[/C][C]4986.78266620258[/C][C]-1083.78266620258[/C][/ROW]
[ROW][C]58[/C][C]4178[/C][C]4628.65391576749[/C][C]-450.65391576749[/C][/ROW]
[ROW][C]59[/C][C]3863[/C][C]4728.32241559346[/C][C]-865.322415593456[/C][/ROW]
[ROW][C]60[/C][C]4187[/C][C]5152.50233205708[/C][C]-965.502332057083[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58897&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58897&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
139224294.54799860773-372.547998607734
237594452.43383223112-693.433832231117
341384590.47674904281-452.476749042813
446344909.60824921685-275.608249216847
539964242.22833275322-246.228332753219
643084688.95983292725-380.959832927254
741434475.0054994779-332.005499477897
844294442.91416637661-13.9141663766096
952194998.33974939088220.660250609119
1049294582.42558301427346.574416985729
1157554670.536999651931084.46300034807
1255925083.15983292725508.840167072747
1341634236.7625826662-73.7625826662007
1449624452.43383223112509.566167768883
1552084613.59091541942594.409084580578
1647554944.27949878176-189.279498781761
1744914276.89958231813214.100417681866
1857324735.18816568047996.811834319527
1957314521.233832231121209.76616776888
2050404523.81374869474516.186251305256
2161025044.56808214411057.4319178559
2249044605.53974939088298.460250609119
2353694601.1945005221767.805499477897
2455784979.14608423251598.853915767491
2546194132.74883397146486.251166028543
2647314359.97716672468371.022833275322
2750114532.69133310129478.308666898713
2852994851.82283327532447.177166724678
2941464172.88583362339-26.8858336233903
3046254608.0602506091216.9397493908805
3147364370.99175078315365.008249216846
3242194385.12875043508-166.128750435085
3351164917.44016707275198.559832927253
3442054501.52600069614-296.526000696136
3541214578.08033414549-457.080334145493
3651034979.14608423251123.853915767491
3743004098.07758440654201.922415593458
3845784290.63466759485287.365332405151
3938094440.23466759485-631.234667594848
4055264782.48033414549743.519665854508
4142474126.65750087017120.342499129829
4238304573.38900104420-743.389001044205
4343944313.2063348416380.7936651583706
4448264281.11500174034544.884998259659
4544094801.8693351897-392.869335189698
4645694466.85475113122102.145248868778
4741064635.86575008702-529.865750087017
4847945060.04566655064-266.045666550643
4939144155.86300034807-241.863000348066
5037934267.52050121824-474.520501218239
5144054394.0063348416310.9936651583711
5240224747.80908458058-725.809084580578
5341004161.32875043509-61.3287504350853
5447884677.40274973895110.597250261051
5531634486.5625826662-1323.56258266620
5635854466.02833275322-881.02833275322
5739034986.78266620258-1083.78266620258
5841784628.65391576749-450.65391576749
5938634728.32241559346-865.322415593456
6041875152.50233205708-965.502332057083







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.5657068684490810.8685862631018380.434293131550919
170.4109288827326910.8218577654653820.589071117267309
180.4572744217762290.9145488435524580.542725578223771
190.5247201079563980.9505597840872030.475279892043602
200.4675815035920270.9351630071840550.532418496407973
210.5289128721985660.9421742556028680.471087127801434
220.4644664742689280.9289329485378560.535533525731072
230.4943482723999640.988696544799930.505651727600036
240.5577913570837750.884417285832450.442208642916225
250.6977705839232640.6044588321534720.302229416076736
260.6849322483378680.6301355033242640.315067751662132
270.7409019368612120.5181961262775770.259098063138788
280.7607020233001280.4785959533997450.239297976699872
290.6778130674239830.6443738651520340.322186932576017
300.601780771459690.7964384570806190.398219228540309
310.5981558004322750.803688399135450.401844199567725
320.5152673021027480.9694653957945040.484732697897252
330.5869433254174050.826113349165190.413056674582595
340.5299624421197040.9400751157605930.470037557880296
350.5794748024435650.8410503951128690.420525197556435
360.4867961969492360.9735923938984730.513203803050764
370.3982893760041890.7965787520083790.601710623995811
380.3957755934608870.7915511869217750.604224406539112
390.3404119228406750.680823845681350.659588077159325
400.7142983370868060.5714033258263890.285701662913194
410.5948773474318770.8102453051362470.405122652568123
420.9493479606494160.1013040787011690.0506520393505844
430.937838190235590.1243236195288200.0621618097644102
440.9745636117400790.05087277651984160.0254363882599208

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.565706868449081 & 0.868586263101838 & 0.434293131550919 \tabularnewline
17 & 0.410928882732691 & 0.821857765465382 & 0.589071117267309 \tabularnewline
18 & 0.457274421776229 & 0.914548843552458 & 0.542725578223771 \tabularnewline
19 & 0.524720107956398 & 0.950559784087203 & 0.475279892043602 \tabularnewline
20 & 0.467581503592027 & 0.935163007184055 & 0.532418496407973 \tabularnewline
21 & 0.528912872198566 & 0.942174255602868 & 0.471087127801434 \tabularnewline
22 & 0.464466474268928 & 0.928932948537856 & 0.535533525731072 \tabularnewline
23 & 0.494348272399964 & 0.98869654479993 & 0.505651727600036 \tabularnewline
24 & 0.557791357083775 & 0.88441728583245 & 0.442208642916225 \tabularnewline
25 & 0.697770583923264 & 0.604458832153472 & 0.302229416076736 \tabularnewline
26 & 0.684932248337868 & 0.630135503324264 & 0.315067751662132 \tabularnewline
27 & 0.740901936861212 & 0.518196126277577 & 0.259098063138788 \tabularnewline
28 & 0.760702023300128 & 0.478595953399745 & 0.239297976699872 \tabularnewline
29 & 0.677813067423983 & 0.644373865152034 & 0.322186932576017 \tabularnewline
30 & 0.60178077145969 & 0.796438457080619 & 0.398219228540309 \tabularnewline
31 & 0.598155800432275 & 0.80368839913545 & 0.401844199567725 \tabularnewline
32 & 0.515267302102748 & 0.969465395794504 & 0.484732697897252 \tabularnewline
33 & 0.586943325417405 & 0.82611334916519 & 0.413056674582595 \tabularnewline
34 & 0.529962442119704 & 0.940075115760593 & 0.470037557880296 \tabularnewline
35 & 0.579474802443565 & 0.841050395112869 & 0.420525197556435 \tabularnewline
36 & 0.486796196949236 & 0.973592393898473 & 0.513203803050764 \tabularnewline
37 & 0.398289376004189 & 0.796578752008379 & 0.601710623995811 \tabularnewline
38 & 0.395775593460887 & 0.791551186921775 & 0.604224406539112 \tabularnewline
39 & 0.340411922840675 & 0.68082384568135 & 0.659588077159325 \tabularnewline
40 & 0.714298337086806 & 0.571403325826389 & 0.285701662913194 \tabularnewline
41 & 0.594877347431877 & 0.810245305136247 & 0.405122652568123 \tabularnewline
42 & 0.949347960649416 & 0.101304078701169 & 0.0506520393505844 \tabularnewline
43 & 0.93783819023559 & 0.124323619528820 & 0.0621618097644102 \tabularnewline
44 & 0.974563611740079 & 0.0508727765198416 & 0.0254363882599208 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58897&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.565706868449081[/C][C]0.868586263101838[/C][C]0.434293131550919[/C][/ROW]
[ROW][C]17[/C][C]0.410928882732691[/C][C]0.821857765465382[/C][C]0.589071117267309[/C][/ROW]
[ROW][C]18[/C][C]0.457274421776229[/C][C]0.914548843552458[/C][C]0.542725578223771[/C][/ROW]
[ROW][C]19[/C][C]0.524720107956398[/C][C]0.950559784087203[/C][C]0.475279892043602[/C][/ROW]
[ROW][C]20[/C][C]0.467581503592027[/C][C]0.935163007184055[/C][C]0.532418496407973[/C][/ROW]
[ROW][C]21[/C][C]0.528912872198566[/C][C]0.942174255602868[/C][C]0.471087127801434[/C][/ROW]
[ROW][C]22[/C][C]0.464466474268928[/C][C]0.928932948537856[/C][C]0.535533525731072[/C][/ROW]
[ROW][C]23[/C][C]0.494348272399964[/C][C]0.98869654479993[/C][C]0.505651727600036[/C][/ROW]
[ROW][C]24[/C][C]0.557791357083775[/C][C]0.88441728583245[/C][C]0.442208642916225[/C][/ROW]
[ROW][C]25[/C][C]0.697770583923264[/C][C]0.604458832153472[/C][C]0.302229416076736[/C][/ROW]
[ROW][C]26[/C][C]0.684932248337868[/C][C]0.630135503324264[/C][C]0.315067751662132[/C][/ROW]
[ROW][C]27[/C][C]0.740901936861212[/C][C]0.518196126277577[/C][C]0.259098063138788[/C][/ROW]
[ROW][C]28[/C][C]0.760702023300128[/C][C]0.478595953399745[/C][C]0.239297976699872[/C][/ROW]
[ROW][C]29[/C][C]0.677813067423983[/C][C]0.644373865152034[/C][C]0.322186932576017[/C][/ROW]
[ROW][C]30[/C][C]0.60178077145969[/C][C]0.796438457080619[/C][C]0.398219228540309[/C][/ROW]
[ROW][C]31[/C][C]0.598155800432275[/C][C]0.80368839913545[/C][C]0.401844199567725[/C][/ROW]
[ROW][C]32[/C][C]0.515267302102748[/C][C]0.969465395794504[/C][C]0.484732697897252[/C][/ROW]
[ROW][C]33[/C][C]0.586943325417405[/C][C]0.82611334916519[/C][C]0.413056674582595[/C][/ROW]
[ROW][C]34[/C][C]0.529962442119704[/C][C]0.940075115760593[/C][C]0.470037557880296[/C][/ROW]
[ROW][C]35[/C][C]0.579474802443565[/C][C]0.841050395112869[/C][C]0.420525197556435[/C][/ROW]
[ROW][C]36[/C][C]0.486796196949236[/C][C]0.973592393898473[/C][C]0.513203803050764[/C][/ROW]
[ROW][C]37[/C][C]0.398289376004189[/C][C]0.796578752008379[/C][C]0.601710623995811[/C][/ROW]
[ROW][C]38[/C][C]0.395775593460887[/C][C]0.791551186921775[/C][C]0.604224406539112[/C][/ROW]
[ROW][C]39[/C][C]0.340411922840675[/C][C]0.68082384568135[/C][C]0.659588077159325[/C][/ROW]
[ROW][C]40[/C][C]0.714298337086806[/C][C]0.571403325826389[/C][C]0.285701662913194[/C][/ROW]
[ROW][C]41[/C][C]0.594877347431877[/C][C]0.810245305136247[/C][C]0.405122652568123[/C][/ROW]
[ROW][C]42[/C][C]0.949347960649416[/C][C]0.101304078701169[/C][C]0.0506520393505844[/C][/ROW]
[ROW][C]43[/C][C]0.93783819023559[/C][C]0.124323619528820[/C][C]0.0621618097644102[/C][/ROW]
[ROW][C]44[/C][C]0.974563611740079[/C][C]0.0508727765198416[/C][C]0.0254363882599208[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58897&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58897&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.5657068684490810.8685862631018380.434293131550919
170.4109288827326910.8218577654653820.589071117267309
180.4572744217762290.9145488435524580.542725578223771
190.5247201079563980.9505597840872030.475279892043602
200.4675815035920270.9351630071840550.532418496407973
210.5289128721985660.9421742556028680.471087127801434
220.4644664742689280.9289329485378560.535533525731072
230.4943482723999640.988696544799930.505651727600036
240.5577913570837750.884417285832450.442208642916225
250.6977705839232640.6044588321534720.302229416076736
260.6849322483378680.6301355033242640.315067751662132
270.7409019368612120.5181961262775770.259098063138788
280.7607020233001280.4785959533997450.239297976699872
290.6778130674239830.6443738651520340.322186932576017
300.601780771459690.7964384570806190.398219228540309
310.5981558004322750.803688399135450.401844199567725
320.5152673021027480.9694653957945040.484732697897252
330.5869433254174050.826113349165190.413056674582595
340.5299624421197040.9400751157605930.470037557880296
350.5794748024435650.8410503951128690.420525197556435
360.4867961969492360.9735923938984730.513203803050764
370.3982893760041890.7965787520083790.601710623995811
380.3957755934608870.7915511869217750.604224406539112
390.3404119228406750.680823845681350.659588077159325
400.7142983370868060.5714033258263890.285701662913194
410.5948773474318770.8102453051362470.405122652568123
420.9493479606494160.1013040787011690.0506520393505844
430.937838190235590.1243236195288200.0621618097644102
440.9745636117400790.05087277651984160.0254363882599208







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 level10.0344827586206897OK

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

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



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