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 computationThu, 19 Nov 2009 10:45:11 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/19/t1258653837kjkfnkt11c5v7da.htm/, Retrieved Fri, 26 Apr 2024 15:37:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57858, Retrieved Fri, 26 Apr 2024 15:37:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact152
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
- R  D      [Multiple Regression] [] [2009-11-19 17:45:11] [03368d751914a6c247d86aff8eac7cbf] [Current]
Feedback Forum

Post a new message
Dataseries X:
2360	2
2214	2
2825	2
2355	2
2333	2
3016	2
2155	2
2172	2
2150	2
2533	2
2058	2
2160	2
2260	2
2498	2
2695	2
2799	2
2947	2
2930	2
2318	2
2540	2
2570	2
2669	2
2450	2
2842	2
3440	2
2678	2
2981	2
2260	2,21
2844	2,25
2546	2,25
2456	2,45
2295	2,5
2379	2,5
2479	2,64
2057	2,75
2280	2,93
2351	3
2276	3,17
2548	3,25
2311	3,39
2201	3,5
2725	3,5
2408	3,65
2139	3,75
1898	3,75
2537	3,9
2069	4
2063	4
2524	4
2437	4
2189	4
2793	4
2074	4
2622	4
2278	4
2144	4
2427	4
2139	4
1828	4,18
2072	4,25
1800	4,25




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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 2861.32796370422 -157.795638797568X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  2861.32796370422 -157.795638797568X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57858&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  2861.32796370422 -157.795638797568X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57858&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 2861.32796370422 -157.795638797568X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2861.32796370422123.83420223.106100
X-157.79563879756841.91322-3.76480.0003860.000193

