Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 16 Dec 2010 12:22:52 +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/2010/Dec/16/t1292502071t1844v4i568py2g.htm/, Retrieved Fri, 03 May 2024 06:11:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=110865, Retrieved Fri, 03 May 2024 06:11:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact213
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Dummy] [2008-12-15 18:10:09] [f77c9ab3b413812d7baee6b7ec69a15d]
-  M D    [Multiple Regression] [Multiple linear r...] [2010-12-16 12:22:52] [2fa539864aa87c5da4977c85c6885fac] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.81	0
0.81	0
0.81	0
0.79	0
0.78	0
0.78	0
0.77	0
0.78	0
0.77	0
0.78	0
0.79	0
0.79	0
0.79	0
0.79	0
0.79	0
0.8	0
0.8	0
0.8	1
0.8	1
0.81	1
0.8	1
0.82	1
0.85	1
0.85	1
0.86	1
0.85	1
0.83	1
0.81	1
0.82	1
0.82	1
0.78	1
0.78	1
0.73	1
0.68	1
0.65	1
0.62	1
0.6	1
0.6	1
0.59	1
0.6	1
0.6	1
0.6	1
0.59	1
0.58	1
0.56	1
0.55	1
0.54	1
0.55	1
0.55	1
0.54	1
0.54	1
0.54	1
0.53	1
0.53	1
0.53	1
0.53	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time9 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 9 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110865&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]9 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110865&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110865&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 time9 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Bakmeel[t] = + 0.79 -0.117948717948718Dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bakmeel[t] =  +  0.79 -0.117948717948718Dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110865&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bakmeel[t] =  +  0.79 -0.117948717948718Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110865&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110865&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
Bakmeel[t] = + 0.79 -0.117948717948718Dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.790.02548530.998400
Dummy-0.1179487179487180.030539-3.86230.0003030.000151

