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 10:31:29 -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/t12277207473ue967v2vp2r1ew.htm/, Retrieved Sun, 19 May 2024 08:03:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25673, Retrieved Sun, 19 May 2024 08:03:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsmultiple lineair regression
Estimated Impact116
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 17:31:29] [962e6c9020896982bc8283b8971710a9] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25673&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25673&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
jonger_dan_25[t] = + 124955.456521739 + 294.610144927525winter[t] + e[t]

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

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]jonger_dan_25[t] =  +  124955.456521739 +  294.610144927525winter[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25673&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25673&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] = + 124955.456521739 + 294.610144927525winter[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)124955.4565217392971.5822242.050100
winter294.6101449275255992.4861520.04920.9609550.480478

\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) & 124955.456521739 & 2971.58222 & 42.0501 & 0 & 0 \tabularnewline
winter & 294.610144927525 & 5992.486152 & 0.0492 & 0.960955 & 0.480478 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25673&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]124955.456521739[/C][C]2971.58222[/C][C]42.0501[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]winter[/C][C]294.610144927525[/C][C]5992.486152[/C][C]0.0492[/C][C]0.960955[/C][C]0.480478[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25673&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25673&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)124955.4565217392971.5822242.050100
winter294.6101449275255992.4861520.04920.9609550.480478







