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 computationSun, 22 Nov 2009 09:29:30 -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/22/t1258907447afqy3rzrcvez7s5.htm/, Retrieved Sun, 28 Apr 2024 14:49:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58659, Retrieved Sun, 28 Apr 2024 14:49:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKVN WS7
Estimated Impact212
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 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [Workshop 7: Multi...] [2009-11-19 17:54:57] [1433a524809eda02c3198b3ae6eebb69]
-   PD        [Multiple Regression] [Multiple Regressi...] [2009-11-22 16:29:30] [f1100e00818182135823a11ccbd0f3b9] [Current]
-    D          [Multiple Regression] [Multiple Linear R...] [2009-12-15 21:18:54] [1b4c3bbe3f2ba180dd536c5a6a81a8e6]
Feedback Forum

Post a new message
Dataseries X:
9487	1169
8700	2154
9627	2249
8947	2687
9283	4359
8829	5382
9947	4459
9628	6398
9318	4596
9605	3024
8640	1887
9214	2070
9567	1351
8547	2218
9185	2461
9470	3028
9123	4784
9278	4975
10170	4607
9434	6249
9655	4809
9429	3157
8739	1910
9552	2228
9687	1594
9019	2467
9672	2222
9206	3607
9069	4685
9788	4962
10312	5770
10105	5480
9863	5000
9656	3228
9295	1993
9946	2288
9701	1580
9049	2111
10190	2192
9706	3601
9765	4665
9893	4876
9994	5813
10433	5589
10073	5331
10112	3075
9266	2002
9820	2306
10097	1507
9115	1992
10411	2487
9678	3490
10408	4647
10153	5594
10368	5611
10581	5788
10597	6204
10680	3013
9738	1931
9556	2549




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58659&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]3 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=58659&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 9387.4473706367 -0.208349443842813X[t] + 129.516229799319M1[t] -556.032767060951M2[t] + 383.208337781761M3[t] + 148.071092904942M4[t] + 536.948383907607M5[t] + 686.295868512073M6[t] + 1256.28633537861M7[t] + 1249.82740380037M8[t] + 946.679869485758M9[t] + 487.085170332202M10[t] -533.952818160934M11[t] + 19.6360507434562t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  9387.4473706367 -0.208349443842813X[t] +  129.516229799319M1[t] -556.032767060951M2[t] +  383.208337781761M3[t] +  148.071092904942M4[t] +  536.948383907607M5[t] +  686.295868512073M6[t] +  1256.28633537861M7[t] +  1249.82740380037M8[t] +  946.679869485758M9[t] +  487.085170332202M10[t] -533.952818160934M11[t] +  19.6360507434562t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58659&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  9387.4473706367 -0.208349443842813X[t] +  129.516229799319M1[t] -556.032767060951M2[t] +  383.208337781761M3[t] +  148.071092904942M4[t] +  536.948383907607M5[t] +  686.295868512073M6[t] +  1256.28633537861M7[t] +  1249.82740380037M8[t] +  946.679869485758M9[t] +  487.085170332202M10[t] -533.952818160934M11[t] +  19.6360507434562t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58659&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 9387.4473706367 -0.208349443842813X[t] + 129.516229799319M1[t] -556.032767060951M2[t] + 383.208337781761M3[t] + 148.071092904942M4[t] + 536.948383907607M5[t] + 686.295868512073M6[t] + 1256.28633537861M7[t] + 1249.82740380037M8[t] + 946.679869485758M9[t] + 487.085170332202M10[t] -533.952818160934M11[t] + 19.6360507434562t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)9387.4473706367248.82898637.726500
X-0.2083494438428130.106474-1.95680.0564560.028228
M1129.516229799319169.9288780.76220.4498440.224922
M2-556.032767060951148.61417-3.74150.0005060.000253
M3383.208337781761148.7404682.57640.013260.00663
M4148.071092904942185.6792480.79750.4292830.214642
M5536.948383907607294.3098681.82440.0745860.037293
M6686.295868512073343.5003511.99790.0516550.025827
M71256.28633537861351.8508523.57050.0008480.000424
M81249.82740380037414.8229583.01290.0041970.002099
M9946.679869485758344.2528642.750.0084920.004246
M10487.085170332202171.740942.83620.0067660.003383
M11-533.952818160934151.818432-3.5170.0009940.000497
t19.63605074345621.92574610.196600

