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 computationMon, 14 Dec 2009 12:49:08 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/14/t1260820174wcejlx4mr6b0f9z.htm/, Retrieved Tue, 30 Apr 2024 04:45:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67647, Retrieved Tue, 30 Apr 2024 04:45:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact151
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]
-   PD    [Multiple Regression] [] [2009-11-19 09:52:29] [d181e5359f7da6c8509e4702d1229fb0]
-    D      [Multiple Regression] [multiple regressi...] [2009-11-20 18:38:36] [34d27ebe78dc2d31581e8710befe8733]
-    D          [Multiple Regression] [multiple regressi...] [2009-12-14 19:49:08] [371dc2189c569d90e2c1567f632c3ec0] [Current]
Feedback Forum

Post a new message
Dataseries X:
441	1919
449	1911
452	1870
462	2263
455	1802
461	1863
461	1989
463	2197
462	2409
456	2502
455	2593
456	2598
472	2053
472	2213
471	2238
465	2359
459	2151
465	2474
468	3079
467	2312
463	2565
460	1972
462	2484
461	2202
476	2151
476	1976
471	2012
453	2114
443	1772
442	1957
444	2070
438	1990
427	2182
424	2008
416	1916
406	2397
431	2114
434	1778
418	1641
412	2186
404	1773
409	1785
412	2217
406	2153
398	1895
397	2475
385	1793
390	2308
413	2051
413	1898
401	2142
397	1874
397	1560
409	1808
419	1575
424	1525
428	1997
430	1753
424	1623
433	2251
456	1890




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67647&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
wkl[t] = + 433.120040994186 + 0.0131096616397323bvg[t] + 18.3563768945723M1[t] + 15.1404600533549M2[t] + 9.57257124330357M3[t] + 3.39628227004529M4[t] + 2.71829725161415M5[t] + 7.10981194734444M6[t] + 8.9402331248942M7[t] + 10.6796447634358M8[t] + 5.36103830139233M9[t] + 5.01234802383615M10[t] + 1.76664625014594M11[t] -0.965096595597911t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
wkl[t] =  +  433.120040994186 +  0.0131096616397323bvg[t] +  18.3563768945723M1[t] +  15.1404600533549M2[t] +  9.57257124330357M3[t] +  3.39628227004529M4[t] +  2.71829725161415M5[t] +  7.10981194734444M6[t] +  8.9402331248942M7[t] +  10.6796447634358M8[t] +  5.36103830139233M9[t] +  5.01234802383615M10[t] +  1.76664625014594M11[t] -0.965096595597911t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67647&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]wkl[t] =  +  433.120040994186 +  0.0131096616397323bvg[t] +  18.3563768945723M1[t] +  15.1404600533549M2[t] +  9.57257124330357M3[t] +  3.39628227004529M4[t] +  2.71829725161415M5[t] +  7.10981194734444M6[t] +  8.9402331248942M7[t] +  10.6796447634358M8[t] +  5.36103830139233M9[t] +  5.01234802383615M10[t] +  1.76664625014594M11[t] -0.965096595597911t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67647&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67647&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
wkl[t] = + 433.120040994186 + 0.0131096616397323bvg[t] + 18.3563768945723M1[t] + 15.1404600533549M2[t] + 9.57257124330357M3[t] + 3.39628227004529M4[t] + 2.71829725161415M5[t] + 7.10981194734444M6[t] + 8.9402331248942M7[t] + 10.6796447634358M8[t] + 5.36103830139233M9[t] + 5.01234802383615M10[t] + 1.76664625014594M11[t] -0.965096595597911t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)433.12004099418630.31546814.287100
bvg0.01310966163973230.0108691.20620.2337950.116897
M118.356376894572312.1897161.50590.1387870.069394
M215.140460053354913.1681951.14980.2560540.128027
M39.5725712433035713.0160140.73540.4657220.232861
M43.3962822700452912.3982740.27390.7853370.392669
M52.7182972516141513.6947990.19850.8435170.421758
M67.1098119473444412.9008650.55110.5841680.292084
M78.940233124894212.255590.72950.4693270.234663
M810.679644763435812.6226470.84610.4018010.2009
M95.3610383013923312.1720660.44040.6616390.33082
M105.0123480238361512.2805960.40820.6850160.342508
M111.7666462501459412.4038880.14240.8873520.443676
t-0.9650965955979110.164695-5.859900

