Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 16 Dec 2010 12:29:31 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/16/t1292502443pnkdodl1d4bw7ne.htm/, Retrieved Fri, 03 May 2024 03:51:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=110869, Retrieved Fri, 03 May 2024 03:51:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact117
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Dummy met trend] [2008-12-15 18:12:50] [f77c9ab3b413812d7baee6b7ec69a15d]
-  M D    [Multiple Regression] [lineaire trend du...] [2010-12-16 12:29:31] [2fa539864aa87c5da4977c85c6885fac] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110869&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110869&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110869&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Bakmeel[t] = + 0.875422587883321 + 0.147810444354947Dummy[t] -0.00949139865370232t + e[t]

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

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

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Bakmeel[t] = + 0.875422587883321 + 0.147810444354947Dummy[t] -0.00949139865370232t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.8754225878833210.01263969.265500
Dummy0.1478104443549470.0223386.617100
t-0.009491398653702320.000635-14.936600

\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.875422587883321 & 0.012639 & 69.2655 & 0 & 0 \tabularnewline
Dummy & 0.147810444354947 & 0.022338 & 6.6171 & 0 & 0 \tabularnewline
t & -0.00949139865370232 & 0.000635 & -14.9366 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110869&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.875422587883321[/C][C]0.012639[/C][C]69.2655[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]0.147810444354947[/C][C]0.022338[/C][C]6.6171[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-0.00949139865370232[/C][C]0.000635[/C][C]-14.9366[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110869&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110869&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.8754225878833210.01263969.265500
Dummy0.1478104443549470.0223386.617100
t-0.009491398653702320.000635-14.936600







Multiple Linear Regression - Regression Statistics
Multiple R0.921732716307749
R-squared0.849591200312061
Adjusted R-squared0.843915396550252
F-TEST (value)149.686500091624
F-TEST (DF numerator)2
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0464702180492685
Sum Squared Residuals0.114452501773968

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.921732716307749 \tabularnewline
R-squared & 0.849591200312061 \tabularnewline
Adjusted R-squared & 0.843915396550252 \tabularnewline
F-TEST (value) & 149.686500091624 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 53 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.0464702180492685 \tabularnewline
Sum Squared Residuals & 0.114452501773968 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110869&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.921732716307749[/C][/ROW]
[ROW][C]R-squared[/C][C]0.849591200312061[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.843915396550252[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]149.686500091624[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]53[/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.0464702180492685[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.114452501773968[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110869&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110869&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.921732716307749
R-squared0.849591200312061
Adjusted R-squared0.843915396550252
F-TEST (value)149.686500091624
F-TEST (DF numerator)2
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0464702180492685
Sum Squared Residuals0.114452501773968







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.810.865931189229618-0.0559311892296181
20.810.856439790575916-0.0464397905759161
30.810.846948391922214-0.0369483919222141
40.790.837456993268512-0.0474569932685116
50.780.82796559461481-0.0479655946148093
60.780.818474195961107-0.038474195961107
70.770.808982797307405-0.0389827973074047
80.780.799491398653702-0.0194913986537024
90.770.79-0.0200000000000001
100.780.780508601346298-0.000508601346297723
110.790.7710172026925950.0189827973074046
120.790.7615258040388930.0284741959611069
130.790.7520344053851910.0379655946148093
140.790.7425430067314880.0474569932685116
150.790.7330516080777860.0569483919222139
160.80.7235602094240840.0764397905759162
170.80.7140688107703820.0859311892296185
180.80.852387856471626-0.0523878564716261
190.80.842896457817924-0.0428964578179237
200.810.833405059164221-0.0234050591642214
210.80.823913660510519-0.0239136605105191
220.820.8144222618568170.0055777381431831
230.850.8049308632031140.0450691367968855
240.850.7954394645494120.0545605354505878
250.860.785948065895710.0740519341042901
260.850.7764566672420080.0735433327579924
270.830.7669652685883050.0630347314116947
280.810.7574738699346030.0525261300653971
290.820.74798247128090.0720175287190993
300.820.7384910726271980.0815089273728017
310.780.7289996739734960.051000326026504
320.780.7195082753197940.0604917246802064
330.730.7100168766660910.0199831233339086
340.680.700525478012389-0.0205254780123890
350.650.691034079358687-0.0410340793586867
360.620.681542680704984-0.0615426807049844
370.60.672051282051282-0.072051282051282
380.60.66255988339758-0.0625598833975798
390.590.653068484743877-0.0630684847438775
400.60.643577086090175-0.0435770860901751
410.60.634085687436473-0.0340856874364728
420.60.62459428878277-0.0245942887827705
430.590.615102890129068-0.0251028901290682
440.580.605611491475366-0.0256114914753659
450.560.596120092821663-0.0361200928216635
460.550.586628694167961-0.0366286941679611
470.540.577137295514259-0.0371372955142588
480.550.567645896860557-0.0176458968605565
490.550.558154498206854-0.0081544982068542
500.540.548663099553152-0.00866309955315188
510.540.539171700899450.000828299100550444
520.540.5296803022457470.0103196977542528
530.530.5201889035920450.00981109640795506
540.530.5106975049383430.0193024950616574
550.530.501206106284640.0287938937153597
560.530.4917147076309380.038285292369062

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.81 & 0.865931189229618 & -0.0559311892296181 \tabularnewline
2 & 0.81 & 0.856439790575916 & -0.0464397905759161 \tabularnewline
3 & 0.81 & 0.846948391922214 & -0.0369483919222141 \tabularnewline
4 & 0.79 & 0.837456993268512 & -0.0474569932685116 \tabularnewline
5 & 0.78 & 0.82796559461481 & -0.0479655946148093 \tabularnewline
6 & 0.78 & 0.818474195961107 & -0.038474195961107 \tabularnewline
7 & 0.77 & 0.808982797307405 & -0.0389827973074047 \tabularnewline
8 & 0.78 & 0.799491398653702 & -0.0194913986537024 \tabularnewline
9 & 0.77 & 0.79 & -0.0200000000000001 \tabularnewline
10 & 0.78 & 0.780508601346298 & -0.000508601346297723 \tabularnewline
11 & 0.79 & 0.771017202692595 & 0.0189827973074046 \tabularnewline
12 & 0.79 & 0.761525804038893 & 0.0284741959611069 \tabularnewline
13 & 0.79 & 0.752034405385191 & 0.0379655946148093 \tabularnewline
14 & 0.79 & 0.742543006731488 & 0.0474569932685116 \tabularnewline
15 & 0.79 & 0.733051608077786 & 0.0569483919222139 \tabularnewline
16 & 0.8 & 0.723560209424084 & 0.0764397905759162 \tabularnewline
17 & 0.8 & 0.714068810770382 & 0.0859311892296185 \tabularnewline
18 & 0.8 & 0.852387856471626 & -0.0523878564716261 \tabularnewline
19 & 0.8 & 0.842896457817924 & -0.0428964578179237 \tabularnewline
20 & 0.81 & 0.833405059164221 & -0.0234050591642214 \tabularnewline
21 & 0.8 & 0.823913660510519 & -0.0239136605105191 \tabularnewline
22 & 0.82 & 0.814422261856817 & 0.0055777381431831 \tabularnewline
23 & 0.85 & 0.804930863203114 & 0.0450691367968855 \tabularnewline
24 & 0.85 & 0.795439464549412 & 0.0545605354505878 \tabularnewline
25 & 0.86 & 0.78594806589571 & 0.0740519341042901 \tabularnewline
26 & 0.85 & 0.776456667242008 & 0.0735433327579924 \tabularnewline
27 & 0.83 & 0.766965268588305 & 0.0630347314116947 \tabularnewline
28 & 0.81 & 0.757473869934603 & 0.0525261300653971 \tabularnewline
29 & 0.82 & 0.7479824712809 & 0.0720175287190993 \tabularnewline
30 & 0.82 & 0.738491072627198 & 0.0815089273728017 \tabularnewline
31 & 0.78 & 0.728999673973496 & 0.051000326026504 \tabularnewline
32 & 0.78 & 0.719508275319794 & 0.0604917246802064 \tabularnewline
33 & 0.73 & 0.710016876666091 & 0.0199831233339086 \tabularnewline
34 & 0.68 & 0.700525478012389 & -0.0205254780123890 \tabularnewline
35 & 0.65 & 0.691034079358687 & -0.0410340793586867 \tabularnewline
36 & 0.62 & 0.681542680704984 & -0.0615426807049844 \tabularnewline
37 & 0.6 & 0.672051282051282 & -0.072051282051282 \tabularnewline
38 & 0.6 & 0.66255988339758 & -0.0625598833975798 \tabularnewline
39 & 0.59 & 0.653068484743877 & -0.0630684847438775 \tabularnewline
40 & 0.6 & 0.643577086090175 & -0.0435770860901751 \tabularnewline
41 & 0.6 & 0.634085687436473 & -0.0340856874364728 \tabularnewline
42 & 0.6 & 0.62459428878277 & -0.0245942887827705 \tabularnewline
43 & 0.59 & 0.615102890129068 & -0.0251028901290682 \tabularnewline
44 & 0.58 & 0.605611491475366 & -0.0256114914753659 \tabularnewline
45 & 0.56 & 0.596120092821663 & -0.0361200928216635 \tabularnewline
46 & 0.55 & 0.586628694167961 & -0.0366286941679611 \tabularnewline
47 & 0.54 & 0.577137295514259 & -0.0371372955142588 \tabularnewline
48 & 0.55 & 0.567645896860557 & -0.0176458968605565 \tabularnewline
49 & 0.55 & 0.558154498206854 & -0.0081544982068542 \tabularnewline
50 & 0.54 & 0.548663099553152 & -0.00866309955315188 \tabularnewline
51 & 0.54 & 0.53917170089945 & 0.000828299100550444 \tabularnewline
52 & 0.54 & 0.529680302245747 & 0.0103196977542528 \tabularnewline
53 & 0.53 & 0.520188903592045 & 0.00981109640795506 \tabularnewline
54 & 0.53 & 0.510697504938343 & 0.0193024950616574 \tabularnewline
55 & 0.53 & 0.50120610628464 & 0.0287938937153597 \tabularnewline
56 & 0.53 & 0.491714707630938 & 0.038285292369062 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110869&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]0.81[/C][C]0.865931189229618[/C][C]-0.0559311892296181[/C][/ROW]
[ROW][C]2[/C][C]0.81[/C][C]0.856439790575916[/C][C]-0.0464397905759161[/C][/ROW]
[ROW][C]3[/C][C]0.81[/C][C]0.846948391922214[/C][C]-0.0369483919222141[/C][/ROW]
[ROW][C]4[/C][C]0.79[/C][C]0.837456993268512[/C][C]-0.0474569932685116[/C][/ROW]
[ROW][C]5[/C][C]0.78[/C][C]0.82796559461481[/C][C]-0.0479655946148093[/C][/ROW]
[ROW][C]6[/C][C]0.78[/C][C]0.818474195961107[/C][C]-0.038474195961107[/C][/ROW]
[ROW][C]7[/C][C]0.77[/C][C]0.808982797307405[/C][C]-0.0389827973074047[/C][/ROW]
[ROW][C]8[/C][C]0.78[/C][C]0.799491398653702[/C][C]-0.0194913986537024[/C][/ROW]
[ROW][C]9[/C][C]0.77[/C][C]0.79[/C][C]-0.0200000000000001[/C][/ROW]
[ROW][C]10[/C][C]0.78[/C][C]0.780508601346298[/C][C]-0.000508601346297723[/C][/ROW]
[ROW][C]11[/C][C]0.79[/C][C]0.771017202692595[/C][C]0.0189827973074046[/C][/ROW]
[ROW][C]12[/C][C]0.79[/C][C]0.761525804038893[/C][C]0.0284741959611069[/C][/ROW]
[ROW][C]13[/C][C]0.79[/C][C]0.752034405385191[/C][C]0.0379655946148093[/C][/ROW]
[ROW][C]14[/C][C]0.79[/C][C]0.742543006731488[/C][C]0.0474569932685116[/C][/ROW]
[ROW][C]15[/C][C]0.79[/C][C]0.733051608077786[/C][C]0.0569483919222139[/C][/ROW]
[ROW][C]16[/C][C]0.8[/C][C]0.723560209424084[/C][C]0.0764397905759162[/C][/ROW]
[ROW][C]17[/C][C]0.8[/C][C]0.714068810770382[/C][C]0.0859311892296185[/C][/ROW]
[ROW][C]18[/C][C]0.8[/C][C]0.852387856471626[/C][C]-0.0523878564716261[/C][/ROW]
[ROW][C]19[/C][C]0.8[/C][C]0.842896457817924[/C][C]-0.0428964578179237[/C][/ROW]
[ROW][C]20[/C][C]0.81[/C][C]0.833405059164221[/C][C]-0.0234050591642214[/C][/ROW]
[ROW][C]21[/C][C]0.8[/C][C]0.823913660510519[/C][C]-0.0239136605105191[/C][/ROW]
[ROW][C]22[/C][C]0.82[/C][C]0.814422261856817[/C][C]0.0055777381431831[/C][/ROW]
[ROW][C]23[/C][C]0.85[/C][C]0.804930863203114[/C][C]0.0450691367968855[/C][/ROW]
[ROW][C]24[/C][C]0.85[/C][C]0.795439464549412[/C][C]0.0545605354505878[/C][/ROW]
[ROW][C]25[/C][C]0.86[/C][C]0.78594806589571[/C][C]0.0740519341042901[/C][/ROW]
[ROW][C]26[/C][C]0.85[/C][C]0.776456667242008[/C][C]0.0735433327579924[/C][/ROW]
[ROW][C]27[/C][C]0.83[/C][C]0.766965268588305[/C][C]0.0630347314116947[/C][/ROW]
[ROW][C]28[/C][C]0.81[/C][C]0.757473869934603[/C][C]0.0525261300653971[/C][/ROW]
[ROW][C]29[/C][C]0.82[/C][C]0.7479824712809[/C][C]0.0720175287190993[/C][/ROW]
[ROW][C]30[/C][C]0.82[/C][C]0.738491072627198[/C][C]0.0815089273728017[/C][/ROW]
[ROW][C]31[/C][C]0.78[/C][C]0.728999673973496[/C][C]0.051000326026504[/C][/ROW]
[ROW][C]32[/C][C]0.78[/C][C]0.719508275319794[/C][C]0.0604917246802064[/C][/ROW]
[ROW][C]33[/C][C]0.73[/C][C]0.710016876666091[/C][C]0.0199831233339086[/C][/ROW]
[ROW][C]34[/C][C]0.68[/C][C]0.700525478012389[/C][C]-0.0205254780123890[/C][/ROW]
[ROW][C]35[/C][C]0.65[/C][C]0.691034079358687[/C][C]-0.0410340793586867[/C][/ROW]
[ROW][C]36[/C][C]0.62[/C][C]0.681542680704984[/C][C]-0.0615426807049844[/C][/ROW]
[ROW][C]37[/C][C]0.6[/C][C]0.672051282051282[/C][C]-0.072051282051282[/C][/ROW]
[ROW][C]38[/C][C]0.6[/C][C]0.66255988339758[/C][C]-0.0625598833975798[/C][/ROW]
[ROW][C]39[/C][C]0.59[/C][C]0.653068484743877[/C][C]-0.0630684847438775[/C][/ROW]
[ROW][C]40[/C][C]0.6[/C][C]0.643577086090175[/C][C]-0.0435770860901751[/C][/ROW]
[ROW][C]41[/C][C]0.6[/C][C]0.634085687436473[/C][C]-0.0340856874364728[/C][/ROW]
[ROW][C]42[/C][C]0.6[/C][C]0.62459428878277[/C][C]-0.0245942887827705[/C][/ROW]
[ROW][C]43[/C][C]0.59[/C][C]0.615102890129068[/C][C]-0.0251028901290682[/C][/ROW]
[ROW][C]44[/C][C]0.58[/C][C]0.605611491475366[/C][C]-0.0256114914753659[/C][/ROW]
[ROW][C]45[/C][C]0.56[/C][C]0.596120092821663[/C][C]-0.0361200928216635[/C][/ROW]
[ROW][C]46[/C][C]0.55[/C][C]0.586628694167961[/C][C]-0.0366286941679611[/C][/ROW]
[ROW][C]47[/C][C]0.54[/C][C]0.577137295514259[/C][C]-0.0371372955142588[/C][/ROW]
[ROW][C]48[/C][C]0.55[/C][C]0.567645896860557[/C][C]-0.0176458968605565[/C][/ROW]
[ROW][C]49[/C][C]0.55[/C][C]0.558154498206854[/C][C]-0.0081544982068542[/C][/ROW]
[ROW][C]50[/C][C]0.54[/C][C]0.548663099553152[/C][C]-0.00866309955315188[/C][/ROW]
[ROW][C]51[/C][C]0.54[/C][C]0.53917170089945[/C][C]0.000828299100550444[/C][/ROW]
[ROW][C]52[/C][C]0.54[/C][C]0.529680302245747[/C][C]0.0103196977542528[/C][/ROW]
[ROW][C]53[/C][C]0.53[/C][C]0.520188903592045[/C][C]0.00981109640795506[/C][/ROW]
[ROW][C]54[/C][C]0.53[/C][C]0.510697504938343[/C][C]0.0193024950616574[/C][/ROW]
[ROW][C]55[/C][C]0.53[/C][C]0.50120610628464[/C][C]0.0287938937153597[/C][/ROW]
[ROW][C]56[/C][C]0.53[/C][C]0.491714707630938[/C][C]0.038285292369062[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110869&T=4

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.810.865931189229618-0.0559311892296181
20.810.856439790575916-0.0464397905759161
30.810.846948391922214-0.0369483919222141
40.790.837456993268512-0.0474569932685116
50.780.82796559461481-0.0479655946148093
60.780.818474195961107-0.038474195961107
70.770.808982797307405-0.0389827973074047
80.780.799491398653702-0.0194913986537024
90.770.79-0.0200000000000001
100.780.780508601346298-0.000508601346297723
110.790.7710172026925950.0189827973074046
120.790.7615258040388930.0284741959611069
130.790.7520344053851910.0379655946148093
140.790.7425430067314880.0474569932685116
150.790.7330516080777860.0569483919222139
160.80.7235602094240840.0764397905759162
170.80.7140688107703820.0859311892296185
180.80.852387856471626-0.0523878564716261
190.80.842896457817924-0.0428964578179237
200.810.833405059164221-0.0234050591642214
210.80.823913660510519-0.0239136605105191
220.820.8144222618568170.0055777381431831
230.850.8049308632031140.0450691367968855
240.850.7954394645494120.0545605354505878
250.860.785948065895710.0740519341042901
260.850.7764566672420080.0735433327579924
270.830.7669652685883050.0630347314116947
280.810.7574738699346030.0525261300653971
290.820.74798247128090.0720175287190993
300.820.7384910726271980.0815089273728017
310.780.7289996739734960.051000326026504
320.780.7195082753197940.0604917246802064
330.730.7100168766660910.0199831233339086
340.680.700525478012389-0.0205254780123890
350.650.691034079358687-0.0410340793586867
360.620.681542680704984-0.0615426807049844
370.60.672051282051282-0.072051282051282
380.60.66255988339758-0.0625598833975798
390.590.653068484743877-0.0630684847438775
400.60.643577086090175-0.0435770860901751
410.60.634085687436473-0.0340856874364728
420.60.62459428878277-0.0245942887827705
430.590.615102890129068-0.0251028901290682
440.580.605611491475366-0.0256114914753659
450.560.596120092821663-0.0361200928216635
460.550.586628694167961-0.0366286941679611
470.540.577137295514259-0.0371372955142588
480.550.567645896860557-0.0176458968605565
490.550.558154498206854-0.0081544982068542
500.540.548663099553152-0.00866309955315188
510.540.539171700899450.000828299100550444
520.540.5296803022457470.0103196977542528
530.530.5201889035920450.00981109640795506
540.530.5106975049383430.0193024950616574
550.530.501206106284640.0287938937153597
560.530.4917147076309380.038285292369062







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.006394677796820490.01278935559364100.99360532220318
70.00095060198756540.00190120397513080.999049398012435
80.0007163297533144220.001432659506628840.999283670246686
90.0001610574553586020.0003221149107172040.999838942544641
100.0001644618403160530.0003289236806321060.999835538159684
110.0003371017886093430.0006742035772186850.99966289821139
120.0002647953228130.0005295906456260.999735204677187
130.0001456156220982330.0002912312441964660.999854384377902
146.5496825549555e-050.000130993651099110.99993450317445
152.57018899336713e-055.14037798673426e-050.999974298110066
161.70810375859961e-053.41620751719922e-050.999982918962414
178.26073273770503e-061.65214654754101e-050.999991739267262
183.55081820988040e-067.10163641976079e-060.99999644918179
191.53283265674441e-063.06566531348883e-060.999998467167343
207.05074307438655e-071.41014861487731e-060.999999294925693
212.92479389780655e-075.84958779561311e-070.99999970752061
222.01250553888857e-074.02501107777714e-070.999999798749446
232.7149047043545e-065.429809408709e-060.999997285095296
246.40092640895212e-061.28018528179042e-050.999993599073591
252.10491279024306e-054.20982558048612e-050.999978950872098
262.30515458713542e-054.61030917427083e-050.999976948454129
271.44182358789223e-052.88364717578446e-050.999985581764121
281.40755785414124e-052.81511570828249e-050.999985924421459
292.26118918771623e-054.52237837543247e-050.999977388108123
300.0001451361345540700.0002902722691081400.999854863865446
310.00347755352327710.00695510704655420.996522446476723
320.1952214126087710.3904428252175410.80477858739123
330.9739815160083730.0520369679832530.0260184839916265
340.9999734781533095.3043693382687e-052.65218466913435e-05
350.9999998676341022.64731796093493e-071.32365898046747e-07
360.9999999693108686.13782633581155e-083.06891316790578e-08
370.9999999795957874.08084261136822e-082.04042130568411e-08
380.9999999618650547.62698913935566e-083.81349456967783e-08
390.9999999292164081.41567183292240e-077.07835916461202e-08
400.9999997472639585.05472083963048e-072.52736041981524e-07
410.9999993488205441.30235891137182e-066.51179455685912e-07
420.9999995129193139.74161373466197e-074.87080686733099e-07
430.9999997919098094.16180382807849e-072.08090191403924e-07
440.9999999860527432.78945140028506e-081.39472570014253e-08
450.9999999410000391.17999922820675e-075.89999614103373e-08
460.9999993388562251.32228754943821e-066.61143774719103e-07
470.9999993893309821.2213380358605e-066.1066901793025e-07
480.9999912742522731.74514954538561e-058.72574772692803e-06
490.9999581902769378.3619446125992e-054.1809723062996e-05
500.9993544927613030.001291014477394860.000645507238697432

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.00639467779682049 & 0.0127893555936410 & 0.99360532220318 \tabularnewline
7 & 0.0009506019875654 & 0.0019012039751308 & 0.999049398012435 \tabularnewline
8 & 0.000716329753314422 & 0.00143265950662884 & 0.999283670246686 \tabularnewline
9 & 0.000161057455358602 & 0.000322114910717204 & 0.999838942544641 \tabularnewline
10 & 0.000164461840316053 & 0.000328923680632106 & 0.999835538159684 \tabularnewline
11 & 0.000337101788609343 & 0.000674203577218685 & 0.99966289821139 \tabularnewline
12 & 0.000264795322813 & 0.000529590645626 & 0.999735204677187 \tabularnewline
13 & 0.000145615622098233 & 0.000291231244196466 & 0.999854384377902 \tabularnewline
14 & 6.5496825549555e-05 & 0.00013099365109911 & 0.99993450317445 \tabularnewline
15 & 2.57018899336713e-05 & 5.14037798673426e-05 & 0.999974298110066 \tabularnewline
16 & 1.70810375859961e-05 & 3.41620751719922e-05 & 0.999982918962414 \tabularnewline
17 & 8.26073273770503e-06 & 1.65214654754101e-05 & 0.999991739267262 \tabularnewline
18 & 3.55081820988040e-06 & 7.10163641976079e-06 & 0.99999644918179 \tabularnewline
19 & 1.53283265674441e-06 & 3.06566531348883e-06 & 0.999998467167343 \tabularnewline
20 & 7.05074307438655e-07 & 1.41014861487731e-06 & 0.999999294925693 \tabularnewline
21 & 2.92479389780655e-07 & 5.84958779561311e-07 & 0.99999970752061 \tabularnewline
22 & 2.01250553888857e-07 & 4.02501107777714e-07 & 0.999999798749446 \tabularnewline
23 & 2.7149047043545e-06 & 5.429809408709e-06 & 0.999997285095296 \tabularnewline
24 & 6.40092640895212e-06 & 1.28018528179042e-05 & 0.999993599073591 \tabularnewline
25 & 2.10491279024306e-05 & 4.20982558048612e-05 & 0.999978950872098 \tabularnewline
26 & 2.30515458713542e-05 & 4.61030917427083e-05 & 0.999976948454129 \tabularnewline
27 & 1.44182358789223e-05 & 2.88364717578446e-05 & 0.999985581764121 \tabularnewline
28 & 1.40755785414124e-05 & 2.81511570828249e-05 & 0.999985924421459 \tabularnewline
29 & 2.26118918771623e-05 & 4.52237837543247e-05 & 0.999977388108123 \tabularnewline
30 & 0.000145136134554070 & 0.000290272269108140 & 0.999854863865446 \tabularnewline
31 & 0.0034775535232771 & 0.0069551070465542 & 0.996522446476723 \tabularnewline
32 & 0.195221412608771 & 0.390442825217541 & 0.80477858739123 \tabularnewline
33 & 0.973981516008373 & 0.052036967983253 & 0.0260184839916265 \tabularnewline
34 & 0.999973478153309 & 5.3043693382687e-05 & 2.65218466913435e-05 \tabularnewline
35 & 0.999999867634102 & 2.64731796093493e-07 & 1.32365898046747e-07 \tabularnewline
36 & 0.999999969310868 & 6.13782633581155e-08 & 3.06891316790578e-08 \tabularnewline
37 & 0.999999979595787 & 4.08084261136822e-08 & 2.04042130568411e-08 \tabularnewline
38 & 0.999999961865054 & 7.62698913935566e-08 & 3.81349456967783e-08 \tabularnewline
39 & 0.999999929216408 & 1.41567183292240e-07 & 7.07835916461202e-08 \tabularnewline
40 & 0.999999747263958 & 5.05472083963048e-07 & 2.52736041981524e-07 \tabularnewline
41 & 0.999999348820544 & 1.30235891137182e-06 & 6.51179455685912e-07 \tabularnewline
42 & 0.999999512919313 & 9.74161373466197e-07 & 4.87080686733099e-07 \tabularnewline
43 & 0.999999791909809 & 4.16180382807849e-07 & 2.08090191403924e-07 \tabularnewline
44 & 0.999999986052743 & 2.78945140028506e-08 & 1.39472570014253e-08 \tabularnewline
45 & 0.999999941000039 & 1.17999922820675e-07 & 5.89999614103373e-08 \tabularnewline
46 & 0.999999338856225 & 1.32228754943821e-06 & 6.61143774719103e-07 \tabularnewline
47 & 0.999999389330982 & 1.2213380358605e-06 & 6.1066901793025e-07 \tabularnewline
48 & 0.999991274252273 & 1.74514954538561e-05 & 8.72574772692803e-06 \tabularnewline
49 & 0.999958190276937 & 8.3619446125992e-05 & 4.1809723062996e-05 \tabularnewline
50 & 0.999354492761303 & 0.00129101447739486 & 0.000645507238697432 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110869&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]6[/C][C]0.00639467779682049[/C][C]0.0127893555936410[/C][C]0.99360532220318[/C][/ROW]
[ROW][C]7[/C][C]0.0009506019875654[/C][C]0.0019012039751308[/C][C]0.999049398012435[/C][/ROW]
[ROW][C]8[/C][C]0.000716329753314422[/C][C]0.00143265950662884[/C][C]0.999283670246686[/C][/ROW]
[ROW][C]9[/C][C]0.000161057455358602[/C][C]0.000322114910717204[/C][C]0.999838942544641[/C][/ROW]
[ROW][C]10[/C][C]0.000164461840316053[/C][C]0.000328923680632106[/C][C]0.999835538159684[/C][/ROW]
[ROW][C]11[/C][C]0.000337101788609343[/C][C]0.000674203577218685[/C][C]0.99966289821139[/C][/ROW]
[ROW][C]12[/C][C]0.000264795322813[/C][C]0.000529590645626[/C][C]0.999735204677187[/C][/ROW]
[ROW][C]13[/C][C]0.000145615622098233[/C][C]0.000291231244196466[/C][C]0.999854384377902[/C][/ROW]
[ROW][C]14[/C][C]6.5496825549555e-05[/C][C]0.00013099365109911[/C][C]0.99993450317445[/C][/ROW]
[ROW][C]15[/C][C]2.57018899336713e-05[/C][C]5.14037798673426e-05[/C][C]0.999974298110066[/C][/ROW]
[ROW][C]16[/C][C]1.70810375859961e-05[/C][C]3.41620751719922e-05[/C][C]0.999982918962414[/C][/ROW]
[ROW][C]17[/C][C]8.26073273770503e-06[/C][C]1.65214654754101e-05[/C][C]0.999991739267262[/C][/ROW]
[ROW][C]18[/C][C]3.55081820988040e-06[/C][C]7.10163641976079e-06[/C][C]0.99999644918179[/C][/ROW]
[ROW][C]19[/C][C]1.53283265674441e-06[/C][C]3.06566531348883e-06[/C][C]0.999998467167343[/C][/ROW]
[ROW][C]20[/C][C]7.05074307438655e-07[/C][C]1.41014861487731e-06[/C][C]0.999999294925693[/C][/ROW]
[ROW][C]21[/C][C]2.92479389780655e-07[/C][C]5.84958779561311e-07[/C][C]0.99999970752061[/C][/ROW]
[ROW][C]22[/C][C]2.01250553888857e-07[/C][C]4.02501107777714e-07[/C][C]0.999999798749446[/C][/ROW]
[ROW][C]23[/C][C]2.7149047043545e-06[/C][C]5.429809408709e-06[/C][C]0.999997285095296[/C][/ROW]
[ROW][C]24[/C][C]6.40092640895212e-06[/C][C]1.28018528179042e-05[/C][C]0.999993599073591[/C][/ROW]
[ROW][C]25[/C][C]2.10491279024306e-05[/C][C]4.20982558048612e-05[/C][C]0.999978950872098[/C][/ROW]
[ROW][C]26[/C][C]2.30515458713542e-05[/C][C]4.61030917427083e-05[/C][C]0.999976948454129[/C][/ROW]
[ROW][C]27[/C][C]1.44182358789223e-05[/C][C]2.88364717578446e-05[/C][C]0.999985581764121[/C][/ROW]
[ROW][C]28[/C][C]1.40755785414124e-05[/C][C]2.81511570828249e-05[/C][C]0.999985924421459[/C][/ROW]
[ROW][C]29[/C][C]2.26118918771623e-05[/C][C]4.52237837543247e-05[/C][C]0.999977388108123[/C][/ROW]
[ROW][C]30[/C][C]0.000145136134554070[/C][C]0.000290272269108140[/C][C]0.999854863865446[/C][/ROW]
[ROW][C]31[/C][C]0.0034775535232771[/C][C]0.0069551070465542[/C][C]0.996522446476723[/C][/ROW]
[ROW][C]32[/C][C]0.195221412608771[/C][C]0.390442825217541[/C][C]0.80477858739123[/C][/ROW]
[ROW][C]33[/C][C]0.973981516008373[/C][C]0.052036967983253[/C][C]0.0260184839916265[/C][/ROW]
[ROW][C]34[/C][C]0.999973478153309[/C][C]5.3043693382687e-05[/C][C]2.65218466913435e-05[/C][/ROW]
[ROW][C]35[/C][C]0.999999867634102[/C][C]2.64731796093493e-07[/C][C]1.32365898046747e-07[/C][/ROW]
[ROW][C]36[/C][C]0.999999969310868[/C][C]6.13782633581155e-08[/C][C]3.06891316790578e-08[/C][/ROW]
[ROW][C]37[/C][C]0.999999979595787[/C][C]4.08084261136822e-08[/C][C]2.04042130568411e-08[/C][/ROW]
[ROW][C]38[/C][C]0.999999961865054[/C][C]7.62698913935566e-08[/C][C]3.81349456967783e-08[/C][/ROW]
[ROW][C]39[/C][C]0.999999929216408[/C][C]1.41567183292240e-07[/C][C]7.07835916461202e-08[/C][/ROW]
[ROW][C]40[/C][C]0.999999747263958[/C][C]5.05472083963048e-07[/C][C]2.52736041981524e-07[/C][/ROW]
[ROW][C]41[/C][C]0.999999348820544[/C][C]1.30235891137182e-06[/C][C]6.51179455685912e-07[/C][/ROW]
[ROW][C]42[/C][C]0.999999512919313[/C][C]9.74161373466197e-07[/C][C]4.87080686733099e-07[/C][/ROW]
[ROW][C]43[/C][C]0.999999791909809[/C][C]4.16180382807849e-07[/C][C]2.08090191403924e-07[/C][/ROW]
[ROW][C]44[/C][C]0.999999986052743[/C][C]2.78945140028506e-08[/C][C]1.39472570014253e-08[/C][/ROW]
[ROW][C]45[/C][C]0.999999941000039[/C][C]1.17999922820675e-07[/C][C]5.89999614103373e-08[/C][/ROW]
[ROW][C]46[/C][C]0.999999338856225[/C][C]1.32228754943821e-06[/C][C]6.61143774719103e-07[/C][/ROW]
[ROW][C]47[/C][C]0.999999389330982[/C][C]1.2213380358605e-06[/C][C]6.1066901793025e-07[/C][/ROW]
[ROW][C]48[/C][C]0.999991274252273[/C][C]1.74514954538561e-05[/C][C]8.72574772692803e-06[/C][/ROW]
[ROW][C]49[/C][C]0.999958190276937[/C][C]8.3619446125992e-05[/C][C]4.1809723062996e-05[/C][/ROW]
[ROW][C]50[/C][C]0.999354492761303[/C][C]0.00129101447739486[/C][C]0.000645507238697432[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110869&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110869&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
60.006394677796820490.01278935559364100.99360532220318
70.00095060198756540.00190120397513080.999049398012435
80.0007163297533144220.001432659506628840.999283670246686
90.0001610574553586020.0003221149107172040.999838942544641
100.0001644618403160530.0003289236806321060.999835538159684
110.0003371017886093430.0006742035772186850.99966289821139
120.0002647953228130.0005295906456260.999735204677187
130.0001456156220982330.0002912312441964660.999854384377902
146.5496825549555e-050.000130993651099110.99993450317445
152.57018899336713e-055.14037798673426e-050.999974298110066
161.70810375859961e-053.41620751719922e-050.999982918962414
178.26073273770503e-061.65214654754101e-050.999991739267262
183.55081820988040e-067.10163641976079e-060.99999644918179
191.53283265674441e-063.06566531348883e-060.999998467167343
207.05074307438655e-071.41014861487731e-060.999999294925693
212.92479389780655e-075.84958779561311e-070.99999970752061
222.01250553888857e-074.02501107777714e-070.999999798749446
232.7149047043545e-065.429809408709e-060.999997285095296
246.40092640895212e-061.28018528179042e-050.999993599073591
252.10491279024306e-054.20982558048612e-050.999978950872098
262.30515458713542e-054.61030917427083e-050.999976948454129
271.44182358789223e-052.88364717578446e-050.999985581764121
281.40755785414124e-052.81511570828249e-050.999985924421459
292.26118918771623e-054.52237837543247e-050.999977388108123
300.0001451361345540700.0002902722691081400.999854863865446
310.00347755352327710.00695510704655420.996522446476723
320.1952214126087710.3904428252175410.80477858739123
330.9739815160083730.0520369679832530.0260184839916265
340.9999734781533095.3043693382687e-052.65218466913435e-05
350.9999998676341022.64731796093493e-071.32365898046747e-07
360.9999999693108686.13782633581155e-083.06891316790578e-08
370.9999999795957874.08084261136822e-082.04042130568411e-08
380.9999999618650547.62698913935566e-083.81349456967783e-08
390.9999999292164081.41567183292240e-077.07835916461202e-08
400.9999997472639585.05472083963048e-072.52736041981524e-07
410.9999993488205441.30235891137182e-066.51179455685912e-07
420.9999995129193139.74161373466197e-074.87080686733099e-07
430.9999997919098094.16180382807849e-072.08090191403924e-07
440.9999999860527432.78945140028506e-081.39472570014253e-08
450.9999999410000391.17999922820675e-075.89999614103373e-08
460.9999993388562251.32228754943821e-066.61143774719103e-07
470.9999993893309821.2213380358605e-066.1066901793025e-07
480.9999912742522731.74514954538561e-058.72574772692803e-06
490.9999581902769378.3619446125992e-054.1809723062996e-05
500.9993544927613030.001291014477394860.000645507238697432







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level420.933333333333333NOK
5% type I error level430.955555555555556NOK
10% type I error level440.977777777777778NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110869&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 level420.933333333333333NOK
5% type I error level430.955555555555556NOK
10% type I error level440.977777777777778NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}