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 computationWed, 18 Nov 2009 08:48:52 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/18/t1258559876fe0uwm2mdjk73rm.htm/, Retrieved Sun, 05 May 2024 12:17:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57491, Retrieved Sun, 05 May 2024 12:17:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact167
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [Ws 7 regressie an...] [2009-11-18 15:48:52] [51d49d3536f6a59f2486a67bf50b2759] [Current]
Feedback Forum

Post a new message
Dataseries X:
1901	10436
1395	9314
1639	9717
1643	8997
1751	9062
1797	8885
1373	9058
1558	9095
1555	9149
2061	9857
2010	9848
2119	10269
1985	10341
1963	9690
2017	10125
1975	9349
1589	9224
1679	9224
1392	9454
1511	9347
1449	9430
1767	9933
1899	10148
2179	10677
2217	10735
2049	9760
2343	10567
2175	9333
1607	9409
1702	9502
1764	9348
1766	9319
1615	9594
1953	10160
2091	10182
2411	10810
2550	11105
2351	9874
2786	10958
2525	9311
2474	9610
2332	9398
1978	9784
1789	9425
1904	9557
1997	10166
2207	10337
2453	10770
1948	11265
1384	10183
1989	10941
2140	9628
2100	9709
2045	9637
2083	9579
2022	9741
1950	9754
1422	10508
1859	10749
2147	11079




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57491&T=0

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
aanbod[t] = -694.538989926541 + 0.266716866856385invoer[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
aanbod[t] =  -694.538989926541 +  0.266716866856385invoer[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57491&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]aanbod[t] =  -694.538989926541 +  0.266716866856385invoer[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57491&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57491&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
aanbod[t] = -694.538989926541 + 0.266716866856385invoer[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-694.538989926541595.029013-1.16720.2478920.123946
invoer0.2667168668563850.0601514.43414.2e-052.1e-05

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & -694.538989926541 & 595.029013 & -1.1672 & 0.247892 & 0.123946 \tabularnewline
invoer & 0.266716866856385 & 0.060151 & 4.4341 & 4.2e-05 & 2.1e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57491&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]-694.538989926541[/C][C]595.029013[/C][C]-1.1672[/C][C]0.247892[/C][C]0.123946[/C][/ROW]
[ROW][C]invoer[/C][C]0.266716866856385[/C][C]0.060151[/C][C]4.4341[/C][C]4.2e-05[/C][C]2.1e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57491&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57491&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)-694.538989926541595.029013-1.16720.2478920.123946
invoer0.2667168668563850.0601514.43414.2e-052.1e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.503160799709195
R-squared0.253170790363997
Adjusted R-squared0.240294424680617
F-TEST (value)19.6616651459958
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value4.17635438003661e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation283.357979599723
Sum Squared Residuals4656921.18696454

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.503160799709195 \tabularnewline
R-squared & 0.253170790363997 \tabularnewline
Adjusted R-squared & 0.240294424680617 \tabularnewline
F-TEST (value) & 19.6616651459958 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 4.17635438003661e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 283.357979599723 \tabularnewline
Sum Squared Residuals & 4656921.18696454 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57491&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.503160799709195[/C][/ROW]
[ROW][C]R-squared[/C][C]0.253170790363997[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.240294424680617[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]19.6616651459958[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]4.17635438003661e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]283.357979599723[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4656921.18696454[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57491&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57491&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.503160799709195
R-squared0.253170790363997
Adjusted R-squared0.240294424680617
F-TEST (value)19.6616651459958
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value4.17635438003661e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation283.357979599723
Sum Squared Residuals4656921.18696454







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
119012088.9182325867-187.918232586700
213951789.66190797383-394.661907973832
316391897.14880531696-258.148805316957
416431705.11266118036-62.1126611803589
517511722.4492575260228.5507424739760
617971675.24037209244121.759627907556
713731721.3823900586-348.382390058598
815581731.25091413228-173.250914132285
915551745.65362494253-190.653624942530
1020611934.48916667685126.510833323149
1120101932.0887148751477.9112851248568
1221192044.3765158216874.6234841783185
1319852063.58013023534-78.5801302353413
1419631889.9474499118373.0525500881658
1520172005.9692869943611.0307130056380
1619751798.99699831381176.003001686193
1715891765.65738995676-176.657389956758
1816791765.65738995676-86.6573899567585
1913921827.00226933373-435.002269333727
2015111798.46356458009-287.463564580094
2114491820.60106452917-371.601064529174
2217671954.75964855794-187.759648557936
2318992012.10377493206-113.103774932059
2421792153.1969974990925.8030025009131
2522172168.6665757767648.3334242232427
2620491908.61763059178140.382369408219
2723432123.85814214488219.141857855115
2821751794.72952844410380.270471555895
2916071815.00001032519-208.00001032519
3017021839.80467894283-137.804678942834
3117641798.73028144695-34.7302814469503
3217661790.99549230812-24.9954923081151
3316151864.34263069362-249.342630693621
3419532015.30437733434-62.3043773343355
3520912021.1721484051869.827851594824
3624112188.67034079099222.329659209014
3725502267.35181651362282.64818348638
3823511939.02335341341411.976646586591
3927862228.14443708573557.855562914269
4025251788.86175737326736.138242626736
4124741868.61010056332605.389899436677
4223321812.06612478977519.93387521023
4319781915.0188353963362.9811646036655
4417891819.26748019489-30.267480194892
4519041854.4741066199349.5258933800651
4619972016.90467853547-19.9046785354738
4722072062.51326276792144.486737232084
4824532178.00166611673274.998333883269
4919482310.02651521064-362.026515210642
5013842021.43886527203-637.438865272032
5119892223.61025034917-234.610250349173
5221401873.41100416674266.588995833262
5321001895.01507038211204.984929617894
5420451875.81145596845169.188544031554
5520831860.34187769078222.658122309225
5620221903.55001012151118.44998987849
5719501907.0173293906442.9826706093571
5814222108.12184700036-686.121847000358
5918592172.40061191275-313.400611912747
6021472260.41717797535-113.417177975354

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1901 & 2088.9182325867 & -187.918232586700 \tabularnewline
2 & 1395 & 1789.66190797383 & -394.661907973832 \tabularnewline
3 & 1639 & 1897.14880531696 & -258.148805316957 \tabularnewline
4 & 1643 & 1705.11266118036 & -62.1126611803589 \tabularnewline
5 & 1751 & 1722.44925752602 & 28.5507424739760 \tabularnewline
6 & 1797 & 1675.24037209244 & 121.759627907556 \tabularnewline
7 & 1373 & 1721.3823900586 & -348.382390058598 \tabularnewline
8 & 1558 & 1731.25091413228 & -173.250914132285 \tabularnewline
9 & 1555 & 1745.65362494253 & -190.653624942530 \tabularnewline
10 & 2061 & 1934.48916667685 & 126.510833323149 \tabularnewline
11 & 2010 & 1932.08871487514 & 77.9112851248568 \tabularnewline
12 & 2119 & 2044.37651582168 & 74.6234841783185 \tabularnewline
13 & 1985 & 2063.58013023534 & -78.5801302353413 \tabularnewline
14 & 1963 & 1889.94744991183 & 73.0525500881658 \tabularnewline
15 & 2017 & 2005.96928699436 & 11.0307130056380 \tabularnewline
16 & 1975 & 1798.99699831381 & 176.003001686193 \tabularnewline
17 & 1589 & 1765.65738995676 & -176.657389956758 \tabularnewline
18 & 1679 & 1765.65738995676 & -86.6573899567585 \tabularnewline
19 & 1392 & 1827.00226933373 & -435.002269333727 \tabularnewline
20 & 1511 & 1798.46356458009 & -287.463564580094 \tabularnewline
21 & 1449 & 1820.60106452917 & -371.601064529174 \tabularnewline
22 & 1767 & 1954.75964855794 & -187.759648557936 \tabularnewline
23 & 1899 & 2012.10377493206 & -113.103774932059 \tabularnewline
24 & 2179 & 2153.19699749909 & 25.8030025009131 \tabularnewline
25 & 2217 & 2168.66657577676 & 48.3334242232427 \tabularnewline
26 & 2049 & 1908.61763059178 & 140.382369408219 \tabularnewline
27 & 2343 & 2123.85814214488 & 219.141857855115 \tabularnewline
28 & 2175 & 1794.72952844410 & 380.270471555895 \tabularnewline
29 & 1607 & 1815.00001032519 & -208.00001032519 \tabularnewline
30 & 1702 & 1839.80467894283 & -137.804678942834 \tabularnewline
31 & 1764 & 1798.73028144695 & -34.7302814469503 \tabularnewline
32 & 1766 & 1790.99549230812 & -24.9954923081151 \tabularnewline
33 & 1615 & 1864.34263069362 & -249.342630693621 \tabularnewline
34 & 1953 & 2015.30437733434 & -62.3043773343355 \tabularnewline
35 & 2091 & 2021.17214840518 & 69.827851594824 \tabularnewline
36 & 2411 & 2188.67034079099 & 222.329659209014 \tabularnewline
37 & 2550 & 2267.35181651362 & 282.64818348638 \tabularnewline
38 & 2351 & 1939.02335341341 & 411.976646586591 \tabularnewline
39 & 2786 & 2228.14443708573 & 557.855562914269 \tabularnewline
40 & 2525 & 1788.86175737326 & 736.138242626736 \tabularnewline
41 & 2474 & 1868.61010056332 & 605.389899436677 \tabularnewline
42 & 2332 & 1812.06612478977 & 519.93387521023 \tabularnewline
43 & 1978 & 1915.01883539633 & 62.9811646036655 \tabularnewline
44 & 1789 & 1819.26748019489 & -30.267480194892 \tabularnewline
45 & 1904 & 1854.47410661993 & 49.5258933800651 \tabularnewline
46 & 1997 & 2016.90467853547 & -19.9046785354738 \tabularnewline
47 & 2207 & 2062.51326276792 & 144.486737232084 \tabularnewline
48 & 2453 & 2178.00166611673 & 274.998333883269 \tabularnewline
49 & 1948 & 2310.02651521064 & -362.026515210642 \tabularnewline
50 & 1384 & 2021.43886527203 & -637.438865272032 \tabularnewline
51 & 1989 & 2223.61025034917 & -234.610250349173 \tabularnewline
52 & 2140 & 1873.41100416674 & 266.588995833262 \tabularnewline
53 & 2100 & 1895.01507038211 & 204.984929617894 \tabularnewline
54 & 2045 & 1875.81145596845 & 169.188544031554 \tabularnewline
55 & 2083 & 1860.34187769078 & 222.658122309225 \tabularnewline
56 & 2022 & 1903.55001012151 & 118.44998987849 \tabularnewline
57 & 1950 & 1907.01732939064 & 42.9826706093571 \tabularnewline
58 & 1422 & 2108.12184700036 & -686.121847000358 \tabularnewline
59 & 1859 & 2172.40061191275 & -313.400611912747 \tabularnewline
60 & 2147 & 2260.41717797535 & -113.417177975354 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57491&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]1901[/C][C]2088.9182325867[/C][C]-187.918232586700[/C][/ROW]
[ROW][C]2[/C][C]1395[/C][C]1789.66190797383[/C][C]-394.661907973832[/C][/ROW]
[ROW][C]3[/C][C]1639[/C][C]1897.14880531696[/C][C]-258.148805316957[/C][/ROW]
[ROW][C]4[/C][C]1643[/C][C]1705.11266118036[/C][C]-62.1126611803589[/C][/ROW]
[ROW][C]5[/C][C]1751[/C][C]1722.44925752602[/C][C]28.5507424739760[/C][/ROW]
[ROW][C]6[/C][C]1797[/C][C]1675.24037209244[/C][C]121.759627907556[/C][/ROW]
[ROW][C]7[/C][C]1373[/C][C]1721.3823900586[/C][C]-348.382390058598[/C][/ROW]
[ROW][C]8[/C][C]1558[/C][C]1731.25091413228[/C][C]-173.250914132285[/C][/ROW]
[ROW][C]9[/C][C]1555[/C][C]1745.65362494253[/C][C]-190.653624942530[/C][/ROW]
[ROW][C]10[/C][C]2061[/C][C]1934.48916667685[/C][C]126.510833323149[/C][/ROW]
[ROW][C]11[/C][C]2010[/C][C]1932.08871487514[/C][C]77.9112851248568[/C][/ROW]
[ROW][C]12[/C][C]2119[/C][C]2044.37651582168[/C][C]74.6234841783185[/C][/ROW]
[ROW][C]13[/C][C]1985[/C][C]2063.58013023534[/C][C]-78.5801302353413[/C][/ROW]
[ROW][C]14[/C][C]1963[/C][C]1889.94744991183[/C][C]73.0525500881658[/C][/ROW]
[ROW][C]15[/C][C]2017[/C][C]2005.96928699436[/C][C]11.0307130056380[/C][/ROW]
[ROW][C]16[/C][C]1975[/C][C]1798.99699831381[/C][C]176.003001686193[/C][/ROW]
[ROW][C]17[/C][C]1589[/C][C]1765.65738995676[/C][C]-176.657389956758[/C][/ROW]
[ROW][C]18[/C][C]1679[/C][C]1765.65738995676[/C][C]-86.6573899567585[/C][/ROW]
[ROW][C]19[/C][C]1392[/C][C]1827.00226933373[/C][C]-435.002269333727[/C][/ROW]
[ROW][C]20[/C][C]1511[/C][C]1798.46356458009[/C][C]-287.463564580094[/C][/ROW]
[ROW][C]21[/C][C]1449[/C][C]1820.60106452917[/C][C]-371.601064529174[/C][/ROW]
[ROW][C]22[/C][C]1767[/C][C]1954.75964855794[/C][C]-187.759648557936[/C][/ROW]
[ROW][C]23[/C][C]1899[/C][C]2012.10377493206[/C][C]-113.103774932059[/C][/ROW]
[ROW][C]24[/C][C]2179[/C][C]2153.19699749909[/C][C]25.8030025009131[/C][/ROW]
[ROW][C]25[/C][C]2217[/C][C]2168.66657577676[/C][C]48.3334242232427[/C][/ROW]
[ROW][C]26[/C][C]2049[/C][C]1908.61763059178[/C][C]140.382369408219[/C][/ROW]
[ROW][C]27[/C][C]2343[/C][C]2123.85814214488[/C][C]219.141857855115[/C][/ROW]
[ROW][C]28[/C][C]2175[/C][C]1794.72952844410[/C][C]380.270471555895[/C][/ROW]
[ROW][C]29[/C][C]1607[/C][C]1815.00001032519[/C][C]-208.00001032519[/C][/ROW]
[ROW][C]30[/C][C]1702[/C][C]1839.80467894283[/C][C]-137.804678942834[/C][/ROW]
[ROW][C]31[/C][C]1764[/C][C]1798.73028144695[/C][C]-34.7302814469503[/C][/ROW]
[ROW][C]32[/C][C]1766[/C][C]1790.99549230812[/C][C]-24.9954923081151[/C][/ROW]
[ROW][C]33[/C][C]1615[/C][C]1864.34263069362[/C][C]-249.342630693621[/C][/ROW]
[ROW][C]34[/C][C]1953[/C][C]2015.30437733434[/C][C]-62.3043773343355[/C][/ROW]
[ROW][C]35[/C][C]2091[/C][C]2021.17214840518[/C][C]69.827851594824[/C][/ROW]
[ROW][C]36[/C][C]2411[/C][C]2188.67034079099[/C][C]222.329659209014[/C][/ROW]
[ROW][C]37[/C][C]2550[/C][C]2267.35181651362[/C][C]282.64818348638[/C][/ROW]
[ROW][C]38[/C][C]2351[/C][C]1939.02335341341[/C][C]411.976646586591[/C][/ROW]
[ROW][C]39[/C][C]2786[/C][C]2228.14443708573[/C][C]557.855562914269[/C][/ROW]
[ROW][C]40[/C][C]2525[/C][C]1788.86175737326[/C][C]736.138242626736[/C][/ROW]
[ROW][C]41[/C][C]2474[/C][C]1868.61010056332[/C][C]605.389899436677[/C][/ROW]
[ROW][C]42[/C][C]2332[/C][C]1812.06612478977[/C][C]519.93387521023[/C][/ROW]
[ROW][C]43[/C][C]1978[/C][C]1915.01883539633[/C][C]62.9811646036655[/C][/ROW]
[ROW][C]44[/C][C]1789[/C][C]1819.26748019489[/C][C]-30.267480194892[/C][/ROW]
[ROW][C]45[/C][C]1904[/C][C]1854.47410661993[/C][C]49.5258933800651[/C][/ROW]
[ROW][C]46[/C][C]1997[/C][C]2016.90467853547[/C][C]-19.9046785354738[/C][/ROW]
[ROW][C]47[/C][C]2207[/C][C]2062.51326276792[/C][C]144.486737232084[/C][/ROW]
[ROW][C]48[/C][C]2453[/C][C]2178.00166611673[/C][C]274.998333883269[/C][/ROW]
[ROW][C]49[/C][C]1948[/C][C]2310.02651521064[/C][C]-362.026515210642[/C][/ROW]
[ROW][C]50[/C][C]1384[/C][C]2021.43886527203[/C][C]-637.438865272032[/C][/ROW]
[ROW][C]51[/C][C]1989[/C][C]2223.61025034917[/C][C]-234.610250349173[/C][/ROW]
[ROW][C]52[/C][C]2140[/C][C]1873.41100416674[/C][C]266.588995833262[/C][/ROW]
[ROW][C]53[/C][C]2100[/C][C]1895.01507038211[/C][C]204.984929617894[/C][/ROW]
[ROW][C]54[/C][C]2045[/C][C]1875.81145596845[/C][C]169.188544031554[/C][/ROW]
[ROW][C]55[/C][C]2083[/C][C]1860.34187769078[/C][C]222.658122309225[/C][/ROW]
[ROW][C]56[/C][C]2022[/C][C]1903.55001012151[/C][C]118.44998987849[/C][/ROW]
[ROW][C]57[/C][C]1950[/C][C]1907.01732939064[/C][C]42.9826706093571[/C][/ROW]
[ROW][C]58[/C][C]1422[/C][C]2108.12184700036[/C][C]-686.121847000358[/C][/ROW]
[ROW][C]59[/C][C]1859[/C][C]2172.40061191275[/C][C]-313.400611912747[/C][/ROW]
[ROW][C]60[/C][C]2147[/C][C]2260.41717797535[/C][C]-113.417177975354[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57491&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57491&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
119012088.9182325867-187.918232586700
213951789.66190797383-394.661907973832
316391897.14880531696-258.148805316957
416431705.11266118036-62.1126611803589
517511722.4492575260228.5507424739760
617971675.24037209244121.759627907556
713731721.3823900586-348.382390058598
815581731.25091413228-173.250914132285
915551745.65362494253-190.653624942530
1020611934.48916667685126.510833323149
1120101932.0887148751477.9112851248568
1221192044.3765158216874.6234841783185
1319852063.58013023534-78.5801302353413
1419631889.9474499118373.0525500881658
1520172005.9692869943611.0307130056380
1619751798.99699831381176.003001686193
1715891765.65738995676-176.657389956758
1816791765.65738995676-86.6573899567585
1913921827.00226933373-435.002269333727
2015111798.46356458009-287.463564580094
2114491820.60106452917-371.601064529174
2217671954.75964855794-187.759648557936
2318992012.10377493206-113.103774932059
2421792153.1969974990925.8030025009131
2522172168.6665757767648.3334242232427
2620491908.61763059178140.382369408219
2723432123.85814214488219.141857855115
2821751794.72952844410380.270471555895
2916071815.00001032519-208.00001032519
3017021839.80467894283-137.804678942834
3117641798.73028144695-34.7302814469503
3217661790.99549230812-24.9954923081151
3316151864.34263069362-249.342630693621
3419532015.30437733434-62.3043773343355
3520912021.1721484051869.827851594824
3624112188.67034079099222.329659209014
3725502267.35181651362282.64818348638
3823511939.02335341341411.976646586591
3927862228.14443708573557.855562914269
4025251788.86175737326736.138242626736
4124741868.61010056332605.389899436677
4223321812.06612478977519.93387521023
4319781915.0188353963362.9811646036655
4417891819.26748019489-30.267480194892
4519041854.4741066199349.5258933800651
4619972016.90467853547-19.9046785354738
4722072062.51326276792144.486737232084
4824532178.00166611673274.998333883269
4919482310.02651521064-362.026515210642
5013842021.43886527203-637.438865272032
5119892223.61025034917-234.610250349173
5221401873.41100416674266.588995833262
5321001895.01507038211204.984929617894
5420451875.81145596845169.188544031554
5520831860.34187769078222.658122309225
5620221903.55001012151118.44998987849
5719501907.0173293906442.9826706093571
5814222108.12184700036-686.121847000358
5918592172.40061191275-313.400611912747
6021472260.41717797535-113.417177975354







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.2388091829771020.4776183659542040.761190817022898
60.1924551402103490.3849102804206970.807544859789651
70.2093910528097080.4187821056194160.790608947190292
80.1240142605611880.2480285211223760.875985739438812
90.07076169982061190.1415233996412240.929238300179388
100.1077027324921680.2154054649843370.892297267507832
110.09120244878541030.1824048975708210.90879755121459
120.065181101919350.1303622038387000.93481889808065
130.03732311883510370.07464623767020730.962676881164896
140.02621929434581270.05243858869162550.973780705654187
150.01451225534428340.02902451068856680.985487744655717
160.01604974950803560.03209949901607120.983950250491964
170.00997248303128090.01994496606256180.99002751696872
180.005321894765895420.01064378953179080.994678105234105
190.01398504704216940.02797009408433890.98601495295783
200.01309270124703100.02618540249406200.98690729875297
210.01905422806074040.03810845612148080.98094577193926
220.01365142837983440.02730285675966880.986348571620166
230.00832882894774950.0166576578954990.99167117105225
240.004794726017804870.009589452035609740.995205273982195
250.002707362452983190.005414724905966380.997292637547017
260.002382937791452400.004765875582904790.997617062208548
270.002165840224408760.004331680448817520.99783415977559
280.00833279685312550.0166655937062510.991667203146875
290.006929014705870820.01385802941174160.993070985294129
300.004935715082804530.009871430165609070.995064284917195
310.003274542634842510.006549085269685030.996725457365157
320.002217700885521970.004435401771043950.997782299114478
330.002677697165614740.005355394331229470.997322302834385
340.001579732428425020.003159464856850040.998420267571575
350.0008905506065076470.001781101213015290.999109449393492
360.0007438089176357020.001487617835271400.999256191082364
370.0009953659369079920.001990731873815980.999004634063092
380.002517658850214410.005035317700428810.997482341149786
390.03062437350427850.0612487470085570.969375626495722
400.2152784276879330.4305568553758670.784721572312067
410.4230615642353880.8461231284707750.576938435764612
420.5486636148915970.9026727702168050.451336385108403
430.4634340825029470.9268681650058940.536565917497053
440.4036070537050470.8072141074100930.596392946294954
450.3261597191557280.6523194383114550.673840280844272
460.2509967339123250.5019934678246510.749003266087675
470.2171119124188360.4342238248376710.782888087581164
480.3834916029288880.7669832058577760.616508397071112
490.3768649844260890.7537299688521790.623135015573911
500.7668515370621190.4662969258757620.233148462937881
510.6988924593900270.6022150812199470.301107540609973
520.6144804056611770.7710391886776460.385519594338823
530.5067835779318620.9864328441362760.493216422068138
540.373661515566330.747323031132660.62633848443367
550.2671027418633540.5342054837267080.732897258136646

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.238809182977102 & 0.477618365954204 & 0.761190817022898 \tabularnewline
6 & 0.192455140210349 & 0.384910280420697 & 0.807544859789651 \tabularnewline
7 & 0.209391052809708 & 0.418782105619416 & 0.790608947190292 \tabularnewline
8 & 0.124014260561188 & 0.248028521122376 & 0.875985739438812 \tabularnewline
9 & 0.0707616998206119 & 0.141523399641224 & 0.929238300179388 \tabularnewline
10 & 0.107702732492168 & 0.215405464984337 & 0.892297267507832 \tabularnewline
11 & 0.0912024487854103 & 0.182404897570821 & 0.90879755121459 \tabularnewline
12 & 0.06518110191935 & 0.130362203838700 & 0.93481889808065 \tabularnewline
13 & 0.0373231188351037 & 0.0746462376702073 & 0.962676881164896 \tabularnewline
14 & 0.0262192943458127 & 0.0524385886916255 & 0.973780705654187 \tabularnewline
15 & 0.0145122553442834 & 0.0290245106885668 & 0.985487744655717 \tabularnewline
16 & 0.0160497495080356 & 0.0320994990160712 & 0.983950250491964 \tabularnewline
17 & 0.0099724830312809 & 0.0199449660625618 & 0.99002751696872 \tabularnewline
18 & 0.00532189476589542 & 0.0106437895317908 & 0.994678105234105 \tabularnewline
19 & 0.0139850470421694 & 0.0279700940843389 & 0.98601495295783 \tabularnewline
20 & 0.0130927012470310 & 0.0261854024940620 & 0.98690729875297 \tabularnewline
21 & 0.0190542280607404 & 0.0381084561214808 & 0.98094577193926 \tabularnewline
22 & 0.0136514283798344 & 0.0273028567596688 & 0.986348571620166 \tabularnewline
23 & 0.0083288289477495 & 0.016657657895499 & 0.99167117105225 \tabularnewline
24 & 0.00479472601780487 & 0.00958945203560974 & 0.995205273982195 \tabularnewline
25 & 0.00270736245298319 & 0.00541472490596638 & 0.997292637547017 \tabularnewline
26 & 0.00238293779145240 & 0.00476587558290479 & 0.997617062208548 \tabularnewline
27 & 0.00216584022440876 & 0.00433168044881752 & 0.99783415977559 \tabularnewline
28 & 0.0083327968531255 & 0.016665593706251 & 0.991667203146875 \tabularnewline
29 & 0.00692901470587082 & 0.0138580294117416 & 0.993070985294129 \tabularnewline
30 & 0.00493571508280453 & 0.00987143016560907 & 0.995064284917195 \tabularnewline
31 & 0.00327454263484251 & 0.00654908526968503 & 0.996725457365157 \tabularnewline
32 & 0.00221770088552197 & 0.00443540177104395 & 0.997782299114478 \tabularnewline
33 & 0.00267769716561474 & 0.00535539433122947 & 0.997322302834385 \tabularnewline
34 & 0.00157973242842502 & 0.00315946485685004 & 0.998420267571575 \tabularnewline
35 & 0.000890550606507647 & 0.00178110121301529 & 0.999109449393492 \tabularnewline
36 & 0.000743808917635702 & 0.00148761783527140 & 0.999256191082364 \tabularnewline
37 & 0.000995365936907992 & 0.00199073187381598 & 0.999004634063092 \tabularnewline
38 & 0.00251765885021441 & 0.00503531770042881 & 0.997482341149786 \tabularnewline
39 & 0.0306243735042785 & 0.061248747008557 & 0.969375626495722 \tabularnewline
40 & 0.215278427687933 & 0.430556855375867 & 0.784721572312067 \tabularnewline
41 & 0.423061564235388 & 0.846123128470775 & 0.576938435764612 \tabularnewline
42 & 0.548663614891597 & 0.902672770216805 & 0.451336385108403 \tabularnewline
43 & 0.463434082502947 & 0.926868165005894 & 0.536565917497053 \tabularnewline
44 & 0.403607053705047 & 0.807214107410093 & 0.596392946294954 \tabularnewline
45 & 0.326159719155728 & 0.652319438311455 & 0.673840280844272 \tabularnewline
46 & 0.250996733912325 & 0.501993467824651 & 0.749003266087675 \tabularnewline
47 & 0.217111912418836 & 0.434223824837671 & 0.782888087581164 \tabularnewline
48 & 0.383491602928888 & 0.766983205857776 & 0.616508397071112 \tabularnewline
49 & 0.376864984426089 & 0.753729968852179 & 0.623135015573911 \tabularnewline
50 & 0.766851537062119 & 0.466296925875762 & 0.233148462937881 \tabularnewline
51 & 0.698892459390027 & 0.602215081219947 & 0.301107540609973 \tabularnewline
52 & 0.614480405661177 & 0.771039188677646 & 0.385519594338823 \tabularnewline
53 & 0.506783577931862 & 0.986432844136276 & 0.493216422068138 \tabularnewline
54 & 0.37366151556633 & 0.74732303113266 & 0.62633848443367 \tabularnewline
55 & 0.267102741863354 & 0.534205483726708 & 0.732897258136646 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57491&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]5[/C][C]0.238809182977102[/C][C]0.477618365954204[/C][C]0.761190817022898[/C][/ROW]
[ROW][C]6[/C][C]0.192455140210349[/C][C]0.384910280420697[/C][C]0.807544859789651[/C][/ROW]
[ROW][C]7[/C][C]0.209391052809708[/C][C]0.418782105619416[/C][C]0.790608947190292[/C][/ROW]
[ROW][C]8[/C][C]0.124014260561188[/C][C]0.248028521122376[/C][C]0.875985739438812[/C][/ROW]
[ROW][C]9[/C][C]0.0707616998206119[/C][C]0.141523399641224[/C][C]0.929238300179388[/C][/ROW]
[ROW][C]10[/C][C]0.107702732492168[/C][C]0.215405464984337[/C][C]0.892297267507832[/C][/ROW]
[ROW][C]11[/C][C]0.0912024487854103[/C][C]0.182404897570821[/C][C]0.90879755121459[/C][/ROW]
[ROW][C]12[/C][C]0.06518110191935[/C][C]0.130362203838700[/C][C]0.93481889808065[/C][/ROW]
[ROW][C]13[/C][C]0.0373231188351037[/C][C]0.0746462376702073[/C][C]0.962676881164896[/C][/ROW]
[ROW][C]14[/C][C]0.0262192943458127[/C][C]0.0524385886916255[/C][C]0.973780705654187[/C][/ROW]
[ROW][C]15[/C][C]0.0145122553442834[/C][C]0.0290245106885668[/C][C]0.985487744655717[/C][/ROW]
[ROW][C]16[/C][C]0.0160497495080356[/C][C]0.0320994990160712[/C][C]0.983950250491964[/C][/ROW]
[ROW][C]17[/C][C]0.0099724830312809[/C][C]0.0199449660625618[/C][C]0.99002751696872[/C][/ROW]
[ROW][C]18[/C][C]0.00532189476589542[/C][C]0.0106437895317908[/C][C]0.994678105234105[/C][/ROW]
[ROW][C]19[/C][C]0.0139850470421694[/C][C]0.0279700940843389[/C][C]0.98601495295783[/C][/ROW]
[ROW][C]20[/C][C]0.0130927012470310[/C][C]0.0261854024940620[/C][C]0.98690729875297[/C][/ROW]
[ROW][C]21[/C][C]0.0190542280607404[/C][C]0.0381084561214808[/C][C]0.98094577193926[/C][/ROW]
[ROW][C]22[/C][C]0.0136514283798344[/C][C]0.0273028567596688[/C][C]0.986348571620166[/C][/ROW]
[ROW][C]23[/C][C]0.0083288289477495[/C][C]0.016657657895499[/C][C]0.99167117105225[/C][/ROW]
[ROW][C]24[/C][C]0.00479472601780487[/C][C]0.00958945203560974[/C][C]0.995205273982195[/C][/ROW]
[ROW][C]25[/C][C]0.00270736245298319[/C][C]0.00541472490596638[/C][C]0.997292637547017[/C][/ROW]
[ROW][C]26[/C][C]0.00238293779145240[/C][C]0.00476587558290479[/C][C]0.997617062208548[/C][/ROW]
[ROW][C]27[/C][C]0.00216584022440876[/C][C]0.00433168044881752[/C][C]0.99783415977559[/C][/ROW]
[ROW][C]28[/C][C]0.0083327968531255[/C][C]0.016665593706251[/C][C]0.991667203146875[/C][/ROW]
[ROW][C]29[/C][C]0.00692901470587082[/C][C]0.0138580294117416[/C][C]0.993070985294129[/C][/ROW]
[ROW][C]30[/C][C]0.00493571508280453[/C][C]0.00987143016560907[/C][C]0.995064284917195[/C][/ROW]
[ROW][C]31[/C][C]0.00327454263484251[/C][C]0.00654908526968503[/C][C]0.996725457365157[/C][/ROW]
[ROW][C]32[/C][C]0.00221770088552197[/C][C]0.00443540177104395[/C][C]0.997782299114478[/C][/ROW]
[ROW][C]33[/C][C]0.00267769716561474[/C][C]0.00535539433122947[/C][C]0.997322302834385[/C][/ROW]
[ROW][C]34[/C][C]0.00157973242842502[/C][C]0.00315946485685004[/C][C]0.998420267571575[/C][/ROW]
[ROW][C]35[/C][C]0.000890550606507647[/C][C]0.00178110121301529[/C][C]0.999109449393492[/C][/ROW]
[ROW][C]36[/C][C]0.000743808917635702[/C][C]0.00148761783527140[/C][C]0.999256191082364[/C][/ROW]
[ROW][C]37[/C][C]0.000995365936907992[/C][C]0.00199073187381598[/C][C]0.999004634063092[/C][/ROW]
[ROW][C]38[/C][C]0.00251765885021441[/C][C]0.00503531770042881[/C][C]0.997482341149786[/C][/ROW]
[ROW][C]39[/C][C]0.0306243735042785[/C][C]0.061248747008557[/C][C]0.969375626495722[/C][/ROW]
[ROW][C]40[/C][C]0.215278427687933[/C][C]0.430556855375867[/C][C]0.784721572312067[/C][/ROW]
[ROW][C]41[/C][C]0.423061564235388[/C][C]0.846123128470775[/C][C]0.576938435764612[/C][/ROW]
[ROW][C]42[/C][C]0.548663614891597[/C][C]0.902672770216805[/C][C]0.451336385108403[/C][/ROW]
[ROW][C]43[/C][C]0.463434082502947[/C][C]0.926868165005894[/C][C]0.536565917497053[/C][/ROW]
[ROW][C]44[/C][C]0.403607053705047[/C][C]0.807214107410093[/C][C]0.596392946294954[/C][/ROW]
[ROW][C]45[/C][C]0.326159719155728[/C][C]0.652319438311455[/C][C]0.673840280844272[/C][/ROW]
[ROW][C]46[/C][C]0.250996733912325[/C][C]0.501993467824651[/C][C]0.749003266087675[/C][/ROW]
[ROW][C]47[/C][C]0.217111912418836[/C][C]0.434223824837671[/C][C]0.782888087581164[/C][/ROW]
[ROW][C]48[/C][C]0.383491602928888[/C][C]0.766983205857776[/C][C]0.616508397071112[/C][/ROW]
[ROW][C]49[/C][C]0.376864984426089[/C][C]0.753729968852179[/C][C]0.623135015573911[/C][/ROW]
[ROW][C]50[/C][C]0.766851537062119[/C][C]0.466296925875762[/C][C]0.233148462937881[/C][/ROW]
[ROW][C]51[/C][C]0.698892459390027[/C][C]0.602215081219947[/C][C]0.301107540609973[/C][/ROW]
[ROW][C]52[/C][C]0.614480405661177[/C][C]0.771039188677646[/C][C]0.385519594338823[/C][/ROW]
[ROW][C]53[/C][C]0.506783577931862[/C][C]0.986432844136276[/C][C]0.493216422068138[/C][/ROW]
[ROW][C]54[/C][C]0.37366151556633[/C][C]0.74732303113266[/C][C]0.62633848443367[/C][/ROW]
[ROW][C]55[/C][C]0.267102741863354[/C][C]0.534205483726708[/C][C]0.732897258136646[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57491&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.2388091829771020.4776183659542040.761190817022898
60.1924551402103490.3849102804206970.807544859789651
70.2093910528097080.4187821056194160.790608947190292
80.1240142605611880.2480285211223760.875985739438812
90.07076169982061190.1415233996412240.929238300179388
100.1077027324921680.2154054649843370.892297267507832
110.09120244878541030.1824048975708210.90879755121459
120.065181101919350.1303622038387000.93481889808065
130.03732311883510370.07464623767020730.962676881164896
140.02621929434581270.05243858869162550.973780705654187
150.01451225534428340.02902451068856680.985487744655717
160.01604974950803560.03209949901607120.983950250491964
170.00997248303128090.01994496606256180.99002751696872
180.005321894765895420.01064378953179080.994678105234105
190.01398504704216940.02797009408433890.98601495295783
200.01309270124703100.02618540249406200.98690729875297
210.01905422806074040.03810845612148080.98094577193926
220.01365142837983440.02730285675966880.986348571620166
230.00832882894774950.0166576578954990.99167117105225
240.004794726017804870.009589452035609740.995205273982195
250.002707362452983190.005414724905966380.997292637547017
260.002382937791452400.004765875582904790.997617062208548
270.002165840224408760.004331680448817520.99783415977559
280.00833279685312550.0166655937062510.991667203146875
290.006929014705870820.01385802941174160.993070985294129
300.004935715082804530.009871430165609070.995064284917195
310.003274542634842510.006549085269685030.996725457365157
320.002217700885521970.004435401771043950.997782299114478
330.002677697165614740.005355394331229470.997322302834385
340.001579732428425020.003159464856850040.998420267571575
350.0008905506065076470.001781101213015290.999109449393492
360.0007438089176357020.001487617835271400.999256191082364
370.0009953659369079920.001990731873815980.999004634063092
380.002517658850214410.005035317700428810.997482341149786
390.03062437350427850.0612487470085570.969375626495722
400.2152784276879330.4305568553758670.784721572312067
410.4230615642353880.8461231284707750.576938435764612
420.5486636148915970.9026727702168050.451336385108403
430.4634340825029470.9268681650058940.536565917497053
440.4036070537050470.8072141074100930.596392946294954
450.3261597191557280.6523194383114550.673840280844272
460.2509967339123250.5019934678246510.749003266087675
470.2171119124188360.4342238248376710.782888087581164
480.3834916029288880.7669832058577760.616508397071112
490.3768649844260890.7537299688521790.623135015573911
500.7668515370621190.4662969258757620.233148462937881
510.6988924593900270.6022150812199470.301107540609973
520.6144804056611770.7710391886776460.385519594338823
530.5067835779318620.9864328441362760.493216422068138
540.373661515566330.747323031132660.62633848443367
550.2671027418633540.5342054837267080.732897258136646







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.254901960784314NOK
5% type I error level240.470588235294118NOK
10% type I error level270.529411764705882NOK

\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 & 13 & 0.254901960784314 & NOK \tabularnewline
5% type I error level & 24 & 0.470588235294118 & NOK \tabularnewline
10% type I error level & 27 & 0.529411764705882 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57491&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]13[/C][C]0.254901960784314[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]24[/C][C]0.470588235294118[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]27[/C][C]0.529411764705882[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57491&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57491&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 level130.254901960784314NOK
5% type I error level240.470588235294118NOK
10% type I error level270.529411764705882NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}