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, 21 Dec 2010 20:04:50 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/21/t12929618119njuft9q9sao6rm.htm/, Retrieved Wed, 01 May 2024 23:20:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113920, Retrieved Wed, 01 May 2024 23:20:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact137
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [Multivariate regr...] [2009-11-19 08:22:38] [21324e9cdf3569788a3d630236984d87]
-    D        [Multiple Regression] [] [2010-12-21 20:04:50] [1d208f56d63f78e3037c4c685f0bba30] [Current]
Feedback Forum

Post a new message
Dataseries X:
112,3	1
117,3	1
111,1	1
102,2	1
104,3	1
122,9	0
107,6	0
121,3	0
131,5	0
89	0
104,4	0
128,9	0
135,9	0
133,3	0
121,3	0
120,5	0
120,4	0
137,9	0
126,1	0
133,2	0
151,1	0
105	0
119	0
140,4	0
156,6	1
137,1	1
122,7	1
125,8	1
139,3	1
134,9	1
149,2	1
132,3	1
149	1
117,2	1
119,6	1
152	1
149,4	1
127,3	1
114,1	1
102,1	1
107,7	1
104,4	1
102,1	1
96	1
109,3	1
90	1
83,9	1
112	1
114,3	1
103,6	1
91,7	1
80,8	1
87,2	1
109,2	1
102,7	1
95,1	1
117,5	1
85,1	1
92,1	1
113,5	1





Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=113920&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=113920&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Multiple Linear Regression - Estimated Regression Equation
Promet[t] = + 123.668421052632 -9.66842105263158Dummy[t] + e[t]

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

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Promet[t] =  +  123.668421052632 -9.66842105263158Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113920&T=1

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)123.6684210526324.26182429.017700
Dummy-9.668421052631585.155599-1.87530.0657850.032892

