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, 29 Nov 2010 20:22:31 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Nov/29/t1291062036anfpwg4qknq5hj9.htm/, Retrieved Mon, 29 Apr 2024 10:02:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=103084, Retrieved Mon, 29 Apr 2024 10:02:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact141
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD  [Multiple Regression] [WS8 - Multiple Re...] [2010-11-28 10:30:02] [8ef49741e164ec6343c90c7935194465]
-   PD      [Multiple Regression] [WS 8 - Multiple R...] [2010-11-29 20:22:31] [89d441ae0711e9b79b5d358f420c1317] [Current]
Feedback Forum

Post a new message
Dataseries X:
1576.23
1546.37
1545.05
1552.34
1594.3
1605.78
1673.21
1612.94
1566.34
1530.17
1582.54
1702.16
1701.93
1811.15
1924.2
2034.25
2011.13
2013.04
2151.67
1902.09
1944.01
1916.67
1967.31
2119.88
2216.38
2522.83
2647.64
2631.23
2693.41
3021.76
2953.67
2796.8
2672.05
2251.23
2046.08
2420.04
2608.89
2660.47
2493.98
2541.7
2554.6
2699.61
2805.48
2956.66
3149.51
3372.5
3379.33
3517.54
3527.34
3281.06
3089.65
3222.76
3165.76
3232.43
3229.54
3071.74
2850.17




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 7 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103084&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103084&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103084&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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
PrijsCacao[t] = + 1384.86440476191 + 62.0890992063496M1[t] + 65.1430793650795M2[t] + 5.70305952380944M3[t] + 26.8870396825396M4[t] -0.89698015873049M5[t] + 74.6190000000001M6[t] + 87.6409801587303M7[t] -42.1950396825399M8[t] -108.993059523809M9[t] -101.926460317460M10[t] -160.92198015873M11[t] + 35.1680198412698t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
PrijsCacao[t] =  +  1384.86440476191 +  62.0890992063496M1[t] +  65.1430793650795M2[t] +  5.70305952380944M3[t] +  26.8870396825396M4[t] -0.89698015873049M5[t] +  74.6190000000001M6[t] +  87.6409801587303M7[t] -42.1950396825399M8[t] -108.993059523809M9[t] -101.926460317460M10[t] -160.92198015873M11[t] +  35.1680198412698t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103084&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]PrijsCacao[t] =  +  1384.86440476191 +  62.0890992063496M1[t] +  65.1430793650795M2[t] +  5.70305952380944M3[t] +  26.8870396825396M4[t] -0.89698015873049M5[t] +  74.6190000000001M6[t] +  87.6409801587303M7[t] -42.1950396825399M8[t] -108.993059523809M9[t] -101.926460317460M10[t] -160.92198015873M11[t] +  35.1680198412698t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103084&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103084&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
PrijsCacao[t] = + 1384.86440476191 + 62.0890992063496M1[t] + 65.1430793650795M2[t] + 5.70305952380944M3[t] + 26.8870396825396M4[t] -0.89698015873049M5[t] + 74.6190000000001M6[t] + 87.6409801587303M7[t] -42.1950396825399M8[t] -108.993059523809M9[t] -101.926460317460M10[t] -160.92198015873M11[t] + 35.1680198412698t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1384.86440476191141.2562269.803900
M162.0890992063496170.6330790.36390.7176940.358847
M265.1430793650795170.5206030.3820.7042820.352141
M35.70305952380944170.433070.03350.9734570.486729
M426.8870396825396170.3705190.15780.8753250.437662
M5-0.89698015873049170.332977-0.00530.9958220.497911
M674.6190000000001170.3204610.43810.663450.331725
M787.6409801587303170.3329770.51450.6094580.304729
M8-42.1950396825399170.370519-0.24770.8055450.402772
M9-108.993059523809170.43307-0.63950.5258090.262905
M10-101.926460317460179.581019-0.56760.5732060.286603
M11-160.92198015873179.545404-0.89630.3749840.187492
t35.16801984126982.06483217.031900

