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, 26 Nov 2008 11:14:43 -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/Nov/26/t1227723343sw88891rpdb6e90.htm/, Retrieved Sat, 18 May 2024 17:26:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25686, Retrieved Sat, 18 May 2024 17:26:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsmultiple lineair regression
Estimated Impact144
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [multiple lineair ...] [2008-11-26 18:14:43] [962e6c9020896982bc8283b8971710a9] [Current]
Feedback Forum

Post a new message
Dataseries X:
147768	0
137507	0
136919	0
136151	0
133001	0
125554	0
119647	0
114158	0
116193	0
152803	0
161761	0
160942	0
149470	0
139208	0
134588	0
130322	0
126611	0
122401	0
117352	0
112135	0
112879	0
148729	0
157230	0
157221	0
146681	1
136524	1
132111	1
125326	1
122716	1
116615	1
113719	1
110737	1
112093	1
143565	1
149946	1
149147	1
134339	1
122683	1
115614	1
116566	1
111272	1
104609	1
101802	1
94542	1
93051	1
124129	1
130374	1
123946	1
114971	1
105531	0
104919	0
104782	0
101281	0
94545	0
93248	0
84031	0
87486	0
115867	0
120327	0
117008	0
108811	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25686&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25686&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25686&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'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
jonger_dan_25[t] = + 124677.388888889 -2794.26888888890plan[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
jonger_dan_25[t] =  +  124677.388888889 -2794.26888888890plan[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25686&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]jonger_dan_25[t] =  +  124677.388888889 -2794.26888888890plan[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25686&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25686&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
jonger_dan_25[t] = + 124677.388888889 -2794.26888888890plan[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)124677.3888888893203.45560838.919700
plan-2794.268888888905003.957625-0.55840.5786760.289338

\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) & 124677.388888889 & 3203.455608 & 38.9197 & 0 & 0 \tabularnewline
plan & -2794.26888888890 & 5003.957625 & -0.5584 & 0.578676 & 0.289338 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25686&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]124677.388888889[/C][C]3203.455608[/C][C]38.9197[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]plan[/C][C]-2794.26888888890[/C][C]5003.957625[/C][C]-0.5584[/C][C]0.578676[/C][C]0.289338[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25686&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25686&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)124677.3888888893203.45560838.919700
plan-2794.268888888905003.957625-0.55840.5786760.289338







