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:22:51 -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/t12589070650g9mld7n11flcjk.htm/, Retrieved Sun, 28 Apr 2024 11:45:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58658, Retrieved Sun, 28 Apr 2024 11:45:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKVN WS7
Estimated Impact159
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]
-    D        [Multiple Regression] [Multiple Regressi...] [2009-11-22 16:22:51] [f1100e00818182135823a11ccbd0f3b9] [Current]
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=58658&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=58658&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58658&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] = + 9128.86904445696 + 0.213587516625750X[t] + 271.322214098642M1[t] -710.28396584075M2[t] + 192.138024434725M3[t] -428.591426532646M4[t] -587.75207140093M5[t] -642.310737709253M6[t] -92.4306817753984M7[t] -353.006262562185M8[t] -335.761080711350M9[t] + 105.537806513191M10[t] -408.611329287392M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  9128.86904445696 +  0.213587516625750X[t] +  271.322214098642M1[t] -710.28396584075M2[t] +  192.138024434725M3[t] -428.591426532646M4[t] -587.75207140093M5[t] -642.310737709253M6[t] -92.4306817753984M7[t] -353.006262562185M8[t] -335.761080711350M9[t] +  105.537806513191M10[t] -408.611329287392M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58658&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  9128.86904445696 +  0.213587516625750X[t] +  271.322214098642M1[t] -710.28396584075M2[t] +  192.138024434725M3[t] -428.591426532646M4[t] -587.75207140093M5[t] -642.310737709253M6[t] -92.4306817753984M7[t] -353.006262562185M8[t] -335.761080711350M9[t] +  105.537806513191M10[t] -408.611329287392M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58658&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58658&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] = + 9128.86904445696 + 0.213587516625750X[t] + 271.322214098642M1[t] -710.28396584075M2[t] + 192.138024434725M3[t] -428.591426532646M4[t] -587.75207140093M5[t] -642.310737709253M6[t] -92.4306817753984M7[t] -353.006262562185M8[t] -335.761080711350M9[t] + 105.537806513191M10[t] -408.611329287392M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)9128.86904445696442.16847220.645700
X0.2135875166257500.1752431.21880.2290.1145
M1271.322214098642302.5254110.89690.3743660.187183
M2-710.28396584075264.090333-2.68950.0098720.004936
M3192.138024434725263.577940.7290.4696430.234821
M4-428.591426532646315.919282-1.35660.1813740.090687
M5-587.75207140093487.407022-1.20590.2339010.116951
M6-642.310737709253567.73567-1.13140.2636450.131823
M7-92.4306817753984582.408115-0.15870.8745820.437291
M8-353.006262562185685.734879-0.51480.6091160.304558
M9-335.761080711350572.428687-0.58660.5603090.280155
M10105.537806513191299.4102640.35250.726050.363025
M11-408.611329287392270.302608-1.51170.137310.068655

