Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 14 Dec 2009 05:09:02 -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/2009/Dec/14/t12607932232jep3rk595h8n2r.htm/, Retrieved Sun, 05 May 2024 17:49:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67529, Retrieved Sun, 05 May 2024 17:49:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact94
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] [] [2009-12-14 12:09:02] [4672b66a35a4d755714bdcf00037725e] [Current]
Feedback Forum

Post a new message
Dataseries X:
87	0
96.3	0
107.1	0
115.2	0
106.1	1
89.5	1
91.3	1
97.6	1
100.7	1
104.6	1
94.7	1
101.8	1
102.5	1
105.3	1
110.3	1
109.8	1
117.3	1
118.8	1
131.3	1
125.9	1
133.1	1
147	1
145.8	1
164.4	1
149.8	1
137.7	1
151.7	1
156.8	1
180	1
180.4	1
170.4	1
191.6	1
199.5	1
218.2	1
217.5	1
205	1
194	1
199.3	1
219.3	1
211.1	1
215.2	1
240.2	1
242.2	1
240.7	1
255.4	1
253	1
218.2	1
203.7	1
205.6	1
215.6	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67529&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'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 101.4 + 63.1630434782609X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  101.4 +  63.1630434782609X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67529&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  101.4 +  63.1630434782609X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67529&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67529&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
Y[t] = + 101.4 + 63.1630434782609X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)101.425.0842554.04240.0001919.5e-05
X63.163043478260926.1521432.41520.0195830.009792

\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) & 101.4 & 25.084255 & 4.0424 & 0.000191 & 9.5e-05 \tabularnewline
X & 63.1630434782609 & 26.152143 & 2.4152 & 0.019583 & 0.009792 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67529&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]101.4[/C][C]25.084255[/C][C]4.0424[/C][C]0.000191[/C][C]9.5e-05[/C][/ROW]
[ROW][C]X[/C][C]63.1630434782609[/C][C]26.152143[/C][C]2.4152[/C][C]0.019583[/C][C]0.009792[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67529&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67529&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)101.425.0842554.04240.0001919.5e-05
X63.163043478260926.1521432.41520.0195830.009792







