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:19:24 -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/t1228163122ym8h6emtx4dxpgr.htm/, Retrieved Sun, 05 May 2024 17:23:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27333, Retrieved Sun, 05 May 2024 17:23:32 +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] [investeringen paper] [2008-12-01 20:08:42] [7a664918911e34206ce9d0436dd7c1c8]
-   PD    [Multiple Regression] [investeringen pap...] [2008-12-01 20:19:24] [98255691c21504803b38711776845ae0] [Current]
Feedback Forum

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




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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
x[t] = + 2946058.15 -1728487.07916667M1[t] -1699575.70833333M2[t] -1379033.3375M3[t] -1495945.36666667M4[t] -1329498.39583333M5[t] -1205279.425M6[t] -1603491.85416667M7[t] -1616459.48333333M8[t] -1359094.3125M9[t] -1391135.94166667M10[t] -1325604.17083333M11[t] + 9195.62916666667t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
x[t] =  +  2946058.15 -1728487.07916667M1[t] -1699575.70833333M2[t] -1379033.3375M3[t] -1495945.36666667M4[t] -1329498.39583333M5[t] -1205279.425M6[t] -1603491.85416667M7[t] -1616459.48333333M8[t] -1359094.3125M9[t] -1391135.94166667M10[t] -1325604.17083333M11[t] +  9195.62916666667t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27333&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]x[t] =  +  2946058.15 -1728487.07916667M1[t] -1699575.70833333M2[t] -1379033.3375M3[t] -1495945.36666667M4[t] -1329498.39583333M5[t] -1205279.425M6[t] -1603491.85416667M7[t] -1616459.48333333M8[t] -1359094.3125M9[t] -1391135.94166667M10[t] -1325604.17083333M11[t] +  9195.62916666667t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27333&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27333&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] = + 2946058.15 -1728487.07916667M1[t] -1699575.70833333M2[t] -1379033.3375M3[t] -1495945.36666667M4[t] -1329498.39583333M5[t] -1205279.425M6[t] -1603491.85416667M7[t] -1616459.48333333M8[t] -1359094.3125M9[t] -1391135.94166667M10[t] -1325604.17083333M11[t] + 9195.62916666667t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2946058.1563896.00790746.107100
M1-1728487.0791666777733.069599-22.236200
M2-1699575.7083333377616.930339-21.89700
M3-1379033.337577511.702014-17.791300
M4-1495945.3666666777417.429117-19.323100
M5-1329498.3958333377334.151712-17.191600
M6-1205279.42577261.905354-15.599900
M7-1603491.8541666777200.721013-20.770400
M8-1616459.4833333377150.625007-20.95200
M9-1359094.312577111.638946-17.62500
M10-1391135.9416666777083.779687-18.047100
M11-1325604.1708333377067.059298-17.200700
t9195.62916666667926.9056079.920800