Multiple Linear Regression - Regression Statistics
Multiple R0.0725076672708857
R-squared0.00525736181306548
Adjusted R-squared-0.0116026829019673
F-TEST (value)0.311823717073413
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.578676359639138
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19220.7336476126
Sum Squared Residuals21796759515.1956

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.0725076672708857 \tabularnewline
R-squared & 0.00525736181306548 \tabularnewline
Adjusted R-squared & -0.0116026829019673 \tabularnewline
F-TEST (value) & 0.311823717073413 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.578676359639138 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19220.7336476126 \tabularnewline
Sum Squared Residuals & 21796759515.1956 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25686&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.0725076672708857[/C][/ROW]
[ROW][C]R-squared[/C][C]0.00525736181306548[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0116026829019673[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.311823717073413[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.578676359639138[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19220.7336476126[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]21796759515.1956[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25686&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25686&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.0725076672708857
R-squared0.00525736181306548
Adjusted R-squared-0.0116026829019673
F-TEST (value)0.311823717073413
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.578676359639138
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19220.7336476126
Sum Squared Residuals21796759515.1956







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1147768124677.38888888823090.6111111116
2137507124677.38888888912829.6111111111
3136919124677.38888888912241.6111111111
4136151124677.38888888911473.6111111111
5133001124677.3888888898323.6111111111
6125554124677.388888889876.611111111097
7119647124677.388888889-5030.3888888889
8114158124677.388888889-10519.3888888889
9116193124677.388888889-8484.3888888889
10152803124677.38888888928125.6111111111
11161761124677.38888888937083.6111111111
12160942124677.38888888936264.6111111111
13149470124677.38888888924792.6111111111
14139208124677.38888888914530.6111111111
15134588124677.3888888899910.6111111111
16130322124677.3888888895644.6111111111
17126611124677.3888888891933.61111111110
18122401124677.388888889-2276.38888888890
19117352124677.388888889-7325.3888888889
20112135124677.388888889-12542.3888888889
21112879124677.388888889-11798.3888888889
22148729124677.38888888924051.6111111111
23157230124677.38888888932552.6111111111
24157221124677.38888888932543.6111111111
25146681121883.1224797.88
26136524121883.1214640.88
27132111121883.1210227.88
28125326121883.123442.88
29122716121883.12832.879999999999
30116615121883.12-5268.12
31113719121883.12-8164.12
32110737121883.12-11146.12
33112093121883.12-9790.12
34143565121883.1221681.88
35149946121883.1228062.88
36149147121883.1227263.88
37134339121883.1212455.88
38122683121883.12799.879999999999
39115614121883.12-6269.12
40116566121883.12-5317.12
41111272121883.12-10611.12
42104609121883.12-17274.12
43101802121883.12-20081.12
4494542121883.12-27341.12
4593051121883.12-28832.12
46124129121883.122245.88
47130374121883.128490.88
48123946121883.122062.88
49114971121883.12-6912.12
50105531124677.388888889-19146.3888888889
51104919124677.388888889-19758.3888888889
52104782124677.388888889-19895.3888888889
53101281124677.388888889-23396.3888888889
5494545124677.388888889-30132.3888888889
5593248124677.388888889-31429.3888888889
5684031124677.388888889-40646.3888888889
5787486124677.388888889-37191.3888888889
58115867124677.388888889-8810.3888888889
59120327124677.388888889-4350.3888888889
60117008124677.388888889-7669.3888888889
61108811124677.388888889-15866.3888888889

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 147768 & 124677.388888888 & 23090.6111111116 \tabularnewline
2 & 137507 & 124677.388888889 & 12829.6111111111 \tabularnewline
3 & 136919 & 124677.388888889 & 12241.6111111111 \tabularnewline
4 & 136151 & 124677.388888889 & 11473.6111111111 \tabularnewline
5 & 133001 & 124677.388888889 & 8323.6111111111 \tabularnewline
6 & 125554 & 124677.388888889 & 876.611111111097 \tabularnewline
7 & 119647 & 124677.388888889 & -5030.3888888889 \tabularnewline
8 & 114158 & 124677.388888889 & -10519.3888888889 \tabularnewline
9 & 116193 & 124677.388888889 & -8484.3888888889 \tabularnewline
10 & 152803 & 124677.388888889 & 28125.6111111111 \tabularnewline
11 & 161761 & 124677.388888889 & 37083.6111111111 \tabularnewline
12 & 160942 & 124677.388888889 & 36264.6111111111 \tabularnewline
13 & 149470 & 124677.388888889 & 24792.6111111111 \tabularnewline
14 & 139208 & 124677.388888889 & 14530.6111111111 \tabularnewline
15 & 134588 & 124677.388888889 & 9910.6111111111 \tabularnewline
16 & 130322 & 124677.388888889 & 5644.6111111111 \tabularnewline
17 & 126611 & 124677.388888889 & 1933.61111111110 \tabularnewline
18 & 122401 & 124677.388888889 & -2276.38888888890 \tabularnewline
19 & 117352 & 124677.388888889 & -7325.3888888889 \tabularnewline
20 & 112135 & 124677.388888889 & -12542.3888888889 \tabularnewline
21 & 112879 & 124677.388888889 & -11798.3888888889 \tabularnewline
22 & 148729 & 124677.388888889 & 24051.6111111111 \tabularnewline
23 & 157230 & 124677.388888889 & 32552.6111111111 \tabularnewline
24 & 157221 & 124677.388888889 & 32543.6111111111 \tabularnewline
25 & 146681 & 121883.12 & 24797.88 \tabularnewline
26 & 136524 & 121883.12 & 14640.88 \tabularnewline
27 & 132111 & 121883.12 & 10227.88 \tabularnewline
28 & 125326 & 121883.12 & 3442.88 \tabularnewline
29 & 122716 & 121883.12 & 832.879999999999 \tabularnewline
30 & 116615 & 121883.12 & -5268.12 \tabularnewline
31 & 113719 & 121883.12 & -8164.12 \tabularnewline
32 & 110737 & 121883.12 & -11146.12 \tabularnewline
33 & 112093 & 121883.12 & -9790.12 \tabularnewline
34 & 143565 & 121883.12 & 21681.88 \tabularnewline
35 & 149946 & 121883.12 & 28062.88 \tabularnewline
36 & 149147 & 121883.12 & 27263.88 \tabularnewline
37 & 134339 & 121883.12 & 12455.88 \tabularnewline
38 & 122683 & 121883.12 & 799.879999999999 \tabularnewline
39 & 115614 & 121883.12 & -6269.12 \tabularnewline
40 & 116566 & 121883.12 & -5317.12 \tabularnewline
41 & 111272 & 121883.12 & -10611.12 \tabularnewline
42 & 104609 & 121883.12 & -17274.12 \tabularnewline
43 & 101802 & 121883.12 & -20081.12 \tabularnewline
44 & 94542 & 121883.12 & -27341.12 \tabularnewline
45 & 93051 & 121883.12 & -28832.12 \tabularnewline
46 & 124129 & 121883.12 & 2245.88 \tabularnewline
47 & 130374 & 121883.12 & 8490.88 \tabularnewline
48 & 123946 & 121883.12 & 2062.88 \tabularnewline
49 & 114971 & 121883.12 & -6912.12 \tabularnewline
50 & 105531 & 124677.388888889 & -19146.3888888889 \tabularnewline
51 & 104919 & 124677.388888889 & -19758.3888888889 \tabularnewline
52 & 104782 & 124677.388888889 & -19895.3888888889 \tabularnewline
53 & 101281 & 124677.388888889 & -23396.3888888889 \tabularnewline
54 & 94545 & 124677.388888889 & -30132.3888888889 \tabularnewline
55 & 93248 & 124677.388888889 & -31429.3888888889 \tabularnewline
56 & 84031 & 124677.388888889 & -40646.3888888889 \tabularnewline
57 & 87486 & 124677.388888889 & -37191.3888888889 \tabularnewline
58 & 115867 & 124677.388888889 & -8810.3888888889 \tabularnewline
59 & 120327 & 124677.388888889 & -4350.3888888889 \tabularnewline
60 & 117008 & 124677.388888889 & -7669.3888888889 \tabularnewline
61 & 108811 & 124677.388888889 & -15866.3888888889 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25686&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]147768[/C][C]124677.388888888[/C][C]23090.6111111116[/C][/ROW]
[ROW][C]2[/C][C]137507[/C][C]124677.388888889[/C][C]12829.6111111111[/C][/ROW]
[ROW][C]3[/C][C]136919[/C][C]124677.388888889[/C][C]12241.6111111111[/C][/ROW]
[ROW][C]4[/C][C]136151[/C][C]124677.388888889[/C][C]11473.6111111111[/C][/ROW]
[ROW][C]5[/C][C]133001[/C][C]124677.388888889[/C][C]8323.6111111111[/C][/ROW]
[ROW][C]6[/C][C]125554[/C][C]124677.388888889[/C][C]876.611111111097[/C][/ROW]
[ROW][C]7[/C][C]119647[/C][C]124677.388888889[/C][C]-5030.3888888889[/C][/ROW]
[ROW][C]8[/C][C]114158[/C][C]124677.388888889[/C][C]-10519.3888888889[/C][/ROW]
[ROW][C]9[/C][C]116193[/C][C]124677.388888889[/C][C]-8484.3888888889[/C][/ROW]
[ROW][C]10[/C][C]152803[/C][C]124677.388888889[/C][C]28125.6111111111[/C][/ROW]
[ROW][C]11[/C][C]161761[/C][C]124677.388888889[/C][C]37083.6111111111[/C][/ROW]
[ROW][C]12[/C][C]160942[/C][C]124677.388888889[/C][C]36264.6111111111[/C][/ROW]
[ROW][C]13[/C][C]149470[/C][C]124677.388888889[/C][C]24792.6111111111[/C][/ROW]
[ROW][C]14[/C][C]139208[/C][C]124677.388888889[/C][C]14530.6111111111[/C][/ROW]
[ROW][C]15[/C][C]134588[/C][C]124677.388888889[/C][C]9910.6111111111[/C][/ROW]
[ROW][C]16[/C][C]130322[/C][C]124677.388888889[/C][C]5644.6111111111[/C][/ROW]
[ROW][C]17[/C][C]126611[/C][C]124677.388888889[/C][C]1933.61111111110[/C][/ROW]
[ROW][C]18[/C][C]122401[/C][C]124677.388888889[/C][C]-2276.38888888890[/C][/ROW]
[ROW][C]19[/C][C]117352[/C][C]124677.388888889[/C][C]-7325.3888888889[/C][/ROW]
[ROW][C]20[/C][C]112135[/C][C]124677.388888889[/C][C]-12542.3888888889[/C][/ROW]
[ROW][C]21[/C][C]112879[/C][C]124677.388888889[/C][C]-11798.3888888889[/C][/ROW]
[ROW][C]22[/C][C]148729[/C][C]124677.388888889[/C][C]24051.6111111111[/C][/ROW]
[ROW][C]23[/C][C]157230[/C][C]124677.388888889[/C][C]32552.6111111111[/C][/ROW]
[ROW][C]24[/C][C]157221[/C][C]124677.388888889[/C][C]32543.6111111111[/C][/ROW]
[ROW][C]25[/C][C]146681[/C][C]121883.12[/C][C]24797.88[/C][/ROW]
[ROW][C]26[/C][C]136524[/C][C]121883.12[/C][C]14640.88[/C][/ROW]
[ROW][C]27[/C][C]132111[/C][C]121883.12[/C][C]10227.88[/C][/ROW]
[ROW][C]28[/C][C]125326[/C][C]121883.12[/C][C]3442.88[/C][/ROW]
[ROW][C]29[/C][C]122716[/C][C]121883.12[/C][C]832.879999999999[/C][/ROW]
[ROW][C]30[/C][C]116615[/C][C]121883.12[/C][C]-5268.12[/C][/ROW]
[ROW][C]31[/C][C]113719[/C][C]121883.12[/C][C]-8164.12[/C][/ROW]
[ROW][C]32[/C][C]110737[/C][C]121883.12[/C][C]-11146.12[/C][/ROW]
[ROW][C]33[/C][C]112093[/C][C]121883.12[/C][C]-9790.12[/C][/ROW]
[ROW][C]34[/C][C]143565[/C][C]121883.12[/C][C]21681.88[/C][/ROW]
[ROW][C]35[/C][C]149946[/C][C]121883.12[/C][C]28062.88[/C][/ROW]
[ROW][C]36[/C][C]149147[/C][C]121883.12[/C][C]27263.88[/C][/ROW]
[ROW][C]37[/C][C]134339[/C][C]121883.12[/C][C]12455.88[/C][/ROW]
[ROW][C]38[/C][C]122683[/C][C]121883.12[/C][C]799.879999999999[/C][/ROW]
[ROW][C]39[/C][C]115614[/C][C]121883.12[/C][C]-6269.12[/C][/ROW]
[ROW][C]40[/C][C]116566[/C][C]121883.12[/C][C]-5317.12[/C][/ROW]
[ROW][C]41[/C][C]111272[/C][C]121883.12[/C][C]-10611.12[/C][/ROW]
[ROW][C]42[/C][C]104609[/C][C]121883.12[/C][C]-17274.12[/C][/ROW]
[ROW][C]43[/C][C]101802[/C][C]121883.12[/C][C]-20081.12[/C][/ROW]
[ROW][C]44[/C][C]94542[/C][C]121883.12[/C][C]-27341.12[/C][/ROW]
[ROW][C]45[/C][C]93051[/C][C]121883.12[/C][C]-28832.12[/C][/ROW]
[ROW][C]46[/C][C]124129[/C][C]121883.12[/C][C]2245.88[/C][/ROW]
[ROW][C]47[/C][C]130374[/C][C]121883.12[/C][C]8490.88[/C][/ROW]
[ROW][C]48[/C][C]123946[/C][C]121883.12[/C][C]2062.88[/C][/ROW]
[ROW][C]49[/C][C]114971[/C][C]121883.12[/C][C]-6912.12[/C][/ROW]
[ROW][C]50[/C][C]105531[/C][C]124677.388888889[/C][C]-19146.3888888889[/C][/ROW]
[ROW][C]51[/C][C]104919[/C][C]124677.388888889[/C][C]-19758.3888888889[/C][/ROW]
[ROW][C]52[/C][C]104782[/C][C]124677.388888889[/C][C]-19895.3888888889[/C][/ROW]
[ROW][C]53[/C][C]101281[/C][C]124677.388888889[/C][C]-23396.3888888889[/C][/ROW]
[ROW][C]54[/C][C]94545[/C][C]124677.388888889[/C][C]-30132.3888888889[/C][/ROW]
[ROW][C]55[/C][C]93248[/C][C]124677.388888889[/C][C]-31429.3888888889[/C][/ROW]
[ROW][C]56[/C][C]84031[/C][C]124677.388888889[/C][C]-40646.3888888889[/C][/ROW]
[ROW][C]57[/C][C]87486[/C][C]124677.388888889[/C][C]-37191.3888888889[/C][/ROW]
[ROW][C]58[/C][C]115867[/C][C]124677.388888889[/C][C]-8810.3888888889[/C][/ROW]
[ROW][C]59[/C][C]120327[/C][C]124677.388888889[/C][C]-4350.3888888889[/C][/ROW]
[ROW][C]60[/C][C]117008[/C][C]124677.388888889[/C][C]-7669.3888888889[/C][/ROW]
[ROW][C]61[/C][C]108811[/C][C]124677.388888889[/C][C]-15866.3888888889[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25686&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25686&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
1147768124677.38888888823090.6111111116
2137507124677.38888888912829.6111111111
3136919124677.38888888912241.6111111111
4136151124677.38888888911473.6111111111
5133001124677.3888888898323.6111111111
6125554124677.388888889876.611111111097
7119647124677.388888889-5030.3888888889
8114158124677.388888889-10519.3888888889
9116193124677.388888889-8484.3888888889
10152803124677.38888888928125.6111111111
11161761124677.38888888937083.6111111111
12160942124677.38888888936264.6111111111
13149470124677.38888888924792.6111111111
14139208124677.38888888914530.6111111111
15134588124677.3888888899910.6111111111
16130322124677.3888888895644.6111111111
17126611124677.3888888891933.61111111110
18122401124677.388888889-2276.38888888890
19117352124677.388888889-7325.3888888889
20112135124677.388888889-12542.3888888889
21112879124677.388888889-11798.3888888889
22148729124677.38888888924051.6111111111
23157230124677.38888888932552.6111111111
24157221124677.38888888932543.6111111111
25146681121883.1224797.88
26136524121883.1214640.88
27132111121883.1210227.88
28125326121883.123442.88
29122716121883.12832.879999999999
30116615121883.12-5268.12
31113719121883.12-8164.12
32110737121883.12-11146.12
33112093121883.12-9790.12
34143565121883.1221681.88
35149946121883.1228062.88
36149147121883.1227263.88
37134339121883.1212455.88
38122683121883.12799.879999999999
39115614121883.12-6269.12
40116566121883.12-5317.12
41111272121883.12-10611.12
42104609121883.12-17274.12
43101802121883.12-20081.12
4494542121883.12-27341.12
4593051121883.12-28832.12
46124129121883.122245.88
47130374121883.128490.88
48123946121883.122062.88
49114971121883.12-6912.12
50105531124677.388888889-19146.3888888889
51104919124677.388888889-19758.3888888889
52104782124677.388888889-19895.3888888889
53101281124677.388888889-23396.3888888889
5494545124677.388888889-30132.3888888889
5593248124677.388888889-31429.3888888889
5684031124677.388888889-40646.3888888889
5787486124677.388888889-37191.3888888889
58115867124677.388888889-8810.3888888889
59120327124677.388888889-4350.3888888889
60117008124677.388888889-7669.3888888889
61108811124677.388888889-15866.3888888889







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.04558382291843520.09116764583687040.954416177081565
60.04580164294602780.09160328589205570.954198357053972
70.0616136930308540.1232273860617080.938386306969146
80.08993548850250050.1798709770050010.9100645114975
90.07952289362695670.1590457872539130.920477106373043
100.1323034273245450.2646068546490890.867696572675455
110.2880341930469920.5760683860939850.711965806953008
120.4238008251304710.8476016502609430.576199174869529
130.4117173681554380.8234347363108770.588282631844562
140.3455660629559030.6911321259118060.654433937044097
150.2817071307704860.5634142615409720.718292869229514
160.2293910794459240.4587821588918480.770608920554076
170.1910913712400300.3821827424800600.80890862875997
180.1684203396942450.3368406793884910.831579660305755
190.1645544151418630.3291088302837260.835445584858137
200.1815964664762120.3631929329524250.818403533523788
210.1837215550617970.3674431101235930.816278444938203
220.2296760236252670.4593520472505330.770323976374733
230.4313141186847550.862628237369510.568685881315245
240.7414119209690740.5171761580618510.258588079030926
250.7545913269954040.4908173460091910.245408673004596
260.7323866301957550.5352267396084890.267613369804245
270.6968329889022240.6063340221955530.303167011097776
280.6532098106178880.6935803787642230.346790189382112
290.6028617307665180.7942765384669650.397138269233482
300.5642370936302110.8715258127395770.435762906369788
310.5301055981262450.939788803747510.469894401873755
320.5065745875276880.9868508249446250.493425412472312
330.4661200500283570.9322401000567140.533879949971643
340.5377953911514550.924409217697090.462204608848545
350.7232503751925150.5534992496149710.276749624807485
360.8887840847206180.2224318305587650.111215915279382
370.910902615766320.1781947684673590.0890973842336795
380.8934658594938680.2130682810122650.106534140506132
390.8654874651447080.2690250697105840.134512534855292
400.831419850944820.3371602981103580.168580149055179
410.793957041881350.4120859162372980.206042958118649
420.777093731586050.4458125368278990.222906268413950
430.7782122376333060.4435755247333880.221787762366694
440.8623210046221970.2753579907556070.137678995377803
450.9618651927675440.0762696144649120.038134807232456
460.9371037922621320.1257924154757370.0628962077378683
470.9173443775661240.1653112448677520.082655622433876
480.8809035066403830.2381929867192340.119096493359617
490.821676204896990.3566475902060210.178323795103011
500.7808510934161140.4382978131677720.219148906583886
510.7250856937054840.5498286125890320.274914306294516
520.6521119622346440.6957760755307120.347888037765356
530.5673925962174580.8652148075650840.432607403782542
540.5095638696797390.9808722606405220.490436130320261
550.4542802414786190.9085604829572390.545719758521381
560.5963420737109850.807315852578030.403657926289015

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0455838229184352 & 0.0911676458368704 & 0.954416177081565 \tabularnewline
6 & 0.0458016429460278 & 0.0916032858920557 & 0.954198357053972 \tabularnewline
7 & 0.061613693030854 & 0.123227386061708 & 0.938386306969146 \tabularnewline
8 & 0.0899354885025005 & 0.179870977005001 & 0.9100645114975 \tabularnewline
9 & 0.0795228936269567 & 0.159045787253913 & 0.920477106373043 \tabularnewline
10 & 0.132303427324545 & 0.264606854649089 & 0.867696572675455 \tabularnewline
11 & 0.288034193046992 & 0.576068386093985 & 0.711965806953008 \tabularnewline
12 & 0.423800825130471 & 0.847601650260943 & 0.576199174869529 \tabularnewline
13 & 0.411717368155438 & 0.823434736310877 & 0.588282631844562 \tabularnewline
14 & 0.345566062955903 & 0.691132125911806 & 0.654433937044097 \tabularnewline
15 & 0.281707130770486 & 0.563414261540972 & 0.718292869229514 \tabularnewline
16 & 0.229391079445924 & 0.458782158891848 & 0.770608920554076 \tabularnewline
17 & 0.191091371240030 & 0.382182742480060 & 0.80890862875997 \tabularnewline
18 & 0.168420339694245 & 0.336840679388491 & 0.831579660305755 \tabularnewline
19 & 0.164554415141863 & 0.329108830283726 & 0.835445584858137 \tabularnewline
20 & 0.181596466476212 & 0.363192932952425 & 0.818403533523788 \tabularnewline
21 & 0.183721555061797 & 0.367443110123593 & 0.816278444938203 \tabularnewline
22 & 0.229676023625267 & 0.459352047250533 & 0.770323976374733 \tabularnewline
23 & 0.431314118684755 & 0.86262823736951 & 0.568685881315245 \tabularnewline
24 & 0.741411920969074 & 0.517176158061851 & 0.258588079030926 \tabularnewline
25 & 0.754591326995404 & 0.490817346009191 & 0.245408673004596 \tabularnewline
26 & 0.732386630195755 & 0.535226739608489 & 0.267613369804245 \tabularnewline
27 & 0.696832988902224 & 0.606334022195553 & 0.303167011097776 \tabularnewline
28 & 0.653209810617888 & 0.693580378764223 & 0.346790189382112 \tabularnewline
29 & 0.602861730766518 & 0.794276538466965 & 0.397138269233482 \tabularnewline
30 & 0.564237093630211 & 0.871525812739577 & 0.435762906369788 \tabularnewline
31 & 0.530105598126245 & 0.93978880374751 & 0.469894401873755 \tabularnewline
32 & 0.506574587527688 & 0.986850824944625 & 0.493425412472312 \tabularnewline
33 & 0.466120050028357 & 0.932240100056714 & 0.533879949971643 \tabularnewline
34 & 0.537795391151455 & 0.92440921769709 & 0.462204608848545 \tabularnewline
35 & 0.723250375192515 & 0.553499249614971 & 0.276749624807485 \tabularnewline
36 & 0.888784084720618 & 0.222431830558765 & 0.111215915279382 \tabularnewline
37 & 0.91090261576632 & 0.178194768467359 & 0.0890973842336795 \tabularnewline
38 & 0.893465859493868 & 0.213068281012265 & 0.106534140506132 \tabularnewline
39 & 0.865487465144708 & 0.269025069710584 & 0.134512534855292 \tabularnewline
40 & 0.83141985094482 & 0.337160298110358 & 0.168580149055179 \tabularnewline
41 & 0.79395704188135 & 0.412085916237298 & 0.206042958118649 \tabularnewline
42 & 0.77709373158605 & 0.445812536827899 & 0.222906268413950 \tabularnewline
43 & 0.778212237633306 & 0.443575524733388 & 0.221787762366694 \tabularnewline
44 & 0.862321004622197 & 0.275357990755607 & 0.137678995377803 \tabularnewline
45 & 0.961865192767544 & 0.076269614464912 & 0.038134807232456 \tabularnewline
46 & 0.937103792262132 & 0.125792415475737 & 0.0628962077378683 \tabularnewline
47 & 0.917344377566124 & 0.165311244867752 & 0.082655622433876 \tabularnewline
48 & 0.880903506640383 & 0.238192986719234 & 0.119096493359617 \tabularnewline
49 & 0.82167620489699 & 0.356647590206021 & 0.178323795103011 \tabularnewline
50 & 0.780851093416114 & 0.438297813167772 & 0.219148906583886 \tabularnewline
51 & 0.725085693705484 & 0.549828612589032 & 0.274914306294516 \tabularnewline
52 & 0.652111962234644 & 0.695776075530712 & 0.347888037765356 \tabularnewline
53 & 0.567392596217458 & 0.865214807565084 & 0.432607403782542 \tabularnewline
54 & 0.509563869679739 & 0.980872260640522 & 0.490436130320261 \tabularnewline
55 & 0.454280241478619 & 0.908560482957239 & 0.545719758521381 \tabularnewline
56 & 0.596342073710985 & 0.80731585257803 & 0.403657926289015 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25686&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.0455838229184352[/C][C]0.0911676458368704[/C][C]0.954416177081565[/C][/ROW]
[ROW][C]6[/C][C]0.0458016429460278[/C][C]0.0916032858920557[/C][C]0.954198357053972[/C][/ROW]
[ROW][C]7[/C][C]0.061613693030854[/C][C]0.123227386061708[/C][C]0.938386306969146[/C][/ROW]
[ROW][C]8[/C][C]0.0899354885025005[/C][C]0.179870977005001[/C][C]0.9100645114975[/C][/ROW]
[ROW][C]9[/C][C]0.0795228936269567[/C][C]0.159045787253913[/C][C]0.920477106373043[/C][/ROW]
[ROW][C]10[/C][C]0.132303427324545[/C][C]0.264606854649089[/C][C]0.867696572675455[/C][/ROW]
[ROW][C]11[/C][C]0.288034193046992[/C][C]0.576068386093985[/C][C]0.711965806953008[/C][/ROW]
[ROW][C]12[/C][C]0.423800825130471[/C][C]0.847601650260943[/C][C]0.576199174869529[/C][/ROW]
[ROW][C]13[/C][C]0.411717368155438[/C][C]0.823434736310877[/C][C]0.588282631844562[/C][/ROW]
[ROW][C]14[/C][C]0.345566062955903[/C][C]0.691132125911806[/C][C]0.654433937044097[/C][/ROW]
[ROW][C]15[/C][C]0.281707130770486[/C][C]0.563414261540972[/C][C]0.718292869229514[/C][/ROW]
[ROW][C]16[/C][C]0.229391079445924[/C][C]0.458782158891848[/C][C]0.770608920554076[/C][/ROW]
[ROW][C]17[/C][C]0.191091371240030[/C][C]0.382182742480060[/C][C]0.80890862875997[/C][/ROW]
[ROW][C]18[/C][C]0.168420339694245[/C][C]0.336840679388491[/C][C]0.831579660305755[/C][/ROW]
[ROW][C]19[/C][C]0.164554415141863[/C][C]0.329108830283726[/C][C]0.835445584858137[/C][/ROW]
[ROW][C]20[/C][C]0.181596466476212[/C][C]0.363192932952425[/C][C]0.818403533523788[/C][/ROW]
[ROW][C]21[/C][C]0.183721555061797[/C][C]0.367443110123593[/C][C]0.816278444938203[/C][/ROW]
[ROW][C]22[/C][C]0.229676023625267[/C][C]0.459352047250533[/C][C]0.770323976374733[/C][/ROW]
[ROW][C]23[/C][C]0.431314118684755[/C][C]0.86262823736951[/C][C]0.568685881315245[/C][/ROW]
[ROW][C]24[/C][C]0.741411920969074[/C][C]0.517176158061851[/C][C]0.258588079030926[/C][/ROW]
[ROW][C]25[/C][C]0.754591326995404[/C][C]0.490817346009191[/C][C]0.245408673004596[/C][/ROW]
[ROW][C]26[/C][C]0.732386630195755[/C][C]0.535226739608489[/C][C]0.267613369804245[/C][/ROW]
[ROW][C]27[/C][C]0.696832988902224[/C][C]0.606334022195553[/C][C]0.303167011097776[/C][/ROW]
[ROW][C]28[/C][C]0.653209810617888[/C][C]0.693580378764223[/C][C]0.346790189382112[/C][/ROW]
[ROW][C]29[/C][C]0.602861730766518[/C][C]0.794276538466965[/C][C]0.397138269233482[/C][/ROW]
[ROW][C]30[/C][C]0.564237093630211[/C][C]0.871525812739577[/C][C]0.435762906369788[/C][/ROW]
[ROW][C]31[/C][C]0.530105598126245[/C][C]0.93978880374751[/C][C]0.469894401873755[/C][/ROW]
[ROW][C]32[/C][C]0.506574587527688[/C][C]0.986850824944625[/C][C]0.493425412472312[/C][/ROW]
[ROW][C]33[/C][C]0.466120050028357[/C][C]0.932240100056714[/C][C]0.533879949971643[/C][/ROW]
[ROW][C]34[/C][C]0.537795391151455[/C][C]0.92440921769709[/C][C]0.462204608848545[/C][/ROW]
[ROW][C]35[/C][C]0.723250375192515[/C][C]0.553499249614971[/C][C]0.276749624807485[/C][/ROW]
[ROW][C]36[/C][C]0.888784084720618[/C][C]0.222431830558765[/C][C]0.111215915279382[/C][/ROW]
[ROW][C]37[/C][C]0.91090261576632[/C][C]0.178194768467359[/C][C]0.0890973842336795[/C][/ROW]
[ROW][C]38[/C][C]0.893465859493868[/C][C]0.213068281012265[/C][C]0.106534140506132[/C][/ROW]
[ROW][C]39[/C][C]0.865487465144708[/C][C]0.269025069710584[/C][C]0.134512534855292[/C][/ROW]
[ROW][C]40[/C][C]0.83141985094482[/C][C]0.337160298110358[/C][C]0.168580149055179[/C][/ROW]
[ROW][C]41[/C][C]0.79395704188135[/C][C]0.412085916237298[/C][C]0.206042958118649[/C][/ROW]
[ROW][C]42[/C][C]0.77709373158605[/C][C]0.445812536827899[/C][C]0.222906268413950[/C][/ROW]
[ROW][C]43[/C][C]0.778212237633306[/C][C]0.443575524733388[/C][C]0.221787762366694[/C][/ROW]
[ROW][C]44[/C][C]0.862321004622197[/C][C]0.275357990755607[/C][C]0.137678995377803[/C][/ROW]
[ROW][C]45[/C][C]0.961865192767544[/C][C]0.076269614464912[/C][C]0.038134807232456[/C][/ROW]
[ROW][C]46[/C][C]0.937103792262132[/C][C]0.125792415475737[/C][C]0.0628962077378683[/C][/ROW]
[ROW][C]47[/C][C]0.917344377566124[/C][C]0.165311244867752[/C][C]0.082655622433876[/C][/ROW]
[ROW][C]48[/C][C]0.880903506640383[/C][C]0.238192986719234[/C][C]0.119096493359617[/C][/ROW]
[ROW][C]49[/C][C]0.82167620489699[/C][C]0.356647590206021[/C][C]0.178323795103011[/C][/ROW]
[ROW][C]50[/C][C]0.780851093416114[/C][C]0.438297813167772[/C][C]0.219148906583886[/C][/ROW]
[ROW][C]51[/C][C]0.725085693705484[/C][C]0.549828612589032[/C][C]0.274914306294516[/C][/ROW]
[ROW][C]52[/C][C]0.652111962234644[/C][C]0.695776075530712[/C][C]0.347888037765356[/C][/ROW]
[ROW][C]53[/C][C]0.567392596217458[/C][C]0.865214807565084[/C][C]0.432607403782542[/C][/ROW]
[ROW][C]54[/C][C]0.509563869679739[/C][C]0.980872260640522[/C][C]0.490436130320261[/C][/ROW]
[ROW][C]55[/C][C]0.454280241478619[/C][C]0.908560482957239[/C][C]0.545719758521381[/C][/ROW]
[ROW][C]56[/C][C]0.596342073710985[/C][C]0.80731585257803[/C][C]0.403657926289015[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25686&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25686&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.04558382291843520.09116764583687040.954416177081565
60.04580164294602780.09160328589205570.954198357053972
70.0616136930308540.1232273860617080.938386306969146
80.08993548850250050.1798709770050010.9100645114975
90.07952289362695670.1590457872539130.920477106373043
100.1323034273245450.2646068546490890.867696572675455
110.2880341930469920.5760683860939850.711965806953008
120.4238008251304710.8476016502609430.576199174869529
130.4117173681554380.8234347363108770.588282631844562
140.3455660629559030.6911321259118060.654433937044097
150.2817071307704860.5634142615409720.718292869229514
160.2293910794459240.4587821588918480.770608920554076
170.1910913712400300.3821827424800600.80890862875997
180.1684203396942450.3368406793884910.831579660305755
190.1645544151418630.3291088302837260.835445584858137
200.1815964664762120.3631929329524250.818403533523788
210.1837215550617970.3674431101235930.816278444938203
220.2296760236252670.4593520472505330.770323976374733
230.4313141186847550.862628237369510.568685881315245
240.7414119209690740.5171761580618510.258588079030926
250.7545913269954040.4908173460091910.245408673004596
260.7323866301957550.5352267396084890.267613369804245
270.6968329889022240.6063340221955530.303167011097776
280.6532098106178880.6935803787642230.346790189382112
290.6028617307665180.7942765384669650.397138269233482
300.5642370936302110.8715258127395770.435762906369788
310.5301055981262450.939788803747510.469894401873755
320.5065745875276880.9868508249446250.493425412472312
330.4661200500283570.9322401000567140.533879949971643
340.5377953911514550.924409217697090.462204608848545
350.7232503751925150.5534992496149710.276749624807485
360.8887840847206180.2224318305587650.111215915279382
370.910902615766320.1781947684673590.0890973842336795
380.8934658594938680.2130682810122650.106534140506132
390.8654874651447080.2690250697105840.134512534855292
400.831419850944820.3371602981103580.168580149055179
410.793957041881350.4120859162372980.206042958118649
420.777093731586050.4458125368278990.222906268413950
430.7782122376333060.4435755247333880.221787762366694
440.8623210046221970.2753579907556070.137678995377803
450.9618651927675440.0762696144649120.038134807232456
460.9371037922621320.1257924154757370.0628962077378683
470.9173443775661240.1653112448677520.082655622433876
480.8809035066403830.2381929867192340.119096493359617
490.821676204896990.3566475902060210.178323795103011
500.7808510934161140.4382978131677720.219148906583886
510.7250856937054840.5498286125890320.274914306294516
520.6521119622346440.6957760755307120.347888037765356
530.5673925962174580.8652148075650840.432607403782542
540.5095638696797390.9808722606405220.490436130320261
550.4542802414786190.9085604829572390.545719758521381
560.5963420737109850.807315852578030.403657926289015







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 level30.0576923076923077OK

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

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



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