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, 17 Dec 2009 13:08:53 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/17/t12610806868wnf32gpz4u5x22.htm/, Retrieved Tue, 30 Apr 2024 01:42:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69085, Retrieved Tue, 30 Apr 2024 01:42:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [] [2009-11-18 16:22:43] [90f6d58d515a4caed6fb4b8be4e11eaa]
-    D      [Multiple Regression] [Multiple Regressi...] [2009-12-17 13:47:34] [90f6d58d515a4caed6fb4b8be4e11eaa]
-   PD        [Multiple Regression] [Multiple Regressi...] [2009-12-17 14:35:30] [90f6d58d515a4caed6fb4b8be4e11eaa]
-   P             [Multiple Regression] [Multipe Regressio...] [2009-12-17 20:08:53] [2b548c9d2e9bba6e1eaf65bd4d551f41] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.2	103.9	8.7	9.3	9.3
8.3	101.6	8.2	8.7	9.3
8.5	94.6	8.3	8.2	8.7
8.6	95.9	8.5	8.3	8.2
8.5	104.7	8.6	8.5	8.3
8.2	102.8	8.5	8.6	8.5
8.1	98.1	8.2	8.5	8.6
7.9	113.9	8.1	8.2	8.5
8.6	80.9	7.9	8.1	8.2
8.7	95.7	8.6	7.9	8.1
8.7	113.2	8.7	8.6	7.9
8.5	105.9	8.7	8.7	8.6
8.4	108.8	8.5	8.7	8.7
8.5	102.3	8.4	8.5	8.7
8.7	99	8.5	8.4	8.5
8.7	100.7	8.7	8.5	8.4
8.6	115.5	8.7	8.7	8.5
8.5	100.7	8.6	8.7	8.7
8.3	109.9	8.5	8.6	8.7
8	114.6	8.3	8.5	8.6
8.2	85.4	8	8.3	8.5
8.1	100.5	8.2	8	8.3
8.1	114.8	8.1	8.2	8
8	116.5	8.1	8.1	8.2
7.9	112.9	8	8.1	8.1
7.9	102	7.9	8	8.1
8	106	7.9	7.9	8
8	105.3	8	7.9	7.9
7.9	118.8	8	8	7.9
8	106.1	7.9	8	8
7.7	109.3	8	7.9	8
7.2	117.2	7.7	8	7.9
7.5	92.5	7.2	7.7	8
7.3	104.2	7.5	7.2	7.7
7	112.5	7.3	7.5	7.2
7	122.4	7	7.3	7.5
7	113.3	7	7	7.3
7.2	100	7	7	7
7.3	110.7	7.2	7	7
7.1	112.8	7.3	7.2	7
6.8	109.8	7.1	7.3	7.2
6.4	117.3	6.8	7.1	7.3
6.1	109.1	6.4	6.8	7.1
6.5	115.9	6.1	6.4	6.8
7.7	96	6.5	6.1	6.4
7.9	99.8	7.7	6.5	6.1
7.5	116.8	7.9	7.7	6.5
6.9	115.7	7.5	7.9	7.7
6.6	99.4	6.9	7.5	7.9
6.9	94.3	6.6	6.9	7.5
7.7	91	6.9	6.6	6.9
8	93.2	7.7	6.9	6.6
8	103.1	8	7.7	6.9
7.7	94.1	8	8	7.7
7.3	91.8	7.7	8	8
7.4	102.7	7.3	7.7	8
8.1	82.6	7.4	7.3	7.7




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

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 4.56263427303848 -0.0175379205114101X[t] + 1.11287158351717Y1[t] -0.505979172235887Y2[t] + 0.0744444233726834Y3[t] -0.0082845241626587t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  4.56263427303848 -0.0175379205114101X[t] +  1.11287158351717Y1[t] -0.505979172235887Y2[t] +  0.0744444233726834Y3[t] -0.0082845241626587t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69085&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  4.56263427303848 -0.0175379205114101X[t] +  1.11287158351717Y1[t] -0.505979172235887Y2[t] +  0.0744444233726834Y3[t] -0.0082845241626587t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69085&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69085&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
Y[t] = + 4.56263427303848 -0.0175379205114101X[t] + 1.11287158351717Y1[t] -0.505979172235887Y2[t] + 0.0744444233726834Y3[t] -0.0082845241626587t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4.562634273038480.9326374.89221e-055e-06
X-0.01753792051141010.003539-4.95628e-064e-06
Y11.112871583517170.1250198.901600
Y2-0.5059791722358870.182097-2.77860.0076230.003811
Y30.07444442337268340.1278740.58220.5630170.281508
t-0.00828452416265870.003277-2.52770.0146210.007311

