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 computationThu, 19 Nov 2009 09:20:47 -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/Nov/19/t1258647693a77qn2zsdhshho1.htm/, Retrieved Fri, 26 Apr 2024 11:30:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57804, Retrieved Fri, 26 Apr 2024 11:30:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact157
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] [SHWWS7model1c] [2009-11-19 16:20:47] [db49399df1e4a3dbe31268849cebfd7f] [Current]
Feedback Forum

Post a new message
Dataseries X:
161	0
149	0
139	0
135	0
130	0
127	0
122	0
117	0
112	0
113	0
149	0
157	0
157	0
147	0
137	0
132	0
125	0
123	0
117	0
114	0
111	0
112	0
144	0
150	0
149	0
134	0
123	0
116	0
117	0
111	0
105	0
102	0
95	0
93	0
124	0
130	0
124	0
115	0
106	0
105	0
105	1
101	1
95	1
93	1
84	1
87	1
116	1
120	1
117	1
109	1
105	1
107	1
109	1
109	1
108	1
107	1
99	1
103	1
131	1
137	1




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

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57804&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 125.725 -18.625X[t] + e[t]

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)125.7252.57455848.833600
X-18.6254.459266-4.17670.0001015e-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) & 125.725 & 2.574558 & 48.8336 & 0 & 0 \tabularnewline
X & -18.625 & 4.459266 & -4.1767 & 0.000101 & 5e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57804&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]125.725[/C][C]2.574558[/C][C]48.8336[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-18.625[/C][C]4.459266[/C][C]-4.1767[/C][C]0.000101[/C][C]5e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57804&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57804&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)125.7252.57455848.833600
X-18.6254.459266-4.17670.0001015e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.48085956938187
R-squared0.231225925466118
Adjusted R-squared0.21797120004312
F-TEST (value)17.4447918072239
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.000100699599694165
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16.2829374415103
Sum Squared Residuals15377.7750000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.48085956938187 \tabularnewline
R-squared & 0.231225925466118 \tabularnewline
Adjusted R-squared & 0.21797120004312 \tabularnewline
F-TEST (value) & 17.4447918072239 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.000100699599694165 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 16.2829374415103 \tabularnewline
Sum Squared Residuals & 15377.7750000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57804&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.48085956938187[/C][/ROW]
[ROW][C]R-squared[/C][C]0.231225925466118[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.21797120004312[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]17.4447918072239[/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.000100699599694165[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]16.2829374415103[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15377.7750000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57804&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57804&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.48085956938187
R-squared0.231225925466118
Adjusted R-squared0.21797120004312
F-TEST (value)17.4447918072239
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.000100699599694165
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16.2829374415103
Sum Squared Residuals15377.7750000000







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1161125.72500000000035.2750000000002
2149125.72523.275
3139125.72513.275
4135125.7259.275
5130125.7254.27499999999999
6127125.7251.27499999999999
7122125.725-3.72500000000001
8117125.725-8.72500000000001
9112125.725-13.725
10113125.725-12.725
11149125.72523.275
12157125.72531.275
13157125.72531.275
14147125.72521.275
15137125.72511.275
16132125.7256.27499999999999
17125125.725-0.725000000000009
18123125.725-2.72500000000001
19117125.725-8.72500000000001
20114125.725-11.725
21111125.725-14.725
22112125.725-13.725
23144125.72518.275
24150125.72524.275
25149125.72523.275
26134125.7258.27499999999999
27123125.725-2.72500000000001
28116125.725-9.725
29117125.725-8.72500000000001
30111125.725-14.725
31105125.725-20.725
32102125.725-23.725
3395125.725-30.725
3493125.725-32.725
35124125.725-1.72500000000001
36130125.7254.27499999999999
37124125.725-1.72500000000001
38115125.725-10.725
39106125.725-19.725
40105125.725-20.725
41105107.1-2.1
42101107.1-6.1
4395107.1-12.1
4493107.1-14.1
4584107.1-23.1
4687107.1-20.1
47116107.18.9
48120107.112.9
49117107.19.9
50109107.11.9
51105107.1-2.1
52107107.1-0.100000000000001
53109107.11.9
54109107.11.9
55108107.10.899999999999999
56107107.1-0.100000000000001
5799107.1-8.1
58103107.1-4.1
59131107.123.9
60137107.129.9

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 161 & 125.725000000000 & 35.2750000000002 \tabularnewline
2 & 149 & 125.725 & 23.275 \tabularnewline
3 & 139 & 125.725 & 13.275 \tabularnewline
4 & 135 & 125.725 & 9.275 \tabularnewline
5 & 130 & 125.725 & 4.27499999999999 \tabularnewline
6 & 127 & 125.725 & 1.27499999999999 \tabularnewline
7 & 122 & 125.725 & -3.72500000000001 \tabularnewline
8 & 117 & 125.725 & -8.72500000000001 \tabularnewline
9 & 112 & 125.725 & -13.725 \tabularnewline
10 & 113 & 125.725 & -12.725 \tabularnewline
11 & 149 & 125.725 & 23.275 \tabularnewline
12 & 157 & 125.725 & 31.275 \tabularnewline
13 & 157 & 125.725 & 31.275 \tabularnewline
14 & 147 & 125.725 & 21.275 \tabularnewline
15 & 137 & 125.725 & 11.275 \tabularnewline
16 & 132 & 125.725 & 6.27499999999999 \tabularnewline
17 & 125 & 125.725 & -0.725000000000009 \tabularnewline
18 & 123 & 125.725 & -2.72500000000001 \tabularnewline
19 & 117 & 125.725 & -8.72500000000001 \tabularnewline
20 & 114 & 125.725 & -11.725 \tabularnewline
21 & 111 & 125.725 & -14.725 \tabularnewline
22 & 112 & 125.725 & -13.725 \tabularnewline
23 & 144 & 125.725 & 18.275 \tabularnewline
24 & 150 & 125.725 & 24.275 \tabularnewline
25 & 149 & 125.725 & 23.275 \tabularnewline
26 & 134 & 125.725 & 8.27499999999999 \tabularnewline
27 & 123 & 125.725 & -2.72500000000001 \tabularnewline
28 & 116 & 125.725 & -9.725 \tabularnewline
29 & 117 & 125.725 & -8.72500000000001 \tabularnewline
30 & 111 & 125.725 & -14.725 \tabularnewline
31 & 105 & 125.725 & -20.725 \tabularnewline
32 & 102 & 125.725 & -23.725 \tabularnewline
33 & 95 & 125.725 & -30.725 \tabularnewline
34 & 93 & 125.725 & -32.725 \tabularnewline
35 & 124 & 125.725 & -1.72500000000001 \tabularnewline
36 & 130 & 125.725 & 4.27499999999999 \tabularnewline
37 & 124 & 125.725 & -1.72500000000001 \tabularnewline
38 & 115 & 125.725 & -10.725 \tabularnewline
39 & 106 & 125.725 & -19.725 \tabularnewline
40 & 105 & 125.725 & -20.725 \tabularnewline
41 & 105 & 107.1 & -2.1 \tabularnewline
42 & 101 & 107.1 & -6.1 \tabularnewline
43 & 95 & 107.1 & -12.1 \tabularnewline
44 & 93 & 107.1 & -14.1 \tabularnewline
45 & 84 & 107.1 & -23.1 \tabularnewline
46 & 87 & 107.1 & -20.1 \tabularnewline
47 & 116 & 107.1 & 8.9 \tabularnewline
48 & 120 & 107.1 & 12.9 \tabularnewline
49 & 117 & 107.1 & 9.9 \tabularnewline
50 & 109 & 107.1 & 1.9 \tabularnewline
51 & 105 & 107.1 & -2.1 \tabularnewline
52 & 107 & 107.1 & -0.100000000000001 \tabularnewline
53 & 109 & 107.1 & 1.9 \tabularnewline
54 & 109 & 107.1 & 1.9 \tabularnewline
55 & 108 & 107.1 & 0.899999999999999 \tabularnewline
56 & 107 & 107.1 & -0.100000000000001 \tabularnewline
57 & 99 & 107.1 & -8.1 \tabularnewline
58 & 103 & 107.1 & -4.1 \tabularnewline
59 & 131 & 107.1 & 23.9 \tabularnewline
60 & 137 & 107.1 & 29.9 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57804&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]161[/C][C]125.725000000000[/C][C]35.2750000000002[/C][/ROW]
[ROW][C]2[/C][C]149[/C][C]125.725[/C][C]23.275[/C][/ROW]
[ROW][C]3[/C][C]139[/C][C]125.725[/C][C]13.275[/C][/ROW]
[ROW][C]4[/C][C]135[/C][C]125.725[/C][C]9.275[/C][/ROW]
[ROW][C]5[/C][C]130[/C][C]125.725[/C][C]4.27499999999999[/C][/ROW]
[ROW][C]6[/C][C]127[/C][C]125.725[/C][C]1.27499999999999[/C][/ROW]
[ROW][C]7[/C][C]122[/C][C]125.725[/C][C]-3.72500000000001[/C][/ROW]
[ROW][C]8[/C][C]117[/C][C]125.725[/C][C]-8.72500000000001[/C][/ROW]
[ROW][C]9[/C][C]112[/C][C]125.725[/C][C]-13.725[/C][/ROW]
[ROW][C]10[/C][C]113[/C][C]125.725[/C][C]-12.725[/C][/ROW]
[ROW][C]11[/C][C]149[/C][C]125.725[/C][C]23.275[/C][/ROW]
[ROW][C]12[/C][C]157[/C][C]125.725[/C][C]31.275[/C][/ROW]
[ROW][C]13[/C][C]157[/C][C]125.725[/C][C]31.275[/C][/ROW]
[ROW][C]14[/C][C]147[/C][C]125.725[/C][C]21.275[/C][/ROW]
[ROW][C]15[/C][C]137[/C][C]125.725[/C][C]11.275[/C][/ROW]
[ROW][C]16[/C][C]132[/C][C]125.725[/C][C]6.27499999999999[/C][/ROW]
[ROW][C]17[/C][C]125[/C][C]125.725[/C][C]-0.725000000000009[/C][/ROW]
[ROW][C]18[/C][C]123[/C][C]125.725[/C][C]-2.72500000000001[/C][/ROW]
[ROW][C]19[/C][C]117[/C][C]125.725[/C][C]-8.72500000000001[/C][/ROW]
[ROW][C]20[/C][C]114[/C][C]125.725[/C][C]-11.725[/C][/ROW]
[ROW][C]21[/C][C]111[/C][C]125.725[/C][C]-14.725[/C][/ROW]
[ROW][C]22[/C][C]112[/C][C]125.725[/C][C]-13.725[/C][/ROW]
[ROW][C]23[/C][C]144[/C][C]125.725[/C][C]18.275[/C][/ROW]
[ROW][C]24[/C][C]150[/C][C]125.725[/C][C]24.275[/C][/ROW]
[ROW][C]25[/C][C]149[/C][C]125.725[/C][C]23.275[/C][/ROW]
[ROW][C]26[/C][C]134[/C][C]125.725[/C][C]8.27499999999999[/C][/ROW]
[ROW][C]27[/C][C]123[/C][C]125.725[/C][C]-2.72500000000001[/C][/ROW]
[ROW][C]28[/C][C]116[/C][C]125.725[/C][C]-9.725[/C][/ROW]
[ROW][C]29[/C][C]117[/C][C]125.725[/C][C]-8.72500000000001[/C][/ROW]
[ROW][C]30[/C][C]111[/C][C]125.725[/C][C]-14.725[/C][/ROW]
[ROW][C]31[/C][C]105[/C][C]125.725[/C][C]-20.725[/C][/ROW]
[ROW][C]32[/C][C]102[/C][C]125.725[/C][C]-23.725[/C][/ROW]
[ROW][C]33[/C][C]95[/C][C]125.725[/C][C]-30.725[/C][/ROW]
[ROW][C]34[/C][C]93[/C][C]125.725[/C][C]-32.725[/C][/ROW]
[ROW][C]35[/C][C]124[/C][C]125.725[/C][C]-1.72500000000001[/C][/ROW]
[ROW][C]36[/C][C]130[/C][C]125.725[/C][C]4.27499999999999[/C][/ROW]
[ROW][C]37[/C][C]124[/C][C]125.725[/C][C]-1.72500000000001[/C][/ROW]
[ROW][C]38[/C][C]115[/C][C]125.725[/C][C]-10.725[/C][/ROW]
[ROW][C]39[/C][C]106[/C][C]125.725[/C][C]-19.725[/C][/ROW]
[ROW][C]40[/C][C]105[/C][C]125.725[/C][C]-20.725[/C][/ROW]
[ROW][C]41[/C][C]105[/C][C]107.1[/C][C]-2.1[/C][/ROW]
[ROW][C]42[/C][C]101[/C][C]107.1[/C][C]-6.1[/C][/ROW]
[ROW][C]43[/C][C]95[/C][C]107.1[/C][C]-12.1[/C][/ROW]
[ROW][C]44[/C][C]93[/C][C]107.1[/C][C]-14.1[/C][/ROW]
[ROW][C]45[/C][C]84[/C][C]107.1[/C][C]-23.1[/C][/ROW]
[ROW][C]46[/C][C]87[/C][C]107.1[/C][C]-20.1[/C][/ROW]
[ROW][C]47[/C][C]116[/C][C]107.1[/C][C]8.9[/C][/ROW]
[ROW][C]48[/C][C]120[/C][C]107.1[/C][C]12.9[/C][/ROW]
[ROW][C]49[/C][C]117[/C][C]107.1[/C][C]9.9[/C][/ROW]
[ROW][C]50[/C][C]109[/C][C]107.1[/C][C]1.9[/C][/ROW]
[ROW][C]51[/C][C]105[/C][C]107.1[/C][C]-2.1[/C][/ROW]
[ROW][C]52[/C][C]107[/C][C]107.1[/C][C]-0.100000000000001[/C][/ROW]
[ROW][C]53[/C][C]109[/C][C]107.1[/C][C]1.9[/C][/ROW]
[ROW][C]54[/C][C]109[/C][C]107.1[/C][C]1.9[/C][/ROW]
[ROW][C]55[/C][C]108[/C][C]107.1[/C][C]0.899999999999999[/C][/ROW]
[ROW][C]56[/C][C]107[/C][C]107.1[/C][C]-0.100000000000001[/C][/ROW]
[ROW][C]57[/C][C]99[/C][C]107.1[/C][C]-8.1[/C][/ROW]
[ROW][C]58[/C][C]103[/C][C]107.1[/C][C]-4.1[/C][/ROW]
[ROW][C]59[/C][C]131[/C][C]107.1[/C][C]23.9[/C][/ROW]
[ROW][C]60[/C][C]137[/C][C]107.1[/C][C]29.9[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57804&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57804&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
1161125.72500000000035.2750000000002
2149125.72523.275
3139125.72513.275
4135125.7259.275
5130125.7254.27499999999999
6127125.7251.27499999999999
7122125.725-3.72500000000001
8117125.725-8.72500000000001
9112125.725-13.725
10113125.725-12.725
11149125.72523.275
12157125.72531.275
13157125.72531.275
14147125.72521.275
15137125.72511.275
16132125.7256.27499999999999
17125125.725-0.725000000000009
18123125.725-2.72500000000001
19117125.725-8.72500000000001
20114125.725-11.725
21111125.725-14.725
22112125.725-13.725
23144125.72518.275
24150125.72524.275
25149125.72523.275
26134125.7258.27499999999999
27123125.725-2.72500000000001
28116125.725-9.725
29117125.725-8.72500000000001
30111125.725-14.725
31105125.725-20.725
32102125.725-23.725
3395125.725-30.725
3493125.725-32.725
35124125.725-1.72500000000001
36130125.7254.27499999999999
37124125.725-1.72500000000001
38115125.725-10.725
39106125.725-19.725
40105125.725-20.725
41105107.1-2.1
42101107.1-6.1
4395107.1-12.1
4493107.1-14.1
4584107.1-23.1
4687107.1-20.1
47116107.18.9
48120107.112.9
49117107.19.9
50109107.11.9
51105107.1-2.1
52107107.1-0.100000000000001
53109107.11.9
54109107.11.9
55108107.10.899999999999999
56107107.1-0.100000000000001
5799107.1-8.1
58103107.1-4.1
59131107.123.9
60137107.129.9







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.5118295292279150.976340941544170.488170470772085
60.4762965878169870.9525931756339740.523703412183013
70.4837293373835040.9674586747670080.516270662616496
80.524179758931450.951640482137100.47582024106855
90.5916215478285970.8167569043428050.408378452171403
100.6000544910288260.7998910179423480.399945508971174
110.6279073165795670.7441853668408660.372092683420433
120.7528690289308550.4942619421382910.247130971069146
130.8460372740205050.3079254519589890.153962725979495
140.8491484307247340.3017031385505310.150851569275266
150.813146364112510.3737072717749800.186853635887490
160.7675251953006590.4649496093986820.232474804699341
170.7272125944171430.5455748111657140.272787405582857
180.6890356116708080.6219287766583840.310964388329192
190.6791383416941060.6417233166117890.320861658305894
200.6826821803604370.6346356392791270.317317819639563
210.7003686799721180.5992626400557630.299631320027882
220.698882420387710.6022351592245780.301117579612289
230.7277701585819290.5444596828361420.272229841418071
240.8312117600535330.3375764798929350.168788239946467
250.91935421076240.1612915784751990.0806457892375993
260.9253272118850330.1493455762299330.0746727881149666
270.9135177889205550.1729644221588900.0864822110794448
280.9021167817031820.1957664365936360.0978832182968181
290.887177286483090.2256454270338220.112822713516911
300.8790664130644490.2418671738711020.120933586935551
310.8873037901324030.2253924197351940.112696209867597
320.9027649701769720.1944700596460560.0972350298230282
330.94373996849350.1125200630130010.0562600315065003
340.9761995308114240.04760093837715120.0238004691885756
350.965373542419300.06925291516140190.0346264575807009
360.962346254266790.0753074914664210.0376537457332105
370.9552874366773540.08942512664529170.0447125633226458
380.9410448172801560.1179103654396880.058955182719844
390.9248265647535930.1503468704928130.0751734352464067
400.9048021643895850.1903956712208290.0951978356104145
410.8636879576634980.2726240846730030.136312042336502
420.818086361955520.3638272760889590.181913638044480
430.79136825037310.4172634992537990.208631749626900
440.7807395603603530.4385208792792930.219260439639647
450.8733242115206270.2533515769587460.126675788479373
460.940476658643130.1190466827137400.0595233413568698
470.9147117207908660.1705765584182670.0852882792091337
480.8917876472382610.2164247055234770.108212352761739
490.8469916441292370.3060167117415260.153008355870763
500.7716110825888710.4567778348222580.228388917411129
510.6899234299472520.6201531401054960.310076570052748
520.5841356383699370.8317287232601250.415864361630063
530.4579815641702220.9159631283404440.542018435829778
540.3283444632214220.6566889264428440.671655536778578
550.2124514915747780.4249029831495570.787548508425222

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.511829529227915 & 0.97634094154417 & 0.488170470772085 \tabularnewline
6 & 0.476296587816987 & 0.952593175633974 & 0.523703412183013 \tabularnewline
7 & 0.483729337383504 & 0.967458674767008 & 0.516270662616496 \tabularnewline
8 & 0.52417975893145 & 0.95164048213710 & 0.47582024106855 \tabularnewline
9 & 0.591621547828597 & 0.816756904342805 & 0.408378452171403 \tabularnewline
10 & 0.600054491028826 & 0.799891017942348 & 0.399945508971174 \tabularnewline
11 & 0.627907316579567 & 0.744185366840866 & 0.372092683420433 \tabularnewline
12 & 0.752869028930855 & 0.494261942138291 & 0.247130971069146 \tabularnewline
13 & 0.846037274020505 & 0.307925451958989 & 0.153962725979495 \tabularnewline
14 & 0.849148430724734 & 0.301703138550531 & 0.150851569275266 \tabularnewline
15 & 0.81314636411251 & 0.373707271774980 & 0.186853635887490 \tabularnewline
16 & 0.767525195300659 & 0.464949609398682 & 0.232474804699341 \tabularnewline
17 & 0.727212594417143 & 0.545574811165714 & 0.272787405582857 \tabularnewline
18 & 0.689035611670808 & 0.621928776658384 & 0.310964388329192 \tabularnewline
19 & 0.679138341694106 & 0.641723316611789 & 0.320861658305894 \tabularnewline
20 & 0.682682180360437 & 0.634635639279127 & 0.317317819639563 \tabularnewline
21 & 0.700368679972118 & 0.599262640055763 & 0.299631320027882 \tabularnewline
22 & 0.69888242038771 & 0.602235159224578 & 0.301117579612289 \tabularnewline
23 & 0.727770158581929 & 0.544459682836142 & 0.272229841418071 \tabularnewline
24 & 0.831211760053533 & 0.337576479892935 & 0.168788239946467 \tabularnewline
25 & 0.9193542107624 & 0.161291578475199 & 0.0806457892375993 \tabularnewline
26 & 0.925327211885033 & 0.149345576229933 & 0.0746727881149666 \tabularnewline
27 & 0.913517788920555 & 0.172964422158890 & 0.0864822110794448 \tabularnewline
28 & 0.902116781703182 & 0.195766436593636 & 0.0978832182968181 \tabularnewline
29 & 0.88717728648309 & 0.225645427033822 & 0.112822713516911 \tabularnewline
30 & 0.879066413064449 & 0.241867173871102 & 0.120933586935551 \tabularnewline
31 & 0.887303790132403 & 0.225392419735194 & 0.112696209867597 \tabularnewline
32 & 0.902764970176972 & 0.194470059646056 & 0.0972350298230282 \tabularnewline
33 & 0.9437399684935 & 0.112520063013001 & 0.0562600315065003 \tabularnewline
34 & 0.976199530811424 & 0.0476009383771512 & 0.0238004691885756 \tabularnewline
35 & 0.96537354241930 & 0.0692529151614019 & 0.0346264575807009 \tabularnewline
36 & 0.96234625426679 & 0.075307491466421 & 0.0376537457332105 \tabularnewline
37 & 0.955287436677354 & 0.0894251266452917 & 0.0447125633226458 \tabularnewline
38 & 0.941044817280156 & 0.117910365439688 & 0.058955182719844 \tabularnewline
39 & 0.924826564753593 & 0.150346870492813 & 0.0751734352464067 \tabularnewline
40 & 0.904802164389585 & 0.190395671220829 & 0.0951978356104145 \tabularnewline
41 & 0.863687957663498 & 0.272624084673003 & 0.136312042336502 \tabularnewline
42 & 0.81808636195552 & 0.363827276088959 & 0.181913638044480 \tabularnewline
43 & 0.7913682503731 & 0.417263499253799 & 0.208631749626900 \tabularnewline
44 & 0.780739560360353 & 0.438520879279293 & 0.219260439639647 \tabularnewline
45 & 0.873324211520627 & 0.253351576958746 & 0.126675788479373 \tabularnewline
46 & 0.94047665864313 & 0.119046682713740 & 0.0595233413568698 \tabularnewline
47 & 0.914711720790866 & 0.170576558418267 & 0.0852882792091337 \tabularnewline
48 & 0.891787647238261 & 0.216424705523477 & 0.108212352761739 \tabularnewline
49 & 0.846991644129237 & 0.306016711741526 & 0.153008355870763 \tabularnewline
50 & 0.771611082588871 & 0.456777834822258 & 0.228388917411129 \tabularnewline
51 & 0.689923429947252 & 0.620153140105496 & 0.310076570052748 \tabularnewline
52 & 0.584135638369937 & 0.831728723260125 & 0.415864361630063 \tabularnewline
53 & 0.457981564170222 & 0.915963128340444 & 0.542018435829778 \tabularnewline
54 & 0.328344463221422 & 0.656688926442844 & 0.671655536778578 \tabularnewline
55 & 0.212451491574778 & 0.424902983149557 & 0.787548508425222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57804&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.511829529227915[/C][C]0.97634094154417[/C][C]0.488170470772085[/C][/ROW]
[ROW][C]6[/C][C]0.476296587816987[/C][C]0.952593175633974[/C][C]0.523703412183013[/C][/ROW]
[ROW][C]7[/C][C]0.483729337383504[/C][C]0.967458674767008[/C][C]0.516270662616496[/C][/ROW]
[ROW][C]8[/C][C]0.52417975893145[/C][C]0.95164048213710[/C][C]0.47582024106855[/C][/ROW]
[ROW][C]9[/C][C]0.591621547828597[/C][C]0.816756904342805[/C][C]0.408378452171403[/C][/ROW]
[ROW][C]10[/C][C]0.600054491028826[/C][C]0.799891017942348[/C][C]0.399945508971174[/C][/ROW]
[ROW][C]11[/C][C]0.627907316579567[/C][C]0.744185366840866[/C][C]0.372092683420433[/C][/ROW]
[ROW][C]12[/C][C]0.752869028930855[/C][C]0.494261942138291[/C][C]0.247130971069146[/C][/ROW]
[ROW][C]13[/C][C]0.846037274020505[/C][C]0.307925451958989[/C][C]0.153962725979495[/C][/ROW]
[ROW][C]14[/C][C]0.849148430724734[/C][C]0.301703138550531[/C][C]0.150851569275266[/C][/ROW]
[ROW][C]15[/C][C]0.81314636411251[/C][C]0.373707271774980[/C][C]0.186853635887490[/C][/ROW]
[ROW][C]16[/C][C]0.767525195300659[/C][C]0.464949609398682[/C][C]0.232474804699341[/C][/ROW]
[ROW][C]17[/C][C]0.727212594417143[/C][C]0.545574811165714[/C][C]0.272787405582857[/C][/ROW]
[ROW][C]18[/C][C]0.689035611670808[/C][C]0.621928776658384[/C][C]0.310964388329192[/C][/ROW]
[ROW][C]19[/C][C]0.679138341694106[/C][C]0.641723316611789[/C][C]0.320861658305894[/C][/ROW]
[ROW][C]20[/C][C]0.682682180360437[/C][C]0.634635639279127[/C][C]0.317317819639563[/C][/ROW]
[ROW][C]21[/C][C]0.700368679972118[/C][C]0.599262640055763[/C][C]0.299631320027882[/C][/ROW]
[ROW][C]22[/C][C]0.69888242038771[/C][C]0.602235159224578[/C][C]0.301117579612289[/C][/ROW]
[ROW][C]23[/C][C]0.727770158581929[/C][C]0.544459682836142[/C][C]0.272229841418071[/C][/ROW]
[ROW][C]24[/C][C]0.831211760053533[/C][C]0.337576479892935[/C][C]0.168788239946467[/C][/ROW]
[ROW][C]25[/C][C]0.9193542107624[/C][C]0.161291578475199[/C][C]0.0806457892375993[/C][/ROW]
[ROW][C]26[/C][C]0.925327211885033[/C][C]0.149345576229933[/C][C]0.0746727881149666[/C][/ROW]
[ROW][C]27[/C][C]0.913517788920555[/C][C]0.172964422158890[/C][C]0.0864822110794448[/C][/ROW]
[ROW][C]28[/C][C]0.902116781703182[/C][C]0.195766436593636[/C][C]0.0978832182968181[/C][/ROW]
[ROW][C]29[/C][C]0.88717728648309[/C][C]0.225645427033822[/C][C]0.112822713516911[/C][/ROW]
[ROW][C]30[/C][C]0.879066413064449[/C][C]0.241867173871102[/C][C]0.120933586935551[/C][/ROW]
[ROW][C]31[/C][C]0.887303790132403[/C][C]0.225392419735194[/C][C]0.112696209867597[/C][/ROW]
[ROW][C]32[/C][C]0.902764970176972[/C][C]0.194470059646056[/C][C]0.0972350298230282[/C][/ROW]
[ROW][C]33[/C][C]0.9437399684935[/C][C]0.112520063013001[/C][C]0.0562600315065003[/C][/ROW]
[ROW][C]34[/C][C]0.976199530811424[/C][C]0.0476009383771512[/C][C]0.0238004691885756[/C][/ROW]
[ROW][C]35[/C][C]0.96537354241930[/C][C]0.0692529151614019[/C][C]0.0346264575807009[/C][/ROW]
[ROW][C]36[/C][C]0.96234625426679[/C][C]0.075307491466421[/C][C]0.0376537457332105[/C][/ROW]
[ROW][C]37[/C][C]0.955287436677354[/C][C]0.0894251266452917[/C][C]0.0447125633226458[/C][/ROW]
[ROW][C]38[/C][C]0.941044817280156[/C][C]0.117910365439688[/C][C]0.058955182719844[/C][/ROW]
[ROW][C]39[/C][C]0.924826564753593[/C][C]0.150346870492813[/C][C]0.0751734352464067[/C][/ROW]
[ROW][C]40[/C][C]0.904802164389585[/C][C]0.190395671220829[/C][C]0.0951978356104145[/C][/ROW]
[ROW][C]41[/C][C]0.863687957663498[/C][C]0.272624084673003[/C][C]0.136312042336502[/C][/ROW]
[ROW][C]42[/C][C]0.81808636195552[/C][C]0.363827276088959[/C][C]0.181913638044480[/C][/ROW]
[ROW][C]43[/C][C]0.7913682503731[/C][C]0.417263499253799[/C][C]0.208631749626900[/C][/ROW]
[ROW][C]44[/C][C]0.780739560360353[/C][C]0.438520879279293[/C][C]0.219260439639647[/C][/ROW]
[ROW][C]45[/C][C]0.873324211520627[/C][C]0.253351576958746[/C][C]0.126675788479373[/C][/ROW]
[ROW][C]46[/C][C]0.94047665864313[/C][C]0.119046682713740[/C][C]0.0595233413568698[/C][/ROW]
[ROW][C]47[/C][C]0.914711720790866[/C][C]0.170576558418267[/C][C]0.0852882792091337[/C][/ROW]
[ROW][C]48[/C][C]0.891787647238261[/C][C]0.216424705523477[/C][C]0.108212352761739[/C][/ROW]
[ROW][C]49[/C][C]0.846991644129237[/C][C]0.306016711741526[/C][C]0.153008355870763[/C][/ROW]
[ROW][C]50[/C][C]0.771611082588871[/C][C]0.456777834822258[/C][C]0.228388917411129[/C][/ROW]
[ROW][C]51[/C][C]0.689923429947252[/C][C]0.620153140105496[/C][C]0.310076570052748[/C][/ROW]
[ROW][C]52[/C][C]0.584135638369937[/C][C]0.831728723260125[/C][C]0.415864361630063[/C][/ROW]
[ROW][C]53[/C][C]0.457981564170222[/C][C]0.915963128340444[/C][C]0.542018435829778[/C][/ROW]
[ROW][C]54[/C][C]0.328344463221422[/C][C]0.656688926442844[/C][C]0.671655536778578[/C][/ROW]
[ROW][C]55[/C][C]0.212451491574778[/C][C]0.424902983149557[/C][C]0.787548508425222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57804&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57804&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.5118295292279150.976340941544170.488170470772085
60.4762965878169870.9525931756339740.523703412183013
70.4837293373835040.9674586747670080.516270662616496
80.524179758931450.951640482137100.47582024106855
90.5916215478285970.8167569043428050.408378452171403
100.6000544910288260.7998910179423480.399945508971174
110.6279073165795670.7441853668408660.372092683420433
120.7528690289308550.4942619421382910.247130971069146
130.8460372740205050.3079254519589890.153962725979495
140.8491484307247340.3017031385505310.150851569275266
150.813146364112510.3737072717749800.186853635887490
160.7675251953006590.4649496093986820.232474804699341
170.7272125944171430.5455748111657140.272787405582857
180.6890356116708080.6219287766583840.310964388329192
190.6791383416941060.6417233166117890.320861658305894
200.6826821803604370.6346356392791270.317317819639563
210.7003686799721180.5992626400557630.299631320027882
220.698882420387710.6022351592245780.301117579612289
230.7277701585819290.5444596828361420.272229841418071
240.8312117600535330.3375764798929350.168788239946467
250.91935421076240.1612915784751990.0806457892375993
260.9253272118850330.1493455762299330.0746727881149666
270.9135177889205550.1729644221588900.0864822110794448
280.9021167817031820.1957664365936360.0978832182968181
290.887177286483090.2256454270338220.112822713516911
300.8790664130644490.2418671738711020.120933586935551
310.8873037901324030.2253924197351940.112696209867597
320.9027649701769720.1944700596460560.0972350298230282
330.94373996849350.1125200630130010.0562600315065003
340.9761995308114240.04760093837715120.0238004691885756
350.965373542419300.06925291516140190.0346264575807009
360.962346254266790.0753074914664210.0376537457332105
370.9552874366773540.08942512664529170.0447125633226458
380.9410448172801560.1179103654396880.058955182719844
390.9248265647535930.1503468704928130.0751734352464067
400.9048021643895850.1903956712208290.0951978356104145
410.8636879576634980.2726240846730030.136312042336502
420.818086361955520.3638272760889590.181913638044480
430.79136825037310.4172634992537990.208631749626900
440.7807395603603530.4385208792792930.219260439639647
450.8733242115206270.2533515769587460.126675788479373
460.940476658643130.1190466827137400.0595233413568698
470.9147117207908660.1705765584182670.0852882792091337
480.8917876472382610.2164247055234770.108212352761739
490.8469916441292370.3060167117415260.153008355870763
500.7716110825888710.4567778348222580.228388917411129
510.6899234299472520.6201531401054960.310076570052748
520.5841356383699370.8317287232601250.415864361630063
530.4579815641702220.9159631283404440.542018435829778
540.3283444632214220.6566889264428440.671655536778578
550.2124514915747780.4249029831495570.787548508425222







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0196078431372549OK
10% type I error level40.0784313725490196OK

\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 & 1 & 0.0196078431372549 & OK \tabularnewline
10% type I error level & 4 & 0.0784313725490196 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57804&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]1[/C][C]0.0196078431372549[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]4[/C][C]0.0784313725490196[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57804&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57804&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 level10.0196078431372549OK
10% type I error level40.0784313725490196OK



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