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 12:05:09 +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/t1449835811c6p809r1qcrbhzc.htm/, Retrieved Thu, 16 May 2024 16:36:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=285906, Retrieved Thu, 16 May 2024 16:36:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact115
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [MLRM] [2015-12-11 12:05:09] [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'Sir Ronald Aylmer Fisher' @ fisher.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 & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285906&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]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285906&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285906&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'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Price_of_a_dozen_eggs[t] = + 92.7206 + 0.923297Price_of_chicken[t] + e[t]

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)+92.72 5.888+1.5750e+01 2.254e-24 1.127e-24
Price_of_chicken+0.9233 0.05342+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) & +92.72 &  5.888 & +1.5750e+01 &  2.254e-24 &  1.127e-24 \tabularnewline
Price_of_chicken & +0.9233 &  0.05342 & +1.7280e+01 &  1.392e-26 &  6.961e-27 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285906&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]+92.72[/C][C] 5.888[/C][C]+1.5750e+01[/C][C] 2.254e-24[/C][C] 1.127e-24[/C][/ROW]
[ROW][C]Price_of_chicken[/C][C]+0.9233[/C][C] 0.05342[/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=285906&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285906&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)+92.72 5.888+1.5750e+01 2.254e-24 1.127e-24
Price_of_chicken+0.9233 0.05342+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 29.14
Sum Squared Residuals 5.773e+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 &  29.14 \tabularnewline
Sum Squared Residuals &  5.773e+04 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285906&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] 29.14[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 5.773e+04[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285906&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285906&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 29.14
Sum Squared Residuals 5.773e+04







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1 225.9 244.3-18.36
2 250.9 248.9 1.955
3 236.2 259.5-23.27
4 209.1 248.1-38.99
5 237.3 259.6-22.28
6 251.7 270.5-18.83
7 205.4 239.9-34.56
8 167.2 231.3-64.11
9 150.4 209.1-58.68
10 154.1 190.7-36.57
11 183.7 203.4-19.77
12 246.7 237.7 8.926
13 227.6 237.3-9.72
14 214.6 241.6-26.97
15 208.4 233-24.6
16 181.2 219.6-38.44
17 185.7 216.5-30.86
18 230.9 234.2-3.356
19 266.3 246 20.33
20 310.3 280.4 29.92
21 267.2 272.6-5.427
22 303 284.9 18.1
23 278.5 281.4-2.983
24 293.4 251.2 42.19
25 283.6 259.7 23.9
26 274.3 235 39.24
27 218.1 215.9 2.232
28 265.6 221.3 44.36
29 226.7 203.9 22.79
30 258 203.1 54.92
31 197 176.2 20.78
32 213.4 185.5 27.89
33 209.2 171.3 37.82
34 184.5 157.7 26.77
35 192.6 157.4 35.22
36 155.8 143.1 12.71
37 176.3 147.7 28.58
38 172.1 137.8 34.32
39 161.6 137.8 23.87
40 163 136.3 26.65
41 157.6 132.3 25.3
42 154.5 130.4 24.11
43 174.3 132.6 41.65
44 135.2 124.3 10.84
45 141.4 124.2 17.16
46 157.8 128.1 29.77
47 145.7 124 21.63
48 112.1 118.1-6.033
49 106.8 121.5-14.6
50 170.9 138.1 32.8
51 156.3 119 37.28
52 140.8 117.3 23.5
53 148.3 123.2 25.14
54 132.6 119.8 12.8
55 115.7 118.1-2.382
56 116.1 118.3-2.198
57 98.76 110.5-11.77
58 100.3 109-8.687
59 89.12 107-17.85
60 88.67 109.7-21.07
61 100.6 113.1-12.56
62 76.84 111.1-34.24
63 81.1 107.9-26.84
64 69.6 105.6-36.05
65 64.55 103.1-38.56
66 80.36 108.8-28.41
67 79.79 107.9-28.12
68 74.79 107.2-32.42
69 64.86 106.8-41.94
70 62.27 106.2-43.97

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 &  225.9 &  244.3 & -18.36 \tabularnewline
2 &  250.9 &  248.9 &  1.955 \tabularnewline
3 &  236.2 &  259.5 & -23.27 \tabularnewline
4 &  209.1 &  248.1 & -38.99 \tabularnewline
5 &  237.3 &  259.6 & -22.28 \tabularnewline
6 &  251.7 &  270.5 & -18.83 \tabularnewline
7 &  205.4 &  239.9 & -34.56 \tabularnewline
8 &  167.2 &  231.3 & -64.11 \tabularnewline
9 &  150.4 &  209.1 & -58.68 \tabularnewline
10 &  154.1 &  190.7 & -36.57 \tabularnewline
11 &  183.7 &  203.4 & -19.77 \tabularnewline
12 &  246.7 &  237.7 &  8.926 \tabularnewline
13 &  227.6 &  237.3 & -9.72 \tabularnewline
14 &  214.6 &  241.6 & -26.97 \tabularnewline
15 &  208.4 &  233 & -24.6 \tabularnewline
16 &  181.2 &  219.6 & -38.44 \tabularnewline
17 &  185.7 &  216.5 & -30.86 \tabularnewline
18 &  230.9 &  234.2 & -3.356 \tabularnewline
19 &  266.3 &  246 &  20.33 \tabularnewline
20 &  310.3 &  280.4 &  29.92 \tabularnewline
21 &  267.2 &  272.6 & -5.427 \tabularnewline
22 &  303 &  284.9 &  18.1 \tabularnewline
23 &  278.5 &  281.4 & -2.983 \tabularnewline
24 &  293.4 &  251.2 &  42.19 \tabularnewline
25 &  283.6 &  259.7 &  23.9 \tabularnewline
26 &  274.3 &  235 &  39.24 \tabularnewline
27 &  218.1 &  215.9 &  2.232 \tabularnewline
28 &  265.6 &  221.3 &  44.36 \tabularnewline
29 &  226.7 &  203.9 &  22.79 \tabularnewline
30 &  258 &  203.1 &  54.92 \tabularnewline
31 &  197 &  176.2 &  20.78 \tabularnewline
32 &  213.4 &  185.5 &  27.89 \tabularnewline
33 &  209.2 &  171.3 &  37.82 \tabularnewline
34 &  184.5 &  157.7 &  26.77 \tabularnewline
35 &  192.6 &  157.4 &  35.22 \tabularnewline
36 &  155.8 &  143.1 &  12.71 \tabularnewline
37 &  176.3 &  147.7 &  28.58 \tabularnewline
38 &  172.1 &  137.8 &  34.32 \tabularnewline
39 &  161.6 &  137.8 &  23.87 \tabularnewline
40 &  163 &  136.3 &  26.65 \tabularnewline
41 &  157.6 &  132.3 &  25.3 \tabularnewline
42 &  154.5 &  130.4 &  24.11 \tabularnewline
43 &  174.3 &  132.6 &  41.65 \tabularnewline
44 &  135.2 &  124.3 &  10.84 \tabularnewline
45 &  141.4 &  124.2 &  17.16 \tabularnewline
46 &  157.8 &  128.1 &  29.77 \tabularnewline
47 &  145.7 &  124 &  21.63 \tabularnewline
48 &  112.1 &  118.1 & -6.033 \tabularnewline
49 &  106.8 &  121.5 & -14.6 \tabularnewline
50 &  170.9 &  138.1 &  32.8 \tabularnewline
51 &  156.3 &  119 &  37.28 \tabularnewline
52 &  140.8 &  117.3 &  23.5 \tabularnewline
53 &  148.3 &  123.2 &  25.14 \tabularnewline
54 &  132.6 &  119.8 &  12.8 \tabularnewline
55 &  115.7 &  118.1 & -2.382 \tabularnewline
56 &  116.1 &  118.3 & -2.198 \tabularnewline
57 &  98.76 &  110.5 & -11.77 \tabularnewline
58 &  100.3 &  109 & -8.687 \tabularnewline
59 &  89.12 &  107 & -17.85 \tabularnewline
60 &  88.67 &  109.7 & -21.07 \tabularnewline
61 &  100.6 &  113.1 & -12.56 \tabularnewline
62 &  76.84 &  111.1 & -34.24 \tabularnewline
63 &  81.1 &  107.9 & -26.84 \tabularnewline
64 &  69.6 &  105.6 & -36.05 \tabularnewline
65 &  64.55 &  103.1 & -38.56 \tabularnewline
66 &  80.36 &  108.8 & -28.41 \tabularnewline
67 &  79.79 &  107.9 & -28.12 \tabularnewline
68 &  74.79 &  107.2 & -32.42 \tabularnewline
69 &  64.86 &  106.8 & -41.94 \tabularnewline
70 &  62.27 &  106.2 & -43.97 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285906&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] 225.9[/C][C] 244.3[/C][C]-18.36[/C][/ROW]
[ROW][C]2[/C][C] 250.9[/C][C] 248.9[/C][C] 1.955[/C][/ROW]
[ROW][C]3[/C][C] 236.2[/C][C] 259.5[/C][C]-23.27[/C][/ROW]
[ROW][C]4[/C][C] 209.1[/C][C] 248.1[/C][C]-38.99[/C][/ROW]
[ROW][C]5[/C][C] 237.3[/C][C] 259.6[/C][C]-22.28[/C][/ROW]
[ROW][C]6[/C][C] 251.7[/C][C] 270.5[/C][C]-18.83[/C][/ROW]
[ROW][C]7[/C][C] 205.4[/C][C] 239.9[/C][C]-34.56[/C][/ROW]
[ROW][C]8[/C][C] 167.2[/C][C] 231.3[/C][C]-64.11[/C][/ROW]
[ROW][C]9[/C][C] 150.4[/C][C] 209.1[/C][C]-58.68[/C][/ROW]
[ROW][C]10[/C][C] 154.1[/C][C] 190.7[/C][C]-36.57[/C][/ROW]
[ROW][C]11[/C][C] 183.7[/C][C] 203.4[/C][C]-19.77[/C][/ROW]
[ROW][C]12[/C][C] 246.7[/C][C] 237.7[/C][C] 8.926[/C][/ROW]
[ROW][C]13[/C][C] 227.6[/C][C] 237.3[/C][C]-9.72[/C][/ROW]
[ROW][C]14[/C][C] 214.6[/C][C] 241.6[/C][C]-26.97[/C][/ROW]
[ROW][C]15[/C][C] 208.4[/C][C] 233[/C][C]-24.6[/C][/ROW]
[ROW][C]16[/C][C] 181.2[/C][C] 219.6[/C][C]-38.44[/C][/ROW]
[ROW][C]17[/C][C] 185.7[/C][C] 216.5[/C][C]-30.86[/C][/ROW]
[ROW][C]18[/C][C] 230.9[/C][C] 234.2[/C][C]-3.356[/C][/ROW]
[ROW][C]19[/C][C] 266.3[/C][C] 246[/C][C] 20.33[/C][/ROW]
[ROW][C]20[/C][C] 310.3[/C][C] 280.4[/C][C] 29.92[/C][/ROW]
[ROW][C]21[/C][C] 267.2[/C][C] 272.6[/C][C]-5.427[/C][/ROW]
[ROW][C]22[/C][C] 303[/C][C] 284.9[/C][C] 18.1[/C][/ROW]
[ROW][C]23[/C][C] 278.5[/C][C] 281.4[/C][C]-2.983[/C][/ROW]
[ROW][C]24[/C][C] 293.4[/C][C] 251.2[/C][C] 42.19[/C][/ROW]
[ROW][C]25[/C][C] 283.6[/C][C] 259.7[/C][C] 23.9[/C][/ROW]
[ROW][C]26[/C][C] 274.3[/C][C] 235[/C][C] 39.24[/C][/ROW]
[ROW][C]27[/C][C] 218.1[/C][C] 215.9[/C][C] 2.232[/C][/ROW]
[ROW][C]28[/C][C] 265.6[/C][C] 221.3[/C][C] 44.36[/C][/ROW]
[ROW][C]29[/C][C] 226.7[/C][C] 203.9[/C][C] 22.79[/C][/ROW]
[ROW][C]30[/C][C] 258[/C][C] 203.1[/C][C] 54.92[/C][/ROW]
[ROW][C]31[/C][C] 197[/C][C] 176.2[/C][C] 20.78[/C][/ROW]
[ROW][C]32[/C][C] 213.4[/C][C] 185.5[/C][C] 27.89[/C][/ROW]
[ROW][C]33[/C][C] 209.2[/C][C] 171.3[/C][C] 37.82[/C][/ROW]
[ROW][C]34[/C][C] 184.5[/C][C] 157.7[/C][C] 26.77[/C][/ROW]
[ROW][C]35[/C][C] 192.6[/C][C] 157.4[/C][C] 35.22[/C][/ROW]
[ROW][C]36[/C][C] 155.8[/C][C] 143.1[/C][C] 12.71[/C][/ROW]
[ROW][C]37[/C][C] 176.3[/C][C] 147.7[/C][C] 28.58[/C][/ROW]
[ROW][C]38[/C][C] 172.1[/C][C] 137.8[/C][C] 34.32[/C][/ROW]
[ROW][C]39[/C][C] 161.6[/C][C] 137.8[/C][C] 23.87[/C][/ROW]
[ROW][C]40[/C][C] 163[/C][C] 136.3[/C][C] 26.65[/C][/ROW]
[ROW][C]41[/C][C] 157.6[/C][C] 132.3[/C][C] 25.3[/C][/ROW]
[ROW][C]42[/C][C] 154.5[/C][C] 130.4[/C][C] 24.11[/C][/ROW]
[ROW][C]43[/C][C] 174.3[/C][C] 132.6[/C][C] 41.65[/C][/ROW]
[ROW][C]44[/C][C] 135.2[/C][C] 124.3[/C][C] 10.84[/C][/ROW]
[ROW][C]45[/C][C] 141.4[/C][C] 124.2[/C][C] 17.16[/C][/ROW]
[ROW][C]46[/C][C] 157.8[/C][C] 128.1[/C][C] 29.77[/C][/ROW]
[ROW][C]47[/C][C] 145.7[/C][C] 124[/C][C] 21.63[/C][/ROW]
[ROW][C]48[/C][C] 112.1[/C][C] 118.1[/C][C]-6.033[/C][/ROW]
[ROW][C]49[/C][C] 106.8[/C][C] 121.5[/C][C]-14.6[/C][/ROW]
[ROW][C]50[/C][C] 170.9[/C][C] 138.1[/C][C] 32.8[/C][/ROW]
[ROW][C]51[/C][C] 156.3[/C][C] 119[/C][C] 37.28[/C][/ROW]
[ROW][C]52[/C][C] 140.8[/C][C] 117.3[/C][C] 23.5[/C][/ROW]
[ROW][C]53[/C][C] 148.3[/C][C] 123.2[/C][C] 25.14[/C][/ROW]
[ROW][C]54[/C][C] 132.6[/C][C] 119.8[/C][C] 12.8[/C][/ROW]
[ROW][C]55[/C][C] 115.7[/C][C] 118.1[/C][C]-2.382[/C][/ROW]
[ROW][C]56[/C][C] 116.1[/C][C] 118.3[/C][C]-2.198[/C][/ROW]
[ROW][C]57[/C][C] 98.76[/C][C] 110.5[/C][C]-11.77[/C][/ROW]
[ROW][C]58[/C][C] 100.3[/C][C] 109[/C][C]-8.687[/C][/ROW]
[ROW][C]59[/C][C] 89.12[/C][C] 107[/C][C]-17.85[/C][/ROW]
[ROW][C]60[/C][C] 88.67[/C][C] 109.7[/C][C]-21.07[/C][/ROW]
[ROW][C]61[/C][C] 100.6[/C][C] 113.1[/C][C]-12.56[/C][/ROW]
[ROW][C]62[/C][C] 76.84[/C][C] 111.1[/C][C]-34.24[/C][/ROW]
[ROW][C]63[/C][C] 81.1[/C][C] 107.9[/C][C]-26.84[/C][/ROW]
[ROW][C]64[/C][C] 69.6[/C][C] 105.6[/C][C]-36.05[/C][/ROW]
[ROW][C]65[/C][C] 64.55[/C][C] 103.1[/C][C]-38.56[/C][/ROW]
[ROW][C]66[/C][C] 80.36[/C][C] 108.8[/C][C]-28.41[/C][/ROW]
[ROW][C]67[/C][C] 79.79[/C][C] 107.9[/C][C]-28.12[/C][/ROW]
[ROW][C]68[/C][C] 74.79[/C][C] 107.2[/C][C]-32.42[/C][/ROW]
[ROW][C]69[/C][C] 64.86[/C][C] 106.8[/C][C]-41.94[/C][/ROW]
[ROW][C]70[/C][C] 62.27[/C][C] 106.2[/C][C]-43.97[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285906&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285906&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 225.9 244.3-18.36
2 250.9 248.9 1.955
3 236.2 259.5-23.27
4 209.1 248.1-38.99
5 237.3 259.6-22.28
6 251.7 270.5-18.83
7 205.4 239.9-34.56
8 167.2 231.3-64.11
9 150.4 209.1-58.68
10 154.1 190.7-36.57
11 183.7 203.4-19.77
12 246.7 237.7 8.926
13 227.6 237.3-9.72
14 214.6 241.6-26.97
15 208.4 233-24.6
16 181.2 219.6-38.44
17 185.7 216.5-30.86
18 230.9 234.2-3.356
19 266.3 246 20.33
20 310.3 280.4 29.92
21 267.2 272.6-5.427
22 303 284.9 18.1
23 278.5 281.4-2.983
24 293.4 251.2 42.19
25 283.6 259.7 23.9
26 274.3 235 39.24
27 218.1 215.9 2.232
28 265.6 221.3 44.36
29 226.7 203.9 22.79
30 258 203.1 54.92
31 197 176.2 20.78
32 213.4 185.5 27.89
33 209.2 171.3 37.82
34 184.5 157.7 26.77
35 192.6 157.4 35.22
36 155.8 143.1 12.71
37 176.3 147.7 28.58
38 172.1 137.8 34.32
39 161.6 137.8 23.87
40 163 136.3 26.65
41 157.6 132.3 25.3
42 154.5 130.4 24.11
43 174.3 132.6 41.65
44 135.2 124.3 10.84
45 141.4 124.2 17.16
46 157.8 128.1 29.77
47 145.7 124 21.63
48 112.1 118.1-6.033
49 106.8 121.5-14.6
50 170.9 138.1 32.8
51 156.3 119 37.28
52 140.8 117.3 23.5
53 148.3 123.2 25.14
54 132.6 119.8 12.8
55 115.7 118.1-2.382
56 116.1 118.3-2.198
57 98.76 110.5-11.77
58 100.3 109-8.687
59 89.12 107-17.85
60 88.67 109.7-21.07
61 100.6 113.1-12.56
62 76.84 111.1-34.24
63 81.1 107.9-26.84
64 69.6 105.6-36.05
65 64.55 103.1-38.56
66 80.36 108.8-28.41
67 79.79 107.9-28.12
68 74.79 107.2-32.42
69 64.86 106.8-41.94
70 62.27 106.2-43.97







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
5 0.195 0.39 0.805
6 0.09044 0.1809 0.9096
7 0.05477 0.1095 0.9452
8 0.1066 0.2133 0.8934
9 0.0726 0.1452 0.9274
10 0.1043 0.2087 0.8957
11 0.1189 0.2378 0.8811
12 0.2124 0.4249 0.7876
13 0.1798 0.3595 0.8202
14 0.1435 0.287 0.8565
15 0.1143 0.2286 0.8857
16 0.1107 0.2214 0.8893
17 0.1017 0.2033 0.8983
18 0.1144 0.2288 0.8856
19 0.2155 0.431 0.7845
20 0.249 0.498 0.751
21 0.2439 0.4878 0.7561
22 0.2255 0.451 0.7745
23 0.3002 0.6005 0.6998
24 0.5436 0.9129 0.4564
25 0.6309 0.7382 0.3691
26 0.8123 0.3755 0.1877
27 0.9092 0.1816 0.09078
28 0.9735 0.05301 0.0265
29 0.9918 0.01649 0.008243
30 0.998 0.004031 0.002015
31 0.9989 0.002183 0.001091
32 0.9998 0.0003803 0.0001902
33 0.9999 0.000146 7.301e-05
34 1 7.64e-05 3.82e-05
35 1 3.869e-05 1.934e-05
36 1 1.562e-05 7.811e-06
37 1 5.055e-06 2.528e-06
38 1 1e-05 5e-06
39 1 9.857e-06 4.928e-06
40 1 1.219e-05 6.095e-06
41 1 2.276e-05 1.138e-05
42 1 4.676e-05 2.338e-05
43 1 9.615e-05 4.808e-05
44 0.9999 0.0001908 9.538e-05
45 0.9998 0.0004138 0.0002069
46 0.9996 0.0008563 0.0004281
47 0.9992 0.001647 0.0008233
48 0.9987 0.002569 0.001285
49 0.9993 0.001349 0.0006747
50 0.9999 0.0001499 7.494e-05
51 1 2.979e-05 1.489e-05
52 1 8.407e-06 4.203e-06
53 1 1.997e-05 9.983e-06
54 1 4.358e-05 2.179e-05
55 0.9999 0.0001251 6.257e-05
56 0.9998 0.0003421 0.0001711
57 0.9997 0.0005758 0.0002879
58 0.9999 0.0002305 0.0001152
59 1 9.3e-05 4.65e-05
60 0.9999 0.0002363 0.0001181
61 0.9998 0.0003089 0.0001544
62 0.9997 0.0006604 0.0003302
63 0.999 0.002093 0.001046
64 0.9952 0.009694 0.004847
65 0.9966 0.006731 0.003365

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 &  0.195 &  0.39 &  0.805 \tabularnewline
6 &  0.09044 &  0.1809 &  0.9096 \tabularnewline
7 &  0.05477 &  0.1095 &  0.9452 \tabularnewline
8 &  0.1066 &  0.2133 &  0.8934 \tabularnewline
9 &  0.0726 &  0.1452 &  0.9274 \tabularnewline
10 &  0.1043 &  0.2087 &  0.8957 \tabularnewline
11 &  0.1189 &  0.2378 &  0.8811 \tabularnewline
12 &  0.2124 &  0.4249 &  0.7876 \tabularnewline
13 &  0.1798 &  0.3595 &  0.8202 \tabularnewline
14 &  0.1435 &  0.287 &  0.8565 \tabularnewline
15 &  0.1143 &  0.2286 &  0.8857 \tabularnewline
16 &  0.1107 &  0.2214 &  0.8893 \tabularnewline
17 &  0.1017 &  0.2033 &  0.8983 \tabularnewline
18 &  0.1144 &  0.2288 &  0.8856 \tabularnewline
19 &  0.2155 &  0.431 &  0.7845 \tabularnewline
20 &  0.249 &  0.498 &  0.751 \tabularnewline
21 &  0.2439 &  0.4878 &  0.7561 \tabularnewline
22 &  0.2255 &  0.451 &  0.7745 \tabularnewline
23 &  0.3002 &  0.6005 &  0.6998 \tabularnewline
24 &  0.5436 &  0.9129 &  0.4564 \tabularnewline
25 &  0.6309 &  0.7382 &  0.3691 \tabularnewline
26 &  0.8123 &  0.3755 &  0.1877 \tabularnewline
27 &  0.9092 &  0.1816 &  0.09078 \tabularnewline
28 &  0.9735 &  0.05301 &  0.0265 \tabularnewline
29 &  0.9918 &  0.01649 &  0.008243 \tabularnewline
30 &  0.998 &  0.004031 &  0.002015 \tabularnewline
31 &  0.9989 &  0.002183 &  0.001091 \tabularnewline
32 &  0.9998 &  0.0003803 &  0.0001902 \tabularnewline
33 &  0.9999 &  0.000146 &  7.301e-05 \tabularnewline
34 &  1 &  7.64e-05 &  3.82e-05 \tabularnewline
35 &  1 &  3.869e-05 &  1.934e-05 \tabularnewline
36 &  1 &  1.562e-05 &  7.811e-06 \tabularnewline
37 &  1 &  5.055e-06 &  2.528e-06 \tabularnewline
38 &  1 &  1e-05 &  5e-06 \tabularnewline
39 &  1 &  9.857e-06 &  4.928e-06 \tabularnewline
40 &  1 &  1.219e-05 &  6.095e-06 \tabularnewline
41 &  1 &  2.276e-05 &  1.138e-05 \tabularnewline
42 &  1 &  4.676e-05 &  2.338e-05 \tabularnewline
43 &  1 &  9.615e-05 &  4.808e-05 \tabularnewline
44 &  0.9999 &  0.0001908 &  9.538e-05 \tabularnewline
45 &  0.9998 &  0.0004138 &  0.0002069 \tabularnewline
46 &  0.9996 &  0.0008563 &  0.0004281 \tabularnewline
47 &  0.9992 &  0.001647 &  0.0008233 \tabularnewline
48 &  0.9987 &  0.002569 &  0.001285 \tabularnewline
49 &  0.9993 &  0.001349 &  0.0006747 \tabularnewline
50 &  0.9999 &  0.0001499 &  7.494e-05 \tabularnewline
51 &  1 &  2.979e-05 &  1.489e-05 \tabularnewline
52 &  1 &  8.407e-06 &  4.203e-06 \tabularnewline
53 &  1 &  1.997e-05 &  9.983e-06 \tabularnewline
54 &  1 &  4.358e-05 &  2.179e-05 \tabularnewline
55 &  0.9999 &  0.0001251 &  6.257e-05 \tabularnewline
56 &  0.9998 &  0.0003421 &  0.0001711 \tabularnewline
57 &  0.9997 &  0.0005758 &  0.0002879 \tabularnewline
58 &  0.9999 &  0.0002305 &  0.0001152 \tabularnewline
59 &  1 &  9.3e-05 &  4.65e-05 \tabularnewline
60 &  0.9999 &  0.0002363 &  0.0001181 \tabularnewline
61 &  0.9998 &  0.0003089 &  0.0001544 \tabularnewline
62 &  0.9997 &  0.0006604 &  0.0003302 \tabularnewline
63 &  0.999 &  0.002093 &  0.001046 \tabularnewline
64 &  0.9952 &  0.009694 &  0.004847 \tabularnewline
65 &  0.9966 &  0.006731 &  0.003365 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285906&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.195[/C][C] 0.39[/C][C] 0.805[/C][/ROW]
[ROW][C]6[/C][C] 0.09044[/C][C] 0.1809[/C][C] 0.9096[/C][/ROW]
[ROW][C]7[/C][C] 0.05477[/C][C] 0.1095[/C][C] 0.9452[/C][/ROW]
[ROW][C]8[/C][C] 0.1066[/C][C] 0.2133[/C][C] 0.8934[/C][/ROW]
[ROW][C]9[/C][C] 0.0726[/C][C] 0.1452[/C][C] 0.9274[/C][/ROW]
[ROW][C]10[/C][C] 0.1043[/C][C] 0.2087[/C][C] 0.8957[/C][/ROW]
[ROW][C]11[/C][C] 0.1189[/C][C] 0.2378[/C][C] 0.8811[/C][/ROW]
[ROW][C]12[/C][C] 0.2124[/C][C] 0.4249[/C][C] 0.7876[/C][/ROW]
[ROW][C]13[/C][C] 0.1798[/C][C] 0.3595[/C][C] 0.8202[/C][/ROW]
[ROW][C]14[/C][C] 0.1435[/C][C] 0.287[/C][C] 0.8565[/C][/ROW]
[ROW][C]15[/C][C] 0.1143[/C][C] 0.2286[/C][C] 0.8857[/C][/ROW]
[ROW][C]16[/C][C] 0.1107[/C][C] 0.2214[/C][C] 0.8893[/C][/ROW]
[ROW][C]17[/C][C] 0.1017[/C][C] 0.2033[/C][C] 0.8983[/C][/ROW]
[ROW][C]18[/C][C] 0.1144[/C][C] 0.2288[/C][C] 0.8856[/C][/ROW]
[ROW][C]19[/C][C] 0.2155[/C][C] 0.431[/C][C] 0.7845[/C][/ROW]
[ROW][C]20[/C][C] 0.249[/C][C] 0.498[/C][C] 0.751[/C][/ROW]
[ROW][C]21[/C][C] 0.2439[/C][C] 0.4878[/C][C] 0.7561[/C][/ROW]
[ROW][C]22[/C][C] 0.2255[/C][C] 0.451[/C][C] 0.7745[/C][/ROW]
[ROW][C]23[/C][C] 0.3002[/C][C] 0.6005[/C][C] 0.6998[/C][/ROW]
[ROW][C]24[/C][C] 0.5436[/C][C] 0.9129[/C][C] 0.4564[/C][/ROW]
[ROW][C]25[/C][C] 0.6309[/C][C] 0.7382[/C][C] 0.3691[/C][/ROW]
[ROW][C]26[/C][C] 0.8123[/C][C] 0.3755[/C][C] 0.1877[/C][/ROW]
[ROW][C]27[/C][C] 0.9092[/C][C] 0.1816[/C][C] 0.09078[/C][/ROW]
[ROW][C]28[/C][C] 0.9735[/C][C] 0.05301[/C][C] 0.0265[/C][/ROW]
[ROW][C]29[/C][C] 0.9918[/C][C] 0.01649[/C][C] 0.008243[/C][/ROW]
[ROW][C]30[/C][C] 0.998[/C][C] 0.004031[/C][C] 0.002015[/C][/ROW]
[ROW][C]31[/C][C] 0.9989[/C][C] 0.002183[/C][C] 0.001091[/C][/ROW]
[ROW][C]32[/C][C] 0.9998[/C][C] 0.0003803[/C][C] 0.0001902[/C][/ROW]
[ROW][C]33[/C][C] 0.9999[/C][C] 0.000146[/C][C] 7.301e-05[/C][/ROW]
[ROW][C]34[/C][C] 1[/C][C] 7.64e-05[/C][C] 3.82e-05[/C][/ROW]
[ROW][C]35[/C][C] 1[/C][C] 3.869e-05[/C][C] 1.934e-05[/C][/ROW]
[ROW][C]36[/C][C] 1[/C][C] 1.562e-05[/C][C] 7.811e-06[/C][/ROW]
[ROW][C]37[/C][C] 1[/C][C] 5.055e-06[/C][C] 2.528e-06[/C][/ROW]
[ROW][C]38[/C][C] 1[/C][C] 1e-05[/C][C] 5e-06[/C][/ROW]
[ROW][C]39[/C][C] 1[/C][C] 9.857e-06[/C][C] 4.928e-06[/C][/ROW]
[ROW][C]40[/C][C] 1[/C][C] 1.219e-05[/C][C] 6.095e-06[/C][/ROW]
[ROW][C]41[/C][C] 1[/C][C] 2.276e-05[/C][C] 1.138e-05[/C][/ROW]
[ROW][C]42[/C][C] 1[/C][C] 4.676e-05[/C][C] 2.338e-05[/C][/ROW]
[ROW][C]43[/C][C] 1[/C][C] 9.615e-05[/C][C] 4.808e-05[/C][/ROW]
[ROW][C]44[/C][C] 0.9999[/C][C] 0.0001908[/C][C] 9.538e-05[/C][/ROW]
[ROW][C]45[/C][C] 0.9998[/C][C] 0.0004138[/C][C] 0.0002069[/C][/ROW]
[ROW][C]46[/C][C] 0.9996[/C][C] 0.0008563[/C][C] 0.0004281[/C][/ROW]
[ROW][C]47[/C][C] 0.9992[/C][C] 0.001647[/C][C] 0.0008233[/C][/ROW]
[ROW][C]48[/C][C] 0.9987[/C][C] 0.002569[/C][C] 0.001285[/C][/ROW]
[ROW][C]49[/C][C] 0.9993[/C][C] 0.001349[/C][C] 0.0006747[/C][/ROW]
[ROW][C]50[/C][C] 0.9999[/C][C] 0.0001499[/C][C] 7.494e-05[/C][/ROW]
[ROW][C]51[/C][C] 1[/C][C] 2.979e-05[/C][C] 1.489e-05[/C][/ROW]
[ROW][C]52[/C][C] 1[/C][C] 8.407e-06[/C][C] 4.203e-06[/C][/ROW]
[ROW][C]53[/C][C] 1[/C][C] 1.997e-05[/C][C] 9.983e-06[/C][/ROW]
[ROW][C]54[/C][C] 1[/C][C] 4.358e-05[/C][C] 2.179e-05[/C][/ROW]
[ROW][C]55[/C][C] 0.9999[/C][C] 0.0001251[/C][C] 6.257e-05[/C][/ROW]
[ROW][C]56[/C][C] 0.9998[/C][C] 0.0003421[/C][C] 0.0001711[/C][/ROW]
[ROW][C]57[/C][C] 0.9997[/C][C] 0.0005758[/C][C] 0.0002879[/C][/ROW]
[ROW][C]58[/C][C] 0.9999[/C][C] 0.0002305[/C][C] 0.0001152[/C][/ROW]
[ROW][C]59[/C][C] 1[/C][C] 9.3e-05[/C][C] 4.65e-05[/C][/ROW]
[ROW][C]60[/C][C] 0.9999[/C][C] 0.0002363[/C][C] 0.0001181[/C][/ROW]
[ROW][C]61[/C][C] 0.9998[/C][C] 0.0003089[/C][C] 0.0001544[/C][/ROW]
[ROW][C]62[/C][C] 0.9997[/C][C] 0.0006604[/C][C] 0.0003302[/C][/ROW]
[ROW][C]63[/C][C] 0.999[/C][C] 0.002093[/C][C] 0.001046[/C][/ROW]
[ROW][C]64[/C][C] 0.9952[/C][C] 0.009694[/C][C] 0.004847[/C][/ROW]
[ROW][C]65[/C][C] 0.9966[/C][C] 0.006731[/C][C] 0.003365[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285906&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285906&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.195 0.39 0.805
6 0.09044 0.1809 0.9096
7 0.05477 0.1095 0.9452
8 0.1066 0.2133 0.8934
9 0.0726 0.1452 0.9274
10 0.1043 0.2087 0.8957
11 0.1189 0.2378 0.8811
12 0.2124 0.4249 0.7876
13 0.1798 0.3595 0.8202
14 0.1435 0.287 0.8565
15 0.1143 0.2286 0.8857
16 0.1107 0.2214 0.8893
17 0.1017 0.2033 0.8983
18 0.1144 0.2288 0.8856
19 0.2155 0.431 0.7845
20 0.249 0.498 0.751
21 0.2439 0.4878 0.7561
22 0.2255 0.451 0.7745
23 0.3002 0.6005 0.6998
24 0.5436 0.9129 0.4564
25 0.6309 0.7382 0.3691
26 0.8123 0.3755 0.1877
27 0.9092 0.1816 0.09078
28 0.9735 0.05301 0.0265
29 0.9918 0.01649 0.008243
30 0.998 0.004031 0.002015
31 0.9989 0.002183 0.001091
32 0.9998 0.0003803 0.0001902
33 0.9999 0.000146 7.301e-05
34 1 7.64e-05 3.82e-05
35 1 3.869e-05 1.934e-05
36 1 1.562e-05 7.811e-06
37 1 5.055e-06 2.528e-06
38 1 1e-05 5e-06
39 1 9.857e-06 4.928e-06
40 1 1.219e-05 6.095e-06
41 1 2.276e-05 1.138e-05
42 1 4.676e-05 2.338e-05
43 1 9.615e-05 4.808e-05
44 0.9999 0.0001908 9.538e-05
45 0.9998 0.0004138 0.0002069
46 0.9996 0.0008563 0.0004281
47 0.9992 0.001647 0.0008233
48 0.9987 0.002569 0.001285
49 0.9993 0.001349 0.0006747
50 0.9999 0.0001499 7.494e-05
51 1 2.979e-05 1.489e-05
52 1 8.407e-06 4.203e-06
53 1 1.997e-05 9.983e-06
54 1 4.358e-05 2.179e-05
55 0.9999 0.0001251 6.257e-05
56 0.9998 0.0003421 0.0001711
57 0.9997 0.0005758 0.0002879
58 0.9999 0.0002305 0.0001152
59 1 9.3e-05 4.65e-05
60 0.9999 0.0002363 0.0001181
61 0.9998 0.0003089 0.0001544
62 0.9997 0.0006604 0.0003302
63 0.999 0.002093 0.001046
64 0.9952 0.009694 0.004847
65 0.9966 0.006731 0.003365







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level36 0.5902NOK
5% type I error level370.606557NOK
10% type I error level380.622951NOK

\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 & 36 &  0.5902 & NOK \tabularnewline
5% type I error level & 37 & 0.606557 & NOK \tabularnewline
10% type I error level & 38 & 0.622951 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285906&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]36[/C][C] 0.5902[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]37[/C][C]0.606557[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]38[/C][C]0.622951[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285906&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285906&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 level36 0.5902NOK
5% type I error level370.606557NOK
10% type I error level380.622951NOK



Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 2 ; 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')
}
}