Multiple Linear Regression - Regression Statistics
Multiple R0.329177703580335
R-squared0.108357960534423
Adjusted R-squared0.0897820847122236
F-TEST (value)5.83326253747494
F-TEST (DF numerator)1
F-TEST (DF denominator)48
p-value0.0195834580207066
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation50.1685092077011
Sum Squared Residuals120810.207173913

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.329177703580335 \tabularnewline
R-squared & 0.108357960534423 \tabularnewline
Adjusted R-squared & 0.0897820847122236 \tabularnewline
F-TEST (value) & 5.83326253747494 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.0195834580207066 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 50.1685092077011 \tabularnewline
Sum Squared Residuals & 120810.207173913 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67529&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.329177703580335[/C][/ROW]
[ROW][C]R-squared[/C][C]0.108357960534423[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0897820847122236[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.83326253747494[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.0195834580207066[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]50.1685092077011[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]120810.207173913[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67529&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67529&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.329177703580335
R-squared0.108357960534423
Adjusted R-squared0.0897820847122236
F-TEST (value)5.83326253747494
F-TEST (DF numerator)1
F-TEST (DF denominator)48
p-value0.0195834580207066
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation50.1685092077011
Sum Squared Residuals120810.207173913







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
187101.400000000000-14.3999999999997
296.3101.400000000000-5.10000000000015
3107.1101.45.69999999999994
4115.2101.413.7999999999999
5106.1164.563043478261-58.4630434782609
689.5164.563043478261-75.0630434782609
791.3164.563043478261-73.2630434782609
897.6164.563043478261-66.9630434782609
9100.7164.563043478261-63.8630434782609
10104.6164.563043478261-59.9630434782609
1194.7164.563043478261-69.8630434782609
12101.8164.563043478261-62.7630434782609
13102.5164.563043478261-62.0630434782609
14105.3164.563043478261-59.2630434782609
15110.3164.563043478261-54.2630434782609
16109.8164.563043478261-54.7630434782609
17117.3164.563043478261-47.2630434782609
18118.8164.563043478261-45.7630434782609
19131.3164.563043478261-33.2630434782609
20125.9164.563043478261-38.6630434782609
21133.1164.563043478261-31.4630434782609
22147164.563043478261-17.5630434782609
23145.8164.563043478261-18.7630434782609
24164.4164.563043478261-0.163043478260859
25149.8164.563043478261-14.7630434782609
26137.7164.563043478261-26.8630434782609
27151.7164.563043478261-12.8630434782609
28156.8164.563043478261-7.76304347826085
29180164.56304347826115.4369565217391
30180.4164.56304347826115.8369565217391
31170.4164.5630434782615.83695652173914
32191.6164.56304347826127.0369565217391
33199.5164.56304347826134.9369565217391
34218.2164.56304347826153.6369565217391
35217.5164.56304347826152.9369565217391
36205164.56304347826140.4369565217391
37194164.56304347826129.4369565217391
38199.3164.56304347826134.7369565217391
39219.3164.56304347826154.7369565217391
40211.1164.56304347826146.5369565217391
41215.2164.56304347826150.6369565217391
42240.2164.56304347826175.6369565217391
43242.2164.56304347826177.6369565217391
44240.7164.56304347826176.1369565217391
45255.4164.56304347826190.8369565217391
46253164.56304347826188.4369565217391
47218.2164.56304347826153.6369565217391
48203.7164.56304347826139.1369565217391
49205.6164.56304347826141.0369565217391
50215.6164.56304347826151.0369565217391

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 87 & 101.400000000000 & -14.3999999999997 \tabularnewline
2 & 96.3 & 101.400000000000 & -5.10000000000015 \tabularnewline
3 & 107.1 & 101.4 & 5.69999999999994 \tabularnewline
4 & 115.2 & 101.4 & 13.7999999999999 \tabularnewline
5 & 106.1 & 164.563043478261 & -58.4630434782609 \tabularnewline
6 & 89.5 & 164.563043478261 & -75.0630434782609 \tabularnewline
7 & 91.3 & 164.563043478261 & -73.2630434782609 \tabularnewline
8 & 97.6 & 164.563043478261 & -66.9630434782609 \tabularnewline
9 & 100.7 & 164.563043478261 & -63.8630434782609 \tabularnewline
10 & 104.6 & 164.563043478261 & -59.9630434782609 \tabularnewline
11 & 94.7 & 164.563043478261 & -69.8630434782609 \tabularnewline
12 & 101.8 & 164.563043478261 & -62.7630434782609 \tabularnewline
13 & 102.5 & 164.563043478261 & -62.0630434782609 \tabularnewline
14 & 105.3 & 164.563043478261 & -59.2630434782609 \tabularnewline
15 & 110.3 & 164.563043478261 & -54.2630434782609 \tabularnewline
16 & 109.8 & 164.563043478261 & -54.7630434782609 \tabularnewline
17 & 117.3 & 164.563043478261 & -47.2630434782609 \tabularnewline
18 & 118.8 & 164.563043478261 & -45.7630434782609 \tabularnewline
19 & 131.3 & 164.563043478261 & -33.2630434782609 \tabularnewline
20 & 125.9 & 164.563043478261 & -38.6630434782609 \tabularnewline
21 & 133.1 & 164.563043478261 & -31.4630434782609 \tabularnewline
22 & 147 & 164.563043478261 & -17.5630434782609 \tabularnewline
23 & 145.8 & 164.563043478261 & -18.7630434782609 \tabularnewline
24 & 164.4 & 164.563043478261 & -0.163043478260859 \tabularnewline
25 & 149.8 & 164.563043478261 & -14.7630434782609 \tabularnewline
26 & 137.7 & 164.563043478261 & -26.8630434782609 \tabularnewline
27 & 151.7 & 164.563043478261 & -12.8630434782609 \tabularnewline
28 & 156.8 & 164.563043478261 & -7.76304347826085 \tabularnewline
29 & 180 & 164.563043478261 & 15.4369565217391 \tabularnewline
30 & 180.4 & 164.563043478261 & 15.8369565217391 \tabularnewline
31 & 170.4 & 164.563043478261 & 5.83695652173914 \tabularnewline
32 & 191.6 & 164.563043478261 & 27.0369565217391 \tabularnewline
33 & 199.5 & 164.563043478261 & 34.9369565217391 \tabularnewline
34 & 218.2 & 164.563043478261 & 53.6369565217391 \tabularnewline
35 & 217.5 & 164.563043478261 & 52.9369565217391 \tabularnewline
36 & 205 & 164.563043478261 & 40.4369565217391 \tabularnewline
37 & 194 & 164.563043478261 & 29.4369565217391 \tabularnewline
38 & 199.3 & 164.563043478261 & 34.7369565217391 \tabularnewline
39 & 219.3 & 164.563043478261 & 54.7369565217391 \tabularnewline
40 & 211.1 & 164.563043478261 & 46.5369565217391 \tabularnewline
41 & 215.2 & 164.563043478261 & 50.6369565217391 \tabularnewline
42 & 240.2 & 164.563043478261 & 75.6369565217391 \tabularnewline
43 & 242.2 & 164.563043478261 & 77.6369565217391 \tabularnewline
44 & 240.7 & 164.563043478261 & 76.1369565217391 \tabularnewline
45 & 255.4 & 164.563043478261 & 90.8369565217391 \tabularnewline
46 & 253 & 164.563043478261 & 88.4369565217391 \tabularnewline
47 & 218.2 & 164.563043478261 & 53.6369565217391 \tabularnewline
48 & 203.7 & 164.563043478261 & 39.1369565217391 \tabularnewline
49 & 205.6 & 164.563043478261 & 41.0369565217391 \tabularnewline
50 & 215.6 & 164.563043478261 & 51.0369565217391 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67529&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]87[/C][C]101.400000000000[/C][C]-14.3999999999997[/C][/ROW]
[ROW][C]2[/C][C]96.3[/C][C]101.400000000000[/C][C]-5.10000000000015[/C][/ROW]
[ROW][C]3[/C][C]107.1[/C][C]101.4[/C][C]5.69999999999994[/C][/ROW]
[ROW][C]4[/C][C]115.2[/C][C]101.4[/C][C]13.7999999999999[/C][/ROW]
[ROW][C]5[/C][C]106.1[/C][C]164.563043478261[/C][C]-58.4630434782609[/C][/ROW]
[ROW][C]6[/C][C]89.5[/C][C]164.563043478261[/C][C]-75.0630434782609[/C][/ROW]
[ROW][C]7[/C][C]91.3[/C][C]164.563043478261[/C][C]-73.2630434782609[/C][/ROW]
[ROW][C]8[/C][C]97.6[/C][C]164.563043478261[/C][C]-66.9630434782609[/C][/ROW]
[ROW][C]9[/C][C]100.7[/C][C]164.563043478261[/C][C]-63.8630434782609[/C][/ROW]
[ROW][C]10[/C][C]104.6[/C][C]164.563043478261[/C][C]-59.9630434782609[/C][/ROW]
[ROW][C]11[/C][C]94.7[/C][C]164.563043478261[/C][C]-69.8630434782609[/C][/ROW]
[ROW][C]12[/C][C]101.8[/C][C]164.563043478261[/C][C]-62.7630434782609[/C][/ROW]
[ROW][C]13[/C][C]102.5[/C][C]164.563043478261[/C][C]-62.0630434782609[/C][/ROW]
[ROW][C]14[/C][C]105.3[/C][C]164.563043478261[/C][C]-59.2630434782609[/C][/ROW]
[ROW][C]15[/C][C]110.3[/C][C]164.563043478261[/C][C]-54.2630434782609[/C][/ROW]
[ROW][C]16[/C][C]109.8[/C][C]164.563043478261[/C][C]-54.7630434782609[/C][/ROW]
[ROW][C]17[/C][C]117.3[/C][C]164.563043478261[/C][C]-47.2630434782609[/C][/ROW]
[ROW][C]18[/C][C]118.8[/C][C]164.563043478261[/C][C]-45.7630434782609[/C][/ROW]
[ROW][C]19[/C][C]131.3[/C][C]164.563043478261[/C][C]-33.2630434782609[/C][/ROW]
[ROW][C]20[/C][C]125.9[/C][C]164.563043478261[/C][C]-38.6630434782609[/C][/ROW]
[ROW][C]21[/C][C]133.1[/C][C]164.563043478261[/C][C]-31.4630434782609[/C][/ROW]
[ROW][C]22[/C][C]147[/C][C]164.563043478261[/C][C]-17.5630434782609[/C][/ROW]
[ROW][C]23[/C][C]145.8[/C][C]164.563043478261[/C][C]-18.7630434782609[/C][/ROW]
[ROW][C]24[/C][C]164.4[/C][C]164.563043478261[/C][C]-0.163043478260859[/C][/ROW]
[ROW][C]25[/C][C]149.8[/C][C]164.563043478261[/C][C]-14.7630434782609[/C][/ROW]
[ROW][C]26[/C][C]137.7[/C][C]164.563043478261[/C][C]-26.8630434782609[/C][/ROW]
[ROW][C]27[/C][C]151.7[/C][C]164.563043478261[/C][C]-12.8630434782609[/C][/ROW]
[ROW][C]28[/C][C]156.8[/C][C]164.563043478261[/C][C]-7.76304347826085[/C][/ROW]
[ROW][C]29[/C][C]180[/C][C]164.563043478261[/C][C]15.4369565217391[/C][/ROW]
[ROW][C]30[/C][C]180.4[/C][C]164.563043478261[/C][C]15.8369565217391[/C][/ROW]
[ROW][C]31[/C][C]170.4[/C][C]164.563043478261[/C][C]5.83695652173914[/C][/ROW]
[ROW][C]32[/C][C]191.6[/C][C]164.563043478261[/C][C]27.0369565217391[/C][/ROW]
[ROW][C]33[/C][C]199.5[/C][C]164.563043478261[/C][C]34.9369565217391[/C][/ROW]
[ROW][C]34[/C][C]218.2[/C][C]164.563043478261[/C][C]53.6369565217391[/C][/ROW]
[ROW][C]35[/C][C]217.5[/C][C]164.563043478261[/C][C]52.9369565217391[/C][/ROW]
[ROW][C]36[/C][C]205[/C][C]164.563043478261[/C][C]40.4369565217391[/C][/ROW]
[ROW][C]37[/C][C]194[/C][C]164.563043478261[/C][C]29.4369565217391[/C][/ROW]
[ROW][C]38[/C][C]199.3[/C][C]164.563043478261[/C][C]34.7369565217391[/C][/ROW]
[ROW][C]39[/C][C]219.3[/C][C]164.563043478261[/C][C]54.7369565217391[/C][/ROW]
[ROW][C]40[/C][C]211.1[/C][C]164.563043478261[/C][C]46.5369565217391[/C][/ROW]
[ROW][C]41[/C][C]215.2[/C][C]164.563043478261[/C][C]50.6369565217391[/C][/ROW]
[ROW][C]42[/C][C]240.2[/C][C]164.563043478261[/C][C]75.6369565217391[/C][/ROW]
[ROW][C]43[/C][C]242.2[/C][C]164.563043478261[/C][C]77.6369565217391[/C][/ROW]
[ROW][C]44[/C][C]240.7[/C][C]164.563043478261[/C][C]76.1369565217391[/C][/ROW]
[ROW][C]45[/C][C]255.4[/C][C]164.563043478261[/C][C]90.8369565217391[/C][/ROW]
[ROW][C]46[/C][C]253[/C][C]164.563043478261[/C][C]88.4369565217391[/C][/ROW]
[ROW][C]47[/C][C]218.2[/C][C]164.563043478261[/C][C]53.6369565217391[/C][/ROW]
[ROW][C]48[/C][C]203.7[/C][C]164.563043478261[/C][C]39.1369565217391[/C][/ROW]
[ROW][C]49[/C][C]205.6[/C][C]164.563043478261[/C][C]41.0369565217391[/C][/ROW]
[ROW][C]50[/C][C]215.6[/C][C]164.563043478261[/C][C]51.0369565217391[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67529&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67529&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
187101.400000000000-14.3999999999997
296.3101.400000000000-5.10000000000015
3107.1101.45.69999999999994
4115.2101.413.7999999999999
5106.1164.563043478261-58.4630434782609
689.5164.563043478261-75.0630434782609
791.3164.563043478261-73.2630434782609
897.6164.563043478261-66.9630434782609
9100.7164.563043478261-63.8630434782609
10104.6164.563043478261-59.9630434782609
1194.7164.563043478261-69.8630434782609
12101.8164.563043478261-62.7630434782609
13102.5164.563043478261-62.0630434782609
14105.3164.563043478261-59.2630434782609
15110.3164.563043478261-54.2630434782609
16109.8164.563043478261-54.7630434782609
17117.3164.563043478261-47.2630434782609
18118.8164.563043478261-45.7630434782609
19131.3164.563043478261-33.2630434782609
20125.9164.563043478261-38.6630434782609
21133.1164.563043478261-31.4630434782609
22147164.563043478261-17.5630434782609
23145.8164.563043478261-18.7630434782609
24164.4164.563043478261-0.163043478260859
25149.8164.563043478261-14.7630434782609
26137.7164.563043478261-26.8630434782609
27151.7164.563043478261-12.8630434782609
28156.8164.563043478261-7.76304347826085
29180164.56304347826115.4369565217391
30180.4164.56304347826115.8369565217391
31170.4164.5630434782615.83695652173914
32191.6164.56304347826127.0369565217391
33199.5164.56304347826134.9369565217391
34218.2164.56304347826153.6369565217391
35217.5164.56304347826152.9369565217391
36205164.56304347826140.4369565217391
37194164.56304347826129.4369565217391
38199.3164.56304347826134.7369565217391
39219.3164.56304347826154.7369565217391
40211.1164.56304347826146.5369565217391
41215.2164.56304347826150.6369565217391
42240.2164.56304347826175.6369565217391
43242.2164.56304347826177.6369565217391
44240.7164.56304347826176.1369565217391
45255.4164.56304347826190.8369565217391
46253164.56304347826188.4369565217391
47218.2164.56304347826153.6369565217391
48203.7164.56304347826139.1369565217391
49205.6164.56304347826141.0369565217391
50215.6164.56304347826151.0369565217391







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01764446270910180.03528892541820360.982355537290898
60.006110100177830580.01222020035566120.99388989982217
70.001537540959144080.003075081918288160.998462459040856
80.0003412930036015370.0006825860072030740.999658706996398
97.95223036069185e-050.0001590446072138370.999920477696393
102.20730235431383e-054.41460470862765e-050.999977926976457
115.6217716793568e-061.12435433587136e-050.99999437822832
121.46849773127954e-062.93699546255909e-060.999998531502269
134.17243850465223e-078.34487700930446e-070.99999958275615
141.51301416622530e-073.02602833245059e-070.999999848698583
159.78497992969444e-081.95699598593889e-070.9999999021502
166.12348873476034e-081.22469774695207e-070.999999938765113
171.09083379996205e-072.18166759992410e-070.99999989091662
182.06005694572447e-074.12011389144893e-070.999999793994305
192.01787181112029e-064.03574362224058e-060.999997982128189
205.34812963990188e-061.06962592798038e-050.99999465187036
212.52359424874798e-055.04718849749597e-050.999974764057513
220.0002832304166548140.0005664608333096270.999716769583345
230.001336734318459280.002673468636918560.99866326568154
240.01014167250940630.02028334501881250.989858327490594
250.02437660354210690.04875320708421380.975623396457893
260.06235767444950260.1247153488990050.937642325550497
270.1558834332444440.3117668664888880.844116566755556
280.3470660746210840.6941321492421670.652933925378916
290.5792469358522030.8415061282955930.420753064147797
300.7534656924278230.4930686151443550.246534307572177
310.9010467152705330.1979065694589340.0989532847294671
320.9521034345250590.0957931309498830.0478965654749415
330.9724075604617790.05518487907644290.0275924395382214
340.9812494654413630.03750106911727320.0187505345586366
350.9831355028931470.03372899421370660.0168644971068533
360.9826435687349420.03471286253011620.0173564312650581
370.9867017068826670.02659658623466650.0132982931173333
380.9885717069709730.02285658605805440.0114282930290272
390.983543316957180.03291336608564040.0164566830428202
400.977937263931740.04412547213651940.0220627360682597
410.9669848461739950.06603030765200960.0330151538260048
420.9499702059147440.1000595881705120.0500297940852559
430.9232795867286240.1534408265427520.0767204132713759
440.874566745390980.2508665092180390.125433254609020
450.8811231032592180.2377537934815640.118876896740782

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0176444627091018 & 0.0352889254182036 & 0.982355537290898 \tabularnewline
6 & 0.00611010017783058 & 0.0122202003556612 & 0.99388989982217 \tabularnewline
7 & 0.00153754095914408 & 0.00307508191828816 & 0.998462459040856 \tabularnewline
8 & 0.000341293003601537 & 0.000682586007203074 & 0.999658706996398 \tabularnewline
9 & 7.95223036069185e-05 & 0.000159044607213837 & 0.999920477696393 \tabularnewline
10 & 2.20730235431383e-05 & 4.41460470862765e-05 & 0.999977926976457 \tabularnewline
11 & 5.6217716793568e-06 & 1.12435433587136e-05 & 0.99999437822832 \tabularnewline
12 & 1.46849773127954e-06 & 2.93699546255909e-06 & 0.999998531502269 \tabularnewline
13 & 4.17243850465223e-07 & 8.34487700930446e-07 & 0.99999958275615 \tabularnewline
14 & 1.51301416622530e-07 & 3.02602833245059e-07 & 0.999999848698583 \tabularnewline
15 & 9.78497992969444e-08 & 1.95699598593889e-07 & 0.9999999021502 \tabularnewline
16 & 6.12348873476034e-08 & 1.22469774695207e-07 & 0.999999938765113 \tabularnewline
17 & 1.09083379996205e-07 & 2.18166759992410e-07 & 0.99999989091662 \tabularnewline
18 & 2.06005694572447e-07 & 4.12011389144893e-07 & 0.999999793994305 \tabularnewline
19 & 2.01787181112029e-06 & 4.03574362224058e-06 & 0.999997982128189 \tabularnewline
20 & 5.34812963990188e-06 & 1.06962592798038e-05 & 0.99999465187036 \tabularnewline
21 & 2.52359424874798e-05 & 5.04718849749597e-05 & 0.999974764057513 \tabularnewline
22 & 0.000283230416654814 & 0.000566460833309627 & 0.999716769583345 \tabularnewline
23 & 0.00133673431845928 & 0.00267346863691856 & 0.99866326568154 \tabularnewline
24 & 0.0101416725094063 & 0.0202833450188125 & 0.989858327490594 \tabularnewline
25 & 0.0243766035421069 & 0.0487532070842138 & 0.975623396457893 \tabularnewline
26 & 0.0623576744495026 & 0.124715348899005 & 0.937642325550497 \tabularnewline
27 & 0.155883433244444 & 0.311766866488888 & 0.844116566755556 \tabularnewline
28 & 0.347066074621084 & 0.694132149242167 & 0.652933925378916 \tabularnewline
29 & 0.579246935852203 & 0.841506128295593 & 0.420753064147797 \tabularnewline
30 & 0.753465692427823 & 0.493068615144355 & 0.246534307572177 \tabularnewline
31 & 0.901046715270533 & 0.197906569458934 & 0.0989532847294671 \tabularnewline
32 & 0.952103434525059 & 0.095793130949883 & 0.0478965654749415 \tabularnewline
33 & 0.972407560461779 & 0.0551848790764429 & 0.0275924395382214 \tabularnewline
34 & 0.981249465441363 & 0.0375010691172732 & 0.0187505345586366 \tabularnewline
35 & 0.983135502893147 & 0.0337289942137066 & 0.0168644971068533 \tabularnewline
36 & 0.982643568734942 & 0.0347128625301162 & 0.0173564312650581 \tabularnewline
37 & 0.986701706882667 & 0.0265965862346665 & 0.0132982931173333 \tabularnewline
38 & 0.988571706970973 & 0.0228565860580544 & 0.0114282930290272 \tabularnewline
39 & 0.98354331695718 & 0.0329133660856404 & 0.0164566830428202 \tabularnewline
40 & 0.97793726393174 & 0.0441254721365194 & 0.0220627360682597 \tabularnewline
41 & 0.966984846173995 & 0.0660303076520096 & 0.0330151538260048 \tabularnewline
42 & 0.949970205914744 & 0.100059588170512 & 0.0500297940852559 \tabularnewline
43 & 0.923279586728624 & 0.153440826542752 & 0.0767204132713759 \tabularnewline
44 & 0.87456674539098 & 0.250866509218039 & 0.125433254609020 \tabularnewline
45 & 0.881123103259218 & 0.237753793481564 & 0.118876896740782 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67529&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.0176444627091018[/C][C]0.0352889254182036[/C][C]0.982355537290898[/C][/ROW]
[ROW][C]6[/C][C]0.00611010017783058[/C][C]0.0122202003556612[/C][C]0.99388989982217[/C][/ROW]
[ROW][C]7[/C][C]0.00153754095914408[/C][C]0.00307508191828816[/C][C]0.998462459040856[/C][/ROW]
[ROW][C]8[/C][C]0.000341293003601537[/C][C]0.000682586007203074[/C][C]0.999658706996398[/C][/ROW]
[ROW][C]9[/C][C]7.95223036069185e-05[/C][C]0.000159044607213837[/C][C]0.999920477696393[/C][/ROW]
[ROW][C]10[/C][C]2.20730235431383e-05[/C][C]4.41460470862765e-05[/C][C]0.999977926976457[/C][/ROW]
[ROW][C]11[/C][C]5.6217716793568e-06[/C][C]1.12435433587136e-05[/C][C]0.99999437822832[/C][/ROW]
[ROW][C]12[/C][C]1.46849773127954e-06[/C][C]2.93699546255909e-06[/C][C]0.999998531502269[/C][/ROW]
[ROW][C]13[/C][C]4.17243850465223e-07[/C][C]8.34487700930446e-07[/C][C]0.99999958275615[/C][/ROW]
[ROW][C]14[/C][C]1.51301416622530e-07[/C][C]3.02602833245059e-07[/C][C]0.999999848698583[/C][/ROW]
[ROW][C]15[/C][C]9.78497992969444e-08[/C][C]1.95699598593889e-07[/C][C]0.9999999021502[/C][/ROW]
[ROW][C]16[/C][C]6.12348873476034e-08[/C][C]1.22469774695207e-07[/C][C]0.999999938765113[/C][/ROW]
[ROW][C]17[/C][C]1.09083379996205e-07[/C][C]2.18166759992410e-07[/C][C]0.99999989091662[/C][/ROW]
[ROW][C]18[/C][C]2.06005694572447e-07[/C][C]4.12011389144893e-07[/C][C]0.999999793994305[/C][/ROW]
[ROW][C]19[/C][C]2.01787181112029e-06[/C][C]4.03574362224058e-06[/C][C]0.999997982128189[/C][/ROW]
[ROW][C]20[/C][C]5.34812963990188e-06[/C][C]1.06962592798038e-05[/C][C]0.99999465187036[/C][/ROW]
[ROW][C]21[/C][C]2.52359424874798e-05[/C][C]5.04718849749597e-05[/C][C]0.999974764057513[/C][/ROW]
[ROW][C]22[/C][C]0.000283230416654814[/C][C]0.000566460833309627[/C][C]0.999716769583345[/C][/ROW]
[ROW][C]23[/C][C]0.00133673431845928[/C][C]0.00267346863691856[/C][C]0.99866326568154[/C][/ROW]
[ROW][C]24[/C][C]0.0101416725094063[/C][C]0.0202833450188125[/C][C]0.989858327490594[/C][/ROW]
[ROW][C]25[/C][C]0.0243766035421069[/C][C]0.0487532070842138[/C][C]0.975623396457893[/C][/ROW]
[ROW][C]26[/C][C]0.0623576744495026[/C][C]0.124715348899005[/C][C]0.937642325550497[/C][/ROW]
[ROW][C]27[/C][C]0.155883433244444[/C][C]0.311766866488888[/C][C]0.844116566755556[/C][/ROW]
[ROW][C]28[/C][C]0.347066074621084[/C][C]0.694132149242167[/C][C]0.652933925378916[/C][/ROW]
[ROW][C]29[/C][C]0.579246935852203[/C][C]0.841506128295593[/C][C]0.420753064147797[/C][/ROW]
[ROW][C]30[/C][C]0.753465692427823[/C][C]0.493068615144355[/C][C]0.246534307572177[/C][/ROW]
[ROW][C]31[/C][C]0.901046715270533[/C][C]0.197906569458934[/C][C]0.0989532847294671[/C][/ROW]
[ROW][C]32[/C][C]0.952103434525059[/C][C]0.095793130949883[/C][C]0.0478965654749415[/C][/ROW]
[ROW][C]33[/C][C]0.972407560461779[/C][C]0.0551848790764429[/C][C]0.0275924395382214[/C][/ROW]
[ROW][C]34[/C][C]0.981249465441363[/C][C]0.0375010691172732[/C][C]0.0187505345586366[/C][/ROW]
[ROW][C]35[/C][C]0.983135502893147[/C][C]0.0337289942137066[/C][C]0.0168644971068533[/C][/ROW]
[ROW][C]36[/C][C]0.982643568734942[/C][C]0.0347128625301162[/C][C]0.0173564312650581[/C][/ROW]
[ROW][C]37[/C][C]0.986701706882667[/C][C]0.0265965862346665[/C][C]0.0132982931173333[/C][/ROW]
[ROW][C]38[/C][C]0.988571706970973[/C][C]0.0228565860580544[/C][C]0.0114282930290272[/C][/ROW]
[ROW][C]39[/C][C]0.98354331695718[/C][C]0.0329133660856404[/C][C]0.0164566830428202[/C][/ROW]
[ROW][C]40[/C][C]0.97793726393174[/C][C]0.0441254721365194[/C][C]0.0220627360682597[/C][/ROW]
[ROW][C]41[/C][C]0.966984846173995[/C][C]0.0660303076520096[/C][C]0.0330151538260048[/C][/ROW]
[ROW][C]42[/C][C]0.949970205914744[/C][C]0.100059588170512[/C][C]0.0500297940852559[/C][/ROW]
[ROW][C]43[/C][C]0.923279586728624[/C][C]0.153440826542752[/C][C]0.0767204132713759[/C][/ROW]
[ROW][C]44[/C][C]0.87456674539098[/C][C]0.250866509218039[/C][C]0.125433254609020[/C][/ROW]
[ROW][C]45[/C][C]0.881123103259218[/C][C]0.237753793481564[/C][C]0.118876896740782[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67529&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67529&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.01764446270910180.03528892541820360.982355537290898
60.006110100177830580.01222020035566120.99388989982217
70.001537540959144080.003075081918288160.998462459040856
80.0003412930036015370.0006825860072030740.999658706996398
97.95223036069185e-050.0001590446072138370.999920477696393
102.20730235431383e-054.41460470862765e-050.999977926976457
115.6217716793568e-061.12435433587136e-050.99999437822832
121.46849773127954e-062.93699546255909e-060.999998531502269
134.17243850465223e-078.34487700930446e-070.99999958275615
141.51301416622530e-073.02602833245059e-070.999999848698583
159.78497992969444e-081.95699598593889e-070.9999999021502
166.12348873476034e-081.22469774695207e-070.999999938765113
171.09083379996205e-072.18166759992410e-070.99999989091662
182.06005694572447e-074.12011389144893e-070.999999793994305
192.01787181112029e-064.03574362224058e-060.999997982128189
205.34812963990188e-061.06962592798038e-050.99999465187036
212.52359424874798e-055.04718849749597e-050.999974764057513
220.0002832304166548140.0005664608333096270.999716769583345
230.001336734318459280.002673468636918560.99866326568154
240.01014167250940630.02028334501881250.989858327490594
250.02437660354210690.04875320708421380.975623396457893
260.06235767444950260.1247153488990050.937642325550497
270.1558834332444440.3117668664888880.844116566755556
280.3470660746210840.6941321492421670.652933925378916
290.5792469358522030.8415061282955930.420753064147797
300.7534656924278230.4930686151443550.246534307572177
310.9010467152705330.1979065694589340.0989532847294671
320.9521034345250590.0957931309498830.0478965654749415
330.9724075604617790.05518487907644290.0275924395382214
340.9812494654413630.03750106911727320.0187505345586366
350.9831355028931470.03372899421370660.0168644971068533
360.9826435687349420.03471286253011620.0173564312650581
370.9867017068826670.02659658623466650.0132982931173333
380.9885717069709730.02285658605805440.0114282930290272
390.983543316957180.03291336608564040.0164566830428202
400.977937263931740.04412547213651940.0220627360682597
410.9669848461739950.06603030765200960.0330151538260048
420.9499702059147440.1000595881705120.0500297940852559
430.9232795867286240.1534408265427520.0767204132713759
440.874566745390980.2508665092180390.125433254609020
450.8811231032592180.2377537934815640.118876896740782







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level170.414634146341463NOK
5% type I error level280.682926829268293NOK
10% type I error level310.75609756097561NOK

\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 & 17 & 0.414634146341463 & NOK \tabularnewline
5% type I error level & 28 & 0.682926829268293 & NOK \tabularnewline
10% type I error level & 31 & 0.75609756097561 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67529&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]17[/C][C]0.414634146341463[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]28[/C][C]0.682926829268293[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]31[/C][C]0.75609756097561[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67529&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67529&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 level170.414634146341463NOK
5% type I error level280.682926829268293NOK
10% type I error level310.75609756097561NOK



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