Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 18 Nov 2009 09:16:40 -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/18/t1258561118h7smb73l8sth9w5.htm/, Retrieved Sun, 05 May 2024 09:04:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57501, Retrieved Sun, 05 May 2024 09:04:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
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 regressie an...] [2009-11-18 16:16:40] [51d49d3536f6a59f2486a67bf50b2759] [Current]
Feedback Forum

Post a new message
Dataseries X:
1901	10436
1395	9314
1639	9717
1643	8997
1751	9062
1797	8885
1373	9058
1558	9095
1555	9149
2061	9857
2010	9848
2119	10269
1985	10341
1963	9690
2017	10125
1975	9349
1589	9224
1679	9224
1392	9454
1511	9347
1449	9430
1767	9933
1899	10148
2179	10677
2217	10735
2049	9760
2343	10567
2175	9333
1607	9409
1702	9502
1764	9348
1766	9319
1615	9594
1953	10160
2091	10182
2411	10810
2550	11105
2351	9874
2786	10958
2525	9311
2474	9610
2332	9398
1978	9784
1789	9425
1904	9557
1997	10166
2207	10337
2453	10770
1948	11265
1384	10183
1989	10941
2140	9628
2100	9709
2045	9637
2083	9579
2022	9741
1950	9754
1422	10508
1859	10749
2147	11079




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=57501&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=57501&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57501&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
aanbod[t] = + 2545.66561777526 -0.0536921662865609invoer[t] -49.4740910207108M1[t] -403.725971096605M2[t] -47.9857236889952M3[t] -180.392078283739M4[t] -371.644328074481M5[t] -376.900740873810M6[t] -571.809334244978M7[t] -571.89257984978M8[t] -608.615941886095M9[t] -437.601930818772M10[t] -265.63400289473M11[t] + 8.10466936063765t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
aanbod[t] =  +  2545.66561777526 -0.0536921662865609invoer[t] -49.4740910207108M1[t] -403.725971096605M2[t] -47.9857236889952M3[t] -180.392078283739M4[t] -371.644328074481M5[t] -376.900740873810M6[t] -571.809334244978M7[t] -571.89257984978M8[t] -608.615941886095M9[t] -437.601930818772M10[t] -265.63400289473M11[t] +  8.10466936063765t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57501&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]aanbod[t] =  +  2545.66561777526 -0.0536921662865609invoer[t] -49.4740910207108M1[t] -403.725971096605M2[t] -47.9857236889952M3[t] -180.392078283739M4[t] -371.644328074481M5[t] -376.900740873810M6[t] -571.809334244978M7[t] -571.89257984978M8[t] -608.615941886095M9[t] -437.601930818772M10[t] -265.63400289473M11[t] +  8.10466936063765t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57501&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57501&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
aanbod[t] = + 2545.66561777526 -0.0536921662865609invoer[t] -49.4740910207108M1[t] -403.725971096605M2[t] -47.9857236889952M3[t] -180.392078283739M4[t] -371.644328074481M5[t] -376.900740873810M6[t] -571.809334244978M7[t] -571.89257984978M8[t] -608.615941886095M9[t] -437.601930818772M10[t] -265.63400289473M11[t] + 8.10466936063765t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2545.665617775262879.3988620.88410.3812420.190621
invoer-0.05369216628656090.282425-0.19010.8500590.425029
M1-49.4740910207108183.414737-0.26970.7885680.394284
M2-403.725971096605285.806045-1.41260.1645070.082254
M3-47.9857236889952175.672248-0.27320.7859570.392978
M4-180.392078283739399.731224-0.45130.6539060.326953
M5-371.644328074481383.34472-0.96950.3373770.168688
M6-376.900740873810405.790831-0.92880.3578380.178919
M7-571.809334244978380.208117-1.50390.1394330.069716
M8-571.89257984978398.964519-1.43340.1584940.079247
M9-608.615941886095374.505608-1.62510.110970.055485
M10-437.601930818772234.246234-1.86810.0681220.034061
M11-265.63400289473213.69312-1.24310.2201430.110072
t8.104669360637654.6965671.72570.0911220.045561

