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 computationFri, 11 Dec 2015 11:30:15 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2015/Dec/11/t14498348730muadi4u7aah8jt.htm/, Retrieved Thu, 16 May 2024 10:53:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=285902, Retrieved Thu, 16 May 2024 10:53:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple regression] [2015-12-11 11:30:15] [52853a904b98b07877ca8f5358b56a17] [Current]
Feedback Forum

Post a new message
Dataseries X:
164.16 225.93
169.17 250.87
180.65 236.24
168.3 209.12
180.73 237.31
192.55 251.67
159.43 205.36
150.11 167.21
126.05 150.42
106.08 154.09
119.92 183.67
157.06 246.66
156.59 227.58
161.21 214.6
151.94 208.41
137.47 181.21
134.1 185.67
153.25 230.86
166.02 266.34
203.24 310.29
194.83 267.18
208.18 303.03
204.4 278.46
171.61 293.36
180.87 283.62
154.12 274.26
133.4 218.12
139.22 265.62
120.43 226.7
119.53 258
90.41 196.98
100.48 213.38
85.16 209.17
70.41 184.5
70.04 192.61
54.59 155.83
59.59 176.32
48.84 172.13
48.78 161.63
47.25 163
42.9 157.63
40.8 154.5
43.23 174.28
34.23 135.17
34.09 141.36
38.27 157.83
33.9 145.65
27.48 112.06
31.12 106.85
49.16 170.91
28.44 156.26
26.6 140.78
33.02 148.35
29.34 132.61
27.49 115.72
27.67 116.07
19.29 98.76
17.65 100.33
15.43 89.12
18.43 88.67
22.12 100.58
19.88 76.84
16.48 81.1
14 69.6
11.25 64.55
17.38 80.36
16.45 79.79
15.69 74.79
15.25 64.86
14.64 62.27




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285902&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285902&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Price_of_chicken[t] = -65.3241 + 0.882263Price_of_a_dozen_eggs[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Price_of_chicken[t] =  -65.3241 +  0.882263Price_of_a_dozen_eggs[t]  + e[t] \tabularnewline
 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285902&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Price_of_chicken[t] =  -65.3241 +  0.882263Price_of_a_dozen_eggs[t]  + e[t][/C][/ROW]
[ROW][C][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285902&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285902&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
Price_of_chicken[t] = -65.3241 + 0.882263Price_of_a_dozen_eggs[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-65.32 9.549-6.8410e+00 2.742e-09 1.371e-09
Price_of_a_dozen_eggs+0.8823 0.05104+1.7280e+01 1.392e-26 6.961e-27

\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) & -65.32 &  9.549 & -6.8410e+00 &  2.742e-09 &  1.371e-09 \tabularnewline
Price_of_a_dozen_eggs & +0.8823 &  0.05104 & +1.7280e+01 &  1.392e-26 &  6.961e-27 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285902&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]-65.32[/C][C] 9.549[/C][C]-6.8410e+00[/C][C] 2.742e-09[/C][C] 1.371e-09[/C][/ROW]
[ROW][C]Price_of_a_dozen_eggs[/C][C]+0.8823[/C][C] 0.05104[/C][C]+1.7280e+01[/C][C] 1.392e-26[/C][C] 6.961e-27[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285902&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285902&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)-65.32 9.549-6.8410e+00 2.742e-09 1.371e-09
Price_of_a_dozen_eggs+0.8823 0.05104+1.7280e+01 1.392e-26 6.961e-27







Multiple Linear Regression - Regression Statistics
Multiple R 0.9025
R-squared 0.8146
Adjusted R-squared 0.8119
F-TEST (value) 298.8
F-TEST (DF numerator)1
F-TEST (DF denominator)68
p-value 0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 28.48
Sum Squared Residuals 5.517e+04

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R &  0.9025 \tabularnewline
R-squared &  0.8146 \tabularnewline
Adjusted R-squared &  0.8119 \tabularnewline
F-TEST (value) &  298.8 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 68 \tabularnewline
p-value &  0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation &  28.48 \tabularnewline
Sum Squared Residuals &  5.517e+04 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285902&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C] 0.9025[/C][/ROW]
[ROW][C]R-squared[/C][C] 0.8146[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C] 0.8119[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C] 298.8[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]68[/C][/ROW]
[ROW][C]p-value[/C][C] 0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C] 28.48[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 5.517e+04[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285902&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285902&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 R 0.9025
R-squared 0.8146
Adjusted R-squared 0.8119
F-TEST (value) 298.8
F-TEST (DF numerator)1
F-TEST (DF denominator)68
p-value 0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 28.48
Sum Squared Residuals 5.517e+04







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1 164.2 134 30.15
2 169.2 156 13.16
3 180.7 143.1 37.55
4 168.3 119.2 49.13
5 180.7 144 36.68
6 192.6 156.7 35.84
7 159.4 115.9 43.57
8 150.1 82.2 67.91
9 126 67.39 58.66
10 106.1 70.62 35.46
11 119.9 96.72 23.2
12 157.1 152.3 4.765
13 156.6 135.5 21.13
14 161.2 124 37.2
15 151.9 118.5 33.39
16 137.5 94.55 42.92
17 134.1 98.49 35.61
18 153.2 138.4 14.89
19 166 169.7-3.638
20 203.2 208.4-5.193
21 194.8 170.4 24.43
22 208.2 202 6.152
23 204.4 180.4 24.05
24 171.6 193.5-21.89
25 180.9 184.9-4.033
26 154.1 176.6-22.53
27 133.4 127.1 6.285
28 139.2 169-29.8
29 120.4 134.7-14.25
30 119.5 162.3-42.77
31 90.41 108.5-18.05
32 100.5 122.9-22.45
33 85.16 119.2-34.06
34 70.41 97.45-27.04
35 70.04 104.6-34.57
36 54.59 72.16-17.57
37 59.59 90.24-30.65
38 48.84 86.54-37.7
39 48.78 77.28-28.5
40 47.25 78.48-31.23
41 42.9 73.75-30.85
42 40.8 70.99-30.19
43 43.23 88.44-45.21
44 34.23 53.93-19.7
45 34.09 59.39-25.3
46 38.27 73.92-35.65
47 33.9 63.18-29.28
48 27.48 33.54-6.062
49 31.12 28.95 2.174
50 49.16 85.46-36.3
51 28.44 72.54-44.1
52 26.6 58.88-32.28
53 33.02 65.56-32.54
54 29.34 51.67-22.33
55 27.49 36.77-9.281
56 27.67 37.08-9.41
57 19.29 21.81-2.518
58 17.65 23.19-5.543
59 15.43 13.3 2.127
60 18.43 12.91 5.524
61 22.12 23.41-1.294
62 19.88 2.469 17.41
63 16.48 6.227 10.25
64 14-3.919 17.92
65 11.25-8.374 19.62
66 17.38 5.575 11.81
67 16.45 5.072 11.38
68 15.69 0.6603 15.03
69 15.25-8.101 23.35
70 14.64-10.39 25.03

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 &  164.2 &  134 &  30.15 \tabularnewline
2 &  169.2 &  156 &  13.16 \tabularnewline
3 &  180.7 &  143.1 &  37.55 \tabularnewline
4 &  168.3 &  119.2 &  49.13 \tabularnewline
5 &  180.7 &  144 &  36.68 \tabularnewline
6 &  192.6 &  156.7 &  35.84 \tabularnewline
7 &  159.4 &  115.9 &  43.57 \tabularnewline
8 &  150.1 &  82.2 &  67.91 \tabularnewline
9 &  126 &  67.39 &  58.66 \tabularnewline
10 &  106.1 &  70.62 &  35.46 \tabularnewline
11 &  119.9 &  96.72 &  23.2 \tabularnewline
12 &  157.1 &  152.3 &  4.765 \tabularnewline
13 &  156.6 &  135.5 &  21.13 \tabularnewline
14 &  161.2 &  124 &  37.2 \tabularnewline
15 &  151.9 &  118.5 &  33.39 \tabularnewline
16 &  137.5 &  94.55 &  42.92 \tabularnewline
17 &  134.1 &  98.49 &  35.61 \tabularnewline
18 &  153.2 &  138.4 &  14.89 \tabularnewline
19 &  166 &  169.7 & -3.638 \tabularnewline
20 &  203.2 &  208.4 & -5.193 \tabularnewline
21 &  194.8 &  170.4 &  24.43 \tabularnewline
22 &  208.2 &  202 &  6.152 \tabularnewline
23 &  204.4 &  180.4 &  24.05 \tabularnewline
24 &  171.6 &  193.5 & -21.89 \tabularnewline
25 &  180.9 &  184.9 & -4.033 \tabularnewline
26 &  154.1 &  176.6 & -22.53 \tabularnewline
27 &  133.4 &  127.1 &  6.285 \tabularnewline
28 &  139.2 &  169 & -29.8 \tabularnewline
29 &  120.4 &  134.7 & -14.25 \tabularnewline
30 &  119.5 &  162.3 & -42.77 \tabularnewline
31 &  90.41 &  108.5 & -18.05 \tabularnewline
32 &  100.5 &  122.9 & -22.45 \tabularnewline
33 &  85.16 &  119.2 & -34.06 \tabularnewline
34 &  70.41 &  97.45 & -27.04 \tabularnewline
35 &  70.04 &  104.6 & -34.57 \tabularnewline
36 &  54.59 &  72.16 & -17.57 \tabularnewline
37 &  59.59 &  90.24 & -30.65 \tabularnewline
38 &  48.84 &  86.54 & -37.7 \tabularnewline
39 &  48.78 &  77.28 & -28.5 \tabularnewline
40 &  47.25 &  78.48 & -31.23 \tabularnewline
41 &  42.9 &  73.75 & -30.85 \tabularnewline
42 &  40.8 &  70.99 & -30.19 \tabularnewline
43 &  43.23 &  88.44 & -45.21 \tabularnewline
44 &  34.23 &  53.93 & -19.7 \tabularnewline
45 &  34.09 &  59.39 & -25.3 \tabularnewline
46 &  38.27 &  73.92 & -35.65 \tabularnewline
47 &  33.9 &  63.18 & -29.28 \tabularnewline
48 &  27.48 &  33.54 & -6.062 \tabularnewline
49 &  31.12 &  28.95 &  2.174 \tabularnewline
50 &  49.16 &  85.46 & -36.3 \tabularnewline
51 &  28.44 &  72.54 & -44.1 \tabularnewline
52 &  26.6 &  58.88 & -32.28 \tabularnewline
53 &  33.02 &  65.56 & -32.54 \tabularnewline
54 &  29.34 &  51.67 & -22.33 \tabularnewline
55 &  27.49 &  36.77 & -9.281 \tabularnewline
56 &  27.67 &  37.08 & -9.41 \tabularnewline
57 &  19.29 &  21.81 & -2.518 \tabularnewline
58 &  17.65 &  23.19 & -5.543 \tabularnewline
59 &  15.43 &  13.3 &  2.127 \tabularnewline
60 &  18.43 &  12.91 &  5.524 \tabularnewline
61 &  22.12 &  23.41 & -1.294 \tabularnewline
62 &  19.88 &  2.469 &  17.41 \tabularnewline
63 &  16.48 &  6.227 &  10.25 \tabularnewline
64 &  14 & -3.919 &  17.92 \tabularnewline
65 &  11.25 & -8.374 &  19.62 \tabularnewline
66 &  17.38 &  5.575 &  11.81 \tabularnewline
67 &  16.45 &  5.072 &  11.38 \tabularnewline
68 &  15.69 &  0.6603 &  15.03 \tabularnewline
69 &  15.25 & -8.101 &  23.35 \tabularnewline
70 &  14.64 & -10.39 &  25.03 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285902&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] 164.2[/C][C] 134[/C][C] 30.15[/C][/ROW]
[ROW][C]2[/C][C] 169.2[/C][C] 156[/C][C] 13.16[/C][/ROW]
[ROW][C]3[/C][C] 180.7[/C][C] 143.1[/C][C] 37.55[/C][/ROW]
[ROW][C]4[/C][C] 168.3[/C][C] 119.2[/C][C] 49.13[/C][/ROW]
[ROW][C]5[/C][C] 180.7[/C][C] 144[/C][C] 36.68[/C][/ROW]
[ROW][C]6[/C][C] 192.6[/C][C] 156.7[/C][C] 35.84[/C][/ROW]
[ROW][C]7[/C][C] 159.4[/C][C] 115.9[/C][C] 43.57[/C][/ROW]
[ROW][C]8[/C][C] 150.1[/C][C] 82.2[/C][C] 67.91[/C][/ROW]
[ROW][C]9[/C][C] 126[/C][C] 67.39[/C][C] 58.66[/C][/ROW]
[ROW][C]10[/C][C] 106.1[/C][C] 70.62[/C][C] 35.46[/C][/ROW]
[ROW][C]11[/C][C] 119.9[/C][C] 96.72[/C][C] 23.2[/C][/ROW]
[ROW][C]12[/C][C] 157.1[/C][C] 152.3[/C][C] 4.765[/C][/ROW]
[ROW][C]13[/C][C] 156.6[/C][C] 135.5[/C][C] 21.13[/C][/ROW]
[ROW][C]14[/C][C] 161.2[/C][C] 124[/C][C] 37.2[/C][/ROW]
[ROW][C]15[/C][C] 151.9[/C][C] 118.5[/C][C] 33.39[/C][/ROW]
[ROW][C]16[/C][C] 137.5[/C][C] 94.55[/C][C] 42.92[/C][/ROW]
[ROW][C]17[/C][C] 134.1[/C][C] 98.49[/C][C] 35.61[/C][/ROW]
[ROW][C]18[/C][C] 153.2[/C][C] 138.4[/C][C] 14.89[/C][/ROW]
[ROW][C]19[/C][C] 166[/C][C] 169.7[/C][C]-3.638[/C][/ROW]
[ROW][C]20[/C][C] 203.2[/C][C] 208.4[/C][C]-5.193[/C][/ROW]
[ROW][C]21[/C][C] 194.8[/C][C] 170.4[/C][C] 24.43[/C][/ROW]
[ROW][C]22[/C][C] 208.2[/C][C] 202[/C][C] 6.152[/C][/ROW]
[ROW][C]23[/C][C] 204.4[/C][C] 180.4[/C][C] 24.05[/C][/ROW]
[ROW][C]24[/C][C] 171.6[/C][C] 193.5[/C][C]-21.89[/C][/ROW]
[ROW][C]25[/C][C] 180.9[/C][C] 184.9[/C][C]-4.033[/C][/ROW]
[ROW][C]26[/C][C] 154.1[/C][C] 176.6[/C][C]-22.53[/C][/ROW]
[ROW][C]27[/C][C] 133.4[/C][C] 127.1[/C][C] 6.285[/C][/ROW]
[ROW][C]28[/C][C] 139.2[/C][C] 169[/C][C]-29.8[/C][/ROW]
[ROW][C]29[/C][C] 120.4[/C][C] 134.7[/C][C]-14.25[/C][/ROW]
[ROW][C]30[/C][C] 119.5[/C][C] 162.3[/C][C]-42.77[/C][/ROW]
[ROW][C]31[/C][C] 90.41[/C][C] 108.5[/C][C]-18.05[/C][/ROW]
[ROW][C]32[/C][C] 100.5[/C][C] 122.9[/C][C]-22.45[/C][/ROW]
[ROW][C]33[/C][C] 85.16[/C][C] 119.2[/C][C]-34.06[/C][/ROW]
[ROW][C]34[/C][C] 70.41[/C][C] 97.45[/C][C]-27.04[/C][/ROW]
[ROW][C]35[/C][C] 70.04[/C][C] 104.6[/C][C]-34.57[/C][/ROW]
[ROW][C]36[/C][C] 54.59[/C][C] 72.16[/C][C]-17.57[/C][/ROW]
[ROW][C]37[/C][C] 59.59[/C][C] 90.24[/C][C]-30.65[/C][/ROW]
[ROW][C]38[/C][C] 48.84[/C][C] 86.54[/C][C]-37.7[/C][/ROW]
[ROW][C]39[/C][C] 48.78[/C][C] 77.28[/C][C]-28.5[/C][/ROW]
[ROW][C]40[/C][C] 47.25[/C][C] 78.48[/C][C]-31.23[/C][/ROW]
[ROW][C]41[/C][C] 42.9[/C][C] 73.75[/C][C]-30.85[/C][/ROW]
[ROW][C]42[/C][C] 40.8[/C][C] 70.99[/C][C]-30.19[/C][/ROW]
[ROW][C]43[/C][C] 43.23[/C][C] 88.44[/C][C]-45.21[/C][/ROW]
[ROW][C]44[/C][C] 34.23[/C][C] 53.93[/C][C]-19.7[/C][/ROW]
[ROW][C]45[/C][C] 34.09[/C][C] 59.39[/C][C]-25.3[/C][/ROW]
[ROW][C]46[/C][C] 38.27[/C][C] 73.92[/C][C]-35.65[/C][/ROW]
[ROW][C]47[/C][C] 33.9[/C][C] 63.18[/C][C]-29.28[/C][/ROW]
[ROW][C]48[/C][C] 27.48[/C][C] 33.54[/C][C]-6.062[/C][/ROW]
[ROW][C]49[/C][C] 31.12[/C][C] 28.95[/C][C] 2.174[/C][/ROW]
[ROW][C]50[/C][C] 49.16[/C][C] 85.46[/C][C]-36.3[/C][/ROW]
[ROW][C]51[/C][C] 28.44[/C][C] 72.54[/C][C]-44.1[/C][/ROW]
[ROW][C]52[/C][C] 26.6[/C][C] 58.88[/C][C]-32.28[/C][/ROW]
[ROW][C]53[/C][C] 33.02[/C][C] 65.56[/C][C]-32.54[/C][/ROW]
[ROW][C]54[/C][C] 29.34[/C][C] 51.67[/C][C]-22.33[/C][/ROW]
[ROW][C]55[/C][C] 27.49[/C][C] 36.77[/C][C]-9.281[/C][/ROW]
[ROW][C]56[/C][C] 27.67[/C][C] 37.08[/C][C]-9.41[/C][/ROW]
[ROW][C]57[/C][C] 19.29[/C][C] 21.81[/C][C]-2.518[/C][/ROW]
[ROW][C]58[/C][C] 17.65[/C][C] 23.19[/C][C]-5.543[/C][/ROW]
[ROW][C]59[/C][C] 15.43[/C][C] 13.3[/C][C] 2.127[/C][/ROW]
[ROW][C]60[/C][C] 18.43[/C][C] 12.91[/C][C] 5.524[/C][/ROW]
[ROW][C]61[/C][C] 22.12[/C][C] 23.41[/C][C]-1.294[/C][/ROW]
[ROW][C]62[/C][C] 19.88[/C][C] 2.469[/C][C] 17.41[/C][/ROW]
[ROW][C]63[/C][C] 16.48[/C][C] 6.227[/C][C] 10.25[/C][/ROW]
[ROW][C]64[/C][C] 14[/C][C]-3.919[/C][C] 17.92[/C][/ROW]
[ROW][C]65[/C][C] 11.25[/C][C]-8.374[/C][C] 19.62[/C][/ROW]
[ROW][C]66[/C][C] 17.38[/C][C] 5.575[/C][C] 11.81[/C][/ROW]
[ROW][C]67[/C][C] 16.45[/C][C] 5.072[/C][C] 11.38[/C][/ROW]
[ROW][C]68[/C][C] 15.69[/C][C] 0.6603[/C][C] 15.03[/C][/ROW]
[ROW][C]69[/C][C] 15.25[/C][C]-8.101[/C][C] 23.35[/C][/ROW]
[ROW][C]70[/C][C] 14.64[/C][C]-10.39[/C][C] 25.03[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285902&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285902&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
1 164.2 134 30.15
2 169.2 156 13.16
3 180.7 143.1 37.55
4 168.3 119.2 49.13
5 180.7 144 36.68
6 192.6 156.7 35.84
7 159.4 115.9 43.57
8 150.1 82.2 67.91
9 126 67.39 58.66
10 106.1 70.62 35.46
11 119.9 96.72 23.2
12 157.1 152.3 4.765
13 156.6 135.5 21.13
14 161.2 124 37.2
15 151.9 118.5 33.39
16 137.5 94.55 42.92
17 134.1 98.49 35.61
18 153.2 138.4 14.89
19 166 169.7-3.638
20 203.2 208.4-5.193
21 194.8 170.4 24.43
22 208.2 202 6.152
23 204.4 180.4 24.05
24 171.6 193.5-21.89
25 180.9 184.9-4.033
26 154.1 176.6-22.53
27 133.4 127.1 6.285
28 139.2 169-29.8
29 120.4 134.7-14.25
30 119.5 162.3-42.77
31 90.41 108.5-18.05
32 100.5 122.9-22.45
33 85.16 119.2-34.06
34 70.41 97.45-27.04
35 70.04 104.6-34.57
36 54.59 72.16-17.57
37 59.59 90.24-30.65
38 48.84 86.54-37.7
39 48.78 77.28-28.5
40 47.25 78.48-31.23
41 42.9 73.75-30.85
42 40.8 70.99-30.19
43 43.23 88.44-45.21
44 34.23 53.93-19.7
45 34.09 59.39-25.3
46 38.27 73.92-35.65
47 33.9 63.18-29.28
48 27.48 33.54-6.062
49 31.12 28.95 2.174
50 49.16 85.46-36.3
51 28.44 72.54-44.1
52 26.6 58.88-32.28
53 33.02 65.56-32.54
54 29.34 51.67-22.33
55 27.49 36.77-9.281
56 27.67 37.08-9.41
57 19.29 21.81-2.518
58 17.65 23.19-5.543
59 15.43 13.3 2.127
60 18.43 12.91 5.524
61 22.12 23.41-1.294
62 19.88 2.469 17.41
63 16.48 6.227 10.25
64 14-3.919 17.92
65 11.25-8.374 19.62
66 17.38 5.575 11.81
67 16.45 5.072 11.38
68 15.69 0.6603 15.03
69 15.25-8.101 23.35
70 14.64-10.39 25.03







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
5 0.03438 0.06875 0.9656
6 0.02742 0.05483 0.9726
7 0.009924 0.01985 0.9901
8 0.004186 0.008372 0.9958
9 0.003879 0.007758 0.9961
10 0.01935 0.0387 0.9807
11 0.03516 0.07032 0.9648
12 0.04926 0.09852 0.9507
13 0.0357 0.07141 0.9643
14 0.02717 0.05435 0.9728
15 0.02075 0.0415 0.9793
16 0.0194 0.03879 0.9806
17 0.01943 0.03886 0.9806
18 0.02062 0.04123 0.9794
19 0.02508 0.05016 0.9749
20 0.01712 0.03425 0.9829
21 0.02743 0.05486 0.9726
22 0.03119 0.06238 0.9688
23 0.1062 0.2123 0.8938
24 0.2169 0.4338 0.7831
25 0.3558 0.7116 0.6442
26 0.6144 0.7712 0.3856
27 0.8873 0.2253 0.1127
28 0.9835 0.0331 0.01655
29 0.9993 0.001311 0.0006556
30 1 3.309e-05 1.654e-05
31 1 4.992e-07 2.496e-07
32 1 6.045e-10 3.022e-10
33 1 2.555e-12 1.277e-12
34 1 2.902e-14 1.451e-14
35 1 3.579e-16 1.79e-16
36 1 1.456e-17 7.281e-18
37 1 2.887e-19 1.443e-19
38 1 2.678e-19 1.339e-19
39 1 1.031e-19 5.153e-20
40 1 6.906e-20 3.453e-20
41 1 1.405e-19 7.027e-20
42 1 4.341e-19 2.17e-19
43 1 1.727e-18 8.635e-19
44 1 9.948e-18 4.974e-18
45 1 7.019e-17 3.51e-17
46 1 4.202e-16 2.101e-16
47 1 3.099e-15 1.55e-15
48 1 2.123e-14 1.062e-14
49 1 2.314e-14 1.157e-14
50 1 6.862e-17 3.431e-17
51 1 1.378e-16 6.889e-17
52 1 3.638e-16 1.819e-16
53 1 5.049e-15 2.524e-15
54 1 7.236e-14 3.618e-14
55 1 4.663e-13 2.332e-13
56 1 7.554e-13 3.777e-13
57 1 1.214e-11 6.071e-12
58 1 8.431e-11 4.216e-11
59 1 2.249e-10 1.125e-10
60 1 3.666e-09 1.833e-09
61 1 6.388e-08 3.194e-08
62 1 1.015e-07 5.073e-08
63 1 2.17e-06 1.085e-06
64 1 3.925e-05 1.962e-05
65 1 1.284e-05 6.418e-06

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 &  0.03438 &  0.06875 &  0.9656 \tabularnewline
6 &  0.02742 &  0.05483 &  0.9726 \tabularnewline
7 &  0.009924 &  0.01985 &  0.9901 \tabularnewline
8 &  0.004186 &  0.008372 &  0.9958 \tabularnewline
9 &  0.003879 &  0.007758 &  0.9961 \tabularnewline
10 &  0.01935 &  0.0387 &  0.9807 \tabularnewline
11 &  0.03516 &  0.07032 &  0.9648 \tabularnewline
12 &  0.04926 &  0.09852 &  0.9507 \tabularnewline
13 &  0.0357 &  0.07141 &  0.9643 \tabularnewline
14 &  0.02717 &  0.05435 &  0.9728 \tabularnewline
15 &  0.02075 &  0.0415 &  0.9793 \tabularnewline
16 &  0.0194 &  0.03879 &  0.9806 \tabularnewline
17 &  0.01943 &  0.03886 &  0.9806 \tabularnewline
18 &  0.02062 &  0.04123 &  0.9794 \tabularnewline
19 &  0.02508 &  0.05016 &  0.9749 \tabularnewline
20 &  0.01712 &  0.03425 &  0.9829 \tabularnewline
21 &  0.02743 &  0.05486 &  0.9726 \tabularnewline
22 &  0.03119 &  0.06238 &  0.9688 \tabularnewline
23 &  0.1062 &  0.2123 &  0.8938 \tabularnewline
24 &  0.2169 &  0.4338 &  0.7831 \tabularnewline
25 &  0.3558 &  0.7116 &  0.6442 \tabularnewline
26 &  0.6144 &  0.7712 &  0.3856 \tabularnewline
27 &  0.8873 &  0.2253 &  0.1127 \tabularnewline
28 &  0.9835 &  0.0331 &  0.01655 \tabularnewline
29 &  0.9993 &  0.001311 &  0.0006556 \tabularnewline
30 &  1 &  3.309e-05 &  1.654e-05 \tabularnewline
31 &  1 &  4.992e-07 &  2.496e-07 \tabularnewline
32 &  1 &  6.045e-10 &  3.022e-10 \tabularnewline
33 &  1 &  2.555e-12 &  1.277e-12 \tabularnewline
34 &  1 &  2.902e-14 &  1.451e-14 \tabularnewline
35 &  1 &  3.579e-16 &  1.79e-16 \tabularnewline
36 &  1 &  1.456e-17 &  7.281e-18 \tabularnewline
37 &  1 &  2.887e-19 &  1.443e-19 \tabularnewline
38 &  1 &  2.678e-19 &  1.339e-19 \tabularnewline
39 &  1 &  1.031e-19 &  5.153e-20 \tabularnewline
40 &  1 &  6.906e-20 &  3.453e-20 \tabularnewline
41 &  1 &  1.405e-19 &  7.027e-20 \tabularnewline
42 &  1 &  4.341e-19 &  2.17e-19 \tabularnewline
43 &  1 &  1.727e-18 &  8.635e-19 \tabularnewline
44 &  1 &  9.948e-18 &  4.974e-18 \tabularnewline
45 &  1 &  7.019e-17 &  3.51e-17 \tabularnewline
46 &  1 &  4.202e-16 &  2.101e-16 \tabularnewline
47 &  1 &  3.099e-15 &  1.55e-15 \tabularnewline
48 &  1 &  2.123e-14 &  1.062e-14 \tabularnewline
49 &  1 &  2.314e-14 &  1.157e-14 \tabularnewline
50 &  1 &  6.862e-17 &  3.431e-17 \tabularnewline
51 &  1 &  1.378e-16 &  6.889e-17 \tabularnewline
52 &  1 &  3.638e-16 &  1.819e-16 \tabularnewline
53 &  1 &  5.049e-15 &  2.524e-15 \tabularnewline
54 &  1 &  7.236e-14 &  3.618e-14 \tabularnewline
55 &  1 &  4.663e-13 &  2.332e-13 \tabularnewline
56 &  1 &  7.554e-13 &  3.777e-13 \tabularnewline
57 &  1 &  1.214e-11 &  6.071e-12 \tabularnewline
58 &  1 &  8.431e-11 &  4.216e-11 \tabularnewline
59 &  1 &  2.249e-10 &  1.125e-10 \tabularnewline
60 &  1 &  3.666e-09 &  1.833e-09 \tabularnewline
61 &  1 &  6.388e-08 &  3.194e-08 \tabularnewline
62 &  1 &  1.015e-07 &  5.073e-08 \tabularnewline
63 &  1 &  2.17e-06 &  1.085e-06 \tabularnewline
64 &  1 &  3.925e-05 &  1.962e-05 \tabularnewline
65 &  1 &  1.284e-05 &  6.418e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285902&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.03438[/C][C] 0.06875[/C][C] 0.9656[/C][/ROW]
[ROW][C]6[/C][C] 0.02742[/C][C] 0.05483[/C][C] 0.9726[/C][/ROW]
[ROW][C]7[/C][C] 0.009924[/C][C] 0.01985[/C][C] 0.9901[/C][/ROW]
[ROW][C]8[/C][C] 0.004186[/C][C] 0.008372[/C][C] 0.9958[/C][/ROW]
[ROW][C]9[/C][C] 0.003879[/C][C] 0.007758[/C][C] 0.9961[/C][/ROW]
[ROW][C]10[/C][C] 0.01935[/C][C] 0.0387[/C][C] 0.9807[/C][/ROW]
[ROW][C]11[/C][C] 0.03516[/C][C] 0.07032[/C][C] 0.9648[/C][/ROW]
[ROW][C]12[/C][C] 0.04926[/C][C] 0.09852[/C][C] 0.9507[/C][/ROW]
[ROW][C]13[/C][C] 0.0357[/C][C] 0.07141[/C][C] 0.9643[/C][/ROW]
[ROW][C]14[/C][C] 0.02717[/C][C] 0.05435[/C][C] 0.9728[/C][/ROW]
[ROW][C]15[/C][C] 0.02075[/C][C] 0.0415[/C][C] 0.9793[/C][/ROW]
[ROW][C]16[/C][C] 0.0194[/C][C] 0.03879[/C][C] 0.9806[/C][/ROW]
[ROW][C]17[/C][C] 0.01943[/C][C] 0.03886[/C][C] 0.9806[/C][/ROW]
[ROW][C]18[/C][C] 0.02062[/C][C] 0.04123[/C][C] 0.9794[/C][/ROW]
[ROW][C]19[/C][C] 0.02508[/C][C] 0.05016[/C][C] 0.9749[/C][/ROW]
[ROW][C]20[/C][C] 0.01712[/C][C] 0.03425[/C][C] 0.9829[/C][/ROW]
[ROW][C]21[/C][C] 0.02743[/C][C] 0.05486[/C][C] 0.9726[/C][/ROW]
[ROW][C]22[/C][C] 0.03119[/C][C] 0.06238[/C][C] 0.9688[/C][/ROW]
[ROW][C]23[/C][C] 0.1062[/C][C] 0.2123[/C][C] 0.8938[/C][/ROW]
[ROW][C]24[/C][C] 0.2169[/C][C] 0.4338[/C][C] 0.7831[/C][/ROW]
[ROW][C]25[/C][C] 0.3558[/C][C] 0.7116[/C][C] 0.6442[/C][/ROW]
[ROW][C]26[/C][C] 0.6144[/C][C] 0.7712[/C][C] 0.3856[/C][/ROW]
[ROW][C]27[/C][C] 0.8873[/C][C] 0.2253[/C][C] 0.1127[/C][/ROW]
[ROW][C]28[/C][C] 0.9835[/C][C] 0.0331[/C][C] 0.01655[/C][/ROW]
[ROW][C]29[/C][C] 0.9993[/C][C] 0.001311[/C][C] 0.0006556[/C][/ROW]
[ROW][C]30[/C][C] 1[/C][C] 3.309e-05[/C][C] 1.654e-05[/C][/ROW]
[ROW][C]31[/C][C] 1[/C][C] 4.992e-07[/C][C] 2.496e-07[/C][/ROW]
[ROW][C]32[/C][C] 1[/C][C] 6.045e-10[/C][C] 3.022e-10[/C][/ROW]
[ROW][C]33[/C][C] 1[/C][C] 2.555e-12[/C][C] 1.277e-12[/C][/ROW]
[ROW][C]34[/C][C] 1[/C][C] 2.902e-14[/C][C] 1.451e-14[/C][/ROW]
[ROW][C]35[/C][C] 1[/C][C] 3.579e-16[/C][C] 1.79e-16[/C][/ROW]
[ROW][C]36[/C][C] 1[/C][C] 1.456e-17[/C][C] 7.281e-18[/C][/ROW]
[ROW][C]37[/C][C] 1[/C][C] 2.887e-19[/C][C] 1.443e-19[/C][/ROW]
[ROW][C]38[/C][C] 1[/C][C] 2.678e-19[/C][C] 1.339e-19[/C][/ROW]
[ROW][C]39[/C][C] 1[/C][C] 1.031e-19[/C][C] 5.153e-20[/C][/ROW]
[ROW][C]40[/C][C] 1[/C][C] 6.906e-20[/C][C] 3.453e-20[/C][/ROW]
[ROW][C]41[/C][C] 1[/C][C] 1.405e-19[/C][C] 7.027e-20[/C][/ROW]
[ROW][C]42[/C][C] 1[/C][C] 4.341e-19[/C][C] 2.17e-19[/C][/ROW]
[ROW][C]43[/C][C] 1[/C][C] 1.727e-18[/C][C] 8.635e-19[/C][/ROW]
[ROW][C]44[/C][C] 1[/C][C] 9.948e-18[/C][C] 4.974e-18[/C][/ROW]
[ROW][C]45[/C][C] 1[/C][C] 7.019e-17[/C][C] 3.51e-17[/C][/ROW]
[ROW][C]46[/C][C] 1[/C][C] 4.202e-16[/C][C] 2.101e-16[/C][/ROW]
[ROW][C]47[/C][C] 1[/C][C] 3.099e-15[/C][C] 1.55e-15[/C][/ROW]
[ROW][C]48[/C][C] 1[/C][C] 2.123e-14[/C][C] 1.062e-14[/C][/ROW]
[ROW][C]49[/C][C] 1[/C][C] 2.314e-14[/C][C] 1.157e-14[/C][/ROW]
[ROW][C]50[/C][C] 1[/C][C] 6.862e-17[/C][C] 3.431e-17[/C][/ROW]
[ROW][C]51[/C][C] 1[/C][C] 1.378e-16[/C][C] 6.889e-17[/C][/ROW]
[ROW][C]52[/C][C] 1[/C][C] 3.638e-16[/C][C] 1.819e-16[/C][/ROW]
[ROW][C]53[/C][C] 1[/C][C] 5.049e-15[/C][C] 2.524e-15[/C][/ROW]
[ROW][C]54[/C][C] 1[/C][C] 7.236e-14[/C][C] 3.618e-14[/C][/ROW]
[ROW][C]55[/C][C] 1[/C][C] 4.663e-13[/C][C] 2.332e-13[/C][/ROW]
[ROW][C]56[/C][C] 1[/C][C] 7.554e-13[/C][C] 3.777e-13[/C][/ROW]
[ROW][C]57[/C][C] 1[/C][C] 1.214e-11[/C][C] 6.071e-12[/C][/ROW]
[ROW][C]58[/C][C] 1[/C][C] 8.431e-11[/C][C] 4.216e-11[/C][/ROW]
[ROW][C]59[/C][C] 1[/C][C] 2.249e-10[/C][C] 1.125e-10[/C][/ROW]
[ROW][C]60[/C][C] 1[/C][C] 3.666e-09[/C][C] 1.833e-09[/C][/ROW]
[ROW][C]61[/C][C] 1[/C][C] 6.388e-08[/C][C] 3.194e-08[/C][/ROW]
[ROW][C]62[/C][C] 1[/C][C] 1.015e-07[/C][C] 5.073e-08[/C][/ROW]
[ROW][C]63[/C][C] 1[/C][C] 2.17e-06[/C][C] 1.085e-06[/C][/ROW]
[ROW][C]64[/C][C] 1[/C][C] 3.925e-05[/C][C] 1.962e-05[/C][/ROW]
[ROW][C]65[/C][C] 1[/C][C] 1.284e-05[/C][C] 6.418e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285902&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285902&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
5 0.03438 0.06875 0.9656
6 0.02742 0.05483 0.9726
7 0.009924 0.01985 0.9901
8 0.004186 0.008372 0.9958
9 0.003879 0.007758 0.9961
10 0.01935 0.0387 0.9807
11 0.03516 0.07032 0.9648
12 0.04926 0.09852 0.9507
13 0.0357 0.07141 0.9643
14 0.02717 0.05435 0.9728
15 0.02075 0.0415 0.9793
16 0.0194 0.03879 0.9806
17 0.01943 0.03886 0.9806
18 0.02062 0.04123 0.9794
19 0.02508 0.05016 0.9749
20 0.01712 0.03425 0.9829
21 0.02743 0.05486 0.9726
22 0.03119 0.06238 0.9688
23 0.1062 0.2123 0.8938
24 0.2169 0.4338 0.7831
25 0.3558 0.7116 0.6442
26 0.6144 0.7712 0.3856
27 0.8873 0.2253 0.1127
28 0.9835 0.0331 0.01655
29 0.9993 0.001311 0.0006556
30 1 3.309e-05 1.654e-05
31 1 4.992e-07 2.496e-07
32 1 6.045e-10 3.022e-10
33 1 2.555e-12 1.277e-12
34 1 2.902e-14 1.451e-14
35 1 3.579e-16 1.79e-16
36 1 1.456e-17 7.281e-18
37 1 2.887e-19 1.443e-19
38 1 2.678e-19 1.339e-19
39 1 1.031e-19 5.153e-20
40 1 6.906e-20 3.453e-20
41 1 1.405e-19 7.027e-20
42 1 4.341e-19 2.17e-19
43 1 1.727e-18 8.635e-19
44 1 9.948e-18 4.974e-18
45 1 7.019e-17 3.51e-17
46 1 4.202e-16 2.101e-16
47 1 3.099e-15 1.55e-15
48 1 2.123e-14 1.062e-14
49 1 2.314e-14 1.157e-14
50 1 6.862e-17 3.431e-17
51 1 1.378e-16 6.889e-17
52 1 3.638e-16 1.819e-16
53 1 5.049e-15 2.524e-15
54 1 7.236e-14 3.618e-14
55 1 4.663e-13 2.332e-13
56 1 7.554e-13 3.777e-13
57 1 1.214e-11 6.071e-12
58 1 8.431e-11 4.216e-11
59 1 2.249e-10 1.125e-10
60 1 3.666e-09 1.833e-09
61 1 6.388e-08 3.194e-08
62 1 1.015e-07 5.073e-08
63 1 2.17e-06 1.085e-06
64 1 3.925e-05 1.962e-05
65 1 1.284e-05 6.418e-06







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level39 0.6393NOK
5% type I error level470.770492NOK
10% type I error level560.918033NOK

\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 & 39 &  0.6393 & NOK \tabularnewline
5% type I error level & 47 & 0.770492 & NOK \tabularnewline
10% type I error level & 56 & 0.918033 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285902&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]39[/C][C] 0.6393[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]47[/C][C]0.770492[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]56[/C][C]0.918033[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285902&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285902&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 level39 0.6393NOK
5% type I error level470.770492NOK
10% type I error level560.918033NOK



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 ; par4 = ; par5 = ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
mywarning <- ''
par1 <- as.numeric(par1)
if(is.na(par1)) {
par1 <- 1
mywarning = 'Warning: you did not specify the column number of the endogenous series! The first column was selected by default.'
}
if (par4=='') par4 <- 0
par4 <- as.numeric(par4)
if (par5=='') par5 <- 0
par5 <- as.numeric(par5)
x <- na.omit(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'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'Seasonal Differences (s=12)'){
(n <- n - 12)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B12)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+12,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'First and Seasonal Differences (s=12)'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
(n <- n - 12)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B12)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+12,j] - x[i,j]
}
}
x <- x2
}
if(par4 > 0) {
x2 <- array(0, dim=c(n-par4,par4), dimnames=list(1:(n-par4), paste(colnames(x)[par1],'(t-',1:par4,')',sep='')))
for (i in 1:(n-par4)) {
for (j in 1:par4) {
x2[i,j] <- x[i+par4-j,par1]
}
}
x <- cbind(x[(par4+1):n,], x2)
n <- n - par4
}
if(par5 > 0) {
x2 <- array(0, dim=c(n-par5*12,par5), dimnames=list(1:(n-par5*12), paste(colnames(x)[par1],'(t-',1:par5,'s)',sep='')))
for (i in 1:(n-par5*12)) {
for (j in 1:par5) {
x2[i,j] <- x[i+par5*12-j*12,par1]
}
}
x <- cbind(x[(par5*12+1):n,], x2)
n <- n - par5*12
}
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[n,]))
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
(k <- length(x[n,]))
head(x)
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, signif(mysum$coefficients[i,1],6), 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.row.start(a)
a<-table.element(a, mywarning)
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,formatC(signif(mysum$coefficients[i,1],5),format='g',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,2],5),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,3],4),format='e',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4],4),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4]/2,4),format='g',flag=' '))
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,formatC(signif(sqrt(mysum$r.squared),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$adj.r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a,formatC(signif(mysum$fstatistic[1],6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a,formatC(signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6),format='g',flag=' '))
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,formatC(signif(mysum$sigma,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a,formatC(signif(sum(myerror*myerror),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
if(n < 200) {
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,formatC(signif(x[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(x[i]-mysum$resid[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$resid[i],6),format='g',flag=' '))
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,formatC(signif(gqarr[mypoint-kp3+1,1],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,2],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,3],6),format='g',flag=' '))
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,signif(numsignificant1,6))
a<-table.element(a,formatC(signif(numsignificant1/numgqtests,6),format='g',flag=' '))
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,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
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,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
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')
}
}