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, 27 Nov 2009 03:40:15 -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/27/t1259319226tck27ljj6cx866u.htm/, Retrieved Sun, 28 Apr 2024 20:38:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=60558, Retrieved Sun, 28 Apr 2024 20:38:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact147
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] [SHw WS7] [2009-11-18 15:00:59] [af2352cd9a951bedd08ebe247d0de1a2]
-    D        [Multiple Regression] [Workshop 7] [2009-11-27 10:40:15] [ee8fc1691ecec7724e0ca78f0c288737] [Current]
Feedback Forum

Post a new message
Dataseries X:
627	0
696	0
825	0
677	0
656	0
785	0
412	0
352	0
839	0
729	0
696	0
641	0
695	0
638	0
762	0
635	0
721	0
854	0
418	0
367	0
824	0
687	0
601	0
676	0
740	0
691	0
683	0
594	0
729	0
731	0
386	0
331	0
707	0
715	0
657	0
653	0
642	0
643	0
718	0
654	0
632	0
731	0
392	0
344	0
792	0
852	0
649	0
629	0
685	1
617	1
715	1
715	1
629	1
916	1
531	1
357	1
917	1
828	1
708	1
858	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=60558&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=60558&T=0

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

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)648.08333333333320.79988431.15800
X58.2546.5099551.25240.2154430.107722

\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) & 648.083333333333 & 20.799884 & 31.158 & 0 & 0 \tabularnewline
X & 58.25 & 46.509955 & 1.2524 & 0.215443 & 0.107722 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60558&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]648.083333333333[/C][C]20.799884[/C][C]31.158[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]58.25[/C][C]46.509955[/C][C]1.2524[/C][C]0.215443[/C][C]0.107722[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60558&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60558&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)648.08333333333320.79988431.15800
X58.2546.5099551.25240.2154430.107722