\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) & 0.79 & 0.025485 & 30.9984 & 0 & 0 \tabularnewline
Dummy & -0.117948717948718 & 0.030539 & -3.8623 & 0.000303 & 0.000151 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110865&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]0.79[/C][C]0.025485[/C][C]30.9984[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-0.117948717948718[/C][C]0.030539[/C][C]-3.8623[/C][C]0.000303[/C][C]0.000151[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110865&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110865&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)0.790.02548530.998400
Dummy-0.1179487179487180.030539-3.86230.0003030.000151







Multiple Linear Regression - Regression Statistics
Multiple R0.465243113003899
R-squared0.216451154197559
Adjusted R-squared0.201940990386403
F-TEST (value)14.9172095514965
F-TEST (DF numerator)1
F-TEST (DF denominator)54
p-value0.000302820508684798
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.105078092426881
Sum Squared Residuals0.596235897435897

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.465243113003899 \tabularnewline
R-squared & 0.216451154197559 \tabularnewline
Adjusted R-squared & 0.201940990386403 \tabularnewline
F-TEST (value) & 14.9172095514965 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 54 \tabularnewline
p-value & 0.000302820508684798 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.105078092426881 \tabularnewline
Sum Squared Residuals & 0.596235897435897 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110865&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.465243113003899[/C][/ROW]
[ROW][C]R-squared[/C][C]0.216451154197559[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.201940990386403[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]14.9172095514965[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]54[/C][/ROW]
[ROW][C]p-value[/C][C]0.000302820508684798[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.105078092426881[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.596235897435897[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110865&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110865&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.465243113003899
R-squared0.216451154197559
Adjusted R-squared0.201940990386403
F-TEST (value)14.9172095514965
F-TEST (DF numerator)1
F-TEST (DF denominator)54
p-value0.000302820508684798
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.105078092426881
Sum Squared Residuals0.596235897435897







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.810.7899999999999970.0200000000000032
20.810.790.0200000000000002
30.810.790.0199999999999998
40.790.79-1.92987986702420e-16
50.780.79-0.0100000000000002
60.780.79-0.0100000000000002
70.770.79-0.0200000000000002
80.780.79-0.0100000000000002
90.770.79-0.0200000000000002
100.780.79-0.0100000000000002
110.790.79-1.92987986702420e-16
120.790.79-1.92987986702420e-16
130.790.79-1.92987986702420e-16
140.790.79-1.92987986702420e-16
150.790.79-1.92987986702420e-16
160.80.790.00999999999999982
170.80.790.00999999999999982
180.80.6720512820512820.127948717948718
190.80.6720512820512820.127948717948718
200.810.6720512820512820.137948717948718
210.80.6720512820512820.127948717948718
220.820.6720512820512820.147948717948718
230.850.6720512820512820.177948717948718
240.850.6720512820512820.177948717948718
250.860.6720512820512820.187948717948718
260.850.6720512820512820.177948717948718
270.830.6720512820512820.157948717948718
280.810.6720512820512820.137948717948718
290.820.6720512820512820.147948717948718
300.820.6720512820512820.147948717948718
310.780.6720512820512820.107948717948718
320.780.6720512820512820.107948717948718
330.730.6720512820512820.057948717948718
340.680.6720512820512820.007948717948718
350.650.672051282051282-0.022051282051282
360.620.672051282051282-0.052051282051282
370.60.672051282051282-0.072051282051282
380.60.672051282051282-0.072051282051282
390.590.672051282051282-0.082051282051282
400.60.672051282051282-0.072051282051282
410.60.672051282051282-0.072051282051282
420.60.672051282051282-0.072051282051282
430.590.672051282051282-0.082051282051282
440.580.672051282051282-0.092051282051282
450.560.672051282051282-0.112051282051282
460.550.672051282051282-0.122051282051282
470.540.672051282051282-0.132051282051282
480.550.672051282051282-0.122051282051282
490.550.672051282051282-0.122051282051282
500.540.672051282051282-0.132051282051282
510.540.672051282051282-0.132051282051282
520.540.672051282051282-0.132051282051282
530.530.672051282051282-0.142051282051282
540.530.672051282051282-0.142051282051282
550.530.672051282051282-0.142051282051282
560.530.672051282051282-0.142051282051282

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.81 & 0.789999999999997 & 0.0200000000000032 \tabularnewline
2 & 0.81 & 0.79 & 0.0200000000000002 \tabularnewline
3 & 0.81 & 0.79 & 0.0199999999999998 \tabularnewline
4 & 0.79 & 0.79 & -1.92987986702420e-16 \tabularnewline
5 & 0.78 & 0.79 & -0.0100000000000002 \tabularnewline
6 & 0.78 & 0.79 & -0.0100000000000002 \tabularnewline
7 & 0.77 & 0.79 & -0.0200000000000002 \tabularnewline
8 & 0.78 & 0.79 & -0.0100000000000002 \tabularnewline
9 & 0.77 & 0.79 & -0.0200000000000002 \tabularnewline
10 & 0.78 & 0.79 & -0.0100000000000002 \tabularnewline
11 & 0.79 & 0.79 & -1.92987986702420e-16 \tabularnewline
12 & 0.79 & 0.79 & -1.92987986702420e-16 \tabularnewline
13 & 0.79 & 0.79 & -1.92987986702420e-16 \tabularnewline
14 & 0.79 & 0.79 & -1.92987986702420e-16 \tabularnewline
15 & 0.79 & 0.79 & -1.92987986702420e-16 \tabularnewline
16 & 0.8 & 0.79 & 0.00999999999999982 \tabularnewline
17 & 0.8 & 0.79 & 0.00999999999999982 \tabularnewline
18 & 0.8 & 0.672051282051282 & 0.127948717948718 \tabularnewline
19 & 0.8 & 0.672051282051282 & 0.127948717948718 \tabularnewline
20 & 0.81 & 0.672051282051282 & 0.137948717948718 \tabularnewline
21 & 0.8 & 0.672051282051282 & 0.127948717948718 \tabularnewline
22 & 0.82 & 0.672051282051282 & 0.147948717948718 \tabularnewline
23 & 0.85 & 0.672051282051282 & 0.177948717948718 \tabularnewline
24 & 0.85 & 0.672051282051282 & 0.177948717948718 \tabularnewline
25 & 0.86 & 0.672051282051282 & 0.187948717948718 \tabularnewline
26 & 0.85 & 0.672051282051282 & 0.177948717948718 \tabularnewline
27 & 0.83 & 0.672051282051282 & 0.157948717948718 \tabularnewline
28 & 0.81 & 0.672051282051282 & 0.137948717948718 \tabularnewline
29 & 0.82 & 0.672051282051282 & 0.147948717948718 \tabularnewline
30 & 0.82 & 0.672051282051282 & 0.147948717948718 \tabularnewline
31 & 0.78 & 0.672051282051282 & 0.107948717948718 \tabularnewline
32 & 0.78 & 0.672051282051282 & 0.107948717948718 \tabularnewline
33 & 0.73 & 0.672051282051282 & 0.057948717948718 \tabularnewline
34 & 0.68 & 0.672051282051282 & 0.007948717948718 \tabularnewline
35 & 0.65 & 0.672051282051282 & -0.022051282051282 \tabularnewline
36 & 0.62 & 0.672051282051282 & -0.052051282051282 \tabularnewline
37 & 0.6 & 0.672051282051282 & -0.072051282051282 \tabularnewline
38 & 0.6 & 0.672051282051282 & -0.072051282051282 \tabularnewline
39 & 0.59 & 0.672051282051282 & -0.082051282051282 \tabularnewline
40 & 0.6 & 0.672051282051282 & -0.072051282051282 \tabularnewline
41 & 0.6 & 0.672051282051282 & -0.072051282051282 \tabularnewline
42 & 0.6 & 0.672051282051282 & -0.072051282051282 \tabularnewline
43 & 0.59 & 0.672051282051282 & -0.082051282051282 \tabularnewline
44 & 0.58 & 0.672051282051282 & -0.092051282051282 \tabularnewline
45 & 0.56 & 0.672051282051282 & -0.112051282051282 \tabularnewline
46 & 0.55 & 0.672051282051282 & -0.122051282051282 \tabularnewline
47 & 0.54 & 0.672051282051282 & -0.132051282051282 \tabularnewline
48 & 0.55 & 0.672051282051282 & -0.122051282051282 \tabularnewline
49 & 0.55 & 0.672051282051282 & -0.122051282051282 \tabularnewline
50 & 0.54 & 0.672051282051282 & -0.132051282051282 \tabularnewline
51 & 0.54 & 0.672051282051282 & -0.132051282051282 \tabularnewline
52 & 0.54 & 0.672051282051282 & -0.132051282051282 \tabularnewline
53 & 0.53 & 0.672051282051282 & -0.142051282051282 \tabularnewline
54 & 0.53 & 0.672051282051282 & -0.142051282051282 \tabularnewline
55 & 0.53 & 0.672051282051282 & -0.142051282051282 \tabularnewline
56 & 0.53 & 0.672051282051282 & -0.142051282051282 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110865&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]0.81[/C][C]0.789999999999997[/C][C]0.0200000000000032[/C][/ROW]
[ROW][C]2[/C][C]0.81[/C][C]0.79[/C][C]0.0200000000000002[/C][/ROW]
[ROW][C]3[/C][C]0.81[/C][C]0.79[/C][C]0.0199999999999998[/C][/ROW]
[ROW][C]4[/C][C]0.79[/C][C]0.79[/C][C]-1.92987986702420e-16[/C][/ROW]
[ROW][C]5[/C][C]0.78[/C][C]0.79[/C][C]-0.0100000000000002[/C][/ROW]
[ROW][C]6[/C][C]0.78[/C][C]0.79[/C][C]-0.0100000000000002[/C][/ROW]
[ROW][C]7[/C][C]0.77[/C][C]0.79[/C][C]-0.0200000000000002[/C][/ROW]
[ROW][C]8[/C][C]0.78[/C][C]0.79[/C][C]-0.0100000000000002[/C][/ROW]
[ROW][C]9[/C][C]0.77[/C][C]0.79[/C][C]-0.0200000000000002[/C][/ROW]
[ROW][C]10[/C][C]0.78[/C][C]0.79[/C][C]-0.0100000000000002[/C][/ROW]
[ROW][C]11[/C][C]0.79[/C][C]0.79[/C][C]-1.92987986702420e-16[/C][/ROW]
[ROW][C]12[/C][C]0.79[/C][C]0.79[/C][C]-1.92987986702420e-16[/C][/ROW]
[ROW][C]13[/C][C]0.79[/C][C]0.79[/C][C]-1.92987986702420e-16[/C][/ROW]
[ROW][C]14[/C][C]0.79[/C][C]0.79[/C][C]-1.92987986702420e-16[/C][/ROW]
[ROW][C]15[/C][C]0.79[/C][C]0.79[/C][C]-1.92987986702420e-16[/C][/ROW]
[ROW][C]16[/C][C]0.8[/C][C]0.79[/C][C]0.00999999999999982[/C][/ROW]
[ROW][C]17[/C][C]0.8[/C][C]0.79[/C][C]0.00999999999999982[/C][/ROW]
[ROW][C]18[/C][C]0.8[/C][C]0.672051282051282[/C][C]0.127948717948718[/C][/ROW]
[ROW][C]19[/C][C]0.8[/C][C]0.672051282051282[/C][C]0.127948717948718[/C][/ROW]
[ROW][C]20[/C][C]0.81[/C][C]0.672051282051282[/C][C]0.137948717948718[/C][/ROW]
[ROW][C]21[/C][C]0.8[/C][C]0.672051282051282[/C][C]0.127948717948718[/C][/ROW]
[ROW][C]22[/C][C]0.82[/C][C]0.672051282051282[/C][C]0.147948717948718[/C][/ROW]
[ROW][C]23[/C][C]0.85[/C][C]0.672051282051282[/C][C]0.177948717948718[/C][/ROW]
[ROW][C]24[/C][C]0.85[/C][C]0.672051282051282[/C][C]0.177948717948718[/C][/ROW]
[ROW][C]25[/C][C]0.86[/C][C]0.672051282051282[/C][C]0.187948717948718[/C][/ROW]
[ROW][C]26[/C][C]0.85[/C][C]0.672051282051282[/C][C]0.177948717948718[/C][/ROW]
[ROW][C]27[/C][C]0.83[/C][C]0.672051282051282[/C][C]0.157948717948718[/C][/ROW]
[ROW][C]28[/C][C]0.81[/C][C]0.672051282051282[/C][C]0.137948717948718[/C][/ROW]
[ROW][C]29[/C][C]0.82[/C][C]0.672051282051282[/C][C]0.147948717948718[/C][/ROW]
[ROW][C]30[/C][C]0.82[/C][C]0.672051282051282[/C][C]0.147948717948718[/C][/ROW]
[ROW][C]31[/C][C]0.78[/C][C]0.672051282051282[/C][C]0.107948717948718[/C][/ROW]
[ROW][C]32[/C][C]0.78[/C][C]0.672051282051282[/C][C]0.107948717948718[/C][/ROW]
[ROW][C]33[/C][C]0.73[/C][C]0.672051282051282[/C][C]0.057948717948718[/C][/ROW]
[ROW][C]34[/C][C]0.68[/C][C]0.672051282051282[/C][C]0.007948717948718[/C][/ROW]
[ROW][C]35[/C][C]0.65[/C][C]0.672051282051282[/C][C]-0.022051282051282[/C][/ROW]
[ROW][C]36[/C][C]0.62[/C][C]0.672051282051282[/C][C]-0.052051282051282[/C][/ROW]
[ROW][C]37[/C][C]0.6[/C][C]0.672051282051282[/C][C]-0.072051282051282[/C][/ROW]
[ROW][C]38[/C][C]0.6[/C][C]0.672051282051282[/C][C]-0.072051282051282[/C][/ROW]
[ROW][C]39[/C][C]0.59[/C][C]0.672051282051282[/C][C]-0.082051282051282[/C][/ROW]
[ROW][C]40[/C][C]0.6[/C][C]0.672051282051282[/C][C]-0.072051282051282[/C][/ROW]
[ROW][C]41[/C][C]0.6[/C][C]0.672051282051282[/C][C]-0.072051282051282[/C][/ROW]
[ROW][C]42[/C][C]0.6[/C][C]0.672051282051282[/C][C]-0.072051282051282[/C][/ROW]
[ROW][C]43[/C][C]0.59[/C][C]0.672051282051282[/C][C]-0.082051282051282[/C][/ROW]
[ROW][C]44[/C][C]0.58[/C][C]0.672051282051282[/C][C]-0.092051282051282[/C][/ROW]
[ROW][C]45[/C][C]0.56[/C][C]0.672051282051282[/C][C]-0.112051282051282[/C][/ROW]
[ROW][C]46[/C][C]0.55[/C][C]0.672051282051282[/C][C]-0.122051282051282[/C][/ROW]
[ROW][C]47[/C][C]0.54[/C][C]0.672051282051282[/C][C]-0.132051282051282[/C][/ROW]
[ROW][C]48[/C][C]0.55[/C][C]0.672051282051282[/C][C]-0.122051282051282[/C][/ROW]
[ROW][C]49[/C][C]0.55[/C][C]0.672051282051282[/C][C]-0.122051282051282[/C][/ROW]
[ROW][C]50[/C][C]0.54[/C][C]0.672051282051282[/C][C]-0.132051282051282[/C][/ROW]
[ROW][C]51[/C][C]0.54[/C][C]0.672051282051282[/C][C]-0.132051282051282[/C][/ROW]
[ROW][C]52[/C][C]0.54[/C][C]0.672051282051282[/C][C]-0.132051282051282[/C][/ROW]
[ROW][C]53[/C][C]0.53[/C][C]0.672051282051282[/C][C]-0.142051282051282[/C][/ROW]
[ROW][C]54[/C][C]0.53[/C][C]0.672051282051282[/C][C]-0.142051282051282[/C][/ROW]
[ROW][C]55[/C][C]0.53[/C][C]0.672051282051282[/C][C]-0.142051282051282[/C][/ROW]
[ROW][C]56[/C][C]0.53[/C][C]0.672051282051282[/C][C]-0.142051282051282[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110865&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110865&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
10.810.7899999999999970.0200000000000032
20.810.790.0200000000000002
30.810.790.0199999999999998
40.790.79-1.92987986702420e-16
50.780.79-0.0100000000000002
60.780.79-0.0100000000000002
70.770.79-0.0200000000000002
80.780.79-0.0100000000000002
90.770.79-0.0200000000000002
100.780.79-0.0100000000000002
110.790.79-1.92987986702420e-16
120.790.79-1.92987986702420e-16
130.790.79-1.92987986702420e-16
140.790.79-1.92987986702420e-16
150.790.79-1.92987986702420e-16
160.80.790.00999999999999982
170.80.790.00999999999999982
180.80.6720512820512820.127948717948718
190.80.6720512820512820.127948717948718
200.810.6720512820512820.137948717948718
210.80.6720512820512820.127948717948718
220.820.6720512820512820.147948717948718
230.850.6720512820512820.177948717948718
240.850.6720512820512820.177948717948718
250.860.6720512820512820.187948717948718
260.850.6720512820512820.177948717948718
270.830.6720512820512820.157948717948718
280.810.6720512820512820.137948717948718
290.820.6720512820512820.147948717948718
300.820.6720512820512820.147948717948718
310.780.6720512820512820.107948717948718
320.780.6720512820512820.107948717948718
330.730.6720512820512820.057948717948718
340.680.6720512820512820.007948717948718
350.650.672051282051282-0.022051282051282
360.620.672051282051282-0.052051282051282
370.60.672051282051282-0.072051282051282
380.60.672051282051282-0.072051282051282
390.590.672051282051282-0.082051282051282
400.60.672051282051282-0.072051282051282
410.60.672051282051282-0.072051282051282
420.60.672051282051282-0.072051282051282
430.590.672051282051282-0.082051282051282
440.580.672051282051282-0.092051282051282
450.560.672051282051282-0.112051282051282
460.550.672051282051282-0.122051282051282
470.540.672051282051282-0.132051282051282
480.550.672051282051282-0.122051282051282
490.550.672051282051282-0.122051282051282
500.540.672051282051282-0.132051282051282
510.540.672051282051282-0.132051282051282
520.540.672051282051282-0.132051282051282
530.530.672051282051282-0.142051282051282
540.530.672051282051282-0.142051282051282
550.530.672051282051282-0.142051282051282
560.530.672051282051282-0.142051282051282







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.004474435661612740.008948871323225470.995525564338387
60.001054261734679790.002108523469359580.99894573826532
70.0003838831556700590.0007677663113401170.99961611684433
86.9264576888387e-050.0001385291537767740.999930735423112
91.84000619519919e-053.68001239039839e-050.999981599938048
102.90708507595718e-065.81417015191435e-060.999997092914924
113.89324200533243e-077.78648401066485e-070.9999996106758
124.90443940600859e-089.80887881201719e-080.999999950955606
135.8356376105415e-091.1671275221083e-080.999999994164362
146.5812652985639e-101.31625305971278e-090.999999999341873
157.0563313117603e-111.41126626235206e-100.999999999929437
161.00880529033183e-112.01761058066366e-110.999999999989912
171.36502465444163e-122.73004930888327e-120.999999999998635
181.66079394666091e-133.32158789332181e-130.999999999999834
192.03226391866192e-144.06452783732384e-140.99999999999998
203.31055582998039e-156.62111165996079e-150.999999999999997
214.40786177709557e-168.81572355419114e-161
221.59105115829066e-163.18210231658131e-161
233.30391269058085e-156.60782538116169e-150.999999999999997
241.25348590772437e-142.50697181544874e-140.999999999999987
259.4000316054504e-141.88000632109008e-130.999999999999906
261.93322149493597e-133.86644298987194e-130.999999999999807
271.89676349400537e-133.79352698801073e-130.99999999999981
283.15300315193383e-136.30600630386765e-130.999999999999685
299.28810079180568e-131.85762015836114e-120.999999999999071
309.47836438616303e-121.89567287723261e-110.999999999990522
311.34097873739727e-092.68195747479454e-090.999999998659021
327.55063942517344e-071.51012788503469e-060.999999244936058
330.003449067270855160.006898134541710320.996550932729145
340.3541951948761530.7083903897523060.645804805123847
350.9101931642196520.1796136715606960.0898068357803481
360.9918791201660030.01624175966799360.00812087983399681
370.9986329540837060.00273409183258870.00136704591629435
380.9996319294710670.000736141057865870.000368070528932935
390.9998276603624150.0003446792751698290.000172339637584915
400.9999313402016060.0001373195967879456.86597983939726e-05
410.9999771386176144.57227647730971e-052.28613823865485e-05
420.9999961073054677.78538906536215e-063.89269453268107e-06
430.9999994911066451.01778670965964e-065.08893354829818e-07
440.9999999669096656.61806702058055e-083.30903351029027e-08
450.9999999758274224.83451567389779e-082.41725783694889e-08
460.9999999233536191.53292763022764e-077.66463815113821e-08
470.9999993780969751.24380604977586e-066.21903024887929e-07
480.9999980969875063.80602498870734e-061.90301249435367e-06
490.9999973224834865.3550330285618e-062.6775165142809e-06
500.9999748838579395.02322841224189e-052.51161420612095e-05
510.9998034951437080.0003930097125846950.000196504856292348

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.00447443566161274 & 0.00894887132322547 & 0.995525564338387 \tabularnewline
6 & 0.00105426173467979 & 0.00210852346935958 & 0.99894573826532 \tabularnewline
7 & 0.000383883155670059 & 0.000767766311340117 & 0.99961611684433 \tabularnewline
8 & 6.9264576888387e-05 & 0.000138529153776774 & 0.999930735423112 \tabularnewline
9 & 1.84000619519919e-05 & 3.68001239039839e-05 & 0.999981599938048 \tabularnewline
10 & 2.90708507595718e-06 & 5.81417015191435e-06 & 0.999997092914924 \tabularnewline
11 & 3.89324200533243e-07 & 7.78648401066485e-07 & 0.9999996106758 \tabularnewline
12 & 4.90443940600859e-08 & 9.80887881201719e-08 & 0.999999950955606 \tabularnewline
13 & 5.8356376105415e-09 & 1.1671275221083e-08 & 0.999999994164362 \tabularnewline
14 & 6.5812652985639e-10 & 1.31625305971278e-09 & 0.999999999341873 \tabularnewline
15 & 7.0563313117603e-11 & 1.41126626235206e-10 & 0.999999999929437 \tabularnewline
16 & 1.00880529033183e-11 & 2.01761058066366e-11 & 0.999999999989912 \tabularnewline
17 & 1.36502465444163e-12 & 2.73004930888327e-12 & 0.999999999998635 \tabularnewline
18 & 1.66079394666091e-13 & 3.32158789332181e-13 & 0.999999999999834 \tabularnewline
19 & 2.03226391866192e-14 & 4.06452783732384e-14 & 0.99999999999998 \tabularnewline
20 & 3.31055582998039e-15 & 6.62111165996079e-15 & 0.999999999999997 \tabularnewline
21 & 4.40786177709557e-16 & 8.81572355419114e-16 & 1 \tabularnewline
22 & 1.59105115829066e-16 & 3.18210231658131e-16 & 1 \tabularnewline
23 & 3.30391269058085e-15 & 6.60782538116169e-15 & 0.999999999999997 \tabularnewline
24 & 1.25348590772437e-14 & 2.50697181544874e-14 & 0.999999999999987 \tabularnewline
25 & 9.4000316054504e-14 & 1.88000632109008e-13 & 0.999999999999906 \tabularnewline
26 & 1.93322149493597e-13 & 3.86644298987194e-13 & 0.999999999999807 \tabularnewline
27 & 1.89676349400537e-13 & 3.79352698801073e-13 & 0.99999999999981 \tabularnewline
28 & 3.15300315193383e-13 & 6.30600630386765e-13 & 0.999999999999685 \tabularnewline
29 & 9.28810079180568e-13 & 1.85762015836114e-12 & 0.999999999999071 \tabularnewline
30 & 9.47836438616303e-12 & 1.89567287723261e-11 & 0.999999999990522 \tabularnewline
31 & 1.34097873739727e-09 & 2.68195747479454e-09 & 0.999999998659021 \tabularnewline
32 & 7.55063942517344e-07 & 1.51012788503469e-06 & 0.999999244936058 \tabularnewline
33 & 0.00344906727085516 & 0.00689813454171032 & 0.996550932729145 \tabularnewline
34 & 0.354195194876153 & 0.708390389752306 & 0.645804805123847 \tabularnewline
35 & 0.910193164219652 & 0.179613671560696 & 0.0898068357803481 \tabularnewline
36 & 0.991879120166003 & 0.0162417596679936 & 0.00812087983399681 \tabularnewline
37 & 0.998632954083706 & 0.0027340918325887 & 0.00136704591629435 \tabularnewline
38 & 0.999631929471067 & 0.00073614105786587 & 0.000368070528932935 \tabularnewline
39 & 0.999827660362415 & 0.000344679275169829 & 0.000172339637584915 \tabularnewline
40 & 0.999931340201606 & 0.000137319596787945 & 6.86597983939726e-05 \tabularnewline
41 & 0.999977138617614 & 4.57227647730971e-05 & 2.28613823865485e-05 \tabularnewline
42 & 0.999996107305467 & 7.78538906536215e-06 & 3.89269453268107e-06 \tabularnewline
43 & 0.999999491106645 & 1.01778670965964e-06 & 5.08893354829818e-07 \tabularnewline
44 & 0.999999966909665 & 6.61806702058055e-08 & 3.30903351029027e-08 \tabularnewline
45 & 0.999999975827422 & 4.83451567389779e-08 & 2.41725783694889e-08 \tabularnewline
46 & 0.999999923353619 & 1.53292763022764e-07 & 7.66463815113821e-08 \tabularnewline
47 & 0.999999378096975 & 1.24380604977586e-06 & 6.21903024887929e-07 \tabularnewline
48 & 0.999998096987506 & 3.80602498870734e-06 & 1.90301249435367e-06 \tabularnewline
49 & 0.999997322483486 & 5.3550330285618e-06 & 2.6775165142809e-06 \tabularnewline
50 & 0.999974883857939 & 5.02322841224189e-05 & 2.51161420612095e-05 \tabularnewline
51 & 0.999803495143708 & 0.000393009712584695 & 0.000196504856292348 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110865&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.00447443566161274[/C][C]0.00894887132322547[/C][C]0.995525564338387[/C][/ROW]
[ROW][C]6[/C][C]0.00105426173467979[/C][C]0.00210852346935958[/C][C]0.99894573826532[/C][/ROW]
[ROW][C]7[/C][C]0.000383883155670059[/C][C]0.000767766311340117[/C][C]0.99961611684433[/C][/ROW]
[ROW][C]8[/C][C]6.9264576888387e-05[/C][C]0.000138529153776774[/C][C]0.999930735423112[/C][/ROW]
[ROW][C]9[/C][C]1.84000619519919e-05[/C][C]3.68001239039839e-05[/C][C]0.999981599938048[/C][/ROW]
[ROW][C]10[/C][C]2.90708507595718e-06[/C][C]5.81417015191435e-06[/C][C]0.999997092914924[/C][/ROW]
[ROW][C]11[/C][C]3.89324200533243e-07[/C][C]7.78648401066485e-07[/C][C]0.9999996106758[/C][/ROW]
[ROW][C]12[/C][C]4.90443940600859e-08[/C][C]9.80887881201719e-08[/C][C]0.999999950955606[/C][/ROW]
[ROW][C]13[/C][C]5.8356376105415e-09[/C][C]1.1671275221083e-08[/C][C]0.999999994164362[/C][/ROW]
[ROW][C]14[/C][C]6.5812652985639e-10[/C][C]1.31625305971278e-09[/C][C]0.999999999341873[/C][/ROW]
[ROW][C]15[/C][C]7.0563313117603e-11[/C][C]1.41126626235206e-10[/C][C]0.999999999929437[/C][/ROW]
[ROW][C]16[/C][C]1.00880529033183e-11[/C][C]2.01761058066366e-11[/C][C]0.999999999989912[/C][/ROW]
[ROW][C]17[/C][C]1.36502465444163e-12[/C][C]2.73004930888327e-12[/C][C]0.999999999998635[/C][/ROW]
[ROW][C]18[/C][C]1.66079394666091e-13[/C][C]3.32158789332181e-13[/C][C]0.999999999999834[/C][/ROW]
[ROW][C]19[/C][C]2.03226391866192e-14[/C][C]4.06452783732384e-14[/C][C]0.99999999999998[/C][/ROW]
[ROW][C]20[/C][C]3.31055582998039e-15[/C][C]6.62111165996079e-15[/C][C]0.999999999999997[/C][/ROW]
[ROW][C]21[/C][C]4.40786177709557e-16[/C][C]8.81572355419114e-16[/C][C]1[/C][/ROW]
[ROW][C]22[/C][C]1.59105115829066e-16[/C][C]3.18210231658131e-16[/C][C]1[/C][/ROW]
[ROW][C]23[/C][C]3.30391269058085e-15[/C][C]6.60782538116169e-15[/C][C]0.999999999999997[/C][/ROW]
[ROW][C]24[/C][C]1.25348590772437e-14[/C][C]2.50697181544874e-14[/C][C]0.999999999999987[/C][/ROW]
[ROW][C]25[/C][C]9.4000316054504e-14[/C][C]1.88000632109008e-13[/C][C]0.999999999999906[/C][/ROW]
[ROW][C]26[/C][C]1.93322149493597e-13[/C][C]3.86644298987194e-13[/C][C]0.999999999999807[/C][/ROW]
[ROW][C]27[/C][C]1.89676349400537e-13[/C][C]3.79352698801073e-13[/C][C]0.99999999999981[/C][/ROW]
[ROW][C]28[/C][C]3.15300315193383e-13[/C][C]6.30600630386765e-13[/C][C]0.999999999999685[/C][/ROW]
[ROW][C]29[/C][C]9.28810079180568e-13[/C][C]1.85762015836114e-12[/C][C]0.999999999999071[/C][/ROW]
[ROW][C]30[/C][C]9.47836438616303e-12[/C][C]1.89567287723261e-11[/C][C]0.999999999990522[/C][/ROW]
[ROW][C]31[/C][C]1.34097873739727e-09[/C][C]2.68195747479454e-09[/C][C]0.999999998659021[/C][/ROW]
[ROW][C]32[/C][C]7.55063942517344e-07[/C][C]1.51012788503469e-06[/C][C]0.999999244936058[/C][/ROW]
[ROW][C]33[/C][C]0.00344906727085516[/C][C]0.00689813454171032[/C][C]0.996550932729145[/C][/ROW]
[ROW][C]34[/C][C]0.354195194876153[/C][C]0.708390389752306[/C][C]0.645804805123847[/C][/ROW]
[ROW][C]35[/C][C]0.910193164219652[/C][C]0.179613671560696[/C][C]0.0898068357803481[/C][/ROW]
[ROW][C]36[/C][C]0.991879120166003[/C][C]0.0162417596679936[/C][C]0.00812087983399681[/C][/ROW]
[ROW][C]37[/C][C]0.998632954083706[/C][C]0.0027340918325887[/C][C]0.00136704591629435[/C][/ROW]
[ROW][C]38[/C][C]0.999631929471067[/C][C]0.00073614105786587[/C][C]0.000368070528932935[/C][/ROW]
[ROW][C]39[/C][C]0.999827660362415[/C][C]0.000344679275169829[/C][C]0.000172339637584915[/C][/ROW]
[ROW][C]40[/C][C]0.999931340201606[/C][C]0.000137319596787945[/C][C]6.86597983939726e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999977138617614[/C][C]4.57227647730971e-05[/C][C]2.28613823865485e-05[/C][/ROW]
[ROW][C]42[/C][C]0.999996107305467[/C][C]7.78538906536215e-06[/C][C]3.89269453268107e-06[/C][/ROW]
[ROW][C]43[/C][C]0.999999491106645[/C][C]1.01778670965964e-06[/C][C]5.08893354829818e-07[/C][/ROW]
[ROW][C]44[/C][C]0.999999966909665[/C][C]6.61806702058055e-08[/C][C]3.30903351029027e-08[/C][/ROW]
[ROW][C]45[/C][C]0.999999975827422[/C][C]4.83451567389779e-08[/C][C]2.41725783694889e-08[/C][/ROW]
[ROW][C]46[/C][C]0.999999923353619[/C][C]1.53292763022764e-07[/C][C]7.66463815113821e-08[/C][/ROW]
[ROW][C]47[/C][C]0.999999378096975[/C][C]1.24380604977586e-06[/C][C]6.21903024887929e-07[/C][/ROW]
[ROW][C]48[/C][C]0.999998096987506[/C][C]3.80602498870734e-06[/C][C]1.90301249435367e-06[/C][/ROW]
[ROW][C]49[/C][C]0.999997322483486[/C][C]5.3550330285618e-06[/C][C]2.6775165142809e-06[/C][/ROW]
[ROW][C]50[/C][C]0.999974883857939[/C][C]5.02322841224189e-05[/C][C]2.51161420612095e-05[/C][/ROW]
[ROW][C]51[/C][C]0.999803495143708[/C][C]0.000393009712584695[/C][C]0.000196504856292348[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110865&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110865&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.004474435661612740.008948871323225470.995525564338387
60.001054261734679790.002108523469359580.99894573826532
70.0003838831556700590.0007677663113401170.99961611684433
86.9264576888387e-050.0001385291537767740.999930735423112
91.84000619519919e-053.68001239039839e-050.999981599938048
102.90708507595718e-065.81417015191435e-060.999997092914924
113.89324200533243e-077.78648401066485e-070.9999996106758
124.90443940600859e-089.80887881201719e-080.999999950955606
135.8356376105415e-091.1671275221083e-080.999999994164362
146.5812652985639e-101.31625305971278e-090.999999999341873
157.0563313117603e-111.41126626235206e-100.999999999929437
161.00880529033183e-112.01761058066366e-110.999999999989912
171.36502465444163e-122.73004930888327e-120.999999999998635
181.66079394666091e-133.32158789332181e-130.999999999999834
192.03226391866192e-144.06452783732384e-140.99999999999998
203.31055582998039e-156.62111165996079e-150.999999999999997
214.40786177709557e-168.81572355419114e-161
221.59105115829066e-163.18210231658131e-161
233.30391269058085e-156.60782538116169e-150.999999999999997
241.25348590772437e-142.50697181544874e-140.999999999999987
259.4000316054504e-141.88000632109008e-130.999999999999906
261.93322149493597e-133.86644298987194e-130.999999999999807
271.89676349400537e-133.79352698801073e-130.99999999999981
283.15300315193383e-136.30600630386765e-130.999999999999685
299.28810079180568e-131.85762015836114e-120.999999999999071
309.47836438616303e-121.89567287723261e-110.999999999990522
311.34097873739727e-092.68195747479454e-090.999999998659021
327.55063942517344e-071.51012788503469e-060.999999244936058
330.003449067270855160.006898134541710320.996550932729145
340.3541951948761530.7083903897523060.645804805123847
350.9101931642196520.1796136715606960.0898068357803481
360.9918791201660030.01624175966799360.00812087983399681
370.9986329540837060.00273409183258870.00136704591629435
380.9996319294710670.000736141057865870.000368070528932935
390.9998276603624150.0003446792751698290.000172339637584915
400.9999313402016060.0001373195967879456.86597983939726e-05
410.9999771386176144.57227647730971e-052.28613823865485e-05
420.9999961073054677.78538906536215e-063.89269453268107e-06
430.9999994911066451.01778670965964e-065.08893354829818e-07
440.9999999669096656.61806702058055e-083.30903351029027e-08
450.9999999758274224.83451567389779e-082.41725783694889e-08
460.9999999233536191.53292763022764e-077.66463815113821e-08
470.9999993780969751.24380604977586e-066.21903024887929e-07
480.9999980969875063.80602498870734e-061.90301249435367e-06
490.9999973224834865.3550330285618e-062.6775165142809e-06
500.9999748838579395.02322841224189e-052.51161420612095e-05
510.9998034951437080.0003930097125846950.000196504856292348







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level440.936170212765957NOK
5% type I error level450.957446808510638NOK
10% type I error level450.957446808510638NOK

\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 & 44 & 0.936170212765957 & NOK \tabularnewline
5% type I error level & 45 & 0.957446808510638 & NOK \tabularnewline
10% type I error level & 45 & 0.957446808510638 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110865&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]44[/C][C]0.936170212765957[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]45[/C][C]0.957446808510638[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]45[/C][C]0.957446808510638[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110865&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110865&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 level440.936170212765957NOK
5% type I error level450.957446808510638NOK
10% type I error level450.957446808510638NOK



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