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, 01 Dec 2008 13:13:49 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/01/t1228162519fxo4hdsszm1w6d8.htm/, Retrieved Sun, 05 May 2024 10:32:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27320, Retrieved Sun, 05 May 2024 10:32:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsbloginvest2
Estimated Impact164
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [blog invest2] [2008-12-01 20:13:49] [0cdfeda4aa2f9e551c2e529c44a404df] [Current]
-         [Multiple Regression] [investeringen pap...] [2008-12-01 20:43:15] [7a664918911e34206ce9d0436dd7c1c8]
Feedback Forum

Post a new message
Dataseries X:
1202455	1
1201423	0
1505916	0
1513378	0
1977605	0
1873830	0
1424049	0
1322740	0
1584826	0
1680460	0
1648574	0
3095469	1
1307983	0
1367589	0
1572718	0
1611603	0
1641196	0
1845262	0
1464238	0
1402386	0
2077100	0
1691130	0
1729013	0
3347792	1
1365088	0
1545460	0
1844355	0
1775550	0
1721779	0
2128726	0
1664320	0
1769471	0
1904578	0
1872042	0
1802181	0
3222199	1
1491414	0
1658519	0
2079207	0
1748767	0
2084447	0
2067182	0
1718123	0
1782337	0
1958118	0
2028681	0
2076128	0
3383873	1
1870369	0
1654853	0
2074338	0
1888654	0
1991138	0
2168238	0
1867424	0
1842360	0
1927476	0
2065555	0
2455609	0
3336171	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 6 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27320&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27320&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27320&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 time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
x[t] = + 2979354.60869565 -31710.9130434815y[t] -1754340.28188406M1[t] -1731727.05072464M2[t] -1411140.63695652M3[t] -1528008.62318841M4[t] -1361517.60942029M5[t] -1237254.59565218M6[t] -1635422.98188406M7[t] -1648346.56811594M8[t] -1390937.35434783M9[t] -1422934.94057971M10[t] -1357359.12681160M11[t] + 9151.58623188406t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
x[t] =  +  2979354.60869565 -31710.9130434815y[t] -1754340.28188406M1[t] -1731727.05072464M2[t] -1411140.63695652M3[t] -1528008.62318841M4[t] -1361517.60942029M5[t] -1237254.59565218M6[t] -1635422.98188406M7[t] -1648346.56811594M8[t] -1390937.35434783M9[t] -1422934.94057971M10[t] -1357359.12681160M11[t] +  9151.58623188406t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27320&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]x[t] =  +  2979354.60869565 -31710.9130434815y[t] -1754340.28188406M1[t] -1731727.05072464M2[t] -1411140.63695652M3[t] -1528008.62318841M4[t] -1361517.60942029M5[t] -1237254.59565218M6[t] -1635422.98188406M7[t] -1648346.56811594M8[t] -1390937.35434783M9[t] -1422934.94057971M10[t] -1357359.12681160M11[t] +  9151.58623188406t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27320&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27320&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
x[t] = + 2979354.60869565 -31710.9130434815y[t] -1754340.28188406M1[t] -1731727.05072464M2[t] -1411140.63695652M3[t] -1528008.62318841M4[t] -1361517.60942029M5[t] -1237254.59565218M6[t] -1635422.98188406M7[t] -1648346.56811594M8[t] -1390937.35434783M9[t] -1422934.94057971M10[t] -1357359.12681160M11[t] + 9151.58623188406t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2979354.60869565161109.64178118.492700
y-31710.9130434815140583.401935-0.22560.8225380.411269
M1-1754340.28188406138936.874338-12.626900
M2-1731727.05072464162680.81869-10.644900
M3-1411140.63695652162458.502064-8.686200
M4-1528008.62318841162241.520541-9.418100
M5-1361517.60942029162029.895556-8.402900
M6-1237254.59565218161823.648123-7.645700
M7-1635422.98188406161622.798829-10.118800
M8-1648346.56811594161427.367823-10.211100
M9-1390937.35434783161237.374808-8.626600
M10-1422934.94057971161052.839028-8.835200
M11-1357359.12681160160873.779264-8.437400
t9151.58623188406956.5488929.567300

