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 computationSat, 28 Nov 2009 01:28:10 -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/28/t12593969942js1hpn9visscog.htm/, Retrieved Sat, 27 Apr 2024 10:06:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=61372, Retrieved Sat, 27 Apr 2024 10:06:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact172
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] [Workshop 7] [2009-11-19 16:33:52] [85be98bd9ebcfd4d73e77f8552419c9a]
-    D      [Multiple Regression] [1e link] [2009-11-20 15:40:59] [4fe1472705bb0a32f118ba3ca90ffa8e]
-    D          [Multiple Regression] [1e link] [2009-11-28 08:28:10] [ee8fc1691ecec7724e0ca78f0c288737] [Current]
Feedback Forum

Post a new message
Dataseries X:
130	0
136.7	0
138.1	0
139.5	0
140.4	0
144.6	0
151.4	0
147.9	0
141.5	0
143.8	0
143.6	0
150.5	0
150.1	0
154.9	0
162.1	0
176.7	0
186.6	0
194.8	0
196.3	0
228.8	0
267.2	0
237.2	0
254.7	0
258.2	0
257.9	0
269.6	0
266.9	0
269.6	0
253.9	0
258.6	0
274.2	0
301.5	0
304.5	0
285.1	0
287.7	0
265.5	0
264.1	0
276.1	0
258.9	0
239.1	0
250.1	1
276.8	1
297.6	1
295.4	1
283	1
275.8	1
279.7	1
254.6	1
234.6	1
176.9	1
148.1	1
122.7	1
124.9	1
121.6	1
128.4	1
144.5	1
151.8	1
167.1	1
173.8	1
203.7	1
199.8	1




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

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







Multiple Linear Regression - Estimated Regression Equation
Y(t)[t] = + 212.72 -7.43904761904761`X(t)`[t] + e[t]

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

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y(t)[t] =  +  212.72 -7.43904761904761`X(t)`[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61372&T=1

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)212.729.68333321.967600
`X(t)`-7.4390476190476116.503655-0.45080.6538210.32691