\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) & 9128.86904445696 & 442.168472 & 20.6457 & 0 & 0 \tabularnewline
X & 0.213587516625750 & 0.175243 & 1.2188 & 0.229 & 0.1145 \tabularnewline
M1 & 271.322214098642 & 302.525411 & 0.8969 & 0.374366 & 0.187183 \tabularnewline
M2 & -710.28396584075 & 264.090333 & -2.6895 & 0.009872 & 0.004936 \tabularnewline
M3 & 192.138024434725 & 263.57794 & 0.729 & 0.469643 & 0.234821 \tabularnewline
M4 & -428.591426532646 & 315.919282 & -1.3566 & 0.181374 & 0.090687 \tabularnewline
M5 & -587.75207140093 & 487.407022 & -1.2059 & 0.233901 & 0.116951 \tabularnewline
M6 & -642.310737709253 & 567.73567 & -1.1314 & 0.263645 & 0.131823 \tabularnewline
M7 & -92.4306817753984 & 582.408115 & -0.1587 & 0.874582 & 0.437291 \tabularnewline
M8 & -353.006262562185 & 685.734879 & -0.5148 & 0.609116 & 0.304558 \tabularnewline
M9 & -335.761080711350 & 572.428687 & -0.5866 & 0.560309 & 0.280155 \tabularnewline
M10 & 105.537806513191 & 299.410264 & 0.3525 & 0.72605 & 0.363025 \tabularnewline
M11 & -408.611329287392 & 270.302608 & -1.5117 & 0.13731 & 0.068655 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58658&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]9128.86904445696[/C][C]442.168472[/C][C]20.6457[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]0.213587516625750[/C][C]0.175243[/C][C]1.2188[/C][C]0.229[/C][C]0.1145[/C][/ROW]
[ROW][C]M1[/C][C]271.322214098642[/C][C]302.525411[/C][C]0.8969[/C][C]0.374366[/C][C]0.187183[/C][/ROW]
[ROW][C]M2[/C][C]-710.28396584075[/C][C]264.090333[/C][C]-2.6895[/C][C]0.009872[/C][C]0.004936[/C][/ROW]
[ROW][C]M3[/C][C]192.138024434725[/C][C]263.57794[/C][C]0.729[/C][C]0.469643[/C][C]0.234821[/C][/ROW]
[ROW][C]M4[/C][C]-428.591426532646[/C][C]315.919282[/C][C]-1.3566[/C][C]0.181374[/C][C]0.090687[/C][/ROW]
[ROW][C]M5[/C][C]-587.75207140093[/C][C]487.407022[/C][C]-1.2059[/C][C]0.233901[/C][C]0.116951[/C][/ROW]
[ROW][C]M6[/C][C]-642.310737709253[/C][C]567.73567[/C][C]-1.1314[/C][C]0.263645[/C][C]0.131823[/C][/ROW]
[ROW][C]M7[/C][C]-92.4306817753984[/C][C]582.408115[/C][C]-0.1587[/C][C]0.874582[/C][C]0.437291[/C][/ROW]
[ROW][C]M8[/C][C]-353.006262562185[/C][C]685.734879[/C][C]-0.5148[/C][C]0.609116[/C][C]0.304558[/C][/ROW]
[ROW][C]M9[/C][C]-335.761080711350[/C][C]572.428687[/C][C]-0.5866[/C][C]0.560309[/C][C]0.280155[/C][/ROW]
[ROW][C]M10[/C][C]105.537806513191[/C][C]299.410264[/C][C]0.3525[/C][C]0.72605[/C][C]0.363025[/C][/ROW]
[ROW][C]M11[/C][C]-408.611329287392[/C][C]270.302608[/C][C]-1.5117[/C][C]0.13731[/C][C]0.068655[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58658&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58658&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)9128.86904445696442.16847220.645700
X0.2135875166257500.1752431.21880.2290.1145
M1271.322214098642302.5254110.89690.3743660.187183
M2-710.28396584075264.090333-2.68950.0098720.004936
M3192.138024434725263.577940.7290.4696430.234821
M4-428.591426532646315.919282-1.35660.1813740.090687
M5-587.75207140093487.407022-1.20590.2339010.116951
M6-642.310737709253567.73567-1.13140.2636450.131823
M7-92.4306817753984582.408115-0.15870.8745820.437291
M8-353.006262562185685.734879-0.51480.6091160.304558
M9-335.761080711350572.428687-0.58660.5603090.280155
M10105.537806513191299.4102640.35250.726050.363025
M11-408.611329287392270.302608-1.51170.137310.068655