Multiple Linear Regression - Regression Statistics
Multiple R0.00640037996695919
R-squared4.09648637214525e-05
Adjusted R-squared-0.0169074933589273
F-TEST (value)0.00241702597270528
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.960955245791588
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20154.2511873085
Sum Squared Residuals23965436614.3464

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.00640037996695919 \tabularnewline
R-squared & 4.09648637214525e-05 \tabularnewline
Adjusted R-squared & -0.0169074933589273 \tabularnewline
F-TEST (value) & 0.00241702597270528 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.960955245791588 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 20154.2511873085 \tabularnewline
Sum Squared Residuals & 23965436614.3464 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25673&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.00640037996695919[/C][/ROW]
[ROW][C]R-squared[/C][C]4.09648637214525e-05[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0169074933589273[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.00241702597270528[/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.960955245791588[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]20154.2511873085[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]23965436614.3464[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25673&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25673&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.00640037996695919
R-squared4.09648637214525e-05
Adjusted R-squared-0.0169074933589273
F-TEST (value)0.00241702597270528
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.960955245791588
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20154.2511873085
Sum Squared Residuals23965436614.3464







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1159129124955.45652173934173.5434782613
2157928124955.45652173932972.5434782609
3147768124955.45652173922812.5434782609
4137507125250.06666666712256.9333333333
5136919125250.06666666711668.9333333333
6136151125250.06666666710900.9333333333
7133001124955.4565217398045.54347826086
8125554124955.456521739598.54347826086
9119647124955.456521739-5308.45652173914
10114158124955.456521739-10797.4565217391
11116193124955.456521739-8762.45652173914
12152803124955.45652173927847.5434782609
13161761124955.45652173936805.5434782609
14160942124955.45652173935986.5434782609
15149470124955.45652173924514.5434782609
16139208125250.06666666713957.9333333333
17134588125250.0666666679337.93333333333
18130322125250.0666666675071.93333333334
19126611124955.4565217391655.54347826086
20122401124955.456521739-2554.45652173914
21117352124955.456521739-7603.45652173914
22112135124955.456521739-12820.4565217391
23112879124955.456521739-12076.4565217391
24148729124955.45652173923773.5434782609
25157230124955.45652173932274.5434782609
26157221124955.45652173932265.5434782609
27146681124955.45652173921725.5434782609
28136524125250.06666666711273.9333333333
29132111125250.0666666676860.93333333334
30125326125250.06666666775.9333333333352
31122716124955.456521739-2239.45652173914
32116615124955.456521739-8340.45652173914
33113719124955.456521739-11236.4565217391
34110737124955.456521739-14218.4565217391
35112093124955.456521739-12862.4565217391
36143565124955.45652173918609.5434782609
37149946124955.45652173924990.5434782609
38149147124955.45652173924191.5434782609
39134339124955.4565217399383.54347826086
40122683125250.066666667-2567.06666666666
41115614125250.066666667-9636.06666666667
42116566125250.066666667-8684.06666666667
43111272124955.456521739-13683.4565217391
44104609124955.456521739-20346.4565217391
45101802124955.456521739-23153.4565217391
4694542124955.456521739-30413.4565217391
4793051124955.456521739-31904.4565217391
48124129124955.456521739-826.45652173914
49130374124955.4565217395418.54347826086
50123946124955.456521739-1009.45652173914
51114971124955.456521739-9984.45652173914
52105531125250.066666667-19719.0666666667
53104919125250.066666667-20331.0666666667
54104782125250.066666667-20468.0666666667
55101281124955.456521739-23674.4565217391
5694545124955.456521739-30410.4565217391
5793248124955.456521739-31707.4565217391
5884031124955.456521739-40924.4565217391
5987486124955.456521739-37469.4565217391
60115867124955.456521739-9088.45652173914
61120327124955.456521739-4628.45652173914

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 159129 & 124955.456521739 & 34173.5434782613 \tabularnewline
2 & 157928 & 124955.456521739 & 32972.5434782609 \tabularnewline
3 & 147768 & 124955.456521739 & 22812.5434782609 \tabularnewline
4 & 137507 & 125250.066666667 & 12256.9333333333 \tabularnewline
5 & 136919 & 125250.066666667 & 11668.9333333333 \tabularnewline
6 & 136151 & 125250.066666667 & 10900.9333333333 \tabularnewline
7 & 133001 & 124955.456521739 & 8045.54347826086 \tabularnewline
8 & 125554 & 124955.456521739 & 598.54347826086 \tabularnewline
9 & 119647 & 124955.456521739 & -5308.45652173914 \tabularnewline
10 & 114158 & 124955.456521739 & -10797.4565217391 \tabularnewline
11 & 116193 & 124955.456521739 & -8762.45652173914 \tabularnewline
12 & 152803 & 124955.456521739 & 27847.5434782609 \tabularnewline
13 & 161761 & 124955.456521739 & 36805.5434782609 \tabularnewline
14 & 160942 & 124955.456521739 & 35986.5434782609 \tabularnewline
15 & 149470 & 124955.456521739 & 24514.5434782609 \tabularnewline
16 & 139208 & 125250.066666667 & 13957.9333333333 \tabularnewline
17 & 134588 & 125250.066666667 & 9337.93333333333 \tabularnewline
18 & 130322 & 125250.066666667 & 5071.93333333334 \tabularnewline
19 & 126611 & 124955.456521739 & 1655.54347826086 \tabularnewline
20 & 122401 & 124955.456521739 & -2554.45652173914 \tabularnewline
21 & 117352 & 124955.456521739 & -7603.45652173914 \tabularnewline
22 & 112135 & 124955.456521739 & -12820.4565217391 \tabularnewline
23 & 112879 & 124955.456521739 & -12076.4565217391 \tabularnewline
24 & 148729 & 124955.456521739 & 23773.5434782609 \tabularnewline
25 & 157230 & 124955.456521739 & 32274.5434782609 \tabularnewline
26 & 157221 & 124955.456521739 & 32265.5434782609 \tabularnewline
27 & 146681 & 124955.456521739 & 21725.5434782609 \tabularnewline
28 & 136524 & 125250.066666667 & 11273.9333333333 \tabularnewline
29 & 132111 & 125250.066666667 & 6860.93333333334 \tabularnewline
30 & 125326 & 125250.066666667 & 75.9333333333352 \tabularnewline
31 & 122716 & 124955.456521739 & -2239.45652173914 \tabularnewline
32 & 116615 & 124955.456521739 & -8340.45652173914 \tabularnewline
33 & 113719 & 124955.456521739 & -11236.4565217391 \tabularnewline
34 & 110737 & 124955.456521739 & -14218.4565217391 \tabularnewline
35 & 112093 & 124955.456521739 & -12862.4565217391 \tabularnewline
36 & 143565 & 124955.456521739 & 18609.5434782609 \tabularnewline
37 & 149946 & 124955.456521739 & 24990.5434782609 \tabularnewline
38 & 149147 & 124955.456521739 & 24191.5434782609 \tabularnewline
39 & 134339 & 124955.456521739 & 9383.54347826086 \tabularnewline
40 & 122683 & 125250.066666667 & -2567.06666666666 \tabularnewline
41 & 115614 & 125250.066666667 & -9636.06666666667 \tabularnewline
42 & 116566 & 125250.066666667 & -8684.06666666667 \tabularnewline
43 & 111272 & 124955.456521739 & -13683.4565217391 \tabularnewline
44 & 104609 & 124955.456521739 & -20346.4565217391 \tabularnewline
45 & 101802 & 124955.456521739 & -23153.4565217391 \tabularnewline
46 & 94542 & 124955.456521739 & -30413.4565217391 \tabularnewline
47 & 93051 & 124955.456521739 & -31904.4565217391 \tabularnewline
48 & 124129 & 124955.456521739 & -826.45652173914 \tabularnewline
49 & 130374 & 124955.456521739 & 5418.54347826086 \tabularnewline
50 & 123946 & 124955.456521739 & -1009.45652173914 \tabularnewline
51 & 114971 & 124955.456521739 & -9984.45652173914 \tabularnewline
52 & 105531 & 125250.066666667 & -19719.0666666667 \tabularnewline
53 & 104919 & 125250.066666667 & -20331.0666666667 \tabularnewline
54 & 104782 & 125250.066666667 & -20468.0666666667 \tabularnewline
55 & 101281 & 124955.456521739 & -23674.4565217391 \tabularnewline
56 & 94545 & 124955.456521739 & -30410.4565217391 \tabularnewline
57 & 93248 & 124955.456521739 & -31707.4565217391 \tabularnewline
58 & 84031 & 124955.456521739 & -40924.4565217391 \tabularnewline
59 & 87486 & 124955.456521739 & -37469.4565217391 \tabularnewline
60 & 115867 & 124955.456521739 & -9088.45652173914 \tabularnewline
61 & 120327 & 124955.456521739 & -4628.45652173914 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25673&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]159129[/C][C]124955.456521739[/C][C]34173.5434782613[/C][/ROW]
[ROW][C]2[/C][C]157928[/C][C]124955.456521739[/C][C]32972.5434782609[/C][/ROW]
[ROW][C]3[/C][C]147768[/C][C]124955.456521739[/C][C]22812.5434782609[/C][/ROW]
[ROW][C]4[/C][C]137507[/C][C]125250.066666667[/C][C]12256.9333333333[/C][/ROW]
[ROW][C]5[/C][C]136919[/C][C]125250.066666667[/C][C]11668.9333333333[/C][/ROW]
[ROW][C]6[/C][C]136151[/C][C]125250.066666667[/C][C]10900.9333333333[/C][/ROW]
[ROW][C]7[/C][C]133001[/C][C]124955.456521739[/C][C]8045.54347826086[/C][/ROW]
[ROW][C]8[/C][C]125554[/C][C]124955.456521739[/C][C]598.54347826086[/C][/ROW]
[ROW][C]9[/C][C]119647[/C][C]124955.456521739[/C][C]-5308.45652173914[/C][/ROW]
[ROW][C]10[/C][C]114158[/C][C]124955.456521739[/C][C]-10797.4565217391[/C][/ROW]
[ROW][C]11[/C][C]116193[/C][C]124955.456521739[/C][C]-8762.45652173914[/C][/ROW]
[ROW][C]12[/C][C]152803[/C][C]124955.456521739[/C][C]27847.5434782609[/C][/ROW]
[ROW][C]13[/C][C]161761[/C][C]124955.456521739[/C][C]36805.5434782609[/C][/ROW]
[ROW][C]14[/C][C]160942[/C][C]124955.456521739[/C][C]35986.5434782609[/C][/ROW]
[ROW][C]15[/C][C]149470[/C][C]124955.456521739[/C][C]24514.5434782609[/C][/ROW]
[ROW][C]16[/C][C]139208[/C][C]125250.066666667[/C][C]13957.9333333333[/C][/ROW]
[ROW][C]17[/C][C]134588[/C][C]125250.066666667[/C][C]9337.93333333333[/C][/ROW]
[ROW][C]18[/C][C]130322[/C][C]125250.066666667[/C][C]5071.93333333334[/C][/ROW]
[ROW][C]19[/C][C]126611[/C][C]124955.456521739[/C][C]1655.54347826086[/C][/ROW]
[ROW][C]20[/C][C]122401[/C][C]124955.456521739[/C][C]-2554.45652173914[/C][/ROW]
[ROW][C]21[/C][C]117352[/C][C]124955.456521739[/C][C]-7603.45652173914[/C][/ROW]
[ROW][C]22[/C][C]112135[/C][C]124955.456521739[/C][C]-12820.4565217391[/C][/ROW]
[ROW][C]23[/C][C]112879[/C][C]124955.456521739[/C][C]-12076.4565217391[/C][/ROW]
[ROW][C]24[/C][C]148729[/C][C]124955.456521739[/C][C]23773.5434782609[/C][/ROW]
[ROW][C]25[/C][C]157230[/C][C]124955.456521739[/C][C]32274.5434782609[/C][/ROW]
[ROW][C]26[/C][C]157221[/C][C]124955.456521739[/C][C]32265.5434782609[/C][/ROW]
[ROW][C]27[/C][C]146681[/C][C]124955.456521739[/C][C]21725.5434782609[/C][/ROW]
[ROW][C]28[/C][C]136524[/C][C]125250.066666667[/C][C]11273.9333333333[/C][/ROW]
[ROW][C]29[/C][C]132111[/C][C]125250.066666667[/C][C]6860.93333333334[/C][/ROW]
[ROW][C]30[/C][C]125326[/C][C]125250.066666667[/C][C]75.9333333333352[/C][/ROW]
[ROW][C]31[/C][C]122716[/C][C]124955.456521739[/C][C]-2239.45652173914[/C][/ROW]
[ROW][C]32[/C][C]116615[/C][C]124955.456521739[/C][C]-8340.45652173914[/C][/ROW]
[ROW][C]33[/C][C]113719[/C][C]124955.456521739[/C][C]-11236.4565217391[/C][/ROW]
[ROW][C]34[/C][C]110737[/C][C]124955.456521739[/C][C]-14218.4565217391[/C][/ROW]
[ROW][C]35[/C][C]112093[/C][C]124955.456521739[/C][C]-12862.4565217391[/C][/ROW]
[ROW][C]36[/C][C]143565[/C][C]124955.456521739[/C][C]18609.5434782609[/C][/ROW]
[ROW][C]37[/C][C]149946[/C][C]124955.456521739[/C][C]24990.5434782609[/C][/ROW]
[ROW][C]38[/C][C]149147[/C][C]124955.456521739[/C][C]24191.5434782609[/C][/ROW]
[ROW][C]39[/C][C]134339[/C][C]124955.456521739[/C][C]9383.54347826086[/C][/ROW]
[ROW][C]40[/C][C]122683[/C][C]125250.066666667[/C][C]-2567.06666666666[/C][/ROW]
[ROW][C]41[/C][C]115614[/C][C]125250.066666667[/C][C]-9636.06666666667[/C][/ROW]
[ROW][C]42[/C][C]116566[/C][C]125250.066666667[/C][C]-8684.06666666667[/C][/ROW]
[ROW][C]43[/C][C]111272[/C][C]124955.456521739[/C][C]-13683.4565217391[/C][/ROW]
[ROW][C]44[/C][C]104609[/C][C]124955.456521739[/C][C]-20346.4565217391[/C][/ROW]
[ROW][C]45[/C][C]101802[/C][C]124955.456521739[/C][C]-23153.4565217391[/C][/ROW]
[ROW][C]46[/C][C]94542[/C][C]124955.456521739[/C][C]-30413.4565217391[/C][/ROW]
[ROW][C]47[/C][C]93051[/C][C]124955.456521739[/C][C]-31904.4565217391[/C][/ROW]
[ROW][C]48[/C][C]124129[/C][C]124955.456521739[/C][C]-826.45652173914[/C][/ROW]
[ROW][C]49[/C][C]130374[/C][C]124955.456521739[/C][C]5418.54347826086[/C][/ROW]
[ROW][C]50[/C][C]123946[/C][C]124955.456521739[/C][C]-1009.45652173914[/C][/ROW]
[ROW][C]51[/C][C]114971[/C][C]124955.456521739[/C][C]-9984.45652173914[/C][/ROW]
[ROW][C]52[/C][C]105531[/C][C]125250.066666667[/C][C]-19719.0666666667[/C][/ROW]
[ROW][C]53[/C][C]104919[/C][C]125250.066666667[/C][C]-20331.0666666667[/C][/ROW]
[ROW][C]54[/C][C]104782[/C][C]125250.066666667[/C][C]-20468.0666666667[/C][/ROW]
[ROW][C]55[/C][C]101281[/C][C]124955.456521739[/C][C]-23674.4565217391[/C][/ROW]
[ROW][C]56[/C][C]94545[/C][C]124955.456521739[/C][C]-30410.4565217391[/C][/ROW]
[ROW][C]57[/C][C]93248[/C][C]124955.456521739[/C][C]-31707.4565217391[/C][/ROW]
[ROW][C]58[/C][C]84031[/C][C]124955.456521739[/C][C]-40924.4565217391[/C][/ROW]
[ROW][C]59[/C][C]87486[/C][C]124955.456521739[/C][C]-37469.4565217391[/C][/ROW]
[ROW][C]60[/C][C]115867[/C][C]124955.456521739[/C][C]-9088.45652173914[/C][/ROW]
[ROW][C]61[/C][C]120327[/C][C]124955.456521739[/C][C]-4628.45652173914[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25673&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25673&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
1159129124955.45652173934173.5434782613
2157928124955.45652173932972.5434782609
3147768124955.45652173922812.5434782609
4137507125250.06666666712256.9333333333
5136919125250.06666666711668.9333333333
6136151125250.06666666710900.9333333333
7133001124955.4565217398045.54347826086
8125554124955.456521739598.54347826086
9119647124955.456521739-5308.45652173914
10114158124955.456521739-10797.4565217391
11116193124955.456521739-8762.45652173914
12152803124955.45652173927847.5434782609
13161761124955.45652173936805.5434782609
14160942124955.45652173935986.5434782609
15149470124955.45652173924514.5434782609
16139208125250.06666666713957.9333333333
17134588125250.0666666679337.93333333333
18130322125250.0666666675071.93333333334
19126611124955.4565217391655.54347826086
20122401124955.456521739-2554.45652173914
21117352124955.456521739-7603.45652173914
22112135124955.456521739-12820.4565217391
23112879124955.456521739-12076.4565217391
24148729124955.45652173923773.5434782609
25157230124955.45652173932274.5434782609
26157221124955.45652173932265.5434782609
27146681124955.45652173921725.5434782609
28136524125250.06666666711273.9333333333
29132111125250.0666666676860.93333333334
30125326125250.06666666775.9333333333352
31122716124955.456521739-2239.45652173914
32116615124955.456521739-8340.45652173914
33113719124955.456521739-11236.4565217391
34110737124955.456521739-14218.4565217391
35112093124955.456521739-12862.4565217391
36143565124955.45652173918609.5434782609
37149946124955.45652173924990.5434782609
38149147124955.45652173924191.5434782609
39134339124955.4565217399383.54347826086
40122683125250.066666667-2567.06666666666
41115614125250.066666667-9636.06666666667
42116566125250.066666667-8684.06666666667
43111272124955.456521739-13683.4565217391
44104609124955.456521739-20346.4565217391
45101802124955.456521739-23153.4565217391
4694542124955.456521739-30413.4565217391
4793051124955.456521739-31904.4565217391
48124129124955.456521739-826.45652173914
49130374124955.4565217395418.54347826086
50123946124955.456521739-1009.45652173914
51114971124955.456521739-9984.45652173914
52105531125250.066666667-19719.0666666667
53104919125250.066666667-20331.0666666667
54104782125250.066666667-20468.0666666667
55101281124955.456521739-23674.4565217391
5694545124955.456521739-30410.4565217391
5793248124955.456521739-31707.4565217391
5884031124955.456521739-40924.4565217391
5987486124955.456521739-37469.4565217391
60115867124955.456521739-9088.45652173914
61120327124955.456521739-4628.45652173914







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.02329876686259430.04659753372518860.976701233137406
60.005013660512897390.01002732102579480.994986339487103
70.04963357686544230.09926715373088460.950366423134558
80.1078896401374690.2157792802749370.892110359862532
90.1681330275400140.3362660550800280.831866972459986
100.2330754302099960.4661508604199910.766924569790004
110.2323087599282390.4646175198564780.767691240071761
120.2400952986225940.4801905972451890.759904701377406
130.3355219191647510.6710438383295020.664478080835249
140.415534759665870.831069519331740.58446524033413
150.3865047370240950.773009474048190.613495262975905
160.3188022281163850.637604456232770.681197771883615
170.2541828370302780.5083656740605560.745817162969722
180.199986054375120.399972108750240.80001394562488
190.1755473957354260.3510947914708510.824452604264574
200.1636677478230820.3273354956461640.836332252176918
210.1679616764574280.3359233529148560.832038323542572
220.1912473160541610.3824946321083220.808752683945839
230.1974902285649010.3949804571298010.8025097714351
240.2080261739852830.4160523479705670.791973826014717
250.3029663138049460.6059326276098910.697033686195054
260.4371293973823810.8742587947647620.562870602617619
270.4826811613012260.9653623226024520.517318838698774
280.4504173462964770.9008346925929540.549582653703523
290.413020330231960.826040660463920.58697966976804
300.3720393894636040.7440787789272070.627960610536396
310.3413419556533450.682683911306690.658658044346655
320.3258505703095290.6517011406190580.674149429690471
330.3164331568430890.6328663136861790.68356684315691
340.3143306302240690.6286612604481370.685669369775932
350.2967725495916920.5935450991833830.703227450408308
360.3516423642829150.703284728565830.648357635717085
370.5373891237395390.9252217525209210.462610876260461
380.7821472690778030.4357054618443950.217852730922197
390.8565360128798580.2869279742402840.143463987120142
400.8392069851879830.3215860296240340.160793014812017
410.8107635042094410.3784729915811180.189236495790559
420.7842221253282290.4315557493435430.215777874671771
430.7607029009584440.4785941980831110.239297099041556
440.7438880164950280.5122239670099440.256111983504972
450.7296542145216720.5406915709566550.270345785478328
460.756943566321250.48611286735750.24305643367875
470.7877322179971410.4245355640057170.212267782002859
480.7771597951205690.4456804097588630.222840204879431
490.851447754297020.2971044914059590.148552245702979
500.8932120330048650.2135759339902700.106787966995135
510.8895179732603180.2209640534793630.110482026739682
520.8314131887726040.3371736224547910.168586811227396
530.7483989767487350.503202046502530.251601023251265
540.6365766374914570.7268467250170860.363423362508543
550.5099612887920020.9800774224159950.490038711207998
560.3819724199079550.7639448398159090.618027580092045

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0232987668625943 & 0.0465975337251886 & 0.976701233137406 \tabularnewline
6 & 0.00501366051289739 & 0.0100273210257948 & 0.994986339487103 \tabularnewline
7 & 0.0496335768654423 & 0.0992671537308846 & 0.950366423134558 \tabularnewline
8 & 0.107889640137469 & 0.215779280274937 & 0.892110359862532 \tabularnewline
9 & 0.168133027540014 & 0.336266055080028 & 0.831866972459986 \tabularnewline
10 & 0.233075430209996 & 0.466150860419991 & 0.766924569790004 \tabularnewline
11 & 0.232308759928239 & 0.464617519856478 & 0.767691240071761 \tabularnewline
12 & 0.240095298622594 & 0.480190597245189 & 0.759904701377406 \tabularnewline
13 & 0.335521919164751 & 0.671043838329502 & 0.664478080835249 \tabularnewline
14 & 0.41553475966587 & 0.83106951933174 & 0.58446524033413 \tabularnewline
15 & 0.386504737024095 & 0.77300947404819 & 0.613495262975905 \tabularnewline
16 & 0.318802228116385 & 0.63760445623277 & 0.681197771883615 \tabularnewline
17 & 0.254182837030278 & 0.508365674060556 & 0.745817162969722 \tabularnewline
18 & 0.19998605437512 & 0.39997210875024 & 0.80001394562488 \tabularnewline
19 & 0.175547395735426 & 0.351094791470851 & 0.824452604264574 \tabularnewline
20 & 0.163667747823082 & 0.327335495646164 & 0.836332252176918 \tabularnewline
21 & 0.167961676457428 & 0.335923352914856 & 0.832038323542572 \tabularnewline
22 & 0.191247316054161 & 0.382494632108322 & 0.808752683945839 \tabularnewline
23 & 0.197490228564901 & 0.394980457129801 & 0.8025097714351 \tabularnewline
24 & 0.208026173985283 & 0.416052347970567 & 0.791973826014717 \tabularnewline
25 & 0.302966313804946 & 0.605932627609891 & 0.697033686195054 \tabularnewline
26 & 0.437129397382381 & 0.874258794764762 & 0.562870602617619 \tabularnewline
27 & 0.482681161301226 & 0.965362322602452 & 0.517318838698774 \tabularnewline
28 & 0.450417346296477 & 0.900834692592954 & 0.549582653703523 \tabularnewline
29 & 0.41302033023196 & 0.82604066046392 & 0.58697966976804 \tabularnewline
30 & 0.372039389463604 & 0.744078778927207 & 0.627960610536396 \tabularnewline
31 & 0.341341955653345 & 0.68268391130669 & 0.658658044346655 \tabularnewline
32 & 0.325850570309529 & 0.651701140619058 & 0.674149429690471 \tabularnewline
33 & 0.316433156843089 & 0.632866313686179 & 0.68356684315691 \tabularnewline
34 & 0.314330630224069 & 0.628661260448137 & 0.685669369775932 \tabularnewline
35 & 0.296772549591692 & 0.593545099183383 & 0.703227450408308 \tabularnewline
36 & 0.351642364282915 & 0.70328472856583 & 0.648357635717085 \tabularnewline
37 & 0.537389123739539 & 0.925221752520921 & 0.462610876260461 \tabularnewline
38 & 0.782147269077803 & 0.435705461844395 & 0.217852730922197 \tabularnewline
39 & 0.856536012879858 & 0.286927974240284 & 0.143463987120142 \tabularnewline
40 & 0.839206985187983 & 0.321586029624034 & 0.160793014812017 \tabularnewline
41 & 0.810763504209441 & 0.378472991581118 & 0.189236495790559 \tabularnewline
42 & 0.784222125328229 & 0.431555749343543 & 0.215777874671771 \tabularnewline
43 & 0.760702900958444 & 0.478594198083111 & 0.239297099041556 \tabularnewline
44 & 0.743888016495028 & 0.512223967009944 & 0.256111983504972 \tabularnewline
45 & 0.729654214521672 & 0.540691570956655 & 0.270345785478328 \tabularnewline
46 & 0.75694356632125 & 0.4861128673575 & 0.24305643367875 \tabularnewline
47 & 0.787732217997141 & 0.424535564005717 & 0.212267782002859 \tabularnewline
48 & 0.777159795120569 & 0.445680409758863 & 0.222840204879431 \tabularnewline
49 & 0.85144775429702 & 0.297104491405959 & 0.148552245702979 \tabularnewline
50 & 0.893212033004865 & 0.213575933990270 & 0.106787966995135 \tabularnewline
51 & 0.889517973260318 & 0.220964053479363 & 0.110482026739682 \tabularnewline
52 & 0.831413188772604 & 0.337173622454791 & 0.168586811227396 \tabularnewline
53 & 0.748398976748735 & 0.50320204650253 & 0.251601023251265 \tabularnewline
54 & 0.636576637491457 & 0.726846725017086 & 0.363423362508543 \tabularnewline
55 & 0.509961288792002 & 0.980077422415995 & 0.490038711207998 \tabularnewline
56 & 0.381972419907955 & 0.763944839815909 & 0.618027580092045 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25673&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.0232987668625943[/C][C]0.0465975337251886[/C][C]0.976701233137406[/C][/ROW]
[ROW][C]6[/C][C]0.00501366051289739[/C][C]0.0100273210257948[/C][C]0.994986339487103[/C][/ROW]
[ROW][C]7[/C][C]0.0496335768654423[/C][C]0.0992671537308846[/C][C]0.950366423134558[/C][/ROW]
[ROW][C]8[/C][C]0.107889640137469[/C][C]0.215779280274937[/C][C]0.892110359862532[/C][/ROW]
[ROW][C]9[/C][C]0.168133027540014[/C][C]0.336266055080028[/C][C]0.831866972459986[/C][/ROW]
[ROW][C]10[/C][C]0.233075430209996[/C][C]0.466150860419991[/C][C]0.766924569790004[/C][/ROW]
[ROW][C]11[/C][C]0.232308759928239[/C][C]0.464617519856478[/C][C]0.767691240071761[/C][/ROW]
[ROW][C]12[/C][C]0.240095298622594[/C][C]0.480190597245189[/C][C]0.759904701377406[/C][/ROW]
[ROW][C]13[/C][C]0.335521919164751[/C][C]0.671043838329502[/C][C]0.664478080835249[/C][/ROW]
[ROW][C]14[/C][C]0.41553475966587[/C][C]0.83106951933174[/C][C]0.58446524033413[/C][/ROW]
[ROW][C]15[/C][C]0.386504737024095[/C][C]0.77300947404819[/C][C]0.613495262975905[/C][/ROW]
[ROW][C]16[/C][C]0.318802228116385[/C][C]0.63760445623277[/C][C]0.681197771883615[/C][/ROW]
[ROW][C]17[/C][C]0.254182837030278[/C][C]0.508365674060556[/C][C]0.745817162969722[/C][/ROW]
[ROW][C]18[/C][C]0.19998605437512[/C][C]0.39997210875024[/C][C]0.80001394562488[/C][/ROW]
[ROW][C]19[/C][C]0.175547395735426[/C][C]0.351094791470851[/C][C]0.824452604264574[/C][/ROW]
[ROW][C]20[/C][C]0.163667747823082[/C][C]0.327335495646164[/C][C]0.836332252176918[/C][/ROW]
[ROW][C]21[/C][C]0.167961676457428[/C][C]0.335923352914856[/C][C]0.832038323542572[/C][/ROW]
[ROW][C]22[/C][C]0.191247316054161[/C][C]0.382494632108322[/C][C]0.808752683945839[/C][/ROW]
[ROW][C]23[/C][C]0.197490228564901[/C][C]0.394980457129801[/C][C]0.8025097714351[/C][/ROW]
[ROW][C]24[/C][C]0.208026173985283[/C][C]0.416052347970567[/C][C]0.791973826014717[/C][/ROW]
[ROW][C]25[/C][C]0.302966313804946[/C][C]0.605932627609891[/C][C]0.697033686195054[/C][/ROW]
[ROW][C]26[/C][C]0.437129397382381[/C][C]0.874258794764762[/C][C]0.562870602617619[/C][/ROW]
[ROW][C]27[/C][C]0.482681161301226[/C][C]0.965362322602452[/C][C]0.517318838698774[/C][/ROW]
[ROW][C]28[/C][C]0.450417346296477[/C][C]0.900834692592954[/C][C]0.549582653703523[/C][/ROW]
[ROW][C]29[/C][C]0.41302033023196[/C][C]0.82604066046392[/C][C]0.58697966976804[/C][/ROW]
[ROW][C]30[/C][C]0.372039389463604[/C][C]0.744078778927207[/C][C]0.627960610536396[/C][/ROW]
[ROW][C]31[/C][C]0.341341955653345[/C][C]0.68268391130669[/C][C]0.658658044346655[/C][/ROW]
[ROW][C]32[/C][C]0.325850570309529[/C][C]0.651701140619058[/C][C]0.674149429690471[/C][/ROW]
[ROW][C]33[/C][C]0.316433156843089[/C][C]0.632866313686179[/C][C]0.68356684315691[/C][/ROW]
[ROW][C]34[/C][C]0.314330630224069[/C][C]0.628661260448137[/C][C]0.685669369775932[/C][/ROW]
[ROW][C]35[/C][C]0.296772549591692[/C][C]0.593545099183383[/C][C]0.703227450408308[/C][/ROW]
[ROW][C]36[/C][C]0.351642364282915[/C][C]0.70328472856583[/C][C]0.648357635717085[/C][/ROW]
[ROW][C]37[/C][C]0.537389123739539[/C][C]0.925221752520921[/C][C]0.462610876260461[/C][/ROW]
[ROW][C]38[/C][C]0.782147269077803[/C][C]0.435705461844395[/C][C]0.217852730922197[/C][/ROW]
[ROW][C]39[/C][C]0.856536012879858[/C][C]0.286927974240284[/C][C]0.143463987120142[/C][/ROW]
[ROW][C]40[/C][C]0.839206985187983[/C][C]0.321586029624034[/C][C]0.160793014812017[/C][/ROW]
[ROW][C]41[/C][C]0.810763504209441[/C][C]0.378472991581118[/C][C]0.189236495790559[/C][/ROW]
[ROW][C]42[/C][C]0.784222125328229[/C][C]0.431555749343543[/C][C]0.215777874671771[/C][/ROW]
[ROW][C]43[/C][C]0.760702900958444[/C][C]0.478594198083111[/C][C]0.239297099041556[/C][/ROW]
[ROW][C]44[/C][C]0.743888016495028[/C][C]0.512223967009944[/C][C]0.256111983504972[/C][/ROW]
[ROW][C]45[/C][C]0.729654214521672[/C][C]0.540691570956655[/C][C]0.270345785478328[/C][/ROW]
[ROW][C]46[/C][C]0.75694356632125[/C][C]0.4861128673575[/C][C]0.24305643367875[/C][/ROW]
[ROW][C]47[/C][C]0.787732217997141[/C][C]0.424535564005717[/C][C]0.212267782002859[/C][/ROW]
[ROW][C]48[/C][C]0.777159795120569[/C][C]0.445680409758863[/C][C]0.222840204879431[/C][/ROW]
[ROW][C]49[/C][C]0.85144775429702[/C][C]0.297104491405959[/C][C]0.148552245702979[/C][/ROW]
[ROW][C]50[/C][C]0.893212033004865[/C][C]0.213575933990270[/C][C]0.106787966995135[/C][/ROW]
[ROW][C]51[/C][C]0.889517973260318[/C][C]0.220964053479363[/C][C]0.110482026739682[/C][/ROW]
[ROW][C]52[/C][C]0.831413188772604[/C][C]0.337173622454791[/C][C]0.168586811227396[/C][/ROW]
[ROW][C]53[/C][C]0.748398976748735[/C][C]0.50320204650253[/C][C]0.251601023251265[/C][/ROW]
[ROW][C]54[/C][C]0.636576637491457[/C][C]0.726846725017086[/C][C]0.363423362508543[/C][/ROW]
[ROW][C]55[/C][C]0.509961288792002[/C][C]0.980077422415995[/C][C]0.490038711207998[/C][/ROW]
[ROW][C]56[/C][C]0.381972419907955[/C][C]0.763944839815909[/C][C]0.618027580092045[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25673&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25673&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.02329876686259430.04659753372518860.976701233137406
60.005013660512897390.01002732102579480.994986339487103
70.04963357686544230.09926715373088460.950366423134558
80.1078896401374690.2157792802749370.892110359862532
90.1681330275400140.3362660550800280.831866972459986
100.2330754302099960.4661508604199910.766924569790004
110.2323087599282390.4646175198564780.767691240071761
120.2400952986225940.4801905972451890.759904701377406
130.3355219191647510.6710438383295020.664478080835249
140.415534759665870.831069519331740.58446524033413
150.3865047370240950.773009474048190.613495262975905
160.3188022281163850.637604456232770.681197771883615
170.2541828370302780.5083656740605560.745817162969722
180.199986054375120.399972108750240.80001394562488
190.1755473957354260.3510947914708510.824452604264574
200.1636677478230820.3273354956461640.836332252176918
210.1679616764574280.3359233529148560.832038323542572
220.1912473160541610.3824946321083220.808752683945839
230.1974902285649010.3949804571298010.8025097714351
240.2080261739852830.4160523479705670.791973826014717
250.3029663138049460.6059326276098910.697033686195054
260.4371293973823810.8742587947647620.562870602617619
270.4826811613012260.9653623226024520.517318838698774
280.4504173462964770.9008346925929540.549582653703523
290.413020330231960.826040660463920.58697966976804
300.3720393894636040.7440787789272070.627960610536396
310.3413419556533450.682683911306690.658658044346655
320.3258505703095290.6517011406190580.674149429690471
330.3164331568430890.6328663136861790.68356684315691
340.3143306302240690.6286612604481370.685669369775932
350.2967725495916920.5935450991833830.703227450408308
360.3516423642829150.703284728565830.648357635717085
370.5373891237395390.9252217525209210.462610876260461
380.7821472690778030.4357054618443950.217852730922197
390.8565360128798580.2869279742402840.143463987120142
400.8392069851879830.3215860296240340.160793014812017
410.8107635042094410.3784729915811180.189236495790559
420.7842221253282290.4315557493435430.215777874671771
430.7607029009584440.4785941980831110.239297099041556
440.7438880164950280.5122239670099440.256111983504972
450.7296542145216720.5406915709566550.270345785478328
460.756943566321250.48611286735750.24305643367875
470.7877322179971410.4245355640057170.212267782002859
480.7771597951205690.4456804097588630.222840204879431
490.851447754297020.2971044914059590.148552245702979
500.8932120330048650.2135759339902700.106787966995135
510.8895179732603180.2209640534793630.110482026739682
520.8314131887726040.3371736224547910.168586811227396
530.7483989767487350.503202046502530.251601023251265
540.6365766374914570.7268467250170860.363423362508543
550.5099612887920020.9800774224159950.490038711207998
560.3819724199079550.7639448398159090.618027580092045







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0384615384615385OK
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 & 2 & 0.0384615384615385 & OK \tabularnewline
10% type I error level & 3 & 0.0576923076923077 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25673&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]2[/C][C]0.0384615384615385[/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=25673&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25673&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 level20.0384615384615385OK
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')
}