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 computationFri, 20 Nov 2009 07:54:32 -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/20/t1258728982w3v19bc33za40be.htm/, Retrieved Thu, 25 Apr 2024 15:36:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58237, Retrieved Thu, 25 Apr 2024 15:36:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact109
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]
-   PD      [Multiple Regression] [] [2009-11-20 14:54:32] [54f12ba6dfaf5b88c7c2745223d9c32f] [Current]
Feedback Forum

Post a new message
Dataseries X:
20366	0
22782	0
19169	0
13807	0
29743	0
25591	0
29096	0
26482	0
22405	0
27044	0
17970	0
18730	0
19684	0
19785	0
18479	0
10698	0
31956	0
29506	0
34506	0
27165	0
26736	0
23691	0
18157	0
17328	0
18205	0
20995	0
17382	0
9367	0
31124	0
26551	0
30651	0
25859	0
25100	0
25778	0
20418	0
18688	0
20424	0
24776	0
19814	0
12738	0
31566	0
30111	0
30019	0
31934	1
25826	1
26835	1
20205	1
17789	1
20520	1
22518	1
15572	1
11509	1
25447	1
24090	1
27786	1
26195	1
20516	1
22759	1
19028	1
16971	1
20036	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58237&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58237&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 22527.8181455235 -1760.41995763605X[t] + 22.9871244635193t + e[t]

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58237&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] = + 22527.8181455235 -1760.41995763605X[t] + 22.9871244635193t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)22527.81814552351750.22961712.871400
X-1760.419957636052651.69407-0.66390.5093940.254697
t22.987124463519368.6883710.33470.739090.369545