\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) & 2979354.60869565 & 161109.641781 & 18.4927 & 0 & 0 \tabularnewline
y & -31710.9130434815 & 140583.401935 & -0.2256 & 0.822538 & 0.411269 \tabularnewline
M1 & -1754340.28188406 & 138936.874338 & -12.6269 & 0 & 0 \tabularnewline
M2 & -1731727.05072464 & 162680.81869 & -10.6449 & 0 & 0 \tabularnewline
M3 & -1411140.63695652 & 162458.502064 & -8.6862 & 0 & 0 \tabularnewline
M4 & -1528008.62318841 & 162241.520541 & -9.4181 & 0 & 0 \tabularnewline
M5 & -1361517.60942029 & 162029.895556 & -8.4029 & 0 & 0 \tabularnewline
M6 & -1237254.59565218 & 161823.648123 & -7.6457 & 0 & 0 \tabularnewline
M7 & -1635422.98188406 & 161622.798829 & -10.1188 & 0 & 0 \tabularnewline
M8 & -1648346.56811594 & 161427.367823 & -10.2111 & 0 & 0 \tabularnewline
M9 & -1390937.35434783 & 161237.374808 & -8.6266 & 0 & 0 \tabularnewline
M10 & -1422934.94057971 & 161052.839028 & -8.8352 & 0 & 0 \tabularnewline
M11 & -1357359.12681160 & 160873.779264 & -8.4374 & 0 & 0 \tabularnewline
t & 9151.58623188406 & 956.548892 & 9.5673 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27320&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]2979354.60869565[/C][C]161109.641781[/C][C]18.4927[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]y[/C][C]-31710.9130434815[/C][C]140583.401935[/C][C]-0.2256[/C][C]0.822538[/C][C]0.411269[/C][/ROW]
[ROW][C]M1[/C][C]-1754340.28188406[/C][C]138936.874338[/C][C]-12.6269[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M2[/C][C]-1731727.05072464[/C][C]162680.81869[/C][C]-10.6449[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]-1411140.63695652[/C][C]162458.502064[/C][C]-8.6862[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]-1528008.62318841[/C][C]162241.520541[/C][C]-9.4181[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]-1361517.60942029[/C][C]162029.895556[/C][C]-8.4029[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]-1237254.59565218[/C][C]161823.648123[/C][C]-7.6457[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]-1635422.98188406[/C][C]161622.798829[/C][C]-10.1188[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-1648346.56811594[/C][C]161427.367823[/C][C]-10.2111[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]-1390937.35434783[/C][C]161237.374808[/C][C]-8.6266[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-1422934.94057971[/C][C]161052.839028[/C][C]-8.8352[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-1357359.12681160[/C][C]160873.779264[/C][C]-8.4374[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]9151.58623188406[/C][C]956.548892[/C][C]9.5673[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27320&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27320&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)2979354.60869565161109.64178118.492700
y-31710.9130434815140583.401935-0.22560.8225380.411269
M1-1754340.28188406138936.874338-12.626900
M2-1731727.05072464162680.81869-10.644900
M3-1411140.63695652162458.502064-8.686200
M4-1528008.62318841162241.520541-9.418100
M5-1361517.60942029162029.895556-8.402900
M6-1237254.59565218161823.648123-7.645700
M7-1635422.98188406161622.798829-10.118800
M8-1648346.56811594161427.367823-10.211100
M9-1390937.35434783161237.374808-8.626600
M10-1422934.94057971161052.839028-8.835200
M11-1357359.12681160160873.779264-8.437400
t9151.58623188406956.5488929.567300







Multiple Linear Regression - Regression Statistics
Multiple R0.97577386236217
R-squared0.952134630469186
Adjusted R-squared0.938607460819174
F-TEST (value)70.386832952029
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation123094.128845673
Sum Squared Residuals696999569588.661

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.97577386236217 \tabularnewline
R-squared & 0.952134630469186 \tabularnewline
Adjusted R-squared & 0.938607460819174 \tabularnewline
F-TEST (value) & 70.386832952029 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 123094.128845673 \tabularnewline
Sum Squared Residuals & 696999569588.661 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27320&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.97577386236217[/C][/ROW]
[ROW][C]R-squared[/C][C]0.952134630469186[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.938607460819174[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]70.386832952029[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]123094.128845673[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]696999569588.661[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27320&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27320&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.97577386236217
R-squared0.952134630469186
Adjusted R-squared0.938607460819174
F-TEST (value)70.386832952029
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation123094.128845673
Sum Squared Residuals696999569588.661







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112024551202455-1.92825311273737e-10
212014231265930.73043478-64507.7304347826
315059161595668.73043478-89752.7304347826
415133781487952.3304347825425.6695652181
519776051663594.93043478314010.069565218
618738301797009.5304347876820.4695652174
714240491407992.7304347816056.2695652175
813227401404220.73043478-81480.7304347829
915848261670781.53043478-85955.5304347824
1016804601647935.5304347832524.4695652176
1116485741722662.93043478-74088.9304347826
1230954693057462.7304347838006.2695652168
1313079831343984.94782609-36001.9478260869
1413675891375749.76521739-8160.7652173914
1515727181705487.76521739-132769.765217391
1616116031597771.3652173913831.6347826085
1716411961773413.96521739-132217.965217392
1818452621906828.56521739-61566.5652173913
1914642381517811.76521739-53573.7652173914
2014023861514039.76521739-111653.765217391
2120771001780600.56521739296499.434782609
2216911301757754.56521739-66624.5652173914
2317290131832481.96521739-103468.965217391
2433477923167281.76521739180510.234782609
2513650881453803.98260870-88715.9826086957
2615454601485568.859891.2
2718443551815306.829048.2
2817755501707590.467959.5999999998
2917217791883233-161454
3021287262016647.6112078.4
3116643201627630.836689.1999999999
3217694711623858.8145612.2
3319045781890419.614158.3999999999
3418720421867573.64468.39999999993
3518021811942301-140120
3632221993277100.8-54901.7999999999
3714914141563623.01739130-72209.0173913043
3816585191595387.8347826163131.1652173913
3920792071925125.83478261154081.165217391
4017487671817409.43478261-68642.4347826088
4120844471993052.0347826191394.9652173912
4220671822126466.63478261-59284.6347826086
4317181231737449.83478261-19326.8347826087
4417823371733677.8347826148659.1652173915
4519581182000238.63478261-42120.6347826086
4620286811977392.6347826151288.3652173913
4720761282052120.0347826124007.9652173913
4833838733386919.83478261-3046.83478260846
4918703691673442.05217391196926.947826087
5016548531705206.86956522-50353.8695652174
5120743382034944.8695652239393.1304347826
5218886541927228.46956522-38574.4695652175
5319911382102871.06956522-111733.069565217
5421682382236285.66956522-68047.6695652174
5518674241847268.8695652220155.1304347827
5618423601843496.86956522-1136.86956521728
5719274762110057.66956522-182581.669565217
5820655552087211.66956522-21656.6695652174
5924556092161939.06956522293669.930434783
6033361713496738.86956522-160567.869565217

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1202455 & 1202455 & -1.92825311273737e-10 \tabularnewline
2 & 1201423 & 1265930.73043478 & -64507.7304347826 \tabularnewline
3 & 1505916 & 1595668.73043478 & -89752.7304347826 \tabularnewline
4 & 1513378 & 1487952.33043478 & 25425.6695652181 \tabularnewline
5 & 1977605 & 1663594.93043478 & 314010.069565218 \tabularnewline
6 & 1873830 & 1797009.53043478 & 76820.4695652174 \tabularnewline
7 & 1424049 & 1407992.73043478 & 16056.2695652175 \tabularnewline
8 & 1322740 & 1404220.73043478 & -81480.7304347829 \tabularnewline
9 & 1584826 & 1670781.53043478 & -85955.5304347824 \tabularnewline
10 & 1680460 & 1647935.53043478 & 32524.4695652176 \tabularnewline
11 & 1648574 & 1722662.93043478 & -74088.9304347826 \tabularnewline
12 & 3095469 & 3057462.73043478 & 38006.2695652168 \tabularnewline
13 & 1307983 & 1343984.94782609 & -36001.9478260869 \tabularnewline
14 & 1367589 & 1375749.76521739 & -8160.7652173914 \tabularnewline
15 & 1572718 & 1705487.76521739 & -132769.765217391 \tabularnewline
16 & 1611603 & 1597771.36521739 & 13831.6347826085 \tabularnewline
17 & 1641196 & 1773413.96521739 & -132217.965217392 \tabularnewline
18 & 1845262 & 1906828.56521739 & -61566.5652173913 \tabularnewline
19 & 1464238 & 1517811.76521739 & -53573.7652173914 \tabularnewline
20 & 1402386 & 1514039.76521739 & -111653.765217391 \tabularnewline
21 & 2077100 & 1780600.56521739 & 296499.434782609 \tabularnewline
22 & 1691130 & 1757754.56521739 & -66624.5652173914 \tabularnewline
23 & 1729013 & 1832481.96521739 & -103468.965217391 \tabularnewline
24 & 3347792 & 3167281.76521739 & 180510.234782609 \tabularnewline
25 & 1365088 & 1453803.98260870 & -88715.9826086957 \tabularnewline
26 & 1545460 & 1485568.8 & 59891.2 \tabularnewline
27 & 1844355 & 1815306.8 & 29048.2 \tabularnewline
28 & 1775550 & 1707590.4 & 67959.5999999998 \tabularnewline
29 & 1721779 & 1883233 & -161454 \tabularnewline
30 & 2128726 & 2016647.6 & 112078.4 \tabularnewline
31 & 1664320 & 1627630.8 & 36689.1999999999 \tabularnewline
32 & 1769471 & 1623858.8 & 145612.2 \tabularnewline
33 & 1904578 & 1890419.6 & 14158.3999999999 \tabularnewline
34 & 1872042 & 1867573.6 & 4468.39999999993 \tabularnewline
35 & 1802181 & 1942301 & -140120 \tabularnewline
36 & 3222199 & 3277100.8 & -54901.7999999999 \tabularnewline
37 & 1491414 & 1563623.01739130 & -72209.0173913043 \tabularnewline
38 & 1658519 & 1595387.83478261 & 63131.1652173913 \tabularnewline
39 & 2079207 & 1925125.83478261 & 154081.165217391 \tabularnewline
40 & 1748767 & 1817409.43478261 & -68642.4347826088 \tabularnewline
41 & 2084447 & 1993052.03478261 & 91394.9652173912 \tabularnewline
42 & 2067182 & 2126466.63478261 & -59284.6347826086 \tabularnewline
43 & 1718123 & 1737449.83478261 & -19326.8347826087 \tabularnewline
44 & 1782337 & 1733677.83478261 & 48659.1652173915 \tabularnewline
45 & 1958118 & 2000238.63478261 & -42120.6347826086 \tabularnewline
46 & 2028681 & 1977392.63478261 & 51288.3652173913 \tabularnewline
47 & 2076128 & 2052120.03478261 & 24007.9652173913 \tabularnewline
48 & 3383873 & 3386919.83478261 & -3046.83478260846 \tabularnewline
49 & 1870369 & 1673442.05217391 & 196926.947826087 \tabularnewline
50 & 1654853 & 1705206.86956522 & -50353.8695652174 \tabularnewline
51 & 2074338 & 2034944.86956522 & 39393.1304347826 \tabularnewline
52 & 1888654 & 1927228.46956522 & -38574.4695652175 \tabularnewline
53 & 1991138 & 2102871.06956522 & -111733.069565217 \tabularnewline
54 & 2168238 & 2236285.66956522 & -68047.6695652174 \tabularnewline
55 & 1867424 & 1847268.86956522 & 20155.1304347827 \tabularnewline
56 & 1842360 & 1843496.86956522 & -1136.86956521728 \tabularnewline
57 & 1927476 & 2110057.66956522 & -182581.669565217 \tabularnewline
58 & 2065555 & 2087211.66956522 & -21656.6695652174 \tabularnewline
59 & 2455609 & 2161939.06956522 & 293669.930434783 \tabularnewline
60 & 3336171 & 3496738.86956522 & -160567.869565217 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27320&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]1202455[/C][C]1202455[/C][C]-1.92825311273737e-10[/C][/ROW]
[ROW][C]2[/C][C]1201423[/C][C]1265930.73043478[/C][C]-64507.7304347826[/C][/ROW]
[ROW][C]3[/C][C]1505916[/C][C]1595668.73043478[/C][C]-89752.7304347826[/C][/ROW]
[ROW][C]4[/C][C]1513378[/C][C]1487952.33043478[/C][C]25425.6695652181[/C][/ROW]
[ROW][C]5[/C][C]1977605[/C][C]1663594.93043478[/C][C]314010.069565218[/C][/ROW]
[ROW][C]6[/C][C]1873830[/C][C]1797009.53043478[/C][C]76820.4695652174[/C][/ROW]
[ROW][C]7[/C][C]1424049[/C][C]1407992.73043478[/C][C]16056.2695652175[/C][/ROW]
[ROW][C]8[/C][C]1322740[/C][C]1404220.73043478[/C][C]-81480.7304347829[/C][/ROW]
[ROW][C]9[/C][C]1584826[/C][C]1670781.53043478[/C][C]-85955.5304347824[/C][/ROW]
[ROW][C]10[/C][C]1680460[/C][C]1647935.53043478[/C][C]32524.4695652176[/C][/ROW]
[ROW][C]11[/C][C]1648574[/C][C]1722662.93043478[/C][C]-74088.9304347826[/C][/ROW]
[ROW][C]12[/C][C]3095469[/C][C]3057462.73043478[/C][C]38006.2695652168[/C][/ROW]
[ROW][C]13[/C][C]1307983[/C][C]1343984.94782609[/C][C]-36001.9478260869[/C][/ROW]
[ROW][C]14[/C][C]1367589[/C][C]1375749.76521739[/C][C]-8160.7652173914[/C][/ROW]
[ROW][C]15[/C][C]1572718[/C][C]1705487.76521739[/C][C]-132769.765217391[/C][/ROW]
[ROW][C]16[/C][C]1611603[/C][C]1597771.36521739[/C][C]13831.6347826085[/C][/ROW]
[ROW][C]17[/C][C]1641196[/C][C]1773413.96521739[/C][C]-132217.965217392[/C][/ROW]
[ROW][C]18[/C][C]1845262[/C][C]1906828.56521739[/C][C]-61566.5652173913[/C][/ROW]
[ROW][C]19[/C][C]1464238[/C][C]1517811.76521739[/C][C]-53573.7652173914[/C][/ROW]
[ROW][C]20[/C][C]1402386[/C][C]1514039.76521739[/C][C]-111653.765217391[/C][/ROW]
[ROW][C]21[/C][C]2077100[/C][C]1780600.56521739[/C][C]296499.434782609[/C][/ROW]
[ROW][C]22[/C][C]1691130[/C][C]1757754.56521739[/C][C]-66624.5652173914[/C][/ROW]
[ROW][C]23[/C][C]1729013[/C][C]1832481.96521739[/C][C]-103468.965217391[/C][/ROW]
[ROW][C]24[/C][C]3347792[/C][C]3167281.76521739[/C][C]180510.234782609[/C][/ROW]
[ROW][C]25[/C][C]1365088[/C][C]1453803.98260870[/C][C]-88715.9826086957[/C][/ROW]
[ROW][C]26[/C][C]1545460[/C][C]1485568.8[/C][C]59891.2[/C][/ROW]
[ROW][C]27[/C][C]1844355[/C][C]1815306.8[/C][C]29048.2[/C][/ROW]
[ROW][C]28[/C][C]1775550[/C][C]1707590.4[/C][C]67959.5999999998[/C][/ROW]
[ROW][C]29[/C][C]1721779[/C][C]1883233[/C][C]-161454[/C][/ROW]
[ROW][C]30[/C][C]2128726[/C][C]2016647.6[/C][C]112078.4[/C][/ROW]
[ROW][C]31[/C][C]1664320[/C][C]1627630.8[/C][C]36689.1999999999[/C][/ROW]
[ROW][C]32[/C][C]1769471[/C][C]1623858.8[/C][C]145612.2[/C][/ROW]
[ROW][C]33[/C][C]1904578[/C][C]1890419.6[/C][C]14158.3999999999[/C][/ROW]
[ROW][C]34[/C][C]1872042[/C][C]1867573.6[/C][C]4468.39999999993[/C][/ROW]
[ROW][C]35[/C][C]1802181[/C][C]1942301[/C][C]-140120[/C][/ROW]
[ROW][C]36[/C][C]3222199[/C][C]3277100.8[/C][C]-54901.7999999999[/C][/ROW]
[ROW][C]37[/C][C]1491414[/C][C]1563623.01739130[/C][C]-72209.0173913043[/C][/ROW]
[ROW][C]38[/C][C]1658519[/C][C]1595387.83478261[/C][C]63131.1652173913[/C][/ROW]
[ROW][C]39[/C][C]2079207[/C][C]1925125.83478261[/C][C]154081.165217391[/C][/ROW]
[ROW][C]40[/C][C]1748767[/C][C]1817409.43478261[/C][C]-68642.4347826088[/C][/ROW]
[ROW][C]41[/C][C]2084447[/C][C]1993052.03478261[/C][C]91394.9652173912[/C][/ROW]
[ROW][C]42[/C][C]2067182[/C][C]2126466.63478261[/C][C]-59284.6347826086[/C][/ROW]
[ROW][C]43[/C][C]1718123[/C][C]1737449.83478261[/C][C]-19326.8347826087[/C][/ROW]
[ROW][C]44[/C][C]1782337[/C][C]1733677.83478261[/C][C]48659.1652173915[/C][/ROW]
[ROW][C]45[/C][C]1958118[/C][C]2000238.63478261[/C][C]-42120.6347826086[/C][/ROW]
[ROW][C]46[/C][C]2028681[/C][C]1977392.63478261[/C][C]51288.3652173913[/C][/ROW]
[ROW][C]47[/C][C]2076128[/C][C]2052120.03478261[/C][C]24007.9652173913[/C][/ROW]
[ROW][C]48[/C][C]3383873[/C][C]3386919.83478261[/C][C]-3046.83478260846[/C][/ROW]
[ROW][C]49[/C][C]1870369[/C][C]1673442.05217391[/C][C]196926.947826087[/C][/ROW]
[ROW][C]50[/C][C]1654853[/C][C]1705206.86956522[/C][C]-50353.8695652174[/C][/ROW]
[ROW][C]51[/C][C]2074338[/C][C]2034944.86956522[/C][C]39393.1304347826[/C][/ROW]
[ROW][C]52[/C][C]1888654[/C][C]1927228.46956522[/C][C]-38574.4695652175[/C][/ROW]
[ROW][C]53[/C][C]1991138[/C][C]2102871.06956522[/C][C]-111733.069565217[/C][/ROW]
[ROW][C]54[/C][C]2168238[/C][C]2236285.66956522[/C][C]-68047.6695652174[/C][/ROW]
[ROW][C]55[/C][C]1867424[/C][C]1847268.86956522[/C][C]20155.1304347827[/C][/ROW]
[ROW][C]56[/C][C]1842360[/C][C]1843496.86956522[/C][C]-1136.86956521728[/C][/ROW]
[ROW][C]57[/C][C]1927476[/C][C]2110057.66956522[/C][C]-182581.669565217[/C][/ROW]
[ROW][C]58[/C][C]2065555[/C][C]2087211.66956522[/C][C]-21656.6695652174[/C][/ROW]
[ROW][C]59[/C][C]2455609[/C][C]2161939.06956522[/C][C]293669.930434783[/C][/ROW]
[ROW][C]60[/C][C]3336171[/C][C]3496738.86956522[/C][C]-160567.869565217[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27320&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27320&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
112024551202455-1.92825311273737e-10
212014231265930.73043478-64507.7304347826
315059161595668.73043478-89752.7304347826
415133781487952.3304347825425.6695652181
519776051663594.93043478314010.069565218
618738301797009.5304347876820.4695652174
714240491407992.7304347816056.2695652175
813227401404220.73043478-81480.7304347829
915848261670781.53043478-85955.5304347824
1016804601647935.5304347832524.4695652176
1116485741722662.93043478-74088.9304347826
1230954693057462.7304347838006.2695652168
1313079831343984.94782609-36001.9478260869
1413675891375749.76521739-8160.7652173914
1515727181705487.76521739-132769.765217391
1616116031597771.3652173913831.6347826085
1716411961773413.96521739-132217.965217392
1818452621906828.56521739-61566.5652173913
1914642381517811.76521739-53573.7652173914
2014023861514039.76521739-111653.765217391
2120771001780600.56521739296499.434782609
2216911301757754.56521739-66624.5652173914
2317290131832481.96521739-103468.965217391
2433477923167281.76521739180510.234782609
2513650881453803.98260870-88715.9826086957
2615454601485568.859891.2
2718443551815306.829048.2
2817755501707590.467959.5999999998
2917217791883233-161454
3021287262016647.6112078.4
3116643201627630.836689.1999999999
3217694711623858.8145612.2
3319045781890419.614158.3999999999
3418720421867573.64468.39999999993
3518021811942301-140120
3632221993277100.8-54901.7999999999
3714914141563623.01739130-72209.0173913043
3816585191595387.8347826163131.1652173913
3920792071925125.83478261154081.165217391
4017487671817409.43478261-68642.4347826088
4120844471993052.0347826191394.9652173912
4220671822126466.63478261-59284.6347826086
4317181231737449.83478261-19326.8347826087
4417823371733677.8347826148659.1652173915
4519581182000238.63478261-42120.6347826086
4620286811977392.6347826151288.3652173913
4720761282052120.0347826124007.9652173913
4833838733386919.83478261-3046.83478260846
4918703691673442.05217391196926.947826087
5016548531705206.86956522-50353.8695652174
5120743382034944.8695652239393.1304347826
5218886541927228.46956522-38574.4695652175
5319911382102871.06956522-111733.069565217
5421682382236285.66956522-68047.6695652174
5518674241847268.8695652220155.1304347827
5618423601843496.86956522-1136.86956521728
5719274762110057.66956522-182581.669565217
5820655552087211.66956522-21656.6695652174
5924556092161939.06956522293669.930434783
6033361713496738.86956522-160567.869565217







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.7778172684732710.4443654630534580.222182731526729
180.6405180549089880.7189638901820240.359481945091012
190.5030241323245390.9939517353509210.496975867675461
200.4195104145089810.8390208290179610.580489585491019
210.8767462909742840.2465074180514320.123253709025716
220.819358726670730.3612825466585390.180641273329269
230.7812586756761290.4374826486477420.218741324323871
240.8169201127163880.3661597745672240.183079887283612
250.7772682099820370.4454635800359250.222731790017963
260.7264127224733360.5471745550533290.273587277526664
270.6905453082428530.6189093835142940.309454691757147
280.6185537769534460.7628924460931070.381446223046554
290.7066671914190860.5866656171618270.293332808580914
300.6888933440070370.6222133119859260.311106655992963
310.6002694318494120.7994611363011760.399730568150588
320.6229523735159550.754095252968090.377047626484045
330.5898570004692050.820285999061590.410142999530795
340.4857482585020870.9714965170041740.514251741497913
350.661132099817580.677735800364840.33886790018242
360.5948200918238290.8103598163523420.405179908176171
370.755155512515310.4896889749693810.244844487484691
380.6734317683720020.6531364632559970.326568231627998
390.6277878268336050.744424346332790.372212173166395
400.5328560733610240.9342878532779520.467143926638976
410.5199428706250380.9601142587499240.480057129374962
420.3823296957053070.7646593914106150.617670304294693
430.2489651038947650.4979302077895310.751034896105235

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.777817268473271 & 0.444365463053458 & 0.222182731526729 \tabularnewline
18 & 0.640518054908988 & 0.718963890182024 & 0.359481945091012 \tabularnewline
19 & 0.503024132324539 & 0.993951735350921 & 0.496975867675461 \tabularnewline
20 & 0.419510414508981 & 0.839020829017961 & 0.580489585491019 \tabularnewline
21 & 0.876746290974284 & 0.246507418051432 & 0.123253709025716 \tabularnewline
22 & 0.81935872667073 & 0.361282546658539 & 0.180641273329269 \tabularnewline
23 & 0.781258675676129 & 0.437482648647742 & 0.218741324323871 \tabularnewline
24 & 0.816920112716388 & 0.366159774567224 & 0.183079887283612 \tabularnewline
25 & 0.777268209982037 & 0.445463580035925 & 0.222731790017963 \tabularnewline
26 & 0.726412722473336 & 0.547174555053329 & 0.273587277526664 \tabularnewline
27 & 0.690545308242853 & 0.618909383514294 & 0.309454691757147 \tabularnewline
28 & 0.618553776953446 & 0.762892446093107 & 0.381446223046554 \tabularnewline
29 & 0.706667191419086 & 0.586665617161827 & 0.293332808580914 \tabularnewline
30 & 0.688893344007037 & 0.622213311985926 & 0.311106655992963 \tabularnewline
31 & 0.600269431849412 & 0.799461136301176 & 0.399730568150588 \tabularnewline
32 & 0.622952373515955 & 0.75409525296809 & 0.377047626484045 \tabularnewline
33 & 0.589857000469205 & 0.82028599906159 & 0.410142999530795 \tabularnewline
34 & 0.485748258502087 & 0.971496517004174 & 0.514251741497913 \tabularnewline
35 & 0.66113209981758 & 0.67773580036484 & 0.33886790018242 \tabularnewline
36 & 0.594820091823829 & 0.810359816352342 & 0.405179908176171 \tabularnewline
37 & 0.75515551251531 & 0.489688974969381 & 0.244844487484691 \tabularnewline
38 & 0.673431768372002 & 0.653136463255997 & 0.326568231627998 \tabularnewline
39 & 0.627787826833605 & 0.74442434633279 & 0.372212173166395 \tabularnewline
40 & 0.532856073361024 & 0.934287853277952 & 0.467143926638976 \tabularnewline
41 & 0.519942870625038 & 0.960114258749924 & 0.480057129374962 \tabularnewline
42 & 0.382329695705307 & 0.764659391410615 & 0.617670304294693 \tabularnewline
43 & 0.248965103894765 & 0.497930207789531 & 0.751034896105235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27320&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.777817268473271[/C][C]0.444365463053458[/C][C]0.222182731526729[/C][/ROW]
[ROW][C]18[/C][C]0.640518054908988[/C][C]0.718963890182024[/C][C]0.359481945091012[/C][/ROW]
[ROW][C]19[/C][C]0.503024132324539[/C][C]0.993951735350921[/C][C]0.496975867675461[/C][/ROW]
[ROW][C]20[/C][C]0.419510414508981[/C][C]0.839020829017961[/C][C]0.580489585491019[/C][/ROW]
[ROW][C]21[/C][C]0.876746290974284[/C][C]0.246507418051432[/C][C]0.123253709025716[/C][/ROW]
[ROW][C]22[/C][C]0.81935872667073[/C][C]0.361282546658539[/C][C]0.180641273329269[/C][/ROW]
[ROW][C]23[/C][C]0.781258675676129[/C][C]0.437482648647742[/C][C]0.218741324323871[/C][/ROW]
[ROW][C]24[/C][C]0.816920112716388[/C][C]0.366159774567224[/C][C]0.183079887283612[/C][/ROW]
[ROW][C]25[/C][C]0.777268209982037[/C][C]0.445463580035925[/C][C]0.222731790017963[/C][/ROW]
[ROW][C]26[/C][C]0.726412722473336[/C][C]0.547174555053329[/C][C]0.273587277526664[/C][/ROW]
[ROW][C]27[/C][C]0.690545308242853[/C][C]0.618909383514294[/C][C]0.309454691757147[/C][/ROW]
[ROW][C]28[/C][C]0.618553776953446[/C][C]0.762892446093107[/C][C]0.381446223046554[/C][/ROW]
[ROW][C]29[/C][C]0.706667191419086[/C][C]0.586665617161827[/C][C]0.293332808580914[/C][/ROW]
[ROW][C]30[/C][C]0.688893344007037[/C][C]0.622213311985926[/C][C]0.311106655992963[/C][/ROW]
[ROW][C]31[/C][C]0.600269431849412[/C][C]0.799461136301176[/C][C]0.399730568150588[/C][/ROW]
[ROW][C]32[/C][C]0.622952373515955[/C][C]0.75409525296809[/C][C]0.377047626484045[/C][/ROW]
[ROW][C]33[/C][C]0.589857000469205[/C][C]0.82028599906159[/C][C]0.410142999530795[/C][/ROW]
[ROW][C]34[/C][C]0.485748258502087[/C][C]0.971496517004174[/C][C]0.514251741497913[/C][/ROW]
[ROW][C]35[/C][C]0.66113209981758[/C][C]0.67773580036484[/C][C]0.33886790018242[/C][/ROW]
[ROW][C]36[/C][C]0.594820091823829[/C][C]0.810359816352342[/C][C]0.405179908176171[/C][/ROW]
[ROW][C]37[/C][C]0.75515551251531[/C][C]0.489688974969381[/C][C]0.244844487484691[/C][/ROW]
[ROW][C]38[/C][C]0.673431768372002[/C][C]0.653136463255997[/C][C]0.326568231627998[/C][/ROW]
[ROW][C]39[/C][C]0.627787826833605[/C][C]0.74442434633279[/C][C]0.372212173166395[/C][/ROW]
[ROW][C]40[/C][C]0.532856073361024[/C][C]0.934287853277952[/C][C]0.467143926638976[/C][/ROW]
[ROW][C]41[/C][C]0.519942870625038[/C][C]0.960114258749924[/C][C]0.480057129374962[/C][/ROW]
[ROW][C]42[/C][C]0.382329695705307[/C][C]0.764659391410615[/C][C]0.617670304294693[/C][/ROW]
[ROW][C]43[/C][C]0.248965103894765[/C][C]0.497930207789531[/C][C]0.751034896105235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27320&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.7778172684732710.4443654630534580.222182731526729
180.6405180549089880.7189638901820240.359481945091012
190.5030241323245390.9939517353509210.496975867675461
200.4195104145089810.8390208290179610.580489585491019
210.8767462909742840.2465074180514320.123253709025716
220.819358726670730.3612825466585390.180641273329269
230.7812586756761290.4374826486477420.218741324323871
240.8169201127163880.3661597745672240.183079887283612
250.7772682099820370.4454635800359250.222731790017963
260.7264127224733360.5471745550533290.273587277526664
270.6905453082428530.6189093835142940.309454691757147
280.6185537769534460.7628924460931070.381446223046554
290.7066671914190860.5866656171618270.293332808580914
300.6888933440070370.6222133119859260.311106655992963
310.6002694318494120.7994611363011760.399730568150588
320.6229523735159550.754095252968090.377047626484045
330.5898570004692050.820285999061590.410142999530795
340.4857482585020870.9714965170041740.514251741497913
350.661132099817580.677735800364840.33886790018242
360.5948200918238290.8103598163523420.405179908176171
370.755155512515310.4896889749693810.244844487484691
380.6734317683720020.6531364632559970.326568231627998
390.6277878268336050.744424346332790.372212173166395
400.5328560733610240.9342878532779520.467143926638976
410.5199428706250380.9601142587499240.480057129374962
420.3823296957053070.7646593914106150.617670304294693
430.2489651038947650.4979302077895310.751034896105235







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27320&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27320&T=6

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK



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