\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) & 2545.66561777526 & 2879.398862 & 0.8841 & 0.381242 & 0.190621 \tabularnewline
invoer & -0.0536921662865609 & 0.282425 & -0.1901 & 0.850059 & 0.425029 \tabularnewline
M1 & -49.4740910207108 & 183.414737 & -0.2697 & 0.788568 & 0.394284 \tabularnewline
M2 & -403.725971096605 & 285.806045 & -1.4126 & 0.164507 & 0.082254 \tabularnewline
M3 & -47.9857236889952 & 175.672248 & -0.2732 & 0.785957 & 0.392978 \tabularnewline
M4 & -180.392078283739 & 399.731224 & -0.4513 & 0.653906 & 0.326953 \tabularnewline
M5 & -371.644328074481 & 383.34472 & -0.9695 & 0.337377 & 0.168688 \tabularnewline
M6 & -376.900740873810 & 405.790831 & -0.9288 & 0.357838 & 0.178919 \tabularnewline
M7 & -571.809334244978 & 380.208117 & -1.5039 & 0.139433 & 0.069716 \tabularnewline
M8 & -571.89257984978 & 398.964519 & -1.4334 & 0.158494 & 0.079247 \tabularnewline
M9 & -608.615941886095 & 374.505608 & -1.6251 & 0.11097 & 0.055485 \tabularnewline
M10 & -437.601930818772 & 234.246234 & -1.8681 & 0.068122 & 0.034061 \tabularnewline
M11 & -265.63400289473 & 213.69312 & -1.2431 & 0.220143 & 0.110072 \tabularnewline
t & 8.10466936063765 & 4.696567 & 1.7257 & 0.091122 & 0.045561 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57501&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]2545.66561777526[/C][C]2879.398862[/C][C]0.8841[/C][C]0.381242[/C][C]0.190621[/C][/ROW]
[ROW][C]invoer[/C][C]-0.0536921662865609[/C][C]0.282425[/C][C]-0.1901[/C][C]0.850059[/C][C]0.425029[/C][/ROW]
[ROW][C]M1[/C][C]-49.4740910207108[/C][C]183.414737[/C][C]-0.2697[/C][C]0.788568[/C][C]0.394284[/C][/ROW]
[ROW][C]M2[/C][C]-403.725971096605[/C][C]285.806045[/C][C]-1.4126[/C][C]0.164507[/C][C]0.082254[/C][/ROW]
[ROW][C]M3[/C][C]-47.9857236889952[/C][C]175.672248[/C][C]-0.2732[/C][C]0.785957[/C][C]0.392978[/C][/ROW]
[ROW][C]M4[/C][C]-180.392078283739[/C][C]399.731224[/C][C]-0.4513[/C][C]0.653906[/C][C]0.326953[/C][/ROW]
[ROW][C]M5[/C][C]-371.644328074481[/C][C]383.34472[/C][C]-0.9695[/C][C]0.337377[/C][C]0.168688[/C][/ROW]
[ROW][C]M6[/C][C]-376.900740873810[/C][C]405.790831[/C][C]-0.9288[/C][C]0.357838[/C][C]0.178919[/C][/ROW]
[ROW][C]M7[/C][C]-571.809334244978[/C][C]380.208117[/C][C]-1.5039[/C][C]0.139433[/C][C]0.069716[/C][/ROW]
[ROW][C]M8[/C][C]-571.89257984978[/C][C]398.964519[/C][C]-1.4334[/C][C]0.158494[/C][C]0.079247[/C][/ROW]
[ROW][C]M9[/C][C]-608.615941886095[/C][C]374.505608[/C][C]-1.6251[/C][C]0.11097[/C][C]0.055485[/C][/ROW]
[ROW][C]M10[/C][C]-437.601930818772[/C][C]234.246234[/C][C]-1.8681[/C][C]0.068122[/C][C]0.034061[/C][/ROW]
[ROW][C]M11[/C][C]-265.63400289473[/C][C]213.69312[/C][C]-1.2431[/C][C]0.220143[/C][C]0.110072[/C][/ROW]
[ROW][C]t[/C][C]8.10466936063765[/C][C]4.696567[/C][C]1.7257[/C][C]0.091122[/C][C]0.045561[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57501&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57501&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)2545.665617775262879.3988620.88410.3812420.190621
invoer-0.05369216628656090.282425-0.19010.8500590.425029
M1-49.4740910207108183.414737-0.26970.7885680.394284
M2-403.725971096605285.806045-1.41260.1645070.082254
M3-47.9857236889952175.672248-0.27320.7859570.392978
M4-180.392078283739399.731224-0.45130.6539060.326953
M5-371.644328074481383.34472-0.96950.3373770.168688
M6-376.900740873810405.790831-0.92880.3578380.178919
M7-571.809334244978380.208117-1.50390.1394330.069716
M8-571.89257984978398.964519-1.43340.1584940.079247
M9-608.615941886095374.505608-1.62510.110970.055485
M10-437.601930818772234.246234-1.86810.0681220.034061
M11-265.63400289473213.69312-1.24310.2201430.110072
t8.104669360637654.6965671.72570.0911220.045561