\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) & 1384.86440476191 & 141.256226 & 9.8039 & 0 & 0 \tabularnewline
M1 & 62.0890992063496 & 170.633079 & 0.3639 & 0.717694 & 0.358847 \tabularnewline
M2 & 65.1430793650795 & 170.520603 & 0.382 & 0.704282 & 0.352141 \tabularnewline
M3 & 5.70305952380944 & 170.43307 & 0.0335 & 0.973457 & 0.486729 \tabularnewline
M4 & 26.8870396825396 & 170.370519 & 0.1578 & 0.875325 & 0.437662 \tabularnewline
M5 & -0.89698015873049 & 170.332977 & -0.0053 & 0.995822 & 0.497911 \tabularnewline
M6 & 74.6190000000001 & 170.320461 & 0.4381 & 0.66345 & 0.331725 \tabularnewline
M7 & 87.6409801587303 & 170.332977 & 0.5145 & 0.609458 & 0.304729 \tabularnewline
M8 & -42.1950396825399 & 170.370519 & -0.2477 & 0.805545 & 0.402772 \tabularnewline
M9 & -108.993059523809 & 170.43307 & -0.6395 & 0.525809 & 0.262905 \tabularnewline
M10 & -101.926460317460 & 179.581019 & -0.5676 & 0.573206 & 0.286603 \tabularnewline
M11 & -160.92198015873 & 179.545404 & -0.8963 & 0.374984 & 0.187492 \tabularnewline
t & 35.1680198412698 & 2.064832 & 17.0319 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103084&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]1384.86440476191[/C][C]141.256226[/C][C]9.8039[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]62.0890992063496[/C][C]170.633079[/C][C]0.3639[/C][C]0.717694[/C][C]0.358847[/C][/ROW]
[ROW][C]M2[/C][C]65.1430793650795[/C][C]170.520603[/C][C]0.382[/C][C]0.704282[/C][C]0.352141[/C][/ROW]
[ROW][C]M3[/C][C]5.70305952380944[/C][C]170.43307[/C][C]0.0335[/C][C]0.973457[/C][C]0.486729[/C][/ROW]
[ROW][C]M4[/C][C]26.8870396825396[/C][C]170.370519[/C][C]0.1578[/C][C]0.875325[/C][C]0.437662[/C][/ROW]
[ROW][C]M5[/C][C]-0.89698015873049[/C][C]170.332977[/C][C]-0.0053[/C][C]0.995822[/C][C]0.497911[/C][/ROW]
[ROW][C]M6[/C][C]74.6190000000001[/C][C]170.320461[/C][C]0.4381[/C][C]0.66345[/C][C]0.331725[/C][/ROW]
[ROW][C]M7[/C][C]87.6409801587303[/C][C]170.332977[/C][C]0.5145[/C][C]0.609458[/C][C]0.304729[/C][/ROW]
[ROW][C]M8[/C][C]-42.1950396825399[/C][C]170.370519[/C][C]-0.2477[/C][C]0.805545[/C][C]0.402772[/C][/ROW]
[ROW][C]M9[/C][C]-108.993059523809[/C][C]170.43307[/C][C]-0.6395[/C][C]0.525809[/C][C]0.262905[/C][/ROW]
[ROW][C]M10[/C][C]-101.926460317460[/C][C]179.581019[/C][C]-0.5676[/C][C]0.573206[/C][C]0.286603[/C][/ROW]
[ROW][C]M11[/C][C]-160.92198015873[/C][C]179.545404[/C][C]-0.8963[/C][C]0.374984[/C][C]0.187492[/C][/ROW]
[ROW][C]t[/C][C]35.1680198412698[/C][C]2.064832[/C][C]17.0319[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103084&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103084&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)1384.86440476191141.2562269.803900
M162.0890992063496170.6330790.36390.7176940.358847
M265.1430793650795170.5206030.3820.7042820.352141
M35.70305952380944170.433070.03350.9734570.486729
M426.8870396825396170.3705190.15780.8753250.437662
M5-0.89698015873049170.332977-0.00530.9958220.497911
M674.6190000000001170.3204610.43810.663450.331725
M787.6409801587303170.3329770.51450.6094580.304729
M8-42.1950396825399170.370519-0.24770.8055450.402772
M9-108.993059523809170.43307-0.63950.5258090.262905
M10-101.926460317460179.581019-0.56760.5732060.286603
M11-160.92198015873179.545404-0.89630.3749840.187492
t35.16801984126982.06483217.031900