\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) & 212.72 & 9.683333 & 21.9676 & 0 & 0 \tabularnewline
`X(t)` & -7.43904761904761 & 16.503655 & -0.4508 & 0.653821 & 0.32691 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61372&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]212.72[/C][C]9.683333[/C][C]21.9676[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`X(t)`[/C][C]-7.43904761904761[/C][C]16.503655[/C][C]-0.4508[/C][C]0.653821[/C][C]0.32691[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61372&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61372&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)212.729.68333321.967600
`X(t)`-7.4390476190476116.503655-0.45080.6538210.32691







Multiple Linear Regression - Regression Statistics
Multiple R0.0585820672091856
R-squared0.00343185859850154
Adjusted R-squared-0.0134591268489814
F-TEST (value)0.203176931812047
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.653820862057736
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation61.24277562112
Sum Squared Residuals221289.976380952

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.0585820672091856 \tabularnewline
R-squared & 0.00343185859850154 \tabularnewline
Adjusted R-squared & -0.0134591268489814 \tabularnewline
F-TEST (value) & 0.203176931812047 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.653820862057736 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 61.24277562112 \tabularnewline
Sum Squared Residuals & 221289.976380952 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61372&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.0585820672091856[/C][/ROW]
[ROW][C]R-squared[/C][C]0.00343185859850154[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0134591268489814[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.203176931812047[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.653820862057736[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]61.24277562112[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]221289.976380952[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61372&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61372&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.0585820672091856
R-squared0.00343185859850154
Adjusted R-squared-0.0134591268489814
F-TEST (value)0.203176931812047
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.653820862057736
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation61.24277562112
Sum Squared Residuals221289.976380952







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1130212.720000000000-82.7199999999996
2136.7212.72-76.02
3138.1212.72-74.62
4139.5212.72-73.22
5140.4212.72-72.32
6144.6212.72-68.12
7151.4212.72-61.32
8147.9212.72-64.82
9141.5212.72-71.22
10143.8212.72-68.92
11143.6212.72-69.12
12150.5212.72-62.22
13150.1212.72-62.62
14154.9212.72-57.82
15162.1212.72-50.62
16176.7212.72-36.02
17186.6212.72-26.12
18194.8212.72-17.92
19196.3212.72-16.42
20228.8212.7216.08
21267.2212.7254.48
22237.2212.7224.48
23254.7212.7241.98
24258.2212.7245.48
25257.9212.7245.18
26269.6212.7256.88
27266.9212.7254.18
28269.6212.7256.88
29253.9212.7241.18
30258.6212.7245.88
31274.2212.7261.48
32301.5212.7288.78
33304.5212.7291.78
34285.1212.7272.38
35287.7212.7274.98
36265.5212.7252.78
37264.1212.7251.38
38276.1212.7263.38
39258.9212.7246.18
40239.1212.7226.38
41250.1205.28095238095244.8190476190476
42276.8205.28095238095271.5190476190476
43297.6205.28095238095292.3190476190476
44295.4205.28095238095290.1190476190476
45283205.28095238095277.7190476190476
46275.8205.28095238095270.5190476190476
47279.7205.28095238095274.4190476190476
48254.6205.28095238095249.3190476190476
49234.6205.28095238095229.3190476190476
50176.9205.280952380952-28.3809523809524
51148.1205.280952380952-57.1809523809524
52122.7205.280952380952-82.5809523809524
53124.9205.280952380952-80.3809523809524
54121.6205.280952380952-83.6809523809524
55128.4205.280952380952-76.8809523809524
56144.5205.280952380952-60.7809523809524
57151.8205.280952380952-53.4809523809524
58167.1205.280952380952-38.1809523809524
59173.8205.280952380952-31.4809523809524
60203.7205.280952380952-1.58095238095239
61199.8205.280952380952-5.48095238095237

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 130 & 212.720000000000 & -82.7199999999996 \tabularnewline
2 & 136.7 & 212.72 & -76.02 \tabularnewline
3 & 138.1 & 212.72 & -74.62 \tabularnewline
4 & 139.5 & 212.72 & -73.22 \tabularnewline
5 & 140.4 & 212.72 & -72.32 \tabularnewline
6 & 144.6 & 212.72 & -68.12 \tabularnewline
7 & 151.4 & 212.72 & -61.32 \tabularnewline
8 & 147.9 & 212.72 & -64.82 \tabularnewline
9 & 141.5 & 212.72 & -71.22 \tabularnewline
10 & 143.8 & 212.72 & -68.92 \tabularnewline
11 & 143.6 & 212.72 & -69.12 \tabularnewline
12 & 150.5 & 212.72 & -62.22 \tabularnewline
13 & 150.1 & 212.72 & -62.62 \tabularnewline
14 & 154.9 & 212.72 & -57.82 \tabularnewline
15 & 162.1 & 212.72 & -50.62 \tabularnewline
16 & 176.7 & 212.72 & -36.02 \tabularnewline
17 & 186.6 & 212.72 & -26.12 \tabularnewline
18 & 194.8 & 212.72 & -17.92 \tabularnewline
19 & 196.3 & 212.72 & -16.42 \tabularnewline
20 & 228.8 & 212.72 & 16.08 \tabularnewline
21 & 267.2 & 212.72 & 54.48 \tabularnewline
22 & 237.2 & 212.72 & 24.48 \tabularnewline
23 & 254.7 & 212.72 & 41.98 \tabularnewline
24 & 258.2 & 212.72 & 45.48 \tabularnewline
25 & 257.9 & 212.72 & 45.18 \tabularnewline
26 & 269.6 & 212.72 & 56.88 \tabularnewline
27 & 266.9 & 212.72 & 54.18 \tabularnewline
28 & 269.6 & 212.72 & 56.88 \tabularnewline
29 & 253.9 & 212.72 & 41.18 \tabularnewline
30 & 258.6 & 212.72 & 45.88 \tabularnewline
31 & 274.2 & 212.72 & 61.48 \tabularnewline
32 & 301.5 & 212.72 & 88.78 \tabularnewline
33 & 304.5 & 212.72 & 91.78 \tabularnewline
34 & 285.1 & 212.72 & 72.38 \tabularnewline
35 & 287.7 & 212.72 & 74.98 \tabularnewline
36 & 265.5 & 212.72 & 52.78 \tabularnewline
37 & 264.1 & 212.72 & 51.38 \tabularnewline
38 & 276.1 & 212.72 & 63.38 \tabularnewline
39 & 258.9 & 212.72 & 46.18 \tabularnewline
40 & 239.1 & 212.72 & 26.38 \tabularnewline
41 & 250.1 & 205.280952380952 & 44.8190476190476 \tabularnewline
42 & 276.8 & 205.280952380952 & 71.5190476190476 \tabularnewline
43 & 297.6 & 205.280952380952 & 92.3190476190476 \tabularnewline
44 & 295.4 & 205.280952380952 & 90.1190476190476 \tabularnewline
45 & 283 & 205.280952380952 & 77.7190476190476 \tabularnewline
46 & 275.8 & 205.280952380952 & 70.5190476190476 \tabularnewline
47 & 279.7 & 205.280952380952 & 74.4190476190476 \tabularnewline
48 & 254.6 & 205.280952380952 & 49.3190476190476 \tabularnewline
49 & 234.6 & 205.280952380952 & 29.3190476190476 \tabularnewline
50 & 176.9 & 205.280952380952 & -28.3809523809524 \tabularnewline
51 & 148.1 & 205.280952380952 & -57.1809523809524 \tabularnewline
52 & 122.7 & 205.280952380952 & -82.5809523809524 \tabularnewline
53 & 124.9 & 205.280952380952 & -80.3809523809524 \tabularnewline
54 & 121.6 & 205.280952380952 & -83.6809523809524 \tabularnewline
55 & 128.4 & 205.280952380952 & -76.8809523809524 \tabularnewline
56 & 144.5 & 205.280952380952 & -60.7809523809524 \tabularnewline
57 & 151.8 & 205.280952380952 & -53.4809523809524 \tabularnewline
58 & 167.1 & 205.280952380952 & -38.1809523809524 \tabularnewline
59 & 173.8 & 205.280952380952 & -31.4809523809524 \tabularnewline
60 & 203.7 & 205.280952380952 & -1.58095238095239 \tabularnewline
61 & 199.8 & 205.280952380952 & -5.48095238095237 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61372&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]130[/C][C]212.720000000000[/C][C]-82.7199999999996[/C][/ROW]
[ROW][C]2[/C][C]136.7[/C][C]212.72[/C][C]-76.02[/C][/ROW]
[ROW][C]3[/C][C]138.1[/C][C]212.72[/C][C]-74.62[/C][/ROW]
[ROW][C]4[/C][C]139.5[/C][C]212.72[/C][C]-73.22[/C][/ROW]
[ROW][C]5[/C][C]140.4[/C][C]212.72[/C][C]-72.32[/C][/ROW]
[ROW][C]6[/C][C]144.6[/C][C]212.72[/C][C]-68.12[/C][/ROW]
[ROW][C]7[/C][C]151.4[/C][C]212.72[/C][C]-61.32[/C][/ROW]
[ROW][C]8[/C][C]147.9[/C][C]212.72[/C][C]-64.82[/C][/ROW]
[ROW][C]9[/C][C]141.5[/C][C]212.72[/C][C]-71.22[/C][/ROW]
[ROW][C]10[/C][C]143.8[/C][C]212.72[/C][C]-68.92[/C][/ROW]
[ROW][C]11[/C][C]143.6[/C][C]212.72[/C][C]-69.12[/C][/ROW]
[ROW][C]12[/C][C]150.5[/C][C]212.72[/C][C]-62.22[/C][/ROW]
[ROW][C]13[/C][C]150.1[/C][C]212.72[/C][C]-62.62[/C][/ROW]
[ROW][C]14[/C][C]154.9[/C][C]212.72[/C][C]-57.82[/C][/ROW]
[ROW][C]15[/C][C]162.1[/C][C]212.72[/C][C]-50.62[/C][/ROW]
[ROW][C]16[/C][C]176.7[/C][C]212.72[/C][C]-36.02[/C][/ROW]
[ROW][C]17[/C][C]186.6[/C][C]212.72[/C][C]-26.12[/C][/ROW]
[ROW][C]18[/C][C]194.8[/C][C]212.72[/C][C]-17.92[/C][/ROW]
[ROW][C]19[/C][C]196.3[/C][C]212.72[/C][C]-16.42[/C][/ROW]
[ROW][C]20[/C][C]228.8[/C][C]212.72[/C][C]16.08[/C][/ROW]
[ROW][C]21[/C][C]267.2[/C][C]212.72[/C][C]54.48[/C][/ROW]
[ROW][C]22[/C][C]237.2[/C][C]212.72[/C][C]24.48[/C][/ROW]
[ROW][C]23[/C][C]254.7[/C][C]212.72[/C][C]41.98[/C][/ROW]
[ROW][C]24[/C][C]258.2[/C][C]212.72[/C][C]45.48[/C][/ROW]
[ROW][C]25[/C][C]257.9[/C][C]212.72[/C][C]45.18[/C][/ROW]
[ROW][C]26[/C][C]269.6[/C][C]212.72[/C][C]56.88[/C][/ROW]
[ROW][C]27[/C][C]266.9[/C][C]212.72[/C][C]54.18[/C][/ROW]
[ROW][C]28[/C][C]269.6[/C][C]212.72[/C][C]56.88[/C][/ROW]
[ROW][C]29[/C][C]253.9[/C][C]212.72[/C][C]41.18[/C][/ROW]
[ROW][C]30[/C][C]258.6[/C][C]212.72[/C][C]45.88[/C][/ROW]
[ROW][C]31[/C][C]274.2[/C][C]212.72[/C][C]61.48[/C][/ROW]
[ROW][C]32[/C][C]301.5[/C][C]212.72[/C][C]88.78[/C][/ROW]
[ROW][C]33[/C][C]304.5[/C][C]212.72[/C][C]91.78[/C][/ROW]
[ROW][C]34[/C][C]285.1[/C][C]212.72[/C][C]72.38[/C][/ROW]
[ROW][C]35[/C][C]287.7[/C][C]212.72[/C][C]74.98[/C][/ROW]
[ROW][C]36[/C][C]265.5[/C][C]212.72[/C][C]52.78[/C][/ROW]
[ROW][C]37[/C][C]264.1[/C][C]212.72[/C][C]51.38[/C][/ROW]
[ROW][C]38[/C][C]276.1[/C][C]212.72[/C][C]63.38[/C][/ROW]
[ROW][C]39[/C][C]258.9[/C][C]212.72[/C][C]46.18[/C][/ROW]
[ROW][C]40[/C][C]239.1[/C][C]212.72[/C][C]26.38[/C][/ROW]
[ROW][C]41[/C][C]250.1[/C][C]205.280952380952[/C][C]44.8190476190476[/C][/ROW]
[ROW][C]42[/C][C]276.8[/C][C]205.280952380952[/C][C]71.5190476190476[/C][/ROW]
[ROW][C]43[/C][C]297.6[/C][C]205.280952380952[/C][C]92.3190476190476[/C][/ROW]
[ROW][C]44[/C][C]295.4[/C][C]205.280952380952[/C][C]90.1190476190476[/C][/ROW]
[ROW][C]45[/C][C]283[/C][C]205.280952380952[/C][C]77.7190476190476[/C][/ROW]
[ROW][C]46[/C][C]275.8[/C][C]205.280952380952[/C][C]70.5190476190476[/C][/ROW]
[ROW][C]47[/C][C]279.7[/C][C]205.280952380952[/C][C]74.4190476190476[/C][/ROW]
[ROW][C]48[/C][C]254.6[/C][C]205.280952380952[/C][C]49.3190476190476[/C][/ROW]
[ROW][C]49[/C][C]234.6[/C][C]205.280952380952[/C][C]29.3190476190476[/C][/ROW]
[ROW][C]50[/C][C]176.9[/C][C]205.280952380952[/C][C]-28.3809523809524[/C][/ROW]
[ROW][C]51[/C][C]148.1[/C][C]205.280952380952[/C][C]-57.1809523809524[/C][/ROW]
[ROW][C]52[/C][C]122.7[/C][C]205.280952380952[/C][C]-82.5809523809524[/C][/ROW]
[ROW][C]53[/C][C]124.9[/C][C]205.280952380952[/C][C]-80.3809523809524[/C][/ROW]
[ROW][C]54[/C][C]121.6[/C][C]205.280952380952[/C][C]-83.6809523809524[/C][/ROW]
[ROW][C]55[/C][C]128.4[/C][C]205.280952380952[/C][C]-76.8809523809524[/C][/ROW]
[ROW][C]56[/C][C]144.5[/C][C]205.280952380952[/C][C]-60.7809523809524[/C][/ROW]
[ROW][C]57[/C][C]151.8[/C][C]205.280952380952[/C][C]-53.4809523809524[/C][/ROW]
[ROW][C]58[/C][C]167.1[/C][C]205.280952380952[/C][C]-38.1809523809524[/C][/ROW]
[ROW][C]59[/C][C]173.8[/C][C]205.280952380952[/C][C]-31.4809523809524[/C][/ROW]
[ROW][C]60[/C][C]203.7[/C][C]205.280952380952[/C][C]-1.58095238095239[/C][/ROW]
[ROW][C]61[/C][C]199.8[/C][C]205.280952380952[/C][C]-5.48095238095237[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61372&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61372&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
1130212.720000000000-82.7199999999996
2136.7212.72-76.02
3138.1212.72-74.62
4139.5212.72-73.22
5140.4212.72-72.32
6144.6212.72-68.12
7151.4212.72-61.32
8147.9212.72-64.82
9141.5212.72-71.22
10143.8212.72-68.92
11143.6212.72-69.12
12150.5212.72-62.22
13150.1212.72-62.62
14154.9212.72-57.82
15162.1212.72-50.62
16176.7212.72-36.02
17186.6212.72-26.12
18194.8212.72-17.92
19196.3212.72-16.42
20228.8212.7216.08
21267.2212.7254.48
22237.2212.7224.48
23254.7212.7241.98
24258.2212.7245.48
25257.9212.7245.18
26269.6212.7256.88
27266.9212.7254.18
28269.6212.7256.88
29253.9212.7241.18
30258.6212.7245.88
31274.2212.7261.48
32301.5212.7288.78
33304.5212.7291.78
34285.1212.7272.38
35287.7212.7274.98
36265.5212.7252.78
37264.1212.7251.38
38276.1212.7263.38
39258.9212.7246.18
40239.1212.7226.38
41250.1205.28095238095244.8190476190476
42276.8205.28095238095271.5190476190476
43297.6205.28095238095292.3190476190476
44295.4205.28095238095290.1190476190476
45283205.28095238095277.7190476190476
46275.8205.28095238095270.5190476190476
47279.7205.28095238095274.4190476190476
48254.6205.28095238095249.3190476190476
49234.6205.28095238095229.3190476190476
50176.9205.280952380952-28.3809523809524
51148.1205.280952380952-57.1809523809524
52122.7205.280952380952-82.5809523809524
53124.9205.280952380952-80.3809523809524
54121.6205.280952380952-83.6809523809524
55128.4205.280952380952-76.8809523809524
56144.5205.280952380952-60.7809523809524
57151.8205.280952380952-53.4809523809524
58167.1205.280952380952-38.1809523809524
59173.8205.280952380952-31.4809523809524
60203.7205.280952380952-1.58095238095239
61199.8205.280952380952-5.48095238095237







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.0007306080764930150.001461216152986030.999269391923507
60.0001487420229201060.0002974840458402120.99985125797708
79.54190894648082e-050.0001908381789296160.999904580910535
81.98205200179191e-053.96410400358382e-050.999980179479982
92.61931477703059e-065.23862955406118e-060.999997380685223
103.70439690057234e-077.40879380114468e-070.99999962956031
115.2918022481883e-081.05836044963766e-070.999999947081978
121.9020816947351e-083.8041633894702e-080.999999980979183
135.99526699107648e-091.19905339821530e-080.999999994004733
144.62426242854672e-099.24852485709345e-090.999999995375738
151.34996790581105e-082.69993581162209e-080.999999986500321
163.63463426918457e-077.26926853836914e-070.999999636536573
176.41617093682611e-061.28323418736522e-050.999993583829063
186.23292013400959e-050.0001246584026801920.99993767079866
190.0002528766861933830.0005057533723867650.999747123313807
200.004306363489514290.008612726979028590.995693636510486
210.07417295201874270.1483459040374850.925827047981257
220.1222755752560980.2445511505121950.877724424743902
230.2095086857018930.4190173714037850.790491314298107
240.2939024124018760.5878048248037530.706097587598124
250.3564157510014450.712831502002890.643584248998555
260.4306760592486270.8613521184972540.569323940751373
270.4730366371625210.9460732743250410.526963362837479
280.5033668558101330.9932662883797340.496633144189867
290.4921721171417450.984344234283490.507827882858255
300.4807809875888580.9615619751777160.519219012411142
310.486499352054170.972998704108340.51350064794583
320.5442888276872870.9114223446254260.455711172312713
330.592295008256970.8154099834860610.407704991743030
340.5832587646862960.8334824706274080.416741235313704
350.5734797350109280.8530405299781450.426520264989072
360.5254003282524180.9491993434951640.474599671747582
370.4729145417788750.945829083557750.527085458221125
380.4346933342462080.8693866684924150.565306665753792
390.3768070442682870.7536140885365740.623192955731713
400.3085229585148510.6170459170297020.691477041485149
410.2623710113356920.5247420226713830.737628988664308
420.2581432497015420.5162864994030840.741856750298458
430.3148728611209210.6297457222418420.685127138879079
440.4027477147232870.8054954294465730.597252285276713
450.4961592899839750.992318579967950.503840710016025
460.6150284369837920.7699431260324170.384971563016208
470.8126545708731080.3746908582537830.187345429126892
480.9238589268706460.1522821462587080.076141073129354
490.9755155252530720.04896894949385650.0244844747469282
500.967175905602850.06564818879429990.0328240943971500
510.9498906776353640.1002186447292720.0501093223646361
520.9463941314681270.1072117370637450.0536058685318726
530.9384894203982630.1230211592034750.0615105796017375
540.9415896168692560.1168207662614890.0584103831307443
550.9443163665228160.1113672669543680.055683633477184
560.9205307699169010.1589384601661970.0794692300830985

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.000730608076493015 & 0.00146121615298603 & 0.999269391923507 \tabularnewline
6 & 0.000148742022920106 & 0.000297484045840212 & 0.99985125797708 \tabularnewline
7 & 9.54190894648082e-05 & 0.000190838178929616 & 0.999904580910535 \tabularnewline
8 & 1.98205200179191e-05 & 3.96410400358382e-05 & 0.999980179479982 \tabularnewline
9 & 2.61931477703059e-06 & 5.23862955406118e-06 & 0.999997380685223 \tabularnewline
10 & 3.70439690057234e-07 & 7.40879380114468e-07 & 0.99999962956031 \tabularnewline
11 & 5.2918022481883e-08 & 1.05836044963766e-07 & 0.999999947081978 \tabularnewline
12 & 1.9020816947351e-08 & 3.8041633894702e-08 & 0.999999980979183 \tabularnewline
13 & 5.99526699107648e-09 & 1.19905339821530e-08 & 0.999999994004733 \tabularnewline
14 & 4.62426242854672e-09 & 9.24852485709345e-09 & 0.999999995375738 \tabularnewline
15 & 1.34996790581105e-08 & 2.69993581162209e-08 & 0.999999986500321 \tabularnewline
16 & 3.63463426918457e-07 & 7.26926853836914e-07 & 0.999999636536573 \tabularnewline
17 & 6.41617093682611e-06 & 1.28323418736522e-05 & 0.999993583829063 \tabularnewline
18 & 6.23292013400959e-05 & 0.000124658402680192 & 0.99993767079866 \tabularnewline
19 & 0.000252876686193383 & 0.000505753372386765 & 0.999747123313807 \tabularnewline
20 & 0.00430636348951429 & 0.00861272697902859 & 0.995693636510486 \tabularnewline
21 & 0.0741729520187427 & 0.148345904037485 & 0.925827047981257 \tabularnewline
22 & 0.122275575256098 & 0.244551150512195 & 0.877724424743902 \tabularnewline
23 & 0.209508685701893 & 0.419017371403785 & 0.790491314298107 \tabularnewline
24 & 0.293902412401876 & 0.587804824803753 & 0.706097587598124 \tabularnewline
25 & 0.356415751001445 & 0.71283150200289 & 0.643584248998555 \tabularnewline
26 & 0.430676059248627 & 0.861352118497254 & 0.569323940751373 \tabularnewline
27 & 0.473036637162521 & 0.946073274325041 & 0.526963362837479 \tabularnewline
28 & 0.503366855810133 & 0.993266288379734 & 0.496633144189867 \tabularnewline
29 & 0.492172117141745 & 0.98434423428349 & 0.507827882858255 \tabularnewline
30 & 0.480780987588858 & 0.961561975177716 & 0.519219012411142 \tabularnewline
31 & 0.48649935205417 & 0.97299870410834 & 0.51350064794583 \tabularnewline
32 & 0.544288827687287 & 0.911422344625426 & 0.455711172312713 \tabularnewline
33 & 0.59229500825697 & 0.815409983486061 & 0.407704991743030 \tabularnewline
34 & 0.583258764686296 & 0.833482470627408 & 0.416741235313704 \tabularnewline
35 & 0.573479735010928 & 0.853040529978145 & 0.426520264989072 \tabularnewline
36 & 0.525400328252418 & 0.949199343495164 & 0.474599671747582 \tabularnewline
37 & 0.472914541778875 & 0.94582908355775 & 0.527085458221125 \tabularnewline
38 & 0.434693334246208 & 0.869386668492415 & 0.565306665753792 \tabularnewline
39 & 0.376807044268287 & 0.753614088536574 & 0.623192955731713 \tabularnewline
40 & 0.308522958514851 & 0.617045917029702 & 0.691477041485149 \tabularnewline
41 & 0.262371011335692 & 0.524742022671383 & 0.737628988664308 \tabularnewline
42 & 0.258143249701542 & 0.516286499403084 & 0.741856750298458 \tabularnewline
43 & 0.314872861120921 & 0.629745722241842 & 0.685127138879079 \tabularnewline
44 & 0.402747714723287 & 0.805495429446573 & 0.597252285276713 \tabularnewline
45 & 0.496159289983975 & 0.99231857996795 & 0.503840710016025 \tabularnewline
46 & 0.615028436983792 & 0.769943126032417 & 0.384971563016208 \tabularnewline
47 & 0.812654570873108 & 0.374690858253783 & 0.187345429126892 \tabularnewline
48 & 0.923858926870646 & 0.152282146258708 & 0.076141073129354 \tabularnewline
49 & 0.975515525253072 & 0.0489689494938565 & 0.0244844747469282 \tabularnewline
50 & 0.96717590560285 & 0.0656481887942999 & 0.0328240943971500 \tabularnewline
51 & 0.949890677635364 & 0.100218644729272 & 0.0501093223646361 \tabularnewline
52 & 0.946394131468127 & 0.107211737063745 & 0.0536058685318726 \tabularnewline
53 & 0.938489420398263 & 0.123021159203475 & 0.0615105796017375 \tabularnewline
54 & 0.941589616869256 & 0.116820766261489 & 0.0584103831307443 \tabularnewline
55 & 0.944316366522816 & 0.111367266954368 & 0.055683633477184 \tabularnewline
56 & 0.920530769916901 & 0.158938460166197 & 0.0794692300830985 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61372&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.000730608076493015[/C][C]0.00146121615298603[/C][C]0.999269391923507[/C][/ROW]
[ROW][C]6[/C][C]0.000148742022920106[/C][C]0.000297484045840212[/C][C]0.99985125797708[/C][/ROW]
[ROW][C]7[/C][C]9.54190894648082e-05[/C][C]0.000190838178929616[/C][C]0.999904580910535[/C][/ROW]
[ROW][C]8[/C][C]1.98205200179191e-05[/C][C]3.96410400358382e-05[/C][C]0.999980179479982[/C][/ROW]
[ROW][C]9[/C][C]2.61931477703059e-06[/C][C]5.23862955406118e-06[/C][C]0.999997380685223[/C][/ROW]
[ROW][C]10[/C][C]3.70439690057234e-07[/C][C]7.40879380114468e-07[/C][C]0.99999962956031[/C][/ROW]
[ROW][C]11[/C][C]5.2918022481883e-08[/C][C]1.05836044963766e-07[/C][C]0.999999947081978[/C][/ROW]
[ROW][C]12[/C][C]1.9020816947351e-08[/C][C]3.8041633894702e-08[/C][C]0.999999980979183[/C][/ROW]
[ROW][C]13[/C][C]5.99526699107648e-09[/C][C]1.19905339821530e-08[/C][C]0.999999994004733[/C][/ROW]
[ROW][C]14[/C][C]4.62426242854672e-09[/C][C]9.24852485709345e-09[/C][C]0.999999995375738[/C][/ROW]
[ROW][C]15[/C][C]1.34996790581105e-08[/C][C]2.69993581162209e-08[/C][C]0.999999986500321[/C][/ROW]
[ROW][C]16[/C][C]3.63463426918457e-07[/C][C]7.26926853836914e-07[/C][C]0.999999636536573[/C][/ROW]
[ROW][C]17[/C][C]6.41617093682611e-06[/C][C]1.28323418736522e-05[/C][C]0.999993583829063[/C][/ROW]
[ROW][C]18[/C][C]6.23292013400959e-05[/C][C]0.000124658402680192[/C][C]0.99993767079866[/C][/ROW]
[ROW][C]19[/C][C]0.000252876686193383[/C][C]0.000505753372386765[/C][C]0.999747123313807[/C][/ROW]
[ROW][C]20[/C][C]0.00430636348951429[/C][C]0.00861272697902859[/C][C]0.995693636510486[/C][/ROW]
[ROW][C]21[/C][C]0.0741729520187427[/C][C]0.148345904037485[/C][C]0.925827047981257[/C][/ROW]
[ROW][C]22[/C][C]0.122275575256098[/C][C]0.244551150512195[/C][C]0.877724424743902[/C][/ROW]
[ROW][C]23[/C][C]0.209508685701893[/C][C]0.419017371403785[/C][C]0.790491314298107[/C][/ROW]
[ROW][C]24[/C][C]0.293902412401876[/C][C]0.587804824803753[/C][C]0.706097587598124[/C][/ROW]
[ROW][C]25[/C][C]0.356415751001445[/C][C]0.71283150200289[/C][C]0.643584248998555[/C][/ROW]
[ROW][C]26[/C][C]0.430676059248627[/C][C]0.861352118497254[/C][C]0.569323940751373[/C][/ROW]
[ROW][C]27[/C][C]0.473036637162521[/C][C]0.946073274325041[/C][C]0.526963362837479[/C][/ROW]
[ROW][C]28[/C][C]0.503366855810133[/C][C]0.993266288379734[/C][C]0.496633144189867[/C][/ROW]
[ROW][C]29[/C][C]0.492172117141745[/C][C]0.98434423428349[/C][C]0.507827882858255[/C][/ROW]
[ROW][C]30[/C][C]0.480780987588858[/C][C]0.961561975177716[/C][C]0.519219012411142[/C][/ROW]
[ROW][C]31[/C][C]0.48649935205417[/C][C]0.97299870410834[/C][C]0.51350064794583[/C][/ROW]
[ROW][C]32[/C][C]0.544288827687287[/C][C]0.911422344625426[/C][C]0.455711172312713[/C][/ROW]
[ROW][C]33[/C][C]0.59229500825697[/C][C]0.815409983486061[/C][C]0.407704991743030[/C][/ROW]
[ROW][C]34[/C][C]0.583258764686296[/C][C]0.833482470627408[/C][C]0.416741235313704[/C][/ROW]
[ROW][C]35[/C][C]0.573479735010928[/C][C]0.853040529978145[/C][C]0.426520264989072[/C][/ROW]
[ROW][C]36[/C][C]0.525400328252418[/C][C]0.949199343495164[/C][C]0.474599671747582[/C][/ROW]
[ROW][C]37[/C][C]0.472914541778875[/C][C]0.94582908355775[/C][C]0.527085458221125[/C][/ROW]
[ROW][C]38[/C][C]0.434693334246208[/C][C]0.869386668492415[/C][C]0.565306665753792[/C][/ROW]
[ROW][C]39[/C][C]0.376807044268287[/C][C]0.753614088536574[/C][C]0.623192955731713[/C][/ROW]
[ROW][C]40[/C][C]0.308522958514851[/C][C]0.617045917029702[/C][C]0.691477041485149[/C][/ROW]
[ROW][C]41[/C][C]0.262371011335692[/C][C]0.524742022671383[/C][C]0.737628988664308[/C][/ROW]
[ROW][C]42[/C][C]0.258143249701542[/C][C]0.516286499403084[/C][C]0.741856750298458[/C][/ROW]
[ROW][C]43[/C][C]0.314872861120921[/C][C]0.629745722241842[/C][C]0.685127138879079[/C][/ROW]
[ROW][C]44[/C][C]0.402747714723287[/C][C]0.805495429446573[/C][C]0.597252285276713[/C][/ROW]
[ROW][C]45[/C][C]0.496159289983975[/C][C]0.99231857996795[/C][C]0.503840710016025[/C][/ROW]
[ROW][C]46[/C][C]0.615028436983792[/C][C]0.769943126032417[/C][C]0.384971563016208[/C][/ROW]
[ROW][C]47[/C][C]0.812654570873108[/C][C]0.374690858253783[/C][C]0.187345429126892[/C][/ROW]
[ROW][C]48[/C][C]0.923858926870646[/C][C]0.152282146258708[/C][C]0.076141073129354[/C][/ROW]
[ROW][C]49[/C][C]0.975515525253072[/C][C]0.0489689494938565[/C][C]0.0244844747469282[/C][/ROW]
[ROW][C]50[/C][C]0.96717590560285[/C][C]0.0656481887942999[/C][C]0.0328240943971500[/C][/ROW]
[ROW][C]51[/C][C]0.949890677635364[/C][C]0.100218644729272[/C][C]0.0501093223646361[/C][/ROW]
[ROW][C]52[/C][C]0.946394131468127[/C][C]0.107211737063745[/C][C]0.0536058685318726[/C][/ROW]
[ROW][C]53[/C][C]0.938489420398263[/C][C]0.123021159203475[/C][C]0.0615105796017375[/C][/ROW]
[ROW][C]54[/C][C]0.941589616869256[/C][C]0.116820766261489[/C][C]0.0584103831307443[/C][/ROW]
[ROW][C]55[/C][C]0.944316366522816[/C][C]0.111367266954368[/C][C]0.055683633477184[/C][/ROW]
[ROW][C]56[/C][C]0.920530769916901[/C][C]0.158938460166197[/C][C]0.0794692300830985[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61372&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61372&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.0007306080764930150.001461216152986030.999269391923507
60.0001487420229201060.0002974840458402120.99985125797708
79.54190894648082e-050.0001908381789296160.999904580910535
81.98205200179191e-053.96410400358382e-050.999980179479982
92.61931477703059e-065.23862955406118e-060.999997380685223
103.70439690057234e-077.40879380114468e-070.99999962956031
115.2918022481883e-081.05836044963766e-070.999999947081978
121.9020816947351e-083.8041633894702e-080.999999980979183
135.99526699107648e-091.19905339821530e-080.999999994004733
144.62426242854672e-099.24852485709345e-090.999999995375738
151.34996790581105e-082.69993581162209e-080.999999986500321
163.63463426918457e-077.26926853836914e-070.999999636536573
176.41617093682611e-061.28323418736522e-050.999993583829063
186.23292013400959e-050.0001246584026801920.99993767079866
190.0002528766861933830.0005057533723867650.999747123313807
200.004306363489514290.008612726979028590.995693636510486
210.07417295201874270.1483459040374850.925827047981257
220.1222755752560980.2445511505121950.877724424743902
230.2095086857018930.4190173714037850.790491314298107
240.2939024124018760.5878048248037530.706097587598124
250.3564157510014450.712831502002890.643584248998555
260.4306760592486270.8613521184972540.569323940751373
270.4730366371625210.9460732743250410.526963362837479
280.5033668558101330.9932662883797340.496633144189867
290.4921721171417450.984344234283490.507827882858255
300.4807809875888580.9615619751777160.519219012411142
310.486499352054170.972998704108340.51350064794583
320.5442888276872870.9114223446254260.455711172312713
330.592295008256970.8154099834860610.407704991743030
340.5832587646862960.8334824706274080.416741235313704
350.5734797350109280.8530405299781450.426520264989072
360.5254003282524180.9491993434951640.474599671747582
370.4729145417788750.945829083557750.527085458221125
380.4346933342462080.8693866684924150.565306665753792
390.3768070442682870.7536140885365740.623192955731713
400.3085229585148510.6170459170297020.691477041485149
410.2623710113356920.5247420226713830.737628988664308
420.2581432497015420.5162864994030840.741856750298458
430.3148728611209210.6297457222418420.685127138879079
440.4027477147232870.8054954294465730.597252285276713
450.4961592899839750.992318579967950.503840710016025
460.6150284369837920.7699431260324170.384971563016208
470.8126545708731080.3746908582537830.187345429126892
480.9238589268706460.1522821462587080.076141073129354
490.9755155252530720.04896894949385650.0244844747469282
500.967175905602850.06564818879429990.0328240943971500
510.9498906776353640.1002186447292720.0501093223646361
520.9463941314681270.1072117370637450.0536058685318726
530.9384894203982630.1230211592034750.0615105796017375
540.9415896168692560.1168207662614890.0584103831307443
550.9443163665228160.1113672669543680.055683633477184
560.9205307699169010.1589384601661970.0794692300830985







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.307692307692308NOK
5% type I error level170.326923076923077NOK
10% type I error level180.346153846153846NOK

\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 & 16 & 0.307692307692308 & NOK \tabularnewline
5% type I error level & 17 & 0.326923076923077 & NOK \tabularnewline
10% type I error level & 18 & 0.346153846153846 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61372&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]16[/C][C]0.307692307692308[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]17[/C][C]0.326923076923077[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]18[/C][C]0.346153846153846[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61372&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61372&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 level160.307692307692308NOK
5% type I error level170.326923076923077NOK
10% type I error level180.346153846153846NOK



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