\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) & 22527.8181455235 & 1750.229617 & 12.8714 & 0 & 0 \tabularnewline
X & -1760.41995763605 & 2651.69407 & -0.6639 & 0.509394 & 0.254697 \tabularnewline
t & 22.9871244635193 & 68.688371 & 0.3347 & 0.73909 & 0.369545 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58237&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]22527.8181455235[/C][C]1750.229617[/C][C]12.8714[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-1760.41995763605[/C][C]2651.69407[/C][C]-0.6639[/C][C]0.509394[/C][C]0.254697[/C][/ROW]
[ROW][C]t[/C][C]22.9871244635193[/C][C]68.688371[/C][C]0.3347[/C][C]0.73909[/C][C]0.369545[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58237&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58237&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)22527.81814552351750.22961712.871400
X-1760.419957636052651.69407-0.66390.5093940.254697
t22.987124463519368.6883710.33470.739090.369545







Multiple Linear Regression - Regression Statistics
Multiple R0.0957486084587364
R-squared0.00916779602178442
Adjusted R-squared-0.0249988317016023
F-TEST (value)0.268326043061872
F-TEST (DF numerator)2
F-TEST (DF denominator)58
p-value0.76560241245108
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5790.43373566096
Sum Squared Residuals1944689125.13067

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.0957486084587364 \tabularnewline
R-squared & 0.00916779602178442 \tabularnewline
Adjusted R-squared & -0.0249988317016023 \tabularnewline
F-TEST (value) & 0.268326043061872 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.76560241245108 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5790.43373566096 \tabularnewline
Sum Squared Residuals & 1944689125.13067 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58237&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.0957486084587364[/C][/ROW]
[ROW][C]R-squared[/C][C]0.00916779602178442[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0249988317016023[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.268326043061872[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.76560241245108[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5790.43373566096[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1944689125.13067[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58237&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58237&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.0957486084587364
R-squared0.00916779602178442
Adjusted R-squared-0.0249988317016023
F-TEST (value)0.268326043061872
F-TEST (DF numerator)2
F-TEST (DF denominator)58
p-value0.76560241245108
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5790.43373566096
Sum Squared Residuals1944689125.13067







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12036622550.8052699870-2184.80526998704
22278222573.7923944505208.207605549456
31916922596.7795189141-3427.77951891406
41380722619.7666433776-8812.76664337758
52974322642.75376784117100.2462321589
62559122665.74089230462925.25910769538
72909622688.72801676816407.27198323186
82648222711.71514123173770.28485876834
92240522734.7022656952-329.702265695178
102704422757.68939015874286.3106098413
111797022780.6765146222-4810.67651462222
121873022803.6636390857-4073.66363908574
131968422826.6507635493-3142.65076354926
141978522849.6378880128-3064.63788801278
151847922872.6250124763-4393.62501247629
161069822895.6121369398-12197.6121369398
173195622918.59926140339037.40073859667
182950622941.58638586696564.41361413315
193450622964.573510330411541.4264896696
202716522987.56063479394177.43936520611
212673623010.54775925743725.45224074259
222369123033.5348837209657.46511627907
231815723056.5220081844-4899.52200818445
241732823079.5091326480-5751.50913264797
251820523102.4962571115-4897.49625711149
262099523125.483381575-2130.48338157501
271738223148.4705060385-5766.47050603853
28936723171.4576305020-13804.4576305020
293112423194.44475496567929.55524503443
302655123217.43187942913333.56812057092
313065123240.41900389267410.5809961074
322585923263.40612835612595.59387164388
332510023286.39325281961813.60674718036
342577823309.38037728322468.61962271684
352041823332.3675017467-2914.36750174668
361868823355.3546262102-4667.3546262102
372042423378.3417506737-2954.34175067372
382477623401.32887513721374.67112486276
391981423424.3159996008-3610.31599960076
401273823447.3031240643-10709.3031240643
413156623470.29024852788095.7097514722
423011123493.27737299136617.72262700868
433001923516.26449745486502.73550254516
443193421778.831664282310155.1683357177
452582621801.81878874584024.18121125417
462683521824.80591320935010.19408679065
472020521847.7930376729-1642.79303767287
481778921870.7801621364-4081.78016213639
492052021893.7672865999-1373.76728659990
502251821916.7544110634601.245588936576
511557221939.7415355269-6367.74153552694
521150921962.7286599905-10453.7286599905
532544721985.7157844543461.28421554602
542409022008.70290891752081.2970910825
552778622031.6900333815754.30996661898
562619522054.67715784454140.32284215546
572051622077.6642823081-1561.66428230806
582275922100.6514067716658.348593228421
591902822123.6385312351-3095.6385312351
601697122146.6256556986-5175.62565569862
612003622169.6127801621-2133.61278016214

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 20366 & 22550.8052699870 & -2184.80526998704 \tabularnewline
2 & 22782 & 22573.7923944505 & 208.207605549456 \tabularnewline
3 & 19169 & 22596.7795189141 & -3427.77951891406 \tabularnewline
4 & 13807 & 22619.7666433776 & -8812.76664337758 \tabularnewline
5 & 29743 & 22642.7537678411 & 7100.2462321589 \tabularnewline
6 & 25591 & 22665.7408923046 & 2925.25910769538 \tabularnewline
7 & 29096 & 22688.7280167681 & 6407.27198323186 \tabularnewline
8 & 26482 & 22711.7151412317 & 3770.28485876834 \tabularnewline
9 & 22405 & 22734.7022656952 & -329.702265695178 \tabularnewline
10 & 27044 & 22757.6893901587 & 4286.3106098413 \tabularnewline
11 & 17970 & 22780.6765146222 & -4810.67651462222 \tabularnewline
12 & 18730 & 22803.6636390857 & -4073.66363908574 \tabularnewline
13 & 19684 & 22826.6507635493 & -3142.65076354926 \tabularnewline
14 & 19785 & 22849.6378880128 & -3064.63788801278 \tabularnewline
15 & 18479 & 22872.6250124763 & -4393.62501247629 \tabularnewline
16 & 10698 & 22895.6121369398 & -12197.6121369398 \tabularnewline
17 & 31956 & 22918.5992614033 & 9037.40073859667 \tabularnewline
18 & 29506 & 22941.5863858669 & 6564.41361413315 \tabularnewline
19 & 34506 & 22964.5735103304 & 11541.4264896696 \tabularnewline
20 & 27165 & 22987.5606347939 & 4177.43936520611 \tabularnewline
21 & 26736 & 23010.5477592574 & 3725.45224074259 \tabularnewline
22 & 23691 & 23033.5348837209 & 657.46511627907 \tabularnewline
23 & 18157 & 23056.5220081844 & -4899.52200818445 \tabularnewline
24 & 17328 & 23079.5091326480 & -5751.50913264797 \tabularnewline
25 & 18205 & 23102.4962571115 & -4897.49625711149 \tabularnewline
26 & 20995 & 23125.483381575 & -2130.48338157501 \tabularnewline
27 & 17382 & 23148.4705060385 & -5766.47050603853 \tabularnewline
28 & 9367 & 23171.4576305020 & -13804.4576305020 \tabularnewline
29 & 31124 & 23194.4447549656 & 7929.55524503443 \tabularnewline
30 & 26551 & 23217.4318794291 & 3333.56812057092 \tabularnewline
31 & 30651 & 23240.4190038926 & 7410.5809961074 \tabularnewline
32 & 25859 & 23263.4061283561 & 2595.59387164388 \tabularnewline
33 & 25100 & 23286.3932528196 & 1813.60674718036 \tabularnewline
34 & 25778 & 23309.3803772832 & 2468.61962271684 \tabularnewline
35 & 20418 & 23332.3675017467 & -2914.36750174668 \tabularnewline
36 & 18688 & 23355.3546262102 & -4667.3546262102 \tabularnewline
37 & 20424 & 23378.3417506737 & -2954.34175067372 \tabularnewline
38 & 24776 & 23401.3288751372 & 1374.67112486276 \tabularnewline
39 & 19814 & 23424.3159996008 & -3610.31599960076 \tabularnewline
40 & 12738 & 23447.3031240643 & -10709.3031240643 \tabularnewline
41 & 31566 & 23470.2902485278 & 8095.7097514722 \tabularnewline
42 & 30111 & 23493.2773729913 & 6617.72262700868 \tabularnewline
43 & 30019 & 23516.2644974548 & 6502.73550254516 \tabularnewline
44 & 31934 & 21778.8316642823 & 10155.1683357177 \tabularnewline
45 & 25826 & 21801.8187887458 & 4024.18121125417 \tabularnewline
46 & 26835 & 21824.8059132093 & 5010.19408679065 \tabularnewline
47 & 20205 & 21847.7930376729 & -1642.79303767287 \tabularnewline
48 & 17789 & 21870.7801621364 & -4081.78016213639 \tabularnewline
49 & 20520 & 21893.7672865999 & -1373.76728659990 \tabularnewline
50 & 22518 & 21916.7544110634 & 601.245588936576 \tabularnewline
51 & 15572 & 21939.7415355269 & -6367.74153552694 \tabularnewline
52 & 11509 & 21962.7286599905 & -10453.7286599905 \tabularnewline
53 & 25447 & 21985.715784454 & 3461.28421554602 \tabularnewline
54 & 24090 & 22008.7029089175 & 2081.2970910825 \tabularnewline
55 & 27786 & 22031.690033381 & 5754.30996661898 \tabularnewline
56 & 26195 & 22054.6771578445 & 4140.32284215546 \tabularnewline
57 & 20516 & 22077.6642823081 & -1561.66428230806 \tabularnewline
58 & 22759 & 22100.6514067716 & 658.348593228421 \tabularnewline
59 & 19028 & 22123.6385312351 & -3095.6385312351 \tabularnewline
60 & 16971 & 22146.6256556986 & -5175.62565569862 \tabularnewline
61 & 20036 & 22169.6127801621 & -2133.61278016214 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58237&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]20366[/C][C]22550.8052699870[/C][C]-2184.80526998704[/C][/ROW]
[ROW][C]2[/C][C]22782[/C][C]22573.7923944505[/C][C]208.207605549456[/C][/ROW]
[ROW][C]3[/C][C]19169[/C][C]22596.7795189141[/C][C]-3427.77951891406[/C][/ROW]
[ROW][C]4[/C][C]13807[/C][C]22619.7666433776[/C][C]-8812.76664337758[/C][/ROW]
[ROW][C]5[/C][C]29743[/C][C]22642.7537678411[/C][C]7100.2462321589[/C][/ROW]
[ROW][C]6[/C][C]25591[/C][C]22665.7408923046[/C][C]2925.25910769538[/C][/ROW]
[ROW][C]7[/C][C]29096[/C][C]22688.7280167681[/C][C]6407.27198323186[/C][/ROW]
[ROW][C]8[/C][C]26482[/C][C]22711.7151412317[/C][C]3770.28485876834[/C][/ROW]
[ROW][C]9[/C][C]22405[/C][C]22734.7022656952[/C][C]-329.702265695178[/C][/ROW]
[ROW][C]10[/C][C]27044[/C][C]22757.6893901587[/C][C]4286.3106098413[/C][/ROW]
[ROW][C]11[/C][C]17970[/C][C]22780.6765146222[/C][C]-4810.67651462222[/C][/ROW]
[ROW][C]12[/C][C]18730[/C][C]22803.6636390857[/C][C]-4073.66363908574[/C][/ROW]
[ROW][C]13[/C][C]19684[/C][C]22826.6507635493[/C][C]-3142.65076354926[/C][/ROW]
[ROW][C]14[/C][C]19785[/C][C]22849.6378880128[/C][C]-3064.63788801278[/C][/ROW]
[ROW][C]15[/C][C]18479[/C][C]22872.6250124763[/C][C]-4393.62501247629[/C][/ROW]
[ROW][C]16[/C][C]10698[/C][C]22895.6121369398[/C][C]-12197.6121369398[/C][/ROW]
[ROW][C]17[/C][C]31956[/C][C]22918.5992614033[/C][C]9037.40073859667[/C][/ROW]
[ROW][C]18[/C][C]29506[/C][C]22941.5863858669[/C][C]6564.41361413315[/C][/ROW]
[ROW][C]19[/C][C]34506[/C][C]22964.5735103304[/C][C]11541.4264896696[/C][/ROW]
[ROW][C]20[/C][C]27165[/C][C]22987.5606347939[/C][C]4177.43936520611[/C][/ROW]
[ROW][C]21[/C][C]26736[/C][C]23010.5477592574[/C][C]3725.45224074259[/C][/ROW]
[ROW][C]22[/C][C]23691[/C][C]23033.5348837209[/C][C]657.46511627907[/C][/ROW]
[ROW][C]23[/C][C]18157[/C][C]23056.5220081844[/C][C]-4899.52200818445[/C][/ROW]
[ROW][C]24[/C][C]17328[/C][C]23079.5091326480[/C][C]-5751.50913264797[/C][/ROW]
[ROW][C]25[/C][C]18205[/C][C]23102.4962571115[/C][C]-4897.49625711149[/C][/ROW]
[ROW][C]26[/C][C]20995[/C][C]23125.483381575[/C][C]-2130.48338157501[/C][/ROW]
[ROW][C]27[/C][C]17382[/C][C]23148.4705060385[/C][C]-5766.47050603853[/C][/ROW]
[ROW][C]28[/C][C]9367[/C][C]23171.4576305020[/C][C]-13804.4576305020[/C][/ROW]
[ROW][C]29[/C][C]31124[/C][C]23194.4447549656[/C][C]7929.55524503443[/C][/ROW]
[ROW][C]30[/C][C]26551[/C][C]23217.4318794291[/C][C]3333.56812057092[/C][/ROW]
[ROW][C]31[/C][C]30651[/C][C]23240.4190038926[/C][C]7410.5809961074[/C][/ROW]
[ROW][C]32[/C][C]25859[/C][C]23263.4061283561[/C][C]2595.59387164388[/C][/ROW]
[ROW][C]33[/C][C]25100[/C][C]23286.3932528196[/C][C]1813.60674718036[/C][/ROW]
[ROW][C]34[/C][C]25778[/C][C]23309.3803772832[/C][C]2468.61962271684[/C][/ROW]
[ROW][C]35[/C][C]20418[/C][C]23332.3675017467[/C][C]-2914.36750174668[/C][/ROW]
[ROW][C]36[/C][C]18688[/C][C]23355.3546262102[/C][C]-4667.3546262102[/C][/ROW]
[ROW][C]37[/C][C]20424[/C][C]23378.3417506737[/C][C]-2954.34175067372[/C][/ROW]
[ROW][C]38[/C][C]24776[/C][C]23401.3288751372[/C][C]1374.67112486276[/C][/ROW]
[ROW][C]39[/C][C]19814[/C][C]23424.3159996008[/C][C]-3610.31599960076[/C][/ROW]
[ROW][C]40[/C][C]12738[/C][C]23447.3031240643[/C][C]-10709.3031240643[/C][/ROW]
[ROW][C]41[/C][C]31566[/C][C]23470.2902485278[/C][C]8095.7097514722[/C][/ROW]
[ROW][C]42[/C][C]30111[/C][C]23493.2773729913[/C][C]6617.72262700868[/C][/ROW]
[ROW][C]43[/C][C]30019[/C][C]23516.2644974548[/C][C]6502.73550254516[/C][/ROW]
[ROW][C]44[/C][C]31934[/C][C]21778.8316642823[/C][C]10155.1683357177[/C][/ROW]
[ROW][C]45[/C][C]25826[/C][C]21801.8187887458[/C][C]4024.18121125417[/C][/ROW]
[ROW][C]46[/C][C]26835[/C][C]21824.8059132093[/C][C]5010.19408679065[/C][/ROW]
[ROW][C]47[/C][C]20205[/C][C]21847.7930376729[/C][C]-1642.79303767287[/C][/ROW]
[ROW][C]48[/C][C]17789[/C][C]21870.7801621364[/C][C]-4081.78016213639[/C][/ROW]
[ROW][C]49[/C][C]20520[/C][C]21893.7672865999[/C][C]-1373.76728659990[/C][/ROW]
[ROW][C]50[/C][C]22518[/C][C]21916.7544110634[/C][C]601.245588936576[/C][/ROW]
[ROW][C]51[/C][C]15572[/C][C]21939.7415355269[/C][C]-6367.74153552694[/C][/ROW]
[ROW][C]52[/C][C]11509[/C][C]21962.7286599905[/C][C]-10453.7286599905[/C][/ROW]
[ROW][C]53[/C][C]25447[/C][C]21985.715784454[/C][C]3461.28421554602[/C][/ROW]
[ROW][C]54[/C][C]24090[/C][C]22008.7029089175[/C][C]2081.2970910825[/C][/ROW]
[ROW][C]55[/C][C]27786[/C][C]22031.690033381[/C][C]5754.30996661898[/C][/ROW]
[ROW][C]56[/C][C]26195[/C][C]22054.6771578445[/C][C]4140.32284215546[/C][/ROW]
[ROW][C]57[/C][C]20516[/C][C]22077.6642823081[/C][C]-1561.66428230806[/C][/ROW]
[ROW][C]58[/C][C]22759[/C][C]22100.6514067716[/C][C]658.348593228421[/C][/ROW]
[ROW][C]59[/C][C]19028[/C][C]22123.6385312351[/C][C]-3095.6385312351[/C][/ROW]
[ROW][C]60[/C][C]16971[/C][C]22146.6256556986[/C][C]-5175.62565569862[/C][/ROW]
[ROW][C]61[/C][C]20036[/C][C]22169.6127801621[/C][C]-2133.61278016214[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58237&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58237&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
12036622550.8052699870-2184.80526998704
22278222573.7923944505208.207605549456
31916922596.7795189141-3427.77951891406
41380722619.7666433776-8812.76664337758
52974322642.75376784117100.2462321589
62559122665.74089230462925.25910769538
72909622688.72801676816407.27198323186
82648222711.71514123173770.28485876834
92240522734.7022656952-329.702265695178
102704422757.68939015874286.3106098413
111797022780.6765146222-4810.67651462222
121873022803.6636390857-4073.66363908574
131968422826.6507635493-3142.65076354926
141978522849.6378880128-3064.63788801278
151847922872.6250124763-4393.62501247629
161069822895.6121369398-12197.6121369398
173195622918.59926140339037.40073859667
182950622941.58638586696564.41361413315
193450622964.573510330411541.4264896696
202716522987.56063479394177.43936520611
212673623010.54775925743725.45224074259
222369123033.5348837209657.46511627907
231815723056.5220081844-4899.52200818445
241732823079.5091326480-5751.50913264797
251820523102.4962571115-4897.49625711149
262099523125.483381575-2130.48338157501
271738223148.4705060385-5766.47050603853
28936723171.4576305020-13804.4576305020
293112423194.44475496567929.55524503443
302655123217.43187942913333.56812057092
313065123240.41900389267410.5809961074
322585923263.40612835612595.59387164388
332510023286.39325281961813.60674718036
342577823309.38037728322468.61962271684
352041823332.3675017467-2914.36750174668
361868823355.3546262102-4667.3546262102
372042423378.3417506737-2954.34175067372
382477623401.32887513721374.67112486276
391981423424.3159996008-3610.31599960076
401273823447.3031240643-10709.3031240643
413156623470.29024852788095.7097514722
423011123493.27737299136617.72262700868
433001923516.26449745486502.73550254516
443193421778.831664282310155.1683357177
452582621801.81878874584024.18121125417
462683521824.80591320935010.19408679065
472020521847.7930376729-1642.79303767287
481778921870.7801621364-4081.78016213639
492052021893.7672865999-1373.76728659990
502251821916.7544110634601.245588936576
511557221939.7415355269-6367.74153552694
521150921962.7286599905-10453.7286599905
532544721985.7157844543461.28421554602
542409022008.70290891752081.2970910825
552778622031.6900333815754.30996661898
562619522054.67715784454140.32284215546
572051622077.6642823081-1561.66428230806
582275922100.6514067716658.348593228421
591902822123.6385312351-3095.6385312351
601697122146.6256556986-5175.62565569862
612003622169.6127801621-2133.61278016214







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.6902282965408620.6195434069182750.309771703459138
70.5607304143101350.8785391713797290.439269585689865
80.4302175144657910.8604350289315820.569782485534209
90.4052909168356290.8105818336712580.594709083164371
100.2952236164141780.5904472328283560.704776383585822
110.4084833463609860.8169666927219710.591516653639014
120.3896969104846160.7793938209692330.610303089515384
130.3208151217832830.6416302435665660.679184878216717
140.2497811637120510.4995623274241020.750218836287949
150.2001895983350370.4003791966700740.799810401664963
160.3734325804846720.7468651609693430.626567419515328
170.613810893758750.7723782124825010.386189106241251
180.6414608474209190.7170783051581620.358539152579081
190.7895203957004540.4209592085990920.210479604299546
200.7429771866453080.5140456267093840.257022813354692
210.6908717909959190.6182564180081620.309128209004081
220.627127072373950.7457458552521010.372872927626050
230.6290677413094130.7418645173811740.370932258690587
240.6342711341434150.731457731713170.365728865856585
250.6108928190485450.778214361902910.389107180951455
260.5440320768298430.9119358463403140.455967923170157
270.5393416141755350.921316771648930.460658385824465
280.8499099193993490.3001801612013020.150090080600651
290.8816152984539140.2367694030921710.118384701546086
300.8519106558025690.2961786883948630.148089344197431
310.8642586987581910.2714826024836180.135741301241809
320.8226864310159210.3546271379681570.177313568984079
330.769792458818890.4604150823622190.230207541181109
340.7132944888304080.5734110223391850.286705511169592
350.66684616324080.6663076735183990.333153836759199
360.6538921290595860.6922157418808270.346107870940414
370.6143238018776040.7713523962447930.385676198122396
380.5387256950344720.9225486099310570.461274304965528
390.5221122925226920.9557754149546170.477887707477308
400.8882999305752950.223400138849410.111700069424705
410.8742939045755430.2514121908489140.125706095424457
420.842110468286110.3157790634277790.157889531713889
430.7988433089801310.4023133820397370.201156691019869
440.8520551895715980.2958896208568040.147944810428402
450.8256695949588420.3486608100823160.174330405041158
460.8352352000168110.3295295999663780.164764799983189
470.78330110488810.4333977902238010.216698895111901
480.737109031091390.5257819378172210.262890968908610
490.6482443489925520.7035113020148970.351755651007448
500.5529841462239020.8940317075521950.447015853776098
510.554213652410740.8915726951785210.445786347589260
520.9845303935890520.03093921282189520.0154696064109476
530.9664841518611370.06703169627772660.0335158481388633
540.9510625796783920.09787484064321650.0489374203216082
550.8926352054068530.2147295891862940.107364794593147

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.690228296540862 & 0.619543406918275 & 0.309771703459138 \tabularnewline
7 & 0.560730414310135 & 0.878539171379729 & 0.439269585689865 \tabularnewline
8 & 0.430217514465791 & 0.860435028931582 & 0.569782485534209 \tabularnewline
9 & 0.405290916835629 & 0.810581833671258 & 0.594709083164371 \tabularnewline
10 & 0.295223616414178 & 0.590447232828356 & 0.704776383585822 \tabularnewline
11 & 0.408483346360986 & 0.816966692721971 & 0.591516653639014 \tabularnewline
12 & 0.389696910484616 & 0.779393820969233 & 0.610303089515384 \tabularnewline
13 & 0.320815121783283 & 0.641630243566566 & 0.679184878216717 \tabularnewline
14 & 0.249781163712051 & 0.499562327424102 & 0.750218836287949 \tabularnewline
15 & 0.200189598335037 & 0.400379196670074 & 0.799810401664963 \tabularnewline
16 & 0.373432580484672 & 0.746865160969343 & 0.626567419515328 \tabularnewline
17 & 0.61381089375875 & 0.772378212482501 & 0.386189106241251 \tabularnewline
18 & 0.641460847420919 & 0.717078305158162 & 0.358539152579081 \tabularnewline
19 & 0.789520395700454 & 0.420959208599092 & 0.210479604299546 \tabularnewline
20 & 0.742977186645308 & 0.514045626709384 & 0.257022813354692 \tabularnewline
21 & 0.690871790995919 & 0.618256418008162 & 0.309128209004081 \tabularnewline
22 & 0.62712707237395 & 0.745745855252101 & 0.372872927626050 \tabularnewline
23 & 0.629067741309413 & 0.741864517381174 & 0.370932258690587 \tabularnewline
24 & 0.634271134143415 & 0.73145773171317 & 0.365728865856585 \tabularnewline
25 & 0.610892819048545 & 0.77821436190291 & 0.389107180951455 \tabularnewline
26 & 0.544032076829843 & 0.911935846340314 & 0.455967923170157 \tabularnewline
27 & 0.539341614175535 & 0.92131677164893 & 0.460658385824465 \tabularnewline
28 & 0.849909919399349 & 0.300180161201302 & 0.150090080600651 \tabularnewline
29 & 0.881615298453914 & 0.236769403092171 & 0.118384701546086 \tabularnewline
30 & 0.851910655802569 & 0.296178688394863 & 0.148089344197431 \tabularnewline
31 & 0.864258698758191 & 0.271482602483618 & 0.135741301241809 \tabularnewline
32 & 0.822686431015921 & 0.354627137968157 & 0.177313568984079 \tabularnewline
33 & 0.76979245881889 & 0.460415082362219 & 0.230207541181109 \tabularnewline
34 & 0.713294488830408 & 0.573411022339185 & 0.286705511169592 \tabularnewline
35 & 0.6668461632408 & 0.666307673518399 & 0.333153836759199 \tabularnewline
36 & 0.653892129059586 & 0.692215741880827 & 0.346107870940414 \tabularnewline
37 & 0.614323801877604 & 0.771352396244793 & 0.385676198122396 \tabularnewline
38 & 0.538725695034472 & 0.922548609931057 & 0.461274304965528 \tabularnewline
39 & 0.522112292522692 & 0.955775414954617 & 0.477887707477308 \tabularnewline
40 & 0.888299930575295 & 0.22340013884941 & 0.111700069424705 \tabularnewline
41 & 0.874293904575543 & 0.251412190848914 & 0.125706095424457 \tabularnewline
42 & 0.84211046828611 & 0.315779063427779 & 0.157889531713889 \tabularnewline
43 & 0.798843308980131 & 0.402313382039737 & 0.201156691019869 \tabularnewline
44 & 0.852055189571598 & 0.295889620856804 & 0.147944810428402 \tabularnewline
45 & 0.825669594958842 & 0.348660810082316 & 0.174330405041158 \tabularnewline
46 & 0.835235200016811 & 0.329529599966378 & 0.164764799983189 \tabularnewline
47 & 0.7833011048881 & 0.433397790223801 & 0.216698895111901 \tabularnewline
48 & 0.73710903109139 & 0.525781937817221 & 0.262890968908610 \tabularnewline
49 & 0.648244348992552 & 0.703511302014897 & 0.351755651007448 \tabularnewline
50 & 0.552984146223902 & 0.894031707552195 & 0.447015853776098 \tabularnewline
51 & 0.55421365241074 & 0.891572695178521 & 0.445786347589260 \tabularnewline
52 & 0.984530393589052 & 0.0309392128218952 & 0.0154696064109476 \tabularnewline
53 & 0.966484151861137 & 0.0670316962777266 & 0.0335158481388633 \tabularnewline
54 & 0.951062579678392 & 0.0978748406432165 & 0.0489374203216082 \tabularnewline
55 & 0.892635205406853 & 0.214729589186294 & 0.107364794593147 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58237&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]6[/C][C]0.690228296540862[/C][C]0.619543406918275[/C][C]0.309771703459138[/C][/ROW]
[ROW][C]7[/C][C]0.560730414310135[/C][C]0.878539171379729[/C][C]0.439269585689865[/C][/ROW]
[ROW][C]8[/C][C]0.430217514465791[/C][C]0.860435028931582[/C][C]0.569782485534209[/C][/ROW]
[ROW][C]9[/C][C]0.405290916835629[/C][C]0.810581833671258[/C][C]0.594709083164371[/C][/ROW]
[ROW][C]10[/C][C]0.295223616414178[/C][C]0.590447232828356[/C][C]0.704776383585822[/C][/ROW]
[ROW][C]11[/C][C]0.408483346360986[/C][C]0.816966692721971[/C][C]0.591516653639014[/C][/ROW]
[ROW][C]12[/C][C]0.389696910484616[/C][C]0.779393820969233[/C][C]0.610303089515384[/C][/ROW]
[ROW][C]13[/C][C]0.320815121783283[/C][C]0.641630243566566[/C][C]0.679184878216717[/C][/ROW]
[ROW][C]14[/C][C]0.249781163712051[/C][C]0.499562327424102[/C][C]0.750218836287949[/C][/ROW]
[ROW][C]15[/C][C]0.200189598335037[/C][C]0.400379196670074[/C][C]0.799810401664963[/C][/ROW]
[ROW][C]16[/C][C]0.373432580484672[/C][C]0.746865160969343[/C][C]0.626567419515328[/C][/ROW]
[ROW][C]17[/C][C]0.61381089375875[/C][C]0.772378212482501[/C][C]0.386189106241251[/C][/ROW]
[ROW][C]18[/C][C]0.641460847420919[/C][C]0.717078305158162[/C][C]0.358539152579081[/C][/ROW]
[ROW][C]19[/C][C]0.789520395700454[/C][C]0.420959208599092[/C][C]0.210479604299546[/C][/ROW]
[ROW][C]20[/C][C]0.742977186645308[/C][C]0.514045626709384[/C][C]0.257022813354692[/C][/ROW]
[ROW][C]21[/C][C]0.690871790995919[/C][C]0.618256418008162[/C][C]0.309128209004081[/C][/ROW]
[ROW][C]22[/C][C]0.62712707237395[/C][C]0.745745855252101[/C][C]0.372872927626050[/C][/ROW]
[ROW][C]23[/C][C]0.629067741309413[/C][C]0.741864517381174[/C][C]0.370932258690587[/C][/ROW]
[ROW][C]24[/C][C]0.634271134143415[/C][C]0.73145773171317[/C][C]0.365728865856585[/C][/ROW]
[ROW][C]25[/C][C]0.610892819048545[/C][C]0.77821436190291[/C][C]0.389107180951455[/C][/ROW]
[ROW][C]26[/C][C]0.544032076829843[/C][C]0.911935846340314[/C][C]0.455967923170157[/C][/ROW]
[ROW][C]27[/C][C]0.539341614175535[/C][C]0.92131677164893[/C][C]0.460658385824465[/C][/ROW]
[ROW][C]28[/C][C]0.849909919399349[/C][C]0.300180161201302[/C][C]0.150090080600651[/C][/ROW]
[ROW][C]29[/C][C]0.881615298453914[/C][C]0.236769403092171[/C][C]0.118384701546086[/C][/ROW]
[ROW][C]30[/C][C]0.851910655802569[/C][C]0.296178688394863[/C][C]0.148089344197431[/C][/ROW]
[ROW][C]31[/C][C]0.864258698758191[/C][C]0.271482602483618[/C][C]0.135741301241809[/C][/ROW]
[ROW][C]32[/C][C]0.822686431015921[/C][C]0.354627137968157[/C][C]0.177313568984079[/C][/ROW]
[ROW][C]33[/C][C]0.76979245881889[/C][C]0.460415082362219[/C][C]0.230207541181109[/C][/ROW]
[ROW][C]34[/C][C]0.713294488830408[/C][C]0.573411022339185[/C][C]0.286705511169592[/C][/ROW]
[ROW][C]35[/C][C]0.6668461632408[/C][C]0.666307673518399[/C][C]0.333153836759199[/C][/ROW]
[ROW][C]36[/C][C]0.653892129059586[/C][C]0.692215741880827[/C][C]0.346107870940414[/C][/ROW]
[ROW][C]37[/C][C]0.614323801877604[/C][C]0.771352396244793[/C][C]0.385676198122396[/C][/ROW]
[ROW][C]38[/C][C]0.538725695034472[/C][C]0.922548609931057[/C][C]0.461274304965528[/C][/ROW]
[ROW][C]39[/C][C]0.522112292522692[/C][C]0.955775414954617[/C][C]0.477887707477308[/C][/ROW]
[ROW][C]40[/C][C]0.888299930575295[/C][C]0.22340013884941[/C][C]0.111700069424705[/C][/ROW]
[ROW][C]41[/C][C]0.874293904575543[/C][C]0.251412190848914[/C][C]0.125706095424457[/C][/ROW]
[ROW][C]42[/C][C]0.84211046828611[/C][C]0.315779063427779[/C][C]0.157889531713889[/C][/ROW]
[ROW][C]43[/C][C]0.798843308980131[/C][C]0.402313382039737[/C][C]0.201156691019869[/C][/ROW]
[ROW][C]44[/C][C]0.852055189571598[/C][C]0.295889620856804[/C][C]0.147944810428402[/C][/ROW]
[ROW][C]45[/C][C]0.825669594958842[/C][C]0.348660810082316[/C][C]0.174330405041158[/C][/ROW]
[ROW][C]46[/C][C]0.835235200016811[/C][C]0.329529599966378[/C][C]0.164764799983189[/C][/ROW]
[ROW][C]47[/C][C]0.7833011048881[/C][C]0.433397790223801[/C][C]0.216698895111901[/C][/ROW]
[ROW][C]48[/C][C]0.73710903109139[/C][C]0.525781937817221[/C][C]0.262890968908610[/C][/ROW]
[ROW][C]49[/C][C]0.648244348992552[/C][C]0.703511302014897[/C][C]0.351755651007448[/C][/ROW]
[ROW][C]50[/C][C]0.552984146223902[/C][C]0.894031707552195[/C][C]0.447015853776098[/C][/ROW]
[ROW][C]51[/C][C]0.55421365241074[/C][C]0.891572695178521[/C][C]0.445786347589260[/C][/ROW]
[ROW][C]52[/C][C]0.984530393589052[/C][C]0.0309392128218952[/C][C]0.0154696064109476[/C][/ROW]
[ROW][C]53[/C][C]0.966484151861137[/C][C]0.0670316962777266[/C][C]0.0335158481388633[/C][/ROW]
[ROW][C]54[/C][C]0.951062579678392[/C][C]0.0978748406432165[/C][C]0.0489374203216082[/C][/ROW]
[ROW][C]55[/C][C]0.892635205406853[/C][C]0.214729589186294[/C][C]0.107364794593147[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58237&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58237&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
60.6902282965408620.6195434069182750.309771703459138
70.5607304143101350.8785391713797290.439269585689865
80.4302175144657910.8604350289315820.569782485534209
90.4052909168356290.8105818336712580.594709083164371
100.2952236164141780.5904472328283560.704776383585822
110.4084833463609860.8169666927219710.591516653639014
120.3896969104846160.7793938209692330.610303089515384
130.3208151217832830.6416302435665660.679184878216717
140.2497811637120510.4995623274241020.750218836287949
150.2001895983350370.4003791966700740.799810401664963
160.3734325804846720.7468651609693430.626567419515328
170.613810893758750.7723782124825010.386189106241251
180.6414608474209190.7170783051581620.358539152579081
190.7895203957004540.4209592085990920.210479604299546
200.7429771866453080.5140456267093840.257022813354692
210.6908717909959190.6182564180081620.309128209004081
220.627127072373950.7457458552521010.372872927626050
230.6290677413094130.7418645173811740.370932258690587
240.6342711341434150.731457731713170.365728865856585
250.6108928190485450.778214361902910.389107180951455
260.5440320768298430.9119358463403140.455967923170157
270.5393416141755350.921316771648930.460658385824465
280.8499099193993490.3001801612013020.150090080600651
290.8816152984539140.2367694030921710.118384701546086
300.8519106558025690.2961786883948630.148089344197431
310.8642586987581910.2714826024836180.135741301241809
320.8226864310159210.3546271379681570.177313568984079
330.769792458818890.4604150823622190.230207541181109
340.7132944888304080.5734110223391850.286705511169592
350.66684616324080.6663076735183990.333153836759199
360.6538921290595860.6922157418808270.346107870940414
370.6143238018776040.7713523962447930.385676198122396
380.5387256950344720.9225486099310570.461274304965528
390.5221122925226920.9557754149546170.477887707477308
400.8882999305752950.223400138849410.111700069424705
410.8742939045755430.2514121908489140.125706095424457
420.842110468286110.3157790634277790.157889531713889
430.7988433089801310.4023133820397370.201156691019869
440.8520551895715980.2958896208568040.147944810428402
450.8256695949588420.3486608100823160.174330405041158
460.8352352000168110.3295295999663780.164764799983189
470.78330110488810.4333977902238010.216698895111901
480.737109031091390.5257819378172210.262890968908610
490.6482443489925520.7035113020148970.351755651007448
500.5529841462239020.8940317075521950.447015853776098
510.554213652410740.8915726951785210.445786347589260
520.9845303935890520.03093921282189520.0154696064109476
530.9664841518611370.06703169627772660.0335158481388633
540.9510625796783920.09787484064321650.0489374203216082
550.8926352054068530.2147295891862940.107364794593147







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

\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 & 1 & 0.02 & OK \tabularnewline
10% type I error level & 3 & 0.06 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58237&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]1[/C][C]0.02[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]3[/C][C]0.06[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58237&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58237&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 level10.02OK
10% type I error level30.06OK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}