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 computationTue, 15 Dec 2009 09:03:21 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/15/t1260893096d3pie7p4gpag3nq.htm/, Retrieved Sat, 27 Apr 2024 21:59:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=68014, Retrieved Sat, 27 Apr 2024 21:59:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact131
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]
-    D    [Multiple Regression] [model 1] [2009-11-19 08:35:38] [3445d50c581a74ea3ff7b84cc82fcfeb]
-    D      [Multiple Regression] [] [2009-11-20 13:39:03] [e149fd9094b67af26551857fa83a9d9d]
-    D          [Multiple Regression] [] [2009-12-15 16:03:21] [27b6e36591879260e4dc6bb7e89a38fd] [Current]
Feedback Forum

Post a new message
Dataseries X:
594	0
595	0
591	0
589	0
584	0
573	0
567	0
569	0
621	0
629	0
628	0
612	0
595	0
597	0
593	0
590	0
580	0
574	0
573	0
573	0
620	0
626	0
620	0
588	0
566	0
557	0
561	0
549	0
532	0
526	0
511	0
499	0
555	0
565	0
542	0
527	0
510	0
514	0
517	0
508	0
493	0
490	0
469	0
478	0
528	0
534	0
518	1
506	1
502	1
516	1
528	1
533	1
536	1
537	1
524	1
536	1
587	1
597	1
581	1
564	1
558	1




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

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







Multiple Linear Regression - Estimated Regression Equation
WlhBe[t] = + 561.130434782609 -19.5971014492753X[t] + e[t]

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

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]WlhBe[t] =  +  561.130434782609 -19.5971014492753X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68014&T=1

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







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