\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) & 433.120040994186 & 30.315468 & 14.2871 & 0 & 0 \tabularnewline
bvg & 0.0131096616397323 & 0.010869 & 1.2062 & 0.233795 & 0.116897 \tabularnewline
M1 & 18.3563768945723 & 12.189716 & 1.5059 & 0.138787 & 0.069394 \tabularnewline
M2 & 15.1404600533549 & 13.168195 & 1.1498 & 0.256054 & 0.128027 \tabularnewline
M3 & 9.57257124330357 & 13.016014 & 0.7354 & 0.465722 & 0.232861 \tabularnewline
M4 & 3.39628227004529 & 12.398274 & 0.2739 & 0.785337 & 0.392669 \tabularnewline
M5 & 2.71829725161415 & 13.694799 & 0.1985 & 0.843517 & 0.421758 \tabularnewline
M6 & 7.10981194734444 & 12.900865 & 0.5511 & 0.584168 & 0.292084 \tabularnewline
M7 & 8.9402331248942 & 12.25559 & 0.7295 & 0.469327 & 0.234663 \tabularnewline
M8 & 10.6796447634358 & 12.622647 & 0.8461 & 0.401801 & 0.2009 \tabularnewline
M9 & 5.36103830139233 & 12.172066 & 0.4404 & 0.661639 & 0.33082 \tabularnewline
M10 & 5.01234802383615 & 12.280596 & 0.4082 & 0.685016 & 0.342508 \tabularnewline
M11 & 1.76664625014594 & 12.403888 & 0.1424 & 0.887352 & 0.443676 \tabularnewline
t & -0.965096595597911 & 0.164695 & -5.8599 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67647&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]433.120040994186[/C][C]30.315468[/C][C]14.2871[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]bvg[/C][C]0.0131096616397323[/C][C]0.010869[/C][C]1.2062[/C][C]0.233795[/C][C]0.116897[/C][/ROW]
[ROW][C]M1[/C][C]18.3563768945723[/C][C]12.189716[/C][C]1.5059[/C][C]0.138787[/C][C]0.069394[/C][/ROW]
[ROW][C]M2[/C][C]15.1404600533549[/C][C]13.168195[/C][C]1.1498[/C][C]0.256054[/C][C]0.128027[/C][/ROW]
[ROW][C]M3[/C][C]9.57257124330357[/C][C]13.016014[/C][C]0.7354[/C][C]0.465722[/C][C]0.232861[/C][/ROW]
[ROW][C]M4[/C][C]3.39628227004529[/C][C]12.398274[/C][C]0.2739[/C][C]0.785337[/C][C]0.392669[/C][/ROW]
[ROW][C]M5[/C][C]2.71829725161415[/C][C]13.694799[/C][C]0.1985[/C][C]0.843517[/C][C]0.421758[/C][/ROW]
[ROW][C]M6[/C][C]7.10981194734444[/C][C]12.900865[/C][C]0.5511[/C][C]0.584168[/C][C]0.292084[/C][/ROW]
[ROW][C]M7[/C][C]8.9402331248942[/C][C]12.25559[/C][C]0.7295[/C][C]0.469327[/C][C]0.234663[/C][/ROW]
[ROW][C]M8[/C][C]10.6796447634358[/C][C]12.622647[/C][C]0.8461[/C][C]0.401801[/C][C]0.2009[/C][/ROW]
[ROW][C]M9[/C][C]5.36103830139233[/C][C]12.172066[/C][C]0.4404[/C][C]0.661639[/C][C]0.33082[/C][/ROW]
[ROW][C]M10[/C][C]5.01234802383615[/C][C]12.280596[/C][C]0.4082[/C][C]0.685016[/C][C]0.342508[/C][/ROW]
[ROW][C]M11[/C][C]1.76664625014594[/C][C]12.403888[/C][C]0.1424[/C][C]0.887352[/C][C]0.443676[/C][/ROW]
[ROW][C]t[/C][C]-0.965096595597911[/C][C]0.164695[/C][C]-5.8599[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67647&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67647&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)433.12004099418630.31546814.287100
bvg0.01310966163973230.0108691.20620.2337950.116897
M118.356376894572312.1897161.50590.1387870.069394
M215.140460053354913.1681951.14980.2560540.128027
M39.5725712433035713.0160140.73540.4657220.232861
M43.3962822700452912.3982740.27390.7853370.392669
M52.7182972516141513.6947990.19850.8435170.421758
M67.1098119473444412.9008650.55110.5841680.292084
M78.940233124894212.255590.72950.4693270.234663
M810.679644763435812.6226470.84610.4018010.2009
M95.3610383013923312.1720660.44040.6616390.33082
M105.0123480238361512.2805960.40820.6850160.342508
M111.7666462501459412.4038880.14240.8873520.443676
t-0.9650965955979110.164695-5.859900







