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:26:31 +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/t129250230074dbeapp5pxjqvp.htm/, Retrieved Fri, 03 May 2024 04:52:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=110866, Retrieved Fri, 03 May 2024 04:52:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact151
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [dummy seasonal du...] [2008-12-15 18:29:28] [f77c9ab3b413812d7baee6b7ec69a15d]
-  M D    [Multiple Regression] [seizoensdummies b...] [2010-12-16 12:26:31] [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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 7 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110866&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110866&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Bakmeel[t] = + 0.792598684210527 -0.120131578947369Dummy[t] + 0.00148026315789534M1[t] -0.00251973684210528M2[t] -0.00851973684210531M3[t] -0.0125197368421053M4[t] -0.0145197368421053M5[t] + 0.00950657894736838M6[t] -0.00249342105263159M7[t] -0.000493421052631561M8[t] + 0.0125M9[t] + 0.00499999999999997M10[t] + 0.00499999999999997M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bakmeel[t] =  +  0.792598684210527 -0.120131578947369Dummy[t] +  0.00148026315789534M1[t] -0.00251973684210528M2[t] -0.00851973684210531M3[t] -0.0125197368421053M4[t] -0.0145197368421053M5[t] +  0.00950657894736838M6[t] -0.00249342105263159M7[t] -0.000493421052631561M8[t] +  0.0125M9[t] +  0.00499999999999997M10[t] +  0.00499999999999997M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110866&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bakmeel[t] =  +  0.792598684210527 -0.120131578947369Dummy[t] +  0.00148026315789534M1[t] -0.00251973684210528M2[t] -0.00851973684210531M3[t] -0.0125197368421053M4[t] -0.0145197368421053M5[t] +  0.00950657894736838M6[t] -0.00249342105263159M7[t] -0.000493421052631561M8[t] +  0.0125M9[t] +  0.00499999999999997M10[t] +  0.00499999999999997M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110866&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110866&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.792598684210527 -0.120131578947369Dummy[t] + 0.00148026315789534M1[t] -0.00251973684210528M2[t] -0.00851973684210531M3[t] -0.0125197368421053M4[t] -0.0145197368421053M5[t] + 0.00950657894736838M6[t] -0.00249342105263159M7[t] -0.000493421052631561M8[t] + 0.0125M9[t] + 0.00499999999999997M10[t] + 0.00499999999999997M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.7925986842105270.0642412.338100
Dummy-0.1201315789473690.034775-3.45450.0012520.000626
M10.001480263157895340.0789370.01880.9851250.492563
M2-0.002519736842105280.078937-0.03190.9746830.487341
M3-0.008519736842105310.078937-0.10790.9145520.457276
M4-0.01251973684210530.078937-0.15860.8747230.437361
M5-0.01451973684210530.078937-0.18390.8549240.427462
M60.009506578947368380.0787830.12070.9045160.452258
M7-0.002493421052631590.078783-0.03160.9748980.487449
M8-0.0004934210526315610.078783-0.00630.9950320.497516
M90.01250.0830250.15060.8810290.440514
M100.004999999999999970.0830250.06020.9522570.476128
M110.004999999999999970.0830250.06020.9522570.476128

\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.792598684210527 & 0.06424 & 12.3381 & 0 & 0 \tabularnewline
Dummy & -0.120131578947369 & 0.034775 & -3.4545 & 0.001252 & 0.000626 \tabularnewline
M1 & 0.00148026315789534 & 0.078937 & 0.0188 & 0.985125 & 0.492563 \tabularnewline
M2 & -0.00251973684210528 & 0.078937 & -0.0319 & 0.974683 & 0.487341 \tabularnewline
M3 & -0.00851973684210531 & 0.078937 & -0.1079 & 0.914552 & 0.457276 \tabularnewline
M4 & -0.0125197368421053 & 0.078937 & -0.1586 & 0.874723 & 0.437361 \tabularnewline
M5 & -0.0145197368421053 & 0.078937 & -0.1839 & 0.854924 & 0.427462 \tabularnewline
M6 & 0.00950657894736838 & 0.078783 & 0.1207 & 0.904516 & 0.452258 \tabularnewline
M7 & -0.00249342105263159 & 0.078783 & -0.0316 & 0.974898 & 0.487449 \tabularnewline
M8 & -0.000493421052631561 & 0.078783 & -0.0063 & 0.995032 & 0.497516 \tabularnewline
M9 & 0.0125 & 0.083025 & 0.1506 & 0.881029 & 0.440514 \tabularnewline
M10 & 0.00499999999999997 & 0.083025 & 0.0602 & 0.952257 & 0.476128 \tabularnewline
M11 & 0.00499999999999997 & 0.083025 & 0.0602 & 0.952257 & 0.476128 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110866&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.792598684210527[/C][C]0.06424[/C][C]12.3381[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-0.120131578947369[/C][C]0.034775[/C][C]-3.4545[/C][C]0.001252[/C][C]0.000626[/C][/ROW]
[ROW][C]M1[/C][C]0.00148026315789534[/C][C]0.078937[/C][C]0.0188[/C][C]0.985125[/C][C]0.492563[/C][/ROW]
[ROW][C]M2[/C][C]-0.00251973684210528[/C][C]0.078937[/C][C]-0.0319[/C][C]0.974683[/C][C]0.487341[/C][/ROW]
[ROW][C]M3[/C][C]-0.00851973684210531[/C][C]0.078937[/C][C]-0.1079[/C][C]0.914552[/C][C]0.457276[/C][/ROW]
[ROW][C]M4[/C][C]-0.0125197368421053[/C][C]0.078937[/C][C]-0.1586[/C][C]0.874723[/C][C]0.437361[/C][/ROW]
[ROW][C]M5[/C][C]-0.0145197368421053[/C][C]0.078937[/C][C]-0.1839[/C][C]0.854924[/C][C]0.427462[/C][/ROW]
[ROW][C]M6[/C][C]0.00950657894736838[/C][C]0.078783[/C][C]0.1207[/C][C]0.904516[/C][C]0.452258[/C][/ROW]
[ROW][C]M7[/C][C]-0.00249342105263159[/C][C]0.078783[/C][C]-0.0316[/C][C]0.974898[/C][C]0.487449[/C][/ROW]
[ROW][C]M8[/C][C]-0.000493421052631561[/C][C]0.078783[/C][C]-0.0063[/C][C]0.995032[/C][C]0.497516[/C][/ROW]
[ROW][C]M9[/C][C]0.0125[/C][C]0.083025[/C][C]0.1506[/C][C]0.881029[/C][C]0.440514[/C][/ROW]
[ROW][C]M10[/C][C]0.00499999999999997[/C][C]0.083025[/C][C]0.0602[/C][C]0.952257[/C][C]0.476128[/C][/ROW]
[ROW][C]M11[/C][C]0.00499999999999997[/C][C]0.083025[/C][C]0.0602[/C][C]0.952257[/C][C]0.476128[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110866&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110866&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.7925986842105270.0642412.338100
Dummy-0.1201315789473690.034775-3.45450.0012520.000626
M10.001480263157895340.0789370.01880.9851250.492563
M2-0.002519736842105280.078937-0.03190.9746830.487341
M3-0.008519736842105310.078937-0.10790.9145520.457276
M4-0.01251973684210530.078937-0.15860.8747230.437361
M5-0.01451973684210530.078937-0.18390.8549240.427462
M60.009506578947368380.0787830.12070.9045160.452258
M7-0.002493421052631590.078783-0.03160.9748980.487449
M8-0.0004934210526315610.078783-0.00630.9950320.497516
M90.01250.0830250.15060.8810290.440514
M100.004999999999999970.0830250.06020.9522570.476128
M110.004999999999999970.0830250.06020.9522570.476128







Multiple Linear Regression - Regression Statistics
Multiple R0.470063994309785
R-squared0.22096015874647
Adjusted R-squared0.00355369141990347
F-TEST (value)1.01634584041406
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0.451409060296931
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.117414471853918
Sum Squared Residuals0.592804802631579

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.470063994309785 \tabularnewline
R-squared & 0.22096015874647 \tabularnewline
Adjusted R-squared & 0.00355369141990347 \tabularnewline
F-TEST (value) & 1.01634584041406 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0.451409060296931 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.117414471853918 \tabularnewline
Sum Squared Residuals & 0.592804802631579 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110866&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.470063994309785[/C][/ROW]
[ROW][C]R-squared[/C][C]0.22096015874647[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.00355369141990347[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.01634584041406[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0.451409060296931[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.117414471853918[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.592804802631579[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110866&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110866&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.470063994309785
R-squared0.22096015874647
Adjusted R-squared0.00355369141990347
F-TEST (value)1.01634584041406
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0.451409060296931
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.117414471853918
Sum Squared Residuals0.592804802631579







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.810.7940789473684190.0159210526315815
20.810.790078947368420.0199210526315791
30.810.7840789473684210.0259210526315789
40.790.7800789473684210.00992105263157892
50.780.7780789473684210.00192105263157879
60.780.802105263157895-0.0221052631578949
70.770.790105263157895-0.0201052631578949
80.780.792105263157895-0.0121052631578949
90.770.805098684210526-0.0350986842105264
100.780.797598684210526-0.0175986842105265
110.790.797598684210526-0.00759868421052643
120.790.792598684210526-0.00259868421052646
130.790.794078947368422-0.00407894736842181
140.790.790078947368421-7.89473684212328e-05
150.790.7840789473684210.00592105263157885
160.80.7800789473684210.0199210526315788
170.80.7780789473684210.0219210526315788
180.80.6819736842105260.118026315789474
190.80.6699736842105260.130026315789474
200.810.6719736842105260.138026315789474
210.80.6849671052631580.115032894736842
220.820.6774671052631580.142532894736842
230.850.6774671052631580.172532894736842
240.850.6724671052631580.177532894736842
250.860.6739473684210530.186052631578947
260.850.6699473684210530.180052631578947
270.830.6639473684210530.166052631578947
280.810.6599473684210530.150052631578947
290.820.6579473684210530.162052631578947
300.820.6819736842105260.138026315789474
310.780.6699736842105260.110026315789474
320.780.6719736842105260.108026315789474
330.730.6849671052631580.0450328947368421
340.680.6774671052631580.00253289473684221
350.650.677467105263158-0.0274671052631578
360.620.672467105263158-0.0524671052631579
370.60.673947368421053-0.0739473684210532
380.60.669947368421053-0.0699473684210527
390.590.663947368421053-0.0739473684210526
400.60.659947368421053-0.0599473684210526
410.60.657947368421053-0.0579473684210526
420.60.681973684210526-0.0819736842105263
430.590.669973684210526-0.0799736842105263
440.580.671973684210526-0.0919736842105263
450.560.684967105263158-0.124967105263158
460.550.677467105263158-0.127467105263158
470.540.677467105263158-0.137467105263158
480.550.672467105263158-0.122467105263158
490.550.673947368421053-0.123947368421053
500.540.669947368421053-0.129947368421053
510.540.663947368421053-0.123947368421053
520.540.659947368421053-0.119947368421053
530.530.657947368421053-0.127947368421053
540.530.681973684210526-0.151973684210526
550.530.669973684210526-0.139973684210526
560.530.671973684210526-0.141973684210526

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.81 & 0.794078947368419 & 0.0159210526315815 \tabularnewline
2 & 0.81 & 0.79007894736842 & 0.0199210526315791 \tabularnewline
3 & 0.81 & 0.784078947368421 & 0.0259210526315789 \tabularnewline
4 & 0.79 & 0.780078947368421 & 0.00992105263157892 \tabularnewline
5 & 0.78 & 0.778078947368421 & 0.00192105263157879 \tabularnewline
6 & 0.78 & 0.802105263157895 & -0.0221052631578949 \tabularnewline
7 & 0.77 & 0.790105263157895 & -0.0201052631578949 \tabularnewline
8 & 0.78 & 0.792105263157895 & -0.0121052631578949 \tabularnewline
9 & 0.77 & 0.805098684210526 & -0.0350986842105264 \tabularnewline
10 & 0.78 & 0.797598684210526 & -0.0175986842105265 \tabularnewline
11 & 0.79 & 0.797598684210526 & -0.00759868421052643 \tabularnewline
12 & 0.79 & 0.792598684210526 & -0.00259868421052646 \tabularnewline
13 & 0.79 & 0.794078947368422 & -0.00407894736842181 \tabularnewline
14 & 0.79 & 0.790078947368421 & -7.89473684212328e-05 \tabularnewline
15 & 0.79 & 0.784078947368421 & 0.00592105263157885 \tabularnewline
16 & 0.8 & 0.780078947368421 & 0.0199210526315788 \tabularnewline
17 & 0.8 & 0.778078947368421 & 0.0219210526315788 \tabularnewline
18 & 0.8 & 0.681973684210526 & 0.118026315789474 \tabularnewline
19 & 0.8 & 0.669973684210526 & 0.130026315789474 \tabularnewline
20 & 0.81 & 0.671973684210526 & 0.138026315789474 \tabularnewline
21 & 0.8 & 0.684967105263158 & 0.115032894736842 \tabularnewline
22 & 0.82 & 0.677467105263158 & 0.142532894736842 \tabularnewline
23 & 0.85 & 0.677467105263158 & 0.172532894736842 \tabularnewline
24 & 0.85 & 0.672467105263158 & 0.177532894736842 \tabularnewline
25 & 0.86 & 0.673947368421053 & 0.186052631578947 \tabularnewline
26 & 0.85 & 0.669947368421053 & 0.180052631578947 \tabularnewline
27 & 0.83 & 0.663947368421053 & 0.166052631578947 \tabularnewline
28 & 0.81 & 0.659947368421053 & 0.150052631578947 \tabularnewline
29 & 0.82 & 0.657947368421053 & 0.162052631578947 \tabularnewline
30 & 0.82 & 0.681973684210526 & 0.138026315789474 \tabularnewline
31 & 0.78 & 0.669973684210526 & 0.110026315789474 \tabularnewline
32 & 0.78 & 0.671973684210526 & 0.108026315789474 \tabularnewline
33 & 0.73 & 0.684967105263158 & 0.0450328947368421 \tabularnewline
34 & 0.68 & 0.677467105263158 & 0.00253289473684221 \tabularnewline
35 & 0.65 & 0.677467105263158 & -0.0274671052631578 \tabularnewline
36 & 0.62 & 0.672467105263158 & -0.0524671052631579 \tabularnewline
37 & 0.6 & 0.673947368421053 & -0.0739473684210532 \tabularnewline
38 & 0.6 & 0.669947368421053 & -0.0699473684210527 \tabularnewline
39 & 0.59 & 0.663947368421053 & -0.0739473684210526 \tabularnewline
40 & 0.6 & 0.659947368421053 & -0.0599473684210526 \tabularnewline
41 & 0.6 & 0.657947368421053 & -0.0579473684210526 \tabularnewline
42 & 0.6 & 0.681973684210526 & -0.0819736842105263 \tabularnewline
43 & 0.59 & 0.669973684210526 & -0.0799736842105263 \tabularnewline
44 & 0.58 & 0.671973684210526 & -0.0919736842105263 \tabularnewline
45 & 0.56 & 0.684967105263158 & -0.124967105263158 \tabularnewline
46 & 0.55 & 0.677467105263158 & -0.127467105263158 \tabularnewline
47 & 0.54 & 0.677467105263158 & -0.137467105263158 \tabularnewline
48 & 0.55 & 0.672467105263158 & -0.122467105263158 \tabularnewline
49 & 0.55 & 0.673947368421053 & -0.123947368421053 \tabularnewline
50 & 0.54 & 0.669947368421053 & -0.129947368421053 \tabularnewline
51 & 0.54 & 0.663947368421053 & -0.123947368421053 \tabularnewline
52 & 0.54 & 0.659947368421053 & -0.119947368421053 \tabularnewline
53 & 0.53 & 0.657947368421053 & -0.127947368421053 \tabularnewline
54 & 0.53 & 0.681973684210526 & -0.151973684210526 \tabularnewline
55 & 0.53 & 0.669973684210526 & -0.139973684210526 \tabularnewline
56 & 0.53 & 0.671973684210526 & -0.141973684210526 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110866&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.794078947368419[/C][C]0.0159210526315815[/C][/ROW]
[ROW][C]2[/C][C]0.81[/C][C]0.79007894736842[/C][C]0.0199210526315791[/C][/ROW]
[ROW][C]3[/C][C]0.81[/C][C]0.784078947368421[/C][C]0.0259210526315789[/C][/ROW]
[ROW][C]4[/C][C]0.79[/C][C]0.780078947368421[/C][C]0.00992105263157892[/C][/ROW]
[ROW][C]5[/C][C]0.78[/C][C]0.778078947368421[/C][C]0.00192105263157879[/C][/ROW]
[ROW][C]6[/C][C]0.78[/C][C]0.802105263157895[/C][C]-0.0221052631578949[/C][/ROW]
[ROW][C]7[/C][C]0.77[/C][C]0.790105263157895[/C][C]-0.0201052631578949[/C][/ROW]
[ROW][C]8[/C][C]0.78[/C][C]0.792105263157895[/C][C]-0.0121052631578949[/C][/ROW]
[ROW][C]9[/C][C]0.77[/C][C]0.805098684210526[/C][C]-0.0350986842105264[/C][/ROW]
[ROW][C]10[/C][C]0.78[/C][C]0.797598684210526[/C][C]-0.0175986842105265[/C][/ROW]
[ROW][C]11[/C][C]0.79[/C][C]0.797598684210526[/C][C]-0.00759868421052643[/C][/ROW]
[ROW][C]12[/C][C]0.79[/C][C]0.792598684210526[/C][C]-0.00259868421052646[/C][/ROW]
[ROW][C]13[/C][C]0.79[/C][C]0.794078947368422[/C][C]-0.00407894736842181[/C][/ROW]
[ROW][C]14[/C][C]0.79[/C][C]0.790078947368421[/C][C]-7.89473684212328e-05[/C][/ROW]
[ROW][C]15[/C][C]0.79[/C][C]0.784078947368421[/C][C]0.00592105263157885[/C][/ROW]
[ROW][C]16[/C][C]0.8[/C][C]0.780078947368421[/C][C]0.0199210526315788[/C][/ROW]
[ROW][C]17[/C][C]0.8[/C][C]0.778078947368421[/C][C]0.0219210526315788[/C][/ROW]
[ROW][C]18[/C][C]0.8[/C][C]0.681973684210526[/C][C]0.118026315789474[/C][/ROW]
[ROW][C]19[/C][C]0.8[/C][C]0.669973684210526[/C][C]0.130026315789474[/C][/ROW]
[ROW][C]20[/C][C]0.81[/C][C]0.671973684210526[/C][C]0.138026315789474[/C][/ROW]
[ROW][C]21[/C][C]0.8[/C][C]0.684967105263158[/C][C]0.115032894736842[/C][/ROW]
[ROW][C]22[/C][C]0.82[/C][C]0.677467105263158[/C][C]0.142532894736842[/C][/ROW]
[ROW][C]23[/C][C]0.85[/C][C]0.677467105263158[/C][C]0.172532894736842[/C][/ROW]
[ROW][C]24[/C][C]0.85[/C][C]0.672467105263158[/C][C]0.177532894736842[/C][/ROW]
[ROW][C]25[/C][C]0.86[/C][C]0.673947368421053[/C][C]0.186052631578947[/C][/ROW]
[ROW][C]26[/C][C]0.85[/C][C]0.669947368421053[/C][C]0.180052631578947[/C][/ROW]
[ROW][C]27[/C][C]0.83[/C][C]0.663947368421053[/C][C]0.166052631578947[/C][/ROW]
[ROW][C]28[/C][C]0.81[/C][C]0.659947368421053[/C][C]0.150052631578947[/C][/ROW]
[ROW][C]29[/C][C]0.82[/C][C]0.657947368421053[/C][C]0.162052631578947[/C][/ROW]
[ROW][C]30[/C][C]0.82[/C][C]0.681973684210526[/C][C]0.138026315789474[/C][/ROW]
[ROW][C]31[/C][C]0.78[/C][C]0.669973684210526[/C][C]0.110026315789474[/C][/ROW]
[ROW][C]32[/C][C]0.78[/C][C]0.671973684210526[/C][C]0.108026315789474[/C][/ROW]
[ROW][C]33[/C][C]0.73[/C][C]0.684967105263158[/C][C]0.0450328947368421[/C][/ROW]
[ROW][C]34[/C][C]0.68[/C][C]0.677467105263158[/C][C]0.00253289473684221[/C][/ROW]
[ROW][C]35[/C][C]0.65[/C][C]0.677467105263158[/C][C]-0.0274671052631578[/C][/ROW]
[ROW][C]36[/C][C]0.62[/C][C]0.672467105263158[/C][C]-0.0524671052631579[/C][/ROW]
[ROW][C]37[/C][C]0.6[/C][C]0.673947368421053[/C][C]-0.0739473684210532[/C][/ROW]
[ROW][C]38[/C][C]0.6[/C][C]0.669947368421053[/C][C]-0.0699473684210527[/C][/ROW]
[ROW][C]39[/C][C]0.59[/C][C]0.663947368421053[/C][C]-0.0739473684210526[/C][/ROW]
[ROW][C]40[/C][C]0.6[/C][C]0.659947368421053[/C][C]-0.0599473684210526[/C][/ROW]
[ROW][C]41[/C][C]0.6[/C][C]0.657947368421053[/C][C]-0.0579473684210526[/C][/ROW]
[ROW][C]42[/C][C]0.6[/C][C]0.681973684210526[/C][C]-0.0819736842105263[/C][/ROW]
[ROW][C]43[/C][C]0.59[/C][C]0.669973684210526[/C][C]-0.0799736842105263[/C][/ROW]
[ROW][C]44[/C][C]0.58[/C][C]0.671973684210526[/C][C]-0.0919736842105263[/C][/ROW]
[ROW][C]45[/C][C]0.56[/C][C]0.684967105263158[/C][C]-0.124967105263158[/C][/ROW]
[ROW][C]46[/C][C]0.55[/C][C]0.677467105263158[/C][C]-0.127467105263158[/C][/ROW]
[ROW][C]47[/C][C]0.54[/C][C]0.677467105263158[/C][C]-0.137467105263158[/C][/ROW]
[ROW][C]48[/C][C]0.55[/C][C]0.672467105263158[/C][C]-0.122467105263158[/C][/ROW]
[ROW][C]49[/C][C]0.55[/C][C]0.673947368421053[/C][C]-0.123947368421053[/C][/ROW]
[ROW][C]50[/C][C]0.54[/C][C]0.669947368421053[/C][C]-0.129947368421053[/C][/ROW]
[ROW][C]51[/C][C]0.54[/C][C]0.663947368421053[/C][C]-0.123947368421053[/C][/ROW]
[ROW][C]52[/C][C]0.54[/C][C]0.659947368421053[/C][C]-0.119947368421053[/C][/ROW]
[ROW][C]53[/C][C]0.53[/C][C]0.657947368421053[/C][C]-0.127947368421053[/C][/ROW]
[ROW][C]54[/C][C]0.53[/C][C]0.681973684210526[/C][C]-0.151973684210526[/C][/ROW]
[ROW][C]55[/C][C]0.53[/C][C]0.669973684210526[/C][C]-0.139973684210526[/C][/ROW]
[ROW][C]56[/C][C]0.53[/C][C]0.671973684210526[/C][C]-0.141973684210526[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110866&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110866&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.7940789473684190.0159210526315815
20.810.790078947368420.0199210526315791
30.810.7840789473684210.0259210526315789
40.790.7800789473684210.00992105263157892
50.780.7780789473684210.00192105263157879
60.780.802105263157895-0.0221052631578949
70.770.790105263157895-0.0201052631578949
80.780.792105263157895-0.0121052631578949
90.770.805098684210526-0.0350986842105264
100.780.797598684210526-0.0175986842105265
110.790.797598684210526-0.00759868421052643
120.790.792598684210526-0.00259868421052646
130.790.794078947368422-0.00407894736842181
140.790.790078947368421-7.89473684212328e-05
150.790.7840789473684210.00592105263157885
160.80.7800789473684210.0199210526315788
170.80.7780789473684210.0219210526315788
180.80.6819736842105260.118026315789474
190.80.6699736842105260.130026315789474
200.810.6719736842105260.138026315789474
210.80.6849671052631580.115032894736842
220.820.6774671052631580.142532894736842
230.850.6774671052631580.172532894736842
240.850.6724671052631580.177532894736842
250.860.6739473684210530.186052631578947
260.850.6699473684210530.180052631578947
270.830.6639473684210530.166052631578947
280.810.6599473684210530.150052631578947
290.820.6579473684210530.162052631578947
300.820.6819736842105260.138026315789474
310.780.6699736842105260.110026315789474
320.780.6719736842105260.108026315789474
330.730.6849671052631580.0450328947368421
340.680.6774671052631580.00253289473684221
350.650.677467105263158-0.0274671052631578
360.620.672467105263158-0.0524671052631579
370.60.673947368421053-0.0739473684210532
380.60.669947368421053-0.0699473684210527
390.590.663947368421053-0.0739473684210526
400.60.659947368421053-0.0599473684210526
410.60.657947368421053-0.0579473684210526
420.60.681973684210526-0.0819736842105263
430.590.669973684210526-0.0799736842105263
440.580.671973684210526-0.0919736842105263
450.560.684967105263158-0.124967105263158
460.550.677467105263158-0.127467105263158
470.540.677467105263158-0.137467105263158
480.550.672467105263158-0.122467105263158
490.550.673947368421053-0.123947368421053
500.540.669947368421053-0.129947368421053
510.540.663947368421053-0.123947368421053
520.540.659947368421053-0.119947368421053
530.530.657947368421053-0.127947368421053
540.530.681973684210526-0.151973684210526
550.530.669973684210526-0.139973684210526
560.530.671973684210526-0.141973684210526







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.001402242426988420.002804484853976840.998597757573012
170.0001887041217322130.0003774082434644250.999811295878268
181.62622317284713e-053.25244634569426e-050.999983737768272
191.45305969378616e-062.90611938757232e-060.999998546940306
201.21474128230855e-072.42948256461709e-070.999999878525872
219.13303601456206e-091.82660720291241e-080.999999990866964
229.79455948947691e-101.95891189789538e-090.999999999020544
234.9613264402823e-109.9226528805646e-100.999999999503867
241.75568871353511e-103.51137742707022e-100.999999999824431
257.84487934192638e-111.56897586838528e-100.99999999992155
262.16465228817821e-114.32930457635642e-110.999999999978354
279.08160565619374e-121.81632113123875e-110.999999999990918
281.21045010754585e-112.42090021509171e-110.999999999987895
299.59471631917635e-121.91894326383527e-110.999999999990405
301.99716890729718e-113.99433781459437e-110.999999999980028
311.50549144252779e-103.01098288505559e-100.99999999984945
322.01542308840681e-084.03084617681361e-080.99999997984577
332.42439442809682e-054.84878885619364e-050.999975756055719
340.02740906685093180.05481813370186370.972590933149068
350.3980019960836380.7960039921672770.601998003916361
360.701360595081740.5972788098365210.298639404918261
370.8167043844600970.3665912310798050.183295615539903
380.8486648947966010.3026702104067980.151335105203399
390.8281020954402340.3437958091195330.171897904559766
400.7778825305306910.4442349389386180.222117469469309

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.00140224242698842 & 0.00280448485397684 & 0.998597757573012 \tabularnewline
17 & 0.000188704121732213 & 0.000377408243464425 & 0.999811295878268 \tabularnewline
18 & 1.62622317284713e-05 & 3.25244634569426e-05 & 0.999983737768272 \tabularnewline
19 & 1.45305969378616e-06 & 2.90611938757232e-06 & 0.999998546940306 \tabularnewline
20 & 1.21474128230855e-07 & 2.42948256461709e-07 & 0.999999878525872 \tabularnewline
21 & 9.13303601456206e-09 & 1.82660720291241e-08 & 0.999999990866964 \tabularnewline
22 & 9.79455948947691e-10 & 1.95891189789538e-09 & 0.999999999020544 \tabularnewline
23 & 4.9613264402823e-10 & 9.9226528805646e-10 & 0.999999999503867 \tabularnewline
24 & 1.75568871353511e-10 & 3.51137742707022e-10 & 0.999999999824431 \tabularnewline
25 & 7.84487934192638e-11 & 1.56897586838528e-10 & 0.99999999992155 \tabularnewline
26 & 2.16465228817821e-11 & 4.32930457635642e-11 & 0.999999999978354 \tabularnewline
27 & 9.08160565619374e-12 & 1.81632113123875e-11 & 0.999999999990918 \tabularnewline
28 & 1.21045010754585e-11 & 2.42090021509171e-11 & 0.999999999987895 \tabularnewline
29 & 9.59471631917635e-12 & 1.91894326383527e-11 & 0.999999999990405 \tabularnewline
30 & 1.99716890729718e-11 & 3.99433781459437e-11 & 0.999999999980028 \tabularnewline
31 & 1.50549144252779e-10 & 3.01098288505559e-10 & 0.99999999984945 \tabularnewline
32 & 2.01542308840681e-08 & 4.03084617681361e-08 & 0.99999997984577 \tabularnewline
33 & 2.42439442809682e-05 & 4.84878885619364e-05 & 0.999975756055719 \tabularnewline
34 & 0.0274090668509318 & 0.0548181337018637 & 0.972590933149068 \tabularnewline
35 & 0.398001996083638 & 0.796003992167277 & 0.601998003916361 \tabularnewline
36 & 0.70136059508174 & 0.597278809836521 & 0.298639404918261 \tabularnewline
37 & 0.816704384460097 & 0.366591231079805 & 0.183295615539903 \tabularnewline
38 & 0.848664894796601 & 0.302670210406798 & 0.151335105203399 \tabularnewline
39 & 0.828102095440234 & 0.343795809119533 & 0.171897904559766 \tabularnewline
40 & 0.777882530530691 & 0.444234938938618 & 0.222117469469309 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110866&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]16[/C][C]0.00140224242698842[/C][C]0.00280448485397684[/C][C]0.998597757573012[/C][/ROW]
[ROW][C]17[/C][C]0.000188704121732213[/C][C]0.000377408243464425[/C][C]0.999811295878268[/C][/ROW]
[ROW][C]18[/C][C]1.62622317284713e-05[/C][C]3.25244634569426e-05[/C][C]0.999983737768272[/C][/ROW]
[ROW][C]19[/C][C]1.45305969378616e-06[/C][C]2.90611938757232e-06[/C][C]0.999998546940306[/C][/ROW]
[ROW][C]20[/C][C]1.21474128230855e-07[/C][C]2.42948256461709e-07[/C][C]0.999999878525872[/C][/ROW]
[ROW][C]21[/C][C]9.13303601456206e-09[/C][C]1.82660720291241e-08[/C][C]0.999999990866964[/C][/ROW]
[ROW][C]22[/C][C]9.79455948947691e-10[/C][C]1.95891189789538e-09[/C][C]0.999999999020544[/C][/ROW]
[ROW][C]23[/C][C]4.9613264402823e-10[/C][C]9.9226528805646e-10[/C][C]0.999999999503867[/C][/ROW]
[ROW][C]24[/C][C]1.75568871353511e-10[/C][C]3.51137742707022e-10[/C][C]0.999999999824431[/C][/ROW]
[ROW][C]25[/C][C]7.84487934192638e-11[/C][C]1.56897586838528e-10[/C][C]0.99999999992155[/C][/ROW]
[ROW][C]26[/C][C]2.16465228817821e-11[/C][C]4.32930457635642e-11[/C][C]0.999999999978354[/C][/ROW]
[ROW][C]27[/C][C]9.08160565619374e-12[/C][C]1.81632113123875e-11[/C][C]0.999999999990918[/C][/ROW]
[ROW][C]28[/C][C]1.21045010754585e-11[/C][C]2.42090021509171e-11[/C][C]0.999999999987895[/C][/ROW]
[ROW][C]29[/C][C]9.59471631917635e-12[/C][C]1.91894326383527e-11[/C][C]0.999999999990405[/C][/ROW]
[ROW][C]30[/C][C]1.99716890729718e-11[/C][C]3.99433781459437e-11[/C][C]0.999999999980028[/C][/ROW]
[ROW][C]31[/C][C]1.50549144252779e-10[/C][C]3.01098288505559e-10[/C][C]0.99999999984945[/C][/ROW]
[ROW][C]32[/C][C]2.01542308840681e-08[/C][C]4.03084617681361e-08[/C][C]0.99999997984577[/C][/ROW]
[ROW][C]33[/C][C]2.42439442809682e-05[/C][C]4.84878885619364e-05[/C][C]0.999975756055719[/C][/ROW]
[ROW][C]34[/C][C]0.0274090668509318[/C][C]0.0548181337018637[/C][C]0.972590933149068[/C][/ROW]
[ROW][C]35[/C][C]0.398001996083638[/C][C]0.796003992167277[/C][C]0.601998003916361[/C][/ROW]
[ROW][C]36[/C][C]0.70136059508174[/C][C]0.597278809836521[/C][C]0.298639404918261[/C][/ROW]
[ROW][C]37[/C][C]0.816704384460097[/C][C]0.366591231079805[/C][C]0.183295615539903[/C][/ROW]
[ROW][C]38[/C][C]0.848664894796601[/C][C]0.302670210406798[/C][C]0.151335105203399[/C][/ROW]
[ROW][C]39[/C][C]0.828102095440234[/C][C]0.343795809119533[/C][C]0.171897904559766[/C][/ROW]
[ROW][C]40[/C][C]0.777882530530691[/C][C]0.444234938938618[/C][C]0.222117469469309[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110866&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110866&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
160.001402242426988420.002804484853976840.998597757573012
170.0001887041217322130.0003774082434644250.999811295878268
181.62622317284713e-053.25244634569426e-050.999983737768272
191.45305969378616e-062.90611938757232e-060.999998546940306
201.21474128230855e-072.42948256461709e-070.999999878525872
219.13303601456206e-091.82660720291241e-080.999999990866964
229.79455948947691e-101.95891189789538e-090.999999999020544
234.9613264402823e-109.9226528805646e-100.999999999503867
241.75568871353511e-103.51137742707022e-100.999999999824431
257.84487934192638e-111.56897586838528e-100.99999999992155
262.16465228817821e-114.32930457635642e-110.999999999978354
279.08160565619374e-121.81632113123875e-110.999999999990918
281.21045010754585e-112.42090021509171e-110.999999999987895
299.59471631917635e-121.91894326383527e-110.999999999990405
301.99716890729718e-113.99433781459437e-110.999999999980028
311.50549144252779e-103.01098288505559e-100.99999999984945
322.01542308840681e-084.03084617681361e-080.99999997984577
332.42439442809682e-054.84878885619364e-050.999975756055719
340.02740906685093180.05481813370186370.972590933149068
350.3980019960836380.7960039921672770.601998003916361
360.701360595081740.5972788098365210.298639404918261
370.8167043844600970.3665912310798050.183295615539903
380.8486648947966010.3026702104067980.151335105203399
390.8281020954402340.3437958091195330.171897904559766
400.7778825305306910.4442349389386180.222117469469309







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level180.72NOK
5% type I error level180.72NOK
10% type I error level190.76NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110866&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 level180.72NOK
5% type I error level180.72NOK
10% type I error level190.76NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}