\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) & 4.56263427303848 & 0.932637 & 4.8922 & 1e-05 & 5e-06 \tabularnewline
X & -0.0175379205114101 & 0.003539 & -4.9562 & 8e-06 & 4e-06 \tabularnewline
Y1 & 1.11287158351717 & 0.125019 & 8.9016 & 0 & 0 \tabularnewline
Y2 & -0.505979172235887 & 0.182097 & -2.7786 & 0.007623 & 0.003811 \tabularnewline
Y3 & 0.0744444233726834 & 0.127874 & 0.5822 & 0.563017 & 0.281508 \tabularnewline
t & -0.0082845241626587 & 0.003277 & -2.5277 & 0.014621 & 0.007311 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69085&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]4.56263427303848[/C][C]0.932637[/C][C]4.8922[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]X[/C][C]-0.0175379205114101[/C][C]0.003539[/C][C]-4.9562[/C][C]8e-06[/C][C]4e-06[/C][/ROW]
[ROW][C]Y1[/C][C]1.11287158351717[/C][C]0.125019[/C][C]8.9016[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]-0.505979172235887[/C][C]0.182097[/C][C]-2.7786[/C][C]0.007623[/C][C]0.003811[/C][/ROW]
[ROW][C]Y3[/C][C]0.0744444233726834[/C][C]0.127874[/C][C]0.5822[/C][C]0.563017[/C][C]0.281508[/C][/ROW]
[ROW][C]t[/C][C]-0.0082845241626587[/C][C]0.003277[/C][C]-2.5277[/C][C]0.014621[/C][C]0.007311[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69085&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69085&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)4.562634273038480.9326374.89221e-055e-06
X-0.01753792051141010.003539-4.95628e-064e-06
Y11.112871583517170.1250198.901600
Y2-0.5059791722358870.182097-2.77860.0076230.003811
Y30.07444442337268340.1278740.58220.5630170.281508
t-0.00828452416265870.003277-2.52770.0146210.007311