Multiple Linear Regression - Regression Statistics
Multiple R0.162271210903277
R-squared0.0263319458880159
Adjusted R-squared0.00954456564470596
F-TEST (value)1.56855599303586
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.215443415878782
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation144.105823982749
Sum Squared Residuals1204456.33333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.162271210903277 \tabularnewline
R-squared & 0.0263319458880159 \tabularnewline
Adjusted R-squared & 0.00954456564470596 \tabularnewline
F-TEST (value) & 1.56855599303586 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.215443415878782 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 144.105823982749 \tabularnewline
Sum Squared Residuals & 1204456.33333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60558&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.162271210903277[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0263319458880159[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.00954456564470596[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.56855599303586[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.215443415878782[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]144.105823982749[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1204456.33333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60558&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60558&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.162271210903277
R-squared0.0263319458880159
Adjusted R-squared0.00954456564470596
F-TEST (value)1.56855599303586
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.215443415878782
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation144.105823982749
Sum Squared Residuals1204456.33333333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1627648.083333333334-21.0833333333342
2696648.08333333333347.9166666666667
3825648.083333333333176.916666666667
4677648.08333333333328.9166666666667
5656648.0833333333337.91666666666669
6785648.083333333333136.916666666667
7412648.083333333333-236.083333333333
8352648.083333333333-296.083333333333
9839648.083333333333190.916666666667
10729648.08333333333380.9166666666667
11696648.08333333333347.9166666666667
12641648.083333333333-7.08333333333331
13695648.08333333333346.9166666666667
14638648.083333333333-10.0833333333333
15762648.083333333333113.916666666667
16635648.083333333333-13.0833333333333
17721648.08333333333372.9166666666667
18854648.083333333333205.916666666667
19418648.083333333333-230.083333333333
20367648.083333333333-281.083333333333
21824648.083333333333175.916666666667
22687648.08333333333338.9166666666667
23601648.083333333333-47.0833333333333
24676648.08333333333327.9166666666667
25740648.08333333333391.9166666666667
26691648.08333333333342.9166666666667
27683648.08333333333334.9166666666667
28594648.083333333333-54.0833333333333
29729648.08333333333380.9166666666667
30731648.08333333333382.9166666666667
31386648.083333333333-262.083333333333
32331648.083333333333-317.083333333333
33707648.08333333333358.9166666666667
34715648.08333333333366.9166666666667
35657648.0833333333338.91666666666669
36653648.0833333333334.91666666666669
37642648.083333333333-6.08333333333331
38643648.083333333333-5.08333333333331
39718648.08333333333369.9166666666667
40654648.0833333333335.91666666666669
41632648.083333333333-16.0833333333333
42731648.08333333333382.9166666666667
43392648.083333333333-256.083333333333
44344648.083333333333-304.083333333333
45792648.083333333333143.916666666667
46852648.083333333333203.916666666667
47649648.0833333333330.916666666666687
48629648.083333333333-19.0833333333333
49685706.333333333333-21.3333333333333
50617706.333333333333-89.3333333333333
51715706.3333333333338.66666666666666
52715706.3333333333338.66666666666666
53629706.333333333333-77.3333333333333
54916706.333333333333209.666666666667
55531706.333333333333-175.333333333333
56357706.333333333333-349.333333333333
57917706.333333333333210.666666666667
58828706.333333333333121.666666666667
59708706.3333333333331.66666666666666
60858706.333333333333151.666666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 627 & 648.083333333334 & -21.0833333333342 \tabularnewline
2 & 696 & 648.083333333333 & 47.9166666666667 \tabularnewline
3 & 825 & 648.083333333333 & 176.916666666667 \tabularnewline
4 & 677 & 648.083333333333 & 28.9166666666667 \tabularnewline
5 & 656 & 648.083333333333 & 7.91666666666669 \tabularnewline
6 & 785 & 648.083333333333 & 136.916666666667 \tabularnewline
7 & 412 & 648.083333333333 & -236.083333333333 \tabularnewline
8 & 352 & 648.083333333333 & -296.083333333333 \tabularnewline
9 & 839 & 648.083333333333 & 190.916666666667 \tabularnewline
10 & 729 & 648.083333333333 & 80.9166666666667 \tabularnewline
11 & 696 & 648.083333333333 & 47.9166666666667 \tabularnewline
12 & 641 & 648.083333333333 & -7.08333333333331 \tabularnewline
13 & 695 & 648.083333333333 & 46.9166666666667 \tabularnewline
14 & 638 & 648.083333333333 & -10.0833333333333 \tabularnewline
15 & 762 & 648.083333333333 & 113.916666666667 \tabularnewline
16 & 635 & 648.083333333333 & -13.0833333333333 \tabularnewline
17 & 721 & 648.083333333333 & 72.9166666666667 \tabularnewline
18 & 854 & 648.083333333333 & 205.916666666667 \tabularnewline
19 & 418 & 648.083333333333 & -230.083333333333 \tabularnewline
20 & 367 & 648.083333333333 & -281.083333333333 \tabularnewline
21 & 824 & 648.083333333333 & 175.916666666667 \tabularnewline
22 & 687 & 648.083333333333 & 38.9166666666667 \tabularnewline
23 & 601 & 648.083333333333 & -47.0833333333333 \tabularnewline
24 & 676 & 648.083333333333 & 27.9166666666667 \tabularnewline
25 & 740 & 648.083333333333 & 91.9166666666667 \tabularnewline
26 & 691 & 648.083333333333 & 42.9166666666667 \tabularnewline
27 & 683 & 648.083333333333 & 34.9166666666667 \tabularnewline
28 & 594 & 648.083333333333 & -54.0833333333333 \tabularnewline
29 & 729 & 648.083333333333 & 80.9166666666667 \tabularnewline
30 & 731 & 648.083333333333 & 82.9166666666667 \tabularnewline
31 & 386 & 648.083333333333 & -262.083333333333 \tabularnewline
32 & 331 & 648.083333333333 & -317.083333333333 \tabularnewline
33 & 707 & 648.083333333333 & 58.9166666666667 \tabularnewline
34 & 715 & 648.083333333333 & 66.9166666666667 \tabularnewline
35 & 657 & 648.083333333333 & 8.91666666666669 \tabularnewline
36 & 653 & 648.083333333333 & 4.91666666666669 \tabularnewline
37 & 642 & 648.083333333333 & -6.08333333333331 \tabularnewline
38 & 643 & 648.083333333333 & -5.08333333333331 \tabularnewline
39 & 718 & 648.083333333333 & 69.9166666666667 \tabularnewline
40 & 654 & 648.083333333333 & 5.91666666666669 \tabularnewline
41 & 632 & 648.083333333333 & -16.0833333333333 \tabularnewline
42 & 731 & 648.083333333333 & 82.9166666666667 \tabularnewline
43 & 392 & 648.083333333333 & -256.083333333333 \tabularnewline
44 & 344 & 648.083333333333 & -304.083333333333 \tabularnewline
45 & 792 & 648.083333333333 & 143.916666666667 \tabularnewline
46 & 852 & 648.083333333333 & 203.916666666667 \tabularnewline
47 & 649 & 648.083333333333 & 0.916666666666687 \tabularnewline
48 & 629 & 648.083333333333 & -19.0833333333333 \tabularnewline
49 & 685 & 706.333333333333 & -21.3333333333333 \tabularnewline
50 & 617 & 706.333333333333 & -89.3333333333333 \tabularnewline
51 & 715 & 706.333333333333 & 8.66666666666666 \tabularnewline
52 & 715 & 706.333333333333 & 8.66666666666666 \tabularnewline
53 & 629 & 706.333333333333 & -77.3333333333333 \tabularnewline
54 & 916 & 706.333333333333 & 209.666666666667 \tabularnewline
55 & 531 & 706.333333333333 & -175.333333333333 \tabularnewline
56 & 357 & 706.333333333333 & -349.333333333333 \tabularnewline
57 & 917 & 706.333333333333 & 210.666666666667 \tabularnewline
58 & 828 & 706.333333333333 & 121.666666666667 \tabularnewline
59 & 708 & 706.333333333333 & 1.66666666666666 \tabularnewline
60 & 858 & 706.333333333333 & 151.666666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60558&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]627[/C][C]648.083333333334[/C][C]-21.0833333333342[/C][/ROW]
[ROW][C]2[/C][C]696[/C][C]648.083333333333[/C][C]47.9166666666667[/C][/ROW]
[ROW][C]3[/C][C]825[/C][C]648.083333333333[/C][C]176.916666666667[/C][/ROW]
[ROW][C]4[/C][C]677[/C][C]648.083333333333[/C][C]28.9166666666667[/C][/ROW]
[ROW][C]5[/C][C]656[/C][C]648.083333333333[/C][C]7.91666666666669[/C][/ROW]
[ROW][C]6[/C][C]785[/C][C]648.083333333333[/C][C]136.916666666667[/C][/ROW]
[ROW][C]7[/C][C]412[/C][C]648.083333333333[/C][C]-236.083333333333[/C][/ROW]
[ROW][C]8[/C][C]352[/C][C]648.083333333333[/C][C]-296.083333333333[/C][/ROW]
[ROW][C]9[/C][C]839[/C][C]648.083333333333[/C][C]190.916666666667[/C][/ROW]
[ROW][C]10[/C][C]729[/C][C]648.083333333333[/C][C]80.9166666666667[/C][/ROW]
[ROW][C]11[/C][C]696[/C][C]648.083333333333[/C][C]47.9166666666667[/C][/ROW]
[ROW][C]12[/C][C]641[/C][C]648.083333333333[/C][C]-7.08333333333331[/C][/ROW]
[ROW][C]13[/C][C]695[/C][C]648.083333333333[/C][C]46.9166666666667[/C][/ROW]
[ROW][C]14[/C][C]638[/C][C]648.083333333333[/C][C]-10.0833333333333[/C][/ROW]
[ROW][C]15[/C][C]762[/C][C]648.083333333333[/C][C]113.916666666667[/C][/ROW]
[ROW][C]16[/C][C]635[/C][C]648.083333333333[/C][C]-13.0833333333333[/C][/ROW]
[ROW][C]17[/C][C]721[/C][C]648.083333333333[/C][C]72.9166666666667[/C][/ROW]
[ROW][C]18[/C][C]854[/C][C]648.083333333333[/C][C]205.916666666667[/C][/ROW]
[ROW][C]19[/C][C]418[/C][C]648.083333333333[/C][C]-230.083333333333[/C][/ROW]
[ROW][C]20[/C][C]367[/C][C]648.083333333333[/C][C]-281.083333333333[/C][/ROW]
[ROW][C]21[/C][C]824[/C][C]648.083333333333[/C][C]175.916666666667[/C][/ROW]
[ROW][C]22[/C][C]687[/C][C]648.083333333333[/C][C]38.9166666666667[/C][/ROW]
[ROW][C]23[/C][C]601[/C][C]648.083333333333[/C][C]-47.0833333333333[/C][/ROW]
[ROW][C]24[/C][C]676[/C][C]648.083333333333[/C][C]27.9166666666667[/C][/ROW]
[ROW][C]25[/C][C]740[/C][C]648.083333333333[/C][C]91.9166666666667[/C][/ROW]
[ROW][C]26[/C][C]691[/C][C]648.083333333333[/C][C]42.9166666666667[/C][/ROW]
[ROW][C]27[/C][C]683[/C][C]648.083333333333[/C][C]34.9166666666667[/C][/ROW]
[ROW][C]28[/C][C]594[/C][C]648.083333333333[/C][C]-54.0833333333333[/C][/ROW]
[ROW][C]29[/C][C]729[/C][C]648.083333333333[/C][C]80.9166666666667[/C][/ROW]
[ROW][C]30[/C][C]731[/C][C]648.083333333333[/C][C]82.9166666666667[/C][/ROW]
[ROW][C]31[/C][C]386[/C][C]648.083333333333[/C][C]-262.083333333333[/C][/ROW]
[ROW][C]32[/C][C]331[/C][C]648.083333333333[/C][C]-317.083333333333[/C][/ROW]
[ROW][C]33[/C][C]707[/C][C]648.083333333333[/C][C]58.9166666666667[/C][/ROW]
[ROW][C]34[/C][C]715[/C][C]648.083333333333[/C][C]66.9166666666667[/C][/ROW]
[ROW][C]35[/C][C]657[/C][C]648.083333333333[/C][C]8.91666666666669[/C][/ROW]
[ROW][C]36[/C][C]653[/C][C]648.083333333333[/C][C]4.91666666666669[/C][/ROW]
[ROW][C]37[/C][C]642[/C][C]648.083333333333[/C][C]-6.08333333333331[/C][/ROW]
[ROW][C]38[/C][C]643[/C][C]648.083333333333[/C][C]-5.08333333333331[/C][/ROW]
[ROW][C]39[/C][C]718[/C][C]648.083333333333[/C][C]69.9166666666667[/C][/ROW]
[ROW][C]40[/C][C]654[/C][C]648.083333333333[/C][C]5.91666666666669[/C][/ROW]
[ROW][C]41[/C][C]632[/C][C]648.083333333333[/C][C]-16.0833333333333[/C][/ROW]
[ROW][C]42[/C][C]731[/C][C]648.083333333333[/C][C]82.9166666666667[/C][/ROW]
[ROW][C]43[/C][C]392[/C][C]648.083333333333[/C][C]-256.083333333333[/C][/ROW]
[ROW][C]44[/C][C]344[/C][C]648.083333333333[/C][C]-304.083333333333[/C][/ROW]
[ROW][C]45[/C][C]792[/C][C]648.083333333333[/C][C]143.916666666667[/C][/ROW]
[ROW][C]46[/C][C]852[/C][C]648.083333333333[/C][C]203.916666666667[/C][/ROW]
[ROW][C]47[/C][C]649[/C][C]648.083333333333[/C][C]0.916666666666687[/C][/ROW]
[ROW][C]48[/C][C]629[/C][C]648.083333333333[/C][C]-19.0833333333333[/C][/ROW]
[ROW][C]49[/C][C]685[/C][C]706.333333333333[/C][C]-21.3333333333333[/C][/ROW]
[ROW][C]50[/C][C]617[/C][C]706.333333333333[/C][C]-89.3333333333333[/C][/ROW]
[ROW][C]51[/C][C]715[/C][C]706.333333333333[/C][C]8.66666666666666[/C][/ROW]
[ROW][C]52[/C][C]715[/C][C]706.333333333333[/C][C]8.66666666666666[/C][/ROW]
[ROW][C]53[/C][C]629[/C][C]706.333333333333[/C][C]-77.3333333333333[/C][/ROW]
[ROW][C]54[/C][C]916[/C][C]706.333333333333[/C][C]209.666666666667[/C][/ROW]
[ROW][C]55[/C][C]531[/C][C]706.333333333333[/C][C]-175.333333333333[/C][/ROW]
[ROW][C]56[/C][C]357[/C][C]706.333333333333[/C][C]-349.333333333333[/C][/ROW]
[ROW][C]57[/C][C]917[/C][C]706.333333333333[/C][C]210.666666666667[/C][/ROW]
[ROW][C]58[/C][C]828[/C][C]706.333333333333[/C][C]121.666666666667[/C][/ROW]
[ROW][C]59[/C][C]708[/C][C]706.333333333333[/C][C]1.66666666666666[/C][/ROW]
[ROW][C]60[/C][C]858[/C][C]706.333333333333[/C][C]151.666666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60558&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60558&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
1627648.083333333334-21.0833333333342
2696648.08333333333347.9166666666667
3825648.083333333333176.916666666667
4677648.08333333333328.9166666666667
5656648.0833333333337.91666666666669
6785648.083333333333136.916666666667
7412648.083333333333-236.083333333333
8352648.083333333333-296.083333333333
9839648.083333333333190.916666666667
10729648.08333333333380.9166666666667
11696648.08333333333347.9166666666667
12641648.083333333333-7.08333333333331
13695648.08333333333346.9166666666667
14638648.083333333333-10.0833333333333
15762648.083333333333113.916666666667
16635648.083333333333-13.0833333333333
17721648.08333333333372.9166666666667
18854648.083333333333205.916666666667
19418648.083333333333-230.083333333333
20367648.083333333333-281.083333333333
21824648.083333333333175.916666666667
22687648.08333333333338.9166666666667
23601648.083333333333-47.0833333333333
24676648.08333333333327.9166666666667
25740648.08333333333391.9166666666667
26691648.08333333333342.9166666666667
27683648.08333333333334.9166666666667
28594648.083333333333-54.0833333333333
29729648.08333333333380.9166666666667
30731648.08333333333382.9166666666667
31386648.083333333333-262.083333333333
32331648.083333333333-317.083333333333
33707648.08333333333358.9166666666667
34715648.08333333333366.9166666666667
35657648.0833333333338.91666666666669
36653648.0833333333334.91666666666669
37642648.083333333333-6.08333333333331
38643648.083333333333-5.08333333333331
39718648.08333333333369.9166666666667
40654648.0833333333335.91666666666669
41632648.083333333333-16.0833333333333
42731648.08333333333382.9166666666667
43392648.083333333333-256.083333333333
44344648.083333333333-304.083333333333
45792648.083333333333143.916666666667
46852648.083333333333203.916666666667
47649648.0833333333330.916666666666687
48629648.083333333333-19.0833333333333
49685706.333333333333-21.3333333333333
50617706.333333333333-89.3333333333333
51715706.3333333333338.66666666666666
52715706.3333333333338.66666666666666
53629706.333333333333-77.3333333333333
54916706.333333333333209.666666666667
55531706.333333333333-175.333333333333
56357706.333333333333-349.333333333333
57917706.333333333333210.666666666667
58828706.333333333333121.666666666667
59708706.3333333333331.66666666666666
60858706.333333333333151.666666666667







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.2130973954546980.4261947909093950.786902604545302
60.1496920494350520.2993840988701050.850307950564948
70.5686657413600220.8626685172799560.431334258639978
80.8350951999318830.3298096001362350.164904800068118
90.864696089605810.2706078207883810.135303910394190
100.812605993808560.3747880123828820.187394006191441
110.7391916456520750.521616708695850.260808354347925
120.6520081408870320.6959837182259350.347991859112968
130.5631212723151020.8737574553697960.436878727684898
140.4696052462524640.9392104925049270.530394753747536
150.4219717166230840.8439434332461690.578028283376916
160.3383094529936780.6766189059873570.661690547006322
170.273653476499630.547306952999260.72634652350037
180.3320700656715890.6641401313431780.667929934328411
190.4825148461384220.9650296922768450.517485153861578
200.6942406350063350.611518729987330.305759364993665
210.717149820828170.5657003583436590.282850179171830
220.6504279895778290.6991440208443430.349572010422171
230.5836791002617130.8326417994765750.416320899738287
240.5083090472250720.9833819055498560.491690952774928
250.4594478869191930.9188957738383850.540552113080807
260.3898607697907430.7797215395814860.610139230209257
270.3223423911102020.6446847822204040.677657608889798
280.2660505040056320.5321010080112640.733949495994368
290.2249440997681000.4498881995361990.7750559002319
300.1895465907020560.3790931814041120.810453409297944
310.3193830261784170.6387660523568340.680616973821583
320.5826442650011280.8347114699977440.417355734998872
330.5183822869842690.9632354260314620.481617713015731
340.45765652355880.91531304711760.5423434764412
350.3824311411106780.7648622822213550.617568858889322
360.3109184223433250.621836844686650.689081577656675
370.2454475413121150.490895082624230.754552458687885
380.1878824722750640.3757649445501280.812117527724936
390.1506782646488800.3013565292977590.84932173535112
400.1092327028854760.2184654057709510.890767297114524
410.0762210553462190.1524421106924380.923778944653781
420.06061081327040260.1212216265408050.939389186729597
430.1099197745243940.2198395490487880.890080225475606
440.334508271911180.669016543822360.66549172808882
450.28981146261170.57962292522340.7101885373883
460.3248394295706410.6496788591412830.675160570429359
470.2458452968116580.4916905936233160.754154703188342
480.1768780572496240.3537561144992470.823121942750376
490.1208271714776450.241654342955290.879172828522355
500.08795367786279670.1759073557255930.912046322137203
510.05344137827547090.1068827565509420.94655862172453
520.02966144968789110.05932289937578220.97033855031211
530.01755481743069880.03510963486139770.982445182569301
540.02160133930947020.04320267861894050.97839866069053
550.02037946274748200.04075892549496410.979620537252518

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.213097395454698 & 0.426194790909395 & 0.786902604545302 \tabularnewline
6 & 0.149692049435052 & 0.299384098870105 & 0.850307950564948 \tabularnewline
7 & 0.568665741360022 & 0.862668517279956 & 0.431334258639978 \tabularnewline
8 & 0.835095199931883 & 0.329809600136235 & 0.164904800068118 \tabularnewline
9 & 0.86469608960581 & 0.270607820788381 & 0.135303910394190 \tabularnewline
10 & 0.81260599380856 & 0.374788012382882 & 0.187394006191441 \tabularnewline
11 & 0.739191645652075 & 0.52161670869585 & 0.260808354347925 \tabularnewline
12 & 0.652008140887032 & 0.695983718225935 & 0.347991859112968 \tabularnewline
13 & 0.563121272315102 & 0.873757455369796 & 0.436878727684898 \tabularnewline
14 & 0.469605246252464 & 0.939210492504927 & 0.530394753747536 \tabularnewline
15 & 0.421971716623084 & 0.843943433246169 & 0.578028283376916 \tabularnewline
16 & 0.338309452993678 & 0.676618905987357 & 0.661690547006322 \tabularnewline
17 & 0.27365347649963 & 0.54730695299926 & 0.72634652350037 \tabularnewline
18 & 0.332070065671589 & 0.664140131343178 & 0.667929934328411 \tabularnewline
19 & 0.482514846138422 & 0.965029692276845 & 0.517485153861578 \tabularnewline
20 & 0.694240635006335 & 0.61151872998733 & 0.305759364993665 \tabularnewline
21 & 0.71714982082817 & 0.565700358343659 & 0.282850179171830 \tabularnewline
22 & 0.650427989577829 & 0.699144020844343 & 0.349572010422171 \tabularnewline
23 & 0.583679100261713 & 0.832641799476575 & 0.416320899738287 \tabularnewline
24 & 0.508309047225072 & 0.983381905549856 & 0.491690952774928 \tabularnewline
25 & 0.459447886919193 & 0.918895773838385 & 0.540552113080807 \tabularnewline
26 & 0.389860769790743 & 0.779721539581486 & 0.610139230209257 \tabularnewline
27 & 0.322342391110202 & 0.644684782220404 & 0.677657608889798 \tabularnewline
28 & 0.266050504005632 & 0.532101008011264 & 0.733949495994368 \tabularnewline
29 & 0.224944099768100 & 0.449888199536199 & 0.7750559002319 \tabularnewline
30 & 0.189546590702056 & 0.379093181404112 & 0.810453409297944 \tabularnewline
31 & 0.319383026178417 & 0.638766052356834 & 0.680616973821583 \tabularnewline
32 & 0.582644265001128 & 0.834711469997744 & 0.417355734998872 \tabularnewline
33 & 0.518382286984269 & 0.963235426031462 & 0.481617713015731 \tabularnewline
34 & 0.4576565235588 & 0.9153130471176 & 0.5423434764412 \tabularnewline
35 & 0.382431141110678 & 0.764862282221355 & 0.617568858889322 \tabularnewline
36 & 0.310918422343325 & 0.62183684468665 & 0.689081577656675 \tabularnewline
37 & 0.245447541312115 & 0.49089508262423 & 0.754552458687885 \tabularnewline
38 & 0.187882472275064 & 0.375764944550128 & 0.812117527724936 \tabularnewline
39 & 0.150678264648880 & 0.301356529297759 & 0.84932173535112 \tabularnewline
40 & 0.109232702885476 & 0.218465405770951 & 0.890767297114524 \tabularnewline
41 & 0.076221055346219 & 0.152442110692438 & 0.923778944653781 \tabularnewline
42 & 0.0606108132704026 & 0.121221626540805 & 0.939389186729597 \tabularnewline
43 & 0.109919774524394 & 0.219839549048788 & 0.890080225475606 \tabularnewline
44 & 0.33450827191118 & 0.66901654382236 & 0.66549172808882 \tabularnewline
45 & 0.2898114626117 & 0.5796229252234 & 0.7101885373883 \tabularnewline
46 & 0.324839429570641 & 0.649678859141283 & 0.675160570429359 \tabularnewline
47 & 0.245845296811658 & 0.491690593623316 & 0.754154703188342 \tabularnewline
48 & 0.176878057249624 & 0.353756114499247 & 0.823121942750376 \tabularnewline
49 & 0.120827171477645 & 0.24165434295529 & 0.879172828522355 \tabularnewline
50 & 0.0879536778627967 & 0.175907355725593 & 0.912046322137203 \tabularnewline
51 & 0.0534413782754709 & 0.106882756550942 & 0.94655862172453 \tabularnewline
52 & 0.0296614496878911 & 0.0593228993757822 & 0.97033855031211 \tabularnewline
53 & 0.0175548174306988 & 0.0351096348613977 & 0.982445182569301 \tabularnewline
54 & 0.0216013393094702 & 0.0432026786189405 & 0.97839866069053 \tabularnewline
55 & 0.0203794627474820 & 0.0407589254949641 & 0.979620537252518 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60558&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.213097395454698[/C][C]0.426194790909395[/C][C]0.786902604545302[/C][/ROW]
[ROW][C]6[/C][C]0.149692049435052[/C][C]0.299384098870105[/C][C]0.850307950564948[/C][/ROW]
[ROW][C]7[/C][C]0.568665741360022[/C][C]0.862668517279956[/C][C]0.431334258639978[/C][/ROW]
[ROW][C]8[/C][C]0.835095199931883[/C][C]0.329809600136235[/C][C]0.164904800068118[/C][/ROW]
[ROW][C]9[/C][C]0.86469608960581[/C][C]0.270607820788381[/C][C]0.135303910394190[/C][/ROW]
[ROW][C]10[/C][C]0.81260599380856[/C][C]0.374788012382882[/C][C]0.187394006191441[/C][/ROW]
[ROW][C]11[/C][C]0.739191645652075[/C][C]0.52161670869585[/C][C]0.260808354347925[/C][/ROW]
[ROW][C]12[/C][C]0.652008140887032[/C][C]0.695983718225935[/C][C]0.347991859112968[/C][/ROW]
[ROW][C]13[/C][C]0.563121272315102[/C][C]0.873757455369796[/C][C]0.436878727684898[/C][/ROW]
[ROW][C]14[/C][C]0.469605246252464[/C][C]0.939210492504927[/C][C]0.530394753747536[/C][/ROW]
[ROW][C]15[/C][C]0.421971716623084[/C][C]0.843943433246169[/C][C]0.578028283376916[/C][/ROW]
[ROW][C]16[/C][C]0.338309452993678[/C][C]0.676618905987357[/C][C]0.661690547006322[/C][/ROW]
[ROW][C]17[/C][C]0.27365347649963[/C][C]0.54730695299926[/C][C]0.72634652350037[/C][/ROW]
[ROW][C]18[/C][C]0.332070065671589[/C][C]0.664140131343178[/C][C]0.667929934328411[/C][/ROW]
[ROW][C]19[/C][C]0.482514846138422[/C][C]0.965029692276845[/C][C]0.517485153861578[/C][/ROW]
[ROW][C]20[/C][C]0.694240635006335[/C][C]0.61151872998733[/C][C]0.305759364993665[/C][/ROW]
[ROW][C]21[/C][C]0.71714982082817[/C][C]0.565700358343659[/C][C]0.282850179171830[/C][/ROW]
[ROW][C]22[/C][C]0.650427989577829[/C][C]0.699144020844343[/C][C]0.349572010422171[/C][/ROW]
[ROW][C]23[/C][C]0.583679100261713[/C][C]0.832641799476575[/C][C]0.416320899738287[/C][/ROW]
[ROW][C]24[/C][C]0.508309047225072[/C][C]0.983381905549856[/C][C]0.491690952774928[/C][/ROW]
[ROW][C]25[/C][C]0.459447886919193[/C][C]0.918895773838385[/C][C]0.540552113080807[/C][/ROW]
[ROW][C]26[/C][C]0.389860769790743[/C][C]0.779721539581486[/C][C]0.610139230209257[/C][/ROW]
[ROW][C]27[/C][C]0.322342391110202[/C][C]0.644684782220404[/C][C]0.677657608889798[/C][/ROW]
[ROW][C]28[/C][C]0.266050504005632[/C][C]0.532101008011264[/C][C]0.733949495994368[/C][/ROW]
[ROW][C]29[/C][C]0.224944099768100[/C][C]0.449888199536199[/C][C]0.7750559002319[/C][/ROW]
[ROW][C]30[/C][C]0.189546590702056[/C][C]0.379093181404112[/C][C]0.810453409297944[/C][/ROW]
[ROW][C]31[/C][C]0.319383026178417[/C][C]0.638766052356834[/C][C]0.680616973821583[/C][/ROW]
[ROW][C]32[/C][C]0.582644265001128[/C][C]0.834711469997744[/C][C]0.417355734998872[/C][/ROW]
[ROW][C]33[/C][C]0.518382286984269[/C][C]0.963235426031462[/C][C]0.481617713015731[/C][/ROW]
[ROW][C]34[/C][C]0.4576565235588[/C][C]0.9153130471176[/C][C]0.5423434764412[/C][/ROW]
[ROW][C]35[/C][C]0.382431141110678[/C][C]0.764862282221355[/C][C]0.617568858889322[/C][/ROW]
[ROW][C]36[/C][C]0.310918422343325[/C][C]0.62183684468665[/C][C]0.689081577656675[/C][/ROW]
[ROW][C]37[/C][C]0.245447541312115[/C][C]0.49089508262423[/C][C]0.754552458687885[/C][/ROW]
[ROW][C]38[/C][C]0.187882472275064[/C][C]0.375764944550128[/C][C]0.812117527724936[/C][/ROW]
[ROW][C]39[/C][C]0.150678264648880[/C][C]0.301356529297759[/C][C]0.84932173535112[/C][/ROW]
[ROW][C]40[/C][C]0.109232702885476[/C][C]0.218465405770951[/C][C]0.890767297114524[/C][/ROW]
[ROW][C]41[/C][C]0.076221055346219[/C][C]0.152442110692438[/C][C]0.923778944653781[/C][/ROW]
[ROW][C]42[/C][C]0.0606108132704026[/C][C]0.121221626540805[/C][C]0.939389186729597[/C][/ROW]
[ROW][C]43[/C][C]0.109919774524394[/C][C]0.219839549048788[/C][C]0.890080225475606[/C][/ROW]
[ROW][C]44[/C][C]0.33450827191118[/C][C]0.66901654382236[/C][C]0.66549172808882[/C][/ROW]
[ROW][C]45[/C][C]0.2898114626117[/C][C]0.5796229252234[/C][C]0.7101885373883[/C][/ROW]
[ROW][C]46[/C][C]0.324839429570641[/C][C]0.649678859141283[/C][C]0.675160570429359[/C][/ROW]
[ROW][C]47[/C][C]0.245845296811658[/C][C]0.491690593623316[/C][C]0.754154703188342[/C][/ROW]
[ROW][C]48[/C][C]0.176878057249624[/C][C]0.353756114499247[/C][C]0.823121942750376[/C][/ROW]
[ROW][C]49[/C][C]0.120827171477645[/C][C]0.24165434295529[/C][C]0.879172828522355[/C][/ROW]
[ROW][C]50[/C][C]0.0879536778627967[/C][C]0.175907355725593[/C][C]0.912046322137203[/C][/ROW]
[ROW][C]51[/C][C]0.0534413782754709[/C][C]0.106882756550942[/C][C]0.94655862172453[/C][/ROW]
[ROW][C]52[/C][C]0.0296614496878911[/C][C]0.0593228993757822[/C][C]0.97033855031211[/C][/ROW]
[ROW][C]53[/C][C]0.0175548174306988[/C][C]0.0351096348613977[/C][C]0.982445182569301[/C][/ROW]
[ROW][C]54[/C][C]0.0216013393094702[/C][C]0.0432026786189405[/C][C]0.97839866069053[/C][/ROW]
[ROW][C]55[/C][C]0.0203794627474820[/C][C]0.0407589254949641[/C][C]0.979620537252518[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60558&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60558&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.2130973954546980.4261947909093950.786902604545302
60.1496920494350520.2993840988701050.850307950564948
70.5686657413600220.8626685172799560.431334258639978
80.8350951999318830.3298096001362350.164904800068118
90.864696089605810.2706078207883810.135303910394190
100.812605993808560.3747880123828820.187394006191441
110.7391916456520750.521616708695850.260808354347925
120.6520081408870320.6959837182259350.347991859112968
130.5631212723151020.8737574553697960.436878727684898
140.4696052462524640.9392104925049270.530394753747536
150.4219717166230840.8439434332461690.578028283376916
160.3383094529936780.6766189059873570.661690547006322
170.273653476499630.547306952999260.72634652350037
180.3320700656715890.6641401313431780.667929934328411
190.4825148461384220.9650296922768450.517485153861578
200.6942406350063350.611518729987330.305759364993665
210.717149820828170.5657003583436590.282850179171830
220.6504279895778290.6991440208443430.349572010422171
230.5836791002617130.8326417994765750.416320899738287
240.5083090472250720.9833819055498560.491690952774928
250.4594478869191930.9188957738383850.540552113080807
260.3898607697907430.7797215395814860.610139230209257
270.3223423911102020.6446847822204040.677657608889798
280.2660505040056320.5321010080112640.733949495994368
290.2249440997681000.4498881995361990.7750559002319
300.1895465907020560.3790931814041120.810453409297944
310.3193830261784170.6387660523568340.680616973821583
320.5826442650011280.8347114699977440.417355734998872
330.5183822869842690.9632354260314620.481617713015731
340.45765652355880.91531304711760.5423434764412
350.3824311411106780.7648622822213550.617568858889322
360.3109184223433250.621836844686650.689081577656675
370.2454475413121150.490895082624230.754552458687885
380.1878824722750640.3757649445501280.812117527724936
390.1506782646488800.3013565292977590.84932173535112
400.1092327028854760.2184654057709510.890767297114524
410.0762210553462190.1524421106924380.923778944653781
420.06061081327040260.1212216265408050.939389186729597
430.1099197745243940.2198395490487880.890080225475606
440.334508271911180.669016543822360.66549172808882
450.28981146261170.57962292522340.7101885373883
460.3248394295706410.6496788591412830.675160570429359
470.2458452968116580.4916905936233160.754154703188342
480.1768780572496240.3537561144992470.823121942750376
490.1208271714776450.241654342955290.879172828522355
500.08795367786279670.1759073557255930.912046322137203
510.05344137827547090.1068827565509420.94655862172453
520.02966144968789110.05932289937578220.97033855031211
530.01755481743069880.03510963486139770.982445182569301
540.02160133930947020.04320267861894050.97839866069053
550.02037946274748200.04075892549496410.979620537252518







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60558&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 level30.0588235294117647NOK
10% type I error level40.0784313725490196OK



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