Multiple Linear Regression - Regression Statistics
Multiple R0.765394087726793
R-squared0.58582810952713
Adjusted R-squared0.47126992705591
F-TEST (value)5.11380415514454
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value1.53292904616631e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.0230958277144
Sum Squared Residuals17008.2742189089

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.765394087726793 \tabularnewline
R-squared & 0.58582810952713 \tabularnewline
Adjusted R-squared & 0.47126992705591 \tabularnewline
F-TEST (value) & 5.11380415514454 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 1.53292904616631e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19.0230958277144 \tabularnewline
Sum Squared Residuals & 17008.2742189089 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67647&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.765394087726793[/C][/ROW]
[ROW][C]R-squared[/C][C]0.58582810952713[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.47126992705591[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.11380415514454[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]1.53292904616631e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19.0230958277144[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]17008.2742189089[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67647&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67647&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.765394087726793
R-squared0.58582810952713
Adjusted R-squared0.47126992705591
F-TEST (value)5.11380415514454
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value1.53292904616631e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.0230958277144
Sum Squared Residuals17008.2742189089







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1441475.668761979807-34.6687619798071
2449471.382871249874-22.3828712498737
3452464.312389716995-12.3123897169955
4462462.323101172554-0.323101172554079
5455454.6364655426080.363534457391566
6461458.8625730027642.13742699723552
7461461.379714951323-0.379714951322605
8463464.880839615331-1.88083961533059
9462461.3763848253120.623615174687509
10456461.281796484654-5.28179648465351
11455458.263977324581-3.26397732458102
12456455.5977827870360.402217212964203
13472465.8442974923566.15570250764386
14472463.7608299178988.23917008210207
15471457.55558605324213.4444139467580
16465452.00046954279312.9995304572065
17459447.630578307711.3694216922999
18465455.2914171174669.708582882534
19468464.0880869914563.91191300854411
20467454.80729155672512.1927084432751
21463451.84033289393611.1596671060642
22460442.7525166684217.2474833315796
23462445.25386505867516.7461349413247
24461438.82519763052722.1748023694731
25476455.54788518587520.4521148141251
26476449.07268096210626.9273190378936
27471443.01164337548827.9883566245124
28453437.20744329388415.7925567061159
29443431.08085739906711.9191426009334
30442436.9325629025495.06743709745054
31444439.2792792497914.72072075020895
32438439.004821361556-1.00482136155615
33427435.238173338743-8.23817333874338
34424431.643305340276-7.64330534027587
35416426.226418100132-10.2264181001324
36406429.8004225031-23.8004225030997
37431443.48166855803-12.4816685580299
38434434.895808810264-0.8958088102645
39418426.566799759972-8.56679975997198
40412426.57017978477-14.5701797847699
41404419.512807913531-15.5128079135314
42409423.096541953341-14.0965419533406
43412429.625240363657-17.6252403636568
44406429.560537061658-23.5605370616576
45398419.894541300965-21.8945413009653
46397426.184358178856-29.1843581788559
47385413.032770571270-28.0327705712704
48390417.052503469989-27.0525034699886
49413431.074600727552-18.0746007275519
50413424.887809059857-11.8878090598574
51401421.553581094303-20.5535810943029
52397410.898806205998-13.8988062059985
53397405.139290837093-8.13929083709349
54409411.816905023879-2.81690502387947
55419409.6276784437749.37232155622631
56424409.74651040473114.2534895952692
57428409.65056764104318.3494323589570
58430405.13802332779424.8619766722057
59424399.22296894534124.7770310546590
60433404.72409360934928.275906390651
61456417.3827860563838.61721394362

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 441 & 475.668761979807 & -34.6687619798071 \tabularnewline
2 & 449 & 471.382871249874 & -22.3828712498737 \tabularnewline
3 & 452 & 464.312389716995 & -12.3123897169955 \tabularnewline
4 & 462 & 462.323101172554 & -0.323101172554079 \tabularnewline
5 & 455 & 454.636465542608 & 0.363534457391566 \tabularnewline
6 & 461 & 458.862573002764 & 2.13742699723552 \tabularnewline
7 & 461 & 461.379714951323 & -0.379714951322605 \tabularnewline
8 & 463 & 464.880839615331 & -1.88083961533059 \tabularnewline
9 & 462 & 461.376384825312 & 0.623615174687509 \tabularnewline
10 & 456 & 461.281796484654 & -5.28179648465351 \tabularnewline
11 & 455 & 458.263977324581 & -3.26397732458102 \tabularnewline
12 & 456 & 455.597782787036 & 0.402217212964203 \tabularnewline
13 & 472 & 465.844297492356 & 6.15570250764386 \tabularnewline
14 & 472 & 463.760829917898 & 8.23917008210207 \tabularnewline
15 & 471 & 457.555586053242 & 13.4444139467580 \tabularnewline
16 & 465 & 452.000469542793 & 12.9995304572065 \tabularnewline
17 & 459 & 447.6305783077 & 11.3694216922999 \tabularnewline
18 & 465 & 455.291417117466 & 9.708582882534 \tabularnewline
19 & 468 & 464.088086991456 & 3.91191300854411 \tabularnewline
20 & 467 & 454.807291556725 & 12.1927084432751 \tabularnewline
21 & 463 & 451.840332893936 & 11.1596671060642 \tabularnewline
22 & 460 & 442.75251666842 & 17.2474833315796 \tabularnewline
23 & 462 & 445.253865058675 & 16.7461349413247 \tabularnewline
24 & 461 & 438.825197630527 & 22.1748023694731 \tabularnewline
25 & 476 & 455.547885185875 & 20.4521148141251 \tabularnewline
26 & 476 & 449.072680962106 & 26.9273190378936 \tabularnewline
27 & 471 & 443.011643375488 & 27.9883566245124 \tabularnewline
28 & 453 & 437.207443293884 & 15.7925567061159 \tabularnewline
29 & 443 & 431.080857399067 & 11.9191426009334 \tabularnewline
30 & 442 & 436.932562902549 & 5.06743709745054 \tabularnewline
31 & 444 & 439.279279249791 & 4.72072075020895 \tabularnewline
32 & 438 & 439.004821361556 & -1.00482136155615 \tabularnewline
33 & 427 & 435.238173338743 & -8.23817333874338 \tabularnewline
34 & 424 & 431.643305340276 & -7.64330534027587 \tabularnewline
35 & 416 & 426.226418100132 & -10.2264181001324 \tabularnewline
36 & 406 & 429.8004225031 & -23.8004225030997 \tabularnewline
37 & 431 & 443.48166855803 & -12.4816685580299 \tabularnewline
38 & 434 & 434.895808810264 & -0.8958088102645 \tabularnewline
39 & 418 & 426.566799759972 & -8.56679975997198 \tabularnewline
40 & 412 & 426.57017978477 & -14.5701797847699 \tabularnewline
41 & 404 & 419.512807913531 & -15.5128079135314 \tabularnewline
42 & 409 & 423.096541953341 & -14.0965419533406 \tabularnewline
43 & 412 & 429.625240363657 & -17.6252403636568 \tabularnewline
44 & 406 & 429.560537061658 & -23.5605370616576 \tabularnewline
45 & 398 & 419.894541300965 & -21.8945413009653 \tabularnewline
46 & 397 & 426.184358178856 & -29.1843581788559 \tabularnewline
47 & 385 & 413.032770571270 & -28.0327705712704 \tabularnewline
48 & 390 & 417.052503469989 & -27.0525034699886 \tabularnewline
49 & 413 & 431.074600727552 & -18.0746007275519 \tabularnewline
50 & 413 & 424.887809059857 & -11.8878090598574 \tabularnewline
51 & 401 & 421.553581094303 & -20.5535810943029 \tabularnewline
52 & 397 & 410.898806205998 & -13.8988062059985 \tabularnewline
53 & 397 & 405.139290837093 & -8.13929083709349 \tabularnewline
54 & 409 & 411.816905023879 & -2.81690502387947 \tabularnewline
55 & 419 & 409.627678443774 & 9.37232155622631 \tabularnewline
56 & 424 & 409.746510404731 & 14.2534895952692 \tabularnewline
57 & 428 & 409.650567641043 & 18.3494323589570 \tabularnewline
58 & 430 & 405.138023327794 & 24.8619766722057 \tabularnewline
59 & 424 & 399.222968945341 & 24.7770310546590 \tabularnewline
60 & 433 & 404.724093609349 & 28.275906390651 \tabularnewline
61 & 456 & 417.38278605638 & 38.61721394362 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67647&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]441[/C][C]475.668761979807[/C][C]-34.6687619798071[/C][/ROW]
[ROW][C]2[/C][C]449[/C][C]471.382871249874[/C][C]-22.3828712498737[/C][/ROW]
[ROW][C]3[/C][C]452[/C][C]464.312389716995[/C][C]-12.3123897169955[/C][/ROW]
[ROW][C]4[/C][C]462[/C][C]462.323101172554[/C][C]-0.323101172554079[/C][/ROW]
[ROW][C]5[/C][C]455[/C][C]454.636465542608[/C][C]0.363534457391566[/C][/ROW]
[ROW][C]6[/C][C]461[/C][C]458.862573002764[/C][C]2.13742699723552[/C][/ROW]
[ROW][C]7[/C][C]461[/C][C]461.379714951323[/C][C]-0.379714951322605[/C][/ROW]
[ROW][C]8[/C][C]463[/C][C]464.880839615331[/C][C]-1.88083961533059[/C][/ROW]
[ROW][C]9[/C][C]462[/C][C]461.376384825312[/C][C]0.623615174687509[/C][/ROW]
[ROW][C]10[/C][C]456[/C][C]461.281796484654[/C][C]-5.28179648465351[/C][/ROW]
[ROW][C]11[/C][C]455[/C][C]458.263977324581[/C][C]-3.26397732458102[/C][/ROW]
[ROW][C]12[/C][C]456[/C][C]455.597782787036[/C][C]0.402217212964203[/C][/ROW]
[ROW][C]13[/C][C]472[/C][C]465.844297492356[/C][C]6.15570250764386[/C][/ROW]
[ROW][C]14[/C][C]472[/C][C]463.760829917898[/C][C]8.23917008210207[/C][/ROW]
[ROW][C]15[/C][C]471[/C][C]457.555586053242[/C][C]13.4444139467580[/C][/ROW]
[ROW][C]16[/C][C]465[/C][C]452.000469542793[/C][C]12.9995304572065[/C][/ROW]
[ROW][C]17[/C][C]459[/C][C]447.6305783077[/C][C]11.3694216922999[/C][/ROW]
[ROW][C]18[/C][C]465[/C][C]455.291417117466[/C][C]9.708582882534[/C][/ROW]
[ROW][C]19[/C][C]468[/C][C]464.088086991456[/C][C]3.91191300854411[/C][/ROW]
[ROW][C]20[/C][C]467[/C][C]454.807291556725[/C][C]12.1927084432751[/C][/ROW]
[ROW][C]21[/C][C]463[/C][C]451.840332893936[/C][C]11.1596671060642[/C][/ROW]
[ROW][C]22[/C][C]460[/C][C]442.75251666842[/C][C]17.2474833315796[/C][/ROW]
[ROW][C]23[/C][C]462[/C][C]445.253865058675[/C][C]16.7461349413247[/C][/ROW]
[ROW][C]24[/C][C]461[/C][C]438.825197630527[/C][C]22.1748023694731[/C][/ROW]
[ROW][C]25[/C][C]476[/C][C]455.547885185875[/C][C]20.4521148141251[/C][/ROW]
[ROW][C]26[/C][C]476[/C][C]449.072680962106[/C][C]26.9273190378936[/C][/ROW]
[ROW][C]27[/C][C]471[/C][C]443.011643375488[/C][C]27.9883566245124[/C][/ROW]
[ROW][C]28[/C][C]453[/C][C]437.207443293884[/C][C]15.7925567061159[/C][/ROW]
[ROW][C]29[/C][C]443[/C][C]431.080857399067[/C][C]11.9191426009334[/C][/ROW]
[ROW][C]30[/C][C]442[/C][C]436.932562902549[/C][C]5.06743709745054[/C][/ROW]
[ROW][C]31[/C][C]444[/C][C]439.279279249791[/C][C]4.72072075020895[/C][/ROW]
[ROW][C]32[/C][C]438[/C][C]439.004821361556[/C][C]-1.00482136155615[/C][/ROW]
[ROW][C]33[/C][C]427[/C][C]435.238173338743[/C][C]-8.23817333874338[/C][/ROW]
[ROW][C]34[/C][C]424[/C][C]431.643305340276[/C][C]-7.64330534027587[/C][/ROW]
[ROW][C]35[/C][C]416[/C][C]426.226418100132[/C][C]-10.2264181001324[/C][/ROW]
[ROW][C]36[/C][C]406[/C][C]429.8004225031[/C][C]-23.8004225030997[/C][/ROW]
[ROW][C]37[/C][C]431[/C][C]443.48166855803[/C][C]-12.4816685580299[/C][/ROW]
[ROW][C]38[/C][C]434[/C][C]434.895808810264[/C][C]-0.8958088102645[/C][/ROW]
[ROW][C]39[/C][C]418[/C][C]426.566799759972[/C][C]-8.56679975997198[/C][/ROW]
[ROW][C]40[/C][C]412[/C][C]426.57017978477[/C][C]-14.5701797847699[/C][/ROW]
[ROW][C]41[/C][C]404[/C][C]419.512807913531[/C][C]-15.5128079135314[/C][/ROW]
[ROW][C]42[/C][C]409[/C][C]423.096541953341[/C][C]-14.0965419533406[/C][/ROW]
[ROW][C]43[/C][C]412[/C][C]429.625240363657[/C][C]-17.6252403636568[/C][/ROW]
[ROW][C]44[/C][C]406[/C][C]429.560537061658[/C][C]-23.5605370616576[/C][/ROW]
[ROW][C]45[/C][C]398[/C][C]419.894541300965[/C][C]-21.8945413009653[/C][/ROW]
[ROW][C]46[/C][C]397[/C][C]426.184358178856[/C][C]-29.1843581788559[/C][/ROW]
[ROW][C]47[/C][C]385[/C][C]413.032770571270[/C][C]-28.0327705712704[/C][/ROW]
[ROW][C]48[/C][C]390[/C][C]417.052503469989[/C][C]-27.0525034699886[/C][/ROW]
[ROW][C]49[/C][C]413[/C][C]431.074600727552[/C][C]-18.0746007275519[/C][/ROW]
[ROW][C]50[/C][C]413[/C][C]424.887809059857[/C][C]-11.8878090598574[/C][/ROW]
[ROW][C]51[/C][C]401[/C][C]421.553581094303[/C][C]-20.5535810943029[/C][/ROW]
[ROW][C]52[/C][C]397[/C][C]410.898806205998[/C][C]-13.8988062059985[/C][/ROW]
[ROW][C]53[/C][C]397[/C][C]405.139290837093[/C][C]-8.13929083709349[/C][/ROW]
[ROW][C]54[/C][C]409[/C][C]411.816905023879[/C][C]-2.81690502387947[/C][/ROW]
[ROW][C]55[/C][C]419[/C][C]409.627678443774[/C][C]9.37232155622631[/C][/ROW]
[ROW][C]56[/C][C]424[/C][C]409.746510404731[/C][C]14.2534895952692[/C][/ROW]
[ROW][C]57[/C][C]428[/C][C]409.650567641043[/C][C]18.3494323589570[/C][/ROW]
[ROW][C]58[/C][C]430[/C][C]405.138023327794[/C][C]24.8619766722057[/C][/ROW]
[ROW][C]59[/C][C]424[/C][C]399.222968945341[/C][C]24.7770310546590[/C][/ROW]
[ROW][C]60[/C][C]433[/C][C]404.724093609349[/C][C]28.275906390651[/C][/ROW]
[ROW][C]61[/C][C]456[/C][C]417.38278605638[/C][C]38.61721394362[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67647&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67647&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
1441475.668761979807-34.6687619798071
2449471.382871249874-22.3828712498737
3452464.312389716995-12.3123897169955
4462462.323101172554-0.323101172554079
5455454.6364655426080.363534457391566
6461458.8625730027642.13742699723552
7461461.379714951323-0.379714951322605
8463464.880839615331-1.88083961533059
9462461.3763848253120.623615174687509
10456461.281796484654-5.28179648465351
11455458.263977324581-3.26397732458102
12456455.5977827870360.402217212964203
13472465.8442974923566.15570250764386
14472463.7608299178988.23917008210207
15471457.55558605324213.4444139467580
16465452.00046954279312.9995304572065
17459447.630578307711.3694216922999
18465455.2914171174669.708582882534
19468464.0880869914563.91191300854411
20467454.80729155672512.1927084432751
21463451.84033289393611.1596671060642
22460442.7525166684217.2474833315796
23462445.25386505867516.7461349413247
24461438.82519763052722.1748023694731
25476455.54788518587520.4521148141251
26476449.07268096210626.9273190378936
27471443.01164337548827.9883566245124
28453437.20744329388415.7925567061159
29443431.08085739906711.9191426009334
30442436.9325629025495.06743709745054
31444439.2792792497914.72072075020895
32438439.004821361556-1.00482136155615
33427435.238173338743-8.23817333874338
34424431.643305340276-7.64330534027587
35416426.226418100132-10.2264181001324
36406429.8004225031-23.8004225030997
37431443.48166855803-12.4816685580299
38434434.895808810264-0.8958088102645
39418426.566799759972-8.56679975997198
40412426.57017978477-14.5701797847699
41404419.512807913531-15.5128079135314
42409423.096541953341-14.0965419533406
43412429.625240363657-17.6252403636568
44406429.560537061658-23.5605370616576
45398419.894541300965-21.8945413009653
46397426.184358178856-29.1843581788559
47385413.032770571270-28.0327705712704
48390417.052503469989-27.0525034699886
49413431.074600727552-18.0746007275519
50413424.887809059857-11.8878090598574
51401421.553581094303-20.5535810943029
52397410.898806205998-13.8988062059985
53397405.139290837093-8.13929083709349
54409411.816905023879-2.81690502387947
55419409.6276784437749.37232155622631
56424409.74651040473114.2534895952692
57428409.65056764104318.3494323589570
58430405.13802332779424.8619766722057
59424399.22296894534124.7770310546590
60433404.72409360934928.275906390651
61456417.3827860563838.61721394362







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1244905396962230.2489810793924460.875509460303777
180.05220701184719270.1044140236943850.947792988152807
190.02067205152887150.0413441030577430.979327948471128
200.01117375393940890.02234750787881770.98882624606059
210.006523140538140180.01304628107628040.99347685946186
220.002675259733876940.005350519467753890.997324740266123
230.001409290563859880.002818581127719760.99859070943614
240.0004996949121759370.0009993898243518730.999500305087824
250.0001991031823996720.0003982063647993440.9998008968176
269.78424699412255e-050.0001956849398824510.999902157530059
279.91733485521008e-050.0001983466971042020.999900826651448
280.0009538539505601920.001907707901120380.99904614604944
290.004211127058623340.008422254117246690.995788872941377
300.01608391340895180.03216782681790360.983916086591048
310.02575147344570330.05150294689140660.974248526554297
320.05430613282109260.1086122656421850.945693867178907
330.1085628104864790.2171256209729580.891437189513521
340.1315947130953770.2631894261907550.868405286904623
350.1654018949679960.3308037899359920.834598105032004
360.3020019655817590.6040039311635170.697998034418241
370.2798828921260420.5597657842520840.720117107873958
380.2985596473170720.5971192946341440.701440352682928
390.3683511866256150.736702373251230.631648813374385
400.5591686670775070.8816626658449850.440831332922493
410.7206222305610770.5587555388778460.279377769438923
420.9263331357503830.1473337284992330.0736668642496167
430.9526758198239720.09464836035205570.0473241801760279
440.9664082154751760.06718356904964730.0335917845248236

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.124490539696223 & 0.248981079392446 & 0.875509460303777 \tabularnewline
18 & 0.0522070118471927 & 0.104414023694385 & 0.947792988152807 \tabularnewline
19 & 0.0206720515288715 & 0.041344103057743 & 0.979327948471128 \tabularnewline
20 & 0.0111737539394089 & 0.0223475078788177 & 0.98882624606059 \tabularnewline
21 & 0.00652314053814018 & 0.0130462810762804 & 0.99347685946186 \tabularnewline
22 & 0.00267525973387694 & 0.00535051946775389 & 0.997324740266123 \tabularnewline
23 & 0.00140929056385988 & 0.00281858112771976 & 0.99859070943614 \tabularnewline
24 & 0.000499694912175937 & 0.000999389824351873 & 0.999500305087824 \tabularnewline
25 & 0.000199103182399672 & 0.000398206364799344 & 0.9998008968176 \tabularnewline
26 & 9.78424699412255e-05 & 0.000195684939882451 & 0.999902157530059 \tabularnewline
27 & 9.91733485521008e-05 & 0.000198346697104202 & 0.999900826651448 \tabularnewline
28 & 0.000953853950560192 & 0.00190770790112038 & 0.99904614604944 \tabularnewline
29 & 0.00421112705862334 & 0.00842225411724669 & 0.995788872941377 \tabularnewline
30 & 0.0160839134089518 & 0.0321678268179036 & 0.983916086591048 \tabularnewline
31 & 0.0257514734457033 & 0.0515029468914066 & 0.974248526554297 \tabularnewline
32 & 0.0543061328210926 & 0.108612265642185 & 0.945693867178907 \tabularnewline
33 & 0.108562810486479 & 0.217125620972958 & 0.891437189513521 \tabularnewline
34 & 0.131594713095377 & 0.263189426190755 & 0.868405286904623 \tabularnewline
35 & 0.165401894967996 & 0.330803789935992 & 0.834598105032004 \tabularnewline
36 & 0.302001965581759 & 0.604003931163517 & 0.697998034418241 \tabularnewline
37 & 0.279882892126042 & 0.559765784252084 & 0.720117107873958 \tabularnewline
38 & 0.298559647317072 & 0.597119294634144 & 0.701440352682928 \tabularnewline
39 & 0.368351186625615 & 0.73670237325123 & 0.631648813374385 \tabularnewline
40 & 0.559168667077507 & 0.881662665844985 & 0.440831332922493 \tabularnewline
41 & 0.720622230561077 & 0.558755538877846 & 0.279377769438923 \tabularnewline
42 & 0.926333135750383 & 0.147333728499233 & 0.0736668642496167 \tabularnewline
43 & 0.952675819823972 & 0.0946483603520557 & 0.0473241801760279 \tabularnewline
44 & 0.966408215475176 & 0.0671835690496473 & 0.0335917845248236 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67647&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.124490539696223[/C][C]0.248981079392446[/C][C]0.875509460303777[/C][/ROW]
[ROW][C]18[/C][C]0.0522070118471927[/C][C]0.104414023694385[/C][C]0.947792988152807[/C][/ROW]
[ROW][C]19[/C][C]0.0206720515288715[/C][C]0.041344103057743[/C][C]0.979327948471128[/C][/ROW]
[ROW][C]20[/C][C]0.0111737539394089[/C][C]0.0223475078788177[/C][C]0.98882624606059[/C][/ROW]
[ROW][C]21[/C][C]0.00652314053814018[/C][C]0.0130462810762804[/C][C]0.99347685946186[/C][/ROW]
[ROW][C]22[/C][C]0.00267525973387694[/C][C]0.00535051946775389[/C][C]0.997324740266123[/C][/ROW]
[ROW][C]23[/C][C]0.00140929056385988[/C][C]0.00281858112771976[/C][C]0.99859070943614[/C][/ROW]
[ROW][C]24[/C][C]0.000499694912175937[/C][C]0.000999389824351873[/C][C]0.999500305087824[/C][/ROW]
[ROW][C]25[/C][C]0.000199103182399672[/C][C]0.000398206364799344[/C][C]0.9998008968176[/C][/ROW]
[ROW][C]26[/C][C]9.78424699412255e-05[/C][C]0.000195684939882451[/C][C]0.999902157530059[/C][/ROW]
[ROW][C]27[/C][C]9.91733485521008e-05[/C][C]0.000198346697104202[/C][C]0.999900826651448[/C][/ROW]
[ROW][C]28[/C][C]0.000953853950560192[/C][C]0.00190770790112038[/C][C]0.99904614604944[/C][/ROW]
[ROW][C]29[/C][C]0.00421112705862334[/C][C]0.00842225411724669[/C][C]0.995788872941377[/C][/ROW]
[ROW][C]30[/C][C]0.0160839134089518[/C][C]0.0321678268179036[/C][C]0.983916086591048[/C][/ROW]
[ROW][C]31[/C][C]0.0257514734457033[/C][C]0.0515029468914066[/C][C]0.974248526554297[/C][/ROW]
[ROW][C]32[/C][C]0.0543061328210926[/C][C]0.108612265642185[/C][C]0.945693867178907[/C][/ROW]
[ROW][C]33[/C][C]0.108562810486479[/C][C]0.217125620972958[/C][C]0.891437189513521[/C][/ROW]
[ROW][C]34[/C][C]0.131594713095377[/C][C]0.263189426190755[/C][C]0.868405286904623[/C][/ROW]
[ROW][C]35[/C][C]0.165401894967996[/C][C]0.330803789935992[/C][C]0.834598105032004[/C][/ROW]
[ROW][C]36[/C][C]0.302001965581759[/C][C]0.604003931163517[/C][C]0.697998034418241[/C][/ROW]
[ROW][C]37[/C][C]0.279882892126042[/C][C]0.559765784252084[/C][C]0.720117107873958[/C][/ROW]
[ROW][C]38[/C][C]0.298559647317072[/C][C]0.597119294634144[/C][C]0.701440352682928[/C][/ROW]
[ROW][C]39[/C][C]0.368351186625615[/C][C]0.73670237325123[/C][C]0.631648813374385[/C][/ROW]
[ROW][C]40[/C][C]0.559168667077507[/C][C]0.881662665844985[/C][C]0.440831332922493[/C][/ROW]
[ROW][C]41[/C][C]0.720622230561077[/C][C]0.558755538877846[/C][C]0.279377769438923[/C][/ROW]
[ROW][C]42[/C][C]0.926333135750383[/C][C]0.147333728499233[/C][C]0.0736668642496167[/C][/ROW]
[ROW][C]43[/C][C]0.952675819823972[/C][C]0.0946483603520557[/C][C]0.0473241801760279[/C][/ROW]
[ROW][C]44[/C][C]0.966408215475176[/C][C]0.0671835690496473[/C][C]0.0335917845248236[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67647&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67647&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.1244905396962230.2489810793924460.875509460303777
180.05220701184719270.1044140236943850.947792988152807
190.02067205152887150.0413441030577430.979327948471128
200.01117375393940890.02234750787881770.98882624606059
210.006523140538140180.01304628107628040.99347685946186
220.002675259733876940.005350519467753890.997324740266123
230.001409290563859880.002818581127719760.99859070943614
240.0004996949121759370.0009993898243518730.999500305087824
250.0001991031823996720.0003982063647993440.9998008968176
269.78424699412255e-050.0001956849398824510.999902157530059
279.91733485521008e-050.0001983466971042020.999900826651448
280.0009538539505601920.001907707901120380.99904614604944
290.004211127058623340.008422254117246690.995788872941377
300.01608391340895180.03216782681790360.983916086591048
310.02575147344570330.05150294689140660.974248526554297
320.05430613282109260.1086122656421850.945693867178907
330.1085628104864790.2171256209729580.891437189513521
340.1315947130953770.2631894261907550.868405286904623
350.1654018949679960.3308037899359920.834598105032004
360.3020019655817590.6040039311635170.697998034418241
370.2798828921260420.5597657842520840.720117107873958
380.2985596473170720.5971192946341440.701440352682928
390.3683511866256150.736702373251230.631648813374385
400.5591686670775070.8816626658449850.440831332922493
410.7206222305610770.5587555388778460.279377769438923
420.9263331357503830.1473337284992330.0736668642496167
430.9526758198239720.09464836035205570.0473241801760279
440.9664082154751760.06718356904964730.0335917845248236







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level80.285714285714286NOK
5% type I error level120.428571428571429NOK
10% type I error level150.535714285714286NOK

\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 & 8 & 0.285714285714286 & NOK \tabularnewline
5% type I error level & 12 & 0.428571428571429 & NOK \tabularnewline
10% type I error level & 15 & 0.535714285714286 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67647&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]8[/C][C]0.285714285714286[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]12[/C][C]0.428571428571429[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]15[/C][C]0.535714285714286[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67647&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67647&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 level80.285714285714286NOK
5% type I error level120.428571428571429NOK
10% type I error level150.535714285714286NOK



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