\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) & 561.130434782609 & 5.940473 & 94.4589 & 0 & 0 \tabularnewline
X & -19.5971014492753 & 11.979545 & -1.6359 & 0.107189 & 0.053594 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68014&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]561.130434782609[/C][C]5.940473[/C][C]94.4589[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-19.5971014492753[/C][C]11.979545[/C][C]-1.6359[/C][C]0.107189[/C][C]0.053594[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68014&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68014&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)561.1304347826095.94047394.458900
X-19.597101449275311.979545-1.63590.1071890.053594







Multiple Linear Regression - Regression Statistics
Multiple R0.208301807925622
R-squared0.0433896431850828
Adjusted R-squared0.027175908323813
F-TEST (value)2.67610415221041
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.107188900753538
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation40.2902500559395
Sum Squared Residuals95774.9507246376

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.208301807925622 \tabularnewline
R-squared & 0.0433896431850828 \tabularnewline
Adjusted R-squared & 0.027175908323813 \tabularnewline
F-TEST (value) & 2.67610415221041 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.107188900753538 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 40.2902500559395 \tabularnewline
Sum Squared Residuals & 95774.9507246376 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68014&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.208301807925622[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0433896431850828[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.027175908323813[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.67610415221041[/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.107188900753538[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]40.2902500559395[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]95774.9507246376[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68014&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68014&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.208301807925622
R-squared0.0433896431850828
Adjusted R-squared0.027175908323813
F-TEST (value)2.67610415221041
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.107188900753538
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation40.2902500559395
Sum Squared Residuals95774.9507246376







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1594561.1304347826132.8695652173903
2595561.13043478260933.8695652173913
3591561.13043478260929.8695652173913
4589561.13043478260927.8695652173913
5584561.13043478260922.8695652173913
6573561.13043478260911.8695652173913
7567561.1304347826095.86956521739133
8569561.1304347826097.86956521739133
9621561.13043478260959.8695652173913
10629561.13043478260967.8695652173913
11628561.13043478260966.8695652173913
12612561.13043478260950.8695652173913
13595561.13043478260933.8695652173913
14597561.13043478260935.8695652173913
15593561.13043478260931.8695652173913
16590561.13043478260928.8695652173913
17580561.13043478260918.8695652173913
18574561.13043478260912.8695652173913
19573561.13043478260911.8695652173913
20573561.13043478260911.8695652173913
21620561.13043478260958.8695652173913
22626561.13043478260964.8695652173913
23620561.13043478260958.8695652173913
24588561.13043478260926.8695652173913
25566561.1304347826094.86956521739133
26557561.130434782609-4.13043478260867
27561561.130434782609-0.130434782608669
28549561.130434782609-12.1304347826087
29532561.130434782609-29.1304347826087
30526561.130434782609-35.1304347826087
31511561.130434782609-50.1304347826087
32499561.130434782609-62.1304347826087
33555561.130434782609-6.13043478260867
34565561.1304347826093.86956521739133
35542561.130434782609-19.1304347826087
36527561.130434782609-34.1304347826087
37510561.130434782609-51.1304347826087
38514561.130434782609-47.1304347826087
39517561.130434782609-44.1304347826087
40508561.130434782609-53.1304347826087
41493561.130434782609-68.1304347826087
42490561.130434782609-71.1304347826087
43469561.130434782609-92.1304347826087
44478561.130434782609-83.1304347826087
45528561.130434782609-33.1304347826087
46534561.130434782609-27.1304347826087
47518541.533333333333-23.5333333333333
48506541.533333333333-35.5333333333333
49502541.533333333333-39.5333333333333
50516541.533333333333-25.5333333333333
51528541.533333333333-13.5333333333333
52533541.533333333333-8.53333333333333
53536541.533333333333-5.53333333333333
54537541.533333333333-4.53333333333333
55524541.533333333333-17.5333333333333
56536541.533333333333-5.53333333333333
57587541.53333333333345.4666666666667
58597541.53333333333355.4666666666667
59581541.53333333333339.4666666666667
60564541.53333333333322.4666666666667
61558541.53333333333316.4666666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 594 & 561.13043478261 & 32.8695652173903 \tabularnewline
2 & 595 & 561.130434782609 & 33.8695652173913 \tabularnewline
3 & 591 & 561.130434782609 & 29.8695652173913 \tabularnewline
4 & 589 & 561.130434782609 & 27.8695652173913 \tabularnewline
5 & 584 & 561.130434782609 & 22.8695652173913 \tabularnewline
6 & 573 & 561.130434782609 & 11.8695652173913 \tabularnewline
7 & 567 & 561.130434782609 & 5.86956521739133 \tabularnewline
8 & 569 & 561.130434782609 & 7.86956521739133 \tabularnewline
9 & 621 & 561.130434782609 & 59.8695652173913 \tabularnewline
10 & 629 & 561.130434782609 & 67.8695652173913 \tabularnewline
11 & 628 & 561.130434782609 & 66.8695652173913 \tabularnewline
12 & 612 & 561.130434782609 & 50.8695652173913 \tabularnewline
13 & 595 & 561.130434782609 & 33.8695652173913 \tabularnewline
14 & 597 & 561.130434782609 & 35.8695652173913 \tabularnewline
15 & 593 & 561.130434782609 & 31.8695652173913 \tabularnewline
16 & 590 & 561.130434782609 & 28.8695652173913 \tabularnewline
17 & 580 & 561.130434782609 & 18.8695652173913 \tabularnewline
18 & 574 & 561.130434782609 & 12.8695652173913 \tabularnewline
19 & 573 & 561.130434782609 & 11.8695652173913 \tabularnewline
20 & 573 & 561.130434782609 & 11.8695652173913 \tabularnewline
21 & 620 & 561.130434782609 & 58.8695652173913 \tabularnewline
22 & 626 & 561.130434782609 & 64.8695652173913 \tabularnewline
23 & 620 & 561.130434782609 & 58.8695652173913 \tabularnewline
24 & 588 & 561.130434782609 & 26.8695652173913 \tabularnewline
25 & 566 & 561.130434782609 & 4.86956521739133 \tabularnewline
26 & 557 & 561.130434782609 & -4.13043478260867 \tabularnewline
27 & 561 & 561.130434782609 & -0.130434782608669 \tabularnewline
28 & 549 & 561.130434782609 & -12.1304347826087 \tabularnewline
29 & 532 & 561.130434782609 & -29.1304347826087 \tabularnewline
30 & 526 & 561.130434782609 & -35.1304347826087 \tabularnewline
31 & 511 & 561.130434782609 & -50.1304347826087 \tabularnewline
32 & 499 & 561.130434782609 & -62.1304347826087 \tabularnewline
33 & 555 & 561.130434782609 & -6.13043478260867 \tabularnewline
34 & 565 & 561.130434782609 & 3.86956521739133 \tabularnewline
35 & 542 & 561.130434782609 & -19.1304347826087 \tabularnewline
36 & 527 & 561.130434782609 & -34.1304347826087 \tabularnewline
37 & 510 & 561.130434782609 & -51.1304347826087 \tabularnewline
38 & 514 & 561.130434782609 & -47.1304347826087 \tabularnewline
39 & 517 & 561.130434782609 & -44.1304347826087 \tabularnewline
40 & 508 & 561.130434782609 & -53.1304347826087 \tabularnewline
41 & 493 & 561.130434782609 & -68.1304347826087 \tabularnewline
42 & 490 & 561.130434782609 & -71.1304347826087 \tabularnewline
43 & 469 & 561.130434782609 & -92.1304347826087 \tabularnewline
44 & 478 & 561.130434782609 & -83.1304347826087 \tabularnewline
45 & 528 & 561.130434782609 & -33.1304347826087 \tabularnewline
46 & 534 & 561.130434782609 & -27.1304347826087 \tabularnewline
47 & 518 & 541.533333333333 & -23.5333333333333 \tabularnewline
48 & 506 & 541.533333333333 & -35.5333333333333 \tabularnewline
49 & 502 & 541.533333333333 & -39.5333333333333 \tabularnewline
50 & 516 & 541.533333333333 & -25.5333333333333 \tabularnewline
51 & 528 & 541.533333333333 & -13.5333333333333 \tabularnewline
52 & 533 & 541.533333333333 & -8.53333333333333 \tabularnewline
53 & 536 & 541.533333333333 & -5.53333333333333 \tabularnewline
54 & 537 & 541.533333333333 & -4.53333333333333 \tabularnewline
55 & 524 & 541.533333333333 & -17.5333333333333 \tabularnewline
56 & 536 & 541.533333333333 & -5.53333333333333 \tabularnewline
57 & 587 & 541.533333333333 & 45.4666666666667 \tabularnewline
58 & 597 & 541.533333333333 & 55.4666666666667 \tabularnewline
59 & 581 & 541.533333333333 & 39.4666666666667 \tabularnewline
60 & 564 & 541.533333333333 & 22.4666666666667 \tabularnewline
61 & 558 & 541.533333333333 & 16.4666666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68014&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]594[/C][C]561.13043478261[/C][C]32.8695652173903[/C][/ROW]
[ROW][C]2[/C][C]595[/C][C]561.130434782609[/C][C]33.8695652173913[/C][/ROW]
[ROW][C]3[/C][C]591[/C][C]561.130434782609[/C][C]29.8695652173913[/C][/ROW]
[ROW][C]4[/C][C]589[/C][C]561.130434782609[/C][C]27.8695652173913[/C][/ROW]
[ROW][C]5[/C][C]584[/C][C]561.130434782609[/C][C]22.8695652173913[/C][/ROW]
[ROW][C]6[/C][C]573[/C][C]561.130434782609[/C][C]11.8695652173913[/C][/ROW]
[ROW][C]7[/C][C]567[/C][C]561.130434782609[/C][C]5.86956521739133[/C][/ROW]
[ROW][C]8[/C][C]569[/C][C]561.130434782609[/C][C]7.86956521739133[/C][/ROW]
[ROW][C]9[/C][C]621[/C][C]561.130434782609[/C][C]59.8695652173913[/C][/ROW]
[ROW][C]10[/C][C]629[/C][C]561.130434782609[/C][C]67.8695652173913[/C][/ROW]
[ROW][C]11[/C][C]628[/C][C]561.130434782609[/C][C]66.8695652173913[/C][/ROW]
[ROW][C]12[/C][C]612[/C][C]561.130434782609[/C][C]50.8695652173913[/C][/ROW]
[ROW][C]13[/C][C]595[/C][C]561.130434782609[/C][C]33.8695652173913[/C][/ROW]
[ROW][C]14[/C][C]597[/C][C]561.130434782609[/C][C]35.8695652173913[/C][/ROW]
[ROW][C]15[/C][C]593[/C][C]561.130434782609[/C][C]31.8695652173913[/C][/ROW]
[ROW][C]16[/C][C]590[/C][C]561.130434782609[/C][C]28.8695652173913[/C][/ROW]
[ROW][C]17[/C][C]580[/C][C]561.130434782609[/C][C]18.8695652173913[/C][/ROW]
[ROW][C]18[/C][C]574[/C][C]561.130434782609[/C][C]12.8695652173913[/C][/ROW]
[ROW][C]19[/C][C]573[/C][C]561.130434782609[/C][C]11.8695652173913[/C][/ROW]
[ROW][C]20[/C][C]573[/C][C]561.130434782609[/C][C]11.8695652173913[/C][/ROW]
[ROW][C]21[/C][C]620[/C][C]561.130434782609[/C][C]58.8695652173913[/C][/ROW]
[ROW][C]22[/C][C]626[/C][C]561.130434782609[/C][C]64.8695652173913[/C][/ROW]
[ROW][C]23[/C][C]620[/C][C]561.130434782609[/C][C]58.8695652173913[/C][/ROW]
[ROW][C]24[/C][C]588[/C][C]561.130434782609[/C][C]26.8695652173913[/C][/ROW]
[ROW][C]25[/C][C]566[/C][C]561.130434782609[/C][C]4.86956521739133[/C][/ROW]
[ROW][C]26[/C][C]557[/C][C]561.130434782609[/C][C]-4.13043478260867[/C][/ROW]
[ROW][C]27[/C][C]561[/C][C]561.130434782609[/C][C]-0.130434782608669[/C][/ROW]
[ROW][C]28[/C][C]549[/C][C]561.130434782609[/C][C]-12.1304347826087[/C][/ROW]
[ROW][C]29[/C][C]532[/C][C]561.130434782609[/C][C]-29.1304347826087[/C][/ROW]
[ROW][C]30[/C][C]526[/C][C]561.130434782609[/C][C]-35.1304347826087[/C][/ROW]
[ROW][C]31[/C][C]511[/C][C]561.130434782609[/C][C]-50.1304347826087[/C][/ROW]
[ROW][C]32[/C][C]499[/C][C]561.130434782609[/C][C]-62.1304347826087[/C][/ROW]
[ROW][C]33[/C][C]555[/C][C]561.130434782609[/C][C]-6.13043478260867[/C][/ROW]
[ROW][C]34[/C][C]565[/C][C]561.130434782609[/C][C]3.86956521739133[/C][/ROW]
[ROW][C]35[/C][C]542[/C][C]561.130434782609[/C][C]-19.1304347826087[/C][/ROW]
[ROW][C]36[/C][C]527[/C][C]561.130434782609[/C][C]-34.1304347826087[/C][/ROW]
[ROW][C]37[/C][C]510[/C][C]561.130434782609[/C][C]-51.1304347826087[/C][/ROW]
[ROW][C]38[/C][C]514[/C][C]561.130434782609[/C][C]-47.1304347826087[/C][/ROW]
[ROW][C]39[/C][C]517[/C][C]561.130434782609[/C][C]-44.1304347826087[/C][/ROW]
[ROW][C]40[/C][C]508[/C][C]561.130434782609[/C][C]-53.1304347826087[/C][/ROW]
[ROW][C]41[/C][C]493[/C][C]561.130434782609[/C][C]-68.1304347826087[/C][/ROW]
[ROW][C]42[/C][C]490[/C][C]561.130434782609[/C][C]-71.1304347826087[/C][/ROW]
[ROW][C]43[/C][C]469[/C][C]561.130434782609[/C][C]-92.1304347826087[/C][/ROW]
[ROW][C]44[/C][C]478[/C][C]561.130434782609[/C][C]-83.1304347826087[/C][/ROW]
[ROW][C]45[/C][C]528[/C][C]561.130434782609[/C][C]-33.1304347826087[/C][/ROW]
[ROW][C]46[/C][C]534[/C][C]561.130434782609[/C][C]-27.1304347826087[/C][/ROW]
[ROW][C]47[/C][C]518[/C][C]541.533333333333[/C][C]-23.5333333333333[/C][/ROW]
[ROW][C]48[/C][C]506[/C][C]541.533333333333[/C][C]-35.5333333333333[/C][/ROW]
[ROW][C]49[/C][C]502[/C][C]541.533333333333[/C][C]-39.5333333333333[/C][/ROW]
[ROW][C]50[/C][C]516[/C][C]541.533333333333[/C][C]-25.5333333333333[/C][/ROW]
[ROW][C]51[/C][C]528[/C][C]541.533333333333[/C][C]-13.5333333333333[/C][/ROW]
[ROW][C]52[/C][C]533[/C][C]541.533333333333[/C][C]-8.53333333333333[/C][/ROW]
[ROW][C]53[/C][C]536[/C][C]541.533333333333[/C][C]-5.53333333333333[/C][/ROW]
[ROW][C]54[/C][C]537[/C][C]541.533333333333[/C][C]-4.53333333333333[/C][/ROW]
[ROW][C]55[/C][C]524[/C][C]541.533333333333[/C][C]-17.5333333333333[/C][/ROW]
[ROW][C]56[/C][C]536[/C][C]541.533333333333[/C][C]-5.53333333333333[/C][/ROW]
[ROW][C]57[/C][C]587[/C][C]541.533333333333[/C][C]45.4666666666667[/C][/ROW]
[ROW][C]58[/C][C]597[/C][C]541.533333333333[/C][C]55.4666666666667[/C][/ROW]
[ROW][C]59[/C][C]581[/C][C]541.533333333333[/C][C]39.4666666666667[/C][/ROW]
[ROW][C]60[/C][C]564[/C][C]541.533333333333[/C][C]22.4666666666667[/C][/ROW]
[ROW][C]61[/C][C]558[/C][C]541.533333333333[/C][C]16.4666666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68014&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68014&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
1594561.1304347826132.8695652173903
2595561.13043478260933.8695652173913
3591561.13043478260929.8695652173913
4589561.13043478260927.8695652173913
5584561.13043478260922.8695652173913
6573561.13043478260911.8695652173913
7567561.1304347826095.86956521739133
8569561.1304347826097.86956521739133
9621561.13043478260959.8695652173913
10629561.13043478260967.8695652173913
11628561.13043478260966.8695652173913
12612561.13043478260950.8695652173913
13595561.13043478260933.8695652173913
14597561.13043478260935.8695652173913
15593561.13043478260931.8695652173913
16590561.13043478260928.8695652173913
17580561.13043478260918.8695652173913
18574561.13043478260912.8695652173913
19573561.13043478260911.8695652173913
20573561.13043478260911.8695652173913
21620561.13043478260958.8695652173913
22626561.13043478260964.8695652173913
23620561.13043478260958.8695652173913
24588561.13043478260926.8695652173913
25566561.1304347826094.86956521739133
26557561.130434782609-4.13043478260867
27561561.130434782609-0.130434782608669
28549561.130434782609-12.1304347826087
29532561.130434782609-29.1304347826087
30526561.130434782609-35.1304347826087
31511561.130434782609-50.1304347826087
32499561.130434782609-62.1304347826087
33555561.130434782609-6.13043478260867
34565561.1304347826093.86956521739133
35542561.130434782609-19.1304347826087
36527561.130434782609-34.1304347826087
37510561.130434782609-51.1304347826087
38514561.130434782609-47.1304347826087
39517561.130434782609-44.1304347826087
40508561.130434782609-53.1304347826087
41493561.130434782609-68.1304347826087
42490561.130434782609-71.1304347826087
43469561.130434782609-92.1304347826087
44478561.130434782609-83.1304347826087
45528561.130434782609-33.1304347826087
46534561.130434782609-27.1304347826087
47518541.533333333333-23.5333333333333
48506541.533333333333-35.5333333333333
49502541.533333333333-39.5333333333333
50516541.533333333333-25.5333333333333
51528541.533333333333-13.5333333333333
52533541.533333333333-8.53333333333333
53536541.533333333333-5.53333333333333
54537541.533333333333-4.53333333333333
55524541.533333333333-17.5333333333333
56536541.533333333333-5.53333333333333
57587541.53333333333345.4666666666667
58597541.53333333333355.4666666666667
59581541.53333333333339.4666666666667
60564541.53333333333322.4666666666667
61558541.53333333333316.4666666666667







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.002613228568797950.00522645713759590.997386771431202
60.004656486623500580.009312973247001160.9953435133765
70.005036311552785040.01007262310557010.994963688447215
80.002618493902614540.005236987805229080.997381506097385
90.01251338068384280.02502676136768560.987486619316157
100.03383974802493930.06767949604987860.96616025197506
110.05168199428526650.1033639885705330.948318005714734
120.03971274247828490.07942548495656970.960287257521715
130.02369626320250640.04739252640501280.976303736797494
140.01423031323765730.02846062647531460.985769686762343
150.008403171747945350.01680634349589070.991596828252055
160.004990871131841950.00998174226368390.995009128868158
170.003358738870497450.006717477740994890.996641261129503
180.002608799195736840.005217598391473690.997391200804263
190.002028348421835630.004056696843671250.997971651578164
200.001540212188641340.003080424377282670.998459787811359
210.003494937848471730.006989875696943460.996505062151528
220.01319255799605570.02638511599211130.986807442003944
230.03981031300023910.07962062600047810.96018968699976
240.05015463872434730.1003092774486950.949845361275653
250.06927935915975160.1385587183195030.930720640840248
260.1046949336813230.2093898673626460.895305066318677
270.1424871996237360.2849743992474710.857512800376264
280.2074891352648760.4149782705297520.792510864735124
290.3308558022287800.6617116044575610.66914419777122
300.4587002749981140.9174005499962270.541299725001886
310.6235350702945310.7529298594109390.376464929705469
320.7786676775085680.4426646449828640.221332322491432
330.7938878818802160.4122242362395690.206112118119784
340.8483304332541470.3033391334917050.151669566745853
350.86604539773190.2679092045362020.133954602268101
360.8768779790679810.2462440418640380.123122020932019
370.8915212739890510.2169574520218980.108478726010949
380.8947314268960450.2105371462079100.105268573103955
390.8928955557990930.2142088884018140.107104444200907
400.8905480242916180.2189039514167640.109451975708382
410.8968584394010090.2062831211979820.103141560598991
420.9003200947240970.1993598105518070.0996799052759034
430.9412449502247090.1175100995505830.0587550497752915
440.9654917148966750.06901657020665020.0345082851033251
450.946545614127470.1069087717450590.0534543858725296
460.917413199859910.1651736002801820.0825868001400908
470.8915884625362430.2168230749275130.108411537463757
480.8913082054394020.2173835891211960.108691794560598
490.9149279984796650.1701440030406700.0850720015203351
500.913573070304240.172853859391520.08642692969576
510.890754593509390.2184908129812210.109245406490610
520.8550843646282970.2898312707434060.144915635371703
530.8069922734258820.3860154531482360.193007726574118
540.7525289247649540.4949421504700920.247471075235046
550.8177063304649460.3645873390701070.182293669535054
560.8813144292885490.2373711414229020.118685570711451

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.00261322856879795 & 0.0052264571375959 & 0.997386771431202 \tabularnewline
6 & 0.00465648662350058 & 0.00931297324700116 & 0.9953435133765 \tabularnewline
7 & 0.00503631155278504 & 0.0100726231055701 & 0.994963688447215 \tabularnewline
8 & 0.00261849390261454 & 0.00523698780522908 & 0.997381506097385 \tabularnewline
9 & 0.0125133806838428 & 0.0250267613676856 & 0.987486619316157 \tabularnewline
10 & 0.0338397480249393 & 0.0676794960498786 & 0.96616025197506 \tabularnewline
11 & 0.0516819942852665 & 0.103363988570533 & 0.948318005714734 \tabularnewline
12 & 0.0397127424782849 & 0.0794254849565697 & 0.960287257521715 \tabularnewline
13 & 0.0236962632025064 & 0.0473925264050128 & 0.976303736797494 \tabularnewline
14 & 0.0142303132376573 & 0.0284606264753146 & 0.985769686762343 \tabularnewline
15 & 0.00840317174794535 & 0.0168063434958907 & 0.991596828252055 \tabularnewline
16 & 0.00499087113184195 & 0.0099817422636839 & 0.995009128868158 \tabularnewline
17 & 0.00335873887049745 & 0.00671747774099489 & 0.996641261129503 \tabularnewline
18 & 0.00260879919573684 & 0.00521759839147369 & 0.997391200804263 \tabularnewline
19 & 0.00202834842183563 & 0.00405669684367125 & 0.997971651578164 \tabularnewline
20 & 0.00154021218864134 & 0.00308042437728267 & 0.998459787811359 \tabularnewline
21 & 0.00349493784847173 & 0.00698987569694346 & 0.996505062151528 \tabularnewline
22 & 0.0131925579960557 & 0.0263851159921113 & 0.986807442003944 \tabularnewline
23 & 0.0398103130002391 & 0.0796206260004781 & 0.96018968699976 \tabularnewline
24 & 0.0501546387243473 & 0.100309277448695 & 0.949845361275653 \tabularnewline
25 & 0.0692793591597516 & 0.138558718319503 & 0.930720640840248 \tabularnewline
26 & 0.104694933681323 & 0.209389867362646 & 0.895305066318677 \tabularnewline
27 & 0.142487199623736 & 0.284974399247471 & 0.857512800376264 \tabularnewline
28 & 0.207489135264876 & 0.414978270529752 & 0.792510864735124 \tabularnewline
29 & 0.330855802228780 & 0.661711604457561 & 0.66914419777122 \tabularnewline
30 & 0.458700274998114 & 0.917400549996227 & 0.541299725001886 \tabularnewline
31 & 0.623535070294531 & 0.752929859410939 & 0.376464929705469 \tabularnewline
32 & 0.778667677508568 & 0.442664644982864 & 0.221332322491432 \tabularnewline
33 & 0.793887881880216 & 0.412224236239569 & 0.206112118119784 \tabularnewline
34 & 0.848330433254147 & 0.303339133491705 & 0.151669566745853 \tabularnewline
35 & 0.8660453977319 & 0.267909204536202 & 0.133954602268101 \tabularnewline
36 & 0.876877979067981 & 0.246244041864038 & 0.123122020932019 \tabularnewline
37 & 0.891521273989051 & 0.216957452021898 & 0.108478726010949 \tabularnewline
38 & 0.894731426896045 & 0.210537146207910 & 0.105268573103955 \tabularnewline
39 & 0.892895555799093 & 0.214208888401814 & 0.107104444200907 \tabularnewline
40 & 0.890548024291618 & 0.218903951416764 & 0.109451975708382 \tabularnewline
41 & 0.896858439401009 & 0.206283121197982 & 0.103141560598991 \tabularnewline
42 & 0.900320094724097 & 0.199359810551807 & 0.0996799052759034 \tabularnewline
43 & 0.941244950224709 & 0.117510099550583 & 0.0587550497752915 \tabularnewline
44 & 0.965491714896675 & 0.0690165702066502 & 0.0345082851033251 \tabularnewline
45 & 0.94654561412747 & 0.106908771745059 & 0.0534543858725296 \tabularnewline
46 & 0.91741319985991 & 0.165173600280182 & 0.0825868001400908 \tabularnewline
47 & 0.891588462536243 & 0.216823074927513 & 0.108411537463757 \tabularnewline
48 & 0.891308205439402 & 0.217383589121196 & 0.108691794560598 \tabularnewline
49 & 0.914927998479665 & 0.170144003040670 & 0.0850720015203351 \tabularnewline
50 & 0.91357307030424 & 0.17285385939152 & 0.08642692969576 \tabularnewline
51 & 0.89075459350939 & 0.218490812981221 & 0.109245406490610 \tabularnewline
52 & 0.855084364628297 & 0.289831270743406 & 0.144915635371703 \tabularnewline
53 & 0.806992273425882 & 0.386015453148236 & 0.193007726574118 \tabularnewline
54 & 0.752528924764954 & 0.494942150470092 & 0.247471075235046 \tabularnewline
55 & 0.817706330464946 & 0.364587339070107 & 0.182293669535054 \tabularnewline
56 & 0.881314429288549 & 0.237371141422902 & 0.118685570711451 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68014&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.00261322856879795[/C][C]0.0052264571375959[/C][C]0.997386771431202[/C][/ROW]
[ROW][C]6[/C][C]0.00465648662350058[/C][C]0.00931297324700116[/C][C]0.9953435133765[/C][/ROW]
[ROW][C]7[/C][C]0.00503631155278504[/C][C]0.0100726231055701[/C][C]0.994963688447215[/C][/ROW]
[ROW][C]8[/C][C]0.00261849390261454[/C][C]0.00523698780522908[/C][C]0.997381506097385[/C][/ROW]
[ROW][C]9[/C][C]0.0125133806838428[/C][C]0.0250267613676856[/C][C]0.987486619316157[/C][/ROW]
[ROW][C]10[/C][C]0.0338397480249393[/C][C]0.0676794960498786[/C][C]0.96616025197506[/C][/ROW]
[ROW][C]11[/C][C]0.0516819942852665[/C][C]0.103363988570533[/C][C]0.948318005714734[/C][/ROW]
[ROW][C]12[/C][C]0.0397127424782849[/C][C]0.0794254849565697[/C][C]0.960287257521715[/C][/ROW]
[ROW][C]13[/C][C]0.0236962632025064[/C][C]0.0473925264050128[/C][C]0.976303736797494[/C][/ROW]
[ROW][C]14[/C][C]0.0142303132376573[/C][C]0.0284606264753146[/C][C]0.985769686762343[/C][/ROW]
[ROW][C]15[/C][C]0.00840317174794535[/C][C]0.0168063434958907[/C][C]0.991596828252055[/C][/ROW]
[ROW][C]16[/C][C]0.00499087113184195[/C][C]0.0099817422636839[/C][C]0.995009128868158[/C][/ROW]
[ROW][C]17[/C][C]0.00335873887049745[/C][C]0.00671747774099489[/C][C]0.996641261129503[/C][/ROW]
[ROW][C]18[/C][C]0.00260879919573684[/C][C]0.00521759839147369[/C][C]0.997391200804263[/C][/ROW]
[ROW][C]19[/C][C]0.00202834842183563[/C][C]0.00405669684367125[/C][C]0.997971651578164[/C][/ROW]
[ROW][C]20[/C][C]0.00154021218864134[/C][C]0.00308042437728267[/C][C]0.998459787811359[/C][/ROW]
[ROW][C]21[/C][C]0.00349493784847173[/C][C]0.00698987569694346[/C][C]0.996505062151528[/C][/ROW]
[ROW][C]22[/C][C]0.0131925579960557[/C][C]0.0263851159921113[/C][C]0.986807442003944[/C][/ROW]
[ROW][C]23[/C][C]0.0398103130002391[/C][C]0.0796206260004781[/C][C]0.96018968699976[/C][/ROW]
[ROW][C]24[/C][C]0.0501546387243473[/C][C]0.100309277448695[/C][C]0.949845361275653[/C][/ROW]
[ROW][C]25[/C][C]0.0692793591597516[/C][C]0.138558718319503[/C][C]0.930720640840248[/C][/ROW]
[ROW][C]26[/C][C]0.104694933681323[/C][C]0.209389867362646[/C][C]0.895305066318677[/C][/ROW]
[ROW][C]27[/C][C]0.142487199623736[/C][C]0.284974399247471[/C][C]0.857512800376264[/C][/ROW]
[ROW][C]28[/C][C]0.207489135264876[/C][C]0.414978270529752[/C][C]0.792510864735124[/C][/ROW]
[ROW][C]29[/C][C]0.330855802228780[/C][C]0.661711604457561[/C][C]0.66914419777122[/C][/ROW]
[ROW][C]30[/C][C]0.458700274998114[/C][C]0.917400549996227[/C][C]0.541299725001886[/C][/ROW]
[ROW][C]31[/C][C]0.623535070294531[/C][C]0.752929859410939[/C][C]0.376464929705469[/C][/ROW]
[ROW][C]32[/C][C]0.778667677508568[/C][C]0.442664644982864[/C][C]0.221332322491432[/C][/ROW]
[ROW][C]33[/C][C]0.793887881880216[/C][C]0.412224236239569[/C][C]0.206112118119784[/C][/ROW]
[ROW][C]34[/C][C]0.848330433254147[/C][C]0.303339133491705[/C][C]0.151669566745853[/C][/ROW]
[ROW][C]35[/C][C]0.8660453977319[/C][C]0.267909204536202[/C][C]0.133954602268101[/C][/ROW]
[ROW][C]36[/C][C]0.876877979067981[/C][C]0.246244041864038[/C][C]0.123122020932019[/C][/ROW]
[ROW][C]37[/C][C]0.891521273989051[/C][C]0.216957452021898[/C][C]0.108478726010949[/C][/ROW]
[ROW][C]38[/C][C]0.894731426896045[/C][C]0.210537146207910[/C][C]0.105268573103955[/C][/ROW]
[ROW][C]39[/C][C]0.892895555799093[/C][C]0.214208888401814[/C][C]0.107104444200907[/C][/ROW]
[ROW][C]40[/C][C]0.890548024291618[/C][C]0.218903951416764[/C][C]0.109451975708382[/C][/ROW]
[ROW][C]41[/C][C]0.896858439401009[/C][C]0.206283121197982[/C][C]0.103141560598991[/C][/ROW]
[ROW][C]42[/C][C]0.900320094724097[/C][C]0.199359810551807[/C][C]0.0996799052759034[/C][/ROW]
[ROW][C]43[/C][C]0.941244950224709[/C][C]0.117510099550583[/C][C]0.0587550497752915[/C][/ROW]
[ROW][C]44[/C][C]0.965491714896675[/C][C]0.0690165702066502[/C][C]0.0345082851033251[/C][/ROW]
[ROW][C]45[/C][C]0.94654561412747[/C][C]0.106908771745059[/C][C]0.0534543858725296[/C][/ROW]
[ROW][C]46[/C][C]0.91741319985991[/C][C]0.165173600280182[/C][C]0.0825868001400908[/C][/ROW]
[ROW][C]47[/C][C]0.891588462536243[/C][C]0.216823074927513[/C][C]0.108411537463757[/C][/ROW]
[ROW][C]48[/C][C]0.891308205439402[/C][C]0.217383589121196[/C][C]0.108691794560598[/C][/ROW]
[ROW][C]49[/C][C]0.914927998479665[/C][C]0.170144003040670[/C][C]0.0850720015203351[/C][/ROW]
[ROW][C]50[/C][C]0.91357307030424[/C][C]0.17285385939152[/C][C]0.08642692969576[/C][/ROW]
[ROW][C]51[/C][C]0.89075459350939[/C][C]0.218490812981221[/C][C]0.109245406490610[/C][/ROW]
[ROW][C]52[/C][C]0.855084364628297[/C][C]0.289831270743406[/C][C]0.144915635371703[/C][/ROW]
[ROW][C]53[/C][C]0.806992273425882[/C][C]0.386015453148236[/C][C]0.193007726574118[/C][/ROW]
[ROW][C]54[/C][C]0.752528924764954[/C][C]0.494942150470092[/C][C]0.247471075235046[/C][/ROW]
[ROW][C]55[/C][C]0.817706330464946[/C][C]0.364587339070107[/C][C]0.182293669535054[/C][/ROW]
[ROW][C]56[/C][C]0.881314429288549[/C][C]0.237371141422902[/C][C]0.118685570711451[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68014&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68014&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.002613228568797950.00522645713759590.997386771431202
60.004656486623500580.009312973247001160.9953435133765
70.005036311552785040.01007262310557010.994963688447215
80.002618493902614540.005236987805229080.997381506097385
90.01251338068384280.02502676136768560.987486619316157
100.03383974802493930.06767949604987860.96616025197506
110.05168199428526650.1033639885705330.948318005714734
120.03971274247828490.07942548495656970.960287257521715
130.02369626320250640.04739252640501280.976303736797494
140.01423031323765730.02846062647531460.985769686762343
150.008403171747945350.01680634349589070.991596828252055
160.004990871131841950.00998174226368390.995009128868158
170.003358738870497450.006717477740994890.996641261129503
180.002608799195736840.005217598391473690.997391200804263
190.002028348421835630.004056696843671250.997971651578164
200.001540212188641340.003080424377282670.998459787811359
210.003494937848471730.006989875696943460.996505062151528
220.01319255799605570.02638511599211130.986807442003944
230.03981031300023910.07962062600047810.96018968699976
240.05015463872434730.1003092774486950.949845361275653
250.06927935915975160.1385587183195030.930720640840248
260.1046949336813230.2093898673626460.895305066318677
270.1424871996237360.2849743992474710.857512800376264
280.2074891352648760.4149782705297520.792510864735124
290.3308558022287800.6617116044575610.66914419777122
300.4587002749981140.9174005499962270.541299725001886
310.6235350702945310.7529298594109390.376464929705469
320.7786676775085680.4426646449828640.221332322491432
330.7938878818802160.4122242362395690.206112118119784
340.8483304332541470.3033391334917050.151669566745853
350.86604539773190.2679092045362020.133954602268101
360.8768779790679810.2462440418640380.123122020932019
370.8915212739890510.2169574520218980.108478726010949
380.8947314268960450.2105371462079100.105268573103955
390.8928955557990930.2142088884018140.107104444200907
400.8905480242916180.2189039514167640.109451975708382
410.8968584394010090.2062831211979820.103141560598991
420.9003200947240970.1993598105518070.0996799052759034
430.9412449502247090.1175100995505830.0587550497752915
440.9654917148966750.06901657020665020.0345082851033251
450.946545614127470.1069087717450590.0534543858725296
460.917413199859910.1651736002801820.0825868001400908
470.8915884625362430.2168230749275130.108411537463757
480.8913082054394020.2173835891211960.108691794560598
490.9149279984796650.1701440030406700.0850720015203351
500.913573070304240.172853859391520.08642692969576
510.890754593509390.2184908129812210.109245406490610
520.8550843646282970.2898312707434060.144915635371703
530.8069922734258820.3860154531482360.193007726574118
540.7525289247649540.4949421504700920.247471075235046
550.8177063304649460.3645873390701070.182293669535054
560.8813144292885490.2373711414229020.118685570711451







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level90.173076923076923NOK
5% type I error level150.288461538461538NOK
10% type I error level190.365384615384615NOK

\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 & 9 & 0.173076923076923 & NOK \tabularnewline
5% type I error level & 15 & 0.288461538461538 & NOK \tabularnewline
10% type I error level & 19 & 0.365384615384615 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68014&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]9[/C][C]0.173076923076923[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]15[/C][C]0.288461538461538[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]19[/C][C]0.365384615384615[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68014&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68014&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 level90.173076923076923NOK
5% type I error level150.288461538461538NOK
10% type I error level190.365384615384615NOK



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