Multiple Linear Regression - Regression Statistics
Multiple R0.933280547277717
R-squared0.871012579926995
Adjusted R-squared0.835834192634357
F-TEST (value)24.7598780660784
F-TEST (DF numerator)12
F-TEST (DF denominator)44
p-value1.11022302462516e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation253.898753064943
Sum Squared Residuals2836441.37954905

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.933280547277717 \tabularnewline
R-squared & 0.871012579926995 \tabularnewline
Adjusted R-squared & 0.835834192634357 \tabularnewline
F-TEST (value) & 24.7598780660784 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 1.11022302462516e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 253.898753064943 \tabularnewline
Sum Squared Residuals & 2836441.37954905 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103084&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.933280547277717[/C][/ROW]
[ROW][C]R-squared[/C][C]0.871012579926995[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.835834192634357[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]24.7598780660784[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]1.11022302462516e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]253.898753064943[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2836441.37954905[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103084&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103084&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.933280547277717
R-squared0.871012579926995
Adjusted R-squared0.835834192634357
F-TEST (value)24.7598780660784
F-TEST (DF numerator)12
F-TEST (DF denominator)44
p-value1.11022302462516e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation253.898753064943
Sum Squared Residuals2836441.37954905







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11576.231482.1215238095294.1084761904785
21546.371520.3435238095226.0264761904762
31545.051496.0715238095248.9784761904758
41552.341552.42352380952-0.0835238095243298
51594.31559.8075238095234.4924761904758
61605.781670.49152380952-64.7115238095235
71673.211718.68152380952-45.471523809524
81612.941624.01352380952-11.0735238095240
91566.341592.38352380952-26.0435238095238
101530.171634.61814285714-104.448142857143
111582.541610.79064285714-28.2506428571428
121702.161806.88064285714-104.720642857143
131701.931904.13776190476-202.207761904763
141811.151942.35976190476-131.209761904762
151924.21918.087761904766.11223809523815
162034.251974.4397619047659.8102380952381
172011.131981.8237619047629.3062380952381
182013.042092.50776190476-79.4677619047621
192151.672140.6977619047610.9722380952381
201902.092046.02976190476-143.939761904762
211944.012014.39976190476-70.3897619047622
221916.672056.63438095238-139.964380952381
231967.312032.80688095238-65.496880952381
242119.882228.89688095238-109.016880952381
252216.382326.154-109.774000000000
262522.832364.376158.454
272647.642340.104307.536
282631.232396.456234.774
292693.412403.84289.57
303021.762514.524507.236
312953.672562.714390.956
322796.82468.046328.754000000000
332672.052436.416235.634
342251.232478.65061904762-227.420619047619
352046.082454.82311904762-408.743119047619
362420.042650.91311904762-230.873119047619
372608.892748.17023809524-139.280238095239
382660.472786.39223809524-125.922238095238
392493.982762.12023809524-268.140238095238
402541.72818.47223809524-276.772238095238
412554.62825.85623809524-271.256238095238
422699.612936.54023809524-236.930238095238
432805.482984.73023809524-179.250238095238
442956.662890.0622380952466.597761904762
453149.512858.43223809524291.077761904762
463372.52900.66685714286471.833142857143
473379.332876.83935714286502.490642857143
483517.543072.92935714286444.610642857143
493527.343170.18647619048357.153523809523
503281.063208.4084761904872.6515238095239
513089.653184.13647619048-94.486476190476
523222.763240.48847619048-17.7284761904757
533165.763247.87247619048-82.1124761904755
543232.433358.55647619048-126.126476190476
553229.543406.74647619048-177.206476190476
563071.743312.07847619048-240.338476190477
572850.173280.44847619048-430.278476190476

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1576.23 & 1482.12152380952 & 94.1084761904785 \tabularnewline
2 & 1546.37 & 1520.34352380952 & 26.0264761904762 \tabularnewline
3 & 1545.05 & 1496.07152380952 & 48.9784761904758 \tabularnewline
4 & 1552.34 & 1552.42352380952 & -0.0835238095243298 \tabularnewline
5 & 1594.3 & 1559.80752380952 & 34.4924761904758 \tabularnewline
6 & 1605.78 & 1670.49152380952 & -64.7115238095235 \tabularnewline
7 & 1673.21 & 1718.68152380952 & -45.471523809524 \tabularnewline
8 & 1612.94 & 1624.01352380952 & -11.0735238095240 \tabularnewline
9 & 1566.34 & 1592.38352380952 & -26.0435238095238 \tabularnewline
10 & 1530.17 & 1634.61814285714 & -104.448142857143 \tabularnewline
11 & 1582.54 & 1610.79064285714 & -28.2506428571428 \tabularnewline
12 & 1702.16 & 1806.88064285714 & -104.720642857143 \tabularnewline
13 & 1701.93 & 1904.13776190476 & -202.207761904763 \tabularnewline
14 & 1811.15 & 1942.35976190476 & -131.209761904762 \tabularnewline
15 & 1924.2 & 1918.08776190476 & 6.11223809523815 \tabularnewline
16 & 2034.25 & 1974.43976190476 & 59.8102380952381 \tabularnewline
17 & 2011.13 & 1981.82376190476 & 29.3062380952381 \tabularnewline
18 & 2013.04 & 2092.50776190476 & -79.4677619047621 \tabularnewline
19 & 2151.67 & 2140.69776190476 & 10.9722380952381 \tabularnewline
20 & 1902.09 & 2046.02976190476 & -143.939761904762 \tabularnewline
21 & 1944.01 & 2014.39976190476 & -70.3897619047622 \tabularnewline
22 & 1916.67 & 2056.63438095238 & -139.964380952381 \tabularnewline
23 & 1967.31 & 2032.80688095238 & -65.496880952381 \tabularnewline
24 & 2119.88 & 2228.89688095238 & -109.016880952381 \tabularnewline
25 & 2216.38 & 2326.154 & -109.774000000000 \tabularnewline
26 & 2522.83 & 2364.376 & 158.454 \tabularnewline
27 & 2647.64 & 2340.104 & 307.536 \tabularnewline
28 & 2631.23 & 2396.456 & 234.774 \tabularnewline
29 & 2693.41 & 2403.84 & 289.57 \tabularnewline
30 & 3021.76 & 2514.524 & 507.236 \tabularnewline
31 & 2953.67 & 2562.714 & 390.956 \tabularnewline
32 & 2796.8 & 2468.046 & 328.754000000000 \tabularnewline
33 & 2672.05 & 2436.416 & 235.634 \tabularnewline
34 & 2251.23 & 2478.65061904762 & -227.420619047619 \tabularnewline
35 & 2046.08 & 2454.82311904762 & -408.743119047619 \tabularnewline
36 & 2420.04 & 2650.91311904762 & -230.873119047619 \tabularnewline
37 & 2608.89 & 2748.17023809524 & -139.280238095239 \tabularnewline
38 & 2660.47 & 2786.39223809524 & -125.922238095238 \tabularnewline
39 & 2493.98 & 2762.12023809524 & -268.140238095238 \tabularnewline
40 & 2541.7 & 2818.47223809524 & -276.772238095238 \tabularnewline
41 & 2554.6 & 2825.85623809524 & -271.256238095238 \tabularnewline
42 & 2699.61 & 2936.54023809524 & -236.930238095238 \tabularnewline
43 & 2805.48 & 2984.73023809524 & -179.250238095238 \tabularnewline
44 & 2956.66 & 2890.06223809524 & 66.597761904762 \tabularnewline
45 & 3149.51 & 2858.43223809524 & 291.077761904762 \tabularnewline
46 & 3372.5 & 2900.66685714286 & 471.833142857143 \tabularnewline
47 & 3379.33 & 2876.83935714286 & 502.490642857143 \tabularnewline
48 & 3517.54 & 3072.92935714286 & 444.610642857143 \tabularnewline
49 & 3527.34 & 3170.18647619048 & 357.153523809523 \tabularnewline
50 & 3281.06 & 3208.40847619048 & 72.6515238095239 \tabularnewline
51 & 3089.65 & 3184.13647619048 & -94.486476190476 \tabularnewline
52 & 3222.76 & 3240.48847619048 & -17.7284761904757 \tabularnewline
53 & 3165.76 & 3247.87247619048 & -82.1124761904755 \tabularnewline
54 & 3232.43 & 3358.55647619048 & -126.126476190476 \tabularnewline
55 & 3229.54 & 3406.74647619048 & -177.206476190476 \tabularnewline
56 & 3071.74 & 3312.07847619048 & -240.338476190477 \tabularnewline
57 & 2850.17 & 3280.44847619048 & -430.278476190476 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103084&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]1576.23[/C][C]1482.12152380952[/C][C]94.1084761904785[/C][/ROW]
[ROW][C]2[/C][C]1546.37[/C][C]1520.34352380952[/C][C]26.0264761904762[/C][/ROW]
[ROW][C]3[/C][C]1545.05[/C][C]1496.07152380952[/C][C]48.9784761904758[/C][/ROW]
[ROW][C]4[/C][C]1552.34[/C][C]1552.42352380952[/C][C]-0.0835238095243298[/C][/ROW]
[ROW][C]5[/C][C]1594.3[/C][C]1559.80752380952[/C][C]34.4924761904758[/C][/ROW]
[ROW][C]6[/C][C]1605.78[/C][C]1670.49152380952[/C][C]-64.7115238095235[/C][/ROW]
[ROW][C]7[/C][C]1673.21[/C][C]1718.68152380952[/C][C]-45.471523809524[/C][/ROW]
[ROW][C]8[/C][C]1612.94[/C][C]1624.01352380952[/C][C]-11.0735238095240[/C][/ROW]
[ROW][C]9[/C][C]1566.34[/C][C]1592.38352380952[/C][C]-26.0435238095238[/C][/ROW]
[ROW][C]10[/C][C]1530.17[/C][C]1634.61814285714[/C][C]-104.448142857143[/C][/ROW]
[ROW][C]11[/C][C]1582.54[/C][C]1610.79064285714[/C][C]-28.2506428571428[/C][/ROW]
[ROW][C]12[/C][C]1702.16[/C][C]1806.88064285714[/C][C]-104.720642857143[/C][/ROW]
[ROW][C]13[/C][C]1701.93[/C][C]1904.13776190476[/C][C]-202.207761904763[/C][/ROW]
[ROW][C]14[/C][C]1811.15[/C][C]1942.35976190476[/C][C]-131.209761904762[/C][/ROW]
[ROW][C]15[/C][C]1924.2[/C][C]1918.08776190476[/C][C]6.11223809523815[/C][/ROW]
[ROW][C]16[/C][C]2034.25[/C][C]1974.43976190476[/C][C]59.8102380952381[/C][/ROW]
[ROW][C]17[/C][C]2011.13[/C][C]1981.82376190476[/C][C]29.3062380952381[/C][/ROW]
[ROW][C]18[/C][C]2013.04[/C][C]2092.50776190476[/C][C]-79.4677619047621[/C][/ROW]
[ROW][C]19[/C][C]2151.67[/C][C]2140.69776190476[/C][C]10.9722380952381[/C][/ROW]
[ROW][C]20[/C][C]1902.09[/C][C]2046.02976190476[/C][C]-143.939761904762[/C][/ROW]
[ROW][C]21[/C][C]1944.01[/C][C]2014.39976190476[/C][C]-70.3897619047622[/C][/ROW]
[ROW][C]22[/C][C]1916.67[/C][C]2056.63438095238[/C][C]-139.964380952381[/C][/ROW]
[ROW][C]23[/C][C]1967.31[/C][C]2032.80688095238[/C][C]-65.496880952381[/C][/ROW]
[ROW][C]24[/C][C]2119.88[/C][C]2228.89688095238[/C][C]-109.016880952381[/C][/ROW]
[ROW][C]25[/C][C]2216.38[/C][C]2326.154[/C][C]-109.774000000000[/C][/ROW]
[ROW][C]26[/C][C]2522.83[/C][C]2364.376[/C][C]158.454[/C][/ROW]
[ROW][C]27[/C][C]2647.64[/C][C]2340.104[/C][C]307.536[/C][/ROW]
[ROW][C]28[/C][C]2631.23[/C][C]2396.456[/C][C]234.774[/C][/ROW]
[ROW][C]29[/C][C]2693.41[/C][C]2403.84[/C][C]289.57[/C][/ROW]
[ROW][C]30[/C][C]3021.76[/C][C]2514.524[/C][C]507.236[/C][/ROW]
[ROW][C]31[/C][C]2953.67[/C][C]2562.714[/C][C]390.956[/C][/ROW]
[ROW][C]32[/C][C]2796.8[/C][C]2468.046[/C][C]328.754000000000[/C][/ROW]
[ROW][C]33[/C][C]2672.05[/C][C]2436.416[/C][C]235.634[/C][/ROW]
[ROW][C]34[/C][C]2251.23[/C][C]2478.65061904762[/C][C]-227.420619047619[/C][/ROW]
[ROW][C]35[/C][C]2046.08[/C][C]2454.82311904762[/C][C]-408.743119047619[/C][/ROW]
[ROW][C]36[/C][C]2420.04[/C][C]2650.91311904762[/C][C]-230.873119047619[/C][/ROW]
[ROW][C]37[/C][C]2608.89[/C][C]2748.17023809524[/C][C]-139.280238095239[/C][/ROW]
[ROW][C]38[/C][C]2660.47[/C][C]2786.39223809524[/C][C]-125.922238095238[/C][/ROW]
[ROW][C]39[/C][C]2493.98[/C][C]2762.12023809524[/C][C]-268.140238095238[/C][/ROW]
[ROW][C]40[/C][C]2541.7[/C][C]2818.47223809524[/C][C]-276.772238095238[/C][/ROW]
[ROW][C]41[/C][C]2554.6[/C][C]2825.85623809524[/C][C]-271.256238095238[/C][/ROW]
[ROW][C]42[/C][C]2699.61[/C][C]2936.54023809524[/C][C]-236.930238095238[/C][/ROW]
[ROW][C]43[/C][C]2805.48[/C][C]2984.73023809524[/C][C]-179.250238095238[/C][/ROW]
[ROW][C]44[/C][C]2956.66[/C][C]2890.06223809524[/C][C]66.597761904762[/C][/ROW]
[ROW][C]45[/C][C]3149.51[/C][C]2858.43223809524[/C][C]291.077761904762[/C][/ROW]
[ROW][C]46[/C][C]3372.5[/C][C]2900.66685714286[/C][C]471.833142857143[/C][/ROW]
[ROW][C]47[/C][C]3379.33[/C][C]2876.83935714286[/C][C]502.490642857143[/C][/ROW]
[ROW][C]48[/C][C]3517.54[/C][C]3072.92935714286[/C][C]444.610642857143[/C][/ROW]
[ROW][C]49[/C][C]3527.34[/C][C]3170.18647619048[/C][C]357.153523809523[/C][/ROW]
[ROW][C]50[/C][C]3281.06[/C][C]3208.40847619048[/C][C]72.6515238095239[/C][/ROW]
[ROW][C]51[/C][C]3089.65[/C][C]3184.13647619048[/C][C]-94.486476190476[/C][/ROW]
[ROW][C]52[/C][C]3222.76[/C][C]3240.48847619048[/C][C]-17.7284761904757[/C][/ROW]
[ROW][C]53[/C][C]3165.76[/C][C]3247.87247619048[/C][C]-82.1124761904755[/C][/ROW]
[ROW][C]54[/C][C]3232.43[/C][C]3358.55647619048[/C][C]-126.126476190476[/C][/ROW]
[ROW][C]55[/C][C]3229.54[/C][C]3406.74647619048[/C][C]-177.206476190476[/C][/ROW]
[ROW][C]56[/C][C]3071.74[/C][C]3312.07847619048[/C][C]-240.338476190477[/C][/ROW]
[ROW][C]57[/C][C]2850.17[/C][C]3280.44847619048[/C][C]-430.278476190476[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103084&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103084&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
11576.231482.1215238095294.1084761904785
21546.371520.3435238095226.0264761904762
31545.051496.0715238095248.9784761904758
41552.341552.42352380952-0.0835238095243298
51594.31559.8075238095234.4924761904758
61605.781670.49152380952-64.7115238095235
71673.211718.68152380952-45.471523809524
81612.941624.01352380952-11.0735238095240
91566.341592.38352380952-26.0435238095238
101530.171634.61814285714-104.448142857143
111582.541610.79064285714-28.2506428571428
121702.161806.88064285714-104.720642857143
131701.931904.13776190476-202.207761904763
141811.151942.35976190476-131.209761904762
151924.21918.087761904766.11223809523815
162034.251974.4397619047659.8102380952381
172011.131981.8237619047629.3062380952381
182013.042092.50776190476-79.4677619047621
192151.672140.6977619047610.9722380952381
201902.092046.02976190476-143.939761904762
211944.012014.39976190476-70.3897619047622
221916.672056.63438095238-139.964380952381
231967.312032.80688095238-65.496880952381
242119.882228.89688095238-109.016880952381
252216.382326.154-109.774000000000
262522.832364.376158.454
272647.642340.104307.536
282631.232396.456234.774
292693.412403.84289.57
303021.762514.524507.236
312953.672562.714390.956
322796.82468.046328.754000000000
332672.052436.416235.634
342251.232478.65061904762-227.420619047619
352046.082454.82311904762-408.743119047619
362420.042650.91311904762-230.873119047619
372608.892748.17023809524-139.280238095239
382660.472786.39223809524-125.922238095238
392493.982762.12023809524-268.140238095238
402541.72818.47223809524-276.772238095238
412554.62825.85623809524-271.256238095238
422699.612936.54023809524-236.930238095238
432805.482984.73023809524-179.250238095238
442956.662890.0622380952466.597761904762
453149.512858.43223809524291.077761904762
463372.52900.66685714286471.833142857143
473379.332876.83935714286502.490642857143
483517.543072.92935714286444.610642857143
493527.343170.18647619048357.153523809523
503281.063208.4084761904872.6515238095239
513089.653184.13647619048-94.486476190476
523222.763240.48847619048-17.7284761904757
533165.763247.87247619048-82.1124761904755
543232.433358.55647619048-126.126476190476
553229.543406.74647619048-177.206476190476
563071.743312.07847619048-240.338476190477
572850.173280.44847619048-430.278476190476







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.05344086284638130.1068817256927630.946559137153619
170.01807305561491910.03614611122983830.98192694438508
180.005398979118823250.01079795823764650.994601020881177
190.002070348746216680.004140697492433360.997929651253783
200.0006208274845179410.001241654969035880.999379172515482
210.0001497683771258420.0002995367542516830.999850231622874
223.77219869932395e-057.5443973986479e-050.999962278013007
238.29500279427866e-061.65900055885573e-050.999991704997206
242.14612819336265e-064.29225638672529e-060.999997853871807
255.16074589248048e-071.03214917849610e-060.99999948392541
263.73500236851257e-067.47000473702514e-060.999996264997632
271.54093603165815e-053.0818720633163e-050.999984590639683
281.04637407524590e-052.09274815049180e-050.999989536259247
291.02893830125257e-052.05787660250513e-050.999989710616987
300.0003802959716277250.000760591943255450.999619704028372
310.0008737362432837370.001747472486567470.999126263756716
320.00161613931656660.00323227863313320.998383860683433
330.002265659004345710.004531318008691410.997734340995654
340.003490416946754530.006980833893509050.996509583053246
350.03907299833088260.07814599666176520.960927001669117
360.083767447418040.1675348948360800.91623255258196
370.1261502562450020.2523005124900050.873849743754998
380.108377791455570.216755582911140.89162220854443
390.1279562329549750.255912465909950.872043767045025
400.1661099920620360.3322199841240710.833890007937964
410.1999796768214160.3999593536428320.800020323178584

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0534408628463813 & 0.106881725692763 & 0.946559137153619 \tabularnewline
17 & 0.0180730556149191 & 0.0361461112298383 & 0.98192694438508 \tabularnewline
18 & 0.00539897911882325 & 0.0107979582376465 & 0.994601020881177 \tabularnewline
19 & 0.00207034874621668 & 0.00414069749243336 & 0.997929651253783 \tabularnewline
20 & 0.000620827484517941 & 0.00124165496903588 & 0.999379172515482 \tabularnewline
21 & 0.000149768377125842 & 0.000299536754251683 & 0.999850231622874 \tabularnewline
22 & 3.77219869932395e-05 & 7.5443973986479e-05 & 0.999962278013007 \tabularnewline
23 & 8.29500279427866e-06 & 1.65900055885573e-05 & 0.999991704997206 \tabularnewline
24 & 2.14612819336265e-06 & 4.29225638672529e-06 & 0.999997853871807 \tabularnewline
25 & 5.16074589248048e-07 & 1.03214917849610e-06 & 0.99999948392541 \tabularnewline
26 & 3.73500236851257e-06 & 7.47000473702514e-06 & 0.999996264997632 \tabularnewline
27 & 1.54093603165815e-05 & 3.0818720633163e-05 & 0.999984590639683 \tabularnewline
28 & 1.04637407524590e-05 & 2.09274815049180e-05 & 0.999989536259247 \tabularnewline
29 & 1.02893830125257e-05 & 2.05787660250513e-05 & 0.999989710616987 \tabularnewline
30 & 0.000380295971627725 & 0.00076059194325545 & 0.999619704028372 \tabularnewline
31 & 0.000873736243283737 & 0.00174747248656747 & 0.999126263756716 \tabularnewline
32 & 0.0016161393165666 & 0.0032322786331332 & 0.998383860683433 \tabularnewline
33 & 0.00226565900434571 & 0.00453131800869141 & 0.997734340995654 \tabularnewline
34 & 0.00349041694675453 & 0.00698083389350905 & 0.996509583053246 \tabularnewline
35 & 0.0390729983308826 & 0.0781459966617652 & 0.960927001669117 \tabularnewline
36 & 0.08376744741804 & 0.167534894836080 & 0.91623255258196 \tabularnewline
37 & 0.126150256245002 & 0.252300512490005 & 0.873849743754998 \tabularnewline
38 & 0.10837779145557 & 0.21675558291114 & 0.89162220854443 \tabularnewline
39 & 0.127956232954975 & 0.25591246590995 & 0.872043767045025 \tabularnewline
40 & 0.166109992062036 & 0.332219984124071 & 0.833890007937964 \tabularnewline
41 & 0.199979676821416 & 0.399959353642832 & 0.800020323178584 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103084&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.0534408628463813[/C][C]0.106881725692763[/C][C]0.946559137153619[/C][/ROW]
[ROW][C]17[/C][C]0.0180730556149191[/C][C]0.0361461112298383[/C][C]0.98192694438508[/C][/ROW]
[ROW][C]18[/C][C]0.00539897911882325[/C][C]0.0107979582376465[/C][C]0.994601020881177[/C][/ROW]
[ROW][C]19[/C][C]0.00207034874621668[/C][C]0.00414069749243336[/C][C]0.997929651253783[/C][/ROW]
[ROW][C]20[/C][C]0.000620827484517941[/C][C]0.00124165496903588[/C][C]0.999379172515482[/C][/ROW]
[ROW][C]21[/C][C]0.000149768377125842[/C][C]0.000299536754251683[/C][C]0.999850231622874[/C][/ROW]
[ROW][C]22[/C][C]3.77219869932395e-05[/C][C]7.5443973986479e-05[/C][C]0.999962278013007[/C][/ROW]
[ROW][C]23[/C][C]8.29500279427866e-06[/C][C]1.65900055885573e-05[/C][C]0.999991704997206[/C][/ROW]
[ROW][C]24[/C][C]2.14612819336265e-06[/C][C]4.29225638672529e-06[/C][C]0.999997853871807[/C][/ROW]
[ROW][C]25[/C][C]5.16074589248048e-07[/C][C]1.03214917849610e-06[/C][C]0.99999948392541[/C][/ROW]
[ROW][C]26[/C][C]3.73500236851257e-06[/C][C]7.47000473702514e-06[/C][C]0.999996264997632[/C][/ROW]
[ROW][C]27[/C][C]1.54093603165815e-05[/C][C]3.0818720633163e-05[/C][C]0.999984590639683[/C][/ROW]
[ROW][C]28[/C][C]1.04637407524590e-05[/C][C]2.09274815049180e-05[/C][C]0.999989536259247[/C][/ROW]
[ROW][C]29[/C][C]1.02893830125257e-05[/C][C]2.05787660250513e-05[/C][C]0.999989710616987[/C][/ROW]
[ROW][C]30[/C][C]0.000380295971627725[/C][C]0.00076059194325545[/C][C]0.999619704028372[/C][/ROW]
[ROW][C]31[/C][C]0.000873736243283737[/C][C]0.00174747248656747[/C][C]0.999126263756716[/C][/ROW]
[ROW][C]32[/C][C]0.0016161393165666[/C][C]0.0032322786331332[/C][C]0.998383860683433[/C][/ROW]
[ROW][C]33[/C][C]0.00226565900434571[/C][C]0.00453131800869141[/C][C]0.997734340995654[/C][/ROW]
[ROW][C]34[/C][C]0.00349041694675453[/C][C]0.00698083389350905[/C][C]0.996509583053246[/C][/ROW]
[ROW][C]35[/C][C]0.0390729983308826[/C][C]0.0781459966617652[/C][C]0.960927001669117[/C][/ROW]
[ROW][C]36[/C][C]0.08376744741804[/C][C]0.167534894836080[/C][C]0.91623255258196[/C][/ROW]
[ROW][C]37[/C][C]0.126150256245002[/C][C]0.252300512490005[/C][C]0.873849743754998[/C][/ROW]
[ROW][C]38[/C][C]0.10837779145557[/C][C]0.21675558291114[/C][C]0.89162220854443[/C][/ROW]
[ROW][C]39[/C][C]0.127956232954975[/C][C]0.25591246590995[/C][C]0.872043767045025[/C][/ROW]
[ROW][C]40[/C][C]0.166109992062036[/C][C]0.332219984124071[/C][C]0.833890007937964[/C][/ROW]
[ROW][C]41[/C][C]0.199979676821416[/C][C]0.399959353642832[/C][C]0.800020323178584[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103084&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103084&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.05344086284638130.1068817256927630.946559137153619
170.01807305561491910.03614611122983830.98192694438508
180.005398979118823250.01079795823764650.994601020881177
190.002070348746216680.004140697492433360.997929651253783
200.0006208274845179410.001241654969035880.999379172515482
210.0001497683771258420.0002995367542516830.999850231622874
223.77219869932395e-057.5443973986479e-050.999962278013007
238.29500279427866e-061.65900055885573e-050.999991704997206
242.14612819336265e-064.29225638672529e-060.999997853871807
255.16074589248048e-071.03214917849610e-060.99999948392541
263.73500236851257e-067.47000473702514e-060.999996264997632
271.54093603165815e-053.0818720633163e-050.999984590639683
281.04637407524590e-052.09274815049180e-050.999989536259247
291.02893830125257e-052.05787660250513e-050.999989710616987
300.0003802959716277250.000760591943255450.999619704028372
310.0008737362432837370.001747472486567470.999126263756716
320.00161613931656660.00323227863313320.998383860683433
330.002265659004345710.004531318008691410.997734340995654
340.003490416946754530.006980833893509050.996509583053246
350.03907299833088260.07814599666176520.960927001669117
360.083767447418040.1675348948360800.91623255258196
370.1261502562450020.2523005124900050.873849743754998
380.108377791455570.216755582911140.89162220854443
390.1279562329549750.255912465909950.872043767045025
400.1661099920620360.3322199841240710.833890007937964
410.1999796768214160.3999593536428320.800020323178584







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.615384615384615NOK
5% type I error level180.692307692307692NOK
10% type I error level190.730769230769231NOK

\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 & 16 & 0.615384615384615 & NOK \tabularnewline
5% type I error level & 18 & 0.692307692307692 & NOK \tabularnewline
10% type I error level & 19 & 0.730769230769231 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103084&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]16[/C][C]0.615384615384615[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]18[/C][C]0.692307692307692[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]19[/C][C]0.730769230769231[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103084&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103084&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 level160.615384615384615NOK
5% type I error level180.692307692307692NOK
10% type I error level190.730769230769231NOK



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