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:11:14 -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/t12586471341bo6ws0mn443swp.htm/, Retrieved Sat, 20 Apr 2024 12:28:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57801, Retrieved Sat, 20 Apr 2024 12:28:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact138
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:11:14] [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	0
101	0
95	0
93	0
84	0
87	0
116	0
120	0
117	0
109	0
105	0
107	0
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 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=57801&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=57801&T=0

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

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)120.5384615384622.54897647.28900
X-7.663461538461556.980659-1.09780.2768230.138411

\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) & 120.538461538462 & 2.548976 & 47.289 & 0 & 0 \tabularnewline
X & -7.66346153846155 & 6.980659 & -1.0978 & 0.276823 & 0.138411 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57801&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]120.538461538462[/C][C]2.548976[/C][C]47.289[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-7.66346153846155[/C][C]6.980659[/C][C]-1.0978[/C][C]0.276823[/C][C]0.138411[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57801&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57801&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)120.5384615384622.54897647.28900
X-7.663461538461556.980659-1.09780.2768230.138411







Multiple Linear Regression - Regression Statistics
Multiple R0.142675247853586
R-squared0.0203562263500823
Adjusted R-squared0.00346581645956656
F-TEST (value)1.20519433702509
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.276822685864108
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18.3809299964163
Sum Squared Residuals19595.7980769231

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.142675247853586 \tabularnewline
R-squared & 0.0203562263500823 \tabularnewline
Adjusted R-squared & 0.00346581645956656 \tabularnewline
F-TEST (value) & 1.20519433702509 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.276822685864108 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 18.3809299964163 \tabularnewline
Sum Squared Residuals & 19595.7980769231 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57801&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.142675247853586[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0203562263500823[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.00346581645956656[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.20519433702509[/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.276822685864108[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]18.3809299964163[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]19595.7980769231[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57801&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57801&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.142675247853586
R-squared0.0203562263500823
Adjusted R-squared0.00346581645956656
F-TEST (value)1.20519433702509
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.276822685864108
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18.3809299964163
Sum Squared Residuals19595.7980769231







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1161120.53846153846140.4615384615387
2149120.53846153846228.4615384615385
3139120.53846153846218.4615384615385
4135120.53846153846214.4615384615385
5130120.5384615384629.46153846153845
6127120.5384615384626.46153846153845
7122120.5384615384621.46153846153845
8117120.538461538462-3.53846153846155
9112120.538461538462-8.53846153846155
10113120.538461538462-7.53846153846155
11149120.53846153846228.4615384615385
12157120.53846153846236.4615384615385
13157120.53846153846236.4615384615385
14147120.53846153846226.4615384615385
15137120.53846153846216.4615384615385
16132120.53846153846211.4615384615385
17125120.5384615384624.46153846153845
18123120.5384615384622.46153846153845
19117120.538461538462-3.53846153846155
20114120.538461538462-6.53846153846155
21111120.538461538462-9.53846153846155
22112120.538461538462-8.53846153846155
23144120.53846153846223.4615384615385
24150120.53846153846229.4615384615385
25149120.53846153846228.4615384615385
26134120.53846153846213.4615384615385
27123120.5384615384622.46153846153845
28116120.538461538462-4.53846153846155
29117120.538461538462-3.53846153846155
30111120.538461538462-9.53846153846155
31105120.538461538462-15.5384615384615
32102120.538461538462-18.5384615384615
3395120.538461538462-25.5384615384615
3493120.538461538462-27.5384615384615
35124120.5384615384623.46153846153845
36130120.5384615384629.46153846153845
37124120.5384615384623.46153846153845
38115120.538461538462-5.53846153846155
39106120.538461538462-14.5384615384615
40105120.538461538462-15.5384615384615
41105120.538461538462-15.5384615384615
42101120.538461538462-19.5384615384615
4395120.538461538462-25.5384615384615
4493120.538461538462-27.5384615384615
4584120.538461538462-36.5384615384615
4687120.538461538462-33.5384615384615
47116120.538461538462-4.53846153846155
48120120.538461538462-0.538461538461546
49117120.538461538462-3.53846153846155
50109120.538461538462-11.5384615384615
51105120.538461538462-15.5384615384615
52107120.538461538462-13.5384615384615
53109112.875-3.875
54109112.875-3.875
55108112.875-4.875
56107112.875-5.875
5799112.875-13.875
58103112.875-9.875
59131112.87518.125
60137112.87524.125

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 161 & 120.538461538461 & 40.4615384615387 \tabularnewline
2 & 149 & 120.538461538462 & 28.4615384615385 \tabularnewline
3 & 139 & 120.538461538462 & 18.4615384615385 \tabularnewline
4 & 135 & 120.538461538462 & 14.4615384615385 \tabularnewline
5 & 130 & 120.538461538462 & 9.46153846153845 \tabularnewline
6 & 127 & 120.538461538462 & 6.46153846153845 \tabularnewline
7 & 122 & 120.538461538462 & 1.46153846153845 \tabularnewline
8 & 117 & 120.538461538462 & -3.53846153846155 \tabularnewline
9 & 112 & 120.538461538462 & -8.53846153846155 \tabularnewline
10 & 113 & 120.538461538462 & -7.53846153846155 \tabularnewline
11 & 149 & 120.538461538462 & 28.4615384615385 \tabularnewline
12 & 157 & 120.538461538462 & 36.4615384615385 \tabularnewline
13 & 157 & 120.538461538462 & 36.4615384615385 \tabularnewline
14 & 147 & 120.538461538462 & 26.4615384615385 \tabularnewline
15 & 137 & 120.538461538462 & 16.4615384615385 \tabularnewline
16 & 132 & 120.538461538462 & 11.4615384615385 \tabularnewline
17 & 125 & 120.538461538462 & 4.46153846153845 \tabularnewline
18 & 123 & 120.538461538462 & 2.46153846153845 \tabularnewline
19 & 117 & 120.538461538462 & -3.53846153846155 \tabularnewline
20 & 114 & 120.538461538462 & -6.53846153846155 \tabularnewline
21 & 111 & 120.538461538462 & -9.53846153846155 \tabularnewline
22 & 112 & 120.538461538462 & -8.53846153846155 \tabularnewline
23 & 144 & 120.538461538462 & 23.4615384615385 \tabularnewline
24 & 150 & 120.538461538462 & 29.4615384615385 \tabularnewline
25 & 149 & 120.538461538462 & 28.4615384615385 \tabularnewline
26 & 134 & 120.538461538462 & 13.4615384615385 \tabularnewline
27 & 123 & 120.538461538462 & 2.46153846153845 \tabularnewline
28 & 116 & 120.538461538462 & -4.53846153846155 \tabularnewline
29 & 117 & 120.538461538462 & -3.53846153846155 \tabularnewline
30 & 111 & 120.538461538462 & -9.53846153846155 \tabularnewline
31 & 105 & 120.538461538462 & -15.5384615384615 \tabularnewline
32 & 102 & 120.538461538462 & -18.5384615384615 \tabularnewline
33 & 95 & 120.538461538462 & -25.5384615384615 \tabularnewline
34 & 93 & 120.538461538462 & -27.5384615384615 \tabularnewline
35 & 124 & 120.538461538462 & 3.46153846153845 \tabularnewline
36 & 130 & 120.538461538462 & 9.46153846153845 \tabularnewline
37 & 124 & 120.538461538462 & 3.46153846153845 \tabularnewline
38 & 115 & 120.538461538462 & -5.53846153846155 \tabularnewline
39 & 106 & 120.538461538462 & -14.5384615384615 \tabularnewline
40 & 105 & 120.538461538462 & -15.5384615384615 \tabularnewline
41 & 105 & 120.538461538462 & -15.5384615384615 \tabularnewline
42 & 101 & 120.538461538462 & -19.5384615384615 \tabularnewline
43 & 95 & 120.538461538462 & -25.5384615384615 \tabularnewline
44 & 93 & 120.538461538462 & -27.5384615384615 \tabularnewline
45 & 84 & 120.538461538462 & -36.5384615384615 \tabularnewline
46 & 87 & 120.538461538462 & -33.5384615384615 \tabularnewline
47 & 116 & 120.538461538462 & -4.53846153846155 \tabularnewline
48 & 120 & 120.538461538462 & -0.538461538461546 \tabularnewline
49 & 117 & 120.538461538462 & -3.53846153846155 \tabularnewline
50 & 109 & 120.538461538462 & -11.5384615384615 \tabularnewline
51 & 105 & 120.538461538462 & -15.5384615384615 \tabularnewline
52 & 107 & 120.538461538462 & -13.5384615384615 \tabularnewline
53 & 109 & 112.875 & -3.875 \tabularnewline
54 & 109 & 112.875 & -3.875 \tabularnewline
55 & 108 & 112.875 & -4.875 \tabularnewline
56 & 107 & 112.875 & -5.875 \tabularnewline
57 & 99 & 112.875 & -13.875 \tabularnewline
58 & 103 & 112.875 & -9.875 \tabularnewline
59 & 131 & 112.875 & 18.125 \tabularnewline
60 & 137 & 112.875 & 24.125 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57801&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]120.538461538461[/C][C]40.4615384615387[/C][/ROW]
[ROW][C]2[/C][C]149[/C][C]120.538461538462[/C][C]28.4615384615385[/C][/ROW]
[ROW][C]3[/C][C]139[/C][C]120.538461538462[/C][C]18.4615384615385[/C][/ROW]
[ROW][C]4[/C][C]135[/C][C]120.538461538462[/C][C]14.4615384615385[/C][/ROW]
[ROW][C]5[/C][C]130[/C][C]120.538461538462[/C][C]9.46153846153845[/C][/ROW]
[ROW][C]6[/C][C]127[/C][C]120.538461538462[/C][C]6.46153846153845[/C][/ROW]
[ROW][C]7[/C][C]122[/C][C]120.538461538462[/C][C]1.46153846153845[/C][/ROW]
[ROW][C]8[/C][C]117[/C][C]120.538461538462[/C][C]-3.53846153846155[/C][/ROW]
[ROW][C]9[/C][C]112[/C][C]120.538461538462[/C][C]-8.53846153846155[/C][/ROW]
[ROW][C]10[/C][C]113[/C][C]120.538461538462[/C][C]-7.53846153846155[/C][/ROW]
[ROW][C]11[/C][C]149[/C][C]120.538461538462[/C][C]28.4615384615385[/C][/ROW]
[ROW][C]12[/C][C]157[/C][C]120.538461538462[/C][C]36.4615384615385[/C][/ROW]
[ROW][C]13[/C][C]157[/C][C]120.538461538462[/C][C]36.4615384615385[/C][/ROW]
[ROW][C]14[/C][C]147[/C][C]120.538461538462[/C][C]26.4615384615385[/C][/ROW]
[ROW][C]15[/C][C]137[/C][C]120.538461538462[/C][C]16.4615384615385[/C][/ROW]
[ROW][C]16[/C][C]132[/C][C]120.538461538462[/C][C]11.4615384615385[/C][/ROW]
[ROW][C]17[/C][C]125[/C][C]120.538461538462[/C][C]4.46153846153845[/C][/ROW]
[ROW][C]18[/C][C]123[/C][C]120.538461538462[/C][C]2.46153846153845[/C][/ROW]
[ROW][C]19[/C][C]117[/C][C]120.538461538462[/C][C]-3.53846153846155[/C][/ROW]
[ROW][C]20[/C][C]114[/C][C]120.538461538462[/C][C]-6.53846153846155[/C][/ROW]
[ROW][C]21[/C][C]111[/C][C]120.538461538462[/C][C]-9.53846153846155[/C][/ROW]
[ROW][C]22[/C][C]112[/C][C]120.538461538462[/C][C]-8.53846153846155[/C][/ROW]
[ROW][C]23[/C][C]144[/C][C]120.538461538462[/C][C]23.4615384615385[/C][/ROW]
[ROW][C]24[/C][C]150[/C][C]120.538461538462[/C][C]29.4615384615385[/C][/ROW]
[ROW][C]25[/C][C]149[/C][C]120.538461538462[/C][C]28.4615384615385[/C][/ROW]
[ROW][C]26[/C][C]134[/C][C]120.538461538462[/C][C]13.4615384615385[/C][/ROW]
[ROW][C]27[/C][C]123[/C][C]120.538461538462[/C][C]2.46153846153845[/C][/ROW]
[ROW][C]28[/C][C]116[/C][C]120.538461538462[/C][C]-4.53846153846155[/C][/ROW]
[ROW][C]29[/C][C]117[/C][C]120.538461538462[/C][C]-3.53846153846155[/C][/ROW]
[ROW][C]30[/C][C]111[/C][C]120.538461538462[/C][C]-9.53846153846155[/C][/ROW]
[ROW][C]31[/C][C]105[/C][C]120.538461538462[/C][C]-15.5384615384615[/C][/ROW]
[ROW][C]32[/C][C]102[/C][C]120.538461538462[/C][C]-18.5384615384615[/C][/ROW]
[ROW][C]33[/C][C]95[/C][C]120.538461538462[/C][C]-25.5384615384615[/C][/ROW]
[ROW][C]34[/C][C]93[/C][C]120.538461538462[/C][C]-27.5384615384615[/C][/ROW]
[ROW][C]35[/C][C]124[/C][C]120.538461538462[/C][C]3.46153846153845[/C][/ROW]
[ROW][C]36[/C][C]130[/C][C]120.538461538462[/C][C]9.46153846153845[/C][/ROW]
[ROW][C]37[/C][C]124[/C][C]120.538461538462[/C][C]3.46153846153845[/C][/ROW]
[ROW][C]38[/C][C]115[/C][C]120.538461538462[/C][C]-5.53846153846155[/C][/ROW]
[ROW][C]39[/C][C]106[/C][C]120.538461538462[/C][C]-14.5384615384615[/C][/ROW]
[ROW][C]40[/C][C]105[/C][C]120.538461538462[/C][C]-15.5384615384615[/C][/ROW]
[ROW][C]41[/C][C]105[/C][C]120.538461538462[/C][C]-15.5384615384615[/C][/ROW]
[ROW][C]42[/C][C]101[/C][C]120.538461538462[/C][C]-19.5384615384615[/C][/ROW]
[ROW][C]43[/C][C]95[/C][C]120.538461538462[/C][C]-25.5384615384615[/C][/ROW]
[ROW][C]44[/C][C]93[/C][C]120.538461538462[/C][C]-27.5384615384615[/C][/ROW]
[ROW][C]45[/C][C]84[/C][C]120.538461538462[/C][C]-36.5384615384615[/C][/ROW]
[ROW][C]46[/C][C]87[/C][C]120.538461538462[/C][C]-33.5384615384615[/C][/ROW]
[ROW][C]47[/C][C]116[/C][C]120.538461538462[/C][C]-4.53846153846155[/C][/ROW]
[ROW][C]48[/C][C]120[/C][C]120.538461538462[/C][C]-0.538461538461546[/C][/ROW]
[ROW][C]49[/C][C]117[/C][C]120.538461538462[/C][C]-3.53846153846155[/C][/ROW]
[ROW][C]50[/C][C]109[/C][C]120.538461538462[/C][C]-11.5384615384615[/C][/ROW]
[ROW][C]51[/C][C]105[/C][C]120.538461538462[/C][C]-15.5384615384615[/C][/ROW]
[ROW][C]52[/C][C]107[/C][C]120.538461538462[/C][C]-13.5384615384615[/C][/ROW]
[ROW][C]53[/C][C]109[/C][C]112.875[/C][C]-3.875[/C][/ROW]
[ROW][C]54[/C][C]109[/C][C]112.875[/C][C]-3.875[/C][/ROW]
[ROW][C]55[/C][C]108[/C][C]112.875[/C][C]-4.875[/C][/ROW]
[ROW][C]56[/C][C]107[/C][C]112.875[/C][C]-5.875[/C][/ROW]
[ROW][C]57[/C][C]99[/C][C]112.875[/C][C]-13.875[/C][/ROW]
[ROW][C]58[/C][C]103[/C][C]112.875[/C][C]-9.875[/C][/ROW]
[ROW][C]59[/C][C]131[/C][C]112.875[/C][C]18.125[/C][/ROW]
[ROW][C]60[/C][C]137[/C][C]112.875[/C][C]24.125[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57801&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57801&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
1161120.53846153846140.4615384615387
2149120.53846153846228.4615384615385
3139120.53846153846218.4615384615385
4135120.53846153846214.4615384615385
5130120.5384615384629.46153846153845
6127120.5384615384626.46153846153845
7122120.5384615384621.46153846153845
8117120.538461538462-3.53846153846155
9112120.538461538462-8.53846153846155
10113120.538461538462-7.53846153846155
11149120.53846153846228.4615384615385
12157120.53846153846236.4615384615385
13157120.53846153846236.4615384615385
14147120.53846153846226.4615384615385
15137120.53846153846216.4615384615385
16132120.53846153846211.4615384615385
17125120.5384615384624.46153846153845
18123120.5384615384622.46153846153845
19117120.538461538462-3.53846153846155
20114120.538461538462-6.53846153846155
21111120.538461538462-9.53846153846155
22112120.538461538462-8.53846153846155
23144120.53846153846223.4615384615385
24150120.53846153846229.4615384615385
25149120.53846153846228.4615384615385
26134120.53846153846213.4615384615385
27123120.5384615384622.46153846153845
28116120.538461538462-4.53846153846155
29117120.538461538462-3.53846153846155
30111120.538461538462-9.53846153846155
31105120.538461538462-15.5384615384615
32102120.538461538462-18.5384615384615
3395120.538461538462-25.5384615384615
3493120.538461538462-27.5384615384615
35124120.5384615384623.46153846153845
36130120.5384615384629.46153846153845
37124120.5384615384623.46153846153845
38115120.538461538462-5.53846153846155
39106120.538461538462-14.5384615384615
40105120.538461538462-15.5384615384615
41105120.538461538462-15.5384615384615
42101120.538461538462-19.5384615384615
4395120.538461538462-25.5384615384615
4493120.538461538462-27.5384615384615
4584120.538461538462-36.5384615384615
4687120.538461538462-33.5384615384615
47116120.538461538462-4.53846153846155
48120120.538461538462-0.538461538461546
49117120.538461538462-3.53846153846155
50109120.538461538462-11.5384615384615
51105120.538461538462-15.5384615384615
52107120.538461538462-13.5384615384615
53109112.875-3.875
54109112.875-3.875
55108112.875-4.875
56107112.875-5.875
5799112.875-13.875
58103112.875-9.875
59131112.87518.125
60137112.87524.125







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.4209369662679540.8418739325359080.579063033732046
60.3752784718134650.7505569436269290.624721528186535
70.3700909717681820.7401819435363640.629909028231818
80.3942407443118860.7884814886237710.605759255688114
90.4424741403000470.8849482806000950.557525859699953
100.4362083180245510.8724166360491030.563791681975448
110.4633737214173590.9267474428347180.536626278582641
120.5996138490233010.8007723019533980.400386150976699
130.7206945409617360.5586109180765280.279305459038264
140.7317570392323950.5364859215352090.268242960767605
150.6919638468916380.6160723062167250.308036153108362
160.6435437958314060.7129124083371880.356456204168594
170.6016872499253910.7966255001492190.398312750074609
180.5636259211141360.8727481577717270.436374078885864
190.552291825222440.895416349555120.44770817477756
200.5523774882838870.8952450234322250.447622511716113
210.5639489628443080.8721020743113840.436051037155692
220.5551854306557620.8896291386884750.444814569344238
230.6143500691404830.7712998617190330.385649930859517
240.7681114333060850.4637771333878310.231888566693915
250.9013440146223040.1973119707553930.0986559853776963
260.9227411673426440.1545176653147110.0772588326573555
270.9194407734503510.1611184530992980.0805592265496492
280.9133504336136520.1732991327726950.0866495663863475
290.9057597496637910.1884805006724170.0942402503362085
300.9006042522486760.1987914955026480.0993957477513242
310.9053216568929390.1893566862141230.0946783431070615
320.9136751094550690.1726497810898630.0863248905449314
330.9401906091152690.1196187817694620.0598093908847312
340.9612993806558780.0774012386882440.038700619344122
350.9585953827870780.08280923442584480.0414046172129224
360.9719230502912140.05615389941757270.0280769497087863
370.9760111925827590.04797761483448260.0239888074172413
380.9709213037888350.05815739242233010.0290786962111650
390.9616208753448410.0767582493103170.0383791246551585
400.949368266662610.1012634666747820.0506317333373911
410.9327986421304140.1344027157391720.0672013578695859
420.9153018943521350.169396211295730.084698105647865
430.9096702405831880.1806595188336240.0903297594168118
440.9110464833829580.1779070332340830.0889535166170417
450.9590535713549480.08189285729010330.0409464286450517
460.9848231053981620.03035378920367660.0151768946018383
470.9723455718121920.05530885637561480.0276544281878074
480.9588820510707130.08223589785857490.0411179489292874
490.9378154668432130.1243690663135740.0621845331567871
500.895008357412330.2099832851753400.104991642587670
510.8314743018995390.3370513962009230.168525698100462
520.7392610078000390.5214779843999210.260738992199961
530.619728585094270.7605428298114590.380271414905730
540.4784099265912220.9568198531824440.521590073408778
550.3332991480509060.6665982961018130.666700851949094

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.420936966267954 & 0.841873932535908 & 0.579063033732046 \tabularnewline
6 & 0.375278471813465 & 0.750556943626929 & 0.624721528186535 \tabularnewline
7 & 0.370090971768182 & 0.740181943536364 & 0.629909028231818 \tabularnewline
8 & 0.394240744311886 & 0.788481488623771 & 0.605759255688114 \tabularnewline
9 & 0.442474140300047 & 0.884948280600095 & 0.557525859699953 \tabularnewline
10 & 0.436208318024551 & 0.872416636049103 & 0.563791681975448 \tabularnewline
11 & 0.463373721417359 & 0.926747442834718 & 0.536626278582641 \tabularnewline
12 & 0.599613849023301 & 0.800772301953398 & 0.400386150976699 \tabularnewline
13 & 0.720694540961736 & 0.558610918076528 & 0.279305459038264 \tabularnewline
14 & 0.731757039232395 & 0.536485921535209 & 0.268242960767605 \tabularnewline
15 & 0.691963846891638 & 0.616072306216725 & 0.308036153108362 \tabularnewline
16 & 0.643543795831406 & 0.712912408337188 & 0.356456204168594 \tabularnewline
17 & 0.601687249925391 & 0.796625500149219 & 0.398312750074609 \tabularnewline
18 & 0.563625921114136 & 0.872748157771727 & 0.436374078885864 \tabularnewline
19 & 0.55229182522244 & 0.89541634955512 & 0.44770817477756 \tabularnewline
20 & 0.552377488283887 & 0.895245023432225 & 0.447622511716113 \tabularnewline
21 & 0.563948962844308 & 0.872102074311384 & 0.436051037155692 \tabularnewline
22 & 0.555185430655762 & 0.889629138688475 & 0.444814569344238 \tabularnewline
23 & 0.614350069140483 & 0.771299861719033 & 0.385649930859517 \tabularnewline
24 & 0.768111433306085 & 0.463777133387831 & 0.231888566693915 \tabularnewline
25 & 0.901344014622304 & 0.197311970755393 & 0.0986559853776963 \tabularnewline
26 & 0.922741167342644 & 0.154517665314711 & 0.0772588326573555 \tabularnewline
27 & 0.919440773450351 & 0.161118453099298 & 0.0805592265496492 \tabularnewline
28 & 0.913350433613652 & 0.173299132772695 & 0.0866495663863475 \tabularnewline
29 & 0.905759749663791 & 0.188480500672417 & 0.0942402503362085 \tabularnewline
30 & 0.900604252248676 & 0.198791495502648 & 0.0993957477513242 \tabularnewline
31 & 0.905321656892939 & 0.189356686214123 & 0.0946783431070615 \tabularnewline
32 & 0.913675109455069 & 0.172649781089863 & 0.0863248905449314 \tabularnewline
33 & 0.940190609115269 & 0.119618781769462 & 0.0598093908847312 \tabularnewline
34 & 0.961299380655878 & 0.077401238688244 & 0.038700619344122 \tabularnewline
35 & 0.958595382787078 & 0.0828092344258448 & 0.0414046172129224 \tabularnewline
36 & 0.971923050291214 & 0.0561538994175727 & 0.0280769497087863 \tabularnewline
37 & 0.976011192582759 & 0.0479776148344826 & 0.0239888074172413 \tabularnewline
38 & 0.970921303788835 & 0.0581573924223301 & 0.0290786962111650 \tabularnewline
39 & 0.961620875344841 & 0.076758249310317 & 0.0383791246551585 \tabularnewline
40 & 0.94936826666261 & 0.101263466674782 & 0.0506317333373911 \tabularnewline
41 & 0.932798642130414 & 0.134402715739172 & 0.0672013578695859 \tabularnewline
42 & 0.915301894352135 & 0.16939621129573 & 0.084698105647865 \tabularnewline
43 & 0.909670240583188 & 0.180659518833624 & 0.0903297594168118 \tabularnewline
44 & 0.911046483382958 & 0.177907033234083 & 0.0889535166170417 \tabularnewline
45 & 0.959053571354948 & 0.0818928572901033 & 0.0409464286450517 \tabularnewline
46 & 0.984823105398162 & 0.0303537892036766 & 0.0151768946018383 \tabularnewline
47 & 0.972345571812192 & 0.0553088563756148 & 0.0276544281878074 \tabularnewline
48 & 0.958882051070713 & 0.0822358978585749 & 0.0411179489292874 \tabularnewline
49 & 0.937815466843213 & 0.124369066313574 & 0.0621845331567871 \tabularnewline
50 & 0.89500835741233 & 0.209983285175340 & 0.104991642587670 \tabularnewline
51 & 0.831474301899539 & 0.337051396200923 & 0.168525698100462 \tabularnewline
52 & 0.739261007800039 & 0.521477984399921 & 0.260738992199961 \tabularnewline
53 & 0.61972858509427 & 0.760542829811459 & 0.380271414905730 \tabularnewline
54 & 0.478409926591222 & 0.956819853182444 & 0.521590073408778 \tabularnewline
55 & 0.333299148050906 & 0.666598296101813 & 0.666700851949094 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57801&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.420936966267954[/C][C]0.841873932535908[/C][C]0.579063033732046[/C][/ROW]
[ROW][C]6[/C][C]0.375278471813465[/C][C]0.750556943626929[/C][C]0.624721528186535[/C][/ROW]
[ROW][C]7[/C][C]0.370090971768182[/C][C]0.740181943536364[/C][C]0.629909028231818[/C][/ROW]
[ROW][C]8[/C][C]0.394240744311886[/C][C]0.788481488623771[/C][C]0.605759255688114[/C][/ROW]
[ROW][C]9[/C][C]0.442474140300047[/C][C]0.884948280600095[/C][C]0.557525859699953[/C][/ROW]
[ROW][C]10[/C][C]0.436208318024551[/C][C]0.872416636049103[/C][C]0.563791681975448[/C][/ROW]
[ROW][C]11[/C][C]0.463373721417359[/C][C]0.926747442834718[/C][C]0.536626278582641[/C][/ROW]
[ROW][C]12[/C][C]0.599613849023301[/C][C]0.800772301953398[/C][C]0.400386150976699[/C][/ROW]
[ROW][C]13[/C][C]0.720694540961736[/C][C]0.558610918076528[/C][C]0.279305459038264[/C][/ROW]
[ROW][C]14[/C][C]0.731757039232395[/C][C]0.536485921535209[/C][C]0.268242960767605[/C][/ROW]
[ROW][C]15[/C][C]0.691963846891638[/C][C]0.616072306216725[/C][C]0.308036153108362[/C][/ROW]
[ROW][C]16[/C][C]0.643543795831406[/C][C]0.712912408337188[/C][C]0.356456204168594[/C][/ROW]
[ROW][C]17[/C][C]0.601687249925391[/C][C]0.796625500149219[/C][C]0.398312750074609[/C][/ROW]
[ROW][C]18[/C][C]0.563625921114136[/C][C]0.872748157771727[/C][C]0.436374078885864[/C][/ROW]
[ROW][C]19[/C][C]0.55229182522244[/C][C]0.89541634955512[/C][C]0.44770817477756[/C][/ROW]
[ROW][C]20[/C][C]0.552377488283887[/C][C]0.895245023432225[/C][C]0.447622511716113[/C][/ROW]
[ROW][C]21[/C][C]0.563948962844308[/C][C]0.872102074311384[/C][C]0.436051037155692[/C][/ROW]
[ROW][C]22[/C][C]0.555185430655762[/C][C]0.889629138688475[/C][C]0.444814569344238[/C][/ROW]
[ROW][C]23[/C][C]0.614350069140483[/C][C]0.771299861719033[/C][C]0.385649930859517[/C][/ROW]
[ROW][C]24[/C][C]0.768111433306085[/C][C]0.463777133387831[/C][C]0.231888566693915[/C][/ROW]
[ROW][C]25[/C][C]0.901344014622304[/C][C]0.197311970755393[/C][C]0.0986559853776963[/C][/ROW]
[ROW][C]26[/C][C]0.922741167342644[/C][C]0.154517665314711[/C][C]0.0772588326573555[/C][/ROW]
[ROW][C]27[/C][C]0.919440773450351[/C][C]0.161118453099298[/C][C]0.0805592265496492[/C][/ROW]
[ROW][C]28[/C][C]0.913350433613652[/C][C]0.173299132772695[/C][C]0.0866495663863475[/C][/ROW]
[ROW][C]29[/C][C]0.905759749663791[/C][C]0.188480500672417[/C][C]0.0942402503362085[/C][/ROW]
[ROW][C]30[/C][C]0.900604252248676[/C][C]0.198791495502648[/C][C]0.0993957477513242[/C][/ROW]
[ROW][C]31[/C][C]0.905321656892939[/C][C]0.189356686214123[/C][C]0.0946783431070615[/C][/ROW]
[ROW][C]32[/C][C]0.913675109455069[/C][C]0.172649781089863[/C][C]0.0863248905449314[/C][/ROW]
[ROW][C]33[/C][C]0.940190609115269[/C][C]0.119618781769462[/C][C]0.0598093908847312[/C][/ROW]
[ROW][C]34[/C][C]0.961299380655878[/C][C]0.077401238688244[/C][C]0.038700619344122[/C][/ROW]
[ROW][C]35[/C][C]0.958595382787078[/C][C]0.0828092344258448[/C][C]0.0414046172129224[/C][/ROW]
[ROW][C]36[/C][C]0.971923050291214[/C][C]0.0561538994175727[/C][C]0.0280769497087863[/C][/ROW]
[ROW][C]37[/C][C]0.976011192582759[/C][C]0.0479776148344826[/C][C]0.0239888074172413[/C][/ROW]
[ROW][C]38[/C][C]0.970921303788835[/C][C]0.0581573924223301[/C][C]0.0290786962111650[/C][/ROW]
[ROW][C]39[/C][C]0.961620875344841[/C][C]0.076758249310317[/C][C]0.0383791246551585[/C][/ROW]
[ROW][C]40[/C][C]0.94936826666261[/C][C]0.101263466674782[/C][C]0.0506317333373911[/C][/ROW]
[ROW][C]41[/C][C]0.932798642130414[/C][C]0.134402715739172[/C][C]0.0672013578695859[/C][/ROW]
[ROW][C]42[/C][C]0.915301894352135[/C][C]0.16939621129573[/C][C]0.084698105647865[/C][/ROW]
[ROW][C]43[/C][C]0.909670240583188[/C][C]0.180659518833624[/C][C]0.0903297594168118[/C][/ROW]
[ROW][C]44[/C][C]0.911046483382958[/C][C]0.177907033234083[/C][C]0.0889535166170417[/C][/ROW]
[ROW][C]45[/C][C]0.959053571354948[/C][C]0.0818928572901033[/C][C]0.0409464286450517[/C][/ROW]
[ROW][C]46[/C][C]0.984823105398162[/C][C]0.0303537892036766[/C][C]0.0151768946018383[/C][/ROW]
[ROW][C]47[/C][C]0.972345571812192[/C][C]0.0553088563756148[/C][C]0.0276544281878074[/C][/ROW]
[ROW][C]48[/C][C]0.958882051070713[/C][C]0.0822358978585749[/C][C]0.0411179489292874[/C][/ROW]
[ROW][C]49[/C][C]0.937815466843213[/C][C]0.124369066313574[/C][C]0.0621845331567871[/C][/ROW]
[ROW][C]50[/C][C]0.89500835741233[/C][C]0.209983285175340[/C][C]0.104991642587670[/C][/ROW]
[ROW][C]51[/C][C]0.831474301899539[/C][C]0.337051396200923[/C][C]0.168525698100462[/C][/ROW]
[ROW][C]52[/C][C]0.739261007800039[/C][C]0.521477984399921[/C][C]0.260738992199961[/C][/ROW]
[ROW][C]53[/C][C]0.61972858509427[/C][C]0.760542829811459[/C][C]0.380271414905730[/C][/ROW]
[ROW][C]54[/C][C]0.478409926591222[/C][C]0.956819853182444[/C][C]0.521590073408778[/C][/ROW]
[ROW][C]55[/C][C]0.333299148050906[/C][C]0.666598296101813[/C][C]0.666700851949094[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57801&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57801&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.4209369662679540.8418739325359080.579063033732046
60.3752784718134650.7505569436269290.624721528186535
70.3700909717681820.7401819435363640.629909028231818
80.3942407443118860.7884814886237710.605759255688114
90.4424741403000470.8849482806000950.557525859699953
100.4362083180245510.8724166360491030.563791681975448
110.4633737214173590.9267474428347180.536626278582641
120.5996138490233010.8007723019533980.400386150976699
130.7206945409617360.5586109180765280.279305459038264
140.7317570392323950.5364859215352090.268242960767605
150.6919638468916380.6160723062167250.308036153108362
160.6435437958314060.7129124083371880.356456204168594
170.6016872499253910.7966255001492190.398312750074609
180.5636259211141360.8727481577717270.436374078885864
190.552291825222440.895416349555120.44770817477756
200.5523774882838870.8952450234322250.447622511716113
210.5639489628443080.8721020743113840.436051037155692
220.5551854306557620.8896291386884750.444814569344238
230.6143500691404830.7712998617190330.385649930859517
240.7681114333060850.4637771333878310.231888566693915
250.9013440146223040.1973119707553930.0986559853776963
260.9227411673426440.1545176653147110.0772588326573555
270.9194407734503510.1611184530992980.0805592265496492
280.9133504336136520.1732991327726950.0866495663863475
290.9057597496637910.1884805006724170.0942402503362085
300.9006042522486760.1987914955026480.0993957477513242
310.9053216568929390.1893566862141230.0946783431070615
320.9136751094550690.1726497810898630.0863248905449314
330.9401906091152690.1196187817694620.0598093908847312
340.9612993806558780.0774012386882440.038700619344122
350.9585953827870780.08280923442584480.0414046172129224
360.9719230502912140.05615389941757270.0280769497087863
370.9760111925827590.04797761483448260.0239888074172413
380.9709213037888350.05815739242233010.0290786962111650
390.9616208753448410.0767582493103170.0383791246551585
400.949368266662610.1012634666747820.0506317333373911
410.9327986421304140.1344027157391720.0672013578695859
420.9153018943521350.169396211295730.084698105647865
430.9096702405831880.1806595188336240.0903297594168118
440.9110464833829580.1779070332340830.0889535166170417
450.9590535713549480.08189285729010330.0409464286450517
460.9848231053981620.03035378920367660.0151768946018383
470.9723455718121920.05530885637561480.0276544281878074
480.9588820510707130.08223589785857490.0411179489292874
490.9378154668432130.1243690663135740.0621845331567871
500.895008357412330.2099832851753400.104991642587670
510.8314743018995390.3370513962009230.168525698100462
520.7392610078000390.5214779843999210.260738992199961
530.619728585094270.7605428298114590.380271414905730
540.4784099265912220.9568198531824440.521590073408778
550.3332991480509060.6665982961018130.666700851949094







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0392156862745098OK
10% type I error level100.196078431372549NOK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 2 & 0.0392156862745098 & OK \tabularnewline
10% type I error level & 10 & 0.196078431372549 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57801&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]2[/C][C]0.0392156862745098[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]10[/C][C]0.196078431372549[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57801&T=6

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0392156862745098OK
10% type I error level100.196078431372549NOK



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