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, 25 Jul 2012 05:48:53 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Jul/25/t1343209819dr9fgmbxf06mwb1.htm/, Retrieved Fri, 03 May 2024 23:01:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=168858, Retrieved Fri, 03 May 2024 23:01:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact191
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [Multiple Regressi...] [2010-11-29 14:00:19] [b9eaf9df71639055b3e2389f5099ca2c]
-    D    [Multiple Regression] [Berekening 1 (3EP)] [2012-07-25 09:48:53] [0b94335bf72158573fe52322b9537409] [Current]
Feedback Forum

Post a new message
Dataseries X:
31/01/2008	-6	-18	5	-2	0
29/02/2008	-3	-14	0	1	-1
31/03/2008	-3	-12	-2	-2	-1
30/04/2008	-7	-17	6	-2	-4
31/05/2008	-9	-23	11	-2	1
30/06/2008	-11	-28	9	-6	-1
31/07/2008	-13	-31	17	-4	0
31/08/2008	-11	-21	21	-2	-1
30/09/2008	-9	-19	21	0	6
31/10/2008	-17	-22	41	-5	0
30/11/2008	-22	-22	57	-4	-3
31/12/2008	-25	-25	65	-5	-3
31/01/2009	-20	-16	68	-1	4
28/02/2009	-24	-22	73	-2	1
31/03/2009	-24	-21	71	-4	0
30/04/2009	-22	-10	71	-1	-4
31/05/2009	-19	-7	70	1	-2
30/06/2009	-18	-5	69	1	3
31/07/2009	-17	-4	65	-2	2
31/08/2009	-11	7	57	1	5
30/09/2009	-11	6	57	1	6
31/10/2009	-12	3	57	3	6
30/11/2009	-10	10	55	3	3
31/12/2009	-15	0	65	1	4
31/01/2010	-15	-2	65	1	7
28/02/2010	-15	-1	64	0	5
31/03/2010	-13	2	60	2	6
30/04/2010	-8	8	43	2	1
31/05/2010	-13	-6	47	-1	3
30/06/2010	-9	-4	40	1	6
31/07/2010	-7	4	31	0	0
31/08/2010	-4	7	27	1	3
30/09/2010	-4	3	24	1	4
31/10/2010	-2	3	23	3	7
30/11/2010	0	8	17	2	6
31/12/2010	-2	3	16	0	6
31/01/2011	-3	-3	15	0	6
28/02/2011	1	4	8	3	6
31/03/2011	-2	-5	5	-2	2
30/04/2011	-1	-1	6	0	2
31/05/2011	1	5	5	1	2
30/06/2011	-3	0	12	-1	3
31/07/2011	-4	-6	8	-2	-1
31/08/2011	-9	-13	17	-1	-4
30/09/2011	-9	-15	22	-1	4
31/10/2011	-7	-8	24	1	5
30/11/2011	-14	-20	36	-2	3
31/12/2011	-12	-10	31	-5	-1
31/01/2012	-16	-22	34	-5	-4
29/02/2012	-20	-25	47	-6	0
31/03/2012	-12	-10	33	-4	-1
30/04/2012	-12	-8	35	-3	-1
31/05/2012	-10	-9	31	-3	3
30/06/2012	-10	-5	35	-1	2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168858&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'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
CVI[t] = + 0.0851947111159262 + 22.274339290829Maand[t] + 0.255420085173404Econ.Sit.[t] -0.254043054036867Werkloos[t] + 0.262568751965315Fin.Sit.[t] + 0.22325139364708Spaarverm.[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
CVI[t] =  +  0.0851947111159262 +  22.274339290829Maand[t] +  0.255420085173404Econ.Sit.[t] -0.254043054036867Werkloos[t] +  0.262568751965315Fin.Sit.[t] +  0.22325139364708Spaarverm.[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168858&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]CVI[t] =  +  0.0851947111159262 +  22.274339290829Maand[t] +  0.255420085173404Econ.Sit.[t] -0.254043054036867Werkloos[t] +  0.262568751965315Fin.Sit.[t] +  0.22325139364708Spaarverm.[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168858&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168858&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
CVI[t] = + 0.0851947111159262 + 22.274339290829Maand[t] + 0.255420085173404Econ.Sit.[t] -0.254043054036867Werkloos[t] + 0.262568751965315Fin.Sit.[t] + 0.22325139364708Spaarverm.[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.08519471111592620.0983180.86650.3905150.195258
Maand22.27433929082910.4160542.13850.0375970.018798
Econ.Sit.0.2554200851734040.0063640.159300
Werkloos-0.2540430540368670.001774-143.190800
Fin.Sit.0.2625687519653150.0306528.566200
Spaarverm.0.223251393647080.01707613.07400

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 0.0851947111159262 & 0.098318 & 0.8665 & 0.390515 & 0.195258 \tabularnewline
Maand & 22.274339290829 & 10.416054 & 2.1385 & 0.037597 & 0.018798 \tabularnewline
Econ.Sit. & 0.255420085173404 & 0.00636 & 40.1593 & 0 & 0 \tabularnewline
Werkloos & -0.254043054036867 & 0.001774 & -143.1908 & 0 & 0 \tabularnewline
Fin.Sit. & 0.262568751965315 & 0.030652 & 8.5662 & 0 & 0 \tabularnewline
Spaarverm. & 0.22325139364708 & 0.017076 & 13.074 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168858&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]0.0851947111159262[/C][C]0.098318[/C][C]0.8665[/C][C]0.390515[/C][C]0.195258[/C][/ROW]
[ROW][C]Maand[/C][C]22.274339290829[/C][C]10.416054[/C][C]2.1385[/C][C]0.037597[/C][C]0.018798[/C][/ROW]
[ROW][C]Econ.Sit.[/C][C]0.255420085173404[/C][C]0.00636[/C][C]40.1593[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Werkloos[/C][C]-0.254043054036867[/C][C]0.001774[/C][C]-143.1908[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Fin.Sit.[/C][C]0.262568751965315[/C][C]0.030652[/C][C]8.5662[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Spaarverm.[/C][C]0.22325139364708[/C][C]0.017076[/C][C]13.074[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168858&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.08519471111592620.0983180.86650.3905150.195258
Maand22.27433929082910.4160542.13850.0375970.018798
Econ.Sit.0.2554200851734040.0063640.159300
Werkloos-0.2540430540368670.001774-143.190800
Fin.Sit.0.2625687519653150.0306528.566200
Spaarverm.0.223251393647080.01707613.07400







Multiple Linear Regression - Regression Statistics
Multiple R0.999139938315224
R-squared0.99828061633655
Adjusted R-squared0.998101513871607
F-TEST (value)5573.79607620484
F-TEST (DF numerator)5
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.29762074705659
Sum Squared Residuals4.25174923576908

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.999139938315224 \tabularnewline
R-squared & 0.99828061633655 \tabularnewline
Adjusted R-squared & 0.998101513871607 \tabularnewline
F-TEST (value) & 5573.79607620484 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.29762074705659 \tabularnewline
Sum Squared Residuals & 4.25174923576908 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168858&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.999139938315224[/C][/ROW]
[ROW][C]R-squared[/C][C]0.99828061633655[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.998101513871607[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5573.79607620484[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.29762074705659[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4.25174923576908[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168858&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168858&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.999139938315224
R-squared0.99828061633655
Adjusted R-squared0.998101513871607
F-TEST (value)5573.79607620484
F-TEST (DF numerator)5
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.29762074705659
Sum Squared Residuals4.25174923576908







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1-6-5.96384284412046-0.0361571558795388
2-3-3.290523545445180.290523545445177
3-3-3.105523516468950.105523516468952
4-7-7.116152151185030.116152151185031
5-9-8.81705160216148-0.182948397838515
6-11-11.09615507325210.096155073252123
7-13-13.15270960546190.152709605461908
8-11-11.31893551587750.318935515877497
9-9-8.72620668523179-0.273793314768215
10-17-17.22826846283710.228268462837105
11-22-21.7042773449167-0.295722655083318
12-25-24.7670474753834-0.232952524616637
13-20-20.30231191966210.302311919662107
14-24-24.22585434108270.225854341082666
15-24-24.25139039404430.251390394044253
16-22-21.5784827270441-0.421517272955943
17-19-19.60095258623140.600952586231364
18-18-17.7331171258915-0.26688287410847
19-17-17.47881806091330.478818060913321
20-11-11.18552985458590.185529854585904
21-11-11.22370415443270.223704154432719
22-12-11.4674139372988-0.532586062701182
23-10-9.84527394443317-0.15472605556683
24-15-15.24338734273680.243387342736766
25-15-14.7695808780549-0.230419121945098
26-15-15.15757921240470.157579212404651
27-13-12.6673909662437-0.33260903375631
28-8-7.96379382719535-0.0362061728046486
29-13-12.9114569934658-0.0885430065341676
30-9-9.440721872998530.440721872998534
31-7-6.7193832538937-0.280616746106301
32-4-4.010762395499420.010762395499418
33-4-4.053064800891010.0530648008910066
34-2-2.606715806178550.60671580617855
350-0.2953076761980830.295307676198083
36-2-1.84509765389813-0.154902346101868
37-3-2.80883923473782-0.191160765262185
3811.35681274105813-0.356812741058128
39-2-2.426301115459570.426301115459567
40-1-1.16490903396750.164909033967503
4110.8698241577254870.130175842274513
42-3-2.50075525700588-0.499244742994123
43-4-4.179007164320430.179007164320432
44-9-8.66665217152658-0.333347828473422
45-9-8.66769609844342-0.33230390155658
46-7-6.6420371711217-0.3579628288783
47-14-13.9939323053898-0.00606769461015501
48-12-11.8518223227066-0.148177677293433
49-16-16.03416723396190.0341672339619237
50-20-19.6552176647155-0.344782335284521
51-12-12.01155562520790.0115556252079299
52-12-11.7775999222969-0.222400077703083
53-10-10.13823418546120.138234185461212
54-10-9.84412484484075-0.155875155159245

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & -6 & -5.96384284412046 & -0.0361571558795388 \tabularnewline
2 & -3 & -3.29052354544518 & 0.290523545445177 \tabularnewline
3 & -3 & -3.10552351646895 & 0.105523516468952 \tabularnewline
4 & -7 & -7.11615215118503 & 0.116152151185031 \tabularnewline
5 & -9 & -8.81705160216148 & -0.182948397838515 \tabularnewline
6 & -11 & -11.0961550732521 & 0.096155073252123 \tabularnewline
7 & -13 & -13.1527096054619 & 0.152709605461908 \tabularnewline
8 & -11 & -11.3189355158775 & 0.318935515877497 \tabularnewline
9 & -9 & -8.72620668523179 & -0.273793314768215 \tabularnewline
10 & -17 & -17.2282684628371 & 0.228268462837105 \tabularnewline
11 & -22 & -21.7042773449167 & -0.295722655083318 \tabularnewline
12 & -25 & -24.7670474753834 & -0.232952524616637 \tabularnewline
13 & -20 & -20.3023119196621 & 0.302311919662107 \tabularnewline
14 & -24 & -24.2258543410827 & 0.225854341082666 \tabularnewline
15 & -24 & -24.2513903940443 & 0.251390394044253 \tabularnewline
16 & -22 & -21.5784827270441 & -0.421517272955943 \tabularnewline
17 & -19 & -19.6009525862314 & 0.600952586231364 \tabularnewline
18 & -18 & -17.7331171258915 & -0.26688287410847 \tabularnewline
19 & -17 & -17.4788180609133 & 0.478818060913321 \tabularnewline
20 & -11 & -11.1855298545859 & 0.185529854585904 \tabularnewline
21 & -11 & -11.2237041544327 & 0.223704154432719 \tabularnewline
22 & -12 & -11.4674139372988 & -0.532586062701182 \tabularnewline
23 & -10 & -9.84527394443317 & -0.15472605556683 \tabularnewline
24 & -15 & -15.2433873427368 & 0.243387342736766 \tabularnewline
25 & -15 & -14.7695808780549 & -0.230419121945098 \tabularnewline
26 & -15 & -15.1575792124047 & 0.157579212404651 \tabularnewline
27 & -13 & -12.6673909662437 & -0.33260903375631 \tabularnewline
28 & -8 & -7.96379382719535 & -0.0362061728046486 \tabularnewline
29 & -13 & -12.9114569934658 & -0.0885430065341676 \tabularnewline
30 & -9 & -9.44072187299853 & 0.440721872998534 \tabularnewline
31 & -7 & -6.7193832538937 & -0.280616746106301 \tabularnewline
32 & -4 & -4.01076239549942 & 0.010762395499418 \tabularnewline
33 & -4 & -4.05306480089101 & 0.0530648008910066 \tabularnewline
34 & -2 & -2.60671580617855 & 0.60671580617855 \tabularnewline
35 & 0 & -0.295307676198083 & 0.295307676198083 \tabularnewline
36 & -2 & -1.84509765389813 & -0.154902346101868 \tabularnewline
37 & -3 & -2.80883923473782 & -0.191160765262185 \tabularnewline
38 & 1 & 1.35681274105813 & -0.356812741058128 \tabularnewline
39 & -2 & -2.42630111545957 & 0.426301115459567 \tabularnewline
40 & -1 & -1.1649090339675 & 0.164909033967503 \tabularnewline
41 & 1 & 0.869824157725487 & 0.130175842274513 \tabularnewline
42 & -3 & -2.50075525700588 & -0.499244742994123 \tabularnewline
43 & -4 & -4.17900716432043 & 0.179007164320432 \tabularnewline
44 & -9 & -8.66665217152658 & -0.333347828473422 \tabularnewline
45 & -9 & -8.66769609844342 & -0.33230390155658 \tabularnewline
46 & -7 & -6.6420371711217 & -0.3579628288783 \tabularnewline
47 & -14 & -13.9939323053898 & -0.00606769461015501 \tabularnewline
48 & -12 & -11.8518223227066 & -0.148177677293433 \tabularnewline
49 & -16 & -16.0341672339619 & 0.0341672339619237 \tabularnewline
50 & -20 & -19.6552176647155 & -0.344782335284521 \tabularnewline
51 & -12 & -12.0115556252079 & 0.0115556252079299 \tabularnewline
52 & -12 & -11.7775999222969 & -0.222400077703083 \tabularnewline
53 & -10 & -10.1382341854612 & 0.138234185461212 \tabularnewline
54 & -10 & -9.84412484484075 & -0.155875155159245 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168858&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]-6[/C][C]-5.96384284412046[/C][C]-0.0361571558795388[/C][/ROW]
[ROW][C]2[/C][C]-3[/C][C]-3.29052354544518[/C][C]0.290523545445177[/C][/ROW]
[ROW][C]3[/C][C]-3[/C][C]-3.10552351646895[/C][C]0.105523516468952[/C][/ROW]
[ROW][C]4[/C][C]-7[/C][C]-7.11615215118503[/C][C]0.116152151185031[/C][/ROW]
[ROW][C]5[/C][C]-9[/C][C]-8.81705160216148[/C][C]-0.182948397838515[/C][/ROW]
[ROW][C]6[/C][C]-11[/C][C]-11.0961550732521[/C][C]0.096155073252123[/C][/ROW]
[ROW][C]7[/C][C]-13[/C][C]-13.1527096054619[/C][C]0.152709605461908[/C][/ROW]
[ROW][C]8[/C][C]-11[/C][C]-11.3189355158775[/C][C]0.318935515877497[/C][/ROW]
[ROW][C]9[/C][C]-9[/C][C]-8.72620668523179[/C][C]-0.273793314768215[/C][/ROW]
[ROW][C]10[/C][C]-17[/C][C]-17.2282684628371[/C][C]0.228268462837105[/C][/ROW]
[ROW][C]11[/C][C]-22[/C][C]-21.7042773449167[/C][C]-0.295722655083318[/C][/ROW]
[ROW][C]12[/C][C]-25[/C][C]-24.7670474753834[/C][C]-0.232952524616637[/C][/ROW]
[ROW][C]13[/C][C]-20[/C][C]-20.3023119196621[/C][C]0.302311919662107[/C][/ROW]
[ROW][C]14[/C][C]-24[/C][C]-24.2258543410827[/C][C]0.225854341082666[/C][/ROW]
[ROW][C]15[/C][C]-24[/C][C]-24.2513903940443[/C][C]0.251390394044253[/C][/ROW]
[ROW][C]16[/C][C]-22[/C][C]-21.5784827270441[/C][C]-0.421517272955943[/C][/ROW]
[ROW][C]17[/C][C]-19[/C][C]-19.6009525862314[/C][C]0.600952586231364[/C][/ROW]
[ROW][C]18[/C][C]-18[/C][C]-17.7331171258915[/C][C]-0.26688287410847[/C][/ROW]
[ROW][C]19[/C][C]-17[/C][C]-17.4788180609133[/C][C]0.478818060913321[/C][/ROW]
[ROW][C]20[/C][C]-11[/C][C]-11.1855298545859[/C][C]0.185529854585904[/C][/ROW]
[ROW][C]21[/C][C]-11[/C][C]-11.2237041544327[/C][C]0.223704154432719[/C][/ROW]
[ROW][C]22[/C][C]-12[/C][C]-11.4674139372988[/C][C]-0.532586062701182[/C][/ROW]
[ROW][C]23[/C][C]-10[/C][C]-9.84527394443317[/C][C]-0.15472605556683[/C][/ROW]
[ROW][C]24[/C][C]-15[/C][C]-15.2433873427368[/C][C]0.243387342736766[/C][/ROW]
[ROW][C]25[/C][C]-15[/C][C]-14.7695808780549[/C][C]-0.230419121945098[/C][/ROW]
[ROW][C]26[/C][C]-15[/C][C]-15.1575792124047[/C][C]0.157579212404651[/C][/ROW]
[ROW][C]27[/C][C]-13[/C][C]-12.6673909662437[/C][C]-0.33260903375631[/C][/ROW]
[ROW][C]28[/C][C]-8[/C][C]-7.96379382719535[/C][C]-0.0362061728046486[/C][/ROW]
[ROW][C]29[/C][C]-13[/C][C]-12.9114569934658[/C][C]-0.0885430065341676[/C][/ROW]
[ROW][C]30[/C][C]-9[/C][C]-9.44072187299853[/C][C]0.440721872998534[/C][/ROW]
[ROW][C]31[/C][C]-7[/C][C]-6.7193832538937[/C][C]-0.280616746106301[/C][/ROW]
[ROW][C]32[/C][C]-4[/C][C]-4.01076239549942[/C][C]0.010762395499418[/C][/ROW]
[ROW][C]33[/C][C]-4[/C][C]-4.05306480089101[/C][C]0.0530648008910066[/C][/ROW]
[ROW][C]34[/C][C]-2[/C][C]-2.60671580617855[/C][C]0.60671580617855[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]-0.295307676198083[/C][C]0.295307676198083[/C][/ROW]
[ROW][C]36[/C][C]-2[/C][C]-1.84509765389813[/C][C]-0.154902346101868[/C][/ROW]
[ROW][C]37[/C][C]-3[/C][C]-2.80883923473782[/C][C]-0.191160765262185[/C][/ROW]
[ROW][C]38[/C][C]1[/C][C]1.35681274105813[/C][C]-0.356812741058128[/C][/ROW]
[ROW][C]39[/C][C]-2[/C][C]-2.42630111545957[/C][C]0.426301115459567[/C][/ROW]
[ROW][C]40[/C][C]-1[/C][C]-1.1649090339675[/C][C]0.164909033967503[/C][/ROW]
[ROW][C]41[/C][C]1[/C][C]0.869824157725487[/C][C]0.130175842274513[/C][/ROW]
[ROW][C]42[/C][C]-3[/C][C]-2.50075525700588[/C][C]-0.499244742994123[/C][/ROW]
[ROW][C]43[/C][C]-4[/C][C]-4.17900716432043[/C][C]0.179007164320432[/C][/ROW]
[ROW][C]44[/C][C]-9[/C][C]-8.66665217152658[/C][C]-0.333347828473422[/C][/ROW]
[ROW][C]45[/C][C]-9[/C][C]-8.66769609844342[/C][C]-0.33230390155658[/C][/ROW]
[ROW][C]46[/C][C]-7[/C][C]-6.6420371711217[/C][C]-0.3579628288783[/C][/ROW]
[ROW][C]47[/C][C]-14[/C][C]-13.9939323053898[/C][C]-0.00606769461015501[/C][/ROW]
[ROW][C]48[/C][C]-12[/C][C]-11.8518223227066[/C][C]-0.148177677293433[/C][/ROW]
[ROW][C]49[/C][C]-16[/C][C]-16.0341672339619[/C][C]0.0341672339619237[/C][/ROW]
[ROW][C]50[/C][C]-20[/C][C]-19.6552176647155[/C][C]-0.344782335284521[/C][/ROW]
[ROW][C]51[/C][C]-12[/C][C]-12.0115556252079[/C][C]0.0115556252079299[/C][/ROW]
[ROW][C]52[/C][C]-12[/C][C]-11.7775999222969[/C][C]-0.222400077703083[/C][/ROW]
[ROW][C]53[/C][C]-10[/C][C]-10.1382341854612[/C][C]0.138234185461212[/C][/ROW]
[ROW][C]54[/C][C]-10[/C][C]-9.84412484484075[/C][C]-0.155875155159245[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168858&T=4

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1-6-5.96384284412046-0.0361571558795388
2-3-3.290523545445180.290523545445177
3-3-3.105523516468950.105523516468952
4-7-7.116152151185030.116152151185031
5-9-8.81705160216148-0.182948397838515
6-11-11.09615507325210.096155073252123
7-13-13.15270960546190.152709605461908
8-11-11.31893551587750.318935515877497
9-9-8.72620668523179-0.273793314768215
10-17-17.22826846283710.228268462837105
11-22-21.7042773449167-0.295722655083318
12-25-24.7670474753834-0.232952524616637
13-20-20.30231191966210.302311919662107
14-24-24.22585434108270.225854341082666
15-24-24.25139039404430.251390394044253
16-22-21.5784827270441-0.421517272955943
17-19-19.60095258623140.600952586231364
18-18-17.7331171258915-0.26688287410847
19-17-17.47881806091330.478818060913321
20-11-11.18552985458590.185529854585904
21-11-11.22370415443270.223704154432719
22-12-11.4674139372988-0.532586062701182
23-10-9.84527394443317-0.15472605556683
24-15-15.24338734273680.243387342736766
25-15-14.7695808780549-0.230419121945098
26-15-15.15757921240470.157579212404651
27-13-12.6673909662437-0.33260903375631
28-8-7.96379382719535-0.0362061728046486
29-13-12.9114569934658-0.0885430065341676
30-9-9.440721872998530.440721872998534
31-7-6.7193832538937-0.280616746106301
32-4-4.010762395499420.010762395499418
33-4-4.053064800891010.0530648008910066
34-2-2.606715806178550.60671580617855
350-0.2953076761980830.295307676198083
36-2-1.84509765389813-0.154902346101868
37-3-2.80883923473782-0.191160765262185
3811.35681274105813-0.356812741058128
39-2-2.426301115459570.426301115459567
40-1-1.16490903396750.164909033967503
4110.8698241577254870.130175842274513
42-3-2.50075525700588-0.499244742994123
43-4-4.179007164320430.179007164320432
44-9-8.66665217152658-0.333347828473422
45-9-8.66769609844342-0.33230390155658
46-7-6.6420371711217-0.3579628288783
47-14-13.9939323053898-0.00606769461015501
48-12-11.8518223227066-0.148177677293433
49-16-16.03416723396190.0341672339619237
50-20-19.6552176647155-0.344782335284521
51-12-12.01155562520790.0115556252079299
52-12-11.7775999222969-0.222400077703083
53-10-10.13823418546120.138234185461212
54-10-9.84412484484075-0.155875155159245







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.2734281846595770.5468563693191550.726571815340422
100.1448589272532960.2897178545065920.855141072746704
110.3428926524613450.685785304922690.657107347538655
120.2370883692272130.4741767384544260.762911630772787
130.3651367610006580.7302735220013160.634863238999342
140.3135110877086460.6270221754172910.686488912291354
150.2688527021182350.5377054042364690.731147297881765
160.327678203794320.6553564075886410.67232179620568
170.6750697959560760.6498604080878490.324930204043924
180.6445047577376240.7109904845247510.355495242262376
190.730067180754690.5398656384906210.26993281924531
200.6562674958385750.6874650083228510.343732504161425
210.5840011915354560.8319976169290870.415998808464544
220.7474854032314130.5050291935371740.252514596768587
230.6922914972990880.6154170054018240.307708502700912
240.6717199905791490.6565600188417020.328280009420851
250.659295603851550.68140879229690.34070439614845
260.6042615028319150.7914769943361690.395738497168085
270.5967174971167720.8065650057664550.403282502883228
280.5131539945964750.9736920108070510.486846005403525
290.4336851192414340.8673702384828690.566314880758566
300.5614453366293960.8771093267412070.438554663370604
310.5558166435471810.8883667129056370.444183356452819
320.4672281889456690.9344563778913390.532771811054331
330.3783446565937690.7566893131875370.621655343406231
340.7472012926383980.5055974147232040.252798707361602
350.8363198272671760.3273603454656490.163680172732824
360.7831212119081990.4337575761836010.216878788091801
370.7293369752766370.5413260494467250.270663024723363
380.7308137334007240.5383725331985510.269186266599276
390.7363542741098530.5272914517802940.263645725890147
400.6778674676134460.6442650647731070.322132532386554
410.6410236172337370.7179527655325270.358976382766263
420.8530845076815310.2938309846369370.146915492318469
430.800276309933930.399447380132140.19972369006607
440.6828112506233270.6343774987533450.317188749376673
450.594444414300250.81111117139950.40555558569975

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.273428184659577 & 0.546856369319155 & 0.726571815340422 \tabularnewline
10 & 0.144858927253296 & 0.289717854506592 & 0.855141072746704 \tabularnewline
11 & 0.342892652461345 & 0.68578530492269 & 0.657107347538655 \tabularnewline
12 & 0.237088369227213 & 0.474176738454426 & 0.762911630772787 \tabularnewline
13 & 0.365136761000658 & 0.730273522001316 & 0.634863238999342 \tabularnewline
14 & 0.313511087708646 & 0.627022175417291 & 0.686488912291354 \tabularnewline
15 & 0.268852702118235 & 0.537705404236469 & 0.731147297881765 \tabularnewline
16 & 0.32767820379432 & 0.655356407588641 & 0.67232179620568 \tabularnewline
17 & 0.675069795956076 & 0.649860408087849 & 0.324930204043924 \tabularnewline
18 & 0.644504757737624 & 0.710990484524751 & 0.355495242262376 \tabularnewline
19 & 0.73006718075469 & 0.539865638490621 & 0.26993281924531 \tabularnewline
20 & 0.656267495838575 & 0.687465008322851 & 0.343732504161425 \tabularnewline
21 & 0.584001191535456 & 0.831997616929087 & 0.415998808464544 \tabularnewline
22 & 0.747485403231413 & 0.505029193537174 & 0.252514596768587 \tabularnewline
23 & 0.692291497299088 & 0.615417005401824 & 0.307708502700912 \tabularnewline
24 & 0.671719990579149 & 0.656560018841702 & 0.328280009420851 \tabularnewline
25 & 0.65929560385155 & 0.6814087922969 & 0.34070439614845 \tabularnewline
26 & 0.604261502831915 & 0.791476994336169 & 0.395738497168085 \tabularnewline
27 & 0.596717497116772 & 0.806565005766455 & 0.403282502883228 \tabularnewline
28 & 0.513153994596475 & 0.973692010807051 & 0.486846005403525 \tabularnewline
29 & 0.433685119241434 & 0.867370238482869 & 0.566314880758566 \tabularnewline
30 & 0.561445336629396 & 0.877109326741207 & 0.438554663370604 \tabularnewline
31 & 0.555816643547181 & 0.888366712905637 & 0.444183356452819 \tabularnewline
32 & 0.467228188945669 & 0.934456377891339 & 0.532771811054331 \tabularnewline
33 & 0.378344656593769 & 0.756689313187537 & 0.621655343406231 \tabularnewline
34 & 0.747201292638398 & 0.505597414723204 & 0.252798707361602 \tabularnewline
35 & 0.836319827267176 & 0.327360345465649 & 0.163680172732824 \tabularnewline
36 & 0.783121211908199 & 0.433757576183601 & 0.216878788091801 \tabularnewline
37 & 0.729336975276637 & 0.541326049446725 & 0.270663024723363 \tabularnewline
38 & 0.730813733400724 & 0.538372533198551 & 0.269186266599276 \tabularnewline
39 & 0.736354274109853 & 0.527291451780294 & 0.263645725890147 \tabularnewline
40 & 0.677867467613446 & 0.644265064773107 & 0.322132532386554 \tabularnewline
41 & 0.641023617233737 & 0.717952765532527 & 0.358976382766263 \tabularnewline
42 & 0.853084507681531 & 0.293830984636937 & 0.146915492318469 \tabularnewline
43 & 0.80027630993393 & 0.39944738013214 & 0.19972369006607 \tabularnewline
44 & 0.682811250623327 & 0.634377498753345 & 0.317188749376673 \tabularnewline
45 & 0.59444441430025 & 0.8111111713995 & 0.40555558569975 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168858&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]9[/C][C]0.273428184659577[/C][C]0.546856369319155[/C][C]0.726571815340422[/C][/ROW]
[ROW][C]10[/C][C]0.144858927253296[/C][C]0.289717854506592[/C][C]0.855141072746704[/C][/ROW]
[ROW][C]11[/C][C]0.342892652461345[/C][C]0.68578530492269[/C][C]0.657107347538655[/C][/ROW]
[ROW][C]12[/C][C]0.237088369227213[/C][C]0.474176738454426[/C][C]0.762911630772787[/C][/ROW]
[ROW][C]13[/C][C]0.365136761000658[/C][C]0.730273522001316[/C][C]0.634863238999342[/C][/ROW]
[ROW][C]14[/C][C]0.313511087708646[/C][C]0.627022175417291[/C][C]0.686488912291354[/C][/ROW]
[ROW][C]15[/C][C]0.268852702118235[/C][C]0.537705404236469[/C][C]0.731147297881765[/C][/ROW]
[ROW][C]16[/C][C]0.32767820379432[/C][C]0.655356407588641[/C][C]0.67232179620568[/C][/ROW]
[ROW][C]17[/C][C]0.675069795956076[/C][C]0.649860408087849[/C][C]0.324930204043924[/C][/ROW]
[ROW][C]18[/C][C]0.644504757737624[/C][C]0.710990484524751[/C][C]0.355495242262376[/C][/ROW]
[ROW][C]19[/C][C]0.73006718075469[/C][C]0.539865638490621[/C][C]0.26993281924531[/C][/ROW]
[ROW][C]20[/C][C]0.656267495838575[/C][C]0.687465008322851[/C][C]0.343732504161425[/C][/ROW]
[ROW][C]21[/C][C]0.584001191535456[/C][C]0.831997616929087[/C][C]0.415998808464544[/C][/ROW]
[ROW][C]22[/C][C]0.747485403231413[/C][C]0.505029193537174[/C][C]0.252514596768587[/C][/ROW]
[ROW][C]23[/C][C]0.692291497299088[/C][C]0.615417005401824[/C][C]0.307708502700912[/C][/ROW]
[ROW][C]24[/C][C]0.671719990579149[/C][C]0.656560018841702[/C][C]0.328280009420851[/C][/ROW]
[ROW][C]25[/C][C]0.65929560385155[/C][C]0.6814087922969[/C][C]0.34070439614845[/C][/ROW]
[ROW][C]26[/C][C]0.604261502831915[/C][C]0.791476994336169[/C][C]0.395738497168085[/C][/ROW]
[ROW][C]27[/C][C]0.596717497116772[/C][C]0.806565005766455[/C][C]0.403282502883228[/C][/ROW]
[ROW][C]28[/C][C]0.513153994596475[/C][C]0.973692010807051[/C][C]0.486846005403525[/C][/ROW]
[ROW][C]29[/C][C]0.433685119241434[/C][C]0.867370238482869[/C][C]0.566314880758566[/C][/ROW]
[ROW][C]30[/C][C]0.561445336629396[/C][C]0.877109326741207[/C][C]0.438554663370604[/C][/ROW]
[ROW][C]31[/C][C]0.555816643547181[/C][C]0.888366712905637[/C][C]0.444183356452819[/C][/ROW]
[ROW][C]32[/C][C]0.467228188945669[/C][C]0.934456377891339[/C][C]0.532771811054331[/C][/ROW]
[ROW][C]33[/C][C]0.378344656593769[/C][C]0.756689313187537[/C][C]0.621655343406231[/C][/ROW]
[ROW][C]34[/C][C]0.747201292638398[/C][C]0.505597414723204[/C][C]0.252798707361602[/C][/ROW]
[ROW][C]35[/C][C]0.836319827267176[/C][C]0.327360345465649[/C][C]0.163680172732824[/C][/ROW]
[ROW][C]36[/C][C]0.783121211908199[/C][C]0.433757576183601[/C][C]0.216878788091801[/C][/ROW]
[ROW][C]37[/C][C]0.729336975276637[/C][C]0.541326049446725[/C][C]0.270663024723363[/C][/ROW]
[ROW][C]38[/C][C]0.730813733400724[/C][C]0.538372533198551[/C][C]0.269186266599276[/C][/ROW]
[ROW][C]39[/C][C]0.736354274109853[/C][C]0.527291451780294[/C][C]0.263645725890147[/C][/ROW]
[ROW][C]40[/C][C]0.677867467613446[/C][C]0.644265064773107[/C][C]0.322132532386554[/C][/ROW]
[ROW][C]41[/C][C]0.641023617233737[/C][C]0.717952765532527[/C][C]0.358976382766263[/C][/ROW]
[ROW][C]42[/C][C]0.853084507681531[/C][C]0.293830984636937[/C][C]0.146915492318469[/C][/ROW]
[ROW][C]43[/C][C]0.80027630993393[/C][C]0.39944738013214[/C][C]0.19972369006607[/C][/ROW]
[ROW][C]44[/C][C]0.682811250623327[/C][C]0.634377498753345[/C][C]0.317188749376673[/C][/ROW]
[ROW][C]45[/C][C]0.59444441430025[/C][C]0.8111111713995[/C][C]0.40555558569975[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168858&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168858&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
90.2734281846595770.5468563693191550.726571815340422
100.1448589272532960.2897178545065920.855141072746704
110.3428926524613450.685785304922690.657107347538655
120.2370883692272130.4741767384544260.762911630772787
130.3651367610006580.7302735220013160.634863238999342
140.3135110877086460.6270221754172910.686488912291354
150.2688527021182350.5377054042364690.731147297881765
160.327678203794320.6553564075886410.67232179620568
170.6750697959560760.6498604080878490.324930204043924
180.6445047577376240.7109904845247510.355495242262376
190.730067180754690.5398656384906210.26993281924531
200.6562674958385750.6874650083228510.343732504161425
210.5840011915354560.8319976169290870.415998808464544
220.7474854032314130.5050291935371740.252514596768587
230.6922914972990880.6154170054018240.307708502700912
240.6717199905791490.6565600188417020.328280009420851
250.659295603851550.68140879229690.34070439614845
260.6042615028319150.7914769943361690.395738497168085
270.5967174971167720.8065650057664550.403282502883228
280.5131539945964750.9736920108070510.486846005403525
290.4336851192414340.8673702384828690.566314880758566
300.5614453366293960.8771093267412070.438554663370604
310.5558166435471810.8883667129056370.444183356452819
320.4672281889456690.9344563778913390.532771811054331
330.3783446565937690.7566893131875370.621655343406231
340.7472012926383980.5055974147232040.252798707361602
350.8363198272671760.3273603454656490.163680172732824
360.7831212119081990.4337575761836010.216878788091801
370.7293369752766370.5413260494467250.270663024723363
380.7308137334007240.5383725331985510.269186266599276
390.7363542741098530.5272914517802940.263645725890147
400.6778674676134460.6442650647731070.322132532386554
410.6410236172337370.7179527655325270.358976382766263
420.8530845076815310.2938309846369370.146915492318469
430.800276309933930.399447380132140.19972369006607
440.6828112506233270.6343774987533450.317188749376673
450.594444414300250.81111117139950.40555558569975







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=168858&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=168858&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168858&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 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
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')
}