Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 20 Nov 2009 07:36:26 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/20/t1258727817xqrdh53e9s9ex8l.htm/, Retrieved Sat, 20 Apr 2024 13:16:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58214, Retrieved Sat, 20 Apr 2024 13:16:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact138
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]
-   PD      [Multiple Regression] [WS 7.2] [2009-11-20 14:36:26] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
9.9	8.2
9.8	8
9.3	7.5
8.3	6.8
8	6.5
8.5	6.6
10.4	7.6
11.1	8
10.9	8.1
10	7.7
9.2	7.5
9.2	7.6
9.5	7.8
9.6	7.8
9.5	7.8
9.1	7.5
8.9	7.5
9	7.1
10.1	7.5
10.3	7.5
10.2	7.6
9.6	7.7
9.2	7.7
9.3	7.9
9.4	8.1
9.4	8.2
9.2	8.2
9	8.2
9	7.9
9	7.3
9.8	6.9
10	6.6
9.8	6.7
9.3	6.9
9	7
9	7.1
9.1	7.2
9.1	7.1
9.1	6.9
9.2	7
8.8	6.8
8.3	6.4
8.4	6.7
8.1	6.6
7.7	6.4
7.9	6.3
7.9	6.2
8	6.5
7.9	6.8
7.6	6.8
7.1	6.4
6.8	6.1
6.5	5.8
6.9	6.1
8.2	7.2
8.7	7.3
8.3	6.9
7.9	6.1
7.5	5.8
7.8	6.2




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58214&T=0

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
WLVrouw[t] = + 0.296585938911984 + 1.18461955539490WLMan[t] -0.163386951021142M1[t] -0.176002168805350M2[t] -0.175385866618471M3[t] -0.251077173323694M4[t] -0.230460871136815M5[t] + 0.106463039942166M6[t] + 0.577845653352611M7[t] + 0.814153262244713M8[t] + 0.625230435568408M9[t] + 0.422154346647389M10[t] + 0.160616302186879M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
WLVrouw[t] =  +  0.296585938911984 +  1.18461955539490WLMan[t] -0.163386951021142M1[t] -0.176002168805350M2[t] -0.175385866618471M3[t] -0.251077173323694M4[t] -0.230460871136815M5[t] +  0.106463039942166M6[t] +  0.577845653352611M7[t] +  0.814153262244713M8[t] +  0.625230435568408M9[t] +  0.422154346647389M10[t] +  0.160616302186879M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58214&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]WLVrouw[t] =  +  0.296585938911984 +  1.18461955539490WLMan[t] -0.163386951021142M1[t] -0.176002168805350M2[t] -0.175385866618471M3[t] -0.251077173323694M4[t] -0.230460871136815M5[t] +  0.106463039942166M6[t] +  0.577845653352611M7[t] +  0.814153262244713M8[t] +  0.625230435568408M9[t] +  0.422154346647389M10[t] +  0.160616302186879M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58214&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58214&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
WLVrouw[t] = + 0.296585938911984 + 1.18461955539490WLMan[t] -0.163386951021142M1[t] -0.176002168805350M2[t] -0.175385866618471M3[t] -0.251077173323694M4[t] -0.230460871136815M5[t] + 0.106463039942166M6[t] + 0.577845653352611M7[t] + 0.814153262244713M8[t] + 0.625230435568408M9[t] + 0.422154346647389M10[t] + 0.160616302186879M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.2965859389119840.8911510.33280.7407560.370378
WLMan1.184619555394900.1209689.792800
M1-0.1633869510211420.366244-0.44610.6575630.328782
M2-0.1760021688053500.36538-0.48170.6322570.316129
M3-0.1753858666184710.36175-0.48480.6300510.315026
M4-0.2510771733236940.359998-0.69740.4889630.244482
M5-0.2304608711368150.360445-0.63940.5256810.26284
M60.1064630399421660.362550.29370.7703180.385159
M70.5778456533526110.3602171.60420.1153790.057689
M80.8141532622447130.3603232.25950.0285290.014264
M90.6252304355684080.3600551.73650.0890290.044515
M100.4221543466473890.3602171.17190.2471260.123563
M110.1606163021868790.3609070.4450.6583380.329169

