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 computationWed, 18 Nov 2009 13:13:05 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/18/t1258575352cag7ipy5rtudn7c.htm/, Retrieved Sun, 05 May 2024 13:04:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57610, Retrieved Sun, 05 May 2024 13:04:15 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsTijdsperiode Jan 2004 - Jan 2009 Basisjaar 2000=100 Quarterly dummies Linear trend Y1 = y(t-1) Y2= y(t-2) ...
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:10:54] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [Grondstofprijsindex] [2009-11-18 20:13:05] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
102,9	112,7	97	95,1
97,4	102,9	112,7	97
111,4	97,4	102,9	112,7
87,4	111,4	97,4	102,9
96,8	87,4	111,4	97,4
114,1	96,8	87,4	111,4
110,3	114,1	96,8	87,4
103,9	110,3	114,1	96,8
101,6	103,9	110,3	114,1
94,6	101,6	103,9	110,3
95,9	94,6	101,6	103,9
104,7	95,9	94,6	101,6
102,8	104,7	95,9	94,6
98,1	102,8	104,7	95,9
113,9	98,1	102,8	104,7
80,9	113,9	98,1	102,8
95,7	80,9	113,9	98,1
113,2	95,7	80,9	113,9
105,9	113,2	95,7	80,9
108,8	105,9	113,2	95,7
102,3	108,8	105,9	113,2
99	102,3	108,8	105,9
100,7	99	102,3	108,8
115,5	100,7	99	102,3
100,7	115,5	100,7	99
109,9	100,7	115,5	100,7
114,6	109,9	100,7	115,5
85,4	114,6	109,9	100,7
100,5	85,4	114,6	109,9
114,8	100,5	85,4	114,6
116,5	114,8	100,5	85,4
112,9	116,5	114,8	100,5
102	112,9	116,5	114,8
106	102	112,9	116,5
105,3	106	102	112,9
118,8	105,3	106	102
106,1	118,8	105,3	106
109,3	106,1	118,8	105,3
117,2	109,3	106,1	118,8
92,5	117,2	109,3	106,1
104,2	92,5	117,2	109,3
112,5	104,2	92,5	117,2
122,4	112,5	104,2	92,5
113,3	122,4	112,5	104,2
100	113,3	122,4	112,5
110,7	100	113,3	122,4
112,8	110,7	100	113,3
109,8	112,8	110,7	100
117,3	109,8	112,8	110,7
109,1	117,3	109,8	112,8
115,9	109,1	117,3	109,8
96	115,9	109,1	117,3
99,8	96	115,9	109,1
116,8	99,8	96	115,9
115,7	116,8	99,8	96
99,4	115,7	116,8	99,8
94,3	99,4	115,7	116,8
91	94,3	99,4	115,7




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

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







Multiple Linear Regression - Estimated Regression Equation
Y1[t] = + 116.939613337068 + 0.0430137979567748Y2[t] -0.160013323006682Y3[t] -0.071958961534734Y4[t] + 1.00573465873926Q1[t] + 4.57015060910835Q2[t] + 8.77475886672209Q3[t] + 0.164533502720915t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y1[t] =  +  116.939613337068 +  0.0430137979567748Y2[t] -0.160013323006682Y3[t] -0.071958961534734Y4[t] +  1.00573465873926Q1[t] +  4.57015060910835Q2[t] +  8.77475886672209Q3[t] +  0.164533502720915t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57610&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y1[t] =  +  116.939613337068 +  0.0430137979567748Y2[t] -0.160013323006682Y3[t] -0.071958961534734Y4[t] +  1.00573465873926Q1[t] +  4.57015060910835Q2[t] +  8.77475886672209Q3[t] +  0.164533502720915t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57610&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57610&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
Y1[t] = + 116.939613337068 + 0.0430137979567748Y2[t] -0.160013323006682Y3[t] -0.071958961534734Y4[t] + 1.00573465873926Q1[t] + 4.57015060910835Q2[t] + 8.77475886672209Q3[t] + 0.164533502720915t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)116.93961333706829.2231514.00160.0002080.000104
Y20.04301379795677480.1475330.29160.7718340.385917
Y3-0.1600133230066820.144964-1.10380.2749560.137478
Y4-0.0719589615347340.14995-0.47990.6334010.316701
Q11.005734658739263.3914780.29650.768040.38402
Q24.570150609108353.5795871.27670.2075970.103798
Q38.774758866722093.3030782.65650.0105680.005284
t0.1645335027209150.0825451.99330.0517030.025852