\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) & 2946058.15 & 63896.007907 & 46.1071 & 0 & 0 \tabularnewline
M1 & -1728487.07916667 & 77733.069599 & -22.2362 & 0 & 0 \tabularnewline
M2 & -1699575.70833333 & 77616.930339 & -21.897 & 0 & 0 \tabularnewline
M3 & -1379033.3375 & 77511.702014 & -17.7913 & 0 & 0 \tabularnewline
M4 & -1495945.36666667 & 77417.429117 & -19.3231 & 0 & 0 \tabularnewline
M5 & -1329498.39583333 & 77334.151712 & -17.1916 & 0 & 0 \tabularnewline
M6 & -1205279.425 & 77261.905354 & -15.5999 & 0 & 0 \tabularnewline
M7 & -1603491.85416667 & 77200.721013 & -20.7704 & 0 & 0 \tabularnewline
M8 & -1616459.48333333 & 77150.625007 & -20.952 & 0 & 0 \tabularnewline
M9 & -1359094.3125 & 77111.638946 & -17.625 & 0 & 0 \tabularnewline
M10 & -1391135.94166667 & 77083.779687 & -18.0471 & 0 & 0 \tabularnewline
M11 & -1325604.17083333 & 77067.059298 & -17.2007 & 0 & 0 \tabularnewline
t & 9195.62916666667 & 926.905607 & 9.9208 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27333&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]2946058.15[/C][C]63896.007907[/C][C]46.1071[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-1728487.07916667[/C][C]77733.069599[/C][C]-22.2362[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M2[/C][C]-1699575.70833333[/C][C]77616.930339[/C][C]-21.897[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]-1379033.3375[/C][C]77511.702014[/C][C]-17.7913[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]-1495945.36666667[/C][C]77417.429117[/C][C]-19.3231[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]-1329498.39583333[/C][C]77334.151712[/C][C]-17.1916[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]-1205279.425[/C][C]77261.905354[/C][C]-15.5999[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]-1603491.85416667[/C][C]77200.721013[/C][C]-20.7704[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-1616459.48333333[/C][C]77150.625007[/C][C]-20.952[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]-1359094.3125[/C][C]77111.638946[/C][C]-17.625[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-1391135.94166667[/C][C]77083.779687[/C][C]-18.0471[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-1325604.17083333[/C][C]77067.059298[/C][C]-17.2007[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]9195.62916666667[/C][C]926.905607[/C][C]9.9208[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27333&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27333&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)2946058.1563896.00790746.107100
M1-1728487.0791666777733.069599-22.236200
M2-1699575.7083333377616.930339-21.89700
M3-1379033.337577511.702014-17.791300
M4-1495945.3666666777417.429117-19.323100
M5-1329498.3958333377334.151712-17.191600
M6-1205279.42577261.905354-15.599900
M7-1603491.8541666777200.721013-20.770400
M8-1616459.4833333377150.625007-20.95200
M9-1359094.312577111.638946-17.62500
M10-1391135.9416666777083.779687-18.047100
M11-1325604.1708333377067.059298-17.200700
t9195.62916666667926.9056079.920800







Multiple Linear Regression - Regression Statistics
Multiple R0.975746732983841
R-squared0.95208168692864
Adjusted R-squared0.939847224016803
F-TEST (value)77.8196553285163
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation121844.906282912
Sum Squared Residuals697770515793.3

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.975746732983841 \tabularnewline
R-squared & 0.95208168692864 \tabularnewline
Adjusted R-squared & 0.939847224016803 \tabularnewline
F-TEST (value) & 77.8196553285163 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 121844.906282912 \tabularnewline
Sum Squared Residuals & 697770515793.3 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27333&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.975746732983841[/C][/ROW]
[ROW][C]R-squared[/C][C]0.95208168692864[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.939847224016803[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]77.8196553285163[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]121844.906282912[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]697770515793.3[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27333&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27333&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.975746732983841
R-squared0.95208168692864
Adjusted R-squared0.939847224016803
F-TEST (value)77.8196553285163
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation121844.906282912
Sum Squared Residuals697770515793.3







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112024551226766.70000000-24311.7000000018
212014231264873.7-63450.6999999993
315059161594611.7-88695.6999999998
415133781486895.326482.6999999998
519776051662537.9315067.100000000
618738301795952.577877.5000000001
714240491406935.717113.3000000002
813227401403163.7-80423.6999999995
915848261669724.5-84898.5000000005
1016804601646878.533581.5000000000
1116485741721605.9-73031.8999999998
1230954693056405.739063.2999999999
1313079831337114.25-29131.2499999995
1413675891375221.25-7632.25000000013
1515727181704959.25-132241.25
1616116031597242.8514360.1500000001
1716411961772885.45-131689.45
1818452621906300.05-61038.05
1914642381517283.25-53045.25
2014023861513511.25-111125.25
2120771001780072.05297027.95
2216911301757226.05-66096.0499999999
2317290131831953.45-102940.45
2433477923166753.25181038.75
2513650881447461.8-82373.7999999996
2615454601485568.859891.1999999999
2718443551815306.829048.2
2817755501707590.467959.6
2917217791883233-161454
3021287262016647.6112078.4
3116643201627630.836689.2
3217694711623858.8145612.200000000
3319045781890419.614158.4000000001
3418720421867573.64468.4
3518021811942301-140120
3632221993277100.8-54901.7999999999
3714914141557809.35-66395.3499999995
3816585191595916.3562602.6499999998
3920792071925654.35153552.65
4017487671817937.95-69170.95
4120844471993580.5590866.4499999999
4220671822126995.15-59813.15
4317181231737978.35-19855.3500000001
4417823371734206.3548130.6499999999
4519581182000767.15-42649.1499999999
4620286811977921.1550759.85
4720761282052648.5523479.4500000000
4833838733387448.35-3575.35000000004
4918703691668156.9202212.100000000
5016548531706263.9-51410.9000000002
5120743382036001.938336.0999999999
5218886541928285.5-39631.5
5319911382103928.1-112790.100000000
5421682382237342.7-69104.7
5518674241848325.919098.1
5618423601844553.9-2193.90000000018
5719274762111114.7-183638.7
5820655552088268.7-22713.7000000000
5924556092162996.1292612.9
6033361713497795.9-161624.9

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1202455 & 1226766.70000000 & -24311.7000000018 \tabularnewline
2 & 1201423 & 1264873.7 & -63450.6999999993 \tabularnewline
3 & 1505916 & 1594611.7 & -88695.6999999998 \tabularnewline
4 & 1513378 & 1486895.3 & 26482.6999999998 \tabularnewline
5 & 1977605 & 1662537.9 & 315067.100000000 \tabularnewline
6 & 1873830 & 1795952.5 & 77877.5000000001 \tabularnewline
7 & 1424049 & 1406935.7 & 17113.3000000002 \tabularnewline
8 & 1322740 & 1403163.7 & -80423.6999999995 \tabularnewline
9 & 1584826 & 1669724.5 & -84898.5000000005 \tabularnewline
10 & 1680460 & 1646878.5 & 33581.5000000000 \tabularnewline
11 & 1648574 & 1721605.9 & -73031.8999999998 \tabularnewline
12 & 3095469 & 3056405.7 & 39063.2999999999 \tabularnewline
13 & 1307983 & 1337114.25 & -29131.2499999995 \tabularnewline
14 & 1367589 & 1375221.25 & -7632.25000000013 \tabularnewline
15 & 1572718 & 1704959.25 & -132241.25 \tabularnewline
16 & 1611603 & 1597242.85 & 14360.1500000001 \tabularnewline
17 & 1641196 & 1772885.45 & -131689.45 \tabularnewline
18 & 1845262 & 1906300.05 & -61038.05 \tabularnewline
19 & 1464238 & 1517283.25 & -53045.25 \tabularnewline
20 & 1402386 & 1513511.25 & -111125.25 \tabularnewline
21 & 2077100 & 1780072.05 & 297027.95 \tabularnewline
22 & 1691130 & 1757226.05 & -66096.0499999999 \tabularnewline
23 & 1729013 & 1831953.45 & -102940.45 \tabularnewline
24 & 3347792 & 3166753.25 & 181038.75 \tabularnewline
25 & 1365088 & 1447461.8 & -82373.7999999996 \tabularnewline
26 & 1545460 & 1485568.8 & 59891.1999999999 \tabularnewline
27 & 1844355 & 1815306.8 & 29048.2 \tabularnewline
28 & 1775550 & 1707590.4 & 67959.6 \tabularnewline
29 & 1721779 & 1883233 & -161454 \tabularnewline
30 & 2128726 & 2016647.6 & 112078.4 \tabularnewline
31 & 1664320 & 1627630.8 & 36689.2 \tabularnewline
32 & 1769471 & 1623858.8 & 145612.200000000 \tabularnewline
33 & 1904578 & 1890419.6 & 14158.4000000001 \tabularnewline
34 & 1872042 & 1867573.6 & 4468.4 \tabularnewline
35 & 1802181 & 1942301 & -140120 \tabularnewline
36 & 3222199 & 3277100.8 & -54901.7999999999 \tabularnewline
37 & 1491414 & 1557809.35 & -66395.3499999995 \tabularnewline
38 & 1658519 & 1595916.35 & 62602.6499999998 \tabularnewline
39 & 2079207 & 1925654.35 & 153552.65 \tabularnewline
40 & 1748767 & 1817937.95 & -69170.95 \tabularnewline
41 & 2084447 & 1993580.55 & 90866.4499999999 \tabularnewline
42 & 2067182 & 2126995.15 & -59813.15 \tabularnewline
43 & 1718123 & 1737978.35 & -19855.3500000001 \tabularnewline
44 & 1782337 & 1734206.35 & 48130.6499999999 \tabularnewline
45 & 1958118 & 2000767.15 & -42649.1499999999 \tabularnewline
46 & 2028681 & 1977921.15 & 50759.85 \tabularnewline
47 & 2076128 & 2052648.55 & 23479.4500000000 \tabularnewline
48 & 3383873 & 3387448.35 & -3575.35000000004 \tabularnewline
49 & 1870369 & 1668156.9 & 202212.100000000 \tabularnewline
50 & 1654853 & 1706263.9 & -51410.9000000002 \tabularnewline
51 & 2074338 & 2036001.9 & 38336.0999999999 \tabularnewline
52 & 1888654 & 1928285.5 & -39631.5 \tabularnewline
53 & 1991138 & 2103928.1 & -112790.100000000 \tabularnewline
54 & 2168238 & 2237342.7 & -69104.7 \tabularnewline
55 & 1867424 & 1848325.9 & 19098.1 \tabularnewline
56 & 1842360 & 1844553.9 & -2193.90000000018 \tabularnewline
57 & 1927476 & 2111114.7 & -183638.7 \tabularnewline
58 & 2065555 & 2088268.7 & -22713.7000000000 \tabularnewline
59 & 2455609 & 2162996.1 & 292612.9 \tabularnewline
60 & 3336171 & 3497795.9 & -161624.9 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27333&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]1226766.70000000[/C][C]-24311.7000000018[/C][/ROW]
[ROW][C]2[/C][C]1201423[/C][C]1264873.7[/C][C]-63450.6999999993[/C][/ROW]
[ROW][C]3[/C][C]1505916[/C][C]1594611.7[/C][C]-88695.6999999998[/C][/ROW]
[ROW][C]4[/C][C]1513378[/C][C]1486895.3[/C][C]26482.6999999998[/C][/ROW]
[ROW][C]5[/C][C]1977605[/C][C]1662537.9[/C][C]315067.100000000[/C][/ROW]
[ROW][C]6[/C][C]1873830[/C][C]1795952.5[/C][C]77877.5000000001[/C][/ROW]
[ROW][C]7[/C][C]1424049[/C][C]1406935.7[/C][C]17113.3000000002[/C][/ROW]
[ROW][C]8[/C][C]1322740[/C][C]1403163.7[/C][C]-80423.6999999995[/C][/ROW]
[ROW][C]9[/C][C]1584826[/C][C]1669724.5[/C][C]-84898.5000000005[/C][/ROW]
[ROW][C]10[/C][C]1680460[/C][C]1646878.5[/C][C]33581.5000000000[/C][/ROW]
[ROW][C]11[/C][C]1648574[/C][C]1721605.9[/C][C]-73031.8999999998[/C][/ROW]
[ROW][C]12[/C][C]3095469[/C][C]3056405.7[/C][C]39063.2999999999[/C][/ROW]
[ROW][C]13[/C][C]1307983[/C][C]1337114.25[/C][C]-29131.2499999995[/C][/ROW]
[ROW][C]14[/C][C]1367589[/C][C]1375221.25[/C][C]-7632.25000000013[/C][/ROW]
[ROW][C]15[/C][C]1572718[/C][C]1704959.25[/C][C]-132241.25[/C][/ROW]
[ROW][C]16[/C][C]1611603[/C][C]1597242.85[/C][C]14360.1500000001[/C][/ROW]
[ROW][C]17[/C][C]1641196[/C][C]1772885.45[/C][C]-131689.45[/C][/ROW]
[ROW][C]18[/C][C]1845262[/C][C]1906300.05[/C][C]-61038.05[/C][/ROW]
[ROW][C]19[/C][C]1464238[/C][C]1517283.25[/C][C]-53045.25[/C][/ROW]
[ROW][C]20[/C][C]1402386[/C][C]1513511.25[/C][C]-111125.25[/C][/ROW]
[ROW][C]21[/C][C]2077100[/C][C]1780072.05[/C][C]297027.95[/C][/ROW]
[ROW][C]22[/C][C]1691130[/C][C]1757226.05[/C][C]-66096.0499999999[/C][/ROW]
[ROW][C]23[/C][C]1729013[/C][C]1831953.45[/C][C]-102940.45[/C][/ROW]
[ROW][C]24[/C][C]3347792[/C][C]3166753.25[/C][C]181038.75[/C][/ROW]
[ROW][C]25[/C][C]1365088[/C][C]1447461.8[/C][C]-82373.7999999996[/C][/ROW]
[ROW][C]26[/C][C]1545460[/C][C]1485568.8[/C][C]59891.1999999999[/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.6[/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.2[/C][/ROW]
[ROW][C]32[/C][C]1769471[/C][C]1623858.8[/C][C]145612.200000000[/C][/ROW]
[ROW][C]33[/C][C]1904578[/C][C]1890419.6[/C][C]14158.4000000001[/C][/ROW]
[ROW][C]34[/C][C]1872042[/C][C]1867573.6[/C][C]4468.4[/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]1557809.35[/C][C]-66395.3499999995[/C][/ROW]
[ROW][C]38[/C][C]1658519[/C][C]1595916.35[/C][C]62602.6499999998[/C][/ROW]
[ROW][C]39[/C][C]2079207[/C][C]1925654.35[/C][C]153552.65[/C][/ROW]
[ROW][C]40[/C][C]1748767[/C][C]1817937.95[/C][C]-69170.95[/C][/ROW]
[ROW][C]41[/C][C]2084447[/C][C]1993580.55[/C][C]90866.4499999999[/C][/ROW]
[ROW][C]42[/C][C]2067182[/C][C]2126995.15[/C][C]-59813.15[/C][/ROW]
[ROW][C]43[/C][C]1718123[/C][C]1737978.35[/C][C]-19855.3500000001[/C][/ROW]
[ROW][C]44[/C][C]1782337[/C][C]1734206.35[/C][C]48130.6499999999[/C][/ROW]
[ROW][C]45[/C][C]1958118[/C][C]2000767.15[/C][C]-42649.1499999999[/C][/ROW]
[ROW][C]46[/C][C]2028681[/C][C]1977921.15[/C][C]50759.85[/C][/ROW]
[ROW][C]47[/C][C]2076128[/C][C]2052648.55[/C][C]23479.4500000000[/C][/ROW]
[ROW][C]48[/C][C]3383873[/C][C]3387448.35[/C][C]-3575.35000000004[/C][/ROW]
[ROW][C]49[/C][C]1870369[/C][C]1668156.9[/C][C]202212.100000000[/C][/ROW]
[ROW][C]50[/C][C]1654853[/C][C]1706263.9[/C][C]-51410.9000000002[/C][/ROW]
[ROW][C]51[/C][C]2074338[/C][C]2036001.9[/C][C]38336.0999999999[/C][/ROW]
[ROW][C]52[/C][C]1888654[/C][C]1928285.5[/C][C]-39631.5[/C][/ROW]
[ROW][C]53[/C][C]1991138[/C][C]2103928.1[/C][C]-112790.100000000[/C][/ROW]
[ROW][C]54[/C][C]2168238[/C][C]2237342.7[/C][C]-69104.7[/C][/ROW]
[ROW][C]55[/C][C]1867424[/C][C]1848325.9[/C][C]19098.1[/C][/ROW]
[ROW][C]56[/C][C]1842360[/C][C]1844553.9[/C][C]-2193.90000000018[/C][/ROW]
[ROW][C]57[/C][C]1927476[/C][C]2111114.7[/C][C]-183638.7[/C][/ROW]
[ROW][C]58[/C][C]2065555[/C][C]2088268.7[/C][C]-22713.7000000000[/C][/ROW]
[ROW][C]59[/C][C]2455609[/C][C]2162996.1[/C][C]292612.9[/C][/ROW]
[ROW][C]60[/C][C]3336171[/C][C]3497795.9[/C][C]-161624.9[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27333&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27333&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
112024551226766.70000000-24311.7000000018
212014231264873.7-63450.6999999993
315059161594611.7-88695.6999999998
415133781486895.326482.6999999998
519776051662537.9315067.100000000
618738301795952.577877.5000000001
714240491406935.717113.3000000002
813227401403163.7-80423.6999999995
915848261669724.5-84898.5000000005
1016804601646878.533581.5000000000
1116485741721605.9-73031.8999999998
1230954693056405.739063.2999999999
1313079831337114.25-29131.2499999995
1413675891375221.25-7632.25000000013
1515727181704959.25-132241.25
1616116031597242.8514360.1500000001
1716411961772885.45-131689.45
1818452621906300.05-61038.05
1914642381517283.25-53045.25
2014023861513511.25-111125.25
2120771001780072.05297027.95
2216911301757226.05-66096.0499999999
2317290131831953.45-102940.45
2433477923166753.25181038.75
2513650881447461.8-82373.7999999996
2615454601485568.859891.1999999999
2718443551815306.829048.2
2817755501707590.467959.6
2917217791883233-161454
3021287262016647.6112078.4
3116643201627630.836689.2
3217694711623858.8145612.200000000
3319045781890419.614158.4000000001
3418720421867573.64468.4
3518021811942301-140120
3632221993277100.8-54901.7999999999
3714914141557809.35-66395.3499999995
3816585191595916.3562602.6499999998
3920792071925654.35153552.65
4017487671817937.95-69170.95
4120844471993580.5590866.4499999999
4220671822126995.15-59813.15
4317181231737978.35-19855.3500000001
4417823371734206.3548130.6499999999
4519581182000767.15-42649.1499999999
4620286811977921.1550759.85
4720761282052648.5523479.4500000000
4833838733387448.35-3575.35000000004
4918703691668156.9202212.100000000
5016548531706263.9-51410.9000000002
5120743382036001.938336.0999999999
5218886541928285.5-39631.5
5319911382103928.1-112790.100000000
5421682382237342.7-69104.7
5518674241848325.919098.1
5618423601844553.9-2193.90000000018
5719274762111114.7-183638.7
5820655552088268.7-22713.7000000000
5924556092162996.1292612.9
6033361713497795.9-161624.9







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01726099732198680.03452199464397360.982739002678013
170.6984645350159380.6030709299681250.301535464984062
180.5679210322760980.8641579354478040.432078967723902
190.4372411373022490.8744822746044990.56275886269775
200.361994711247520.723989422495040.63800528875248
210.8490561276560020.3018877446879960.150943872343998
220.7893913566165170.4212172867669670.210608643383483
230.7532986344047540.4934027311904920.246701365595246
240.7972988126876230.4054023746247550.202701187312377
250.7592883502614370.4814232994771270.240711649738563
260.7109655706749670.5780688586500660.289034429325033
270.6819047708787050.6361904582425910.318095229121295
280.6142335098109520.7715329803780960.385766490189048
290.707311470831250.58537705833750.29268852916875
300.6955234880021110.6089530239957780.304476511997889
310.611464344850730.7770713102985410.388535655149271
320.6434305877226230.7131388245547540.356569412277377
330.6147792665080080.7704414669839840.385220733491992
340.5151558881489180.9696882237021650.484844111851082
350.6989206656756720.6021586686486570.301079334324328
360.6392972087836880.7214055824326240.360702791216312
370.8014360416346480.3971279167307040.198563958365352
380.7333560156106720.5332879687786550.266643984389328
390.7015009464695840.5969981070608320.298499053530416
400.6192390562244460.7615218875511080.380760943775554
410.6220558768405370.7558882463189270.377944123159463
420.49631034910840.99262069821680.5036896508916
430.3653160665504860.7306321331009730.634683933449514
440.2266125417100270.4532250834200530.773387458289973

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0172609973219868 & 0.0345219946439736 & 0.982739002678013 \tabularnewline
17 & 0.698464535015938 & 0.603070929968125 & 0.301535464984062 \tabularnewline
18 & 0.567921032276098 & 0.864157935447804 & 0.432078967723902 \tabularnewline
19 & 0.437241137302249 & 0.874482274604499 & 0.56275886269775 \tabularnewline
20 & 0.36199471124752 & 0.72398942249504 & 0.63800528875248 \tabularnewline
21 & 0.849056127656002 & 0.301887744687996 & 0.150943872343998 \tabularnewline
22 & 0.789391356616517 & 0.421217286766967 & 0.210608643383483 \tabularnewline
23 & 0.753298634404754 & 0.493402731190492 & 0.246701365595246 \tabularnewline
24 & 0.797298812687623 & 0.405402374624755 & 0.202701187312377 \tabularnewline
25 & 0.759288350261437 & 0.481423299477127 & 0.240711649738563 \tabularnewline
26 & 0.710965570674967 & 0.578068858650066 & 0.289034429325033 \tabularnewline
27 & 0.681904770878705 & 0.636190458242591 & 0.318095229121295 \tabularnewline
28 & 0.614233509810952 & 0.771532980378096 & 0.385766490189048 \tabularnewline
29 & 0.70731147083125 & 0.5853770583375 & 0.29268852916875 \tabularnewline
30 & 0.695523488002111 & 0.608953023995778 & 0.304476511997889 \tabularnewline
31 & 0.61146434485073 & 0.777071310298541 & 0.388535655149271 \tabularnewline
32 & 0.643430587722623 & 0.713138824554754 & 0.356569412277377 \tabularnewline
33 & 0.614779266508008 & 0.770441466983984 & 0.385220733491992 \tabularnewline
34 & 0.515155888148918 & 0.969688223702165 & 0.484844111851082 \tabularnewline
35 & 0.698920665675672 & 0.602158668648657 & 0.301079334324328 \tabularnewline
36 & 0.639297208783688 & 0.721405582432624 & 0.360702791216312 \tabularnewline
37 & 0.801436041634648 & 0.397127916730704 & 0.198563958365352 \tabularnewline
38 & 0.733356015610672 & 0.533287968778655 & 0.266643984389328 \tabularnewline
39 & 0.701500946469584 & 0.596998107060832 & 0.298499053530416 \tabularnewline
40 & 0.619239056224446 & 0.761521887551108 & 0.380760943775554 \tabularnewline
41 & 0.622055876840537 & 0.755888246318927 & 0.377944123159463 \tabularnewline
42 & 0.4963103491084 & 0.9926206982168 & 0.5036896508916 \tabularnewline
43 & 0.365316066550486 & 0.730632133100973 & 0.634683933449514 \tabularnewline
44 & 0.226612541710027 & 0.453225083420053 & 0.773387458289973 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27333&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.0172609973219868[/C][C]0.0345219946439736[/C][C]0.982739002678013[/C][/ROW]
[ROW][C]17[/C][C]0.698464535015938[/C][C]0.603070929968125[/C][C]0.301535464984062[/C][/ROW]
[ROW][C]18[/C][C]0.567921032276098[/C][C]0.864157935447804[/C][C]0.432078967723902[/C][/ROW]
[ROW][C]19[/C][C]0.437241137302249[/C][C]0.874482274604499[/C][C]0.56275886269775[/C][/ROW]
[ROW][C]20[/C][C]0.36199471124752[/C][C]0.72398942249504[/C][C]0.63800528875248[/C][/ROW]
[ROW][C]21[/C][C]0.849056127656002[/C][C]0.301887744687996[/C][C]0.150943872343998[/C][/ROW]
[ROW][C]22[/C][C]0.789391356616517[/C][C]0.421217286766967[/C][C]0.210608643383483[/C][/ROW]
[ROW][C]23[/C][C]0.753298634404754[/C][C]0.493402731190492[/C][C]0.246701365595246[/C][/ROW]
[ROW][C]24[/C][C]0.797298812687623[/C][C]0.405402374624755[/C][C]0.202701187312377[/C][/ROW]
[ROW][C]25[/C][C]0.759288350261437[/C][C]0.481423299477127[/C][C]0.240711649738563[/C][/ROW]
[ROW][C]26[/C][C]0.710965570674967[/C][C]0.578068858650066[/C][C]0.289034429325033[/C][/ROW]
[ROW][C]27[/C][C]0.681904770878705[/C][C]0.636190458242591[/C][C]0.318095229121295[/C][/ROW]
[ROW][C]28[/C][C]0.614233509810952[/C][C]0.771532980378096[/C][C]0.385766490189048[/C][/ROW]
[ROW][C]29[/C][C]0.70731147083125[/C][C]0.5853770583375[/C][C]0.29268852916875[/C][/ROW]
[ROW][C]30[/C][C]0.695523488002111[/C][C]0.608953023995778[/C][C]0.304476511997889[/C][/ROW]
[ROW][C]31[/C][C]0.61146434485073[/C][C]0.777071310298541[/C][C]0.388535655149271[/C][/ROW]
[ROW][C]32[/C][C]0.643430587722623[/C][C]0.713138824554754[/C][C]0.356569412277377[/C][/ROW]
[ROW][C]33[/C][C]0.614779266508008[/C][C]0.770441466983984[/C][C]0.385220733491992[/C][/ROW]
[ROW][C]34[/C][C]0.515155888148918[/C][C]0.969688223702165[/C][C]0.484844111851082[/C][/ROW]
[ROW][C]35[/C][C]0.698920665675672[/C][C]0.602158668648657[/C][C]0.301079334324328[/C][/ROW]
[ROW][C]36[/C][C]0.639297208783688[/C][C]0.721405582432624[/C][C]0.360702791216312[/C][/ROW]
[ROW][C]37[/C][C]0.801436041634648[/C][C]0.397127916730704[/C][C]0.198563958365352[/C][/ROW]
[ROW][C]38[/C][C]0.733356015610672[/C][C]0.533287968778655[/C][C]0.266643984389328[/C][/ROW]
[ROW][C]39[/C][C]0.701500946469584[/C][C]0.596998107060832[/C][C]0.298499053530416[/C][/ROW]
[ROW][C]40[/C][C]0.619239056224446[/C][C]0.761521887551108[/C][C]0.380760943775554[/C][/ROW]
[ROW][C]41[/C][C]0.622055876840537[/C][C]0.755888246318927[/C][C]0.377944123159463[/C][/ROW]
[ROW][C]42[/C][C]0.4963103491084[/C][C]0.9926206982168[/C][C]0.5036896508916[/C][/ROW]
[ROW][C]43[/C][C]0.365316066550486[/C][C]0.730632133100973[/C][C]0.634683933449514[/C][/ROW]
[ROW][C]44[/C][C]0.226612541710027[/C][C]0.453225083420053[/C][C]0.773387458289973[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27333&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01726099732198680.03452199464397360.982739002678013
170.6984645350159380.6030709299681250.301535464984062
180.5679210322760980.8641579354478040.432078967723902
190.4372411373022490.8744822746044990.56275886269775
200.361994711247520.723989422495040.63800528875248
210.8490561276560020.3018877446879960.150943872343998
220.7893913566165170.4212172867669670.210608643383483
230.7532986344047540.4934027311904920.246701365595246
240.7972988126876230.4054023746247550.202701187312377
250.7592883502614370.4814232994771270.240711649738563
260.7109655706749670.5780688586500660.289034429325033
270.6819047708787050.6361904582425910.318095229121295
280.6142335098109520.7715329803780960.385766490189048
290.707311470831250.58537705833750.29268852916875
300.6955234880021110.6089530239957780.304476511997889
310.611464344850730.7770713102985410.388535655149271
320.6434305877226230.7131388245547540.356569412277377
330.6147792665080080.7704414669839840.385220733491992
340.5151558881489180.9696882237021650.484844111851082
350.6989206656756720.6021586686486570.301079334324328
360.6392972087836880.7214055824326240.360702791216312
370.8014360416346480.3971279167307040.198563958365352
380.7333560156106720.5332879687786550.266643984389328
390.7015009464695840.5969981070608320.298499053530416
400.6192390562244460.7615218875511080.380760943775554
410.6220558768405370.7558882463189270.377944123159463
420.49631034910840.99262069821680.5036896508916
430.3653160665504860.7306321331009730.634683933449514
440.2266125417100270.4532250834200530.773387458289973







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 1 & 0.0344827586206897 & OK \tabularnewline
10% type I error level & 1 & 0.0344827586206897 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27333&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]1[/C][C]0.0344827586206897[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]1[/C][C]0.0344827586206897[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27333&T=6

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



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