\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) & 2861.32796370422 & 123.834202 & 23.1061 & 0 & 0 \tabularnewline
X & -157.795638797568 & 41.91322 & -3.7648 & 0.000386 & 0.000193 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57858&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]2861.32796370422[/C][C]123.834202[/C][C]23.1061[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-157.795638797568[/C][C]41.91322[/C][C]-3.7648[/C][C]0.000386[/C][C]0.000193[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57858&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57858&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)2861.32796370422123.83420223.106100
X-157.79563879756841.91322-3.76480.0003860.000193







Multiple Linear Regression - Regression Statistics
Multiple R0.440114835451552
R-squared0.193701068384547
Adjusted R-squared0.180034984797844
F-TEST (value)14.1738536249714
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.000386266723775286
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation288.534087217345
Sum Squared Residuals4911863.24969443

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.440114835451552 \tabularnewline
R-squared & 0.193701068384547 \tabularnewline
Adjusted R-squared & 0.180034984797844 \tabularnewline
F-TEST (value) & 14.1738536249714 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.000386266723775286 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 288.534087217345 \tabularnewline
Sum Squared Residuals & 4911863.24969443 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57858&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.440114835451552[/C][/ROW]
[ROW][C]R-squared[/C][C]0.193701068384547[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.180034984797844[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]14.1738536249714[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.000386266723775286[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]288.534087217345[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4911863.24969443[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57858&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57858&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.440114835451552
R-squared0.193701068384547
Adjusted R-squared0.180034984797844
F-TEST (value)14.1738536249714
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.000386266723775286
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation288.534087217345
Sum Squared Residuals4911863.24969443







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
123602545.73668610908-185.736686109083
222142545.73668610909-331.736686109087
328252545.73668610909279.263313890913
423552545.73668610909-190.736686109087
523332545.73668610909-212.736686109087
630162545.73668610909470.263313890913
721552545.73668610909-390.736686109087
821722545.73668610909-373.736686109087
921502545.73668610909-395.736686109087
1025332545.73668610909-12.7366861090875
1120582545.73668610909-487.736686109087
1221602545.73668610909-385.736686109087
1322602545.73668610909-285.736686109087
1424982545.73668610909-47.7366861090875
1526952545.73668610909149.263313890913
1627992545.73668610909253.263313890913
1729472545.73668610909401.263313890913
1829302545.73668610909384.263313890913
1923182545.73668610909-227.736686109087
2025402545.73668610909-5.73668610908745
2125702545.7366861090924.2633138909125
2226692545.73668610909123.263313890913
2324502545.73668610909-95.7366861090875
2428422545.73668610909296.263313890913
2534402545.73668610909894.263313890913
2626782545.73668610909132.263313890913
2729812545.73668610909435.263313890913
2822602512.5996019616-252.599601961598
2928442506.28777640970337.712223590304
3025462506.2877764097039.7122235903044
3124562474.72864865018-18.728648650182
3222952466.83886671030-171.838866710304
3323792466.83886671030-87.8388667103037
3424792444.7474772786434.2525227213558
3520572427.38995701091-370.389957010912
3622802398.98674202735-118.986742027350
3723512387.94104731152-36.9410473115199
3822762361.11578871593-85.1157887159334
3925482348.49213761213199.507862387872
4023112326.40074818047-15.4007481804685
4122012309.04322791274-108.043227912736
4227252309.04322791274415.956772087264
4324082285.3738820931122.626117906899
4421392269.59431821334-130.594318213344
4518982269.59431821334-371.594318213344
4625372245.92497239371291.075027606291
4720692230.14540851395-161.145408513952
4820632230.14540851395-167.145408513952
4925242230.14540851395293.854591486048
5024372230.14540851395206.854591486048
5121892230.14540851395-41.1454085139523
5227932230.14540851395562.854591486048
5320742230.14540851395-156.145408513952
5426222230.14540851395391.854591486048
5522782230.1454085139547.8545914860477
5621442230.14540851395-86.1454085139523
5724272230.14540851395196.854591486048
5821392230.14540851395-91.1454085139523
5918282201.74219353039-373.74219353039
6020722190.69649881456-118.696498814560
6118002190.69649881456-390.696498814560

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2360 & 2545.73668610908 & -185.736686109083 \tabularnewline
2 & 2214 & 2545.73668610909 & -331.736686109087 \tabularnewline
3 & 2825 & 2545.73668610909 & 279.263313890913 \tabularnewline
4 & 2355 & 2545.73668610909 & -190.736686109087 \tabularnewline
5 & 2333 & 2545.73668610909 & -212.736686109087 \tabularnewline
6 & 3016 & 2545.73668610909 & 470.263313890913 \tabularnewline
7 & 2155 & 2545.73668610909 & -390.736686109087 \tabularnewline
8 & 2172 & 2545.73668610909 & -373.736686109087 \tabularnewline
9 & 2150 & 2545.73668610909 & -395.736686109087 \tabularnewline
10 & 2533 & 2545.73668610909 & -12.7366861090875 \tabularnewline
11 & 2058 & 2545.73668610909 & -487.736686109087 \tabularnewline
12 & 2160 & 2545.73668610909 & -385.736686109087 \tabularnewline
13 & 2260 & 2545.73668610909 & -285.736686109087 \tabularnewline
14 & 2498 & 2545.73668610909 & -47.7366861090875 \tabularnewline
15 & 2695 & 2545.73668610909 & 149.263313890913 \tabularnewline
16 & 2799 & 2545.73668610909 & 253.263313890913 \tabularnewline
17 & 2947 & 2545.73668610909 & 401.263313890913 \tabularnewline
18 & 2930 & 2545.73668610909 & 384.263313890913 \tabularnewline
19 & 2318 & 2545.73668610909 & -227.736686109087 \tabularnewline
20 & 2540 & 2545.73668610909 & -5.73668610908745 \tabularnewline
21 & 2570 & 2545.73668610909 & 24.2633138909125 \tabularnewline
22 & 2669 & 2545.73668610909 & 123.263313890913 \tabularnewline
23 & 2450 & 2545.73668610909 & -95.7366861090875 \tabularnewline
24 & 2842 & 2545.73668610909 & 296.263313890913 \tabularnewline
25 & 3440 & 2545.73668610909 & 894.263313890913 \tabularnewline
26 & 2678 & 2545.73668610909 & 132.263313890913 \tabularnewline
27 & 2981 & 2545.73668610909 & 435.263313890913 \tabularnewline
28 & 2260 & 2512.5996019616 & -252.599601961598 \tabularnewline
29 & 2844 & 2506.28777640970 & 337.712223590304 \tabularnewline
30 & 2546 & 2506.28777640970 & 39.7122235903044 \tabularnewline
31 & 2456 & 2474.72864865018 & -18.728648650182 \tabularnewline
32 & 2295 & 2466.83886671030 & -171.838866710304 \tabularnewline
33 & 2379 & 2466.83886671030 & -87.8388667103037 \tabularnewline
34 & 2479 & 2444.74747727864 & 34.2525227213558 \tabularnewline
35 & 2057 & 2427.38995701091 & -370.389957010912 \tabularnewline
36 & 2280 & 2398.98674202735 & -118.986742027350 \tabularnewline
37 & 2351 & 2387.94104731152 & -36.9410473115199 \tabularnewline
38 & 2276 & 2361.11578871593 & -85.1157887159334 \tabularnewline
39 & 2548 & 2348.49213761213 & 199.507862387872 \tabularnewline
40 & 2311 & 2326.40074818047 & -15.4007481804685 \tabularnewline
41 & 2201 & 2309.04322791274 & -108.043227912736 \tabularnewline
42 & 2725 & 2309.04322791274 & 415.956772087264 \tabularnewline
43 & 2408 & 2285.3738820931 & 122.626117906899 \tabularnewline
44 & 2139 & 2269.59431821334 & -130.594318213344 \tabularnewline
45 & 1898 & 2269.59431821334 & -371.594318213344 \tabularnewline
46 & 2537 & 2245.92497239371 & 291.075027606291 \tabularnewline
47 & 2069 & 2230.14540851395 & -161.145408513952 \tabularnewline
48 & 2063 & 2230.14540851395 & -167.145408513952 \tabularnewline
49 & 2524 & 2230.14540851395 & 293.854591486048 \tabularnewline
50 & 2437 & 2230.14540851395 & 206.854591486048 \tabularnewline
51 & 2189 & 2230.14540851395 & -41.1454085139523 \tabularnewline
52 & 2793 & 2230.14540851395 & 562.854591486048 \tabularnewline
53 & 2074 & 2230.14540851395 & -156.145408513952 \tabularnewline
54 & 2622 & 2230.14540851395 & 391.854591486048 \tabularnewline
55 & 2278 & 2230.14540851395 & 47.8545914860477 \tabularnewline
56 & 2144 & 2230.14540851395 & -86.1454085139523 \tabularnewline
57 & 2427 & 2230.14540851395 & 196.854591486048 \tabularnewline
58 & 2139 & 2230.14540851395 & -91.1454085139523 \tabularnewline
59 & 1828 & 2201.74219353039 & -373.74219353039 \tabularnewline
60 & 2072 & 2190.69649881456 & -118.696498814560 \tabularnewline
61 & 1800 & 2190.69649881456 & -390.696498814560 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57858&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]2360[/C][C]2545.73668610908[/C][C]-185.736686109083[/C][/ROW]
[ROW][C]2[/C][C]2214[/C][C]2545.73668610909[/C][C]-331.736686109087[/C][/ROW]
[ROW][C]3[/C][C]2825[/C][C]2545.73668610909[/C][C]279.263313890913[/C][/ROW]
[ROW][C]4[/C][C]2355[/C][C]2545.73668610909[/C][C]-190.736686109087[/C][/ROW]
[ROW][C]5[/C][C]2333[/C][C]2545.73668610909[/C][C]-212.736686109087[/C][/ROW]
[ROW][C]6[/C][C]3016[/C][C]2545.73668610909[/C][C]470.263313890913[/C][/ROW]
[ROW][C]7[/C][C]2155[/C][C]2545.73668610909[/C][C]-390.736686109087[/C][/ROW]
[ROW][C]8[/C][C]2172[/C][C]2545.73668610909[/C][C]-373.736686109087[/C][/ROW]
[ROW][C]9[/C][C]2150[/C][C]2545.73668610909[/C][C]-395.736686109087[/C][/ROW]
[ROW][C]10[/C][C]2533[/C][C]2545.73668610909[/C][C]-12.7366861090875[/C][/ROW]
[ROW][C]11[/C][C]2058[/C][C]2545.73668610909[/C][C]-487.736686109087[/C][/ROW]
[ROW][C]12[/C][C]2160[/C][C]2545.73668610909[/C][C]-385.736686109087[/C][/ROW]
[ROW][C]13[/C][C]2260[/C][C]2545.73668610909[/C][C]-285.736686109087[/C][/ROW]
[ROW][C]14[/C][C]2498[/C][C]2545.73668610909[/C][C]-47.7366861090875[/C][/ROW]
[ROW][C]15[/C][C]2695[/C][C]2545.73668610909[/C][C]149.263313890913[/C][/ROW]
[ROW][C]16[/C][C]2799[/C][C]2545.73668610909[/C][C]253.263313890913[/C][/ROW]
[ROW][C]17[/C][C]2947[/C][C]2545.73668610909[/C][C]401.263313890913[/C][/ROW]
[ROW][C]18[/C][C]2930[/C][C]2545.73668610909[/C][C]384.263313890913[/C][/ROW]
[ROW][C]19[/C][C]2318[/C][C]2545.73668610909[/C][C]-227.736686109087[/C][/ROW]
[ROW][C]20[/C][C]2540[/C][C]2545.73668610909[/C][C]-5.73668610908745[/C][/ROW]
[ROW][C]21[/C][C]2570[/C][C]2545.73668610909[/C][C]24.2633138909125[/C][/ROW]
[ROW][C]22[/C][C]2669[/C][C]2545.73668610909[/C][C]123.263313890913[/C][/ROW]
[ROW][C]23[/C][C]2450[/C][C]2545.73668610909[/C][C]-95.7366861090875[/C][/ROW]
[ROW][C]24[/C][C]2842[/C][C]2545.73668610909[/C][C]296.263313890913[/C][/ROW]
[ROW][C]25[/C][C]3440[/C][C]2545.73668610909[/C][C]894.263313890913[/C][/ROW]
[ROW][C]26[/C][C]2678[/C][C]2545.73668610909[/C][C]132.263313890913[/C][/ROW]
[ROW][C]27[/C][C]2981[/C][C]2545.73668610909[/C][C]435.263313890913[/C][/ROW]
[ROW][C]28[/C][C]2260[/C][C]2512.5996019616[/C][C]-252.599601961598[/C][/ROW]
[ROW][C]29[/C][C]2844[/C][C]2506.28777640970[/C][C]337.712223590304[/C][/ROW]
[ROW][C]30[/C][C]2546[/C][C]2506.28777640970[/C][C]39.7122235903044[/C][/ROW]
[ROW][C]31[/C][C]2456[/C][C]2474.72864865018[/C][C]-18.728648650182[/C][/ROW]
[ROW][C]32[/C][C]2295[/C][C]2466.83886671030[/C][C]-171.838866710304[/C][/ROW]
[ROW][C]33[/C][C]2379[/C][C]2466.83886671030[/C][C]-87.8388667103037[/C][/ROW]
[ROW][C]34[/C][C]2479[/C][C]2444.74747727864[/C][C]34.2525227213558[/C][/ROW]
[ROW][C]35[/C][C]2057[/C][C]2427.38995701091[/C][C]-370.389957010912[/C][/ROW]
[ROW][C]36[/C][C]2280[/C][C]2398.98674202735[/C][C]-118.986742027350[/C][/ROW]
[ROW][C]37[/C][C]2351[/C][C]2387.94104731152[/C][C]-36.9410473115199[/C][/ROW]
[ROW][C]38[/C][C]2276[/C][C]2361.11578871593[/C][C]-85.1157887159334[/C][/ROW]
[ROW][C]39[/C][C]2548[/C][C]2348.49213761213[/C][C]199.507862387872[/C][/ROW]
[ROW][C]40[/C][C]2311[/C][C]2326.40074818047[/C][C]-15.4007481804685[/C][/ROW]
[ROW][C]41[/C][C]2201[/C][C]2309.04322791274[/C][C]-108.043227912736[/C][/ROW]
[ROW][C]42[/C][C]2725[/C][C]2309.04322791274[/C][C]415.956772087264[/C][/ROW]
[ROW][C]43[/C][C]2408[/C][C]2285.3738820931[/C][C]122.626117906899[/C][/ROW]
[ROW][C]44[/C][C]2139[/C][C]2269.59431821334[/C][C]-130.594318213344[/C][/ROW]
[ROW][C]45[/C][C]1898[/C][C]2269.59431821334[/C][C]-371.594318213344[/C][/ROW]
[ROW][C]46[/C][C]2537[/C][C]2245.92497239371[/C][C]291.075027606291[/C][/ROW]
[ROW][C]47[/C][C]2069[/C][C]2230.14540851395[/C][C]-161.145408513952[/C][/ROW]
[ROW][C]48[/C][C]2063[/C][C]2230.14540851395[/C][C]-167.145408513952[/C][/ROW]
[ROW][C]49[/C][C]2524[/C][C]2230.14540851395[/C][C]293.854591486048[/C][/ROW]
[ROW][C]50[/C][C]2437[/C][C]2230.14540851395[/C][C]206.854591486048[/C][/ROW]
[ROW][C]51[/C][C]2189[/C][C]2230.14540851395[/C][C]-41.1454085139523[/C][/ROW]
[ROW][C]52[/C][C]2793[/C][C]2230.14540851395[/C][C]562.854591486048[/C][/ROW]
[ROW][C]53[/C][C]2074[/C][C]2230.14540851395[/C][C]-156.145408513952[/C][/ROW]
[ROW][C]54[/C][C]2622[/C][C]2230.14540851395[/C][C]391.854591486048[/C][/ROW]
[ROW][C]55[/C][C]2278[/C][C]2230.14540851395[/C][C]47.8545914860477[/C][/ROW]
[ROW][C]56[/C][C]2144[/C][C]2230.14540851395[/C][C]-86.1454085139523[/C][/ROW]
[ROW][C]57[/C][C]2427[/C][C]2230.14540851395[/C][C]196.854591486048[/C][/ROW]
[ROW][C]58[/C][C]2139[/C][C]2230.14540851395[/C][C]-91.1454085139523[/C][/ROW]
[ROW][C]59[/C][C]1828[/C][C]2201.74219353039[/C][C]-373.74219353039[/C][/ROW]
[ROW][C]60[/C][C]2072[/C][C]2190.69649881456[/C][C]-118.696498814560[/C][/ROW]
[ROW][C]61[/C][C]1800[/C][C]2190.69649881456[/C][C]-390.696498814560[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57858&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57858&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
123602545.73668610908-185.736686109083
222142545.73668610909-331.736686109087
328252545.73668610909279.263313890913
423552545.73668610909-190.736686109087
523332545.73668610909-212.736686109087
630162545.73668610909470.263313890913
721552545.73668610909-390.736686109087
821722545.73668610909-373.736686109087
921502545.73668610909-395.736686109087
1025332545.73668610909-12.7366861090875
1120582545.73668610909-487.736686109087
1221602545.73668610909-385.736686109087
1322602545.73668610909-285.736686109087
1424982545.73668610909-47.7366861090875
1526952545.73668610909149.263313890913
1627992545.73668610909253.263313890913
1729472545.73668610909401.263313890913
1829302545.73668610909384.263313890913
1923182545.73668610909-227.736686109087
2025402545.73668610909-5.73668610908745
2125702545.7366861090924.2633138909125
2226692545.73668610909123.263313890913
2324502545.73668610909-95.7366861090875
2428422545.73668610909296.263313890913
2534402545.73668610909894.263313890913
2626782545.73668610909132.263313890913
2729812545.73668610909435.263313890913
2822602512.5996019616-252.599601961598
2928442506.28777640970337.712223590304
3025462506.2877764097039.7122235903044
3124562474.72864865018-18.728648650182
3222952466.83886671030-171.838866710304
3323792466.83886671030-87.8388667103037
3424792444.7474772786434.2525227213558
3520572427.38995701091-370.389957010912
3622802398.98674202735-118.986742027350
3723512387.94104731152-36.9410473115199
3822762361.11578871593-85.1157887159334
3925482348.49213761213199.507862387872
4023112326.40074818047-15.4007481804685
4122012309.04322791274-108.043227912736
4227252309.04322791274415.956772087264
4324082285.3738820931122.626117906899
4421392269.59431821334-130.594318213344
4518982269.59431821334-371.594318213344
4625372245.92497239371291.075027606291
4720692230.14540851395-161.145408513952
4820632230.14540851395-167.145408513952
4925242230.14540851395293.854591486048
5024372230.14540851395206.854591486048
5121892230.14540851395-41.1454085139523
5227932230.14540851395562.854591486048
5320742230.14540851395-156.145408513952
5426222230.14540851395391.854591486048
5522782230.1454085139547.8545914860477
5621442230.14540851395-86.1454085139523
5724272230.14540851395196.854591486048
5821392230.14540851395-91.1454085139523
5918282201.74219353039-373.74219353039
6020722190.69649881456-118.696498814560
6118002190.69649881456-390.696498814560







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.5372874006902290.9254251986195430.462712599309771
60.8048135934163840.3903728131672310.195186406583616
70.8119234193423880.3761531613152240.188076580657612
80.797293460309640.4054130793807220.202706539690361
90.7883262156719030.4233475686561940.211673784328097
100.7141168537556790.5717662924886420.285883146244321
110.7695894737197120.4608210525605760.230410526280288
120.7667418425192550.4665163149614890.233258157480745
130.7311538301669490.5376923396661020.268846169833051
140.6730807512631130.6538384974737750.326919248736887
150.6715438991651770.6569122016696470.328456100834823
160.7098759555941690.5802480888116620.290124044405831
170.8081700936920860.3836598126158280.191829906307914
180.8575721442184480.2848557115631040.142427855781552
190.8393213966145660.3213572067708690.160678603385435
200.7915175506061050.4169648987877910.208482449393895
210.7376270144317810.5247459711364380.262372985568219
220.6882406790980060.6235186418039890.311759320901994
230.6366699931603070.7266600136793850.363330006839693
240.6362865621877240.7274268756245520.363713437812276
250.9655329605861670.06893407882766660.0344670394138333
260.9513231421896260.09735371562074870.0486768578103743
270.9706034612280930.05879307754381420.0293965387719071
280.9622548975483130.07549020490337480.0377451024516874
290.9728526349197650.05429473016046930.0271473650802346
300.9600559021028070.07988819579438660.0399440978971933
310.9417681376971880.1164637246056250.0582318623028124
320.9216772638335330.1566454723329340.078322736166467
330.890086048681860.2198279026362800.109913951318140
340.8533846086367420.2932307827265160.146615391363258
350.8691397822657630.2617204354684740.130860217734237
360.8384353305432180.3231293389135640.161564669456782
370.7998667296228010.4002665407543980.200133270377199
380.7715821818555650.4568356362888690.228417818144435
390.7300654208491670.5398691583016660.269934579150833
400.6796890339097640.6406219321804720.320310966090236
410.6705225977756930.6589548044486140.329477402224307
420.6688131192909740.6623737614180530.331186880709026
430.5909803182381580.8180393635236840.409019681761842
440.5573669480275670.8852661039448670.442633051972433
450.8547090405100470.2905819189799060.145290959489953
460.8110017380029460.3779965239941080.188998261997054
470.7972464979821920.4055070040356160.202753502017808
480.7977650078949330.4044699842101340.202234992105067
490.7641554811952320.4716890376095350.235844518804767
500.6922705421983930.6154589156032140.307729457801607
510.6156246806185280.7687506387629440.384375319381472
520.8466577706834180.3066844586331640.153342229316582
530.8274435387145340.3451129225709320.172556461285466
540.920010549726980.1599789005460390.0799894502730194
550.8397518126849620.3204963746300770.160248187315038
560.7234957181100250.5530085637799490.276504281889975

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.537287400690229 & 0.925425198619543 & 0.462712599309771 \tabularnewline
6 & 0.804813593416384 & 0.390372813167231 & 0.195186406583616 \tabularnewline
7 & 0.811923419342388 & 0.376153161315224 & 0.188076580657612 \tabularnewline
8 & 0.79729346030964 & 0.405413079380722 & 0.202706539690361 \tabularnewline
9 & 0.788326215671903 & 0.423347568656194 & 0.211673784328097 \tabularnewline
10 & 0.714116853755679 & 0.571766292488642 & 0.285883146244321 \tabularnewline
11 & 0.769589473719712 & 0.460821052560576 & 0.230410526280288 \tabularnewline
12 & 0.766741842519255 & 0.466516314961489 & 0.233258157480745 \tabularnewline
13 & 0.731153830166949 & 0.537692339666102 & 0.268846169833051 \tabularnewline
14 & 0.673080751263113 & 0.653838497473775 & 0.326919248736887 \tabularnewline
15 & 0.671543899165177 & 0.656912201669647 & 0.328456100834823 \tabularnewline
16 & 0.709875955594169 & 0.580248088811662 & 0.290124044405831 \tabularnewline
17 & 0.808170093692086 & 0.383659812615828 & 0.191829906307914 \tabularnewline
18 & 0.857572144218448 & 0.284855711563104 & 0.142427855781552 \tabularnewline
19 & 0.839321396614566 & 0.321357206770869 & 0.160678603385435 \tabularnewline
20 & 0.791517550606105 & 0.416964898787791 & 0.208482449393895 \tabularnewline
21 & 0.737627014431781 & 0.524745971136438 & 0.262372985568219 \tabularnewline
22 & 0.688240679098006 & 0.623518641803989 & 0.311759320901994 \tabularnewline
23 & 0.636669993160307 & 0.726660013679385 & 0.363330006839693 \tabularnewline
24 & 0.636286562187724 & 0.727426875624552 & 0.363713437812276 \tabularnewline
25 & 0.965532960586167 & 0.0689340788276666 & 0.0344670394138333 \tabularnewline
26 & 0.951323142189626 & 0.0973537156207487 & 0.0486768578103743 \tabularnewline
27 & 0.970603461228093 & 0.0587930775438142 & 0.0293965387719071 \tabularnewline
28 & 0.962254897548313 & 0.0754902049033748 & 0.0377451024516874 \tabularnewline
29 & 0.972852634919765 & 0.0542947301604693 & 0.0271473650802346 \tabularnewline
30 & 0.960055902102807 & 0.0798881957943866 & 0.0399440978971933 \tabularnewline
31 & 0.941768137697188 & 0.116463724605625 & 0.0582318623028124 \tabularnewline
32 & 0.921677263833533 & 0.156645472332934 & 0.078322736166467 \tabularnewline
33 & 0.89008604868186 & 0.219827902636280 & 0.109913951318140 \tabularnewline
34 & 0.853384608636742 & 0.293230782726516 & 0.146615391363258 \tabularnewline
35 & 0.869139782265763 & 0.261720435468474 & 0.130860217734237 \tabularnewline
36 & 0.838435330543218 & 0.323129338913564 & 0.161564669456782 \tabularnewline
37 & 0.799866729622801 & 0.400266540754398 & 0.200133270377199 \tabularnewline
38 & 0.771582181855565 & 0.456835636288869 & 0.228417818144435 \tabularnewline
39 & 0.730065420849167 & 0.539869158301666 & 0.269934579150833 \tabularnewline
40 & 0.679689033909764 & 0.640621932180472 & 0.320310966090236 \tabularnewline
41 & 0.670522597775693 & 0.658954804448614 & 0.329477402224307 \tabularnewline
42 & 0.668813119290974 & 0.662373761418053 & 0.331186880709026 \tabularnewline
43 & 0.590980318238158 & 0.818039363523684 & 0.409019681761842 \tabularnewline
44 & 0.557366948027567 & 0.885266103944867 & 0.442633051972433 \tabularnewline
45 & 0.854709040510047 & 0.290581918979906 & 0.145290959489953 \tabularnewline
46 & 0.811001738002946 & 0.377996523994108 & 0.188998261997054 \tabularnewline
47 & 0.797246497982192 & 0.405507004035616 & 0.202753502017808 \tabularnewline
48 & 0.797765007894933 & 0.404469984210134 & 0.202234992105067 \tabularnewline
49 & 0.764155481195232 & 0.471689037609535 & 0.235844518804767 \tabularnewline
50 & 0.692270542198393 & 0.615458915603214 & 0.307729457801607 \tabularnewline
51 & 0.615624680618528 & 0.768750638762944 & 0.384375319381472 \tabularnewline
52 & 0.846657770683418 & 0.306684458633164 & 0.153342229316582 \tabularnewline
53 & 0.827443538714534 & 0.345112922570932 & 0.172556461285466 \tabularnewline
54 & 0.92001054972698 & 0.159978900546039 & 0.0799894502730194 \tabularnewline
55 & 0.839751812684962 & 0.320496374630077 & 0.160248187315038 \tabularnewline
56 & 0.723495718110025 & 0.553008563779949 & 0.276504281889975 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57858&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]5[/C][C]0.537287400690229[/C][C]0.925425198619543[/C][C]0.462712599309771[/C][/ROW]
[ROW][C]6[/C][C]0.804813593416384[/C][C]0.390372813167231[/C][C]0.195186406583616[/C][/ROW]
[ROW][C]7[/C][C]0.811923419342388[/C][C]0.376153161315224[/C][C]0.188076580657612[/C][/ROW]
[ROW][C]8[/C][C]0.79729346030964[/C][C]0.405413079380722[/C][C]0.202706539690361[/C][/ROW]
[ROW][C]9[/C][C]0.788326215671903[/C][C]0.423347568656194[/C][C]0.211673784328097[/C][/ROW]
[ROW][C]10[/C][C]0.714116853755679[/C][C]0.571766292488642[/C][C]0.285883146244321[/C][/ROW]
[ROW][C]11[/C][C]0.769589473719712[/C][C]0.460821052560576[/C][C]0.230410526280288[/C][/ROW]
[ROW][C]12[/C][C]0.766741842519255[/C][C]0.466516314961489[/C][C]0.233258157480745[/C][/ROW]
[ROW][C]13[/C][C]0.731153830166949[/C][C]0.537692339666102[/C][C]0.268846169833051[/C][/ROW]
[ROW][C]14[/C][C]0.673080751263113[/C][C]0.653838497473775[/C][C]0.326919248736887[/C][/ROW]
[ROW][C]15[/C][C]0.671543899165177[/C][C]0.656912201669647[/C][C]0.328456100834823[/C][/ROW]
[ROW][C]16[/C][C]0.709875955594169[/C][C]0.580248088811662[/C][C]0.290124044405831[/C][/ROW]
[ROW][C]17[/C][C]0.808170093692086[/C][C]0.383659812615828[/C][C]0.191829906307914[/C][/ROW]
[ROW][C]18[/C][C]0.857572144218448[/C][C]0.284855711563104[/C][C]0.142427855781552[/C][/ROW]
[ROW][C]19[/C][C]0.839321396614566[/C][C]0.321357206770869[/C][C]0.160678603385435[/C][/ROW]
[ROW][C]20[/C][C]0.791517550606105[/C][C]0.416964898787791[/C][C]0.208482449393895[/C][/ROW]
[ROW][C]21[/C][C]0.737627014431781[/C][C]0.524745971136438[/C][C]0.262372985568219[/C][/ROW]
[ROW][C]22[/C][C]0.688240679098006[/C][C]0.623518641803989[/C][C]0.311759320901994[/C][/ROW]
[ROW][C]23[/C][C]0.636669993160307[/C][C]0.726660013679385[/C][C]0.363330006839693[/C][/ROW]
[ROW][C]24[/C][C]0.636286562187724[/C][C]0.727426875624552[/C][C]0.363713437812276[/C][/ROW]
[ROW][C]25[/C][C]0.965532960586167[/C][C]0.0689340788276666[/C][C]0.0344670394138333[/C][/ROW]
[ROW][C]26[/C][C]0.951323142189626[/C][C]0.0973537156207487[/C][C]0.0486768578103743[/C][/ROW]
[ROW][C]27[/C][C]0.970603461228093[/C][C]0.0587930775438142[/C][C]0.0293965387719071[/C][/ROW]
[ROW][C]28[/C][C]0.962254897548313[/C][C]0.0754902049033748[/C][C]0.0377451024516874[/C][/ROW]
[ROW][C]29[/C][C]0.972852634919765[/C][C]0.0542947301604693[/C][C]0.0271473650802346[/C][/ROW]
[ROW][C]30[/C][C]0.960055902102807[/C][C]0.0798881957943866[/C][C]0.0399440978971933[/C][/ROW]
[ROW][C]31[/C][C]0.941768137697188[/C][C]0.116463724605625[/C][C]0.0582318623028124[/C][/ROW]
[ROW][C]32[/C][C]0.921677263833533[/C][C]0.156645472332934[/C][C]0.078322736166467[/C][/ROW]
[ROW][C]33[/C][C]0.89008604868186[/C][C]0.219827902636280[/C][C]0.109913951318140[/C][/ROW]
[ROW][C]34[/C][C]0.853384608636742[/C][C]0.293230782726516[/C][C]0.146615391363258[/C][/ROW]
[ROW][C]35[/C][C]0.869139782265763[/C][C]0.261720435468474[/C][C]0.130860217734237[/C][/ROW]
[ROW][C]36[/C][C]0.838435330543218[/C][C]0.323129338913564[/C][C]0.161564669456782[/C][/ROW]
[ROW][C]37[/C][C]0.799866729622801[/C][C]0.400266540754398[/C][C]0.200133270377199[/C][/ROW]
[ROW][C]38[/C][C]0.771582181855565[/C][C]0.456835636288869[/C][C]0.228417818144435[/C][/ROW]
[ROW][C]39[/C][C]0.730065420849167[/C][C]0.539869158301666[/C][C]0.269934579150833[/C][/ROW]
[ROW][C]40[/C][C]0.679689033909764[/C][C]0.640621932180472[/C][C]0.320310966090236[/C][/ROW]
[ROW][C]41[/C][C]0.670522597775693[/C][C]0.658954804448614[/C][C]0.329477402224307[/C][/ROW]
[ROW][C]42[/C][C]0.668813119290974[/C][C]0.662373761418053[/C][C]0.331186880709026[/C][/ROW]
[ROW][C]43[/C][C]0.590980318238158[/C][C]0.818039363523684[/C][C]0.409019681761842[/C][/ROW]
[ROW][C]44[/C][C]0.557366948027567[/C][C]0.885266103944867[/C][C]0.442633051972433[/C][/ROW]
[ROW][C]45[/C][C]0.854709040510047[/C][C]0.290581918979906[/C][C]0.145290959489953[/C][/ROW]
[ROW][C]46[/C][C]0.811001738002946[/C][C]0.377996523994108[/C][C]0.188998261997054[/C][/ROW]
[ROW][C]47[/C][C]0.797246497982192[/C][C]0.405507004035616[/C][C]0.202753502017808[/C][/ROW]
[ROW][C]48[/C][C]0.797765007894933[/C][C]0.404469984210134[/C][C]0.202234992105067[/C][/ROW]
[ROW][C]49[/C][C]0.764155481195232[/C][C]0.471689037609535[/C][C]0.235844518804767[/C][/ROW]
[ROW][C]50[/C][C]0.692270542198393[/C][C]0.615458915603214[/C][C]0.307729457801607[/C][/ROW]
[ROW][C]51[/C][C]0.615624680618528[/C][C]0.768750638762944[/C][C]0.384375319381472[/C][/ROW]
[ROW][C]52[/C][C]0.846657770683418[/C][C]0.306684458633164[/C][C]0.153342229316582[/C][/ROW]
[ROW][C]53[/C][C]0.827443538714534[/C][C]0.345112922570932[/C][C]0.172556461285466[/C][/ROW]
[ROW][C]54[/C][C]0.92001054972698[/C][C]0.159978900546039[/C][C]0.0799894502730194[/C][/ROW]
[ROW][C]55[/C][C]0.839751812684962[/C][C]0.320496374630077[/C][C]0.160248187315038[/C][/ROW]
[ROW][C]56[/C][C]0.723495718110025[/C][C]0.553008563779949[/C][C]0.276504281889975[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57858&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57858&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
50.5372874006902290.9254251986195430.462712599309771
60.8048135934163840.3903728131672310.195186406583616
70.8119234193423880.3761531613152240.188076580657612
80.797293460309640.4054130793807220.202706539690361
90.7883262156719030.4233475686561940.211673784328097
100.7141168537556790.5717662924886420.285883146244321
110.7695894737197120.4608210525605760.230410526280288
120.7667418425192550.4665163149614890.233258157480745
130.7311538301669490.5376923396661020.268846169833051
140.6730807512631130.6538384974737750.326919248736887
150.6715438991651770.6569122016696470.328456100834823
160.7098759555941690.5802480888116620.290124044405831
170.8081700936920860.3836598126158280.191829906307914
180.8575721442184480.2848557115631040.142427855781552
190.8393213966145660.3213572067708690.160678603385435
200.7915175506061050.4169648987877910.208482449393895
210.7376270144317810.5247459711364380.262372985568219
220.6882406790980060.6235186418039890.311759320901994
230.6366699931603070.7266600136793850.363330006839693
240.6362865621877240.7274268756245520.363713437812276
250.9655329605861670.06893407882766660.0344670394138333
260.9513231421896260.09735371562074870.0486768578103743
270.9706034612280930.05879307754381420.0293965387719071
280.9622548975483130.07549020490337480.0377451024516874
290.9728526349197650.05429473016046930.0271473650802346
300.9600559021028070.07988819579438660.0399440978971933
310.9417681376971880.1164637246056250.0582318623028124
320.9216772638335330.1566454723329340.078322736166467
330.890086048681860.2198279026362800.109913951318140
340.8533846086367420.2932307827265160.146615391363258
350.8691397822657630.2617204354684740.130860217734237
360.8384353305432180.3231293389135640.161564669456782
370.7998667296228010.4002665407543980.200133270377199
380.7715821818555650.4568356362888690.228417818144435
390.7300654208491670.5398691583016660.269934579150833
400.6796890339097640.6406219321804720.320310966090236
410.6705225977756930.6589548044486140.329477402224307
420.6688131192909740.6623737614180530.331186880709026
430.5909803182381580.8180393635236840.409019681761842
440.5573669480275670.8852661039448670.442633051972433
450.8547090405100470.2905819189799060.145290959489953
460.8110017380029460.3779965239941080.188998261997054
470.7972464979821920.4055070040356160.202753502017808
480.7977650078949330.4044699842101340.202234992105067
490.7641554811952320.4716890376095350.235844518804767
500.6922705421983930.6154589156032140.307729457801607
510.6156246806185280.7687506387629440.384375319381472
520.8466577706834180.3066844586331640.153342229316582
530.8274435387145340.3451129225709320.172556461285466
540.920010549726980.1599789005460390.0799894502730194
550.8397518126849620.3204963746300770.160248187315038
560.7234957181100250.5530085637799490.276504281889975







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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