\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) & 116.939613337068 & 29.223151 & 4.0016 & 0.000208 & 0.000104 \tabularnewline
Y2 & 0.0430137979567748 & 0.147533 & 0.2916 & 0.771834 & 0.385917 \tabularnewline
Y3 & -0.160013323006682 & 0.144964 & -1.1038 & 0.274956 & 0.137478 \tabularnewline
Y4 & -0.071958961534734 & 0.14995 & -0.4799 & 0.633401 & 0.316701 \tabularnewline
Q1 & 1.00573465873926 & 3.391478 & 0.2965 & 0.76804 & 0.38402 \tabularnewline
Q2 & 4.57015060910835 & 3.579587 & 1.2767 & 0.207597 & 0.103798 \tabularnewline
Q3 & 8.77475886672209 & 3.303078 & 2.6565 & 0.010568 & 0.005284 \tabularnewline
t & 0.164533502720915 & 0.082545 & 1.9933 & 0.051703 & 0.025852 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57610&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]116.939613337068[/C][C]29.223151[/C][C]4.0016[/C][C]0.000208[/C][C]0.000104[/C][/ROW]
[ROW][C]Y2[/C][C]0.0430137979567748[/C][C]0.147533[/C][C]0.2916[/C][C]0.771834[/C][C]0.385917[/C][/ROW]
[ROW][C]Y3[/C][C]-0.160013323006682[/C][C]0.144964[/C][C]-1.1038[/C][C]0.274956[/C][C]0.137478[/C][/ROW]
[ROW][C]Y4[/C][C]-0.071958961534734[/C][C]0.14995[/C][C]-0.4799[/C][C]0.633401[/C][C]0.316701[/C][/ROW]
[ROW][C]Q1[/C][C]1.00573465873926[/C][C]3.391478[/C][C]0.2965[/C][C]0.76804[/C][C]0.38402[/C][/ROW]
[ROW][C]Q2[/C][C]4.57015060910835[/C][C]3.579587[/C][C]1.2767[/C][C]0.207597[/C][C]0.103798[/C][/ROW]
[ROW][C]Q3[/C][C]8.77475886672209[/C][C]3.303078[/C][C]2.6565[/C][C]0.010568[/C][C]0.005284[/C][/ROW]
[ROW][C]t[/C][C]0.164533502720915[/C][C]0.082545[/C][C]1.9933[/C][C]0.051703[/C][C]0.025852[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57610&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57610&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)116.93961333706829.2231514.00160.0002080.000104
Y20.04301379795677480.1475330.29160.7718340.385917
Y3-0.1600133230066820.144964-1.10380.2749560.137478
Y4-0.0719589615347340.14995-0.47990.6334010.316701
Q11.005734658739263.3914780.29650.768040.38402
Q24.570150609108353.5795871.27670.2075970.103798
Q38.774758866722093.3030782.65650.0105680.005284
t0.1645335027209150.0825451.99330.0517030.025852