\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.296585938911984 & 0.891151 & 0.3328 & 0.740756 & 0.370378 \tabularnewline
WLMan & 1.18461955539490 & 0.120968 & 9.7928 & 0 & 0 \tabularnewline
M1 & -0.163386951021142 & 0.366244 & -0.4461 & 0.657563 & 0.328782 \tabularnewline
M2 & -0.176002168805350 & 0.36538 & -0.4817 & 0.632257 & 0.316129 \tabularnewline
M3 & -0.175385866618471 & 0.36175 & -0.4848 & 0.630051 & 0.315026 \tabularnewline
M4 & -0.251077173323694 & 0.359998 & -0.6974 & 0.488963 & 0.244482 \tabularnewline
M5 & -0.230460871136815 & 0.360445 & -0.6394 & 0.525681 & 0.26284 \tabularnewline
M6 & 0.106463039942166 & 0.36255 & 0.2937 & 0.770318 & 0.385159 \tabularnewline
M7 & 0.577845653352611 & 0.360217 & 1.6042 & 0.115379 & 0.057689 \tabularnewline
M8 & 0.814153262244713 & 0.360323 & 2.2595 & 0.028529 & 0.014264 \tabularnewline
M9 & 0.625230435568408 & 0.360055 & 1.7365 & 0.089029 & 0.044515 \tabularnewline
M10 & 0.422154346647389 & 0.360217 & 1.1719 & 0.247126 & 0.123563 \tabularnewline
M11 & 0.160616302186879 & 0.360907 & 0.445 & 0.658338 & 0.329169 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58214&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.296585938911984[/C][C]0.891151[/C][C]0.3328[/C][C]0.740756[/C][C]0.370378[/C][/ROW]
[ROW][C]WLMan[/C][C]1.18461955539490[/C][C]0.120968[/C][C]9.7928[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.163386951021142[/C][C]0.366244[/C][C]-0.4461[/C][C]0.657563[/C][C]0.328782[/C][/ROW]
[ROW][C]M2[/C][C]-0.176002168805350[/C][C]0.36538[/C][C]-0.4817[/C][C]0.632257[/C][C]0.316129[/C][/ROW]
[ROW][C]M3[/C][C]-0.175385866618471[/C][C]0.36175[/C][C]-0.4848[/C][C]0.630051[/C][C]0.315026[/C][/ROW]
[ROW][C]M4[/C][C]-0.251077173323694[/C][C]0.359998[/C][C]-0.6974[/C][C]0.488963[/C][C]0.244482[/C][/ROW]
[ROW][C]M5[/C][C]-0.230460871136815[/C][C]0.360445[/C][C]-0.6394[/C][C]0.525681[/C][C]0.26284[/C][/ROW]
[ROW][C]M6[/C][C]0.106463039942166[/C][C]0.36255[/C][C]0.2937[/C][C]0.770318[/C][C]0.385159[/C][/ROW]
[ROW][C]M7[/C][C]0.577845653352611[/C][C]0.360217[/C][C]1.6042[/C][C]0.115379[/C][C]0.057689[/C][/ROW]
[ROW][C]M8[/C][C]0.814153262244713[/C][C]0.360323[/C][C]2.2595[/C][C]0.028529[/C][C]0.014264[/C][/ROW]
[ROW][C]M9[/C][C]0.625230435568408[/C][C]0.360055[/C][C]1.7365[/C][C]0.089029[/C][C]0.044515[/C][/ROW]
[ROW][C]M10[/C][C]0.422154346647389[/C][C]0.360217[/C][C]1.1719[/C][C]0.247126[/C][C]0.123563[/C][/ROW]
[ROW][C]M11[/C][C]0.160616302186879[/C][C]0.360907[/C][C]0.445[/C][C]0.658338[/C][C]0.329169[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58214&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58214&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.2965859389119840.8911510.33280.7407560.370378
WLMan1.184619555394900.1209689.792800
M1-0.1633869510211420.366244-0.44610.6575630.328782
M2-0.1760021688053500.36538-0.48170.6322570.316129
M3-0.1753858666184710.36175-0.48480.6300510.315026
M4-0.2510771733236940.359998-0.69740.4889630.244482
M5-0.2304608711368150.360445-0.63940.5256810.26284
M60.1064630399421660.362550.29370.7703180.385159
M70.5778456533526110.3602171.60420.1153790.057689
M80.8141532622447130.3603232.25950.0285290.014264
M90.6252304355684080.3600551.73650.0890290.044515
M100.4221543466473890.3602171.17190.2471260.123563
M110.1606163021868790.3609070.4450.6583380.329169







Multiple Linear Regression - Regression Statistics
Multiple R0.857152142532385
R-squared0.734709795447858
Adjusted R-squared0.666976126200503
F-TEST (value)10.8470396423496
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value7.15501657921891e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.569091184718763
Sum Squared Residuals15.2216444966564

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.857152142532385 \tabularnewline
R-squared & 0.734709795447858 \tabularnewline
Adjusted R-squared & 0.666976126200503 \tabularnewline
F-TEST (value) & 10.8470396423496 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 7.15501657921891e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.569091184718763 \tabularnewline
Sum Squared Residuals & 15.2216444966564 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58214&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.857152142532385[/C][/ROW]
[ROW][C]R-squared[/C][C]0.734709795447858[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.666976126200503[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.8470396423496[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]7.15501657921891e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.569091184718763[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15.2216444966564[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58214&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58214&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.857152142532385
R-squared0.734709795447858
Adjusted R-squared0.666976126200503
F-TEST (value)10.8470396423496
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value7.15501657921891e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.569091184718763
Sum Squared Residuals15.2216444966564







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19.99.847079342129030.0529206578709704
29.89.597540213265860.202459786734140
39.39.005846737755290.294153262244714
48.38.100921742273630.19907825772637
587.766152177842040.233847822157961
68.58.221538044460510.278461955539491
710.49.877540213265860.522459786734141
811.110.58769564431590.512304355684076
910.910.51723477317910.382765226820893
10109.840310862100130.159689137899873
119.29.34184890656064-0.141848906560637
129.29.29969455991325-0.0996945599132482
139.59.373231519971090.126768480028914
149.69.360616302186880.239383697813121
159.59.361232604373760.138767395626243
169.18.930155431050060.169844568949936
178.98.95077173323694-0.0507717332369422
1898.813847822157960.186152177842038
1910.19.759078257726370.340921742273630
2010.39.995385866618470.304614133381529
2110.29.924924995481660.275075004518344
229.69.84031086210013-0.240310862100128
239.29.57877281763962-0.378772817639618
249.39.65508042653172-0.355080426531719
259.49.72861738658956-0.328617386589557
269.49.83446412434484-0.434464124344839
279.29.83508042653172-0.635080426531719
2899.7593891198265-0.759389119826495
2999.4246195553949-0.424619555394904
3099.05077173323694-0.0507717332369427
319.89.048306524489430.751693475510573
32108.929228266763061.07077173323694
339.88.858767395626240.941232604373758
349.38.89261521778420.407384782215796
3598.749539128863180.250460871136816
3698.70738478221580.292615217784204
379.18.662459786734140.437540213265855
389.18.531382613410450.568617386589554
399.18.295075004518340.804924995481655
409.28.337845653352610.862154346647388
418.88.121538044460510.678461955539491
428.37.984614133381530.315385866618471
438.48.81138261341045-0.411382613410446
448.18.92922826676306-0.829228266763058
457.78.50338152900777-0.803381529007772
467.98.18184348454726-0.281843484547261
477.97.801843484547260.098156515452739
4887.996613048978850.0033869510211461
497.98.18861196457618-0.288611964576182
507.68.17599674679198-0.575996746791976
517.17.70276522682089-0.602765226820893
526.87.2716880534972-0.471688053497198
536.56.9369184890656-0.436918489065606
546.97.62922826676306-0.729228266763057
558.29.4036923911079-1.2036923911079
568.79.7584619555395-1.05846195553949
578.39.09569130670522-0.795691306705223
587.97.94491957346828-0.0449195734682802
597.57.32799566238930.172004337610700
607.87.641227182360380.158772817639617

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9.9 & 9.84707934212903 & 0.0529206578709704 \tabularnewline
2 & 9.8 & 9.59754021326586 & 0.202459786734140 \tabularnewline
3 & 9.3 & 9.00584673775529 & 0.294153262244714 \tabularnewline
4 & 8.3 & 8.10092174227363 & 0.19907825772637 \tabularnewline
5 & 8 & 7.76615217784204 & 0.233847822157961 \tabularnewline
6 & 8.5 & 8.22153804446051 & 0.278461955539491 \tabularnewline
7 & 10.4 & 9.87754021326586 & 0.522459786734141 \tabularnewline
8 & 11.1 & 10.5876956443159 & 0.512304355684076 \tabularnewline
9 & 10.9 & 10.5172347731791 & 0.382765226820893 \tabularnewline
10 & 10 & 9.84031086210013 & 0.159689137899873 \tabularnewline
11 & 9.2 & 9.34184890656064 & -0.141848906560637 \tabularnewline
12 & 9.2 & 9.29969455991325 & -0.0996945599132482 \tabularnewline
13 & 9.5 & 9.37323151997109 & 0.126768480028914 \tabularnewline
14 & 9.6 & 9.36061630218688 & 0.239383697813121 \tabularnewline
15 & 9.5 & 9.36123260437376 & 0.138767395626243 \tabularnewline
16 & 9.1 & 8.93015543105006 & 0.169844568949936 \tabularnewline
17 & 8.9 & 8.95077173323694 & -0.0507717332369422 \tabularnewline
18 & 9 & 8.81384782215796 & 0.186152177842038 \tabularnewline
19 & 10.1 & 9.75907825772637 & 0.340921742273630 \tabularnewline
20 & 10.3 & 9.99538586661847 & 0.304614133381529 \tabularnewline
21 & 10.2 & 9.92492499548166 & 0.275075004518344 \tabularnewline
22 & 9.6 & 9.84031086210013 & -0.240310862100128 \tabularnewline
23 & 9.2 & 9.57877281763962 & -0.378772817639618 \tabularnewline
24 & 9.3 & 9.65508042653172 & -0.355080426531719 \tabularnewline
25 & 9.4 & 9.72861738658956 & -0.328617386589557 \tabularnewline
26 & 9.4 & 9.83446412434484 & -0.434464124344839 \tabularnewline
27 & 9.2 & 9.83508042653172 & -0.635080426531719 \tabularnewline
28 & 9 & 9.7593891198265 & -0.759389119826495 \tabularnewline
29 & 9 & 9.4246195553949 & -0.424619555394904 \tabularnewline
30 & 9 & 9.05077173323694 & -0.0507717332369427 \tabularnewline
31 & 9.8 & 9.04830652448943 & 0.751693475510573 \tabularnewline
32 & 10 & 8.92922826676306 & 1.07077173323694 \tabularnewline
33 & 9.8 & 8.85876739562624 & 0.941232604373758 \tabularnewline
34 & 9.3 & 8.8926152177842 & 0.407384782215796 \tabularnewline
35 & 9 & 8.74953912886318 & 0.250460871136816 \tabularnewline
36 & 9 & 8.7073847822158 & 0.292615217784204 \tabularnewline
37 & 9.1 & 8.66245978673414 & 0.437540213265855 \tabularnewline
38 & 9.1 & 8.53138261341045 & 0.568617386589554 \tabularnewline
39 & 9.1 & 8.29507500451834 & 0.804924995481655 \tabularnewline
40 & 9.2 & 8.33784565335261 & 0.862154346647388 \tabularnewline
41 & 8.8 & 8.12153804446051 & 0.678461955539491 \tabularnewline
42 & 8.3 & 7.98461413338153 & 0.315385866618471 \tabularnewline
43 & 8.4 & 8.81138261341045 & -0.411382613410446 \tabularnewline
44 & 8.1 & 8.92922826676306 & -0.829228266763058 \tabularnewline
45 & 7.7 & 8.50338152900777 & -0.803381529007772 \tabularnewline
46 & 7.9 & 8.18184348454726 & -0.281843484547261 \tabularnewline
47 & 7.9 & 7.80184348454726 & 0.098156515452739 \tabularnewline
48 & 8 & 7.99661304897885 & 0.0033869510211461 \tabularnewline
49 & 7.9 & 8.18861196457618 & -0.288611964576182 \tabularnewline
50 & 7.6 & 8.17599674679198 & -0.575996746791976 \tabularnewline
51 & 7.1 & 7.70276522682089 & -0.602765226820893 \tabularnewline
52 & 6.8 & 7.2716880534972 & -0.471688053497198 \tabularnewline
53 & 6.5 & 6.9369184890656 & -0.436918489065606 \tabularnewline
54 & 6.9 & 7.62922826676306 & -0.729228266763057 \tabularnewline
55 & 8.2 & 9.4036923911079 & -1.2036923911079 \tabularnewline
56 & 8.7 & 9.7584619555395 & -1.05846195553949 \tabularnewline
57 & 8.3 & 9.09569130670522 & -0.795691306705223 \tabularnewline
58 & 7.9 & 7.94491957346828 & -0.0449195734682802 \tabularnewline
59 & 7.5 & 7.3279956623893 & 0.172004337610700 \tabularnewline
60 & 7.8 & 7.64122718236038 & 0.158772817639617 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58214&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]9.9[/C][C]9.84707934212903[/C][C]0.0529206578709704[/C][/ROW]
[ROW][C]2[/C][C]9.8[/C][C]9.59754021326586[/C][C]0.202459786734140[/C][/ROW]
[ROW][C]3[/C][C]9.3[/C][C]9.00584673775529[/C][C]0.294153262244714[/C][/ROW]
[ROW][C]4[/C][C]8.3[/C][C]8.10092174227363[/C][C]0.19907825772637[/C][/ROW]
[ROW][C]5[/C][C]8[/C][C]7.76615217784204[/C][C]0.233847822157961[/C][/ROW]
[ROW][C]6[/C][C]8.5[/C][C]8.22153804446051[/C][C]0.278461955539491[/C][/ROW]
[ROW][C]7[/C][C]10.4[/C][C]9.87754021326586[/C][C]0.522459786734141[/C][/ROW]
[ROW][C]8[/C][C]11.1[/C][C]10.5876956443159[/C][C]0.512304355684076[/C][/ROW]
[ROW][C]9[/C][C]10.9[/C][C]10.5172347731791[/C][C]0.382765226820893[/C][/ROW]
[ROW][C]10[/C][C]10[/C][C]9.84031086210013[/C][C]0.159689137899873[/C][/ROW]
[ROW][C]11[/C][C]9.2[/C][C]9.34184890656064[/C][C]-0.141848906560637[/C][/ROW]
[ROW][C]12[/C][C]9.2[/C][C]9.29969455991325[/C][C]-0.0996945599132482[/C][/ROW]
[ROW][C]13[/C][C]9.5[/C][C]9.37323151997109[/C][C]0.126768480028914[/C][/ROW]
[ROW][C]14[/C][C]9.6[/C][C]9.36061630218688[/C][C]0.239383697813121[/C][/ROW]
[ROW][C]15[/C][C]9.5[/C][C]9.36123260437376[/C][C]0.138767395626243[/C][/ROW]
[ROW][C]16[/C][C]9.1[/C][C]8.93015543105006[/C][C]0.169844568949936[/C][/ROW]
[ROW][C]17[/C][C]8.9[/C][C]8.95077173323694[/C][C]-0.0507717332369422[/C][/ROW]
[ROW][C]18[/C][C]9[/C][C]8.81384782215796[/C][C]0.186152177842038[/C][/ROW]
[ROW][C]19[/C][C]10.1[/C][C]9.75907825772637[/C][C]0.340921742273630[/C][/ROW]
[ROW][C]20[/C][C]10.3[/C][C]9.99538586661847[/C][C]0.304614133381529[/C][/ROW]
[ROW][C]21[/C][C]10.2[/C][C]9.92492499548166[/C][C]0.275075004518344[/C][/ROW]
[ROW][C]22[/C][C]9.6[/C][C]9.84031086210013[/C][C]-0.240310862100128[/C][/ROW]
[ROW][C]23[/C][C]9.2[/C][C]9.57877281763962[/C][C]-0.378772817639618[/C][/ROW]
[ROW][C]24[/C][C]9.3[/C][C]9.65508042653172[/C][C]-0.355080426531719[/C][/ROW]
[ROW][C]25[/C][C]9.4[/C][C]9.72861738658956[/C][C]-0.328617386589557[/C][/ROW]
[ROW][C]26[/C][C]9.4[/C][C]9.83446412434484[/C][C]-0.434464124344839[/C][/ROW]
[ROW][C]27[/C][C]9.2[/C][C]9.83508042653172[/C][C]-0.635080426531719[/C][/ROW]
[ROW][C]28[/C][C]9[/C][C]9.7593891198265[/C][C]-0.759389119826495[/C][/ROW]
[ROW][C]29[/C][C]9[/C][C]9.4246195553949[/C][C]-0.424619555394904[/C][/ROW]
[ROW][C]30[/C][C]9[/C][C]9.05077173323694[/C][C]-0.0507717332369427[/C][/ROW]
[ROW][C]31[/C][C]9.8[/C][C]9.04830652448943[/C][C]0.751693475510573[/C][/ROW]
[ROW][C]32[/C][C]10[/C][C]8.92922826676306[/C][C]1.07077173323694[/C][/ROW]
[ROW][C]33[/C][C]9.8[/C][C]8.85876739562624[/C][C]0.941232604373758[/C][/ROW]
[ROW][C]34[/C][C]9.3[/C][C]8.8926152177842[/C][C]0.407384782215796[/C][/ROW]
[ROW][C]35[/C][C]9[/C][C]8.74953912886318[/C][C]0.250460871136816[/C][/ROW]
[ROW][C]36[/C][C]9[/C][C]8.7073847822158[/C][C]0.292615217784204[/C][/ROW]
[ROW][C]37[/C][C]9.1[/C][C]8.66245978673414[/C][C]0.437540213265855[/C][/ROW]
[ROW][C]38[/C][C]9.1[/C][C]8.53138261341045[/C][C]0.568617386589554[/C][/ROW]
[ROW][C]39[/C][C]9.1[/C][C]8.29507500451834[/C][C]0.804924995481655[/C][/ROW]
[ROW][C]40[/C][C]9.2[/C][C]8.33784565335261[/C][C]0.862154346647388[/C][/ROW]
[ROW][C]41[/C][C]8.8[/C][C]8.12153804446051[/C][C]0.678461955539491[/C][/ROW]
[ROW][C]42[/C][C]8.3[/C][C]7.98461413338153[/C][C]0.315385866618471[/C][/ROW]
[ROW][C]43[/C][C]8.4[/C][C]8.81138261341045[/C][C]-0.411382613410446[/C][/ROW]
[ROW][C]44[/C][C]8.1[/C][C]8.92922826676306[/C][C]-0.829228266763058[/C][/ROW]
[ROW][C]45[/C][C]7.7[/C][C]8.50338152900777[/C][C]-0.803381529007772[/C][/ROW]
[ROW][C]46[/C][C]7.9[/C][C]8.18184348454726[/C][C]-0.281843484547261[/C][/ROW]
[ROW][C]47[/C][C]7.9[/C][C]7.80184348454726[/C][C]0.098156515452739[/C][/ROW]
[ROW][C]48[/C][C]8[/C][C]7.99661304897885[/C][C]0.0033869510211461[/C][/ROW]
[ROW][C]49[/C][C]7.9[/C][C]8.18861196457618[/C][C]-0.288611964576182[/C][/ROW]
[ROW][C]50[/C][C]7.6[/C][C]8.17599674679198[/C][C]-0.575996746791976[/C][/ROW]
[ROW][C]51[/C][C]7.1[/C][C]7.70276522682089[/C][C]-0.602765226820893[/C][/ROW]
[ROW][C]52[/C][C]6.8[/C][C]7.2716880534972[/C][C]-0.471688053497198[/C][/ROW]
[ROW][C]53[/C][C]6.5[/C][C]6.9369184890656[/C][C]-0.436918489065606[/C][/ROW]
[ROW][C]54[/C][C]6.9[/C][C]7.62922826676306[/C][C]-0.729228266763057[/C][/ROW]
[ROW][C]55[/C][C]8.2[/C][C]9.4036923911079[/C][C]-1.2036923911079[/C][/ROW]
[ROW][C]56[/C][C]8.7[/C][C]9.7584619555395[/C][C]-1.05846195553949[/C][/ROW]
[ROW][C]57[/C][C]8.3[/C][C]9.09569130670522[/C][C]-0.795691306705223[/C][/ROW]
[ROW][C]58[/C][C]7.9[/C][C]7.94491957346828[/C][C]-0.0449195734682802[/C][/ROW]
[ROW][C]59[/C][C]7.5[/C][C]7.3279956623893[/C][C]0.172004337610700[/C][/ROW]
[ROW][C]60[/C][C]7.8[/C][C]7.64122718236038[/C][C]0.158772817639617[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58214&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58214&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
19.99.847079342129030.0529206578709704
29.89.597540213265860.202459786734140
39.39.005846737755290.294153262244714
48.38.100921742273630.19907825772637
587.766152177842040.233847822157961
68.58.221538044460510.278461955539491
710.49.877540213265860.522459786734141
811.110.58769564431590.512304355684076
910.910.51723477317910.382765226820893
10109.840310862100130.159689137899873
119.29.34184890656064-0.141848906560637
129.29.29969455991325-0.0996945599132482
139.59.373231519971090.126768480028914
149.69.360616302186880.239383697813121
159.59.361232604373760.138767395626243
169.18.930155431050060.169844568949936
178.98.95077173323694-0.0507717332369422
1898.813847822157960.186152177842038
1910.19.759078257726370.340921742273630
2010.39.995385866618470.304614133381529
2110.29.924924995481660.275075004518344
229.69.84031086210013-0.240310862100128
239.29.57877281763962-0.378772817639618
249.39.65508042653172-0.355080426531719
259.49.72861738658956-0.328617386589557
269.49.83446412434484-0.434464124344839
279.29.83508042653172-0.635080426531719
2899.7593891198265-0.759389119826495
2999.4246195553949-0.424619555394904
3099.05077173323694-0.0507717332369427
319.89.048306524489430.751693475510573
32108.929228266763061.07077173323694
339.88.858767395626240.941232604373758
349.38.89261521778420.407384782215796
3598.749539128863180.250460871136816
3698.70738478221580.292615217784204
379.18.662459786734140.437540213265855
389.18.531382613410450.568617386589554
399.18.295075004518340.804924995481655
409.28.337845653352610.862154346647388
418.88.121538044460510.678461955539491
428.37.984614133381530.315385866618471
438.48.81138261341045-0.411382613410446
448.18.92922826676306-0.829228266763058
457.78.50338152900777-0.803381529007772
467.98.18184348454726-0.281843484547261
477.97.801843484547260.098156515452739
4887.996613048978850.0033869510211461
497.98.18861196457618-0.288611964576182
507.68.17599674679198-0.575996746791976
517.17.70276522682089-0.602765226820893
526.87.2716880534972-0.471688053497198
536.56.9369184890656-0.436918489065606
546.97.62922826676306-0.729228266763057
558.29.4036923911079-1.2036923911079
568.79.7584619555395-1.05846195553949
578.39.09569130670522-0.795691306705223
587.97.94491957346828-0.0449195734682802
597.57.32799566238930.172004337610700
607.87.641227182360380.158772817639617







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0007995218104407980.001599043620881600.99920047818956
170.0001272739005553000.0002545478011105990.999872726099445
189.71119706706775e-061.94223941341355e-050.999990288802933
191.01515311228863e-052.03030622457726e-050.999989848468877
201.71536414015028e-053.43072828030056e-050.999982846358598
214.87530487090242e-069.75060974180483e-060.99999512469513
221.04166642238664e-052.08333284477329e-050.999989583335776
233.45664558554298e-066.91329117108595e-060.999996543354414
241.13991183044283e-062.27982366088566e-060.99999886008817
252.02724219872099e-064.05448439744197e-060.999997972757801
261.08666994673026e-052.17333989346052e-050.999989133300533
274.40266258162927e-058.80532516325853e-050.999955973374184
284.7261875777638e-059.4523751555276e-050.999952738124222
292.27139628012158e-054.54279256024317e-050.999977286037199
307.12912774126124e-061.42582554825225e-050.999992870872259
317.92154843528608e-061.58430968705722e-050.999992078451565
329.28785398419062e-050.0001857570796838120.999907121460158
330.0008894642357856080.001778928471571220.999110535764214
340.0003725107317676370.0007450214635352750.999627489268232
350.0002866929189263830.0005733858378527660.999713307081074
360.0001625630913253890.0003251261826507780.999837436908675
377.17840773265791e-050.0001435681546531580.999928215922673
388.7483194104565e-050.000174966388209130.999912516805895
390.0004019493867081590.0008038987734163170.999598050613292
400.004911420115400330.009822840230800650.9950885798846
410.03823434635677390.07646869271354790.961765653643226
420.6004845000035880.7990309999928250.399515499996412
430.9882051710506250.02358965789875060.0117948289493753
440.9826062101955980.03478757960880400.0173937898044020

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.000799521810440798 & 0.00159904362088160 & 0.99920047818956 \tabularnewline
17 & 0.000127273900555300 & 0.000254547801110599 & 0.999872726099445 \tabularnewline
18 & 9.71119706706775e-06 & 1.94223941341355e-05 & 0.999990288802933 \tabularnewline
19 & 1.01515311228863e-05 & 2.03030622457726e-05 & 0.999989848468877 \tabularnewline
20 & 1.71536414015028e-05 & 3.43072828030056e-05 & 0.999982846358598 \tabularnewline
21 & 4.87530487090242e-06 & 9.75060974180483e-06 & 0.99999512469513 \tabularnewline
22 & 1.04166642238664e-05 & 2.08333284477329e-05 & 0.999989583335776 \tabularnewline
23 & 3.45664558554298e-06 & 6.91329117108595e-06 & 0.999996543354414 \tabularnewline
24 & 1.13991183044283e-06 & 2.27982366088566e-06 & 0.99999886008817 \tabularnewline
25 & 2.02724219872099e-06 & 4.05448439744197e-06 & 0.999997972757801 \tabularnewline
26 & 1.08666994673026e-05 & 2.17333989346052e-05 & 0.999989133300533 \tabularnewline
27 & 4.40266258162927e-05 & 8.80532516325853e-05 & 0.999955973374184 \tabularnewline
28 & 4.7261875777638e-05 & 9.4523751555276e-05 & 0.999952738124222 \tabularnewline
29 & 2.27139628012158e-05 & 4.54279256024317e-05 & 0.999977286037199 \tabularnewline
30 & 7.12912774126124e-06 & 1.42582554825225e-05 & 0.999992870872259 \tabularnewline
31 & 7.92154843528608e-06 & 1.58430968705722e-05 & 0.999992078451565 \tabularnewline
32 & 9.28785398419062e-05 & 0.000185757079683812 & 0.999907121460158 \tabularnewline
33 & 0.000889464235785608 & 0.00177892847157122 & 0.999110535764214 \tabularnewline
34 & 0.000372510731767637 & 0.000745021463535275 & 0.999627489268232 \tabularnewline
35 & 0.000286692918926383 & 0.000573385837852766 & 0.999713307081074 \tabularnewline
36 & 0.000162563091325389 & 0.000325126182650778 & 0.999837436908675 \tabularnewline
37 & 7.17840773265791e-05 & 0.000143568154653158 & 0.999928215922673 \tabularnewline
38 & 8.7483194104565e-05 & 0.00017496638820913 & 0.999912516805895 \tabularnewline
39 & 0.000401949386708159 & 0.000803898773416317 & 0.999598050613292 \tabularnewline
40 & 0.00491142011540033 & 0.00982284023080065 & 0.9950885798846 \tabularnewline
41 & 0.0382343463567739 & 0.0764686927135479 & 0.961765653643226 \tabularnewline
42 & 0.600484500003588 & 0.799030999992825 & 0.399515499996412 \tabularnewline
43 & 0.988205171050625 & 0.0235896578987506 & 0.0117948289493753 \tabularnewline
44 & 0.982606210195598 & 0.0347875796088040 & 0.0173937898044020 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58214&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.000799521810440798[/C][C]0.00159904362088160[/C][C]0.99920047818956[/C][/ROW]
[ROW][C]17[/C][C]0.000127273900555300[/C][C]0.000254547801110599[/C][C]0.999872726099445[/C][/ROW]
[ROW][C]18[/C][C]9.71119706706775e-06[/C][C]1.94223941341355e-05[/C][C]0.999990288802933[/C][/ROW]
[ROW][C]19[/C][C]1.01515311228863e-05[/C][C]2.03030622457726e-05[/C][C]0.999989848468877[/C][/ROW]
[ROW][C]20[/C][C]1.71536414015028e-05[/C][C]3.43072828030056e-05[/C][C]0.999982846358598[/C][/ROW]
[ROW][C]21[/C][C]4.87530487090242e-06[/C][C]9.75060974180483e-06[/C][C]0.99999512469513[/C][/ROW]
[ROW][C]22[/C][C]1.04166642238664e-05[/C][C]2.08333284477329e-05[/C][C]0.999989583335776[/C][/ROW]
[ROW][C]23[/C][C]3.45664558554298e-06[/C][C]6.91329117108595e-06[/C][C]0.999996543354414[/C][/ROW]
[ROW][C]24[/C][C]1.13991183044283e-06[/C][C]2.27982366088566e-06[/C][C]0.99999886008817[/C][/ROW]
[ROW][C]25[/C][C]2.02724219872099e-06[/C][C]4.05448439744197e-06[/C][C]0.999997972757801[/C][/ROW]
[ROW][C]26[/C][C]1.08666994673026e-05[/C][C]2.17333989346052e-05[/C][C]0.999989133300533[/C][/ROW]
[ROW][C]27[/C][C]4.40266258162927e-05[/C][C]8.80532516325853e-05[/C][C]0.999955973374184[/C][/ROW]
[ROW][C]28[/C][C]4.7261875777638e-05[/C][C]9.4523751555276e-05[/C][C]0.999952738124222[/C][/ROW]
[ROW][C]29[/C][C]2.27139628012158e-05[/C][C]4.54279256024317e-05[/C][C]0.999977286037199[/C][/ROW]
[ROW][C]30[/C][C]7.12912774126124e-06[/C][C]1.42582554825225e-05[/C][C]0.999992870872259[/C][/ROW]
[ROW][C]31[/C][C]7.92154843528608e-06[/C][C]1.58430968705722e-05[/C][C]0.999992078451565[/C][/ROW]
[ROW][C]32[/C][C]9.28785398419062e-05[/C][C]0.000185757079683812[/C][C]0.999907121460158[/C][/ROW]
[ROW][C]33[/C][C]0.000889464235785608[/C][C]0.00177892847157122[/C][C]0.999110535764214[/C][/ROW]
[ROW][C]34[/C][C]0.000372510731767637[/C][C]0.000745021463535275[/C][C]0.999627489268232[/C][/ROW]
[ROW][C]35[/C][C]0.000286692918926383[/C][C]0.000573385837852766[/C][C]0.999713307081074[/C][/ROW]
[ROW][C]36[/C][C]0.000162563091325389[/C][C]0.000325126182650778[/C][C]0.999837436908675[/C][/ROW]
[ROW][C]37[/C][C]7.17840773265791e-05[/C][C]0.000143568154653158[/C][C]0.999928215922673[/C][/ROW]
[ROW][C]38[/C][C]8.7483194104565e-05[/C][C]0.00017496638820913[/C][C]0.999912516805895[/C][/ROW]
[ROW][C]39[/C][C]0.000401949386708159[/C][C]0.000803898773416317[/C][C]0.999598050613292[/C][/ROW]
[ROW][C]40[/C][C]0.00491142011540033[/C][C]0.00982284023080065[/C][C]0.9950885798846[/C][/ROW]
[ROW][C]41[/C][C]0.0382343463567739[/C][C]0.0764686927135479[/C][C]0.961765653643226[/C][/ROW]
[ROW][C]42[/C][C]0.600484500003588[/C][C]0.799030999992825[/C][C]0.399515499996412[/C][/ROW]
[ROW][C]43[/C][C]0.988205171050625[/C][C]0.0235896578987506[/C][C]0.0117948289493753[/C][/ROW]
[ROW][C]44[/C][C]0.982606210195598[/C][C]0.0347875796088040[/C][C]0.0173937898044020[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58214&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0007995218104407980.001599043620881600.99920047818956
170.0001272739005553000.0002545478011105990.999872726099445
189.71119706706775e-061.94223941341355e-050.999990288802933
191.01515311228863e-052.03030622457726e-050.999989848468877
201.71536414015028e-053.43072828030056e-050.999982846358598
214.87530487090242e-069.75060974180483e-060.99999512469513
221.04166642238664e-052.08333284477329e-050.999989583335776
233.45664558554298e-066.91329117108595e-060.999996543354414
241.13991183044283e-062.27982366088566e-060.99999886008817
252.02724219872099e-064.05448439744197e-060.999997972757801
261.08666994673026e-052.17333989346052e-050.999989133300533
274.40266258162927e-058.80532516325853e-050.999955973374184
284.7261875777638e-059.4523751555276e-050.999952738124222
292.27139628012158e-054.54279256024317e-050.999977286037199
307.12912774126124e-061.42582554825225e-050.999992870872259
317.92154843528608e-061.58430968705722e-050.999992078451565
329.28785398419062e-050.0001857570796838120.999907121460158
330.0008894642357856080.001778928471571220.999110535764214
340.0003725107317676370.0007450214635352750.999627489268232
350.0002866929189263830.0005733858378527660.999713307081074
360.0001625630913253890.0003251261826507780.999837436908675
377.17840773265791e-050.0001435681546531580.999928215922673
388.7483194104565e-050.000174966388209130.999912516805895
390.0004019493867081590.0008038987734163170.999598050613292
400.004911420115400330.009822840230800650.9950885798846
410.03823434635677390.07646869271354790.961765653643226
420.6004845000035880.7990309999928250.399515499996412
430.9882051710506250.02358965789875060.0117948289493753
440.9826062101955980.03478757960880400.0173937898044020







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level250.862068965517241NOK
5% type I error level270.93103448275862NOK
10% type I error level280.96551724137931NOK

\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 & 25 & 0.862068965517241 & NOK \tabularnewline
5% type I error level & 27 & 0.93103448275862 & NOK \tabularnewline
10% type I error level & 28 & 0.96551724137931 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58214&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]25[/C][C]0.862068965517241[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]27[/C][C]0.93103448275862[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]28[/C][C]0.96551724137931[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58214&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58214&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 level250.862068965517241NOK
5% type I error level270.93103448275862NOK
10% type I error level280.96551724137931NOK



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