Multiple Linear Regression - Regression Statistics
Multiple R0.697057008729458
R-squared0.48588847341886
Adjusted R-squared0.354625955993888
F-TEST (value)3.70165438657374
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.000596500404973055
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation416.646822002174
Sum Squared Residuals8158944.99137204

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.697057008729458 \tabularnewline
R-squared & 0.48588847341886 \tabularnewline
Adjusted R-squared & 0.354625955993888 \tabularnewline
F-TEST (value) & 3.70165438657374 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.000596500404973055 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 416.646822002174 \tabularnewline
Sum Squared Residuals & 8158944.99137204 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58658&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.697057008729458[/C][/ROW]
[ROW][C]R-squared[/C][C]0.48588847341886[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.354625955993888[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.70165438657374[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.000596500404973055[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]416.646822002174[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8158944.99137204[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58658&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58658&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.697057008729458
R-squared0.48588847341886
Adjusted R-squared0.354625955993888
F-TEST (value)3.70165438657374
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.000596500404973055
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation416.646822002174
Sum Squared Residuals8158944.99137204







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
194879649.87506549107-162.875065491074
287008878.65258942807-178.652589428074
396279801.365393783-174.365393782995
489479274.1872750977-327.187275097703
592839472.14495802767-189.144958027674
688299636.0863212275-807.086321227493
799479988.82509931578-41.8250993157801
8962810142.3957132663-514.395713266323
993189774.75619015756-456.756190157556
1096059880.29550124642-275.295501246418
1186409123.29735904236-483.297359042357
1292149570.99520387226-356.995203872261
1395679688.7479935170-121.747993516989
1485478892.32219049212-345.322190492122
1591859846.64594730765-661.645947307654
1694709347.02061826708122.979381732916
1791239562.91965259362-439.919652593617
1892789549.15620196081-271.156201960813
191017010020.4360517764149.563948223609
20943410110.5711732891-676.571173289086
2196559820.25033119884-165.250331198841
2294299908.70264095764-479.702640957643
2387399128.20987192475-389.209871924749
2495529604.74203149913-52.7420314991297
2596879740.64976005705-53.6497600570461
2690198945.5054821319373.4945178680658
2796729795.5985308341-123.598530834100
2892069470.6877903934-264.687790393394
2990699541.77448844767-472.774488447668
3097889546.37956424468241.620435755322
311031210268.838333612143.1616663878614
32101059946.32237300388158.677626996116
3398639861.045546874361.95445312564103
3496569923.86735463807-267.867354638071
3592959145.93763580469149.062364195314
3699469617.55728249667328.442717503325
3797019737.65953482429-36.6595348242857
3890498869.46832621317179.531673786833
39101909789.19090533533400.809094664673
4097069469.40626529364236.593734706361
4197659537.50273811515227.497261884847
4298939528.01103781486364.988962185137
43999410278.0225968270-284.022596827046
44104339969.6034123161463.396587683909
45100739931.74301487748141.256985122518
46101129891.18846459433220.811535405668
4792669147.85992345432118.140076545682
4898209621.40185779594198.598142204062
49100979722.0676461106374.932353889394
5091158844.0514117347270.948588265297
51104119852.19922273992558.800777260076
5296789445.69805094818232.301949051819
53104089533.6581628159874.34183718411
54101539681.36687475215471.633125247848
551036810234.8779184686133.122081531356
561058110012.1073281246568.892671875385
571059710118.2049168918478.795083108238
58106809877.94603856354802.053961436465
5997389132.69520977389605.30479022611
6095569673.303624336-117.303624335996

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9487 & 9649.87506549107 & -162.875065491074 \tabularnewline
2 & 8700 & 8878.65258942807 & -178.652589428074 \tabularnewline
3 & 9627 & 9801.365393783 & -174.365393782995 \tabularnewline
4 & 8947 & 9274.1872750977 & -327.187275097703 \tabularnewline
5 & 9283 & 9472.14495802767 & -189.144958027674 \tabularnewline
6 & 8829 & 9636.0863212275 & -807.086321227493 \tabularnewline
7 & 9947 & 9988.82509931578 & -41.8250993157801 \tabularnewline
8 & 9628 & 10142.3957132663 & -514.395713266323 \tabularnewline
9 & 9318 & 9774.75619015756 & -456.756190157556 \tabularnewline
10 & 9605 & 9880.29550124642 & -275.295501246418 \tabularnewline
11 & 8640 & 9123.29735904236 & -483.297359042357 \tabularnewline
12 & 9214 & 9570.99520387226 & -356.995203872261 \tabularnewline
13 & 9567 & 9688.7479935170 & -121.747993516989 \tabularnewline
14 & 8547 & 8892.32219049212 & -345.322190492122 \tabularnewline
15 & 9185 & 9846.64594730765 & -661.645947307654 \tabularnewline
16 & 9470 & 9347.02061826708 & 122.979381732916 \tabularnewline
17 & 9123 & 9562.91965259362 & -439.919652593617 \tabularnewline
18 & 9278 & 9549.15620196081 & -271.156201960813 \tabularnewline
19 & 10170 & 10020.4360517764 & 149.563948223609 \tabularnewline
20 & 9434 & 10110.5711732891 & -676.571173289086 \tabularnewline
21 & 9655 & 9820.25033119884 & -165.250331198841 \tabularnewline
22 & 9429 & 9908.70264095764 & -479.702640957643 \tabularnewline
23 & 8739 & 9128.20987192475 & -389.209871924749 \tabularnewline
24 & 9552 & 9604.74203149913 & -52.7420314991297 \tabularnewline
25 & 9687 & 9740.64976005705 & -53.6497600570461 \tabularnewline
26 & 9019 & 8945.50548213193 & 73.4945178680658 \tabularnewline
27 & 9672 & 9795.5985308341 & -123.598530834100 \tabularnewline
28 & 9206 & 9470.6877903934 & -264.687790393394 \tabularnewline
29 & 9069 & 9541.77448844767 & -472.774488447668 \tabularnewline
30 & 9788 & 9546.37956424468 & 241.620435755322 \tabularnewline
31 & 10312 & 10268.8383336121 & 43.1616663878614 \tabularnewline
32 & 10105 & 9946.32237300388 & 158.677626996116 \tabularnewline
33 & 9863 & 9861.04554687436 & 1.95445312564103 \tabularnewline
34 & 9656 & 9923.86735463807 & -267.867354638071 \tabularnewline
35 & 9295 & 9145.93763580469 & 149.062364195314 \tabularnewline
36 & 9946 & 9617.55728249667 & 328.442717503325 \tabularnewline
37 & 9701 & 9737.65953482429 & -36.6595348242857 \tabularnewline
38 & 9049 & 8869.46832621317 & 179.531673786833 \tabularnewline
39 & 10190 & 9789.19090533533 & 400.809094664673 \tabularnewline
40 & 9706 & 9469.40626529364 & 236.593734706361 \tabularnewline
41 & 9765 & 9537.50273811515 & 227.497261884847 \tabularnewline
42 & 9893 & 9528.01103781486 & 364.988962185137 \tabularnewline
43 & 9994 & 10278.0225968270 & -284.022596827046 \tabularnewline
44 & 10433 & 9969.6034123161 & 463.396587683909 \tabularnewline
45 & 10073 & 9931.74301487748 & 141.256985122518 \tabularnewline
46 & 10112 & 9891.18846459433 & 220.811535405668 \tabularnewline
47 & 9266 & 9147.85992345432 & 118.140076545682 \tabularnewline
48 & 9820 & 9621.40185779594 & 198.598142204062 \tabularnewline
49 & 10097 & 9722.0676461106 & 374.932353889394 \tabularnewline
50 & 9115 & 8844.0514117347 & 270.948588265297 \tabularnewline
51 & 10411 & 9852.19922273992 & 558.800777260076 \tabularnewline
52 & 9678 & 9445.69805094818 & 232.301949051819 \tabularnewline
53 & 10408 & 9533.6581628159 & 874.34183718411 \tabularnewline
54 & 10153 & 9681.36687475215 & 471.633125247848 \tabularnewline
55 & 10368 & 10234.8779184686 & 133.122081531356 \tabularnewline
56 & 10581 & 10012.1073281246 & 568.892671875385 \tabularnewline
57 & 10597 & 10118.2049168918 & 478.795083108238 \tabularnewline
58 & 10680 & 9877.94603856354 & 802.053961436465 \tabularnewline
59 & 9738 & 9132.69520977389 & 605.30479022611 \tabularnewline
60 & 9556 & 9673.303624336 & -117.303624335996 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58658&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]9649.87506549107[/C][C]-162.875065491074[/C][/ROW]
[ROW][C]2[/C][C]8700[/C][C]8878.65258942807[/C][C]-178.652589428074[/C][/ROW]
[ROW][C]3[/C][C]9627[/C][C]9801.365393783[/C][C]-174.365393782995[/C][/ROW]
[ROW][C]4[/C][C]8947[/C][C]9274.1872750977[/C][C]-327.187275097703[/C][/ROW]
[ROW][C]5[/C][C]9283[/C][C]9472.14495802767[/C][C]-189.144958027674[/C][/ROW]
[ROW][C]6[/C][C]8829[/C][C]9636.0863212275[/C][C]-807.086321227493[/C][/ROW]
[ROW][C]7[/C][C]9947[/C][C]9988.82509931578[/C][C]-41.8250993157801[/C][/ROW]
[ROW][C]8[/C][C]9628[/C][C]10142.3957132663[/C][C]-514.395713266323[/C][/ROW]
[ROW][C]9[/C][C]9318[/C][C]9774.75619015756[/C][C]-456.756190157556[/C][/ROW]
[ROW][C]10[/C][C]9605[/C][C]9880.29550124642[/C][C]-275.295501246418[/C][/ROW]
[ROW][C]11[/C][C]8640[/C][C]9123.29735904236[/C][C]-483.297359042357[/C][/ROW]
[ROW][C]12[/C][C]9214[/C][C]9570.99520387226[/C][C]-356.995203872261[/C][/ROW]
[ROW][C]13[/C][C]9567[/C][C]9688.7479935170[/C][C]-121.747993516989[/C][/ROW]
[ROW][C]14[/C][C]8547[/C][C]8892.32219049212[/C][C]-345.322190492122[/C][/ROW]
[ROW][C]15[/C][C]9185[/C][C]9846.64594730765[/C][C]-661.645947307654[/C][/ROW]
[ROW][C]16[/C][C]9470[/C][C]9347.02061826708[/C][C]122.979381732916[/C][/ROW]
[ROW][C]17[/C][C]9123[/C][C]9562.91965259362[/C][C]-439.919652593617[/C][/ROW]
[ROW][C]18[/C][C]9278[/C][C]9549.15620196081[/C][C]-271.156201960813[/C][/ROW]
[ROW][C]19[/C][C]10170[/C][C]10020.4360517764[/C][C]149.563948223609[/C][/ROW]
[ROW][C]20[/C][C]9434[/C][C]10110.5711732891[/C][C]-676.571173289086[/C][/ROW]
[ROW][C]21[/C][C]9655[/C][C]9820.25033119884[/C][C]-165.250331198841[/C][/ROW]
[ROW][C]22[/C][C]9429[/C][C]9908.70264095764[/C][C]-479.702640957643[/C][/ROW]
[ROW][C]23[/C][C]8739[/C][C]9128.20987192475[/C][C]-389.209871924749[/C][/ROW]
[ROW][C]24[/C][C]9552[/C][C]9604.74203149913[/C][C]-52.7420314991297[/C][/ROW]
[ROW][C]25[/C][C]9687[/C][C]9740.64976005705[/C][C]-53.6497600570461[/C][/ROW]
[ROW][C]26[/C][C]9019[/C][C]8945.50548213193[/C][C]73.4945178680658[/C][/ROW]
[ROW][C]27[/C][C]9672[/C][C]9795.5985308341[/C][C]-123.598530834100[/C][/ROW]
[ROW][C]28[/C][C]9206[/C][C]9470.6877903934[/C][C]-264.687790393394[/C][/ROW]
[ROW][C]29[/C][C]9069[/C][C]9541.77448844767[/C][C]-472.774488447668[/C][/ROW]
[ROW][C]30[/C][C]9788[/C][C]9546.37956424468[/C][C]241.620435755322[/C][/ROW]
[ROW][C]31[/C][C]10312[/C][C]10268.8383336121[/C][C]43.1616663878614[/C][/ROW]
[ROW][C]32[/C][C]10105[/C][C]9946.32237300388[/C][C]158.677626996116[/C][/ROW]
[ROW][C]33[/C][C]9863[/C][C]9861.04554687436[/C][C]1.95445312564103[/C][/ROW]
[ROW][C]34[/C][C]9656[/C][C]9923.86735463807[/C][C]-267.867354638071[/C][/ROW]
[ROW][C]35[/C][C]9295[/C][C]9145.93763580469[/C][C]149.062364195314[/C][/ROW]
[ROW][C]36[/C][C]9946[/C][C]9617.55728249667[/C][C]328.442717503325[/C][/ROW]
[ROW][C]37[/C][C]9701[/C][C]9737.65953482429[/C][C]-36.6595348242857[/C][/ROW]
[ROW][C]38[/C][C]9049[/C][C]8869.46832621317[/C][C]179.531673786833[/C][/ROW]
[ROW][C]39[/C][C]10190[/C][C]9789.19090533533[/C][C]400.809094664673[/C][/ROW]
[ROW][C]40[/C][C]9706[/C][C]9469.40626529364[/C][C]236.593734706361[/C][/ROW]
[ROW][C]41[/C][C]9765[/C][C]9537.50273811515[/C][C]227.497261884847[/C][/ROW]
[ROW][C]42[/C][C]9893[/C][C]9528.01103781486[/C][C]364.988962185137[/C][/ROW]
[ROW][C]43[/C][C]9994[/C][C]10278.0225968270[/C][C]-284.022596827046[/C][/ROW]
[ROW][C]44[/C][C]10433[/C][C]9969.6034123161[/C][C]463.396587683909[/C][/ROW]
[ROW][C]45[/C][C]10073[/C][C]9931.74301487748[/C][C]141.256985122518[/C][/ROW]
[ROW][C]46[/C][C]10112[/C][C]9891.18846459433[/C][C]220.811535405668[/C][/ROW]
[ROW][C]47[/C][C]9266[/C][C]9147.85992345432[/C][C]118.140076545682[/C][/ROW]
[ROW][C]48[/C][C]9820[/C][C]9621.40185779594[/C][C]198.598142204062[/C][/ROW]
[ROW][C]49[/C][C]10097[/C][C]9722.0676461106[/C][C]374.932353889394[/C][/ROW]
[ROW][C]50[/C][C]9115[/C][C]8844.0514117347[/C][C]270.948588265297[/C][/ROW]
[ROW][C]51[/C][C]10411[/C][C]9852.19922273992[/C][C]558.800777260076[/C][/ROW]
[ROW][C]52[/C][C]9678[/C][C]9445.69805094818[/C][C]232.301949051819[/C][/ROW]
[ROW][C]53[/C][C]10408[/C][C]9533.6581628159[/C][C]874.34183718411[/C][/ROW]
[ROW][C]54[/C][C]10153[/C][C]9681.36687475215[/C][C]471.633125247848[/C][/ROW]
[ROW][C]55[/C][C]10368[/C][C]10234.8779184686[/C][C]133.122081531356[/C][/ROW]
[ROW][C]56[/C][C]10581[/C][C]10012.1073281246[/C][C]568.892671875385[/C][/ROW]
[ROW][C]57[/C][C]10597[/C][C]10118.2049168918[/C][C]478.795083108238[/C][/ROW]
[ROW][C]58[/C][C]10680[/C][C]9877.94603856354[/C][C]802.053961436465[/C][/ROW]
[ROW][C]59[/C][C]9738[/C][C]9132.69520977389[/C][C]605.30479022611[/C][/ROW]
[ROW][C]60[/C][C]9556[/C][C]9673.303624336[/C][C]-117.303624335996[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58658&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58658&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
194879649.87506549107-162.875065491074
287008878.65258942807-178.652589428074
396279801.365393783-174.365393782995
489479274.1872750977-327.187275097703
592839472.14495802767-189.144958027674
688299636.0863212275-807.086321227493
799479988.82509931578-41.8250993157801
8962810142.3957132663-514.395713266323
993189774.75619015756-456.756190157556
1096059880.29550124642-275.295501246418
1186409123.29735904236-483.297359042357
1292149570.99520387226-356.995203872261
1395679688.7479935170-121.747993516989
1485478892.32219049212-345.322190492122
1591859846.64594730765-661.645947307654
1694709347.02061826708122.979381732916
1791239562.91965259362-439.919652593617
1892789549.15620196081-271.156201960813
191017010020.4360517764149.563948223609
20943410110.5711732891-676.571173289086
2196559820.25033119884-165.250331198841
2294299908.70264095764-479.702640957643
2387399128.20987192475-389.209871924749
2495529604.74203149913-52.7420314991297
2596879740.64976005705-53.6497600570461
2690198945.5054821319373.4945178680658
2796729795.5985308341-123.598530834100
2892069470.6877903934-264.687790393394
2990699541.77448844767-472.774488447668
3097889546.37956424468241.620435755322
311031210268.838333612143.1616663878614
32101059946.32237300388158.677626996116
3398639861.045546874361.95445312564103
3496569923.86735463807-267.867354638071
3592959145.93763580469149.062364195314
3699469617.55728249667328.442717503325
3797019737.65953482429-36.6595348242857
3890498869.46832621317179.531673786833
39101909789.19090533533400.809094664673
4097069469.40626529364236.593734706361
4197659537.50273811515227.497261884847
4298939528.01103781486364.988962185137
43999410278.0225968270-284.022596827046
44104339969.6034123161463.396587683909
45100739931.74301487748141.256985122518
46101129891.18846459433220.811535405668
4792669147.85992345432118.140076545682
4898209621.40185779594198.598142204062
49100979722.0676461106374.932353889394
5091158844.0514117347270.948588265297
51104119852.19922273992558.800777260076
5296789445.69805094818232.301949051819
53104089533.6581628159874.34183718411
54101539681.36687475215471.633125247848
551036810234.8779184686133.122081531356
561058110012.1073281246568.892671875385
571059710118.2049168918478.795083108238
58106809877.94603856354802.053961436465
5997389132.69520977389605.30479022611
6095569673.303624336-117.303624335996







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2978669542630220.5957339085260430.702133045736978
170.2064059918388460.4128119836776920.793594008161154
180.1902426528870060.3804853057740120.809757347112994
190.1268451612548600.2536903225097210.87315483874514
200.137262001461110.274524002922220.86273799853889
210.1173618638936140.2347237277872280.882638136106386
220.1035624978995910.2071249957991810.89643750210041
230.08803031048027770.1760606209605550.911969689519722
240.07528183916246060.1505636783249210.92471816083754
250.04919124307526240.09838248615052480.950808756924738
260.04748247053890190.09496494107780380.952517529461098
270.05382549561103050.1076509912220610.94617450438897
280.04387507463394460.08775014926788920.956124925366055
290.1227533384944200.2455066769888390.87724666150558
300.2847879740604120.5695759481208230.715212025939588
310.2247544291594550.4495088583189110.775245570840545
320.3030173585853950.606034717170790.696982641414605
330.2974823240224350.594964648044870.702517675977565
340.4944972405543370.9889944811086730.505502759445663
350.5401360759620060.9197278480759880.459863924037994
360.5773738476815870.8452523046368260.422626152318413
370.5589450100590050.882109979881990.441054989940996
380.4771531811188470.9543063622376930.522846818881153
390.485540129895180.971080259790360.51445987010482
400.4145120441113280.8290240882226560.585487955888672
410.5732085474108650.853582905178270.426791452589135
420.4866708224211240.9733416448422480.513329177578876
430.4587965644826130.9175931289652260.541203435517387
440.3468912883755220.6937825767510440.653108711624478

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.297866954263022 & 0.595733908526043 & 0.702133045736978 \tabularnewline
17 & 0.206405991838846 & 0.412811983677692 & 0.793594008161154 \tabularnewline
18 & 0.190242652887006 & 0.380485305774012 & 0.809757347112994 \tabularnewline
19 & 0.126845161254860 & 0.253690322509721 & 0.87315483874514 \tabularnewline
20 & 0.13726200146111 & 0.27452400292222 & 0.86273799853889 \tabularnewline
21 & 0.117361863893614 & 0.234723727787228 & 0.882638136106386 \tabularnewline
22 & 0.103562497899591 & 0.207124995799181 & 0.89643750210041 \tabularnewline
23 & 0.0880303104802777 & 0.176060620960555 & 0.911969689519722 \tabularnewline
24 & 0.0752818391624606 & 0.150563678324921 & 0.92471816083754 \tabularnewline
25 & 0.0491912430752624 & 0.0983824861505248 & 0.950808756924738 \tabularnewline
26 & 0.0474824705389019 & 0.0949649410778038 & 0.952517529461098 \tabularnewline
27 & 0.0538254956110305 & 0.107650991222061 & 0.94617450438897 \tabularnewline
28 & 0.0438750746339446 & 0.0877501492678892 & 0.956124925366055 \tabularnewline
29 & 0.122753338494420 & 0.245506676988839 & 0.87724666150558 \tabularnewline
30 & 0.284787974060412 & 0.569575948120823 & 0.715212025939588 \tabularnewline
31 & 0.224754429159455 & 0.449508858318911 & 0.775245570840545 \tabularnewline
32 & 0.303017358585395 & 0.60603471717079 & 0.696982641414605 \tabularnewline
33 & 0.297482324022435 & 0.59496464804487 & 0.702517675977565 \tabularnewline
34 & 0.494497240554337 & 0.988994481108673 & 0.505502759445663 \tabularnewline
35 & 0.540136075962006 & 0.919727848075988 & 0.459863924037994 \tabularnewline
36 & 0.577373847681587 & 0.845252304636826 & 0.422626152318413 \tabularnewline
37 & 0.558945010059005 & 0.88210997988199 & 0.441054989940996 \tabularnewline
38 & 0.477153181118847 & 0.954306362237693 & 0.522846818881153 \tabularnewline
39 & 0.48554012989518 & 0.97108025979036 & 0.51445987010482 \tabularnewline
40 & 0.414512044111328 & 0.829024088222656 & 0.585487955888672 \tabularnewline
41 & 0.573208547410865 & 0.85358290517827 & 0.426791452589135 \tabularnewline
42 & 0.486670822421124 & 0.973341644842248 & 0.513329177578876 \tabularnewline
43 & 0.458796564482613 & 0.917593128965226 & 0.541203435517387 \tabularnewline
44 & 0.346891288375522 & 0.693782576751044 & 0.653108711624478 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58658&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.297866954263022[/C][C]0.595733908526043[/C][C]0.702133045736978[/C][/ROW]
[ROW][C]17[/C][C]0.206405991838846[/C][C]0.412811983677692[/C][C]0.793594008161154[/C][/ROW]
[ROW][C]18[/C][C]0.190242652887006[/C][C]0.380485305774012[/C][C]0.809757347112994[/C][/ROW]
[ROW][C]19[/C][C]0.126845161254860[/C][C]0.253690322509721[/C][C]0.87315483874514[/C][/ROW]
[ROW][C]20[/C][C]0.13726200146111[/C][C]0.27452400292222[/C][C]0.86273799853889[/C][/ROW]
[ROW][C]21[/C][C]0.117361863893614[/C][C]0.234723727787228[/C][C]0.882638136106386[/C][/ROW]
[ROW][C]22[/C][C]0.103562497899591[/C][C]0.207124995799181[/C][C]0.89643750210041[/C][/ROW]
[ROW][C]23[/C][C]0.0880303104802777[/C][C]0.176060620960555[/C][C]0.911969689519722[/C][/ROW]
[ROW][C]24[/C][C]0.0752818391624606[/C][C]0.150563678324921[/C][C]0.92471816083754[/C][/ROW]
[ROW][C]25[/C][C]0.0491912430752624[/C][C]0.0983824861505248[/C][C]0.950808756924738[/C][/ROW]
[ROW][C]26[/C][C]0.0474824705389019[/C][C]0.0949649410778038[/C][C]0.952517529461098[/C][/ROW]
[ROW][C]27[/C][C]0.0538254956110305[/C][C]0.107650991222061[/C][C]0.94617450438897[/C][/ROW]
[ROW][C]28[/C][C]0.0438750746339446[/C][C]0.0877501492678892[/C][C]0.956124925366055[/C][/ROW]
[ROW][C]29[/C][C]0.122753338494420[/C][C]0.245506676988839[/C][C]0.87724666150558[/C][/ROW]
[ROW][C]30[/C][C]0.284787974060412[/C][C]0.569575948120823[/C][C]0.715212025939588[/C][/ROW]
[ROW][C]31[/C][C]0.224754429159455[/C][C]0.449508858318911[/C][C]0.775245570840545[/C][/ROW]
[ROW][C]32[/C][C]0.303017358585395[/C][C]0.60603471717079[/C][C]0.696982641414605[/C][/ROW]
[ROW][C]33[/C][C]0.297482324022435[/C][C]0.59496464804487[/C][C]0.702517675977565[/C][/ROW]
[ROW][C]34[/C][C]0.494497240554337[/C][C]0.988994481108673[/C][C]0.505502759445663[/C][/ROW]
[ROW][C]35[/C][C]0.540136075962006[/C][C]0.919727848075988[/C][C]0.459863924037994[/C][/ROW]
[ROW][C]36[/C][C]0.577373847681587[/C][C]0.845252304636826[/C][C]0.422626152318413[/C][/ROW]
[ROW][C]37[/C][C]0.558945010059005[/C][C]0.88210997988199[/C][C]0.441054989940996[/C][/ROW]
[ROW][C]38[/C][C]0.477153181118847[/C][C]0.954306362237693[/C][C]0.522846818881153[/C][/ROW]
[ROW][C]39[/C][C]0.48554012989518[/C][C]0.97108025979036[/C][C]0.51445987010482[/C][/ROW]
[ROW][C]40[/C][C]0.414512044111328[/C][C]0.829024088222656[/C][C]0.585487955888672[/C][/ROW]
[ROW][C]41[/C][C]0.573208547410865[/C][C]0.85358290517827[/C][C]0.426791452589135[/C][/ROW]
[ROW][C]42[/C][C]0.486670822421124[/C][C]0.973341644842248[/C][C]0.513329177578876[/C][/ROW]
[ROW][C]43[/C][C]0.458796564482613[/C][C]0.917593128965226[/C][C]0.541203435517387[/C][/ROW]
[ROW][C]44[/C][C]0.346891288375522[/C][C]0.693782576751044[/C][C]0.653108711624478[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58658&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2978669542630220.5957339085260430.702133045736978
170.2064059918388460.4128119836776920.793594008161154
180.1902426528870060.3804853057740120.809757347112994
190.1268451612548600.2536903225097210.87315483874514
200.137262001461110.274524002922220.86273799853889
210.1173618638936140.2347237277872280.882638136106386
220.1035624978995910.2071249957991810.89643750210041
230.08803031048027770.1760606209605550.911969689519722
240.07528183916246060.1505636783249210.92471816083754
250.04919124307526240.09838248615052480.950808756924738
260.04748247053890190.09496494107780380.952517529461098
270.05382549561103050.1076509912220610.94617450438897
280.04387507463394460.08775014926788920.956124925366055
290.1227533384944200.2455066769888390.87724666150558
300.2847879740604120.5695759481208230.715212025939588
310.2247544291594550.4495088583189110.775245570840545
320.3030173585853950.606034717170790.696982641414605
330.2974823240224350.594964648044870.702517675977565
340.4944972405543370.9889944811086730.505502759445663
350.5401360759620060.9197278480759880.459863924037994
360.5773738476815870.8452523046368260.422626152318413
370.5589450100590050.882109979881990.441054989940996
380.4771531811188470.9543063622376930.522846818881153
390.485540129895180.971080259790360.51445987010482
400.4145120441113280.8290240882226560.585487955888672
410.5732085474108650.853582905178270.426791452589135
420.4866708224211240.9733416448422480.513329177578876
430.4587965644826130.9175931289652260.541203435517387
440.3468912883755220.6937825767510440.653108711624478







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 level30.103448275862069NOK

\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 & 3 & 0.103448275862069 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58658&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]3[/C][C]0.103448275862069[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58658&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58658&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 level30.103448275862069NOK



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