Multiple Linear Regression - Regression Statistics
Multiple R0.678316987506086
R-squared0.460113935539331
Adjusted R-squared0.307537439061316
F-TEST (value)3.01562787297079
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.00285871719941422
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation270.527201060377
Sum Squared Residuals3366508.45962384

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.678316987506086 \tabularnewline
R-squared & 0.460113935539331 \tabularnewline
Adjusted R-squared & 0.307537439061316 \tabularnewline
F-TEST (value) & 3.01562787297079 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.00285871719941422 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 270.527201060377 \tabularnewline
Sum Squared Residuals & 3366508.45962384 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57501&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.678316987506086[/C][/ROW]
[ROW][C]R-squared[/C][C]0.460113935539331[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.307537439061316[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.01562787297079[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0.00285871719941422[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]270.527201060377[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3366508.45962384[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57501&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57501&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.678316987506086
R-squared0.460113935539331
Adjusted R-squared0.307537439061316
F-TEST (value)3.01562787297079
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.00285871719941422
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation270.527201060377
Sum Squared Residuals3366508.45962384







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
119011943.96474874864-42.9647487486426
213951658.06014860691-263.060148606905
316392000.26712236167-361.267122361669
416431914.62379685389-271.623796853887
517511727.9862256151623.0137743848437
617971740.3379956091956.6620043908133
713731544.24532683108-171.245326831081
815581550.280140434317.71985956568655
915551518.7620707791636.2379292208376
1020611659.86669747624401.133302523763
1120101840.42252425750169.577475742504
1221192091.5567945062227.4432054937782
1319852046.32153687352-61.3215368735163
1419631735.12792641081227.872073589189
1520172075.61675084440-58.6167508444045
1619751992.98018664867-17.9801866486696
1715891816.54412700439-227.544127004385
1816791819.39238356569-140.392383565694
1913921620.23926130925-228.239261309255
2015111634.00574685775-123.005746857752
2114491600.93060438029-151.930604380290
2217671753.0421251661113.9578748338893
2318991921.57090669918-22.5709066991798
2421792166.9064229889612.0935770110430
2522172122.4228556842694.5771443157367
2620491828.62550709840220.374492901596
2723432149.14084567340193.859154326604
2821752091.0952936369183.9047063630936
2916071903.86710856902-296.867108569023
3017021901.72199366568-199.721993665682
3117641723.1866632632840.8133367367182
3217661732.7651598414333.2348401585723
3316151689.38112143695-74.3811214369463
3419531838.11003574671114.889964253287
3520912017.0014053730973.9985946269115
3624112257.02139720050153.978602799504
3725502199.81278648589350.187213514112
3823511919.76063246939431.239367530612
3927862225.40324098300560.596759016997
4025252189.53255362286335.467446377138
4124741990.33101547308483.668984526924
4223322004.56201128714327.437988712863
4319781797.03291108999180.967088910007
4417891824.32982254270-35.329822542704
4519041788.6237639172115.376236082799
4619971935.0439150766561.9560849233543
4722072105.93515192632101.064848073677
4824532356.4251161796196.5748838203896
4919482288.47807220769-340.47807220769
5013842000.42578541449-616.425785414492
5119892323.57204013753-334.572040137527
5221402269.76816923767-129.768169237675
5321002082.2715233383617.7284766616413
5420452088.9856158723-43.9856158723002
5520831905.29583750639177.70416249361
5620221904.61913032380117.380869676197
5719501875.302439486474.6975605135999
5814222013.93722653429-591.937226534293
5918592181.07001174391-322.070011743912
6021472437.09026912472-290.090269124715

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1901 & 1943.96474874864 & -42.9647487486426 \tabularnewline
2 & 1395 & 1658.06014860691 & -263.060148606905 \tabularnewline
3 & 1639 & 2000.26712236167 & -361.267122361669 \tabularnewline
4 & 1643 & 1914.62379685389 & -271.623796853887 \tabularnewline
5 & 1751 & 1727.98622561516 & 23.0137743848437 \tabularnewline
6 & 1797 & 1740.33799560919 & 56.6620043908133 \tabularnewline
7 & 1373 & 1544.24532683108 & -171.245326831081 \tabularnewline
8 & 1558 & 1550.28014043431 & 7.71985956568655 \tabularnewline
9 & 1555 & 1518.76207077916 & 36.2379292208376 \tabularnewline
10 & 2061 & 1659.86669747624 & 401.133302523763 \tabularnewline
11 & 2010 & 1840.42252425750 & 169.577475742504 \tabularnewline
12 & 2119 & 2091.55679450622 & 27.4432054937782 \tabularnewline
13 & 1985 & 2046.32153687352 & -61.3215368735163 \tabularnewline
14 & 1963 & 1735.12792641081 & 227.872073589189 \tabularnewline
15 & 2017 & 2075.61675084440 & -58.6167508444045 \tabularnewline
16 & 1975 & 1992.98018664867 & -17.9801866486696 \tabularnewline
17 & 1589 & 1816.54412700439 & -227.544127004385 \tabularnewline
18 & 1679 & 1819.39238356569 & -140.392383565694 \tabularnewline
19 & 1392 & 1620.23926130925 & -228.239261309255 \tabularnewline
20 & 1511 & 1634.00574685775 & -123.005746857752 \tabularnewline
21 & 1449 & 1600.93060438029 & -151.930604380290 \tabularnewline
22 & 1767 & 1753.04212516611 & 13.9578748338893 \tabularnewline
23 & 1899 & 1921.57090669918 & -22.5709066991798 \tabularnewline
24 & 2179 & 2166.90642298896 & 12.0935770110430 \tabularnewline
25 & 2217 & 2122.42285568426 & 94.5771443157367 \tabularnewline
26 & 2049 & 1828.62550709840 & 220.374492901596 \tabularnewline
27 & 2343 & 2149.14084567340 & 193.859154326604 \tabularnewline
28 & 2175 & 2091.09529363691 & 83.9047063630936 \tabularnewline
29 & 1607 & 1903.86710856902 & -296.867108569023 \tabularnewline
30 & 1702 & 1901.72199366568 & -199.721993665682 \tabularnewline
31 & 1764 & 1723.18666326328 & 40.8133367367182 \tabularnewline
32 & 1766 & 1732.76515984143 & 33.2348401585723 \tabularnewline
33 & 1615 & 1689.38112143695 & -74.3811214369463 \tabularnewline
34 & 1953 & 1838.11003574671 & 114.889964253287 \tabularnewline
35 & 2091 & 2017.00140537309 & 73.9985946269115 \tabularnewline
36 & 2411 & 2257.02139720050 & 153.978602799504 \tabularnewline
37 & 2550 & 2199.81278648589 & 350.187213514112 \tabularnewline
38 & 2351 & 1919.76063246939 & 431.239367530612 \tabularnewline
39 & 2786 & 2225.40324098300 & 560.596759016997 \tabularnewline
40 & 2525 & 2189.53255362286 & 335.467446377138 \tabularnewline
41 & 2474 & 1990.33101547308 & 483.668984526924 \tabularnewline
42 & 2332 & 2004.56201128714 & 327.437988712863 \tabularnewline
43 & 1978 & 1797.03291108999 & 180.967088910007 \tabularnewline
44 & 1789 & 1824.32982254270 & -35.329822542704 \tabularnewline
45 & 1904 & 1788.6237639172 & 115.376236082799 \tabularnewline
46 & 1997 & 1935.04391507665 & 61.9560849233543 \tabularnewline
47 & 2207 & 2105.93515192632 & 101.064848073677 \tabularnewline
48 & 2453 & 2356.42511617961 & 96.5748838203896 \tabularnewline
49 & 1948 & 2288.47807220769 & -340.47807220769 \tabularnewline
50 & 1384 & 2000.42578541449 & -616.425785414492 \tabularnewline
51 & 1989 & 2323.57204013753 & -334.572040137527 \tabularnewline
52 & 2140 & 2269.76816923767 & -129.768169237675 \tabularnewline
53 & 2100 & 2082.27152333836 & 17.7284766616413 \tabularnewline
54 & 2045 & 2088.9856158723 & -43.9856158723002 \tabularnewline
55 & 2083 & 1905.29583750639 & 177.70416249361 \tabularnewline
56 & 2022 & 1904.61913032380 & 117.380869676197 \tabularnewline
57 & 1950 & 1875.3024394864 & 74.6975605135999 \tabularnewline
58 & 1422 & 2013.93722653429 & -591.937226534293 \tabularnewline
59 & 1859 & 2181.07001174391 & -322.070011743912 \tabularnewline
60 & 2147 & 2437.09026912472 & -290.090269124715 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57501&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]1901[/C][C]1943.96474874864[/C][C]-42.9647487486426[/C][/ROW]
[ROW][C]2[/C][C]1395[/C][C]1658.06014860691[/C][C]-263.060148606905[/C][/ROW]
[ROW][C]3[/C][C]1639[/C][C]2000.26712236167[/C][C]-361.267122361669[/C][/ROW]
[ROW][C]4[/C][C]1643[/C][C]1914.62379685389[/C][C]-271.623796853887[/C][/ROW]
[ROW][C]5[/C][C]1751[/C][C]1727.98622561516[/C][C]23.0137743848437[/C][/ROW]
[ROW][C]6[/C][C]1797[/C][C]1740.33799560919[/C][C]56.6620043908133[/C][/ROW]
[ROW][C]7[/C][C]1373[/C][C]1544.24532683108[/C][C]-171.245326831081[/C][/ROW]
[ROW][C]8[/C][C]1558[/C][C]1550.28014043431[/C][C]7.71985956568655[/C][/ROW]
[ROW][C]9[/C][C]1555[/C][C]1518.76207077916[/C][C]36.2379292208376[/C][/ROW]
[ROW][C]10[/C][C]2061[/C][C]1659.86669747624[/C][C]401.133302523763[/C][/ROW]
[ROW][C]11[/C][C]2010[/C][C]1840.42252425750[/C][C]169.577475742504[/C][/ROW]
[ROW][C]12[/C][C]2119[/C][C]2091.55679450622[/C][C]27.4432054937782[/C][/ROW]
[ROW][C]13[/C][C]1985[/C][C]2046.32153687352[/C][C]-61.3215368735163[/C][/ROW]
[ROW][C]14[/C][C]1963[/C][C]1735.12792641081[/C][C]227.872073589189[/C][/ROW]
[ROW][C]15[/C][C]2017[/C][C]2075.61675084440[/C][C]-58.6167508444045[/C][/ROW]
[ROW][C]16[/C][C]1975[/C][C]1992.98018664867[/C][C]-17.9801866486696[/C][/ROW]
[ROW][C]17[/C][C]1589[/C][C]1816.54412700439[/C][C]-227.544127004385[/C][/ROW]
[ROW][C]18[/C][C]1679[/C][C]1819.39238356569[/C][C]-140.392383565694[/C][/ROW]
[ROW][C]19[/C][C]1392[/C][C]1620.23926130925[/C][C]-228.239261309255[/C][/ROW]
[ROW][C]20[/C][C]1511[/C][C]1634.00574685775[/C][C]-123.005746857752[/C][/ROW]
[ROW][C]21[/C][C]1449[/C][C]1600.93060438029[/C][C]-151.930604380290[/C][/ROW]
[ROW][C]22[/C][C]1767[/C][C]1753.04212516611[/C][C]13.9578748338893[/C][/ROW]
[ROW][C]23[/C][C]1899[/C][C]1921.57090669918[/C][C]-22.5709066991798[/C][/ROW]
[ROW][C]24[/C][C]2179[/C][C]2166.90642298896[/C][C]12.0935770110430[/C][/ROW]
[ROW][C]25[/C][C]2217[/C][C]2122.42285568426[/C][C]94.5771443157367[/C][/ROW]
[ROW][C]26[/C][C]2049[/C][C]1828.62550709840[/C][C]220.374492901596[/C][/ROW]
[ROW][C]27[/C][C]2343[/C][C]2149.14084567340[/C][C]193.859154326604[/C][/ROW]
[ROW][C]28[/C][C]2175[/C][C]2091.09529363691[/C][C]83.9047063630936[/C][/ROW]
[ROW][C]29[/C][C]1607[/C][C]1903.86710856902[/C][C]-296.867108569023[/C][/ROW]
[ROW][C]30[/C][C]1702[/C][C]1901.72199366568[/C][C]-199.721993665682[/C][/ROW]
[ROW][C]31[/C][C]1764[/C][C]1723.18666326328[/C][C]40.8133367367182[/C][/ROW]
[ROW][C]32[/C][C]1766[/C][C]1732.76515984143[/C][C]33.2348401585723[/C][/ROW]
[ROW][C]33[/C][C]1615[/C][C]1689.38112143695[/C][C]-74.3811214369463[/C][/ROW]
[ROW][C]34[/C][C]1953[/C][C]1838.11003574671[/C][C]114.889964253287[/C][/ROW]
[ROW][C]35[/C][C]2091[/C][C]2017.00140537309[/C][C]73.9985946269115[/C][/ROW]
[ROW][C]36[/C][C]2411[/C][C]2257.02139720050[/C][C]153.978602799504[/C][/ROW]
[ROW][C]37[/C][C]2550[/C][C]2199.81278648589[/C][C]350.187213514112[/C][/ROW]
[ROW][C]38[/C][C]2351[/C][C]1919.76063246939[/C][C]431.239367530612[/C][/ROW]
[ROW][C]39[/C][C]2786[/C][C]2225.40324098300[/C][C]560.596759016997[/C][/ROW]
[ROW][C]40[/C][C]2525[/C][C]2189.53255362286[/C][C]335.467446377138[/C][/ROW]
[ROW][C]41[/C][C]2474[/C][C]1990.33101547308[/C][C]483.668984526924[/C][/ROW]
[ROW][C]42[/C][C]2332[/C][C]2004.56201128714[/C][C]327.437988712863[/C][/ROW]
[ROW][C]43[/C][C]1978[/C][C]1797.03291108999[/C][C]180.967088910007[/C][/ROW]
[ROW][C]44[/C][C]1789[/C][C]1824.32982254270[/C][C]-35.329822542704[/C][/ROW]
[ROW][C]45[/C][C]1904[/C][C]1788.6237639172[/C][C]115.376236082799[/C][/ROW]
[ROW][C]46[/C][C]1997[/C][C]1935.04391507665[/C][C]61.9560849233543[/C][/ROW]
[ROW][C]47[/C][C]2207[/C][C]2105.93515192632[/C][C]101.064848073677[/C][/ROW]
[ROW][C]48[/C][C]2453[/C][C]2356.42511617961[/C][C]96.5748838203896[/C][/ROW]
[ROW][C]49[/C][C]1948[/C][C]2288.47807220769[/C][C]-340.47807220769[/C][/ROW]
[ROW][C]50[/C][C]1384[/C][C]2000.42578541449[/C][C]-616.425785414492[/C][/ROW]
[ROW][C]51[/C][C]1989[/C][C]2323.57204013753[/C][C]-334.572040137527[/C][/ROW]
[ROW][C]52[/C][C]2140[/C][C]2269.76816923767[/C][C]-129.768169237675[/C][/ROW]
[ROW][C]53[/C][C]2100[/C][C]2082.27152333836[/C][C]17.7284766616413[/C][/ROW]
[ROW][C]54[/C][C]2045[/C][C]2088.9856158723[/C][C]-43.9856158723002[/C][/ROW]
[ROW][C]55[/C][C]2083[/C][C]1905.29583750639[/C][C]177.70416249361[/C][/ROW]
[ROW][C]56[/C][C]2022[/C][C]1904.61913032380[/C][C]117.380869676197[/C][/ROW]
[ROW][C]57[/C][C]1950[/C][C]1875.3024394864[/C][C]74.6975605135999[/C][/ROW]
[ROW][C]58[/C][C]1422[/C][C]2013.93722653429[/C][C]-591.937226534293[/C][/ROW]
[ROW][C]59[/C][C]1859[/C][C]2181.07001174391[/C][C]-322.070011743912[/C][/ROW]
[ROW][C]60[/C][C]2147[/C][C]2437.09026912472[/C][C]-290.090269124715[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57501&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57501&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
119011943.96474874864-42.9647487486426
213951658.06014860691-263.060148606905
316392000.26712236167-361.267122361669
416431914.62379685389-271.623796853887
517511727.9862256151623.0137743848437
617971740.3379956091956.6620043908133
713731544.24532683108-171.245326831081
815581550.280140434317.71985956568655
915551518.7620707791636.2379292208376
1020611659.86669747624401.133302523763
1120101840.42252425750169.577475742504
1221192091.5567945062227.4432054937782
1319852046.32153687352-61.3215368735163
1419631735.12792641081227.872073589189
1520172075.61675084440-58.6167508444045
1619751992.98018664867-17.9801866486696
1715891816.54412700439-227.544127004385
1816791819.39238356569-140.392383565694
1913921620.23926130925-228.239261309255
2015111634.00574685775-123.005746857752
2114491600.93060438029-151.930604380290
2217671753.0421251661113.9578748338893
2318991921.57090669918-22.5709066991798
2421792166.9064229889612.0935770110430
2522172122.4228556842694.5771443157367
2620491828.62550709840220.374492901596
2723432149.14084567340193.859154326604
2821752091.0952936369183.9047063630936
2916071903.86710856902-296.867108569023
3017021901.72199366568-199.721993665682
3117641723.1866632632840.8133367367182
3217661732.7651598414333.2348401585723
3316151689.38112143695-74.3811214369463
3419531838.11003574671114.889964253287
3520912017.0014053730973.9985946269115
3624112257.02139720050153.978602799504
3725502199.81278648589350.187213514112
3823511919.76063246939431.239367530612
3927862225.40324098300560.596759016997
4025252189.53255362286335.467446377138
4124741990.33101547308483.668984526924
4223322004.56201128714327.437988712863
4319781797.03291108999180.967088910007
4417891824.32982254270-35.329822542704
4519041788.6237639172115.376236082799
4619971935.0439150766561.9560849233543
4722072105.93515192632101.064848073677
4824532356.4251161796196.5748838203896
4919482288.47807220769-340.47807220769
5013842000.42578541449-616.425785414492
5119892323.57204013753-334.572040137527
5221402269.76816923767-129.768169237675
5321002082.2715233383617.7284766616413
5420452088.9856158723-43.9856158723002
5520831905.29583750639177.70416249361
5620221904.61913032380117.380869676197
5719501875.302439486474.6975605135999
5814222013.93722653429-591.937226534293
5918592181.07001174391-322.070011743912
6021472437.09026912472-290.090269124715







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2334005014513950.4668010029027910.766599498548605
180.2946164058236070.5892328116472150.705383594176393
190.2292238360616630.4584476721233260.770776163938337
200.1563081577728420.3126163155456840.843691842227158
210.1204801703668880.2409603407337770.879519829633112
220.09145917698195090.1829183539639020.908540823018049
230.06253901431093030.1250780286218610.93746098568907
240.03496545071191130.06993090142382260.965034549288089
250.0268055816463950.053611163292790.973194418353605
260.02660280139060940.05320560278121870.97339719860939
270.01836223764486180.03672447528972360.981637762355138
280.01559901949070770.03119803898141530.984400980509292
290.03117841939511110.06235683879022230.968821580604889
300.03810077805240570.07620155610481130.961899221947594
310.06000586135058940.1200117227011790.93999413864941
320.05505148200121640.1101029640024330.944948517998784
330.07018474613600060.1403694922720010.929815253864
340.04606729207866070.09213458415732140.95393270792134
350.04517492019193850.0903498403838770.954825079808062
360.0378963956014280.0757927912028560.962103604398572
370.03352336073905450.06704672147810910.966476639260945
380.1147914048424830.2295828096849660.885208595157517
390.4206370402986470.8412740805972940.579362959701353
400.3887215992064640.7774431984129290.611278400793536
410.4531860205728460.9063720411456910.546813979427154
420.3512045152448520.7024090304897040.648795484755148
430.2783906898223250.5567813796446490.721609310177675

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.233400501451395 & 0.466801002902791 & 0.766599498548605 \tabularnewline
18 & 0.294616405823607 & 0.589232811647215 & 0.705383594176393 \tabularnewline
19 & 0.229223836061663 & 0.458447672123326 & 0.770776163938337 \tabularnewline
20 & 0.156308157772842 & 0.312616315545684 & 0.843691842227158 \tabularnewline
21 & 0.120480170366888 & 0.240960340733777 & 0.879519829633112 \tabularnewline
22 & 0.0914591769819509 & 0.182918353963902 & 0.908540823018049 \tabularnewline
23 & 0.0625390143109303 & 0.125078028621861 & 0.93746098568907 \tabularnewline
24 & 0.0349654507119113 & 0.0699309014238226 & 0.965034549288089 \tabularnewline
25 & 0.026805581646395 & 0.05361116329279 & 0.973194418353605 \tabularnewline
26 & 0.0266028013906094 & 0.0532056027812187 & 0.97339719860939 \tabularnewline
27 & 0.0183622376448618 & 0.0367244752897236 & 0.981637762355138 \tabularnewline
28 & 0.0155990194907077 & 0.0311980389814153 & 0.984400980509292 \tabularnewline
29 & 0.0311784193951111 & 0.0623568387902223 & 0.968821580604889 \tabularnewline
30 & 0.0381007780524057 & 0.0762015561048113 & 0.961899221947594 \tabularnewline
31 & 0.0600058613505894 & 0.120011722701179 & 0.93999413864941 \tabularnewline
32 & 0.0550514820012164 & 0.110102964002433 & 0.944948517998784 \tabularnewline
33 & 0.0701847461360006 & 0.140369492272001 & 0.929815253864 \tabularnewline
34 & 0.0460672920786607 & 0.0921345841573214 & 0.95393270792134 \tabularnewline
35 & 0.0451749201919385 & 0.090349840383877 & 0.954825079808062 \tabularnewline
36 & 0.037896395601428 & 0.075792791202856 & 0.962103604398572 \tabularnewline
37 & 0.0335233607390545 & 0.0670467214781091 & 0.966476639260945 \tabularnewline
38 & 0.114791404842483 & 0.229582809684966 & 0.885208595157517 \tabularnewline
39 & 0.420637040298647 & 0.841274080597294 & 0.579362959701353 \tabularnewline
40 & 0.388721599206464 & 0.777443198412929 & 0.611278400793536 \tabularnewline
41 & 0.453186020572846 & 0.906372041145691 & 0.546813979427154 \tabularnewline
42 & 0.351204515244852 & 0.702409030489704 & 0.648795484755148 \tabularnewline
43 & 0.278390689822325 & 0.556781379644649 & 0.721609310177675 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57501&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]17[/C][C]0.233400501451395[/C][C]0.466801002902791[/C][C]0.766599498548605[/C][/ROW]
[ROW][C]18[/C][C]0.294616405823607[/C][C]0.589232811647215[/C][C]0.705383594176393[/C][/ROW]
[ROW][C]19[/C][C]0.229223836061663[/C][C]0.458447672123326[/C][C]0.770776163938337[/C][/ROW]
[ROW][C]20[/C][C]0.156308157772842[/C][C]0.312616315545684[/C][C]0.843691842227158[/C][/ROW]
[ROW][C]21[/C][C]0.120480170366888[/C][C]0.240960340733777[/C][C]0.879519829633112[/C][/ROW]
[ROW][C]22[/C][C]0.0914591769819509[/C][C]0.182918353963902[/C][C]0.908540823018049[/C][/ROW]
[ROW][C]23[/C][C]0.0625390143109303[/C][C]0.125078028621861[/C][C]0.93746098568907[/C][/ROW]
[ROW][C]24[/C][C]0.0349654507119113[/C][C]0.0699309014238226[/C][C]0.965034549288089[/C][/ROW]
[ROW][C]25[/C][C]0.026805581646395[/C][C]0.05361116329279[/C][C]0.973194418353605[/C][/ROW]
[ROW][C]26[/C][C]0.0266028013906094[/C][C]0.0532056027812187[/C][C]0.97339719860939[/C][/ROW]
[ROW][C]27[/C][C]0.0183622376448618[/C][C]0.0367244752897236[/C][C]0.981637762355138[/C][/ROW]
[ROW][C]28[/C][C]0.0155990194907077[/C][C]0.0311980389814153[/C][C]0.984400980509292[/C][/ROW]
[ROW][C]29[/C][C]0.0311784193951111[/C][C]0.0623568387902223[/C][C]0.968821580604889[/C][/ROW]
[ROW][C]30[/C][C]0.0381007780524057[/C][C]0.0762015561048113[/C][C]0.961899221947594[/C][/ROW]
[ROW][C]31[/C][C]0.0600058613505894[/C][C]0.120011722701179[/C][C]0.93999413864941[/C][/ROW]
[ROW][C]32[/C][C]0.0550514820012164[/C][C]0.110102964002433[/C][C]0.944948517998784[/C][/ROW]
[ROW][C]33[/C][C]0.0701847461360006[/C][C]0.140369492272001[/C][C]0.929815253864[/C][/ROW]
[ROW][C]34[/C][C]0.0460672920786607[/C][C]0.0921345841573214[/C][C]0.95393270792134[/C][/ROW]
[ROW][C]35[/C][C]0.0451749201919385[/C][C]0.090349840383877[/C][C]0.954825079808062[/C][/ROW]
[ROW][C]36[/C][C]0.037896395601428[/C][C]0.075792791202856[/C][C]0.962103604398572[/C][/ROW]
[ROW][C]37[/C][C]0.0335233607390545[/C][C]0.0670467214781091[/C][C]0.966476639260945[/C][/ROW]
[ROW][C]38[/C][C]0.114791404842483[/C][C]0.229582809684966[/C][C]0.885208595157517[/C][/ROW]
[ROW][C]39[/C][C]0.420637040298647[/C][C]0.841274080597294[/C][C]0.579362959701353[/C][/ROW]
[ROW][C]40[/C][C]0.388721599206464[/C][C]0.777443198412929[/C][C]0.611278400793536[/C][/ROW]
[ROW][C]41[/C][C]0.453186020572846[/C][C]0.906372041145691[/C][C]0.546813979427154[/C][/ROW]
[ROW][C]42[/C][C]0.351204515244852[/C][C]0.702409030489704[/C][C]0.648795484755148[/C][/ROW]
[ROW][C]43[/C][C]0.278390689822325[/C][C]0.556781379644649[/C][C]0.721609310177675[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57501&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57501&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
170.2334005014513950.4668010029027910.766599498548605
180.2946164058236070.5892328116472150.705383594176393
190.2292238360616630.4584476721233260.770776163938337
200.1563081577728420.3126163155456840.843691842227158
210.1204801703668880.2409603407337770.879519829633112
220.09145917698195090.1829183539639020.908540823018049
230.06253901431093030.1250780286218610.93746098568907
240.03496545071191130.06993090142382260.965034549288089
250.0268055816463950.053611163292790.973194418353605
260.02660280139060940.05320560278121870.97339719860939
270.01836223764486180.03672447528972360.981637762355138
280.01559901949070770.03119803898141530.984400980509292
290.03117841939511110.06235683879022230.968821580604889
300.03810077805240570.07620155610481130.961899221947594
310.06000586135058940.1200117227011790.93999413864941
320.05505148200121640.1101029640024330.944948517998784
330.07018474613600060.1403694922720010.929815253864
340.04606729207866070.09213458415732140.95393270792134
350.04517492019193850.0903498403838770.954825079808062
360.0378963956014280.0757927912028560.962103604398572
370.03352336073905450.06704672147810910.966476639260945
380.1147914048424830.2295828096849660.885208595157517
390.4206370402986470.8412740805972940.579362959701353
400.3887215992064640.7774431984129290.611278400793536
410.4531860205728460.9063720411456910.546813979427154
420.3512045152448520.7024090304897040.648795484755148
430.2783906898223250.5567813796446490.721609310177675







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0740740740740741NOK
10% type I error level110.407407407407407NOK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 2 & 0.0740740740740741 & NOK \tabularnewline
10% type I error level & 11 & 0.407407407407407 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57501&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]2[/C][C]0.0740740740740741[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]11[/C][C]0.407407407407407[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57501&T=6

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0740740740740741NOK
10% type I error level110.407407407407407NOK



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