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 computationTue, 16 Dec 2008 14:15:33 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/16/t1229462183ts5g0298vruh8f7.htm/, Retrieved Wed, 15 May 2024 08:53:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34211, Retrieved Wed, 15 May 2024 08:53:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact156
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper H4 Vrouwen ...] [2008-12-16 21:15:33] [5e9e099b83e50415d7642e10d74756e4] [Current]
Feedback Forum

Post a new message
Dataseries X:
308347	0
298427	0
289231	0
291975	0
294912	0
293488	0
290555	0
284736	0
281818	0
287854	0
316263	0
325412	0
326011	0
328282	0
317480	0
317539	0
313737	0
312276	0
309391	0
302950	0
300316	0
304035	0
333476	0
337698	0
335932	0
323931	0
313927	0
314485	1
313218	1
309664	1
302963	1
298989	1
298423	1
301631	1
329765	1
335083	1
327616	1
309119	1
295916	1
291413	1
291542	1
284678	1
276475	1
272566	1
264981	1
263290	1
296806	1
303598	1
286994	1
276427	1
266424	1
267153	1
268381	1
262522	1
255542	1
253158	1
243803	1
250741	1
280445	1
285257	1
270976	1
261076	1
255603	1




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

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







Multiple Linear Regression - Estimated Regression Equation
Vrouwen[t] = + 308888.851851852 -23702.1018518519Dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Vrouwen[t] =  +  308888.851851852 -23702.1018518519Dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34211&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Vrouwen[t] =  +  308888.851851852 -23702.1018518519Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34211&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34211&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
Vrouwen[t] = + 308888.851851852 -23702.1018518519Dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)308888.8518518524042.47905876.410700
Dummy-23702.10185185195347.697134-4.43224e-052e-05

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 308888.851851852 & 4042.479058 & 76.4107 & 0 & 0 \tabularnewline
Dummy & -23702.1018518519 & 5347.697134 & -4.4322 & 4e-05 & 2e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34211&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]308888.851851852[/C][C]4042.479058[/C][C]76.4107[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-23702.1018518519[/C][C]5347.697134[/C][C]-4.4322[/C][C]4e-05[/C][C]2e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34211&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34211&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)308888.8518518524042.47905876.410700
Dummy-23702.10185185195347.697134-4.43224e-052e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.493551851599653
R-squared0.243593430217446
Adjusted R-squared0.231193322516093
F-TEST (value)19.6444608453570
F-TEST (DF numerator)1
F-TEST (DF denominator)61
p-value3.95266524808591e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21005.3373530171
Sum Squared Residuals26914676036.1574

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.493551851599653 \tabularnewline
R-squared & 0.243593430217446 \tabularnewline
Adjusted R-squared & 0.231193322516093 \tabularnewline
F-TEST (value) & 19.6444608453570 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 61 \tabularnewline
p-value & 3.95266524808591e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 21005.3373530171 \tabularnewline
Sum Squared Residuals & 26914676036.1574 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34211&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.493551851599653[/C][/ROW]
[ROW][C]R-squared[/C][C]0.243593430217446[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.231193322516093[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]19.6444608453570[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]61[/C][/ROW]
[ROW][C]p-value[/C][C]3.95266524808591e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]21005.3373530171[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]26914676036.1574[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34211&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34211&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.493551851599653
R-squared0.243593430217446
Adjusted R-squared0.231193322516093
F-TEST (value)19.6444608453570
F-TEST (DF numerator)1
F-TEST (DF denominator)61
p-value3.95266524808591e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21005.3373530171
Sum Squared Residuals26914676036.1574







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1308347308888.851851852-541.851851852005
2298427308888.851851852-10461.8518518518
3289231308888.851851852-19657.8518518519
4291975308888.851851852-16913.8518518519
5294912308888.851851852-13976.8518518519
6293488308888.851851852-15400.8518518519
7290555308888.851851852-18333.8518518519
8284736308888.851851852-24152.8518518519
9281818308888.851851852-27070.8518518519
10287854308888.851851852-21034.8518518519
11316263308888.8518518527374.14814814815
12325412308888.85185185216523.1481481481
13326011308888.85185185217122.1481481481
14328282308888.85185185219393.1481481481
15317480308888.8518518528591.14814814815
16317539308888.8518518528650.14814814815
17313737308888.8518518524848.14814814815
18312276308888.8518518523387.14814814815
19309391308888.851851852502.148148148146
20302950308888.851851852-5938.85185185185
21300316308888.851851852-8572.85185185185
22304035308888.851851852-4853.85185185185
23333476308888.85185185224587.1481481481
24337698308888.85185185228809.1481481481
25335932308888.85185185227043.1481481481
26323931308888.85185185215042.1481481481
27313927308888.8518518525038.14814814815
28314485285186.7529298.25
29313218285186.7528031.25
30309664285186.7524477.25
31302963285186.7517776.25
32298989285186.7513802.25
33298423285186.7513236.25
34301631285186.7516444.25
35329765285186.7544578.25
36335083285186.7549896.25
37327616285186.7542429.25
38309119285186.7523932.25
39295916285186.7510729.25
40291413285186.756226.25
41291542285186.756355.25
42284678285186.75-508.750000000001
43276475285186.75-8711.75
44272566285186.75-12620.75
45264981285186.75-20205.75
46263290285186.75-21896.75
47296806285186.7511619.25
48303598285186.7518411.25
49286994285186.751807.25
50276427285186.75-8759.75
51266424285186.75-18762.75
52267153285186.75-18033.75
53268381285186.75-16805.75
54262522285186.75-22664.75
55255542285186.75-29644.75
56253158285186.75-32028.75
57243803285186.75-41383.75
58250741285186.75-34445.75
59280445285186.75-4741.75
60285257285186.7570.2499999999991
61270976285186.75-14210.75
62261076285186.75-24110.75
63255603285186.75-29583.75

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 308347 & 308888.851851852 & -541.851851852005 \tabularnewline
2 & 298427 & 308888.851851852 & -10461.8518518518 \tabularnewline
3 & 289231 & 308888.851851852 & -19657.8518518519 \tabularnewline
4 & 291975 & 308888.851851852 & -16913.8518518519 \tabularnewline
5 & 294912 & 308888.851851852 & -13976.8518518519 \tabularnewline
6 & 293488 & 308888.851851852 & -15400.8518518519 \tabularnewline
7 & 290555 & 308888.851851852 & -18333.8518518519 \tabularnewline
8 & 284736 & 308888.851851852 & -24152.8518518519 \tabularnewline
9 & 281818 & 308888.851851852 & -27070.8518518519 \tabularnewline
10 & 287854 & 308888.851851852 & -21034.8518518519 \tabularnewline
11 & 316263 & 308888.851851852 & 7374.14814814815 \tabularnewline
12 & 325412 & 308888.851851852 & 16523.1481481481 \tabularnewline
13 & 326011 & 308888.851851852 & 17122.1481481481 \tabularnewline
14 & 328282 & 308888.851851852 & 19393.1481481481 \tabularnewline
15 & 317480 & 308888.851851852 & 8591.14814814815 \tabularnewline
16 & 317539 & 308888.851851852 & 8650.14814814815 \tabularnewline
17 & 313737 & 308888.851851852 & 4848.14814814815 \tabularnewline
18 & 312276 & 308888.851851852 & 3387.14814814815 \tabularnewline
19 & 309391 & 308888.851851852 & 502.148148148146 \tabularnewline
20 & 302950 & 308888.851851852 & -5938.85185185185 \tabularnewline
21 & 300316 & 308888.851851852 & -8572.85185185185 \tabularnewline
22 & 304035 & 308888.851851852 & -4853.85185185185 \tabularnewline
23 & 333476 & 308888.851851852 & 24587.1481481481 \tabularnewline
24 & 337698 & 308888.851851852 & 28809.1481481481 \tabularnewline
25 & 335932 & 308888.851851852 & 27043.1481481481 \tabularnewline
26 & 323931 & 308888.851851852 & 15042.1481481481 \tabularnewline
27 & 313927 & 308888.851851852 & 5038.14814814815 \tabularnewline
28 & 314485 & 285186.75 & 29298.25 \tabularnewline
29 & 313218 & 285186.75 & 28031.25 \tabularnewline
30 & 309664 & 285186.75 & 24477.25 \tabularnewline
31 & 302963 & 285186.75 & 17776.25 \tabularnewline
32 & 298989 & 285186.75 & 13802.25 \tabularnewline
33 & 298423 & 285186.75 & 13236.25 \tabularnewline
34 & 301631 & 285186.75 & 16444.25 \tabularnewline
35 & 329765 & 285186.75 & 44578.25 \tabularnewline
36 & 335083 & 285186.75 & 49896.25 \tabularnewline
37 & 327616 & 285186.75 & 42429.25 \tabularnewline
38 & 309119 & 285186.75 & 23932.25 \tabularnewline
39 & 295916 & 285186.75 & 10729.25 \tabularnewline
40 & 291413 & 285186.75 & 6226.25 \tabularnewline
41 & 291542 & 285186.75 & 6355.25 \tabularnewline
42 & 284678 & 285186.75 & -508.750000000001 \tabularnewline
43 & 276475 & 285186.75 & -8711.75 \tabularnewline
44 & 272566 & 285186.75 & -12620.75 \tabularnewline
45 & 264981 & 285186.75 & -20205.75 \tabularnewline
46 & 263290 & 285186.75 & -21896.75 \tabularnewline
47 & 296806 & 285186.75 & 11619.25 \tabularnewline
48 & 303598 & 285186.75 & 18411.25 \tabularnewline
49 & 286994 & 285186.75 & 1807.25 \tabularnewline
50 & 276427 & 285186.75 & -8759.75 \tabularnewline
51 & 266424 & 285186.75 & -18762.75 \tabularnewline
52 & 267153 & 285186.75 & -18033.75 \tabularnewline
53 & 268381 & 285186.75 & -16805.75 \tabularnewline
54 & 262522 & 285186.75 & -22664.75 \tabularnewline
55 & 255542 & 285186.75 & -29644.75 \tabularnewline
56 & 253158 & 285186.75 & -32028.75 \tabularnewline
57 & 243803 & 285186.75 & -41383.75 \tabularnewline
58 & 250741 & 285186.75 & -34445.75 \tabularnewline
59 & 280445 & 285186.75 & -4741.75 \tabularnewline
60 & 285257 & 285186.75 & 70.2499999999991 \tabularnewline
61 & 270976 & 285186.75 & -14210.75 \tabularnewline
62 & 261076 & 285186.75 & -24110.75 \tabularnewline
63 & 255603 & 285186.75 & -29583.75 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34211&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]308347[/C][C]308888.851851852[/C][C]-541.851851852005[/C][/ROW]
[ROW][C]2[/C][C]298427[/C][C]308888.851851852[/C][C]-10461.8518518518[/C][/ROW]
[ROW][C]3[/C][C]289231[/C][C]308888.851851852[/C][C]-19657.8518518519[/C][/ROW]
[ROW][C]4[/C][C]291975[/C][C]308888.851851852[/C][C]-16913.8518518519[/C][/ROW]
[ROW][C]5[/C][C]294912[/C][C]308888.851851852[/C][C]-13976.8518518519[/C][/ROW]
[ROW][C]6[/C][C]293488[/C][C]308888.851851852[/C][C]-15400.8518518519[/C][/ROW]
[ROW][C]7[/C][C]290555[/C][C]308888.851851852[/C][C]-18333.8518518519[/C][/ROW]
[ROW][C]8[/C][C]284736[/C][C]308888.851851852[/C][C]-24152.8518518519[/C][/ROW]
[ROW][C]9[/C][C]281818[/C][C]308888.851851852[/C][C]-27070.8518518519[/C][/ROW]
[ROW][C]10[/C][C]287854[/C][C]308888.851851852[/C][C]-21034.8518518519[/C][/ROW]
[ROW][C]11[/C][C]316263[/C][C]308888.851851852[/C][C]7374.14814814815[/C][/ROW]
[ROW][C]12[/C][C]325412[/C][C]308888.851851852[/C][C]16523.1481481481[/C][/ROW]
[ROW][C]13[/C][C]326011[/C][C]308888.851851852[/C][C]17122.1481481481[/C][/ROW]
[ROW][C]14[/C][C]328282[/C][C]308888.851851852[/C][C]19393.1481481481[/C][/ROW]
[ROW][C]15[/C][C]317480[/C][C]308888.851851852[/C][C]8591.14814814815[/C][/ROW]
[ROW][C]16[/C][C]317539[/C][C]308888.851851852[/C][C]8650.14814814815[/C][/ROW]
[ROW][C]17[/C][C]313737[/C][C]308888.851851852[/C][C]4848.14814814815[/C][/ROW]
[ROW][C]18[/C][C]312276[/C][C]308888.851851852[/C][C]3387.14814814815[/C][/ROW]
[ROW][C]19[/C][C]309391[/C][C]308888.851851852[/C][C]502.148148148146[/C][/ROW]
[ROW][C]20[/C][C]302950[/C][C]308888.851851852[/C][C]-5938.85185185185[/C][/ROW]
[ROW][C]21[/C][C]300316[/C][C]308888.851851852[/C][C]-8572.85185185185[/C][/ROW]
[ROW][C]22[/C][C]304035[/C][C]308888.851851852[/C][C]-4853.85185185185[/C][/ROW]
[ROW][C]23[/C][C]333476[/C][C]308888.851851852[/C][C]24587.1481481481[/C][/ROW]
[ROW][C]24[/C][C]337698[/C][C]308888.851851852[/C][C]28809.1481481481[/C][/ROW]
[ROW][C]25[/C][C]335932[/C][C]308888.851851852[/C][C]27043.1481481481[/C][/ROW]
[ROW][C]26[/C][C]323931[/C][C]308888.851851852[/C][C]15042.1481481481[/C][/ROW]
[ROW][C]27[/C][C]313927[/C][C]308888.851851852[/C][C]5038.14814814815[/C][/ROW]
[ROW][C]28[/C][C]314485[/C][C]285186.75[/C][C]29298.25[/C][/ROW]
[ROW][C]29[/C][C]313218[/C][C]285186.75[/C][C]28031.25[/C][/ROW]
[ROW][C]30[/C][C]309664[/C][C]285186.75[/C][C]24477.25[/C][/ROW]
[ROW][C]31[/C][C]302963[/C][C]285186.75[/C][C]17776.25[/C][/ROW]
[ROW][C]32[/C][C]298989[/C][C]285186.75[/C][C]13802.25[/C][/ROW]
[ROW][C]33[/C][C]298423[/C][C]285186.75[/C][C]13236.25[/C][/ROW]
[ROW][C]34[/C][C]301631[/C][C]285186.75[/C][C]16444.25[/C][/ROW]
[ROW][C]35[/C][C]329765[/C][C]285186.75[/C][C]44578.25[/C][/ROW]
[ROW][C]36[/C][C]335083[/C][C]285186.75[/C][C]49896.25[/C][/ROW]
[ROW][C]37[/C][C]327616[/C][C]285186.75[/C][C]42429.25[/C][/ROW]
[ROW][C]38[/C][C]309119[/C][C]285186.75[/C][C]23932.25[/C][/ROW]
[ROW][C]39[/C][C]295916[/C][C]285186.75[/C][C]10729.25[/C][/ROW]
[ROW][C]40[/C][C]291413[/C][C]285186.75[/C][C]6226.25[/C][/ROW]
[ROW][C]41[/C][C]291542[/C][C]285186.75[/C][C]6355.25[/C][/ROW]
[ROW][C]42[/C][C]284678[/C][C]285186.75[/C][C]-508.750000000001[/C][/ROW]
[ROW][C]43[/C][C]276475[/C][C]285186.75[/C][C]-8711.75[/C][/ROW]
[ROW][C]44[/C][C]272566[/C][C]285186.75[/C][C]-12620.75[/C][/ROW]
[ROW][C]45[/C][C]264981[/C][C]285186.75[/C][C]-20205.75[/C][/ROW]
[ROW][C]46[/C][C]263290[/C][C]285186.75[/C][C]-21896.75[/C][/ROW]
[ROW][C]47[/C][C]296806[/C][C]285186.75[/C][C]11619.25[/C][/ROW]
[ROW][C]48[/C][C]303598[/C][C]285186.75[/C][C]18411.25[/C][/ROW]
[ROW][C]49[/C][C]286994[/C][C]285186.75[/C][C]1807.25[/C][/ROW]
[ROW][C]50[/C][C]276427[/C][C]285186.75[/C][C]-8759.75[/C][/ROW]
[ROW][C]51[/C][C]266424[/C][C]285186.75[/C][C]-18762.75[/C][/ROW]
[ROW][C]52[/C][C]267153[/C][C]285186.75[/C][C]-18033.75[/C][/ROW]
[ROW][C]53[/C][C]268381[/C][C]285186.75[/C][C]-16805.75[/C][/ROW]
[ROW][C]54[/C][C]262522[/C][C]285186.75[/C][C]-22664.75[/C][/ROW]
[ROW][C]55[/C][C]255542[/C][C]285186.75[/C][C]-29644.75[/C][/ROW]
[ROW][C]56[/C][C]253158[/C][C]285186.75[/C][C]-32028.75[/C][/ROW]
[ROW][C]57[/C][C]243803[/C][C]285186.75[/C][C]-41383.75[/C][/ROW]
[ROW][C]58[/C][C]250741[/C][C]285186.75[/C][C]-34445.75[/C][/ROW]
[ROW][C]59[/C][C]280445[/C][C]285186.75[/C][C]-4741.75[/C][/ROW]
[ROW][C]60[/C][C]285257[/C][C]285186.75[/C][C]70.2499999999991[/C][/ROW]
[ROW][C]61[/C][C]270976[/C][C]285186.75[/C][C]-14210.75[/C][/ROW]
[ROW][C]62[/C][C]261076[/C][C]285186.75[/C][C]-24110.75[/C][/ROW]
[ROW][C]63[/C][C]255603[/C][C]285186.75[/C][C]-29583.75[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34211&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34211&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
1308347308888.851851852-541.851851852005
2298427308888.851851852-10461.8518518518
3289231308888.851851852-19657.8518518519
4291975308888.851851852-16913.8518518519
5294912308888.851851852-13976.8518518519
6293488308888.851851852-15400.8518518519
7290555308888.851851852-18333.8518518519
8284736308888.851851852-24152.8518518519
9281818308888.851851852-27070.8518518519
10287854308888.851851852-21034.8518518519
11316263308888.8518518527374.14814814815
12325412308888.85185185216523.1481481481
13326011308888.85185185217122.1481481481
14328282308888.85185185219393.1481481481
15317480308888.8518518528591.14814814815
16317539308888.8518518528650.14814814815
17313737308888.8518518524848.14814814815
18312276308888.8518518523387.14814814815
19309391308888.851851852502.148148148146
20302950308888.851851852-5938.85185185185
21300316308888.851851852-8572.85185185185
22304035308888.851851852-4853.85185185185
23333476308888.85185185224587.1481481481
24337698308888.85185185228809.1481481481
25335932308888.85185185227043.1481481481
26323931308888.85185185215042.1481481481
27313927308888.8518518525038.14814814815
28314485285186.7529298.25
29313218285186.7528031.25
30309664285186.7524477.25
31302963285186.7517776.25
32298989285186.7513802.25
33298423285186.7513236.25
34301631285186.7516444.25
35329765285186.7544578.25
36335083285186.7549896.25
37327616285186.7542429.25
38309119285186.7523932.25
39295916285186.7510729.25
40291413285186.756226.25
41291542285186.756355.25
42284678285186.75-508.750000000001
43276475285186.75-8711.75
44272566285186.75-12620.75
45264981285186.75-20205.75
46263290285186.75-21896.75
47296806285186.7511619.25
48303598285186.7518411.25
49286994285186.751807.25
50276427285186.75-8759.75
51266424285186.75-18762.75
52267153285186.75-18033.75
53268381285186.75-16805.75
54262522285186.75-22664.75
55255542285186.75-29644.75
56253158285186.75-32028.75
57243803285186.75-41383.75
58250741285186.75-34445.75
59280445285186.75-4741.75
60285257285186.7570.2499999999991
61270976285186.75-14210.75
62261076285186.75-24110.75
63255603285186.75-29583.75







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.07675334895135030.1535066979027010.92324665104865
60.02646233289829490.05292466579658990.973537667101705
70.01034515957655020.02069031915310040.98965484042345
80.007854074742118920.01570814948423780.992145925257881
90.007689572510912820.01537914502182560.992310427489087
100.00356703188833590.00713406377667180.996432968111664
110.01791077652448470.03582155304896940.982089223475515
120.07463268089958930.1492653617991790.92536731910041
130.133421851678940.266843703357880.86657814832106
140.1928756806244170.3857513612488350.807124319375583
150.165144943742170.330289887484340.83485505625783
160.1370951609867260.2741903219734530.862904839013274
170.1022964160410390.2045928320820790.89770358395896
180.07258756870924880.1451751374184980.927412431290751
190.04868991556099040.09737983112198070.95131008443901
200.03255119920169630.06510239840339260.967448800798304
210.02292517065554690.04585034131109390.977074829344453
220.01568697840247080.03137395680494150.98431302159753
230.02548272129003180.05096544258006370.974517278709968
240.04335933844537170.08671867689074340.956640661554628
250.05699647346435750.1139929469287150.943003526535642
260.04604591229696190.09209182459392390.953954087703038
270.03072468949823580.06144937899647160.969275310501764
280.02557154646076920.05114309292153830.974428453539231
290.02140181768620680.04280363537241360.978598182313793
300.01736096555961780.03472193111923550.982639034440382
310.01340157218981930.02680314437963850.98659842781018
320.01008206996548200.02016413993096400.989917930034518
330.007353342034836060.01470668406967210.992646657965164
340.005380382754088060.01076076550817610.994619617245912
350.01766043009458760.03532086018917520.982339569905412
360.09219218227513520.1843843645502700.907807817724865
370.2742218619627730.5484437239255460.725778138037227
380.3853634065528570.7707268131057140.614636593447143
390.4362753879845210.8725507759690430.563724612015479
400.4754297462244060.9508594924488120.524570253775594
410.5189530751737250.962093849652550.481046924826275
420.5399330998061940.9201338003876110.460066900193806
430.5509857063021490.8980285873957030.449014293697851
440.5547429134486490.8905141731027020.445257086551351
450.5771211867935230.8457576264129530.422878813206477
460.5878919998163140.8242160003673720.412108000183686
470.6684459832206110.6631080335587780.331554016779389
480.8787096380382350.242580723923530.121290361961765
490.91865556162890.1626888767422010.0813444383711004
500.9138297835548960.1723404328902070.0861702164451036
510.8870531885773270.2258936228453470.112946811422673
520.849572078934920.3008558421301610.150427921065081
530.8011270668465710.3977458663068580.198872933153429
540.733008698114940.533982603770120.26699130188506
550.6713492393045390.6573015213909210.328650760695461
560.6129348752045410.7741302495909170.387065124795459
570.6948372401878520.6103255196242970.305162759812148
580.7062447971472460.5875104057055070.293755202852754

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0767533489513503 & 0.153506697902701 & 0.92324665104865 \tabularnewline
6 & 0.0264623328982949 & 0.0529246657965899 & 0.973537667101705 \tabularnewline
7 & 0.0103451595765502 & 0.0206903191531004 & 0.98965484042345 \tabularnewline
8 & 0.00785407474211892 & 0.0157081494842378 & 0.992145925257881 \tabularnewline
9 & 0.00768957251091282 & 0.0153791450218256 & 0.992310427489087 \tabularnewline
10 & 0.0035670318883359 & 0.0071340637766718 & 0.996432968111664 \tabularnewline
11 & 0.0179107765244847 & 0.0358215530489694 & 0.982089223475515 \tabularnewline
12 & 0.0746326808995893 & 0.149265361799179 & 0.92536731910041 \tabularnewline
13 & 0.13342185167894 & 0.26684370335788 & 0.86657814832106 \tabularnewline
14 & 0.192875680624417 & 0.385751361248835 & 0.807124319375583 \tabularnewline
15 & 0.16514494374217 & 0.33028988748434 & 0.83485505625783 \tabularnewline
16 & 0.137095160986726 & 0.274190321973453 & 0.862904839013274 \tabularnewline
17 & 0.102296416041039 & 0.204592832082079 & 0.89770358395896 \tabularnewline
18 & 0.0725875687092488 & 0.145175137418498 & 0.927412431290751 \tabularnewline
19 & 0.0486899155609904 & 0.0973798311219807 & 0.95131008443901 \tabularnewline
20 & 0.0325511992016963 & 0.0651023984033926 & 0.967448800798304 \tabularnewline
21 & 0.0229251706555469 & 0.0458503413110939 & 0.977074829344453 \tabularnewline
22 & 0.0156869784024708 & 0.0313739568049415 & 0.98431302159753 \tabularnewline
23 & 0.0254827212900318 & 0.0509654425800637 & 0.974517278709968 \tabularnewline
24 & 0.0433593384453717 & 0.0867186768907434 & 0.956640661554628 \tabularnewline
25 & 0.0569964734643575 & 0.113992946928715 & 0.943003526535642 \tabularnewline
26 & 0.0460459122969619 & 0.0920918245939239 & 0.953954087703038 \tabularnewline
27 & 0.0307246894982358 & 0.0614493789964716 & 0.969275310501764 \tabularnewline
28 & 0.0255715464607692 & 0.0511430929215383 & 0.974428453539231 \tabularnewline
29 & 0.0214018176862068 & 0.0428036353724136 & 0.978598182313793 \tabularnewline
30 & 0.0173609655596178 & 0.0347219311192355 & 0.982639034440382 \tabularnewline
31 & 0.0134015721898193 & 0.0268031443796385 & 0.98659842781018 \tabularnewline
32 & 0.0100820699654820 & 0.0201641399309640 & 0.989917930034518 \tabularnewline
33 & 0.00735334203483606 & 0.0147066840696721 & 0.992646657965164 \tabularnewline
34 & 0.00538038275408806 & 0.0107607655081761 & 0.994619617245912 \tabularnewline
35 & 0.0176604300945876 & 0.0353208601891752 & 0.982339569905412 \tabularnewline
36 & 0.0921921822751352 & 0.184384364550270 & 0.907807817724865 \tabularnewline
37 & 0.274221861962773 & 0.548443723925546 & 0.725778138037227 \tabularnewline
38 & 0.385363406552857 & 0.770726813105714 & 0.614636593447143 \tabularnewline
39 & 0.436275387984521 & 0.872550775969043 & 0.563724612015479 \tabularnewline
40 & 0.475429746224406 & 0.950859492448812 & 0.524570253775594 \tabularnewline
41 & 0.518953075173725 & 0.96209384965255 & 0.481046924826275 \tabularnewline
42 & 0.539933099806194 & 0.920133800387611 & 0.460066900193806 \tabularnewline
43 & 0.550985706302149 & 0.898028587395703 & 0.449014293697851 \tabularnewline
44 & 0.554742913448649 & 0.890514173102702 & 0.445257086551351 \tabularnewline
45 & 0.577121186793523 & 0.845757626412953 & 0.422878813206477 \tabularnewline
46 & 0.587891999816314 & 0.824216000367372 & 0.412108000183686 \tabularnewline
47 & 0.668445983220611 & 0.663108033558778 & 0.331554016779389 \tabularnewline
48 & 0.878709638038235 & 0.24258072392353 & 0.121290361961765 \tabularnewline
49 & 0.9186555616289 & 0.162688876742201 & 0.0813444383711004 \tabularnewline
50 & 0.913829783554896 & 0.172340432890207 & 0.0861702164451036 \tabularnewline
51 & 0.887053188577327 & 0.225893622845347 & 0.112946811422673 \tabularnewline
52 & 0.84957207893492 & 0.300855842130161 & 0.150427921065081 \tabularnewline
53 & 0.801127066846571 & 0.397745866306858 & 0.198872933153429 \tabularnewline
54 & 0.73300869811494 & 0.53398260377012 & 0.26699130188506 \tabularnewline
55 & 0.671349239304539 & 0.657301521390921 & 0.328650760695461 \tabularnewline
56 & 0.612934875204541 & 0.774130249590917 & 0.387065124795459 \tabularnewline
57 & 0.694837240187852 & 0.610325519624297 & 0.305162759812148 \tabularnewline
58 & 0.706244797147246 & 0.587510405705507 & 0.293755202852754 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34211&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.0767533489513503[/C][C]0.153506697902701[/C][C]0.92324665104865[/C][/ROW]
[ROW][C]6[/C][C]0.0264623328982949[/C][C]0.0529246657965899[/C][C]0.973537667101705[/C][/ROW]
[ROW][C]7[/C][C]0.0103451595765502[/C][C]0.0206903191531004[/C][C]0.98965484042345[/C][/ROW]
[ROW][C]8[/C][C]0.00785407474211892[/C][C]0.0157081494842378[/C][C]0.992145925257881[/C][/ROW]
[ROW][C]9[/C][C]0.00768957251091282[/C][C]0.0153791450218256[/C][C]0.992310427489087[/C][/ROW]
[ROW][C]10[/C][C]0.0035670318883359[/C][C]0.0071340637766718[/C][C]0.996432968111664[/C][/ROW]
[ROW][C]11[/C][C]0.0179107765244847[/C][C]0.0358215530489694[/C][C]0.982089223475515[/C][/ROW]
[ROW][C]12[/C][C]0.0746326808995893[/C][C]0.149265361799179[/C][C]0.92536731910041[/C][/ROW]
[ROW][C]13[/C][C]0.13342185167894[/C][C]0.26684370335788[/C][C]0.86657814832106[/C][/ROW]
[ROW][C]14[/C][C]0.192875680624417[/C][C]0.385751361248835[/C][C]0.807124319375583[/C][/ROW]
[ROW][C]15[/C][C]0.16514494374217[/C][C]0.33028988748434[/C][C]0.83485505625783[/C][/ROW]
[ROW][C]16[/C][C]0.137095160986726[/C][C]0.274190321973453[/C][C]0.862904839013274[/C][/ROW]
[ROW][C]17[/C][C]0.102296416041039[/C][C]0.204592832082079[/C][C]0.89770358395896[/C][/ROW]
[ROW][C]18[/C][C]0.0725875687092488[/C][C]0.145175137418498[/C][C]0.927412431290751[/C][/ROW]
[ROW][C]19[/C][C]0.0486899155609904[/C][C]0.0973798311219807[/C][C]0.95131008443901[/C][/ROW]
[ROW][C]20[/C][C]0.0325511992016963[/C][C]0.0651023984033926[/C][C]0.967448800798304[/C][/ROW]
[ROW][C]21[/C][C]0.0229251706555469[/C][C]0.0458503413110939[/C][C]0.977074829344453[/C][/ROW]
[ROW][C]22[/C][C]0.0156869784024708[/C][C]0.0313739568049415[/C][C]0.98431302159753[/C][/ROW]
[ROW][C]23[/C][C]0.0254827212900318[/C][C]0.0509654425800637[/C][C]0.974517278709968[/C][/ROW]
[ROW][C]24[/C][C]0.0433593384453717[/C][C]0.0867186768907434[/C][C]0.956640661554628[/C][/ROW]
[ROW][C]25[/C][C]0.0569964734643575[/C][C]0.113992946928715[/C][C]0.943003526535642[/C][/ROW]
[ROW][C]26[/C][C]0.0460459122969619[/C][C]0.0920918245939239[/C][C]0.953954087703038[/C][/ROW]
[ROW][C]27[/C][C]0.0307246894982358[/C][C]0.0614493789964716[/C][C]0.969275310501764[/C][/ROW]
[ROW][C]28[/C][C]0.0255715464607692[/C][C]0.0511430929215383[/C][C]0.974428453539231[/C][/ROW]
[ROW][C]29[/C][C]0.0214018176862068[/C][C]0.0428036353724136[/C][C]0.978598182313793[/C][/ROW]
[ROW][C]30[/C][C]0.0173609655596178[/C][C]0.0347219311192355[/C][C]0.982639034440382[/C][/ROW]
[ROW][C]31[/C][C]0.0134015721898193[/C][C]0.0268031443796385[/C][C]0.98659842781018[/C][/ROW]
[ROW][C]32[/C][C]0.0100820699654820[/C][C]0.0201641399309640[/C][C]0.989917930034518[/C][/ROW]
[ROW][C]33[/C][C]0.00735334203483606[/C][C]0.0147066840696721[/C][C]0.992646657965164[/C][/ROW]
[ROW][C]34[/C][C]0.00538038275408806[/C][C]0.0107607655081761[/C][C]0.994619617245912[/C][/ROW]
[ROW][C]35[/C][C]0.0176604300945876[/C][C]0.0353208601891752[/C][C]0.982339569905412[/C][/ROW]
[ROW][C]36[/C][C]0.0921921822751352[/C][C]0.184384364550270[/C][C]0.907807817724865[/C][/ROW]
[ROW][C]37[/C][C]0.274221861962773[/C][C]0.548443723925546[/C][C]0.725778138037227[/C][/ROW]
[ROW][C]38[/C][C]0.385363406552857[/C][C]0.770726813105714[/C][C]0.614636593447143[/C][/ROW]
[ROW][C]39[/C][C]0.436275387984521[/C][C]0.872550775969043[/C][C]0.563724612015479[/C][/ROW]
[ROW][C]40[/C][C]0.475429746224406[/C][C]0.950859492448812[/C][C]0.524570253775594[/C][/ROW]
[ROW][C]41[/C][C]0.518953075173725[/C][C]0.96209384965255[/C][C]0.481046924826275[/C][/ROW]
[ROW][C]42[/C][C]0.539933099806194[/C][C]0.920133800387611[/C][C]0.460066900193806[/C][/ROW]
[ROW][C]43[/C][C]0.550985706302149[/C][C]0.898028587395703[/C][C]0.449014293697851[/C][/ROW]
[ROW][C]44[/C][C]0.554742913448649[/C][C]0.890514173102702[/C][C]0.445257086551351[/C][/ROW]
[ROW][C]45[/C][C]0.577121186793523[/C][C]0.845757626412953[/C][C]0.422878813206477[/C][/ROW]
[ROW][C]46[/C][C]0.587891999816314[/C][C]0.824216000367372[/C][C]0.412108000183686[/C][/ROW]
[ROW][C]47[/C][C]0.668445983220611[/C][C]0.663108033558778[/C][C]0.331554016779389[/C][/ROW]
[ROW][C]48[/C][C]0.878709638038235[/C][C]0.24258072392353[/C][C]0.121290361961765[/C][/ROW]
[ROW][C]49[/C][C]0.9186555616289[/C][C]0.162688876742201[/C][C]0.0813444383711004[/C][/ROW]
[ROW][C]50[/C][C]0.913829783554896[/C][C]0.172340432890207[/C][C]0.0861702164451036[/C][/ROW]
[ROW][C]51[/C][C]0.887053188577327[/C][C]0.225893622845347[/C][C]0.112946811422673[/C][/ROW]
[ROW][C]52[/C][C]0.84957207893492[/C][C]0.300855842130161[/C][C]0.150427921065081[/C][/ROW]
[ROW][C]53[/C][C]0.801127066846571[/C][C]0.397745866306858[/C][C]0.198872933153429[/C][/ROW]
[ROW][C]54[/C][C]0.73300869811494[/C][C]0.53398260377012[/C][C]0.26699130188506[/C][/ROW]
[ROW][C]55[/C][C]0.671349239304539[/C][C]0.657301521390921[/C][C]0.328650760695461[/C][/ROW]
[ROW][C]56[/C][C]0.612934875204541[/C][C]0.774130249590917[/C][C]0.387065124795459[/C][/ROW]
[ROW][C]57[/C][C]0.694837240187852[/C][C]0.610325519624297[/C][C]0.305162759812148[/C][/ROW]
[ROW][C]58[/C][C]0.706244797147246[/C][C]0.587510405705507[/C][C]0.293755202852754[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34211&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34211&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.07675334895135030.1535066979027010.92324665104865
60.02646233289829490.05292466579658990.973537667101705
70.01034515957655020.02069031915310040.98965484042345
80.007854074742118920.01570814948423780.992145925257881
90.007689572510912820.01537914502182560.992310427489087
100.00356703188833590.00713406377667180.996432968111664
110.01791077652448470.03582155304896940.982089223475515
120.07463268089958930.1492653617991790.92536731910041
130.133421851678940.266843703357880.86657814832106
140.1928756806244170.3857513612488350.807124319375583
150.165144943742170.330289887484340.83485505625783
160.1370951609867260.2741903219734530.862904839013274
170.1022964160410390.2045928320820790.89770358395896
180.07258756870924880.1451751374184980.927412431290751
190.04868991556099040.09737983112198070.95131008443901
200.03255119920169630.06510239840339260.967448800798304
210.02292517065554690.04585034131109390.977074829344453
220.01568697840247080.03137395680494150.98431302159753
230.02548272129003180.05096544258006370.974517278709968
240.04335933844537170.08671867689074340.956640661554628
250.05699647346435750.1139929469287150.943003526535642
260.04604591229696190.09209182459392390.953954087703038
270.03072468949823580.06144937899647160.969275310501764
280.02557154646076920.05114309292153830.974428453539231
290.02140181768620680.04280363537241360.978598182313793
300.01736096555961780.03472193111923550.982639034440382
310.01340157218981930.02680314437963850.98659842781018
320.01008206996548200.02016413993096400.989917930034518
330.007353342034836060.01470668406967210.992646657965164
340.005380382754088060.01076076550817610.994619617245912
350.01766043009458760.03532086018917520.982339569905412
360.09219218227513520.1843843645502700.907807817724865
370.2742218619627730.5484437239255460.725778138037227
380.3853634065528570.7707268131057140.614636593447143
390.4362753879845210.8725507759690430.563724612015479
400.4754297462244060.9508594924488120.524570253775594
410.5189530751737250.962093849652550.481046924826275
420.5399330998061940.9201338003876110.460066900193806
430.5509857063021490.8980285873957030.449014293697851
440.5547429134486490.8905141731027020.445257086551351
450.5771211867935230.8457576264129530.422878813206477
460.5878919998163140.8242160003673720.412108000183686
470.6684459832206110.6631080335587780.331554016779389
480.8787096380382350.242580723923530.121290361961765
490.91865556162890.1626888767422010.0813444383711004
500.9138297835548960.1723404328902070.0861702164451036
510.8870531885773270.2258936228453470.112946811422673
520.849572078934920.3008558421301610.150427921065081
530.8011270668465710.3977458663068580.198872933153429
540.733008698114940.533982603770120.26699130188506
550.6713492393045390.6573015213909210.328650760695461
560.6129348752045410.7741302495909170.387065124795459
570.6948372401878520.6103255196242970.305162759812148
580.7062447971472460.5875104057055070.293755202852754







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0185185185185185NOK
5% type I error level140.259259259259259NOK
10% type I error level220.407407407407407NOK

\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 & 1 & 0.0185185185185185 & NOK \tabularnewline
5% type I error level & 14 & 0.259259259259259 & NOK \tabularnewline
10% type I error level & 22 & 0.407407407407407 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34211&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]1[/C][C]0.0185185185185185[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]14[/C][C]0.259259259259259[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]22[/C][C]0.407407407407407[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34211&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34211&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 level10.0185185185185185NOK
5% type I error level140.259259259259259NOK
10% type I error level220.407407407407407NOK



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