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, 16 Dec 2009 09:36:16 -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/Dec/16/t12609816533c06kewqatcbkri.htm/, Retrieved Tue, 30 Apr 2024 11:31:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=68470, Retrieved Tue, 30 Apr 2024 11:31:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact158
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [blog] [2008-12-01 15:44:12] [12d343c4448a5f9e527bb31caeac580b]
-   PD  [Multiple Regression] [blog] [2008-12-01 16:17:50] [12d343c4448a5f9e527bb31caeac580b]
-   PD    [Multiple Regression] [dioxine] [2008-12-01 16:30:23] [7a664918911e34206ce9d0436dd7c1c8]
-    D      [Multiple Regression] [Hypothese 1 en 2 ...] [2008-12-03 15:49:48] [12d343c4448a5f9e527bb31caeac580b]
-  MPD          [Multiple Regression] [Multiple regression] [2009-12-16 16:36:16] [bcaf453a09027aa0f995cb78bdc3c98a] [Current]
Feedback Forum

Post a new message
Dataseries X:
9.3	145.0
8.7	137.7
8.2	148.3
8.3	152.2
8.5	169.4
8.6	168.6
8.5	161.1
8.2	174.1
8.1	179.0
7.9	190.6
8.6	190.0
8.7	181.6
8.7	174.8
8.5	180.5
8.4	196.8
8.5	193.8
8.7	197.0
8.7	216.3
8.6	221.4
8.5	217.9
8.3	229.7
8	227.4
8.2	204.2
8.1	196.6
8.1	198.8
8	207.5
7.9	190.7
7.9	201.6
8	210.5
8	223.5
7.9	223.8
8	231.2
7.7	244.0
7.2	234.7
7.5	250.2
7.3	265.7
7	287.6
7	283.3
7	295.4
7.2	312.3
7.3	333.8
7.1	347.7
6.8	383.2
6.4	407.1
6.1	413.6
6.5	362.7
7.7	321.9
7.9	239.4
7.5	191.0
6.9	159.7
6.6	163.4
6.9	157.6
7.7	166.2
8	176.7
8	198.3
7.7	226.2
7.3	216.2
7.4	235.9
8.1	226.9
8.3	242.3
8.2	253.1




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

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

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
GP[t] = + 778.153450228708 -68.6145719886735TW[t] -11.7049313874972M1[t] -47.8474972772816M2[t] -56.3904116750164M3[t] -42.204371596602M4[t] -11.1122914397735M5[t] + 2.81229143977347M6[t] + 5.57854280113265M7[t] + 5.59562840339795M8[t] -7.04416031365714M9[t] -20.1456175125245M10[t] + 10.7754171204530M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
GP[t] =  +  778.153450228708 -68.6145719886735TW[t] -11.7049313874972M1[t] -47.8474972772816M2[t] -56.3904116750164M3[t] -42.204371596602M4[t] -11.1122914397735M5[t] +  2.81229143977347M6[t] +  5.57854280113265M7[t] +  5.59562840339795M8[t] -7.04416031365714M9[t] -20.1456175125245M10[t] +  10.7754171204530M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68470&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]GP[t] =  +  778.153450228708 -68.6145719886735TW[t] -11.7049313874972M1[t] -47.8474972772816M2[t] -56.3904116750164M3[t] -42.204371596602M4[t] -11.1122914397735M5[t] +  2.81229143977347M6[t] +  5.57854280113265M7[t] +  5.59562840339795M8[t] -7.04416031365714M9[t] -20.1456175125245M10[t] +  10.7754171204530M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68470&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68470&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
GP[t] = + 778.153450228708 -68.6145719886735TW[t] -11.7049313874972M1[t] -47.8474972772816M2[t] -56.3904116750164M3[t] -42.204371596602M4[t] -11.1122914397735M5[t] + 2.81229143977347M6[t] + 5.57854280113265M7[t] + 5.59562840339795M8[t] -7.04416031365714M9[t] -20.1456175125245M10[t] + 10.7754171204530M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)778.15345022870880.1421639.709700
TW-68.61457198867359.588368-7.15600
M1-11.704931387497228.738457-0.40730.6856050.342802
M2-47.847497277281630.095462-1.58990.1184330.059216
M3-56.390411675016430.302479-1.86090.0688870.034443
M4-42.20437159660230.14491-1.40.1679290.083965
M5-11.112291439773530.007967-0.37030.712780.35639
M62.8122914397734730.0079670.09370.9257230.462862
M75.5785428011326530.0226690.18580.8533760.426688
M85.5956284033979530.144910.18560.8535220.426761
M9-7.0441603136571430.483974-0.23110.8182370.409118
M10-20.145617512524530.667392-0.65690.5143780.257189
M1110.775417120453030.0098050.35910.7211220.360561