\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) & 123.668421052632 & 4.261824 & 29.0177 & 0 & 0 \tabularnewline
Dummy & -9.66842105263158 & 5.155599 & -1.8753 & 0.065785 & 0.032892 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113920&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]123.668421052632[/C][C]4.261824[/C][C]29.0177[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-9.66842105263158[/C][C]5.155599[/C][C]-1.8753[/C][C]0.065785[/C][C]0.032892[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113920&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113920&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)123.6684210526324.26182429.017700
Dummy-9.668421052631585.155599-1.87530.0657850.032892







Multiple Linear Regression - Regression Statistics
Multiple R0.239099887127311
R-squared0.057168756024293
Adjusted R-squared0.0409130449212637
F-TEST (value)3.51684129115945
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0657849745170005
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18.5768585428547
Sum Squared Residuals20015.7810526316

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.239099887127311 \tabularnewline
R-squared & 0.057168756024293 \tabularnewline
Adjusted R-squared & 0.0409130449212637 \tabularnewline
F-TEST (value) & 3.51684129115945 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.0657849745170005 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 18.5768585428547 \tabularnewline
Sum Squared Residuals & 20015.7810526316 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113920&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.239099887127311[/C][/ROW]
[ROW][C]R-squared[/C][C]0.057168756024293[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0409130449212637[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.51684129115945[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.0657849745170005[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]18.5768585428547[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]20015.7810526316[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113920&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113920&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.239099887127311
R-squared0.057168756024293
Adjusted R-squared0.0409130449212637
F-TEST (value)3.51684129115945
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0657849745170005
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18.5768585428547
Sum Squared Residuals20015.7810526316







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1112.3114-1.70000000000016
2117.31143.3
3111.1114-2.9
4102.2114-11.8
5104.3114-9.7
6122.9123.668421052632-0.768421052631574
7107.6123.668421052632-16.0684210526316
8121.3123.668421052632-2.36842105263158
9131.5123.6684210526327.83157894736842
1089123.668421052632-34.6684210526316
11104.4123.668421052632-19.2684210526316
12128.9123.6684210526325.23157894736843
13135.9123.66842105263212.2315789473684
14133.3123.6684210526329.63157894736843
15121.3123.668421052632-2.36842105263158
16120.5123.668421052632-3.16842105263158
17120.4123.668421052632-3.26842105263157
18137.9123.66842105263214.2315789473684
19126.1123.6684210526322.43157894736842
20133.2123.6684210526329.5315789473684
21151.1123.66842105263227.4315789473684
22105123.668421052632-18.6684210526316
23119123.668421052632-4.66842105263158
24140.4123.66842105263216.7315789473684
25156.611442.6
26137.111423.1
27122.71148.7
28125.811411.8
29139.311425.3
30134.911420.9
31149.211435.2
32132.311418.3
3314911435
34117.21143.20000000000001
35119.61145.6
3615211438
37149.411435.4
38127.311413.3
39114.11140.0999999999999989
40102.1114-11.9
41107.7114-6.29999999999999
42104.4114-9.6
43102.1114-11.9
4496114-18
45109.3114-4.7
4690114-24
4783.9114-30.1
48112114-2
49114.31140.300000000000002
50103.6114-10.4
5191.7114-22.3
5280.8114-33.2
5387.2114-26.8
54109.2114-4.79999999999999
55102.7114-11.3
5695.1114-18.9
57117.51143.5
5885.1114-28.9
5992.1114-21.9
60113.5114-0.499999999999995

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 112.3 & 114 & -1.70000000000016 \tabularnewline
2 & 117.3 & 114 & 3.3 \tabularnewline
3 & 111.1 & 114 & -2.9 \tabularnewline
4 & 102.2 & 114 & -11.8 \tabularnewline
5 & 104.3 & 114 & -9.7 \tabularnewline
6 & 122.9 & 123.668421052632 & -0.768421052631574 \tabularnewline
7 & 107.6 & 123.668421052632 & -16.0684210526316 \tabularnewline
8 & 121.3 & 123.668421052632 & -2.36842105263158 \tabularnewline
9 & 131.5 & 123.668421052632 & 7.83157894736842 \tabularnewline
10 & 89 & 123.668421052632 & -34.6684210526316 \tabularnewline
11 & 104.4 & 123.668421052632 & -19.2684210526316 \tabularnewline
12 & 128.9 & 123.668421052632 & 5.23157894736843 \tabularnewline
13 & 135.9 & 123.668421052632 & 12.2315789473684 \tabularnewline
14 & 133.3 & 123.668421052632 & 9.63157894736843 \tabularnewline
15 & 121.3 & 123.668421052632 & -2.36842105263158 \tabularnewline
16 & 120.5 & 123.668421052632 & -3.16842105263158 \tabularnewline
17 & 120.4 & 123.668421052632 & -3.26842105263157 \tabularnewline
18 & 137.9 & 123.668421052632 & 14.2315789473684 \tabularnewline
19 & 126.1 & 123.668421052632 & 2.43157894736842 \tabularnewline
20 & 133.2 & 123.668421052632 & 9.5315789473684 \tabularnewline
21 & 151.1 & 123.668421052632 & 27.4315789473684 \tabularnewline
22 & 105 & 123.668421052632 & -18.6684210526316 \tabularnewline
23 & 119 & 123.668421052632 & -4.66842105263158 \tabularnewline
24 & 140.4 & 123.668421052632 & 16.7315789473684 \tabularnewline
25 & 156.6 & 114 & 42.6 \tabularnewline
26 & 137.1 & 114 & 23.1 \tabularnewline
27 & 122.7 & 114 & 8.7 \tabularnewline
28 & 125.8 & 114 & 11.8 \tabularnewline
29 & 139.3 & 114 & 25.3 \tabularnewline
30 & 134.9 & 114 & 20.9 \tabularnewline
31 & 149.2 & 114 & 35.2 \tabularnewline
32 & 132.3 & 114 & 18.3 \tabularnewline
33 & 149 & 114 & 35 \tabularnewline
34 & 117.2 & 114 & 3.20000000000001 \tabularnewline
35 & 119.6 & 114 & 5.6 \tabularnewline
36 & 152 & 114 & 38 \tabularnewline
37 & 149.4 & 114 & 35.4 \tabularnewline
38 & 127.3 & 114 & 13.3 \tabularnewline
39 & 114.1 & 114 & 0.0999999999999989 \tabularnewline
40 & 102.1 & 114 & -11.9 \tabularnewline
41 & 107.7 & 114 & -6.29999999999999 \tabularnewline
42 & 104.4 & 114 & -9.6 \tabularnewline
43 & 102.1 & 114 & -11.9 \tabularnewline
44 & 96 & 114 & -18 \tabularnewline
45 & 109.3 & 114 & -4.7 \tabularnewline
46 & 90 & 114 & -24 \tabularnewline
47 & 83.9 & 114 & -30.1 \tabularnewline
48 & 112 & 114 & -2 \tabularnewline
49 & 114.3 & 114 & 0.300000000000002 \tabularnewline
50 & 103.6 & 114 & -10.4 \tabularnewline
51 & 91.7 & 114 & -22.3 \tabularnewline
52 & 80.8 & 114 & -33.2 \tabularnewline
53 & 87.2 & 114 & -26.8 \tabularnewline
54 & 109.2 & 114 & -4.79999999999999 \tabularnewline
55 & 102.7 & 114 & -11.3 \tabularnewline
56 & 95.1 & 114 & -18.9 \tabularnewline
57 & 117.5 & 114 & 3.5 \tabularnewline
58 & 85.1 & 114 & -28.9 \tabularnewline
59 & 92.1 & 114 & -21.9 \tabularnewline
60 & 113.5 & 114 & -0.499999999999995 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113920&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]112.3[/C][C]114[/C][C]-1.70000000000016[/C][/ROW]
[ROW][C]2[/C][C]117.3[/C][C]114[/C][C]3.3[/C][/ROW]
[ROW][C]3[/C][C]111.1[/C][C]114[/C][C]-2.9[/C][/ROW]
[ROW][C]4[/C][C]102.2[/C][C]114[/C][C]-11.8[/C][/ROW]
[ROW][C]5[/C][C]104.3[/C][C]114[/C][C]-9.7[/C][/ROW]
[ROW][C]6[/C][C]122.9[/C][C]123.668421052632[/C][C]-0.768421052631574[/C][/ROW]
[ROW][C]7[/C][C]107.6[/C][C]123.668421052632[/C][C]-16.0684210526316[/C][/ROW]
[ROW][C]8[/C][C]121.3[/C][C]123.668421052632[/C][C]-2.36842105263158[/C][/ROW]
[ROW][C]9[/C][C]131.5[/C][C]123.668421052632[/C][C]7.83157894736842[/C][/ROW]
[ROW][C]10[/C][C]89[/C][C]123.668421052632[/C][C]-34.6684210526316[/C][/ROW]
[ROW][C]11[/C][C]104.4[/C][C]123.668421052632[/C][C]-19.2684210526316[/C][/ROW]
[ROW][C]12[/C][C]128.9[/C][C]123.668421052632[/C][C]5.23157894736843[/C][/ROW]
[ROW][C]13[/C][C]135.9[/C][C]123.668421052632[/C][C]12.2315789473684[/C][/ROW]
[ROW][C]14[/C][C]133.3[/C][C]123.668421052632[/C][C]9.63157894736843[/C][/ROW]
[ROW][C]15[/C][C]121.3[/C][C]123.668421052632[/C][C]-2.36842105263158[/C][/ROW]
[ROW][C]16[/C][C]120.5[/C][C]123.668421052632[/C][C]-3.16842105263158[/C][/ROW]
[ROW][C]17[/C][C]120.4[/C][C]123.668421052632[/C][C]-3.26842105263157[/C][/ROW]
[ROW][C]18[/C][C]137.9[/C][C]123.668421052632[/C][C]14.2315789473684[/C][/ROW]
[ROW][C]19[/C][C]126.1[/C][C]123.668421052632[/C][C]2.43157894736842[/C][/ROW]
[ROW][C]20[/C][C]133.2[/C][C]123.668421052632[/C][C]9.5315789473684[/C][/ROW]
[ROW][C]21[/C][C]151.1[/C][C]123.668421052632[/C][C]27.4315789473684[/C][/ROW]
[ROW][C]22[/C][C]105[/C][C]123.668421052632[/C][C]-18.6684210526316[/C][/ROW]
[ROW][C]23[/C][C]119[/C][C]123.668421052632[/C][C]-4.66842105263158[/C][/ROW]
[ROW][C]24[/C][C]140.4[/C][C]123.668421052632[/C][C]16.7315789473684[/C][/ROW]
[ROW][C]25[/C][C]156.6[/C][C]114[/C][C]42.6[/C][/ROW]
[ROW][C]26[/C][C]137.1[/C][C]114[/C][C]23.1[/C][/ROW]
[ROW][C]27[/C][C]122.7[/C][C]114[/C][C]8.7[/C][/ROW]
[ROW][C]28[/C][C]125.8[/C][C]114[/C][C]11.8[/C][/ROW]
[ROW][C]29[/C][C]139.3[/C][C]114[/C][C]25.3[/C][/ROW]
[ROW][C]30[/C][C]134.9[/C][C]114[/C][C]20.9[/C][/ROW]
[ROW][C]31[/C][C]149.2[/C][C]114[/C][C]35.2[/C][/ROW]
[ROW][C]32[/C][C]132.3[/C][C]114[/C][C]18.3[/C][/ROW]
[ROW][C]33[/C][C]149[/C][C]114[/C][C]35[/C][/ROW]
[ROW][C]34[/C][C]117.2[/C][C]114[/C][C]3.20000000000001[/C][/ROW]
[ROW][C]35[/C][C]119.6[/C][C]114[/C][C]5.6[/C][/ROW]
[ROW][C]36[/C][C]152[/C][C]114[/C][C]38[/C][/ROW]
[ROW][C]37[/C][C]149.4[/C][C]114[/C][C]35.4[/C][/ROW]
[ROW][C]38[/C][C]127.3[/C][C]114[/C][C]13.3[/C][/ROW]
[ROW][C]39[/C][C]114.1[/C][C]114[/C][C]0.0999999999999989[/C][/ROW]
[ROW][C]40[/C][C]102.1[/C][C]114[/C][C]-11.9[/C][/ROW]
[ROW][C]41[/C][C]107.7[/C][C]114[/C][C]-6.29999999999999[/C][/ROW]
[ROW][C]42[/C][C]104.4[/C][C]114[/C][C]-9.6[/C][/ROW]
[ROW][C]43[/C][C]102.1[/C][C]114[/C][C]-11.9[/C][/ROW]
[ROW][C]44[/C][C]96[/C][C]114[/C][C]-18[/C][/ROW]
[ROW][C]45[/C][C]109.3[/C][C]114[/C][C]-4.7[/C][/ROW]
[ROW][C]46[/C][C]90[/C][C]114[/C][C]-24[/C][/ROW]
[ROW][C]47[/C][C]83.9[/C][C]114[/C][C]-30.1[/C][/ROW]
[ROW][C]48[/C][C]112[/C][C]114[/C][C]-2[/C][/ROW]
[ROW][C]49[/C][C]114.3[/C][C]114[/C][C]0.300000000000002[/C][/ROW]
[ROW][C]50[/C][C]103.6[/C][C]114[/C][C]-10.4[/C][/ROW]
[ROW][C]51[/C][C]91.7[/C][C]114[/C][C]-22.3[/C][/ROW]
[ROW][C]52[/C][C]80.8[/C][C]114[/C][C]-33.2[/C][/ROW]
[ROW][C]53[/C][C]87.2[/C][C]114[/C][C]-26.8[/C][/ROW]
[ROW][C]54[/C][C]109.2[/C][C]114[/C][C]-4.79999999999999[/C][/ROW]
[ROW][C]55[/C][C]102.7[/C][C]114[/C][C]-11.3[/C][/ROW]
[ROW][C]56[/C][C]95.1[/C][C]114[/C][C]-18.9[/C][/ROW]
[ROW][C]57[/C][C]117.5[/C][C]114[/C][C]3.5[/C][/ROW]
[ROW][C]58[/C][C]85.1[/C][C]114[/C][C]-28.9[/C][/ROW]
[ROW][C]59[/C][C]92.1[/C][C]114[/C][C]-21.9[/C][/ROW]
[ROW][C]60[/C][C]113.5[/C][C]114[/C][C]-0.499999999999995[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113920&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113920&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
1112.3114-1.70000000000016
2117.31143.3
3111.1114-2.9
4102.2114-11.8
5104.3114-9.7
6122.9123.668421052632-0.768421052631574
7107.6123.668421052632-16.0684210526316
8121.3123.668421052632-2.36842105263158
9131.5123.6684210526327.83157894736842
1089123.668421052632-34.6684210526316
11104.4123.668421052632-19.2684210526316
12128.9123.6684210526325.23157894736843
13135.9123.66842105263212.2315789473684
14133.3123.6684210526329.63157894736843
15121.3123.668421052632-2.36842105263158
16120.5123.668421052632-3.16842105263158
17120.4123.668421052632-3.26842105263157
18137.9123.66842105263214.2315789473684
19126.1123.6684210526322.43157894736842
20133.2123.6684210526329.5315789473684
21151.1123.66842105263227.4315789473684
22105123.668421052632-18.6684210526316
23119123.668421052632-4.66842105263158
24140.4123.66842105263216.7315789473684
25156.611442.6
26137.111423.1
27122.71148.7
28125.811411.8
29139.311425.3
30134.911420.9
31149.211435.2
32132.311418.3
3314911435
34117.21143.20000000000001
35119.61145.6
3615211438
37149.411435.4
38127.311413.3
39114.11140.0999999999999989
40102.1114-11.9
41107.7114-6.29999999999999
42104.4114-9.6
43102.1114-11.9
4496114-18
45109.3114-4.7
4690114-24
4783.9114-30.1
48112114-2
49114.31140.300000000000002
50103.6114-10.4
5191.7114-22.3
5280.8114-33.2
5387.2114-26.8
54109.2114-4.79999999999999
55102.7114-11.3
5695.1114-18.9
57117.51143.5
5885.1114-28.9
5992.1114-21.9
60113.5114-0.499999999999995







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.06162710106617310.1232542021323460.938372898933827
60.01794816679340770.03589633358681540.982051833206592
70.01809286667129540.03618573334259080.981907133328705
80.007317224395139580.01463444879027920.99268277560486
90.008315520113552640.01663104022710530.991684479886447
100.0947797191908270.1895594383816540.905220280809173
110.07082674488185380.1416534897637080.929173255118146
120.06522514386220740.1304502877244150.934774856137793
130.07908677683905130.1581735536781030.920913223160949
140.06952696375574630.1390539275114930.930473036244254
150.04229922750823280.08459845501646570.957700772491767
160.02478828146139640.04957656292279270.975211718538604
170.01407210504261430.02814421008522860.985927894957386
180.0150658352765080.0301316705530160.984934164723492
190.008681252715773260.01736250543154650.991318747284227
200.006172248395857520.0123444967917150.993827751604142
210.01827189179139940.03654378358279880.9817281082086
220.02079722183055140.04159444366110290.979202778169449
230.01366525250649370.02733050501298740.986334747493506
240.01248444074041250.02496888148082490.987515559259588
250.1046621956469250.209324391293850.895337804353075
260.112857444585090.2257148891701790.88714255541491
270.08279444560283060.1655888912056610.91720555439717
280.06216575458676540.1243315091735310.937834245413235
290.07214473957363740.1442894791472750.927855260426363
300.069547044375280.139094088750560.93045295562472
310.1382051858886420.2764103717772850.861794814111358
320.1312029109128560.2624058218257120.868797089087144
330.2621894702461740.5243789404923480.737810529753826
340.2255106390149870.4510212780299750.774489360985013
350.1933379636730490.3866759273460970.806662036326951
360.5061080297047670.9877839405904660.493891970295233
370.884965546196990.2300689076060190.11503445380301
380.9388310570657150.1223378858685690.0611689429342845
390.9412047997886930.1175904004226130.0587952002113066
400.9349453808161840.1301092383676330.0650546191838164
410.9245733265171260.1508533469657490.0754266734828743
420.9090124263684170.1819751472631650.0909875736315827
430.8884254535215460.2231490929569070.111574546478454
440.8719030891845560.2561938216308880.128096910815444
450.8479102126696930.3041795746606150.152089787330307
460.8450563376157240.3098873247685520.154943662384276
470.8814353804775370.2371292390449260.118564619522463
480.8576155907310980.2847688185378040.142384409268902
490.854021273713620.291957452572760.14597872628638
500.7959075151952480.4081849696095040.204092484804752
510.7377213592548890.5245572814902230.262278640745111
520.7958586575474680.4082826849050650.204141342452532
530.7854329481043460.4291341037913080.214567051895654
540.6816037476099160.6367925047801680.318396252390084
550.5153110803219290.9693778393561420.484688919678071

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0616271010661731 & 0.123254202132346 & 0.938372898933827 \tabularnewline
6 & 0.0179481667934077 & 0.0358963335868154 & 0.982051833206592 \tabularnewline
7 & 0.0180928666712954 & 0.0361857333425908 & 0.981907133328705 \tabularnewline
8 & 0.00731722439513958 & 0.0146344487902792 & 0.99268277560486 \tabularnewline
9 & 0.00831552011355264 & 0.0166310402271053 & 0.991684479886447 \tabularnewline
10 & 0.094779719190827 & 0.189559438381654 & 0.905220280809173 \tabularnewline
11 & 0.0708267448818538 & 0.141653489763708 & 0.929173255118146 \tabularnewline
12 & 0.0652251438622074 & 0.130450287724415 & 0.934774856137793 \tabularnewline
13 & 0.0790867768390513 & 0.158173553678103 & 0.920913223160949 \tabularnewline
14 & 0.0695269637557463 & 0.139053927511493 & 0.930473036244254 \tabularnewline
15 & 0.0422992275082328 & 0.0845984550164657 & 0.957700772491767 \tabularnewline
16 & 0.0247882814613964 & 0.0495765629227927 & 0.975211718538604 \tabularnewline
17 & 0.0140721050426143 & 0.0281442100852286 & 0.985927894957386 \tabularnewline
18 & 0.015065835276508 & 0.030131670553016 & 0.984934164723492 \tabularnewline
19 & 0.00868125271577326 & 0.0173625054315465 & 0.991318747284227 \tabularnewline
20 & 0.00617224839585752 & 0.012344496791715 & 0.993827751604142 \tabularnewline
21 & 0.0182718917913994 & 0.0365437835827988 & 0.9817281082086 \tabularnewline
22 & 0.0207972218305514 & 0.0415944436611029 & 0.979202778169449 \tabularnewline
23 & 0.0136652525064937 & 0.0273305050129874 & 0.986334747493506 \tabularnewline
24 & 0.0124844407404125 & 0.0249688814808249 & 0.987515559259588 \tabularnewline
25 & 0.104662195646925 & 0.20932439129385 & 0.895337804353075 \tabularnewline
26 & 0.11285744458509 & 0.225714889170179 & 0.88714255541491 \tabularnewline
27 & 0.0827944456028306 & 0.165588891205661 & 0.91720555439717 \tabularnewline
28 & 0.0621657545867654 & 0.124331509173531 & 0.937834245413235 \tabularnewline
29 & 0.0721447395736374 & 0.144289479147275 & 0.927855260426363 \tabularnewline
30 & 0.06954704437528 & 0.13909408875056 & 0.93045295562472 \tabularnewline
31 & 0.138205185888642 & 0.276410371777285 & 0.861794814111358 \tabularnewline
32 & 0.131202910912856 & 0.262405821825712 & 0.868797089087144 \tabularnewline
33 & 0.262189470246174 & 0.524378940492348 & 0.737810529753826 \tabularnewline
34 & 0.225510639014987 & 0.451021278029975 & 0.774489360985013 \tabularnewline
35 & 0.193337963673049 & 0.386675927346097 & 0.806662036326951 \tabularnewline
36 & 0.506108029704767 & 0.987783940590466 & 0.493891970295233 \tabularnewline
37 & 0.88496554619699 & 0.230068907606019 & 0.11503445380301 \tabularnewline
38 & 0.938831057065715 & 0.122337885868569 & 0.0611689429342845 \tabularnewline
39 & 0.941204799788693 & 0.117590400422613 & 0.0587952002113066 \tabularnewline
40 & 0.934945380816184 & 0.130109238367633 & 0.0650546191838164 \tabularnewline
41 & 0.924573326517126 & 0.150853346965749 & 0.0754266734828743 \tabularnewline
42 & 0.909012426368417 & 0.181975147263165 & 0.0909875736315827 \tabularnewline
43 & 0.888425453521546 & 0.223149092956907 & 0.111574546478454 \tabularnewline
44 & 0.871903089184556 & 0.256193821630888 & 0.128096910815444 \tabularnewline
45 & 0.847910212669693 & 0.304179574660615 & 0.152089787330307 \tabularnewline
46 & 0.845056337615724 & 0.309887324768552 & 0.154943662384276 \tabularnewline
47 & 0.881435380477537 & 0.237129239044926 & 0.118564619522463 \tabularnewline
48 & 0.857615590731098 & 0.284768818537804 & 0.142384409268902 \tabularnewline
49 & 0.85402127371362 & 0.29195745257276 & 0.14597872628638 \tabularnewline
50 & 0.795907515195248 & 0.408184969609504 & 0.204092484804752 \tabularnewline
51 & 0.737721359254889 & 0.524557281490223 & 0.262278640745111 \tabularnewline
52 & 0.795858657547468 & 0.408282684905065 & 0.204141342452532 \tabularnewline
53 & 0.785432948104346 & 0.429134103791308 & 0.214567051895654 \tabularnewline
54 & 0.681603747609916 & 0.636792504780168 & 0.318396252390084 \tabularnewline
55 & 0.515311080321929 & 0.969377839356142 & 0.484688919678071 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113920&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.0616271010661731[/C][C]0.123254202132346[/C][C]0.938372898933827[/C][/ROW]
[ROW][C]6[/C][C]0.0179481667934077[/C][C]0.0358963335868154[/C][C]0.982051833206592[/C][/ROW]
[ROW][C]7[/C][C]0.0180928666712954[/C][C]0.0361857333425908[/C][C]0.981907133328705[/C][/ROW]
[ROW][C]8[/C][C]0.00731722439513958[/C][C]0.0146344487902792[/C][C]0.99268277560486[/C][/ROW]
[ROW][C]9[/C][C]0.00831552011355264[/C][C]0.0166310402271053[/C][C]0.991684479886447[/C][/ROW]
[ROW][C]10[/C][C]0.094779719190827[/C][C]0.189559438381654[/C][C]0.905220280809173[/C][/ROW]
[ROW][C]11[/C][C]0.0708267448818538[/C][C]0.141653489763708[/C][C]0.929173255118146[/C][/ROW]
[ROW][C]12[/C][C]0.0652251438622074[/C][C]0.130450287724415[/C][C]0.934774856137793[/C][/ROW]
[ROW][C]13[/C][C]0.0790867768390513[/C][C]0.158173553678103[/C][C]0.920913223160949[/C][/ROW]
[ROW][C]14[/C][C]0.0695269637557463[/C][C]0.139053927511493[/C][C]0.930473036244254[/C][/ROW]
[ROW][C]15[/C][C]0.0422992275082328[/C][C]0.0845984550164657[/C][C]0.957700772491767[/C][/ROW]
[ROW][C]16[/C][C]0.0247882814613964[/C][C]0.0495765629227927[/C][C]0.975211718538604[/C][/ROW]
[ROW][C]17[/C][C]0.0140721050426143[/C][C]0.0281442100852286[/C][C]0.985927894957386[/C][/ROW]
[ROW][C]18[/C][C]0.015065835276508[/C][C]0.030131670553016[/C][C]0.984934164723492[/C][/ROW]
[ROW][C]19[/C][C]0.00868125271577326[/C][C]0.0173625054315465[/C][C]0.991318747284227[/C][/ROW]
[ROW][C]20[/C][C]0.00617224839585752[/C][C]0.012344496791715[/C][C]0.993827751604142[/C][/ROW]
[ROW][C]21[/C][C]0.0182718917913994[/C][C]0.0365437835827988[/C][C]0.9817281082086[/C][/ROW]
[ROW][C]22[/C][C]0.0207972218305514[/C][C]0.0415944436611029[/C][C]0.979202778169449[/C][/ROW]
[ROW][C]23[/C][C]0.0136652525064937[/C][C]0.0273305050129874[/C][C]0.986334747493506[/C][/ROW]
[ROW][C]24[/C][C]0.0124844407404125[/C][C]0.0249688814808249[/C][C]0.987515559259588[/C][/ROW]
[ROW][C]25[/C][C]0.104662195646925[/C][C]0.20932439129385[/C][C]0.895337804353075[/C][/ROW]
[ROW][C]26[/C][C]0.11285744458509[/C][C]0.225714889170179[/C][C]0.88714255541491[/C][/ROW]
[ROW][C]27[/C][C]0.0827944456028306[/C][C]0.165588891205661[/C][C]0.91720555439717[/C][/ROW]
[ROW][C]28[/C][C]0.0621657545867654[/C][C]0.124331509173531[/C][C]0.937834245413235[/C][/ROW]
[ROW][C]29[/C][C]0.0721447395736374[/C][C]0.144289479147275[/C][C]0.927855260426363[/C][/ROW]
[ROW][C]30[/C][C]0.06954704437528[/C][C]0.13909408875056[/C][C]0.93045295562472[/C][/ROW]
[ROW][C]31[/C][C]0.138205185888642[/C][C]0.276410371777285[/C][C]0.861794814111358[/C][/ROW]
[ROW][C]32[/C][C]0.131202910912856[/C][C]0.262405821825712[/C][C]0.868797089087144[/C][/ROW]
[ROW][C]33[/C][C]0.262189470246174[/C][C]0.524378940492348[/C][C]0.737810529753826[/C][/ROW]
[ROW][C]34[/C][C]0.225510639014987[/C][C]0.451021278029975[/C][C]0.774489360985013[/C][/ROW]
[ROW][C]35[/C][C]0.193337963673049[/C][C]0.386675927346097[/C][C]0.806662036326951[/C][/ROW]
[ROW][C]36[/C][C]0.506108029704767[/C][C]0.987783940590466[/C][C]0.493891970295233[/C][/ROW]
[ROW][C]37[/C][C]0.88496554619699[/C][C]0.230068907606019[/C][C]0.11503445380301[/C][/ROW]
[ROW][C]38[/C][C]0.938831057065715[/C][C]0.122337885868569[/C][C]0.0611689429342845[/C][/ROW]
[ROW][C]39[/C][C]0.941204799788693[/C][C]0.117590400422613[/C][C]0.0587952002113066[/C][/ROW]
[ROW][C]40[/C][C]0.934945380816184[/C][C]0.130109238367633[/C][C]0.0650546191838164[/C][/ROW]
[ROW][C]41[/C][C]0.924573326517126[/C][C]0.150853346965749[/C][C]0.0754266734828743[/C][/ROW]
[ROW][C]42[/C][C]0.909012426368417[/C][C]0.181975147263165[/C][C]0.0909875736315827[/C][/ROW]
[ROW][C]43[/C][C]0.888425453521546[/C][C]0.223149092956907[/C][C]0.111574546478454[/C][/ROW]
[ROW][C]44[/C][C]0.871903089184556[/C][C]0.256193821630888[/C][C]0.128096910815444[/C][/ROW]
[ROW][C]45[/C][C]0.847910212669693[/C][C]0.304179574660615[/C][C]0.152089787330307[/C][/ROW]
[ROW][C]46[/C][C]0.845056337615724[/C][C]0.309887324768552[/C][C]0.154943662384276[/C][/ROW]
[ROW][C]47[/C][C]0.881435380477537[/C][C]0.237129239044926[/C][C]0.118564619522463[/C][/ROW]
[ROW][C]48[/C][C]0.857615590731098[/C][C]0.284768818537804[/C][C]0.142384409268902[/C][/ROW]
[ROW][C]49[/C][C]0.85402127371362[/C][C]0.29195745257276[/C][C]0.14597872628638[/C][/ROW]
[ROW][C]50[/C][C]0.795907515195248[/C][C]0.408184969609504[/C][C]0.204092484804752[/C][/ROW]
[ROW][C]51[/C][C]0.737721359254889[/C][C]0.524557281490223[/C][C]0.262278640745111[/C][/ROW]
[ROW][C]52[/C][C]0.795858657547468[/C][C]0.408282684905065[/C][C]0.204141342452532[/C][/ROW]
[ROW][C]53[/C][C]0.785432948104346[/C][C]0.429134103791308[/C][C]0.214567051895654[/C][/ROW]
[ROW][C]54[/C][C]0.681603747609916[/C][C]0.636792504780168[/C][C]0.318396252390084[/C][/ROW]
[ROW][C]55[/C][C]0.515311080321929[/C][C]0.969377839356142[/C][C]0.484688919678071[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113920&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113920&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.06162710106617310.1232542021323460.938372898933827
60.01794816679340770.03589633358681540.982051833206592
70.01809286667129540.03618573334259080.981907133328705
80.007317224395139580.01463444879027920.99268277560486
90.008315520113552640.01663104022710530.991684479886447
100.0947797191908270.1895594383816540.905220280809173
110.07082674488185380.1416534897637080.929173255118146
120.06522514386220740.1304502877244150.934774856137793
130.07908677683905130.1581735536781030.920913223160949
140.06952696375574630.1390539275114930.930473036244254
150.04229922750823280.08459845501646570.957700772491767
160.02478828146139640.04957656292279270.975211718538604
170.01407210504261430.02814421008522860.985927894957386
180.0150658352765080.0301316705530160.984934164723492
190.008681252715773260.01736250543154650.991318747284227
200.006172248395857520.0123444967917150.993827751604142
210.01827189179139940.03654378358279880.9817281082086
220.02079722183055140.04159444366110290.979202778169449
230.01366525250649370.02733050501298740.986334747493506
240.01248444074041250.02496888148082490.987515559259588
250.1046621956469250.209324391293850.895337804353075
260.112857444585090.2257148891701790.88714255541491
270.08279444560283060.1655888912056610.91720555439717
280.06216575458676540.1243315091735310.937834245413235
290.07214473957363740.1442894791472750.927855260426363
300.069547044375280.139094088750560.93045295562472
310.1382051858886420.2764103717772850.861794814111358
320.1312029109128560.2624058218257120.868797089087144
330.2621894702461740.5243789404923480.737810529753826
340.2255106390149870.4510212780299750.774489360985013
350.1933379636730490.3866759273460970.806662036326951
360.5061080297047670.9877839405904660.493891970295233
370.884965546196990.2300689076060190.11503445380301
380.9388310570657150.1223378858685690.0611689429342845
390.9412047997886930.1175904004226130.0587952002113066
400.9349453808161840.1301092383676330.0650546191838164
410.9245733265171260.1508533469657490.0754266734828743
420.9090124263684170.1819751472631650.0909875736315827
430.8884254535215460.2231490929569070.111574546478454
440.8719030891845560.2561938216308880.128096910815444
450.8479102126696930.3041795746606150.152089787330307
460.8450563376157240.3098873247685520.154943662384276
470.8814353804775370.2371292390449260.118564619522463
480.8576155907310980.2847688185378040.142384409268902
490.854021273713620.291957452572760.14597872628638
500.7959075151952480.4081849696095040.204092484804752
510.7377213592548890.5245572814902230.262278640745111
520.7958586575474680.4082826849050650.204141342452532
530.7854329481043460.4291341037913080.214567051895654
540.6816037476099160.6367925047801680.318396252390084
550.5153110803219290.9693778393561420.484688919678071







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113920&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 level130.254901960784314NOK
10% type I error level140.274509803921569NOK



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