Multiple Linear Regression - Regression Statistics
Multiple R0.508795301197775
R-squared0.258872658520935
Adjusted R-squared0.155114830713866
F-TEST (value)2.49496991207537
F-TEST (DF numerator)7
F-TEST (DF denominator)50
p-value0.0280160670640583
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.39623371672563
Sum Squared Residuals3524.83703129402

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.508795301197775 \tabularnewline
R-squared & 0.258872658520935 \tabularnewline
Adjusted R-squared & 0.155114830713866 \tabularnewline
F-TEST (value) & 2.49496991207537 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 50 \tabularnewline
p-value & 0.0280160670640583 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 8.39623371672563 \tabularnewline
Sum Squared Residuals & 3524.83703129402 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57610&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.508795301197775[/C][/ROW]
[ROW][C]R-squared[/C][C]0.258872658520935[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.155114830713866[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.49496991207537[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]50[/C][/ROW]
[ROW][C]p-value[/C][C]0.0280160670640583[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]8.39623371672563[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3524.83703129402[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57610&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57610&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.508795301197775
R-squared0.258872658520935
Adjusted R-squared0.155114830713866
F-TEST (value)2.49496991207537
F-TEST (DF numerator)7
F-TEST (DF denominator)50
p-value0.0280160670640583
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.39623371672563
Sum Squared Residuals3524.83703129402







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1102.9100.5929469546562.30705304534434
297.4101.251429989648-3.85142998964828
3111.4105.8223707305915.57762926940915
487.499.3996096375617-11.9996096375616
596.897.6931344144067-0.893134414406719
6114.1104.6593078589659.44069214103548
7110.3109.9954781645220.304521835477825
8103.997.77715564184326.12284435815686
9101.698.03529608925453.56470391074554
1094.6102.962843128119-8.36284312811865
1195.9107.859456299494-11.9594562994935
12104.7100.5907477454134.10925225458716
13102.8102.4352327397270.364767260272917
1498.1104.580792084245-6.48079208424526
15113.9108.4185554463905.4814445536099
1680.9101.376732735153-20.4767327351534
1795.798.9375421797476-3.23754217974764
18113.2107.4465839095705.75341609043036
19105.9112.574915684295-6.67491568429517
20108.899.78546381187859.01453618812146
21102.3100.9892874185041.3107125814957
2299104.499908967359-5.49990896735945
23100.7109.558510805529-8.85851080552945
24115.5102.01718611395313.4828138860474
25100.7103.789500409126-3.08950040912632
26109.9104.3913182373485.5086817626519
27114.6110.459391488674.14060851133006
2885.4101.644201034118-16.2442010341182
29100.5100.1443812309900.355618769010429
30114.8108.8570209458095.94297905419124
31116.5113.5262605163392.97373948366138
32112.9101.61438777069411.2856122293061
33102101.3287704604520.671229539548353
34106105.0425872440280.957412755972183
35105.3111.586981678487-6.28698167848746
36118.8103.09094604461815.7090539553816
37106.1104.6660739584611.43392604153921
38109.3105.7389395899843.56106041001615
39117.2111.3064487252465.89355127475386
4092.5103.437868542973-10.9378685429732
41104.2102.0513219662372.14867803376288
42112.5109.6673861375622.83261386243794
43122.4114.2987728916688.10122710833232
44113.3103.9443536965279.35564630347327
45100102.541805018076-2.54180501807580
46110.7106.4423984785084.25760152149236
47112.8114.054791622935-1.25479162293475
48109.8104.7798068668835.02019313311674
49117.3104.71504476773712.5849552322626
50109.1109.0955238553000.00447614469964736
51115.9112.1277294344443.77227056555648
5296104.582414933693-8.58241493369272
5399.8104.398681403952-4.59868140395245
54116.8110.9860274786755.813972521325
55115.7116.910336511391-1.21033651139063
5699.4105.259125424691-5.8591254246914
5794.3104.680980988673-10.3809809886730
5891110.877932094881-19.8779320948806

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 102.9 & 100.592946954656 & 2.30705304534434 \tabularnewline
2 & 97.4 & 101.251429989648 & -3.85142998964828 \tabularnewline
3 & 111.4 & 105.822370730591 & 5.57762926940915 \tabularnewline
4 & 87.4 & 99.3996096375617 & -11.9996096375616 \tabularnewline
5 & 96.8 & 97.6931344144067 & -0.893134414406719 \tabularnewline
6 & 114.1 & 104.659307858965 & 9.44069214103548 \tabularnewline
7 & 110.3 & 109.995478164522 & 0.304521835477825 \tabularnewline
8 & 103.9 & 97.7771556418432 & 6.12284435815686 \tabularnewline
9 & 101.6 & 98.0352960892545 & 3.56470391074554 \tabularnewline
10 & 94.6 & 102.962843128119 & -8.36284312811865 \tabularnewline
11 & 95.9 & 107.859456299494 & -11.9594562994935 \tabularnewline
12 & 104.7 & 100.590747745413 & 4.10925225458716 \tabularnewline
13 & 102.8 & 102.435232739727 & 0.364767260272917 \tabularnewline
14 & 98.1 & 104.580792084245 & -6.48079208424526 \tabularnewline
15 & 113.9 & 108.418555446390 & 5.4814445536099 \tabularnewline
16 & 80.9 & 101.376732735153 & -20.4767327351534 \tabularnewline
17 & 95.7 & 98.9375421797476 & -3.23754217974764 \tabularnewline
18 & 113.2 & 107.446583909570 & 5.75341609043036 \tabularnewline
19 & 105.9 & 112.574915684295 & -6.67491568429517 \tabularnewline
20 & 108.8 & 99.7854638118785 & 9.01453618812146 \tabularnewline
21 & 102.3 & 100.989287418504 & 1.3107125814957 \tabularnewline
22 & 99 & 104.499908967359 & -5.49990896735945 \tabularnewline
23 & 100.7 & 109.558510805529 & -8.85851080552945 \tabularnewline
24 & 115.5 & 102.017186113953 & 13.4828138860474 \tabularnewline
25 & 100.7 & 103.789500409126 & -3.08950040912632 \tabularnewline
26 & 109.9 & 104.391318237348 & 5.5086817626519 \tabularnewline
27 & 114.6 & 110.45939148867 & 4.14060851133006 \tabularnewline
28 & 85.4 & 101.644201034118 & -16.2442010341182 \tabularnewline
29 & 100.5 & 100.144381230990 & 0.355618769010429 \tabularnewline
30 & 114.8 & 108.857020945809 & 5.94297905419124 \tabularnewline
31 & 116.5 & 113.526260516339 & 2.97373948366138 \tabularnewline
32 & 112.9 & 101.614387770694 & 11.2856122293061 \tabularnewline
33 & 102 & 101.328770460452 & 0.671229539548353 \tabularnewline
34 & 106 & 105.042587244028 & 0.957412755972183 \tabularnewline
35 & 105.3 & 111.586981678487 & -6.28698167848746 \tabularnewline
36 & 118.8 & 103.090946044618 & 15.7090539553816 \tabularnewline
37 & 106.1 & 104.666073958461 & 1.43392604153921 \tabularnewline
38 & 109.3 & 105.738939589984 & 3.56106041001615 \tabularnewline
39 & 117.2 & 111.306448725246 & 5.89355127475386 \tabularnewline
40 & 92.5 & 103.437868542973 & -10.9378685429732 \tabularnewline
41 & 104.2 & 102.051321966237 & 2.14867803376288 \tabularnewline
42 & 112.5 & 109.667386137562 & 2.83261386243794 \tabularnewline
43 & 122.4 & 114.298772891668 & 8.10122710833232 \tabularnewline
44 & 113.3 & 103.944353696527 & 9.35564630347327 \tabularnewline
45 & 100 & 102.541805018076 & -2.54180501807580 \tabularnewline
46 & 110.7 & 106.442398478508 & 4.25760152149236 \tabularnewline
47 & 112.8 & 114.054791622935 & -1.25479162293475 \tabularnewline
48 & 109.8 & 104.779806866883 & 5.02019313311674 \tabularnewline
49 & 117.3 & 104.715044767737 & 12.5849552322626 \tabularnewline
50 & 109.1 & 109.095523855300 & 0.00447614469964736 \tabularnewline
51 & 115.9 & 112.127729434444 & 3.77227056555648 \tabularnewline
52 & 96 & 104.582414933693 & -8.58241493369272 \tabularnewline
53 & 99.8 & 104.398681403952 & -4.59868140395245 \tabularnewline
54 & 116.8 & 110.986027478675 & 5.813972521325 \tabularnewline
55 & 115.7 & 116.910336511391 & -1.21033651139063 \tabularnewline
56 & 99.4 & 105.259125424691 & -5.8591254246914 \tabularnewline
57 & 94.3 & 104.680980988673 & -10.3809809886730 \tabularnewline
58 & 91 & 110.877932094881 & -19.8779320948806 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57610&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]102.9[/C][C]100.592946954656[/C][C]2.30705304534434[/C][/ROW]
[ROW][C]2[/C][C]97.4[/C][C]101.251429989648[/C][C]-3.85142998964828[/C][/ROW]
[ROW][C]3[/C][C]111.4[/C][C]105.822370730591[/C][C]5.57762926940915[/C][/ROW]
[ROW][C]4[/C][C]87.4[/C][C]99.3996096375617[/C][C]-11.9996096375616[/C][/ROW]
[ROW][C]5[/C][C]96.8[/C][C]97.6931344144067[/C][C]-0.893134414406719[/C][/ROW]
[ROW][C]6[/C][C]114.1[/C][C]104.659307858965[/C][C]9.44069214103548[/C][/ROW]
[ROW][C]7[/C][C]110.3[/C][C]109.995478164522[/C][C]0.304521835477825[/C][/ROW]
[ROW][C]8[/C][C]103.9[/C][C]97.7771556418432[/C][C]6.12284435815686[/C][/ROW]
[ROW][C]9[/C][C]101.6[/C][C]98.0352960892545[/C][C]3.56470391074554[/C][/ROW]
[ROW][C]10[/C][C]94.6[/C][C]102.962843128119[/C][C]-8.36284312811865[/C][/ROW]
[ROW][C]11[/C][C]95.9[/C][C]107.859456299494[/C][C]-11.9594562994935[/C][/ROW]
[ROW][C]12[/C][C]104.7[/C][C]100.590747745413[/C][C]4.10925225458716[/C][/ROW]
[ROW][C]13[/C][C]102.8[/C][C]102.435232739727[/C][C]0.364767260272917[/C][/ROW]
[ROW][C]14[/C][C]98.1[/C][C]104.580792084245[/C][C]-6.48079208424526[/C][/ROW]
[ROW][C]15[/C][C]113.9[/C][C]108.418555446390[/C][C]5.4814445536099[/C][/ROW]
[ROW][C]16[/C][C]80.9[/C][C]101.376732735153[/C][C]-20.4767327351534[/C][/ROW]
[ROW][C]17[/C][C]95.7[/C][C]98.9375421797476[/C][C]-3.23754217974764[/C][/ROW]
[ROW][C]18[/C][C]113.2[/C][C]107.446583909570[/C][C]5.75341609043036[/C][/ROW]
[ROW][C]19[/C][C]105.9[/C][C]112.574915684295[/C][C]-6.67491568429517[/C][/ROW]
[ROW][C]20[/C][C]108.8[/C][C]99.7854638118785[/C][C]9.01453618812146[/C][/ROW]
[ROW][C]21[/C][C]102.3[/C][C]100.989287418504[/C][C]1.3107125814957[/C][/ROW]
[ROW][C]22[/C][C]99[/C][C]104.499908967359[/C][C]-5.49990896735945[/C][/ROW]
[ROW][C]23[/C][C]100.7[/C][C]109.558510805529[/C][C]-8.85851080552945[/C][/ROW]
[ROW][C]24[/C][C]115.5[/C][C]102.017186113953[/C][C]13.4828138860474[/C][/ROW]
[ROW][C]25[/C][C]100.7[/C][C]103.789500409126[/C][C]-3.08950040912632[/C][/ROW]
[ROW][C]26[/C][C]109.9[/C][C]104.391318237348[/C][C]5.5086817626519[/C][/ROW]
[ROW][C]27[/C][C]114.6[/C][C]110.45939148867[/C][C]4.14060851133006[/C][/ROW]
[ROW][C]28[/C][C]85.4[/C][C]101.644201034118[/C][C]-16.2442010341182[/C][/ROW]
[ROW][C]29[/C][C]100.5[/C][C]100.144381230990[/C][C]0.355618769010429[/C][/ROW]
[ROW][C]30[/C][C]114.8[/C][C]108.857020945809[/C][C]5.94297905419124[/C][/ROW]
[ROW][C]31[/C][C]116.5[/C][C]113.526260516339[/C][C]2.97373948366138[/C][/ROW]
[ROW][C]32[/C][C]112.9[/C][C]101.614387770694[/C][C]11.2856122293061[/C][/ROW]
[ROW][C]33[/C][C]102[/C][C]101.328770460452[/C][C]0.671229539548353[/C][/ROW]
[ROW][C]34[/C][C]106[/C][C]105.042587244028[/C][C]0.957412755972183[/C][/ROW]
[ROW][C]35[/C][C]105.3[/C][C]111.586981678487[/C][C]-6.28698167848746[/C][/ROW]
[ROW][C]36[/C][C]118.8[/C][C]103.090946044618[/C][C]15.7090539553816[/C][/ROW]
[ROW][C]37[/C][C]106.1[/C][C]104.666073958461[/C][C]1.43392604153921[/C][/ROW]
[ROW][C]38[/C][C]109.3[/C][C]105.738939589984[/C][C]3.56106041001615[/C][/ROW]
[ROW][C]39[/C][C]117.2[/C][C]111.306448725246[/C][C]5.89355127475386[/C][/ROW]
[ROW][C]40[/C][C]92.5[/C][C]103.437868542973[/C][C]-10.9378685429732[/C][/ROW]
[ROW][C]41[/C][C]104.2[/C][C]102.051321966237[/C][C]2.14867803376288[/C][/ROW]
[ROW][C]42[/C][C]112.5[/C][C]109.667386137562[/C][C]2.83261386243794[/C][/ROW]
[ROW][C]43[/C][C]122.4[/C][C]114.298772891668[/C][C]8.10122710833232[/C][/ROW]
[ROW][C]44[/C][C]113.3[/C][C]103.944353696527[/C][C]9.35564630347327[/C][/ROW]
[ROW][C]45[/C][C]100[/C][C]102.541805018076[/C][C]-2.54180501807580[/C][/ROW]
[ROW][C]46[/C][C]110.7[/C][C]106.442398478508[/C][C]4.25760152149236[/C][/ROW]
[ROW][C]47[/C][C]112.8[/C][C]114.054791622935[/C][C]-1.25479162293475[/C][/ROW]
[ROW][C]48[/C][C]109.8[/C][C]104.779806866883[/C][C]5.02019313311674[/C][/ROW]
[ROW][C]49[/C][C]117.3[/C][C]104.715044767737[/C][C]12.5849552322626[/C][/ROW]
[ROW][C]50[/C][C]109.1[/C][C]109.095523855300[/C][C]0.00447614469964736[/C][/ROW]
[ROW][C]51[/C][C]115.9[/C][C]112.127729434444[/C][C]3.77227056555648[/C][/ROW]
[ROW][C]52[/C][C]96[/C][C]104.582414933693[/C][C]-8.58241493369272[/C][/ROW]
[ROW][C]53[/C][C]99.8[/C][C]104.398681403952[/C][C]-4.59868140395245[/C][/ROW]
[ROW][C]54[/C][C]116.8[/C][C]110.986027478675[/C][C]5.813972521325[/C][/ROW]
[ROW][C]55[/C][C]115.7[/C][C]116.910336511391[/C][C]-1.21033651139063[/C][/ROW]
[ROW][C]56[/C][C]99.4[/C][C]105.259125424691[/C][C]-5.8591254246914[/C][/ROW]
[ROW][C]57[/C][C]94.3[/C][C]104.680980988673[/C][C]-10.3809809886730[/C][/ROW]
[ROW][C]58[/C][C]91[/C][C]110.877932094881[/C][C]-19.8779320948806[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57610&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57610&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
1102.9100.5929469546562.30705304534434
297.4101.251429989648-3.85142998964828
3111.4105.8223707305915.57762926940915
487.499.3996096375617-11.9996096375616
596.897.6931344144067-0.893134414406719
6114.1104.6593078589659.44069214103548
7110.3109.9954781645220.304521835477825
8103.997.77715564184326.12284435815686
9101.698.03529608925453.56470391074554
1094.6102.962843128119-8.36284312811865
1195.9107.859456299494-11.9594562994935
12104.7100.5907477454134.10925225458716
13102.8102.4352327397270.364767260272917
1498.1104.580792084245-6.48079208424526
15113.9108.4185554463905.4814445536099
1680.9101.376732735153-20.4767327351534
1795.798.9375421797476-3.23754217974764
18113.2107.4465839095705.75341609043036
19105.9112.574915684295-6.67491568429517
20108.899.78546381187859.01453618812146
21102.3100.9892874185041.3107125814957
2299104.499908967359-5.49990896735945
23100.7109.558510805529-8.85851080552945
24115.5102.01718611395313.4828138860474
25100.7103.789500409126-3.08950040912632
26109.9104.3913182373485.5086817626519
27114.6110.459391488674.14060851133006
2885.4101.644201034118-16.2442010341182
29100.5100.1443812309900.355618769010429
30114.8108.8570209458095.94297905419124
31116.5113.5262605163392.97373948366138
32112.9101.61438777069411.2856122293061
33102101.3287704604520.671229539548353
34106105.0425872440280.957412755972183
35105.3111.586981678487-6.28698167848746
36118.8103.09094604461815.7090539553816
37106.1104.6660739584611.43392604153921
38109.3105.7389395899843.56106041001615
39117.2111.3064487252465.89355127475386
4092.5103.437868542973-10.9378685429732
41104.2102.0513219662372.14867803376288
42112.5109.6673861375622.83261386243794
43122.4114.2987728916688.10122710833232
44113.3103.9443536965279.35564630347327
45100102.541805018076-2.54180501807580
46110.7106.4423984785084.25760152149236
47112.8114.054791622935-1.25479162293475
48109.8104.7798068668835.02019313311674
49117.3104.71504476773712.5849552322626
50109.1109.0955238553000.00447614469964736
51115.9112.1277294344443.77227056555648
5296104.582414933693-8.58241493369272
5399.8104.398681403952-4.59868140395245
54116.8110.9860274786755.813972521325
55115.7116.910336511391-1.21033651139063
5699.4105.259125424691-5.8591254246914
5794.3104.680980988673-10.3809809886730
5891110.877932094881-19.8779320948806







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.8775485199195470.2449029601609070.122451480080453
120.819732547345330.3605349053093390.180267452654669
130.7112026838206280.5775946323587450.288797316179372
140.6049158420138720.7901683159722570.395084157986128
150.5546440693997370.8907118612005270.445355930600263
160.7817608529660760.4364782940678480.218239147033924
170.7046294781073170.5907410437853650.295370521892682
180.6454648512785520.7090702974428970.354535148721448
190.5894288965238270.8211422069523470.410571103476173
200.7255722531406590.5488554937186810.274427746859341
210.6420902839784890.7158194320430230.357909716021512
220.5926592867272320.8146814265455360.407340713272768
230.6032285503874190.7935428992251610.396771449612581
240.6934719644842830.6130560710314340.306528035515717
250.6377425492988660.7245149014022690.362257450701135
260.5918972498777570.8162055002444870.408102750122243
270.5237807566681280.9524384866637430.476219243331872
280.7973398026312580.4053203947374830.202660197368742
290.7392694266090110.5214611467819780.260730573390989
300.6697962948224270.6604074103551460.330203705177573
310.6604279586451350.679144082709730.339572041354865
320.6696888451375910.6606223097248180.330311154862409
330.5945341734944660.8109316530110670.405465826505533
340.5180766538417220.9638466923165560.481923346158278
350.5780697351096010.8438605297807970.421930264890399
360.6561127661070320.6877744677859360.343887233892968
370.6105640013847890.7788719972304210.389435998615211
380.5398012049753460.9203975900493070.460198795024654
390.4515967047300480.9031934094600960.548403295269952
400.6976343537276990.6047312925446030.302365646272302
410.6150393826071660.7699212347856690.384960617392834
420.5356692637402920.9286614725194160.464330736259708
430.4827819724603870.9655639449207740.517218027539613
440.3769663631827430.7539327263654860.623033636817257
450.4848884775916350.969776955183270.515111522408365
460.3399351119913530.6798702239827050.660064888008647
470.3237638603425430.6475277206850860.676236139657457

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.877548519919547 & 0.244902960160907 & 0.122451480080453 \tabularnewline
12 & 0.81973254734533 & 0.360534905309339 & 0.180267452654669 \tabularnewline
13 & 0.711202683820628 & 0.577594632358745 & 0.288797316179372 \tabularnewline
14 & 0.604915842013872 & 0.790168315972257 & 0.395084157986128 \tabularnewline
15 & 0.554644069399737 & 0.890711861200527 & 0.445355930600263 \tabularnewline
16 & 0.781760852966076 & 0.436478294067848 & 0.218239147033924 \tabularnewline
17 & 0.704629478107317 & 0.590741043785365 & 0.295370521892682 \tabularnewline
18 & 0.645464851278552 & 0.709070297442897 & 0.354535148721448 \tabularnewline
19 & 0.589428896523827 & 0.821142206952347 & 0.410571103476173 \tabularnewline
20 & 0.725572253140659 & 0.548855493718681 & 0.274427746859341 \tabularnewline
21 & 0.642090283978489 & 0.715819432043023 & 0.357909716021512 \tabularnewline
22 & 0.592659286727232 & 0.814681426545536 & 0.407340713272768 \tabularnewline
23 & 0.603228550387419 & 0.793542899225161 & 0.396771449612581 \tabularnewline
24 & 0.693471964484283 & 0.613056071031434 & 0.306528035515717 \tabularnewline
25 & 0.637742549298866 & 0.724514901402269 & 0.362257450701135 \tabularnewline
26 & 0.591897249877757 & 0.816205500244487 & 0.408102750122243 \tabularnewline
27 & 0.523780756668128 & 0.952438486663743 & 0.476219243331872 \tabularnewline
28 & 0.797339802631258 & 0.405320394737483 & 0.202660197368742 \tabularnewline
29 & 0.739269426609011 & 0.521461146781978 & 0.260730573390989 \tabularnewline
30 & 0.669796294822427 & 0.660407410355146 & 0.330203705177573 \tabularnewline
31 & 0.660427958645135 & 0.67914408270973 & 0.339572041354865 \tabularnewline
32 & 0.669688845137591 & 0.660622309724818 & 0.330311154862409 \tabularnewline
33 & 0.594534173494466 & 0.810931653011067 & 0.405465826505533 \tabularnewline
34 & 0.518076653841722 & 0.963846692316556 & 0.481923346158278 \tabularnewline
35 & 0.578069735109601 & 0.843860529780797 & 0.421930264890399 \tabularnewline
36 & 0.656112766107032 & 0.687774467785936 & 0.343887233892968 \tabularnewline
37 & 0.610564001384789 & 0.778871997230421 & 0.389435998615211 \tabularnewline
38 & 0.539801204975346 & 0.920397590049307 & 0.460198795024654 \tabularnewline
39 & 0.451596704730048 & 0.903193409460096 & 0.548403295269952 \tabularnewline
40 & 0.697634353727699 & 0.604731292544603 & 0.302365646272302 \tabularnewline
41 & 0.615039382607166 & 0.769921234785669 & 0.384960617392834 \tabularnewline
42 & 0.535669263740292 & 0.928661472519416 & 0.464330736259708 \tabularnewline
43 & 0.482781972460387 & 0.965563944920774 & 0.517218027539613 \tabularnewline
44 & 0.376966363182743 & 0.753932726365486 & 0.623033636817257 \tabularnewline
45 & 0.484888477591635 & 0.96977695518327 & 0.515111522408365 \tabularnewline
46 & 0.339935111991353 & 0.679870223982705 & 0.660064888008647 \tabularnewline
47 & 0.323763860342543 & 0.647527720685086 & 0.676236139657457 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57610&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]11[/C][C]0.877548519919547[/C][C]0.244902960160907[/C][C]0.122451480080453[/C][/ROW]
[ROW][C]12[/C][C]0.81973254734533[/C][C]0.360534905309339[/C][C]0.180267452654669[/C][/ROW]
[ROW][C]13[/C][C]0.711202683820628[/C][C]0.577594632358745[/C][C]0.288797316179372[/C][/ROW]
[ROW][C]14[/C][C]0.604915842013872[/C][C]0.790168315972257[/C][C]0.395084157986128[/C][/ROW]
[ROW][C]15[/C][C]0.554644069399737[/C][C]0.890711861200527[/C][C]0.445355930600263[/C][/ROW]
[ROW][C]16[/C][C]0.781760852966076[/C][C]0.436478294067848[/C][C]0.218239147033924[/C][/ROW]
[ROW][C]17[/C][C]0.704629478107317[/C][C]0.590741043785365[/C][C]0.295370521892682[/C][/ROW]
[ROW][C]18[/C][C]0.645464851278552[/C][C]0.709070297442897[/C][C]0.354535148721448[/C][/ROW]
[ROW][C]19[/C][C]0.589428896523827[/C][C]0.821142206952347[/C][C]0.410571103476173[/C][/ROW]
[ROW][C]20[/C][C]0.725572253140659[/C][C]0.548855493718681[/C][C]0.274427746859341[/C][/ROW]
[ROW][C]21[/C][C]0.642090283978489[/C][C]0.715819432043023[/C][C]0.357909716021512[/C][/ROW]
[ROW][C]22[/C][C]0.592659286727232[/C][C]0.814681426545536[/C][C]0.407340713272768[/C][/ROW]
[ROW][C]23[/C][C]0.603228550387419[/C][C]0.793542899225161[/C][C]0.396771449612581[/C][/ROW]
[ROW][C]24[/C][C]0.693471964484283[/C][C]0.613056071031434[/C][C]0.306528035515717[/C][/ROW]
[ROW][C]25[/C][C]0.637742549298866[/C][C]0.724514901402269[/C][C]0.362257450701135[/C][/ROW]
[ROW][C]26[/C][C]0.591897249877757[/C][C]0.816205500244487[/C][C]0.408102750122243[/C][/ROW]
[ROW][C]27[/C][C]0.523780756668128[/C][C]0.952438486663743[/C][C]0.476219243331872[/C][/ROW]
[ROW][C]28[/C][C]0.797339802631258[/C][C]0.405320394737483[/C][C]0.202660197368742[/C][/ROW]
[ROW][C]29[/C][C]0.739269426609011[/C][C]0.521461146781978[/C][C]0.260730573390989[/C][/ROW]
[ROW][C]30[/C][C]0.669796294822427[/C][C]0.660407410355146[/C][C]0.330203705177573[/C][/ROW]
[ROW][C]31[/C][C]0.660427958645135[/C][C]0.67914408270973[/C][C]0.339572041354865[/C][/ROW]
[ROW][C]32[/C][C]0.669688845137591[/C][C]0.660622309724818[/C][C]0.330311154862409[/C][/ROW]
[ROW][C]33[/C][C]0.594534173494466[/C][C]0.810931653011067[/C][C]0.405465826505533[/C][/ROW]
[ROW][C]34[/C][C]0.518076653841722[/C][C]0.963846692316556[/C][C]0.481923346158278[/C][/ROW]
[ROW][C]35[/C][C]0.578069735109601[/C][C]0.843860529780797[/C][C]0.421930264890399[/C][/ROW]
[ROW][C]36[/C][C]0.656112766107032[/C][C]0.687774467785936[/C][C]0.343887233892968[/C][/ROW]
[ROW][C]37[/C][C]0.610564001384789[/C][C]0.778871997230421[/C][C]0.389435998615211[/C][/ROW]
[ROW][C]38[/C][C]0.539801204975346[/C][C]0.920397590049307[/C][C]0.460198795024654[/C][/ROW]
[ROW][C]39[/C][C]0.451596704730048[/C][C]0.903193409460096[/C][C]0.548403295269952[/C][/ROW]
[ROW][C]40[/C][C]0.697634353727699[/C][C]0.604731292544603[/C][C]0.302365646272302[/C][/ROW]
[ROW][C]41[/C][C]0.615039382607166[/C][C]0.769921234785669[/C][C]0.384960617392834[/C][/ROW]
[ROW][C]42[/C][C]0.535669263740292[/C][C]0.928661472519416[/C][C]0.464330736259708[/C][/ROW]
[ROW][C]43[/C][C]0.482781972460387[/C][C]0.965563944920774[/C][C]0.517218027539613[/C][/ROW]
[ROW][C]44[/C][C]0.376966363182743[/C][C]0.753932726365486[/C][C]0.623033636817257[/C][/ROW]
[ROW][C]45[/C][C]0.484888477591635[/C][C]0.96977695518327[/C][C]0.515111522408365[/C][/ROW]
[ROW][C]46[/C][C]0.339935111991353[/C][C]0.679870223982705[/C][C]0.660064888008647[/C][/ROW]
[ROW][C]47[/C][C]0.323763860342543[/C][C]0.647527720685086[/C][C]0.676236139657457[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57610&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57610&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
110.8775485199195470.2449029601609070.122451480080453
120.819732547345330.3605349053093390.180267452654669
130.7112026838206280.5775946323587450.288797316179372
140.6049158420138720.7901683159722570.395084157986128
150.5546440693997370.8907118612005270.445355930600263
160.7817608529660760.4364782940678480.218239147033924
170.7046294781073170.5907410437853650.295370521892682
180.6454648512785520.7090702974428970.354535148721448
190.5894288965238270.8211422069523470.410571103476173
200.7255722531406590.5488554937186810.274427746859341
210.6420902839784890.7158194320430230.357909716021512
220.5926592867272320.8146814265455360.407340713272768
230.6032285503874190.7935428992251610.396771449612581
240.6934719644842830.6130560710314340.306528035515717
250.6377425492988660.7245149014022690.362257450701135
260.5918972498777570.8162055002444870.408102750122243
270.5237807566681280.9524384866637430.476219243331872
280.7973398026312580.4053203947374830.202660197368742
290.7392694266090110.5214611467819780.260730573390989
300.6697962948224270.6604074103551460.330203705177573
310.6604279586451350.679144082709730.339572041354865
320.6696888451375910.6606223097248180.330311154862409
330.5945341734944660.8109316530110670.405465826505533
340.5180766538417220.9638466923165560.481923346158278
350.5780697351096010.8438605297807970.421930264890399
360.6561127661070320.6877744677859360.343887233892968
370.6105640013847890.7788719972304210.389435998615211
380.5398012049753460.9203975900493070.460198795024654
390.4515967047300480.9031934094600960.548403295269952
400.6976343537276990.6047312925446030.302365646272302
410.6150393826071660.7699212347856690.384960617392834
420.5356692637402920.9286614725194160.464330736259708
430.4827819724603870.9655639449207740.517218027539613
440.3769663631827430.7539327263654860.623033636817257
450.4848884775916350.969776955183270.515111522408365
460.3399351119913530.6798702239827050.660064888008647
470.3237638603425430.6475277206850860.676236139657457







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK

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

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



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