\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) & 778.153450228708 & 80.142163 & 9.7097 & 0 & 0 \tabularnewline
TW & -68.6145719886735 & 9.588368 & -7.156 & 0 & 0 \tabularnewline
M1 & -11.7049313874972 & 28.738457 & -0.4073 & 0.685605 & 0.342802 \tabularnewline
M2 & -47.8474972772816 & 30.095462 & -1.5899 & 0.118433 & 0.059216 \tabularnewline
M3 & -56.3904116750164 & 30.302479 & -1.8609 & 0.068887 & 0.034443 \tabularnewline
M4 & -42.204371596602 & 30.14491 & -1.4 & 0.167929 & 0.083965 \tabularnewline
M5 & -11.1122914397735 & 30.007967 & -0.3703 & 0.71278 & 0.35639 \tabularnewline
M6 & 2.81229143977347 & 30.007967 & 0.0937 & 0.925723 & 0.462862 \tabularnewline
M7 & 5.57854280113265 & 30.022669 & 0.1858 & 0.853376 & 0.426688 \tabularnewline
M8 & 5.59562840339795 & 30.14491 & 0.1856 & 0.853522 & 0.426761 \tabularnewline
M9 & -7.04416031365714 & 30.483974 & -0.2311 & 0.818237 & 0.409118 \tabularnewline
M10 & -20.1456175125245 & 30.667392 & -0.6569 & 0.514378 & 0.257189 \tabularnewline
M11 & 10.7754171204530 & 30.009805 & 0.3591 & 0.721122 & 0.360561 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68470&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]778.153450228708[/C][C]80.142163[/C][C]9.7097[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]TW[/C][C]-68.6145719886735[/C][C]9.588368[/C][C]-7.156[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-11.7049313874972[/C][C]28.738457[/C][C]-0.4073[/C][C]0.685605[/C][C]0.342802[/C][/ROW]
[ROW][C]M2[/C][C]-47.8474972772816[/C][C]30.095462[/C][C]-1.5899[/C][C]0.118433[/C][C]0.059216[/C][/ROW]
[ROW][C]M3[/C][C]-56.3904116750164[/C][C]30.302479[/C][C]-1.8609[/C][C]0.068887[/C][C]0.034443[/C][/ROW]
[ROW][C]M4[/C][C]-42.204371596602[/C][C]30.14491[/C][C]-1.4[/C][C]0.167929[/C][C]0.083965[/C][/ROW]
[ROW][C]M5[/C][C]-11.1122914397735[/C][C]30.007967[/C][C]-0.3703[/C][C]0.71278[/C][C]0.35639[/C][/ROW]
[ROW][C]M6[/C][C]2.81229143977347[/C][C]30.007967[/C][C]0.0937[/C][C]0.925723[/C][C]0.462862[/C][/ROW]
[ROW][C]M7[/C][C]5.57854280113265[/C][C]30.022669[/C][C]0.1858[/C][C]0.853376[/C][C]0.426688[/C][/ROW]
[ROW][C]M8[/C][C]5.59562840339795[/C][C]30.14491[/C][C]0.1856[/C][C]0.853522[/C][C]0.426761[/C][/ROW]
[ROW][C]M9[/C][C]-7.04416031365714[/C][C]30.483974[/C][C]-0.2311[/C][C]0.818237[/C][C]0.409118[/C][/ROW]
[ROW][C]M10[/C][C]-20.1456175125245[/C][C]30.667392[/C][C]-0.6569[/C][C]0.514378[/C][C]0.257189[/C][/ROW]
[ROW][C]M11[/C][C]10.7754171204530[/C][C]30.009805[/C][C]0.3591[/C][C]0.721122[/C][C]0.360561[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68470&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68470&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)778.15345022870880.1421639.709700
TW-68.61457198867359.588368-7.15600
M1-11.704931387497228.738457-0.40730.6856050.342802
M2-47.847497277281630.095462-1.58990.1184330.059216
M3-56.390411675016430.302479-1.86090.0688870.034443
M4-42.20437159660230.14491-1.40.1679290.083965
M5-11.112291439773530.007967-0.37030.712780.35639
M62.8122914397734730.0079670.09370.9257230.462862
M75.5785428011326530.0226690.18580.8533760.426688
M85.5956284033979530.144910.18560.8535220.426761
M9-7.0441603136571430.483974-0.23110.8182370.409118
M10-20.145617512524530.667392-0.65690.5143780.257189
M1110.775417120453030.0098050.35910.7211220.360561







Multiple Linear Regression - Regression Statistics
Multiple R0.752809599250182
R-squared0.56672229272322
Adjusted R-squared0.458402865904025
F-TEST (value)5.23195431664518
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.55958954396462e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation47.4457925164591
Sum Squared Residuals108052.954920714

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.752809599250182 \tabularnewline
R-squared & 0.56672229272322 \tabularnewline
Adjusted R-squared & 0.458402865904025 \tabularnewline
F-TEST (value) & 5.23195431664518 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 1.55958954396462e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 47.4457925164591 \tabularnewline
Sum Squared Residuals & 108052.954920714 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68470&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.752809599250182[/C][/ROW]
[ROW][C]R-squared[/C][C]0.56672229272322[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.458402865904025[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.23195431664518[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]1.55958954396462e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]47.4457925164591[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]108052.954920714[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68470&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68470&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.752809599250182
R-squared0.56672229272322
Adjusted R-squared0.458402865904025
F-TEST (value)5.23195431664518
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.55958954396462e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation47.4457925164591
Sum Squared Residuals108052.954920714







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1145128.33299934654716.6670006534528
2137.7133.3591766499674.34082335003272
3148.3159.123548246569-10.8235482465694
4152.2166.448131126116-14.2481311261163
5169.4183.817296885210-14.4172968852102
6168.6190.880422565890-22.2804225658898
7161.1200.508131126116-39.4081311261163
8174.1221.109588324984-47.0095883249838
9179215.331256806796-36.3312568067959
10190.6215.952714005663-25.3527140056633
11190198.843548246569-8.8435482465694
12181.6181.2066739272490.393326072750949
13174.8169.5017425397525.29825746024819
14180.5147.08209104770233.4179089522979
15196.8145.40063384883551.3993661511654
16193.8152.72521672838241.0747832716184
17197170.09438248747626.9056175125244
18216.3184.01896536702232.2810346329775
19221.4193.64667392724927.753326072751
20217.9200.52521672838217.3747832716184
21229.7201.60834240906128.0916575909388
22227.4209.09125680679618.3087431932041
23204.2226.289377042039-22.0893770420388
24196.6222.375417120453-25.7754171204531
25198.8210.670485732956-11.8704857329559
26207.5181.38937704203926.1106229579612
27190.7179.70791984317110.9920801568286
28201.6193.8939599215867.70604007841429
29210.5218.124582879547-7.62458287954692
30223.5232.049165759094-8.54916575909386
31223.8241.676874319320-17.8768743193204
32231.2234.832502722718-3.63250272271837
33244242.7770856022651.22291439773470
34234.7263.982914397735-29.2829143977347
35250.2274.31957743411-24.1195774341102
36265.7277.267074711392-11.5670747113919
37287.6286.1465149204971.45348507950335
38283.3250.00394903071233.2960509692877
39295.4241.46103463297853.9389653670224
40312.3241.92416031365770.3758396863429
41333.8266.15478327161867.6452167283816
42347.7293.802280548953.8977194511
43383.2317.15290350686166.0470964931388
44407.1344.61581790459662.4841820954041
45413.6352.56040078414361.0395992158571
46362.7312.01311478980650.6868852101939
47321.9260.59666303637561.3033369636245
48239.4236.0983315181883.30166848181227
49191251.83922892616-60.83922892616
50159.7256.865406229580-97.1654062295796
51163.4268.906863428447-105.506863428447
52157.6262.508531910259-104.908531910259
53166.2238.708954476149-72.508954476149
54176.7232.049165759094-55.3491657590939
55198.3234.815417120453-36.5154171204531
56226.2255.416874319320-29.2168743193204
57216.2270.222914397735-54.0229143977347
58235.9250.26-14.3600000000000
59226.9233.150834240906-6.25083424090613
60242.3208.65250272271833.6474972772817
61253.1203.80902853408949.2909714659114

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 145 & 128.332999346547 & 16.6670006534528 \tabularnewline
2 & 137.7 & 133.359176649967 & 4.34082335003272 \tabularnewline
3 & 148.3 & 159.123548246569 & -10.8235482465694 \tabularnewline
4 & 152.2 & 166.448131126116 & -14.2481311261163 \tabularnewline
5 & 169.4 & 183.817296885210 & -14.4172968852102 \tabularnewline
6 & 168.6 & 190.880422565890 & -22.2804225658898 \tabularnewline
7 & 161.1 & 200.508131126116 & -39.4081311261163 \tabularnewline
8 & 174.1 & 221.109588324984 & -47.0095883249838 \tabularnewline
9 & 179 & 215.331256806796 & -36.3312568067959 \tabularnewline
10 & 190.6 & 215.952714005663 & -25.3527140056633 \tabularnewline
11 & 190 & 198.843548246569 & -8.8435482465694 \tabularnewline
12 & 181.6 & 181.206673927249 & 0.393326072750949 \tabularnewline
13 & 174.8 & 169.501742539752 & 5.29825746024819 \tabularnewline
14 & 180.5 & 147.082091047702 & 33.4179089522979 \tabularnewline
15 & 196.8 & 145.400633848835 & 51.3993661511654 \tabularnewline
16 & 193.8 & 152.725216728382 & 41.0747832716184 \tabularnewline
17 & 197 & 170.094382487476 & 26.9056175125244 \tabularnewline
18 & 216.3 & 184.018965367022 & 32.2810346329775 \tabularnewline
19 & 221.4 & 193.646673927249 & 27.753326072751 \tabularnewline
20 & 217.9 & 200.525216728382 & 17.3747832716184 \tabularnewline
21 & 229.7 & 201.608342409061 & 28.0916575909388 \tabularnewline
22 & 227.4 & 209.091256806796 & 18.3087431932041 \tabularnewline
23 & 204.2 & 226.289377042039 & -22.0893770420388 \tabularnewline
24 & 196.6 & 222.375417120453 & -25.7754171204531 \tabularnewline
25 & 198.8 & 210.670485732956 & -11.8704857329559 \tabularnewline
26 & 207.5 & 181.389377042039 & 26.1106229579612 \tabularnewline
27 & 190.7 & 179.707919843171 & 10.9920801568286 \tabularnewline
28 & 201.6 & 193.893959921586 & 7.70604007841429 \tabularnewline
29 & 210.5 & 218.124582879547 & -7.62458287954692 \tabularnewline
30 & 223.5 & 232.049165759094 & -8.54916575909386 \tabularnewline
31 & 223.8 & 241.676874319320 & -17.8768743193204 \tabularnewline
32 & 231.2 & 234.832502722718 & -3.63250272271837 \tabularnewline
33 & 244 & 242.777085602265 & 1.22291439773470 \tabularnewline
34 & 234.7 & 263.982914397735 & -29.2829143977347 \tabularnewline
35 & 250.2 & 274.31957743411 & -24.1195774341102 \tabularnewline
36 & 265.7 & 277.267074711392 & -11.5670747113919 \tabularnewline
37 & 287.6 & 286.146514920497 & 1.45348507950335 \tabularnewline
38 & 283.3 & 250.003949030712 & 33.2960509692877 \tabularnewline
39 & 295.4 & 241.461034632978 & 53.9389653670224 \tabularnewline
40 & 312.3 & 241.924160313657 & 70.3758396863429 \tabularnewline
41 & 333.8 & 266.154783271618 & 67.6452167283816 \tabularnewline
42 & 347.7 & 293.8022805489 & 53.8977194511 \tabularnewline
43 & 383.2 & 317.152903506861 & 66.0470964931388 \tabularnewline
44 & 407.1 & 344.615817904596 & 62.4841820954041 \tabularnewline
45 & 413.6 & 352.560400784143 & 61.0395992158571 \tabularnewline
46 & 362.7 & 312.013114789806 & 50.6868852101939 \tabularnewline
47 & 321.9 & 260.596663036375 & 61.3033369636245 \tabularnewline
48 & 239.4 & 236.098331518188 & 3.30166848181227 \tabularnewline
49 & 191 & 251.83922892616 & -60.83922892616 \tabularnewline
50 & 159.7 & 256.865406229580 & -97.1654062295796 \tabularnewline
51 & 163.4 & 268.906863428447 & -105.506863428447 \tabularnewline
52 & 157.6 & 262.508531910259 & -104.908531910259 \tabularnewline
53 & 166.2 & 238.708954476149 & -72.508954476149 \tabularnewline
54 & 176.7 & 232.049165759094 & -55.3491657590939 \tabularnewline
55 & 198.3 & 234.815417120453 & -36.5154171204531 \tabularnewline
56 & 226.2 & 255.416874319320 & -29.2168743193204 \tabularnewline
57 & 216.2 & 270.222914397735 & -54.0229143977347 \tabularnewline
58 & 235.9 & 250.26 & -14.3600000000000 \tabularnewline
59 & 226.9 & 233.150834240906 & -6.25083424090613 \tabularnewline
60 & 242.3 & 208.652502722718 & 33.6474972772817 \tabularnewline
61 & 253.1 & 203.809028534089 & 49.2909714659114 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68470&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]145[/C][C]128.332999346547[/C][C]16.6670006534528[/C][/ROW]
[ROW][C]2[/C][C]137.7[/C][C]133.359176649967[/C][C]4.34082335003272[/C][/ROW]
[ROW][C]3[/C][C]148.3[/C][C]159.123548246569[/C][C]-10.8235482465694[/C][/ROW]
[ROW][C]4[/C][C]152.2[/C][C]166.448131126116[/C][C]-14.2481311261163[/C][/ROW]
[ROW][C]5[/C][C]169.4[/C][C]183.817296885210[/C][C]-14.4172968852102[/C][/ROW]
[ROW][C]6[/C][C]168.6[/C][C]190.880422565890[/C][C]-22.2804225658898[/C][/ROW]
[ROW][C]7[/C][C]161.1[/C][C]200.508131126116[/C][C]-39.4081311261163[/C][/ROW]
[ROW][C]8[/C][C]174.1[/C][C]221.109588324984[/C][C]-47.0095883249838[/C][/ROW]
[ROW][C]9[/C][C]179[/C][C]215.331256806796[/C][C]-36.3312568067959[/C][/ROW]
[ROW][C]10[/C][C]190.6[/C][C]215.952714005663[/C][C]-25.3527140056633[/C][/ROW]
[ROW][C]11[/C][C]190[/C][C]198.843548246569[/C][C]-8.8435482465694[/C][/ROW]
[ROW][C]12[/C][C]181.6[/C][C]181.206673927249[/C][C]0.393326072750949[/C][/ROW]
[ROW][C]13[/C][C]174.8[/C][C]169.501742539752[/C][C]5.29825746024819[/C][/ROW]
[ROW][C]14[/C][C]180.5[/C][C]147.082091047702[/C][C]33.4179089522979[/C][/ROW]
[ROW][C]15[/C][C]196.8[/C][C]145.400633848835[/C][C]51.3993661511654[/C][/ROW]
[ROW][C]16[/C][C]193.8[/C][C]152.725216728382[/C][C]41.0747832716184[/C][/ROW]
[ROW][C]17[/C][C]197[/C][C]170.094382487476[/C][C]26.9056175125244[/C][/ROW]
[ROW][C]18[/C][C]216.3[/C][C]184.018965367022[/C][C]32.2810346329775[/C][/ROW]
[ROW][C]19[/C][C]221.4[/C][C]193.646673927249[/C][C]27.753326072751[/C][/ROW]
[ROW][C]20[/C][C]217.9[/C][C]200.525216728382[/C][C]17.3747832716184[/C][/ROW]
[ROW][C]21[/C][C]229.7[/C][C]201.608342409061[/C][C]28.0916575909388[/C][/ROW]
[ROW][C]22[/C][C]227.4[/C][C]209.091256806796[/C][C]18.3087431932041[/C][/ROW]
[ROW][C]23[/C][C]204.2[/C][C]226.289377042039[/C][C]-22.0893770420388[/C][/ROW]
[ROW][C]24[/C][C]196.6[/C][C]222.375417120453[/C][C]-25.7754171204531[/C][/ROW]
[ROW][C]25[/C][C]198.8[/C][C]210.670485732956[/C][C]-11.8704857329559[/C][/ROW]
[ROW][C]26[/C][C]207.5[/C][C]181.389377042039[/C][C]26.1106229579612[/C][/ROW]
[ROW][C]27[/C][C]190.7[/C][C]179.707919843171[/C][C]10.9920801568286[/C][/ROW]
[ROW][C]28[/C][C]201.6[/C][C]193.893959921586[/C][C]7.70604007841429[/C][/ROW]
[ROW][C]29[/C][C]210.5[/C][C]218.124582879547[/C][C]-7.62458287954692[/C][/ROW]
[ROW][C]30[/C][C]223.5[/C][C]232.049165759094[/C][C]-8.54916575909386[/C][/ROW]
[ROW][C]31[/C][C]223.8[/C][C]241.676874319320[/C][C]-17.8768743193204[/C][/ROW]
[ROW][C]32[/C][C]231.2[/C][C]234.832502722718[/C][C]-3.63250272271837[/C][/ROW]
[ROW][C]33[/C][C]244[/C][C]242.777085602265[/C][C]1.22291439773470[/C][/ROW]
[ROW][C]34[/C][C]234.7[/C][C]263.982914397735[/C][C]-29.2829143977347[/C][/ROW]
[ROW][C]35[/C][C]250.2[/C][C]274.31957743411[/C][C]-24.1195774341102[/C][/ROW]
[ROW][C]36[/C][C]265.7[/C][C]277.267074711392[/C][C]-11.5670747113919[/C][/ROW]
[ROW][C]37[/C][C]287.6[/C][C]286.146514920497[/C][C]1.45348507950335[/C][/ROW]
[ROW][C]38[/C][C]283.3[/C][C]250.003949030712[/C][C]33.2960509692877[/C][/ROW]
[ROW][C]39[/C][C]295.4[/C][C]241.461034632978[/C][C]53.9389653670224[/C][/ROW]
[ROW][C]40[/C][C]312.3[/C][C]241.924160313657[/C][C]70.3758396863429[/C][/ROW]
[ROW][C]41[/C][C]333.8[/C][C]266.154783271618[/C][C]67.6452167283816[/C][/ROW]
[ROW][C]42[/C][C]347.7[/C][C]293.8022805489[/C][C]53.8977194511[/C][/ROW]
[ROW][C]43[/C][C]383.2[/C][C]317.152903506861[/C][C]66.0470964931388[/C][/ROW]
[ROW][C]44[/C][C]407.1[/C][C]344.615817904596[/C][C]62.4841820954041[/C][/ROW]
[ROW][C]45[/C][C]413.6[/C][C]352.560400784143[/C][C]61.0395992158571[/C][/ROW]
[ROW][C]46[/C][C]362.7[/C][C]312.013114789806[/C][C]50.6868852101939[/C][/ROW]
[ROW][C]47[/C][C]321.9[/C][C]260.596663036375[/C][C]61.3033369636245[/C][/ROW]
[ROW][C]48[/C][C]239.4[/C][C]236.098331518188[/C][C]3.30166848181227[/C][/ROW]
[ROW][C]49[/C][C]191[/C][C]251.83922892616[/C][C]-60.83922892616[/C][/ROW]
[ROW][C]50[/C][C]159.7[/C][C]256.865406229580[/C][C]-97.1654062295796[/C][/ROW]
[ROW][C]51[/C][C]163.4[/C][C]268.906863428447[/C][C]-105.506863428447[/C][/ROW]
[ROW][C]52[/C][C]157.6[/C][C]262.508531910259[/C][C]-104.908531910259[/C][/ROW]
[ROW][C]53[/C][C]166.2[/C][C]238.708954476149[/C][C]-72.508954476149[/C][/ROW]
[ROW][C]54[/C][C]176.7[/C][C]232.049165759094[/C][C]-55.3491657590939[/C][/ROW]
[ROW][C]55[/C][C]198.3[/C][C]234.815417120453[/C][C]-36.5154171204531[/C][/ROW]
[ROW][C]56[/C][C]226.2[/C][C]255.416874319320[/C][C]-29.2168743193204[/C][/ROW]
[ROW][C]57[/C][C]216.2[/C][C]270.222914397735[/C][C]-54.0229143977347[/C][/ROW]
[ROW][C]58[/C][C]235.9[/C][C]250.26[/C][C]-14.3600000000000[/C][/ROW]
[ROW][C]59[/C][C]226.9[/C][C]233.150834240906[/C][C]-6.25083424090613[/C][/ROW]
[ROW][C]60[/C][C]242.3[/C][C]208.652502722718[/C][C]33.6474972772817[/C][/ROW]
[ROW][C]61[/C][C]253.1[/C][C]203.809028534089[/C][C]49.2909714659114[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68470&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68470&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
1145128.33299934654716.6670006534528
2137.7133.3591766499674.34082335003272
3148.3159.123548246569-10.8235482465694
4152.2166.448131126116-14.2481311261163
5169.4183.817296885210-14.4172968852102
6168.6190.880422565890-22.2804225658898
7161.1200.508131126116-39.4081311261163
8174.1221.109588324984-47.0095883249838
9179215.331256806796-36.3312568067959
10190.6215.952714005663-25.3527140056633
11190198.843548246569-8.8435482465694
12181.6181.2066739272490.393326072750949
13174.8169.5017425397525.29825746024819
14180.5147.08209104770233.4179089522979
15196.8145.40063384883551.3993661511654
16193.8152.72521672838241.0747832716184
17197170.09438248747626.9056175125244
18216.3184.01896536702232.2810346329775
19221.4193.64667392724927.753326072751
20217.9200.52521672838217.3747832716184
21229.7201.60834240906128.0916575909388
22227.4209.09125680679618.3087431932041
23204.2226.289377042039-22.0893770420388
24196.6222.375417120453-25.7754171204531
25198.8210.670485732956-11.8704857329559
26207.5181.38937704203926.1106229579612
27190.7179.70791984317110.9920801568286
28201.6193.8939599215867.70604007841429
29210.5218.124582879547-7.62458287954692
30223.5232.049165759094-8.54916575909386
31223.8241.676874319320-17.8768743193204
32231.2234.832502722718-3.63250272271837
33244242.7770856022651.22291439773470
34234.7263.982914397735-29.2829143977347
35250.2274.31957743411-24.1195774341102
36265.7277.267074711392-11.5670747113919
37287.6286.1465149204971.45348507950335
38283.3250.00394903071233.2960509692877
39295.4241.46103463297853.9389653670224
40312.3241.92416031365770.3758396863429
41333.8266.15478327161867.6452167283816
42347.7293.802280548953.8977194511
43383.2317.15290350686166.0470964931388
44407.1344.61581790459662.4841820954041
45413.6352.56040078414361.0395992158571
46362.7312.01311478980650.6868852101939
47321.9260.59666303637561.3033369636245
48239.4236.0983315181883.30166848181227
49191251.83922892616-60.83922892616
50159.7256.865406229580-97.1654062295796
51163.4268.906863428447-105.506863428447
52157.6262.508531910259-104.908531910259
53166.2238.708954476149-72.508954476149
54176.7232.049165759094-55.3491657590939
55198.3234.815417120453-36.5154171204531
56226.2255.416874319320-29.2168743193204
57216.2270.222914397735-54.0229143977347
58235.9250.26-14.3600000000000
59226.9233.150834240906-6.25083424090613
60242.3208.65250272271833.6474972772817
61253.1203.80902853408949.2909714659114







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2350753016539690.4701506033079390.764924698346031
170.1375900707053100.2751801414106190.86240992929469
180.1075400384445350.2150800768890690.892459961555465
190.1027982852720100.2055965705440210.89720171472799
200.06635669295694090.1327133859138820.933643307043059
210.04757089201958380.09514178403916750.952429107980416
220.02888826816297860.05777653632595730.971111731837021
230.01691417402313010.03382834804626020.98308582597687
240.00963928702273530.01927857404547060.990360712977265
250.006628170880080410.01325634176016080.99337182911992
260.005415485916560980.01083097183312200.99458451408344
270.002887742810179350.00577548562035870.99711225718982
280.001480822536856150.002961645073712300.998519177463144
290.0006251842774046340.001250368554809270.999374815722595
300.0002517376745748780.0005034753491497550.999748262325425
319.77832193518592e-050.0001955664387037180.999902216780648
324.21273513613147e-058.42547027226293e-050.999957872648639
331.80629971241985e-053.61259942483969e-050.999981937002876
346.44591366356302e-061.28918273271260e-050.999993554086337
353.15089279319709e-066.30178558639417e-060.999996849107207
361.88317633961417e-063.76635267922833e-060.99999811682366
379.1892515605494e-071.83785031210988e-060.999999081074844
381.55460653861463e-063.10921307722927e-060.999998445393461
392.44612350469799e-054.89224700939597e-050.999975538764953
400.002808599341347840.005617198682695680.997191400658652
410.01687504239993100.03375008479986210.983124957600069
420.01657393406119250.03314786812238490.983426065938808
430.01493434457448190.02986868914896370.985065655425518
440.009371503127513160.01874300625502630.990628496872487
450.01450720386044760.02901440772089510.985492796139552

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.235075301653969 & 0.470150603307939 & 0.764924698346031 \tabularnewline
17 & 0.137590070705310 & 0.275180141410619 & 0.86240992929469 \tabularnewline
18 & 0.107540038444535 & 0.215080076889069 & 0.892459961555465 \tabularnewline
19 & 0.102798285272010 & 0.205596570544021 & 0.89720171472799 \tabularnewline
20 & 0.0663566929569409 & 0.132713385913882 & 0.933643307043059 \tabularnewline
21 & 0.0475708920195838 & 0.0951417840391675 & 0.952429107980416 \tabularnewline
22 & 0.0288882681629786 & 0.0577765363259573 & 0.971111731837021 \tabularnewline
23 & 0.0169141740231301 & 0.0338283480462602 & 0.98308582597687 \tabularnewline
24 & 0.0096392870227353 & 0.0192785740454706 & 0.990360712977265 \tabularnewline
25 & 0.00662817088008041 & 0.0132563417601608 & 0.99337182911992 \tabularnewline
26 & 0.00541548591656098 & 0.0108309718331220 & 0.99458451408344 \tabularnewline
27 & 0.00288774281017935 & 0.0057754856203587 & 0.99711225718982 \tabularnewline
28 & 0.00148082253685615 & 0.00296164507371230 & 0.998519177463144 \tabularnewline
29 & 0.000625184277404634 & 0.00125036855480927 & 0.999374815722595 \tabularnewline
30 & 0.000251737674574878 & 0.000503475349149755 & 0.999748262325425 \tabularnewline
31 & 9.77832193518592e-05 & 0.000195566438703718 & 0.999902216780648 \tabularnewline
32 & 4.21273513613147e-05 & 8.42547027226293e-05 & 0.999957872648639 \tabularnewline
33 & 1.80629971241985e-05 & 3.61259942483969e-05 & 0.999981937002876 \tabularnewline
34 & 6.44591366356302e-06 & 1.28918273271260e-05 & 0.999993554086337 \tabularnewline
35 & 3.15089279319709e-06 & 6.30178558639417e-06 & 0.999996849107207 \tabularnewline
36 & 1.88317633961417e-06 & 3.76635267922833e-06 & 0.99999811682366 \tabularnewline
37 & 9.1892515605494e-07 & 1.83785031210988e-06 & 0.999999081074844 \tabularnewline
38 & 1.55460653861463e-06 & 3.10921307722927e-06 & 0.999998445393461 \tabularnewline
39 & 2.44612350469799e-05 & 4.89224700939597e-05 & 0.999975538764953 \tabularnewline
40 & 0.00280859934134784 & 0.00561719868269568 & 0.997191400658652 \tabularnewline
41 & 0.0168750423999310 & 0.0337500847998621 & 0.983124957600069 \tabularnewline
42 & 0.0165739340611925 & 0.0331478681223849 & 0.983426065938808 \tabularnewline
43 & 0.0149343445744819 & 0.0298686891489637 & 0.985065655425518 \tabularnewline
44 & 0.00937150312751316 & 0.0187430062550263 & 0.990628496872487 \tabularnewline
45 & 0.0145072038604476 & 0.0290144077208951 & 0.985492796139552 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68470&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.235075301653969[/C][C]0.470150603307939[/C][C]0.764924698346031[/C][/ROW]
[ROW][C]17[/C][C]0.137590070705310[/C][C]0.275180141410619[/C][C]0.86240992929469[/C][/ROW]
[ROW][C]18[/C][C]0.107540038444535[/C][C]0.215080076889069[/C][C]0.892459961555465[/C][/ROW]
[ROW][C]19[/C][C]0.102798285272010[/C][C]0.205596570544021[/C][C]0.89720171472799[/C][/ROW]
[ROW][C]20[/C][C]0.0663566929569409[/C][C]0.132713385913882[/C][C]0.933643307043059[/C][/ROW]
[ROW][C]21[/C][C]0.0475708920195838[/C][C]0.0951417840391675[/C][C]0.952429107980416[/C][/ROW]
[ROW][C]22[/C][C]0.0288882681629786[/C][C]0.0577765363259573[/C][C]0.971111731837021[/C][/ROW]
[ROW][C]23[/C][C]0.0169141740231301[/C][C]0.0338283480462602[/C][C]0.98308582597687[/C][/ROW]
[ROW][C]24[/C][C]0.0096392870227353[/C][C]0.0192785740454706[/C][C]0.990360712977265[/C][/ROW]
[ROW][C]25[/C][C]0.00662817088008041[/C][C]0.0132563417601608[/C][C]0.99337182911992[/C][/ROW]
[ROW][C]26[/C][C]0.00541548591656098[/C][C]0.0108309718331220[/C][C]0.99458451408344[/C][/ROW]
[ROW][C]27[/C][C]0.00288774281017935[/C][C]0.0057754856203587[/C][C]0.99711225718982[/C][/ROW]
[ROW][C]28[/C][C]0.00148082253685615[/C][C]0.00296164507371230[/C][C]0.998519177463144[/C][/ROW]
[ROW][C]29[/C][C]0.000625184277404634[/C][C]0.00125036855480927[/C][C]0.999374815722595[/C][/ROW]
[ROW][C]30[/C][C]0.000251737674574878[/C][C]0.000503475349149755[/C][C]0.999748262325425[/C][/ROW]
[ROW][C]31[/C][C]9.77832193518592e-05[/C][C]0.000195566438703718[/C][C]0.999902216780648[/C][/ROW]
[ROW][C]32[/C][C]4.21273513613147e-05[/C][C]8.42547027226293e-05[/C][C]0.999957872648639[/C][/ROW]
[ROW][C]33[/C][C]1.80629971241985e-05[/C][C]3.61259942483969e-05[/C][C]0.999981937002876[/C][/ROW]
[ROW][C]34[/C][C]6.44591366356302e-06[/C][C]1.28918273271260e-05[/C][C]0.999993554086337[/C][/ROW]
[ROW][C]35[/C][C]3.15089279319709e-06[/C][C]6.30178558639417e-06[/C][C]0.999996849107207[/C][/ROW]
[ROW][C]36[/C][C]1.88317633961417e-06[/C][C]3.76635267922833e-06[/C][C]0.99999811682366[/C][/ROW]
[ROW][C]37[/C][C]9.1892515605494e-07[/C][C]1.83785031210988e-06[/C][C]0.999999081074844[/C][/ROW]
[ROW][C]38[/C][C]1.55460653861463e-06[/C][C]3.10921307722927e-06[/C][C]0.999998445393461[/C][/ROW]
[ROW][C]39[/C][C]2.44612350469799e-05[/C][C]4.89224700939597e-05[/C][C]0.999975538764953[/C][/ROW]
[ROW][C]40[/C][C]0.00280859934134784[/C][C]0.00561719868269568[/C][C]0.997191400658652[/C][/ROW]
[ROW][C]41[/C][C]0.0168750423999310[/C][C]0.0337500847998621[/C][C]0.983124957600069[/C][/ROW]
[ROW][C]42[/C][C]0.0165739340611925[/C][C]0.0331478681223849[/C][C]0.983426065938808[/C][/ROW]
[ROW][C]43[/C][C]0.0149343445744819[/C][C]0.0298686891489637[/C][C]0.985065655425518[/C][/ROW]
[ROW][C]44[/C][C]0.00937150312751316[/C][C]0.0187430062550263[/C][C]0.990628496872487[/C][/ROW]
[ROW][C]45[/C][C]0.0145072038604476[/C][C]0.0290144077208951[/C][C]0.985492796139552[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68470&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68470&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.2350753016539690.4701506033079390.764924698346031
170.1375900707053100.2751801414106190.86240992929469
180.1075400384445350.2150800768890690.892459961555465
190.1027982852720100.2055965705440210.89720171472799
200.06635669295694090.1327133859138820.933643307043059
210.04757089201958380.09514178403916750.952429107980416
220.02888826816297860.05777653632595730.971111731837021
230.01691417402313010.03382834804626020.98308582597687
240.00963928702273530.01927857404547060.990360712977265
250.006628170880080410.01325634176016080.99337182911992
260.005415485916560980.01083097183312200.99458451408344
270.002887742810179350.00577548562035870.99711225718982
280.001480822536856150.002961645073712300.998519177463144
290.0006251842774046340.001250368554809270.999374815722595
300.0002517376745748780.0005034753491497550.999748262325425
319.77832193518592e-050.0001955664387037180.999902216780648
324.21273513613147e-058.42547027226293e-050.999957872648639
331.80629971241985e-053.61259942483969e-050.999981937002876
346.44591366356302e-061.28918273271260e-050.999993554086337
353.15089279319709e-066.30178558639417e-060.999996849107207
361.88317633961417e-063.76635267922833e-060.99999811682366
379.1892515605494e-071.83785031210988e-060.999999081074844
381.55460653861463e-063.10921307722927e-060.999998445393461
392.44612350469799e-054.89224700939597e-050.999975538764953
400.002808599341347840.005617198682695680.997191400658652
410.01687504239993100.03375008479986210.983124957600069
420.01657393406119250.03314786812238490.983426065938808
430.01493434457448190.02986868914896370.985065655425518
440.009371503127513160.01874300625502630.990628496872487
450.01450720386044760.02901440772089510.985492796139552







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.466666666666667NOK
5% type I error level230.766666666666667NOK
10% type I error level250.833333333333333NOK

\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 & 14 & 0.466666666666667 & NOK \tabularnewline
5% type I error level & 23 & 0.766666666666667 & NOK \tabularnewline
10% type I error level & 25 & 0.833333333333333 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68470&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]14[/C][C]0.466666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]23[/C][C]0.766666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]25[/C][C]0.833333333333333[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68470&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68470&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 level140.466666666666667NOK
5% type I error level230.766666666666667NOK
10% type I error level250.833333333333333NOK



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