Multiple Linear Regression - Regression Statistics
Multiple R0.946941707853524
R-squared0.89669859807255
Adjusted R-squared0.88657100964829
F-TEST (value)88.5401894812963
F-TEST (DF numerator)5
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.222763915082659
Sum Squared Residuals2.53081185501066

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.946941707853524 \tabularnewline
R-squared & 0.89669859807255 \tabularnewline
Adjusted R-squared & 0.88657100964829 \tabularnewline
F-TEST (value) & 88.5401894812963 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.222763915082659 \tabularnewline
Sum Squared Residuals & 2.53081185501066 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69085&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.946941707853524[/C][/ROW]
[ROW][C]R-squared[/C][C]0.89669859807255[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.88657100964829[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]88.5401894812963[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/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.222763915082659[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2.53081185501066[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69085&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69085&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.946941707853524
R-squared0.89669859807255
Adjusted R-squared0.88657100964829
F-TEST (value)88.5401894812963
F-TEST (DF numerator)5
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.222763915082659
Sum Squared Residuals2.53081185501066







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.28.40086941991187-0.200869419911869
28.38.18007382450840.119926175491602
38.58.61416483437166-0.114164834371665
48.68.71783520133767-0.117835201337670
58.58.5727527429164-0.0727527429164101
68.28.45079407682466-0.250794076824663
78.18.24911866357134-0.149118663571338
87.97.99679714631018-0.09679714631018
98.68.37295427253240.227045727467594
108.78.9778700253728-0.277870025372803
118.78.404884745372530.295115254627473
128.58.52614022008045-0.0261402200804513
138.48.251865852068540.148134147931461
148.58.34748648732550.152513512674493
158.78.544073291751270.155926708248730
168.78.670506259861790.0294937401382100
178.68.308909120020350.291090879979647
188.58.463787545749380.0362124542506163
198.38.233464911753620.0665350882463766
2087.963331319370230.0366686806297745
218.28.2270439911955-0.0270439911955003
228.18.31341605101021-0.213416051010211
238.17.819522943723690.280477056276311
2487.846910756589760.153089243410242
257.97.783031145579190.116968854420809
267.97.90522071386278-0.00522071386277465
2787.86993798254080.130062017459204
2887.977772718750570.0222272812494275
297.97.682128350460290.217871649539712
3087.792732700778090.207267299221910
317.77.89021190655422-0.190211906554224
327.27.35147397573542-0.151473975735419
337.57.379178490454040.120821509545960
347.37.73021803046917-0.430218030469172
3577.16477848600127-0.164778486001268
3676.772536235179480.227463764820518
3777.06075165466688-0.060751654666884
387.27.26338814629417-0.0633881462941747
397.37.290022189362860.00997781063713825
407.17.25499935603078-0.154999356030781
416.87.04104524414987-0.241045244149867
426.46.67600511788093-0.276005117880928
436.16.5032877755012-0.403287775501195
446.56.221942258688350.278057741311654
457.77.129826968431310.570173031568691
467.98.16561925063973-0.265619250639732
477.57.50436715715255-0.00436715715254513
486.97.05836318574561-0.158363185745613
496.66.88550436937753-0.285504369377531
506.96.90661149876037-0.00661149876037031
517.77.397190684987670.302809315012327
5288.06649292383107-0.0664929238310741
5387.83599445088370.164005549116299
547.77.89331299835111-0.193312998351114
557.37.61383754332135-0.313837543321354
567.47.121034803848220.278965196151777
578.17.756607982199180.343392017800824

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.2 & 8.40086941991187 & -0.200869419911869 \tabularnewline
2 & 8.3 & 8.1800738245084 & 0.119926175491602 \tabularnewline
3 & 8.5 & 8.61416483437166 & -0.114164834371665 \tabularnewline
4 & 8.6 & 8.71783520133767 & -0.117835201337670 \tabularnewline
5 & 8.5 & 8.5727527429164 & -0.0727527429164101 \tabularnewline
6 & 8.2 & 8.45079407682466 & -0.250794076824663 \tabularnewline
7 & 8.1 & 8.24911866357134 & -0.149118663571338 \tabularnewline
8 & 7.9 & 7.99679714631018 & -0.09679714631018 \tabularnewline
9 & 8.6 & 8.3729542725324 & 0.227045727467594 \tabularnewline
10 & 8.7 & 8.9778700253728 & -0.277870025372803 \tabularnewline
11 & 8.7 & 8.40488474537253 & 0.295115254627473 \tabularnewline
12 & 8.5 & 8.52614022008045 & -0.0261402200804513 \tabularnewline
13 & 8.4 & 8.25186585206854 & 0.148134147931461 \tabularnewline
14 & 8.5 & 8.3474864873255 & 0.152513512674493 \tabularnewline
15 & 8.7 & 8.54407329175127 & 0.155926708248730 \tabularnewline
16 & 8.7 & 8.67050625986179 & 0.0294937401382100 \tabularnewline
17 & 8.6 & 8.30890912002035 & 0.291090879979647 \tabularnewline
18 & 8.5 & 8.46378754574938 & 0.0362124542506163 \tabularnewline
19 & 8.3 & 8.23346491175362 & 0.0665350882463766 \tabularnewline
20 & 8 & 7.96333131937023 & 0.0366686806297745 \tabularnewline
21 & 8.2 & 8.2270439911955 & -0.0270439911955003 \tabularnewline
22 & 8.1 & 8.31341605101021 & -0.213416051010211 \tabularnewline
23 & 8.1 & 7.81952294372369 & 0.280477056276311 \tabularnewline
24 & 8 & 7.84691075658976 & 0.153089243410242 \tabularnewline
25 & 7.9 & 7.78303114557919 & 0.116968854420809 \tabularnewline
26 & 7.9 & 7.90522071386278 & -0.00522071386277465 \tabularnewline
27 & 8 & 7.8699379825408 & 0.130062017459204 \tabularnewline
28 & 8 & 7.97777271875057 & 0.0222272812494275 \tabularnewline
29 & 7.9 & 7.68212835046029 & 0.217871649539712 \tabularnewline
30 & 8 & 7.79273270077809 & 0.207267299221910 \tabularnewline
31 & 7.7 & 7.89021190655422 & -0.190211906554224 \tabularnewline
32 & 7.2 & 7.35147397573542 & -0.151473975735419 \tabularnewline
33 & 7.5 & 7.37917849045404 & 0.120821509545960 \tabularnewline
34 & 7.3 & 7.73021803046917 & -0.430218030469172 \tabularnewline
35 & 7 & 7.16477848600127 & -0.164778486001268 \tabularnewline
36 & 7 & 6.77253623517948 & 0.227463764820518 \tabularnewline
37 & 7 & 7.06075165466688 & -0.060751654666884 \tabularnewline
38 & 7.2 & 7.26338814629417 & -0.0633881462941747 \tabularnewline
39 & 7.3 & 7.29002218936286 & 0.00997781063713825 \tabularnewline
40 & 7.1 & 7.25499935603078 & -0.154999356030781 \tabularnewline
41 & 6.8 & 7.04104524414987 & -0.241045244149867 \tabularnewline
42 & 6.4 & 6.67600511788093 & -0.276005117880928 \tabularnewline
43 & 6.1 & 6.5032877755012 & -0.403287775501195 \tabularnewline
44 & 6.5 & 6.22194225868835 & 0.278057741311654 \tabularnewline
45 & 7.7 & 7.12982696843131 & 0.570173031568691 \tabularnewline
46 & 7.9 & 8.16561925063973 & -0.265619250639732 \tabularnewline
47 & 7.5 & 7.50436715715255 & -0.00436715715254513 \tabularnewline
48 & 6.9 & 7.05836318574561 & -0.158363185745613 \tabularnewline
49 & 6.6 & 6.88550436937753 & -0.285504369377531 \tabularnewline
50 & 6.9 & 6.90661149876037 & -0.00661149876037031 \tabularnewline
51 & 7.7 & 7.39719068498767 & 0.302809315012327 \tabularnewline
52 & 8 & 8.06649292383107 & -0.0664929238310741 \tabularnewline
53 & 8 & 7.8359944508837 & 0.164005549116299 \tabularnewline
54 & 7.7 & 7.89331299835111 & -0.193312998351114 \tabularnewline
55 & 7.3 & 7.61383754332135 & -0.313837543321354 \tabularnewline
56 & 7.4 & 7.12103480384822 & 0.278965196151777 \tabularnewline
57 & 8.1 & 7.75660798219918 & 0.343392017800824 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69085&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]8.2[/C][C]8.40086941991187[/C][C]-0.200869419911869[/C][/ROW]
[ROW][C]2[/C][C]8.3[/C][C]8.1800738245084[/C][C]0.119926175491602[/C][/ROW]
[ROW][C]3[/C][C]8.5[/C][C]8.61416483437166[/C][C]-0.114164834371665[/C][/ROW]
[ROW][C]4[/C][C]8.6[/C][C]8.71783520133767[/C][C]-0.117835201337670[/C][/ROW]
[ROW][C]5[/C][C]8.5[/C][C]8.5727527429164[/C][C]-0.0727527429164101[/C][/ROW]
[ROW][C]6[/C][C]8.2[/C][C]8.45079407682466[/C][C]-0.250794076824663[/C][/ROW]
[ROW][C]7[/C][C]8.1[/C][C]8.24911866357134[/C][C]-0.149118663571338[/C][/ROW]
[ROW][C]8[/C][C]7.9[/C][C]7.99679714631018[/C][C]-0.09679714631018[/C][/ROW]
[ROW][C]9[/C][C]8.6[/C][C]8.3729542725324[/C][C]0.227045727467594[/C][/ROW]
[ROW][C]10[/C][C]8.7[/C][C]8.9778700253728[/C][C]-0.277870025372803[/C][/ROW]
[ROW][C]11[/C][C]8.7[/C][C]8.40488474537253[/C][C]0.295115254627473[/C][/ROW]
[ROW][C]12[/C][C]8.5[/C][C]8.52614022008045[/C][C]-0.0261402200804513[/C][/ROW]
[ROW][C]13[/C][C]8.4[/C][C]8.25186585206854[/C][C]0.148134147931461[/C][/ROW]
[ROW][C]14[/C][C]8.5[/C][C]8.3474864873255[/C][C]0.152513512674493[/C][/ROW]
[ROW][C]15[/C][C]8.7[/C][C]8.54407329175127[/C][C]0.155926708248730[/C][/ROW]
[ROW][C]16[/C][C]8.7[/C][C]8.67050625986179[/C][C]0.0294937401382100[/C][/ROW]
[ROW][C]17[/C][C]8.6[/C][C]8.30890912002035[/C][C]0.291090879979647[/C][/ROW]
[ROW][C]18[/C][C]8.5[/C][C]8.46378754574938[/C][C]0.0362124542506163[/C][/ROW]
[ROW][C]19[/C][C]8.3[/C][C]8.23346491175362[/C][C]0.0665350882463766[/C][/ROW]
[ROW][C]20[/C][C]8[/C][C]7.96333131937023[/C][C]0.0366686806297745[/C][/ROW]
[ROW][C]21[/C][C]8.2[/C][C]8.2270439911955[/C][C]-0.0270439911955003[/C][/ROW]
[ROW][C]22[/C][C]8.1[/C][C]8.31341605101021[/C][C]-0.213416051010211[/C][/ROW]
[ROW][C]23[/C][C]8.1[/C][C]7.81952294372369[/C][C]0.280477056276311[/C][/ROW]
[ROW][C]24[/C][C]8[/C][C]7.84691075658976[/C][C]0.153089243410242[/C][/ROW]
[ROW][C]25[/C][C]7.9[/C][C]7.78303114557919[/C][C]0.116968854420809[/C][/ROW]
[ROW][C]26[/C][C]7.9[/C][C]7.90522071386278[/C][C]-0.00522071386277465[/C][/ROW]
[ROW][C]27[/C][C]8[/C][C]7.8699379825408[/C][C]0.130062017459204[/C][/ROW]
[ROW][C]28[/C][C]8[/C][C]7.97777271875057[/C][C]0.0222272812494275[/C][/ROW]
[ROW][C]29[/C][C]7.9[/C][C]7.68212835046029[/C][C]0.217871649539712[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]7.79273270077809[/C][C]0.207267299221910[/C][/ROW]
[ROW][C]31[/C][C]7.7[/C][C]7.89021190655422[/C][C]-0.190211906554224[/C][/ROW]
[ROW][C]32[/C][C]7.2[/C][C]7.35147397573542[/C][C]-0.151473975735419[/C][/ROW]
[ROW][C]33[/C][C]7.5[/C][C]7.37917849045404[/C][C]0.120821509545960[/C][/ROW]
[ROW][C]34[/C][C]7.3[/C][C]7.73021803046917[/C][C]-0.430218030469172[/C][/ROW]
[ROW][C]35[/C][C]7[/C][C]7.16477848600127[/C][C]-0.164778486001268[/C][/ROW]
[ROW][C]36[/C][C]7[/C][C]6.77253623517948[/C][C]0.227463764820518[/C][/ROW]
[ROW][C]37[/C][C]7[/C][C]7.06075165466688[/C][C]-0.060751654666884[/C][/ROW]
[ROW][C]38[/C][C]7.2[/C][C]7.26338814629417[/C][C]-0.0633881462941747[/C][/ROW]
[ROW][C]39[/C][C]7.3[/C][C]7.29002218936286[/C][C]0.00997781063713825[/C][/ROW]
[ROW][C]40[/C][C]7.1[/C][C]7.25499935603078[/C][C]-0.154999356030781[/C][/ROW]
[ROW][C]41[/C][C]6.8[/C][C]7.04104524414987[/C][C]-0.241045244149867[/C][/ROW]
[ROW][C]42[/C][C]6.4[/C][C]6.67600511788093[/C][C]-0.276005117880928[/C][/ROW]
[ROW][C]43[/C][C]6.1[/C][C]6.5032877755012[/C][C]-0.403287775501195[/C][/ROW]
[ROW][C]44[/C][C]6.5[/C][C]6.22194225868835[/C][C]0.278057741311654[/C][/ROW]
[ROW][C]45[/C][C]7.7[/C][C]7.12982696843131[/C][C]0.570173031568691[/C][/ROW]
[ROW][C]46[/C][C]7.9[/C][C]8.16561925063973[/C][C]-0.265619250639732[/C][/ROW]
[ROW][C]47[/C][C]7.5[/C][C]7.50436715715255[/C][C]-0.00436715715254513[/C][/ROW]
[ROW][C]48[/C][C]6.9[/C][C]7.05836318574561[/C][C]-0.158363185745613[/C][/ROW]
[ROW][C]49[/C][C]6.6[/C][C]6.88550436937753[/C][C]-0.285504369377531[/C][/ROW]
[ROW][C]50[/C][C]6.9[/C][C]6.90661149876037[/C][C]-0.00661149876037031[/C][/ROW]
[ROW][C]51[/C][C]7.7[/C][C]7.39719068498767[/C][C]0.302809315012327[/C][/ROW]
[ROW][C]52[/C][C]8[/C][C]8.06649292383107[/C][C]-0.0664929238310741[/C][/ROW]
[ROW][C]53[/C][C]8[/C][C]7.8359944508837[/C][C]0.164005549116299[/C][/ROW]
[ROW][C]54[/C][C]7.7[/C][C]7.89331299835111[/C][C]-0.193312998351114[/C][/ROW]
[ROW][C]55[/C][C]7.3[/C][C]7.61383754332135[/C][C]-0.313837543321354[/C][/ROW]
[ROW][C]56[/C][C]7.4[/C][C]7.12103480384822[/C][C]0.278965196151777[/C][/ROW]
[ROW][C]57[/C][C]8.1[/C][C]7.75660798219918[/C][C]0.343392017800824[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69085&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69085&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
18.28.40086941991187-0.200869419911869
28.38.18007382450840.119926175491602
38.58.61416483437166-0.114164834371665
48.68.71783520133767-0.117835201337670
58.58.5727527429164-0.0727527429164101
68.28.45079407682466-0.250794076824663
78.18.24911866357134-0.149118663571338
87.97.99679714631018-0.09679714631018
98.68.37295427253240.227045727467594
108.78.9778700253728-0.277870025372803
118.78.404884745372530.295115254627473
128.58.52614022008045-0.0261402200804513
138.48.251865852068540.148134147931461
148.58.34748648732550.152513512674493
158.78.544073291751270.155926708248730
168.78.670506259861790.0294937401382100
178.68.308909120020350.291090879979647
188.58.463787545749380.0362124542506163
198.38.233464911753620.0665350882463766
2087.963331319370230.0366686806297745
218.28.2270439911955-0.0270439911955003
228.18.31341605101021-0.213416051010211
238.17.819522943723690.280477056276311
2487.846910756589760.153089243410242
257.97.783031145579190.116968854420809
267.97.90522071386278-0.00522071386277465
2787.86993798254080.130062017459204
2887.977772718750570.0222272812494275
297.97.682128350460290.217871649539712
3087.792732700778090.207267299221910
317.77.89021190655422-0.190211906554224
327.27.35147397573542-0.151473975735419
337.57.379178490454040.120821509545960
347.37.73021803046917-0.430218030469172
3577.16477848600127-0.164778486001268
3676.772536235179480.227463764820518
3777.06075165466688-0.060751654666884
387.27.26338814629417-0.0633881462941747
397.37.290022189362860.00997781063713825
407.17.25499935603078-0.154999356030781
416.87.04104524414987-0.241045244149867
426.46.67600511788093-0.276005117880928
436.16.5032877755012-0.403287775501195
446.56.221942258688350.278057741311654
457.77.129826968431310.570173031568691
467.98.16561925063973-0.265619250639732
477.57.50436715715255-0.00436715715254513
486.97.05836318574561-0.158363185745613
496.66.88550436937753-0.285504369377531
506.96.90661149876037-0.00661149876037031
517.77.397190684987670.302809315012327
5288.06649292383107-0.0664929238310741
5387.83599445088370.164005549116299
547.77.89331299835111-0.193312998351114
557.37.61383754332135-0.313837543321354
567.47.121034803848220.278965196151777
578.17.756607982199180.343392017800824







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.1360378303640780.2720756607281560.863962169635922
100.1277429224359290.2554858448718570.872257077564071
110.4697096346071010.9394192692142030.530290365392899
120.3426888887075160.6853777774150330.657311111292484
130.2484933821675680.4969867643351370.751506617832432
140.1688464678185220.3376929356370450.831153532181478
150.1103631163401420.2207262326802840.889636883659858
160.06739592838839640.1347918567767930.932604071611604
170.0532307231318570.1064614462637140.946769276868143
180.04185751461894530.08371502923789070.958142485381055
190.02953048377544230.05906096755088470.970469516224558
200.02774887774410110.05549775548820220.97225112225590
210.03035160230193950.0607032046038790.96964839769806
220.04129003351969670.08258006703939330.958709966480303
230.03094994426877080.06189988853754160.96905005573123
240.01977862489954220.03955724979908430.980221375100458
250.01324775084994990.02649550169989990.98675224915005
260.009485855143559370.01897171028711870.99051414485644
270.005672759391088070.01134551878217610.994327240608912
280.003481738569562860.006963477139125720.996518261430437
290.003462670950195480.006925341900390960.996537329049805
300.004095613102550390.008191226205100780.99590438689745
310.006695917691121310.01339183538224260.993304082308879
320.01453805595829810.02907611191659610.985461944041702
330.01914270872830430.03828541745660860.980857291271696
340.02677941087813650.05355882175627290.973220589121863
350.02789356723966220.05578713447932440.972106432760338
360.06356776114218910.1271355222843780.936432238857811
370.05074791475635070.1014958295127010.94925208524365
380.04343162439884460.08686324879768920.956568375601155
390.06564274058892320.1312854811778460.934357259411077
400.09939142544077140.1987828508815430.900608574559229
410.1918130121677370.3836260243354740.808186987832263
420.1840149816374500.3680299632748990.81598501836255
430.2951866821284740.5903733642569490.704813317871526
440.3928118912471570.7856237824943150.607188108752843
450.8493228805469090.3013542389061820.150677119453091
460.7585408135776270.4829183728447460.241459186422373
470.6306033676964820.7387932646070350.369396632303518
480.6556370352778660.6887259294442680.344362964722134

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.136037830364078 & 0.272075660728156 & 0.863962169635922 \tabularnewline
10 & 0.127742922435929 & 0.255485844871857 & 0.872257077564071 \tabularnewline
11 & 0.469709634607101 & 0.939419269214203 & 0.530290365392899 \tabularnewline
12 & 0.342688888707516 & 0.685377777415033 & 0.657311111292484 \tabularnewline
13 & 0.248493382167568 & 0.496986764335137 & 0.751506617832432 \tabularnewline
14 & 0.168846467818522 & 0.337692935637045 & 0.831153532181478 \tabularnewline
15 & 0.110363116340142 & 0.220726232680284 & 0.889636883659858 \tabularnewline
16 & 0.0673959283883964 & 0.134791856776793 & 0.932604071611604 \tabularnewline
17 & 0.053230723131857 & 0.106461446263714 & 0.946769276868143 \tabularnewline
18 & 0.0418575146189453 & 0.0837150292378907 & 0.958142485381055 \tabularnewline
19 & 0.0295304837754423 & 0.0590609675508847 & 0.970469516224558 \tabularnewline
20 & 0.0277488777441011 & 0.0554977554882022 & 0.97225112225590 \tabularnewline
21 & 0.0303516023019395 & 0.060703204603879 & 0.96964839769806 \tabularnewline
22 & 0.0412900335196967 & 0.0825800670393933 & 0.958709966480303 \tabularnewline
23 & 0.0309499442687708 & 0.0618998885375416 & 0.96905005573123 \tabularnewline
24 & 0.0197786248995422 & 0.0395572497990843 & 0.980221375100458 \tabularnewline
25 & 0.0132477508499499 & 0.0264955016998999 & 0.98675224915005 \tabularnewline
26 & 0.00948585514355937 & 0.0189717102871187 & 0.99051414485644 \tabularnewline
27 & 0.00567275939108807 & 0.0113455187821761 & 0.994327240608912 \tabularnewline
28 & 0.00348173856956286 & 0.00696347713912572 & 0.996518261430437 \tabularnewline
29 & 0.00346267095019548 & 0.00692534190039096 & 0.996537329049805 \tabularnewline
30 & 0.00409561310255039 & 0.00819122620510078 & 0.99590438689745 \tabularnewline
31 & 0.00669591769112131 & 0.0133918353822426 & 0.993304082308879 \tabularnewline
32 & 0.0145380559582981 & 0.0290761119165961 & 0.985461944041702 \tabularnewline
33 & 0.0191427087283043 & 0.0382854174566086 & 0.980857291271696 \tabularnewline
34 & 0.0267794108781365 & 0.0535588217562729 & 0.973220589121863 \tabularnewline
35 & 0.0278935672396622 & 0.0557871344793244 & 0.972106432760338 \tabularnewline
36 & 0.0635677611421891 & 0.127135522284378 & 0.936432238857811 \tabularnewline
37 & 0.0507479147563507 & 0.101495829512701 & 0.94925208524365 \tabularnewline
38 & 0.0434316243988446 & 0.0868632487976892 & 0.956568375601155 \tabularnewline
39 & 0.0656427405889232 & 0.131285481177846 & 0.934357259411077 \tabularnewline
40 & 0.0993914254407714 & 0.198782850881543 & 0.900608574559229 \tabularnewline
41 & 0.191813012167737 & 0.383626024335474 & 0.808186987832263 \tabularnewline
42 & 0.184014981637450 & 0.368029963274899 & 0.81598501836255 \tabularnewline
43 & 0.295186682128474 & 0.590373364256949 & 0.704813317871526 \tabularnewline
44 & 0.392811891247157 & 0.785623782494315 & 0.607188108752843 \tabularnewline
45 & 0.849322880546909 & 0.301354238906182 & 0.150677119453091 \tabularnewline
46 & 0.758540813577627 & 0.482918372844746 & 0.241459186422373 \tabularnewline
47 & 0.630603367696482 & 0.738793264607035 & 0.369396632303518 \tabularnewline
48 & 0.655637035277866 & 0.688725929444268 & 0.344362964722134 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69085&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.136037830364078[/C][C]0.272075660728156[/C][C]0.863962169635922[/C][/ROW]
[ROW][C]10[/C][C]0.127742922435929[/C][C]0.255485844871857[/C][C]0.872257077564071[/C][/ROW]
[ROW][C]11[/C][C]0.469709634607101[/C][C]0.939419269214203[/C][C]0.530290365392899[/C][/ROW]
[ROW][C]12[/C][C]0.342688888707516[/C][C]0.685377777415033[/C][C]0.657311111292484[/C][/ROW]
[ROW][C]13[/C][C]0.248493382167568[/C][C]0.496986764335137[/C][C]0.751506617832432[/C][/ROW]
[ROW][C]14[/C][C]0.168846467818522[/C][C]0.337692935637045[/C][C]0.831153532181478[/C][/ROW]
[ROW][C]15[/C][C]0.110363116340142[/C][C]0.220726232680284[/C][C]0.889636883659858[/C][/ROW]
[ROW][C]16[/C][C]0.0673959283883964[/C][C]0.134791856776793[/C][C]0.932604071611604[/C][/ROW]
[ROW][C]17[/C][C]0.053230723131857[/C][C]0.106461446263714[/C][C]0.946769276868143[/C][/ROW]
[ROW][C]18[/C][C]0.0418575146189453[/C][C]0.0837150292378907[/C][C]0.958142485381055[/C][/ROW]
[ROW][C]19[/C][C]0.0295304837754423[/C][C]0.0590609675508847[/C][C]0.970469516224558[/C][/ROW]
[ROW][C]20[/C][C]0.0277488777441011[/C][C]0.0554977554882022[/C][C]0.97225112225590[/C][/ROW]
[ROW][C]21[/C][C]0.0303516023019395[/C][C]0.060703204603879[/C][C]0.96964839769806[/C][/ROW]
[ROW][C]22[/C][C]0.0412900335196967[/C][C]0.0825800670393933[/C][C]0.958709966480303[/C][/ROW]
[ROW][C]23[/C][C]0.0309499442687708[/C][C]0.0618998885375416[/C][C]0.96905005573123[/C][/ROW]
[ROW][C]24[/C][C]0.0197786248995422[/C][C]0.0395572497990843[/C][C]0.980221375100458[/C][/ROW]
[ROW][C]25[/C][C]0.0132477508499499[/C][C]0.0264955016998999[/C][C]0.98675224915005[/C][/ROW]
[ROW][C]26[/C][C]0.00948585514355937[/C][C]0.0189717102871187[/C][C]0.99051414485644[/C][/ROW]
[ROW][C]27[/C][C]0.00567275939108807[/C][C]0.0113455187821761[/C][C]0.994327240608912[/C][/ROW]
[ROW][C]28[/C][C]0.00348173856956286[/C][C]0.00696347713912572[/C][C]0.996518261430437[/C][/ROW]
[ROW][C]29[/C][C]0.00346267095019548[/C][C]0.00692534190039096[/C][C]0.996537329049805[/C][/ROW]
[ROW][C]30[/C][C]0.00409561310255039[/C][C]0.00819122620510078[/C][C]0.99590438689745[/C][/ROW]
[ROW][C]31[/C][C]0.00669591769112131[/C][C]0.0133918353822426[/C][C]0.993304082308879[/C][/ROW]
[ROW][C]32[/C][C]0.0145380559582981[/C][C]0.0290761119165961[/C][C]0.985461944041702[/C][/ROW]
[ROW][C]33[/C][C]0.0191427087283043[/C][C]0.0382854174566086[/C][C]0.980857291271696[/C][/ROW]
[ROW][C]34[/C][C]0.0267794108781365[/C][C]0.0535588217562729[/C][C]0.973220589121863[/C][/ROW]
[ROW][C]35[/C][C]0.0278935672396622[/C][C]0.0557871344793244[/C][C]0.972106432760338[/C][/ROW]
[ROW][C]36[/C][C]0.0635677611421891[/C][C]0.127135522284378[/C][C]0.936432238857811[/C][/ROW]
[ROW][C]37[/C][C]0.0507479147563507[/C][C]0.101495829512701[/C][C]0.94925208524365[/C][/ROW]
[ROW][C]38[/C][C]0.0434316243988446[/C][C]0.0868632487976892[/C][C]0.956568375601155[/C][/ROW]
[ROW][C]39[/C][C]0.0656427405889232[/C][C]0.131285481177846[/C][C]0.934357259411077[/C][/ROW]
[ROW][C]40[/C][C]0.0993914254407714[/C][C]0.198782850881543[/C][C]0.900608574559229[/C][/ROW]
[ROW][C]41[/C][C]0.191813012167737[/C][C]0.383626024335474[/C][C]0.808186987832263[/C][/ROW]
[ROW][C]42[/C][C]0.184014981637450[/C][C]0.368029963274899[/C][C]0.81598501836255[/C][/ROW]
[ROW][C]43[/C][C]0.295186682128474[/C][C]0.590373364256949[/C][C]0.704813317871526[/C][/ROW]
[ROW][C]44[/C][C]0.392811891247157[/C][C]0.785623782494315[/C][C]0.607188108752843[/C][/ROW]
[ROW][C]45[/C][C]0.849322880546909[/C][C]0.301354238906182[/C][C]0.150677119453091[/C][/ROW]
[ROW][C]46[/C][C]0.758540813577627[/C][C]0.482918372844746[/C][C]0.241459186422373[/C][/ROW]
[ROW][C]47[/C][C]0.630603367696482[/C][C]0.738793264607035[/C][C]0.369396632303518[/C][/ROW]
[ROW][C]48[/C][C]0.655637035277866[/C][C]0.688725929444268[/C][C]0.344362964722134[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69085&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69085&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.1360378303640780.2720756607281560.863962169635922
100.1277429224359290.2554858448718570.872257077564071
110.4697096346071010.9394192692142030.530290365392899
120.3426888887075160.6853777774150330.657311111292484
130.2484933821675680.4969867643351370.751506617832432
140.1688464678185220.3376929356370450.831153532181478
150.1103631163401420.2207262326802840.889636883659858
160.06739592838839640.1347918567767930.932604071611604
170.0532307231318570.1064614462637140.946769276868143
180.04185751461894530.08371502923789070.958142485381055
190.02953048377544230.05906096755088470.970469516224558
200.02774887774410110.05549775548820220.97225112225590
210.03035160230193950.0607032046038790.96964839769806
220.04129003351969670.08258006703939330.958709966480303
230.03094994426877080.06189988853754160.96905005573123
240.01977862489954220.03955724979908430.980221375100458
250.01324775084994990.02649550169989990.98675224915005
260.009485855143559370.01897171028711870.99051414485644
270.005672759391088070.01134551878217610.994327240608912
280.003481738569562860.006963477139125720.996518261430437
290.003462670950195480.006925341900390960.996537329049805
300.004095613102550390.008191226205100780.99590438689745
310.006695917691121310.01339183538224260.993304082308879
320.01453805595829810.02907611191659610.985461944041702
330.01914270872830430.03828541745660860.980857291271696
340.02677941087813650.05355882175627290.973220589121863
350.02789356723966220.05578713447932440.972106432760338
360.06356776114218910.1271355222843780.936432238857811
370.05074791475635070.1014958295127010.94925208524365
380.04343162439884460.08686324879768920.956568375601155
390.06564274058892320.1312854811778460.934357259411077
400.09939142544077140.1987828508815430.900608574559229
410.1918130121677370.3836260243354740.808186987832263
420.1840149816374500.3680299632748990.81598501836255
430.2951866821284740.5903733642569490.704813317871526
440.3928118912471570.7856237824943150.607188108752843
450.8493228805469090.3013542389061820.150677119453091
460.7585408135776270.4829183728447460.241459186422373
470.6306033676964820.7387932646070350.369396632303518
480.6556370352778660.6887259294442680.344362964722134







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.075NOK
5% type I error level100.25NOK
10% type I error level190.475NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69085&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 level30.075NOK
5% type I error level100.25NOK
10% type I error level190.475NOK



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')
}