\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) & 9387.4473706367 & 248.828986 & 37.7265 & 0 & 0 \tabularnewline
X & -0.208349443842813 & 0.106474 & -1.9568 & 0.056456 & 0.028228 \tabularnewline
M1 & 129.516229799319 & 169.928878 & 0.7622 & 0.449844 & 0.224922 \tabularnewline
M2 & -556.032767060951 & 148.61417 & -3.7415 & 0.000506 & 0.000253 \tabularnewline
M3 & 383.208337781761 & 148.740468 & 2.5764 & 0.01326 & 0.00663 \tabularnewline
M4 & 148.071092904942 & 185.679248 & 0.7975 & 0.429283 & 0.214642 \tabularnewline
M5 & 536.948383907607 & 294.309868 & 1.8244 & 0.074586 & 0.037293 \tabularnewline
M6 & 686.295868512073 & 343.500351 & 1.9979 & 0.051655 & 0.025827 \tabularnewline
M7 & 1256.28633537861 & 351.850852 & 3.5705 & 0.000848 & 0.000424 \tabularnewline
M8 & 1249.82740380037 & 414.822958 & 3.0129 & 0.004197 & 0.002099 \tabularnewline
M9 & 946.679869485758 & 344.252864 & 2.75 & 0.008492 & 0.004246 \tabularnewline
M10 & 487.085170332202 & 171.74094 & 2.8362 & 0.006766 & 0.003383 \tabularnewline
M11 & -533.952818160934 & 151.818432 & -3.517 & 0.000994 & 0.000497 \tabularnewline
t & 19.6360507434562 & 1.925746 & 10.1966 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58659&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]9387.4473706367[/C][C]248.828986[/C][C]37.7265[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-0.208349443842813[/C][C]0.106474[/C][C]-1.9568[/C][C]0.056456[/C][C]0.028228[/C][/ROW]
[ROW][C]M1[/C][C]129.516229799319[/C][C]169.928878[/C][C]0.7622[/C][C]0.449844[/C][C]0.224922[/C][/ROW]
[ROW][C]M2[/C][C]-556.032767060951[/C][C]148.61417[/C][C]-3.7415[/C][C]0.000506[/C][C]0.000253[/C][/ROW]
[ROW][C]M3[/C][C]383.208337781761[/C][C]148.740468[/C][C]2.5764[/C][C]0.01326[/C][C]0.00663[/C][/ROW]
[ROW][C]M4[/C][C]148.071092904942[/C][C]185.679248[/C][C]0.7975[/C][C]0.429283[/C][C]0.214642[/C][/ROW]
[ROW][C]M5[/C][C]536.948383907607[/C][C]294.309868[/C][C]1.8244[/C][C]0.074586[/C][C]0.037293[/C][/ROW]
[ROW][C]M6[/C][C]686.295868512073[/C][C]343.500351[/C][C]1.9979[/C][C]0.051655[/C][C]0.025827[/C][/ROW]
[ROW][C]M7[/C][C]1256.28633537861[/C][C]351.850852[/C][C]3.5705[/C][C]0.000848[/C][C]0.000424[/C][/ROW]
[ROW][C]M8[/C][C]1249.82740380037[/C][C]414.822958[/C][C]3.0129[/C][C]0.004197[/C][C]0.002099[/C][/ROW]
[ROW][C]M9[/C][C]946.679869485758[/C][C]344.252864[/C][C]2.75[/C][C]0.008492[/C][C]0.004246[/C][/ROW]
[ROW][C]M10[/C][C]487.085170332202[/C][C]171.74094[/C][C]2.8362[/C][C]0.006766[/C][C]0.003383[/C][/ROW]
[ROW][C]M11[/C][C]-533.952818160934[/C][C]151.818432[/C][C]-3.517[/C][C]0.000994[/C][C]0.000497[/C][/ROW]
[ROW][C]t[/C][C]19.6360507434562[/C][C]1.925746[/C][C]10.1966[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58659&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58659&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)9387.4473706367248.82898637.726500
X-0.2083494438428130.106474-1.95680.0564560.028228
M1129.516229799319169.9288780.76220.4498440.224922
M2-556.032767060951148.61417-3.74150.0005060.000253
M3383.208337781761148.7404682.57640.013260.00663
M4148.071092904942185.6792480.79750.4292830.214642
M5536.948383907607294.3098681.82440.0745860.037293
M6686.295868512073343.5003511.99790.0516550.025827
M71256.28633537861351.8508523.57050.0008480.000424
M81249.82740380037414.8229583.01290.0041970.002099
M9946.679869485758344.2528642.750.0084920.004246
M10487.085170332202171.740942.83620.0067660.003383
M11-533.952818160934151.818432-3.5170.0009940.000497
t19.63605074345621.92574610.196600







Multiple Linear Regression - Regression Statistics
Multiple R0.917773465845367
R-squared0.842308134609817
Adjusted R-squared0.797743042216939
F-TEST (value)18.9006257898936
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value3.16413562018170e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation233.245923115510
Sum Squared Residuals2502568.3899003

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.917773465845367 \tabularnewline
R-squared & 0.842308134609817 \tabularnewline
Adjusted R-squared & 0.797743042216939 \tabularnewline
F-TEST (value) & 18.9006257898936 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 3.16413562018170e-14 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 233.245923115510 \tabularnewline
Sum Squared Residuals & 2502568.3899003 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58659&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.917773465845367[/C][/ROW]
[ROW][C]R-squared[/C][C]0.842308134609817[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.797743042216939[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]18.9006257898936[/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]3.16413562018170e-14[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]233.245923115510[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2502568.3899003[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58659&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58659&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.917773465845367
R-squared0.842308134609817
Adjusted R-squared0.797743042216939
F-TEST (value)18.9006257898936
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value3.16413562018170e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation233.245923115510
Sum Squared Residuals2502568.3899003







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
194879293.0391513272193.960848672802
287008421.90200302524278.097996974755
396279360.98596144635266.014038553654
489479054.22771090983-107.227710909832
592839114.38078255077168.619217449232
688299070.2228368475-241.222836847493
799479852.155891124494.8441088755972
896289461.3434386784166.656561321594
993189553.277652912-235.277652911996
1096059440.8443302228164.1556697772
1186408676.3357101224-36.3357101223976
1292149191.7966308035522.2033691964461
1395679490.7521614693176.2478385306889
1485478644.20024754078-97.2002475407793
1591859552.44848827314-367.448488273143
1694709218.8131594809251.186840519094
1791239261.46487783905-138.464877839047
1892789390.653669413-112.653669412992
191017010056.9527823571113.04721764286
2094349728.02011473246-294.020114732459
2196559744.53183029495-89.5318302949524
2294299648.76646311318-219.76646311318
2387398907.17628183549-168.176281835487
2495529394.51002759786157.489972402137
2596879675.7558555369811.2441444630183
2690198827.9538449454191.046155054608
2796729837.87661427305-165.87661427305
2892069333.8114404174-127.811440417392
2990699517.72408170096-448.72408170096
3097889628.99482110442159.005178895577
311031210050.2749880894261.725011910577
321010510123.8734459691-18.8734459690554
3398639940.36969544245-77.3696954424489
3496569869.60626152181-213.606261521814
3592959125.515886918169.484113081992
3699469617.64166988877328.358330111231
3797019914.30535667226-213.305356672255
3890499137.7588558749-88.7588558749075
391019010079.7597065098110.240293490192
4097069570.69414600192135.305853998078
4197659757.52367949937.47632050070986
4298939882.5454821963810.4545178036213
43999410276.9485709257-282.948570925656
441043310336.795965511796.204034488337
451007310107.0386384520-34.0386384519522
461011210137.1163353512-25.1163353512387
4792669359.2733508449-93.2733508448967
4898209849.52398882107-29.523988821072
491009710165.1474749943-68.1474749942544
5091159398.18504861368-283.185048613676
511041110253.9292294977157.070770502348
5296789829.45354318995-151.453543189949
53104089996.90657840993411.093421590065
54101539968.58319043871184.416809561287
551036810554.6677675034-186.667767503378
561058110530.967035108450.032964891583
571059710160.7821828987436.217817101349
581068010385.6666097910294.333390209033
5997389609.69877027921128.301229720790
60955610034.5276828887-478.527682888742

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9487 & 9293.0391513272 & 193.960848672802 \tabularnewline
2 & 8700 & 8421.90200302524 & 278.097996974755 \tabularnewline
3 & 9627 & 9360.98596144635 & 266.014038553654 \tabularnewline
4 & 8947 & 9054.22771090983 & -107.227710909832 \tabularnewline
5 & 9283 & 9114.38078255077 & 168.619217449232 \tabularnewline
6 & 8829 & 9070.2228368475 & -241.222836847493 \tabularnewline
7 & 9947 & 9852.1558911244 & 94.8441088755972 \tabularnewline
8 & 9628 & 9461.3434386784 & 166.656561321594 \tabularnewline
9 & 9318 & 9553.277652912 & -235.277652911996 \tabularnewline
10 & 9605 & 9440.8443302228 & 164.1556697772 \tabularnewline
11 & 8640 & 8676.3357101224 & -36.3357101223976 \tabularnewline
12 & 9214 & 9191.79663080355 & 22.2033691964461 \tabularnewline
13 & 9567 & 9490.75216146931 & 76.2478385306889 \tabularnewline
14 & 8547 & 8644.20024754078 & -97.2002475407793 \tabularnewline
15 & 9185 & 9552.44848827314 & -367.448488273143 \tabularnewline
16 & 9470 & 9218.8131594809 & 251.186840519094 \tabularnewline
17 & 9123 & 9261.46487783905 & -138.464877839047 \tabularnewline
18 & 9278 & 9390.653669413 & -112.653669412992 \tabularnewline
19 & 10170 & 10056.9527823571 & 113.04721764286 \tabularnewline
20 & 9434 & 9728.02011473246 & -294.020114732459 \tabularnewline
21 & 9655 & 9744.53183029495 & -89.5318302949524 \tabularnewline
22 & 9429 & 9648.76646311318 & -219.76646311318 \tabularnewline
23 & 8739 & 8907.17628183549 & -168.176281835487 \tabularnewline
24 & 9552 & 9394.51002759786 & 157.489972402137 \tabularnewline
25 & 9687 & 9675.75585553698 & 11.2441444630183 \tabularnewline
26 & 9019 & 8827.9538449454 & 191.046155054608 \tabularnewline
27 & 9672 & 9837.87661427305 & -165.87661427305 \tabularnewline
28 & 9206 & 9333.8114404174 & -127.811440417392 \tabularnewline
29 & 9069 & 9517.72408170096 & -448.72408170096 \tabularnewline
30 & 9788 & 9628.99482110442 & 159.005178895577 \tabularnewline
31 & 10312 & 10050.2749880894 & 261.725011910577 \tabularnewline
32 & 10105 & 10123.8734459691 & -18.8734459690554 \tabularnewline
33 & 9863 & 9940.36969544245 & -77.3696954424489 \tabularnewline
34 & 9656 & 9869.60626152181 & -213.606261521814 \tabularnewline
35 & 9295 & 9125.515886918 & 169.484113081992 \tabularnewline
36 & 9946 & 9617.64166988877 & 328.358330111231 \tabularnewline
37 & 9701 & 9914.30535667226 & -213.305356672255 \tabularnewline
38 & 9049 & 9137.7588558749 & -88.7588558749075 \tabularnewline
39 & 10190 & 10079.7597065098 & 110.240293490192 \tabularnewline
40 & 9706 & 9570.69414600192 & 135.305853998078 \tabularnewline
41 & 9765 & 9757.5236794993 & 7.47632050070986 \tabularnewline
42 & 9893 & 9882.54548219638 & 10.4545178036213 \tabularnewline
43 & 9994 & 10276.9485709257 & -282.948570925656 \tabularnewline
44 & 10433 & 10336.7959655117 & 96.204034488337 \tabularnewline
45 & 10073 & 10107.0386384520 & -34.0386384519522 \tabularnewline
46 & 10112 & 10137.1163353512 & -25.1163353512387 \tabularnewline
47 & 9266 & 9359.2733508449 & -93.2733508448967 \tabularnewline
48 & 9820 & 9849.52398882107 & -29.523988821072 \tabularnewline
49 & 10097 & 10165.1474749943 & -68.1474749942544 \tabularnewline
50 & 9115 & 9398.18504861368 & -283.185048613676 \tabularnewline
51 & 10411 & 10253.9292294977 & 157.070770502348 \tabularnewline
52 & 9678 & 9829.45354318995 & -151.453543189949 \tabularnewline
53 & 10408 & 9996.90657840993 & 411.093421590065 \tabularnewline
54 & 10153 & 9968.58319043871 & 184.416809561287 \tabularnewline
55 & 10368 & 10554.6677675034 & -186.667767503378 \tabularnewline
56 & 10581 & 10530.9670351084 & 50.032964891583 \tabularnewline
57 & 10597 & 10160.7821828987 & 436.217817101349 \tabularnewline
58 & 10680 & 10385.6666097910 & 294.333390209033 \tabularnewline
59 & 9738 & 9609.69877027921 & 128.301229720790 \tabularnewline
60 & 9556 & 10034.5276828887 & -478.527682888742 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58659&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]9487[/C][C]9293.0391513272[/C][C]193.960848672802[/C][/ROW]
[ROW][C]2[/C][C]8700[/C][C]8421.90200302524[/C][C]278.097996974755[/C][/ROW]
[ROW][C]3[/C][C]9627[/C][C]9360.98596144635[/C][C]266.014038553654[/C][/ROW]
[ROW][C]4[/C][C]8947[/C][C]9054.22771090983[/C][C]-107.227710909832[/C][/ROW]
[ROW][C]5[/C][C]9283[/C][C]9114.38078255077[/C][C]168.619217449232[/C][/ROW]
[ROW][C]6[/C][C]8829[/C][C]9070.2228368475[/C][C]-241.222836847493[/C][/ROW]
[ROW][C]7[/C][C]9947[/C][C]9852.1558911244[/C][C]94.8441088755972[/C][/ROW]
[ROW][C]8[/C][C]9628[/C][C]9461.3434386784[/C][C]166.656561321594[/C][/ROW]
[ROW][C]9[/C][C]9318[/C][C]9553.277652912[/C][C]-235.277652911996[/C][/ROW]
[ROW][C]10[/C][C]9605[/C][C]9440.8443302228[/C][C]164.1556697772[/C][/ROW]
[ROW][C]11[/C][C]8640[/C][C]8676.3357101224[/C][C]-36.3357101223976[/C][/ROW]
[ROW][C]12[/C][C]9214[/C][C]9191.79663080355[/C][C]22.2033691964461[/C][/ROW]
[ROW][C]13[/C][C]9567[/C][C]9490.75216146931[/C][C]76.2478385306889[/C][/ROW]
[ROW][C]14[/C][C]8547[/C][C]8644.20024754078[/C][C]-97.2002475407793[/C][/ROW]
[ROW][C]15[/C][C]9185[/C][C]9552.44848827314[/C][C]-367.448488273143[/C][/ROW]
[ROW][C]16[/C][C]9470[/C][C]9218.8131594809[/C][C]251.186840519094[/C][/ROW]
[ROW][C]17[/C][C]9123[/C][C]9261.46487783905[/C][C]-138.464877839047[/C][/ROW]
[ROW][C]18[/C][C]9278[/C][C]9390.653669413[/C][C]-112.653669412992[/C][/ROW]
[ROW][C]19[/C][C]10170[/C][C]10056.9527823571[/C][C]113.04721764286[/C][/ROW]
[ROW][C]20[/C][C]9434[/C][C]9728.02011473246[/C][C]-294.020114732459[/C][/ROW]
[ROW][C]21[/C][C]9655[/C][C]9744.53183029495[/C][C]-89.5318302949524[/C][/ROW]
[ROW][C]22[/C][C]9429[/C][C]9648.76646311318[/C][C]-219.76646311318[/C][/ROW]
[ROW][C]23[/C][C]8739[/C][C]8907.17628183549[/C][C]-168.176281835487[/C][/ROW]
[ROW][C]24[/C][C]9552[/C][C]9394.51002759786[/C][C]157.489972402137[/C][/ROW]
[ROW][C]25[/C][C]9687[/C][C]9675.75585553698[/C][C]11.2441444630183[/C][/ROW]
[ROW][C]26[/C][C]9019[/C][C]8827.9538449454[/C][C]191.046155054608[/C][/ROW]
[ROW][C]27[/C][C]9672[/C][C]9837.87661427305[/C][C]-165.87661427305[/C][/ROW]
[ROW][C]28[/C][C]9206[/C][C]9333.8114404174[/C][C]-127.811440417392[/C][/ROW]
[ROW][C]29[/C][C]9069[/C][C]9517.72408170096[/C][C]-448.72408170096[/C][/ROW]
[ROW][C]30[/C][C]9788[/C][C]9628.99482110442[/C][C]159.005178895577[/C][/ROW]
[ROW][C]31[/C][C]10312[/C][C]10050.2749880894[/C][C]261.725011910577[/C][/ROW]
[ROW][C]32[/C][C]10105[/C][C]10123.8734459691[/C][C]-18.8734459690554[/C][/ROW]
[ROW][C]33[/C][C]9863[/C][C]9940.36969544245[/C][C]-77.3696954424489[/C][/ROW]
[ROW][C]34[/C][C]9656[/C][C]9869.60626152181[/C][C]-213.606261521814[/C][/ROW]
[ROW][C]35[/C][C]9295[/C][C]9125.515886918[/C][C]169.484113081992[/C][/ROW]
[ROW][C]36[/C][C]9946[/C][C]9617.64166988877[/C][C]328.358330111231[/C][/ROW]
[ROW][C]37[/C][C]9701[/C][C]9914.30535667226[/C][C]-213.305356672255[/C][/ROW]
[ROW][C]38[/C][C]9049[/C][C]9137.7588558749[/C][C]-88.7588558749075[/C][/ROW]
[ROW][C]39[/C][C]10190[/C][C]10079.7597065098[/C][C]110.240293490192[/C][/ROW]
[ROW][C]40[/C][C]9706[/C][C]9570.69414600192[/C][C]135.305853998078[/C][/ROW]
[ROW][C]41[/C][C]9765[/C][C]9757.5236794993[/C][C]7.47632050070986[/C][/ROW]
[ROW][C]42[/C][C]9893[/C][C]9882.54548219638[/C][C]10.4545178036213[/C][/ROW]
[ROW][C]43[/C][C]9994[/C][C]10276.9485709257[/C][C]-282.948570925656[/C][/ROW]
[ROW][C]44[/C][C]10433[/C][C]10336.7959655117[/C][C]96.204034488337[/C][/ROW]
[ROW][C]45[/C][C]10073[/C][C]10107.0386384520[/C][C]-34.0386384519522[/C][/ROW]
[ROW][C]46[/C][C]10112[/C][C]10137.1163353512[/C][C]-25.1163353512387[/C][/ROW]
[ROW][C]47[/C][C]9266[/C][C]9359.2733508449[/C][C]-93.2733508448967[/C][/ROW]
[ROW][C]48[/C][C]9820[/C][C]9849.52398882107[/C][C]-29.523988821072[/C][/ROW]
[ROW][C]49[/C][C]10097[/C][C]10165.1474749943[/C][C]-68.1474749942544[/C][/ROW]
[ROW][C]50[/C][C]9115[/C][C]9398.18504861368[/C][C]-283.185048613676[/C][/ROW]
[ROW][C]51[/C][C]10411[/C][C]10253.9292294977[/C][C]157.070770502348[/C][/ROW]
[ROW][C]52[/C][C]9678[/C][C]9829.45354318995[/C][C]-151.453543189949[/C][/ROW]
[ROW][C]53[/C][C]10408[/C][C]9996.90657840993[/C][C]411.093421590065[/C][/ROW]
[ROW][C]54[/C][C]10153[/C][C]9968.58319043871[/C][C]184.416809561287[/C][/ROW]
[ROW][C]55[/C][C]10368[/C][C]10554.6677675034[/C][C]-186.667767503378[/C][/ROW]
[ROW][C]56[/C][C]10581[/C][C]10530.9670351084[/C][C]50.032964891583[/C][/ROW]
[ROW][C]57[/C][C]10597[/C][C]10160.7821828987[/C][C]436.217817101349[/C][/ROW]
[ROW][C]58[/C][C]10680[/C][C]10385.6666097910[/C][C]294.333390209033[/C][/ROW]
[ROW][C]59[/C][C]9738[/C][C]9609.69877027921[/C][C]128.301229720790[/C][/ROW]
[ROW][C]60[/C][C]9556[/C][C]10034.5276828887[/C][C]-478.527682888742[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58659&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58659&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
194879293.0391513272193.960848672802
287008421.90200302524278.097996974755
396279360.98596144635266.014038553654
489479054.22771090983-107.227710909832
592839114.38078255077168.619217449232
688299070.2228368475-241.222836847493
799479852.155891124494.8441088755972
896289461.3434386784166.656561321594
993189553.277652912-235.277652911996
1096059440.8443302228164.1556697772
1186408676.3357101224-36.3357101223976
1292149191.7966308035522.2033691964461
1395679490.7521614693176.2478385306889
1485478644.20024754078-97.2002475407793
1591859552.44848827314-367.448488273143
1694709218.8131594809251.186840519094
1791239261.46487783905-138.464877839047
1892789390.653669413-112.653669412992
191017010056.9527823571113.04721764286
2094349728.02011473246-294.020114732459
2196559744.53183029495-89.5318302949524
2294299648.76646311318-219.76646311318
2387398907.17628183549-168.176281835487
2495529394.51002759786157.489972402137
2596879675.7558555369811.2441444630183
2690198827.9538449454191.046155054608
2796729837.87661427305-165.87661427305
2892069333.8114404174-127.811440417392
2990699517.72408170096-448.72408170096
3097889628.99482110442159.005178895577
311031210050.2749880894261.725011910577
321010510123.8734459691-18.8734459690554
3398639940.36969544245-77.3696954424489
3496569869.60626152181-213.606261521814
3592959125.515886918169.484113081992
3699469617.64166988877328.358330111231
3797019914.30535667226-213.305356672255
3890499137.7588558749-88.7588558749075
391019010079.7597065098110.240293490192
4097069570.69414600192135.305853998078
4197659757.52367949937.47632050070986
4298939882.5454821963810.4545178036213
43999410276.9485709257-282.948570925656
441043310336.795965511796.204034488337
451007310107.0386384520-34.0386384519522
461011210137.1163353512-25.1163353512387
4792669359.2733508449-93.2733508448967
4898209849.52398882107-29.523988821072
491009710165.1474749943-68.1474749942544
5091159398.18504861368-283.185048613676
511041110253.9292294977157.070770502348
5296789829.45354318995-151.453543189949
53104089996.90657840993411.093421590065
54101539968.58319043871184.416809561287
551036810554.6677675034-186.667767503378
561058110530.967035108450.032964891583
571059710160.7821828987436.217817101349
581068010385.6666097910294.333390209033
5997389609.69877027921128.301229720790
60955610034.5276828887-478.527682888742







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.7211978202788680.5576043594422640.278802179721132
180.6975736115942790.6048527768114420.302426388405721
190.6051924447326620.7896151105346760.394807555267338
200.6152440387133690.7695119225732620.384755961286631
210.5600847576551230.8798304846897530.439915242344877
220.4976619386192430.9953238772384870.502338061380757
230.400443093037130.800886186074260.59955690696287
240.3681101045876850.736220209175370.631889895412315
250.2782216581995970.5564433163991950.721778341800403
260.2681226148646910.5362452297293830.731877385135309
270.2050058959601060.4100117919202120.794994104039894
280.1436532827834910.2873065655669810.85634671721651
290.2850610618785490.5701221237570980.714938938121451
300.3414063635513380.6828127271026770.658593636448662
310.429542982765710.859085965531420.57045701723429
320.3471166076662120.6942332153324240.652883392333788
330.2831826174289170.5663652348578330.716817382571084
340.3175024437226420.6350048874452840.682497556277358
350.2862400061589420.5724800123178840.713759993841058
360.5660729964356240.8678540071287530.433927003564376
370.4964658961491050.992931792298210.503534103850895
380.429570460248080.859140920496160.57042953975192
390.3524870422673250.704974084534650.647512957732675
400.3719433025315630.7438866050631250.628056697468437
410.3537781796451110.7075563592902210.64622182035489
420.2309582968366770.4619165936733530.769041703163323
430.1536307874912610.3072615749825220.84636921250874

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.721197820278868 & 0.557604359442264 & 0.278802179721132 \tabularnewline
18 & 0.697573611594279 & 0.604852776811442 & 0.302426388405721 \tabularnewline
19 & 0.605192444732662 & 0.789615110534676 & 0.394807555267338 \tabularnewline
20 & 0.615244038713369 & 0.769511922573262 & 0.384755961286631 \tabularnewline
21 & 0.560084757655123 & 0.879830484689753 & 0.439915242344877 \tabularnewline
22 & 0.497661938619243 & 0.995323877238487 & 0.502338061380757 \tabularnewline
23 & 0.40044309303713 & 0.80088618607426 & 0.59955690696287 \tabularnewline
24 & 0.368110104587685 & 0.73622020917537 & 0.631889895412315 \tabularnewline
25 & 0.278221658199597 & 0.556443316399195 & 0.721778341800403 \tabularnewline
26 & 0.268122614864691 & 0.536245229729383 & 0.731877385135309 \tabularnewline
27 & 0.205005895960106 & 0.410011791920212 & 0.794994104039894 \tabularnewline
28 & 0.143653282783491 & 0.287306565566981 & 0.85634671721651 \tabularnewline
29 & 0.285061061878549 & 0.570122123757098 & 0.714938938121451 \tabularnewline
30 & 0.341406363551338 & 0.682812727102677 & 0.658593636448662 \tabularnewline
31 & 0.42954298276571 & 0.85908596553142 & 0.57045701723429 \tabularnewline
32 & 0.347116607666212 & 0.694233215332424 & 0.652883392333788 \tabularnewline
33 & 0.283182617428917 & 0.566365234857833 & 0.716817382571084 \tabularnewline
34 & 0.317502443722642 & 0.635004887445284 & 0.682497556277358 \tabularnewline
35 & 0.286240006158942 & 0.572480012317884 & 0.713759993841058 \tabularnewline
36 & 0.566072996435624 & 0.867854007128753 & 0.433927003564376 \tabularnewline
37 & 0.496465896149105 & 0.99293179229821 & 0.503534103850895 \tabularnewline
38 & 0.42957046024808 & 0.85914092049616 & 0.57042953975192 \tabularnewline
39 & 0.352487042267325 & 0.70497408453465 & 0.647512957732675 \tabularnewline
40 & 0.371943302531563 & 0.743886605063125 & 0.628056697468437 \tabularnewline
41 & 0.353778179645111 & 0.707556359290221 & 0.64622182035489 \tabularnewline
42 & 0.230958296836677 & 0.461916593673353 & 0.769041703163323 \tabularnewline
43 & 0.153630787491261 & 0.307261574982522 & 0.84636921250874 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58659&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.721197820278868[/C][C]0.557604359442264[/C][C]0.278802179721132[/C][/ROW]
[ROW][C]18[/C][C]0.697573611594279[/C][C]0.604852776811442[/C][C]0.302426388405721[/C][/ROW]
[ROW][C]19[/C][C]0.605192444732662[/C][C]0.789615110534676[/C][C]0.394807555267338[/C][/ROW]
[ROW][C]20[/C][C]0.615244038713369[/C][C]0.769511922573262[/C][C]0.384755961286631[/C][/ROW]
[ROW][C]21[/C][C]0.560084757655123[/C][C]0.879830484689753[/C][C]0.439915242344877[/C][/ROW]
[ROW][C]22[/C][C]0.497661938619243[/C][C]0.995323877238487[/C][C]0.502338061380757[/C][/ROW]
[ROW][C]23[/C][C]0.40044309303713[/C][C]0.80088618607426[/C][C]0.59955690696287[/C][/ROW]
[ROW][C]24[/C][C]0.368110104587685[/C][C]0.73622020917537[/C][C]0.631889895412315[/C][/ROW]
[ROW][C]25[/C][C]0.278221658199597[/C][C]0.556443316399195[/C][C]0.721778341800403[/C][/ROW]
[ROW][C]26[/C][C]0.268122614864691[/C][C]0.536245229729383[/C][C]0.731877385135309[/C][/ROW]
[ROW][C]27[/C][C]0.205005895960106[/C][C]0.410011791920212[/C][C]0.794994104039894[/C][/ROW]
[ROW][C]28[/C][C]0.143653282783491[/C][C]0.287306565566981[/C][C]0.85634671721651[/C][/ROW]
[ROW][C]29[/C][C]0.285061061878549[/C][C]0.570122123757098[/C][C]0.714938938121451[/C][/ROW]
[ROW][C]30[/C][C]0.341406363551338[/C][C]0.682812727102677[/C][C]0.658593636448662[/C][/ROW]
[ROW][C]31[/C][C]0.42954298276571[/C][C]0.85908596553142[/C][C]0.57045701723429[/C][/ROW]
[ROW][C]32[/C][C]0.347116607666212[/C][C]0.694233215332424[/C][C]0.652883392333788[/C][/ROW]
[ROW][C]33[/C][C]0.283182617428917[/C][C]0.566365234857833[/C][C]0.716817382571084[/C][/ROW]
[ROW][C]34[/C][C]0.317502443722642[/C][C]0.635004887445284[/C][C]0.682497556277358[/C][/ROW]
[ROW][C]35[/C][C]0.286240006158942[/C][C]0.572480012317884[/C][C]0.713759993841058[/C][/ROW]
[ROW][C]36[/C][C]0.566072996435624[/C][C]0.867854007128753[/C][C]0.433927003564376[/C][/ROW]
[ROW][C]37[/C][C]0.496465896149105[/C][C]0.99293179229821[/C][C]0.503534103850895[/C][/ROW]
[ROW][C]38[/C][C]0.42957046024808[/C][C]0.85914092049616[/C][C]0.57042953975192[/C][/ROW]
[ROW][C]39[/C][C]0.352487042267325[/C][C]0.70497408453465[/C][C]0.647512957732675[/C][/ROW]
[ROW][C]40[/C][C]0.371943302531563[/C][C]0.743886605063125[/C][C]0.628056697468437[/C][/ROW]
[ROW][C]41[/C][C]0.353778179645111[/C][C]0.707556359290221[/C][C]0.64622182035489[/C][/ROW]
[ROW][C]42[/C][C]0.230958296836677[/C][C]0.461916593673353[/C][C]0.769041703163323[/C][/ROW]
[ROW][C]43[/C][C]0.153630787491261[/C][C]0.307261574982522[/C][C]0.84636921250874[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58659&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58659&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.7211978202788680.5576043594422640.278802179721132
180.6975736115942790.6048527768114420.302426388405721
190.6051924447326620.7896151105346760.394807555267338
200.6152440387133690.7695119225732620.384755961286631
210.5600847576551230.8798304846897530.439915242344877
220.4976619386192430.9953238772384870.502338061380757
230.400443093037130.800886186074260.59955690696287
240.3681101045876850.736220209175370.631889895412315
250.2782216581995970.5564433163991950.721778341800403
260.2681226148646910.5362452297293830.731877385135309
270.2050058959601060.4100117919202120.794994104039894
280.1436532827834910.2873065655669810.85634671721651
290.2850610618785490.5701221237570980.714938938121451
300.3414063635513380.6828127271026770.658593636448662
310.429542982765710.859085965531420.57045701723429
320.3471166076662120.6942332153324240.652883392333788
330.2831826174289170.5663652348578330.716817382571084
340.3175024437226420.6350048874452840.682497556277358
350.2862400061589420.5724800123178840.713759993841058
360.5660729964356240.8678540071287530.433927003564376
370.4964658961491050.992931792298210.503534103850895
380.429570460248080.859140920496160.57042953975192
390.3524870422673250.704974084534650.647512957732675
400.3719433025315630.7438866050631250.628056697468437
410.3537781796451110.7075563592902210.64622182035489
420.2309582968366770.4619165936733530.769041703163323
430.1536307874912610.3072615749825220.84636921250874







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 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')
}