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 computationSat, 18 Dec 2010 12:49:35 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/18/t1292676454ko0jn6omkr9zwfo.htm/, Retrieved Tue, 30 Apr 2024 02:24:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=111917, Retrieved Tue, 30 Apr 2024 02:24:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact168
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Multiple lineair ...] [2010-12-09 18:23:03] [38afc57aa6474689f791e00be1754a89]
-       [Multiple Regression] [] [2010-12-09 19:58:40] [58af523ef9b33032fd2497c80088399b]
-    D      [Multiple Regression] [] [2010-12-18 12:49:35] [7c1b7ddc8e9000e55b944088fdfb52dc] [Current]
Feedback Forum

Post a new message
Dataseries X:
104.31
103.88
103.88
103.86
103.89
103.98
103.98
104.29
104.29
104.24
103.98
103.54
103.44
103.32
103.3
103.26
103.14
103.11
102.91
103.23
103.23
103.14
102.91
102.42
102.1
102.07
102.06
101.98
101.83
101.75
101.56
101.66
101.65
101.61
101.52
101.31
101.19
101.11
101.1
101.07
100.98
100.93
100.92
101.02
101.01
100.97
100.89
100.62
100.53
100.48
100.48
100.47
100.52
100.49
100.47
100.44




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

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

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=111917&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
kleding/schoeisel[t] = + 104.357875 -0.0560624999999774M1[t] -0.118550000000008M2[t] -0.0470375000000059M3[t] -0.0035250000000042M4[t] + 0.0199874999999958M5[t] + 0.0794999999999971M6[t] + 0.0750124999999974M7[t] + 0.314524999999997M8[t] + 0.333962500000001M9[t] + 0.358474999999994M10[t] + 0.272987499999995M11[t] -0.0795125000000003t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
kleding/schoeisel[t] =  +  104.357875 -0.0560624999999774M1[t] -0.118550000000008M2[t] -0.0470375000000059M3[t] -0.0035250000000042M4[t] +  0.0199874999999958M5[t] +  0.0794999999999971M6[t] +  0.0750124999999974M7[t] +  0.314524999999997M8[t] +  0.333962500000001M9[t] +  0.358474999999994M10[t] +  0.272987499999995M11[t] -0.0795125000000003t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=111917&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]kleding/schoeisel[t] =  +  104.357875 -0.0560624999999774M1[t] -0.118550000000008M2[t] -0.0470375000000059M3[t] -0.0035250000000042M4[t] +  0.0199874999999958M5[t] +  0.0794999999999971M6[t] +  0.0750124999999974M7[t] +  0.314524999999997M8[t] +  0.333962500000001M9[t] +  0.358474999999994M10[t] +  0.272987499999995M11[t] -0.0795125000000003t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=111917&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=111917&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
kleding/schoeisel[t] = + 104.357875 -0.0560624999999774M1[t] -0.118550000000008M2[t] -0.0470375000000059M3[t] -0.0035250000000042M4[t] + 0.0199874999999958M5[t] + 0.0794999999999971M6[t] + 0.0750124999999974M7[t] + 0.314524999999997M8[t] + 0.333962500000001M9[t] + 0.358474999999994M10[t] + 0.272987499999995M11[t] -0.0795125000000003t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)104.3578750.13855753.216100
M1-0.05606249999997740.16658-0.33650.7380930.369047
M2-0.1185500000000080.166465-0.71220.4802110.240105
M3-0.04703750000000590.166375-0.28270.7787480.389374
M4-0.00352500000000420.166311-0.02120.9831880.491594
M50.01998749999999580.1662720.12020.9048770.452439
M60.07949999999999710.166260.47820.6349530.317477
M70.07501249999999740.1662720.45110.6541540.327077
M80.3145249999999970.1663111.89120.0653480.032674
M90.3339625000000010.1753631.90440.0635610.03178
M100.3584749999999940.1753022.04490.0470160.023508
M110.2729874999999950.1752651.55760.1266660.063333
t-0.07951250000000030.002065-38.497800

\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) & 104.357875 & 0.13855 & 753.2161 & 0 & 0 \tabularnewline
M1 & -0.0560624999999774 & 0.16658 & -0.3365 & 0.738093 & 0.369047 \tabularnewline
M2 & -0.118550000000008 & 0.166465 & -0.7122 & 0.480211 & 0.240105 \tabularnewline
M3 & -0.0470375000000059 & 0.166375 & -0.2827 & 0.778748 & 0.389374 \tabularnewline
M4 & -0.0035250000000042 & 0.166311 & -0.0212 & 0.983188 & 0.491594 \tabularnewline
M5 & 0.0199874999999958 & 0.166272 & 0.1202 & 0.904877 & 0.452439 \tabularnewline
M6 & 0.0794999999999971 & 0.16626 & 0.4782 & 0.634953 & 0.317477 \tabularnewline
M7 & 0.0750124999999974 & 0.166272 & 0.4511 & 0.654154 & 0.327077 \tabularnewline
M8 & 0.314524999999997 & 0.166311 & 1.8912 & 0.065348 & 0.032674 \tabularnewline
M9 & 0.333962500000001 & 0.175363 & 1.9044 & 0.063561 & 0.03178 \tabularnewline
M10 & 0.358474999999994 & 0.175302 & 2.0449 & 0.047016 & 0.023508 \tabularnewline
M11 & 0.272987499999995 & 0.175265 & 1.5576 & 0.126666 & 0.063333 \tabularnewline
t & -0.0795125000000003 & 0.002065 & -38.4978 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=111917&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]104.357875[/C][C]0.13855[/C][C]753.2161[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.0560624999999774[/C][C]0.16658[/C][C]-0.3365[/C][C]0.738093[/C][C]0.369047[/C][/ROW]
[ROW][C]M2[/C][C]-0.118550000000008[/C][C]0.166465[/C][C]-0.7122[/C][C]0.480211[/C][C]0.240105[/C][/ROW]
[ROW][C]M3[/C][C]-0.0470375000000059[/C][C]0.166375[/C][C]-0.2827[/C][C]0.778748[/C][C]0.389374[/C][/ROW]
[ROW][C]M4[/C][C]-0.0035250000000042[/C][C]0.166311[/C][C]-0.0212[/C][C]0.983188[/C][C]0.491594[/C][/ROW]
[ROW][C]M5[/C][C]0.0199874999999958[/C][C]0.166272[/C][C]0.1202[/C][C]0.904877[/C][C]0.452439[/C][/ROW]
[ROW][C]M6[/C][C]0.0794999999999971[/C][C]0.16626[/C][C]0.4782[/C][C]0.634953[/C][C]0.317477[/C][/ROW]
[ROW][C]M7[/C][C]0.0750124999999974[/C][C]0.166272[/C][C]0.4511[/C][C]0.654154[/C][C]0.327077[/C][/ROW]
[ROW][C]M8[/C][C]0.314524999999997[/C][C]0.166311[/C][C]1.8912[/C][C]0.065348[/C][C]0.032674[/C][/ROW]
[ROW][C]M9[/C][C]0.333962500000001[/C][C]0.175363[/C][C]1.9044[/C][C]0.063561[/C][C]0.03178[/C][/ROW]
[ROW][C]M10[/C][C]0.358474999999994[/C][C]0.175302[/C][C]2.0449[/C][C]0.047016[/C][C]0.023508[/C][/ROW]
[ROW][C]M11[/C][C]0.272987499999995[/C][C]0.175265[/C][C]1.5576[/C][C]0.126666[/C][C]0.063333[/C][/ROW]
[ROW][C]t[/C][C]-0.0795125000000003[/C][C]0.002065[/C][C]-38.4978[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=111917&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=111917&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)104.3578750.13855753.216100
M1-0.05606249999997740.16658-0.33650.7380930.369047
M2-0.1185500000000080.166465-0.71220.4802110.240105
M3-0.04703750000000590.166375-0.28270.7787480.389374
M4-0.00352500000000420.166311-0.02120.9831880.491594
M50.01998749999999580.1662720.12020.9048770.452439
M60.07949999999999710.166260.47820.6349530.317477
M70.07501249999999740.1662720.45110.6541540.327077
M80.3145249999999970.1663111.89120.0653480.032674
M90.3339625000000010.1753631.90440.0635610.03178
M100.3584749999999940.1753022.04490.0470160.023508
M110.2729874999999950.1752651.55760.1266660.063333
t-0.07951250000000030.002065-38.497800







Multiple Linear Regression - Regression Statistics
Multiple R0.986049960445294
R-squared0.972294524494166
Adjusted R-squared0.964562763887886
F-TEST (value)125.753314672535
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.247845260708803
Sum Squared Residuals2.64137275000003

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.986049960445294 \tabularnewline
R-squared & 0.972294524494166 \tabularnewline
Adjusted R-squared & 0.964562763887886 \tabularnewline
F-TEST (value) & 125.753314672535 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.247845260708803 \tabularnewline
Sum Squared Residuals & 2.64137275000003 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=111917&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.986049960445294[/C][/ROW]
[ROW][C]R-squared[/C][C]0.972294524494166[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.964562763887886[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]125.753314672535[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.247845260708803[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2.64137275000003[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=111917&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=111917&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.986049960445294
R-squared0.972294524494166
Adjusted R-squared0.964562763887886
F-TEST (value)125.753314672535
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.247845260708803
Sum Squared Residuals2.64137275000003







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1104.31104.2223000000000.0877000000001128
2103.88104.0803-0.200300000000007
3103.88104.0723-0.19230000000001
4103.86104.0363-0.176300000000007
5103.89103.9803-0.0903000000000056
6103.98103.96030.0196999999999969
7103.98103.87630.103699999999997
8104.29104.03630.253700000000000
9104.29103.9762250.313774999999996
10104.24103.9212250.318774999999992
11103.98103.7562250.223775
12103.54103.4037250.136274999999998
13103.44103.268150.171849999999969
14103.32103.126150.193849999999993
15103.3103.118150.181849999999995
16103.26103.082150.177850000000002
17103.14103.026150.113849999999997
18103.11103.006150.103849999999995
19102.91102.92215-0.0121500000000073
20103.23103.082150.147850000000001
21103.23103.0220750.207924999999997
22103.14102.9670750.172925000000000
23102.91102.8020750.107924999999996
24102.42102.449575-0.0295750000000036
25102.1102.314-0.214000000000034
26102.07102.172-0.102000000000004
27102.06102.164-0.103999999999997
28101.98102.128-0.147999999999996
29101.83102.072-0.242000000000002
30101.75102.052-0.302000000000001
31101.56101.968-0.407999999999998
32101.66102.128-0.468000000000003
33101.65102.067925-0.417924999999998
34101.61102.012925-0.402924999999997
35101.52101.847925-0.327925000000001
36101.31101.495425-0.185424999999999
37101.19101.35985-0.169850000000027
38101.11101.21785-0.107849999999994
39101.1101.20985-0.109850000000001
40101.07101.17385-0.103850000000004
41100.98101.11785-0.137849999999993
42100.93101.09785-0.167849999999991
43100.92101.01385-0.0938499999999962
44101.02101.17385-0.153850000000001
45101.01101.113775-0.103774999999995
46100.97101.058775-0.088774999999995
47100.89100.893775-0.00377499999999424
48100.62100.5412750.0787250000000054
49100.53100.40570.124299999999980
50100.48100.26370.216300000000013
51100.48100.25570.224300000000012
52100.47100.21970.250300000000005
53100.52100.16370.356300000000003
54100.49100.14370.3463
55100.47100.05970.410300000000005
56100.44100.21970.220300000000004

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 104.31 & 104.222300000000 & 0.0877000000001128 \tabularnewline
2 & 103.88 & 104.0803 & -0.200300000000007 \tabularnewline
3 & 103.88 & 104.0723 & -0.19230000000001 \tabularnewline
4 & 103.86 & 104.0363 & -0.176300000000007 \tabularnewline
5 & 103.89 & 103.9803 & -0.0903000000000056 \tabularnewline
6 & 103.98 & 103.9603 & 0.0196999999999969 \tabularnewline
7 & 103.98 & 103.8763 & 0.103699999999997 \tabularnewline
8 & 104.29 & 104.0363 & 0.253700000000000 \tabularnewline
9 & 104.29 & 103.976225 & 0.313774999999996 \tabularnewline
10 & 104.24 & 103.921225 & 0.318774999999992 \tabularnewline
11 & 103.98 & 103.756225 & 0.223775 \tabularnewline
12 & 103.54 & 103.403725 & 0.136274999999998 \tabularnewline
13 & 103.44 & 103.26815 & 0.171849999999969 \tabularnewline
14 & 103.32 & 103.12615 & 0.193849999999993 \tabularnewline
15 & 103.3 & 103.11815 & 0.181849999999995 \tabularnewline
16 & 103.26 & 103.08215 & 0.177850000000002 \tabularnewline
17 & 103.14 & 103.02615 & 0.113849999999997 \tabularnewline
18 & 103.11 & 103.00615 & 0.103849999999995 \tabularnewline
19 & 102.91 & 102.92215 & -0.0121500000000073 \tabularnewline
20 & 103.23 & 103.08215 & 0.147850000000001 \tabularnewline
21 & 103.23 & 103.022075 & 0.207924999999997 \tabularnewline
22 & 103.14 & 102.967075 & 0.172925000000000 \tabularnewline
23 & 102.91 & 102.802075 & 0.107924999999996 \tabularnewline
24 & 102.42 & 102.449575 & -0.0295750000000036 \tabularnewline
25 & 102.1 & 102.314 & -0.214000000000034 \tabularnewline
26 & 102.07 & 102.172 & -0.102000000000004 \tabularnewline
27 & 102.06 & 102.164 & -0.103999999999997 \tabularnewline
28 & 101.98 & 102.128 & -0.147999999999996 \tabularnewline
29 & 101.83 & 102.072 & -0.242000000000002 \tabularnewline
30 & 101.75 & 102.052 & -0.302000000000001 \tabularnewline
31 & 101.56 & 101.968 & -0.407999999999998 \tabularnewline
32 & 101.66 & 102.128 & -0.468000000000003 \tabularnewline
33 & 101.65 & 102.067925 & -0.417924999999998 \tabularnewline
34 & 101.61 & 102.012925 & -0.402924999999997 \tabularnewline
35 & 101.52 & 101.847925 & -0.327925000000001 \tabularnewline
36 & 101.31 & 101.495425 & -0.185424999999999 \tabularnewline
37 & 101.19 & 101.35985 & -0.169850000000027 \tabularnewline
38 & 101.11 & 101.21785 & -0.107849999999994 \tabularnewline
39 & 101.1 & 101.20985 & -0.109850000000001 \tabularnewline
40 & 101.07 & 101.17385 & -0.103850000000004 \tabularnewline
41 & 100.98 & 101.11785 & -0.137849999999993 \tabularnewline
42 & 100.93 & 101.09785 & -0.167849999999991 \tabularnewline
43 & 100.92 & 101.01385 & -0.0938499999999962 \tabularnewline
44 & 101.02 & 101.17385 & -0.153850000000001 \tabularnewline
45 & 101.01 & 101.113775 & -0.103774999999995 \tabularnewline
46 & 100.97 & 101.058775 & -0.088774999999995 \tabularnewline
47 & 100.89 & 100.893775 & -0.00377499999999424 \tabularnewline
48 & 100.62 & 100.541275 & 0.0787250000000054 \tabularnewline
49 & 100.53 & 100.4057 & 0.124299999999980 \tabularnewline
50 & 100.48 & 100.2637 & 0.216300000000013 \tabularnewline
51 & 100.48 & 100.2557 & 0.224300000000012 \tabularnewline
52 & 100.47 & 100.2197 & 0.250300000000005 \tabularnewline
53 & 100.52 & 100.1637 & 0.356300000000003 \tabularnewline
54 & 100.49 & 100.1437 & 0.3463 \tabularnewline
55 & 100.47 & 100.0597 & 0.410300000000005 \tabularnewline
56 & 100.44 & 100.2197 & 0.220300000000004 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=111917&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]104.31[/C][C]104.222300000000[/C][C]0.0877000000001128[/C][/ROW]
[ROW][C]2[/C][C]103.88[/C][C]104.0803[/C][C]-0.200300000000007[/C][/ROW]
[ROW][C]3[/C][C]103.88[/C][C]104.0723[/C][C]-0.19230000000001[/C][/ROW]
[ROW][C]4[/C][C]103.86[/C][C]104.0363[/C][C]-0.176300000000007[/C][/ROW]
[ROW][C]5[/C][C]103.89[/C][C]103.9803[/C][C]-0.0903000000000056[/C][/ROW]
[ROW][C]6[/C][C]103.98[/C][C]103.9603[/C][C]0.0196999999999969[/C][/ROW]
[ROW][C]7[/C][C]103.98[/C][C]103.8763[/C][C]0.103699999999997[/C][/ROW]
[ROW][C]8[/C][C]104.29[/C][C]104.0363[/C][C]0.253700000000000[/C][/ROW]
[ROW][C]9[/C][C]104.29[/C][C]103.976225[/C][C]0.313774999999996[/C][/ROW]
[ROW][C]10[/C][C]104.24[/C][C]103.921225[/C][C]0.318774999999992[/C][/ROW]
[ROW][C]11[/C][C]103.98[/C][C]103.756225[/C][C]0.223775[/C][/ROW]
[ROW][C]12[/C][C]103.54[/C][C]103.403725[/C][C]0.136274999999998[/C][/ROW]
[ROW][C]13[/C][C]103.44[/C][C]103.26815[/C][C]0.171849999999969[/C][/ROW]
[ROW][C]14[/C][C]103.32[/C][C]103.12615[/C][C]0.193849999999993[/C][/ROW]
[ROW][C]15[/C][C]103.3[/C][C]103.11815[/C][C]0.181849999999995[/C][/ROW]
[ROW][C]16[/C][C]103.26[/C][C]103.08215[/C][C]0.177850000000002[/C][/ROW]
[ROW][C]17[/C][C]103.14[/C][C]103.02615[/C][C]0.113849999999997[/C][/ROW]
[ROW][C]18[/C][C]103.11[/C][C]103.00615[/C][C]0.103849999999995[/C][/ROW]
[ROW][C]19[/C][C]102.91[/C][C]102.92215[/C][C]-0.0121500000000073[/C][/ROW]
[ROW][C]20[/C][C]103.23[/C][C]103.08215[/C][C]0.147850000000001[/C][/ROW]
[ROW][C]21[/C][C]103.23[/C][C]103.022075[/C][C]0.207924999999997[/C][/ROW]
[ROW][C]22[/C][C]103.14[/C][C]102.967075[/C][C]0.172925000000000[/C][/ROW]
[ROW][C]23[/C][C]102.91[/C][C]102.802075[/C][C]0.107924999999996[/C][/ROW]
[ROW][C]24[/C][C]102.42[/C][C]102.449575[/C][C]-0.0295750000000036[/C][/ROW]
[ROW][C]25[/C][C]102.1[/C][C]102.314[/C][C]-0.214000000000034[/C][/ROW]
[ROW][C]26[/C][C]102.07[/C][C]102.172[/C][C]-0.102000000000004[/C][/ROW]
[ROW][C]27[/C][C]102.06[/C][C]102.164[/C][C]-0.103999999999997[/C][/ROW]
[ROW][C]28[/C][C]101.98[/C][C]102.128[/C][C]-0.147999999999996[/C][/ROW]
[ROW][C]29[/C][C]101.83[/C][C]102.072[/C][C]-0.242000000000002[/C][/ROW]
[ROW][C]30[/C][C]101.75[/C][C]102.052[/C][C]-0.302000000000001[/C][/ROW]
[ROW][C]31[/C][C]101.56[/C][C]101.968[/C][C]-0.407999999999998[/C][/ROW]
[ROW][C]32[/C][C]101.66[/C][C]102.128[/C][C]-0.468000000000003[/C][/ROW]
[ROW][C]33[/C][C]101.65[/C][C]102.067925[/C][C]-0.417924999999998[/C][/ROW]
[ROW][C]34[/C][C]101.61[/C][C]102.012925[/C][C]-0.402924999999997[/C][/ROW]
[ROW][C]35[/C][C]101.52[/C][C]101.847925[/C][C]-0.327925000000001[/C][/ROW]
[ROW][C]36[/C][C]101.31[/C][C]101.495425[/C][C]-0.185424999999999[/C][/ROW]
[ROW][C]37[/C][C]101.19[/C][C]101.35985[/C][C]-0.169850000000027[/C][/ROW]
[ROW][C]38[/C][C]101.11[/C][C]101.21785[/C][C]-0.107849999999994[/C][/ROW]
[ROW][C]39[/C][C]101.1[/C][C]101.20985[/C][C]-0.109850000000001[/C][/ROW]
[ROW][C]40[/C][C]101.07[/C][C]101.17385[/C][C]-0.103850000000004[/C][/ROW]
[ROW][C]41[/C][C]100.98[/C][C]101.11785[/C][C]-0.137849999999993[/C][/ROW]
[ROW][C]42[/C][C]100.93[/C][C]101.09785[/C][C]-0.167849999999991[/C][/ROW]
[ROW][C]43[/C][C]100.92[/C][C]101.01385[/C][C]-0.0938499999999962[/C][/ROW]
[ROW][C]44[/C][C]101.02[/C][C]101.17385[/C][C]-0.153850000000001[/C][/ROW]
[ROW][C]45[/C][C]101.01[/C][C]101.113775[/C][C]-0.103774999999995[/C][/ROW]
[ROW][C]46[/C][C]100.97[/C][C]101.058775[/C][C]-0.088774999999995[/C][/ROW]
[ROW][C]47[/C][C]100.89[/C][C]100.893775[/C][C]-0.00377499999999424[/C][/ROW]
[ROW][C]48[/C][C]100.62[/C][C]100.541275[/C][C]0.0787250000000054[/C][/ROW]
[ROW][C]49[/C][C]100.53[/C][C]100.4057[/C][C]0.124299999999980[/C][/ROW]
[ROW][C]50[/C][C]100.48[/C][C]100.2637[/C][C]0.216300000000013[/C][/ROW]
[ROW][C]51[/C][C]100.48[/C][C]100.2557[/C][C]0.224300000000012[/C][/ROW]
[ROW][C]52[/C][C]100.47[/C][C]100.2197[/C][C]0.250300000000005[/C][/ROW]
[ROW][C]53[/C][C]100.52[/C][C]100.1637[/C][C]0.356300000000003[/C][/ROW]
[ROW][C]54[/C][C]100.49[/C][C]100.1437[/C][C]0.3463[/C][/ROW]
[ROW][C]55[/C][C]100.47[/C][C]100.0597[/C][C]0.410300000000005[/C][/ROW]
[ROW][C]56[/C][C]100.44[/C][C]100.2197[/C][C]0.220300000000004[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=111917&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=111917&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
1104.31104.2223000000000.0877000000001128
2103.88104.0803-0.200300000000007
3103.88104.0723-0.19230000000001
4103.86104.0363-0.176300000000007
5103.89103.9803-0.0903000000000056
6103.98103.96030.0196999999999969
7103.98103.87630.103699999999997
8104.29104.03630.253700000000000
9104.29103.9762250.313774999999996
10104.24103.9212250.318774999999992
11103.98103.7562250.223775
12103.54103.4037250.136274999999998
13103.44103.268150.171849999999969
14103.32103.126150.193849999999993
15103.3103.118150.181849999999995
16103.26103.082150.177850000000002
17103.14103.026150.113849999999997
18103.11103.006150.103849999999995
19102.91102.92215-0.0121500000000073
20103.23103.082150.147850000000001
21103.23103.0220750.207924999999997
22103.14102.9670750.172925000000000
23102.91102.8020750.107924999999996
24102.42102.449575-0.0295750000000036
25102.1102.314-0.214000000000034
26102.07102.172-0.102000000000004
27102.06102.164-0.103999999999997
28101.98102.128-0.147999999999996
29101.83102.072-0.242000000000002
30101.75102.052-0.302000000000001
31101.56101.968-0.407999999999998
32101.66102.128-0.468000000000003
33101.65102.067925-0.417924999999998
34101.61102.012925-0.402924999999997
35101.52101.847925-0.327925000000001
36101.31101.495425-0.185424999999999
37101.19101.35985-0.169850000000027
38101.11101.21785-0.107849999999994
39101.1101.20985-0.109850000000001
40101.07101.17385-0.103850000000004
41100.98101.11785-0.137849999999993
42100.93101.09785-0.167849999999991
43100.92101.01385-0.0938499999999962
44101.02101.17385-0.153850000000001
45101.01101.113775-0.103774999999995
46100.97101.058775-0.088774999999995
47100.89100.893775-0.00377499999999424
48100.62100.5412750.0787250000000054
49100.53100.40570.124299999999980
50100.48100.26370.216300000000013
51100.48100.25570.224300000000012
52100.47100.21970.250300000000005
53100.52100.16370.356300000000003
54100.49100.14370.3463
55100.47100.05970.410300000000005
56100.44100.21970.220300000000004







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.08339426316657520.1667885263331500.916605736833425
170.0347750947356450.069550189471290.965224905264355
180.02760396688689060.05520793377378120.97239603311311
190.06308849241880080.1261769848376020.9369115075812
200.09494863361427170.1898972672285430.905051366385728
210.1716520642598140.3433041285196280.828347935740186
220.3894235362512660.7788470725025320.610576463748734
230.701642457825680.5967150843486410.298357542174320
240.8691147033404440.2617705933191120.130885296659556
250.9560221979399060.08795560412018780.0439778020600939
260.9727036621343580.05459267573128440.0272963378656422
270.9914107772073070.01717844558538600.00858922279269302
280.9985963121593330.002807375681334280.00140368784066714
290.9994002102957790.001199579408442490.000599789704221247
300.9997966829795180.0004066340409644290.000203317020482215
310.9997297676337970.0005404647324064090.000270232366203204
320.9998140510142330.0003718979715347840.000185948985767392
330.9997802160365650.0004395679268699930.000219783963434997
340.9996188897856670.000762220428665340.00038111021433267
350.9989975537795610.002004892440877350.00100244622043867
360.9984558795368930.003088240926214590.00154412046310729
370.9973679837204440.005264032559111420.00263201627955571
380.9949312895544440.01013742089111280.00506871044555638
390.9909313027639020.01813739447219560.00906869723609782
400.9851405014023040.02971899719539150.0148594985976958

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0833942631665752 & 0.166788526333150 & 0.916605736833425 \tabularnewline
17 & 0.034775094735645 & 0.06955018947129 & 0.965224905264355 \tabularnewline
18 & 0.0276039668868906 & 0.0552079337737812 & 0.97239603311311 \tabularnewline
19 & 0.0630884924188008 & 0.126176984837602 & 0.9369115075812 \tabularnewline
20 & 0.0949486336142717 & 0.189897267228543 & 0.905051366385728 \tabularnewline
21 & 0.171652064259814 & 0.343304128519628 & 0.828347935740186 \tabularnewline
22 & 0.389423536251266 & 0.778847072502532 & 0.610576463748734 \tabularnewline
23 & 0.70164245782568 & 0.596715084348641 & 0.298357542174320 \tabularnewline
24 & 0.869114703340444 & 0.261770593319112 & 0.130885296659556 \tabularnewline
25 & 0.956022197939906 & 0.0879556041201878 & 0.0439778020600939 \tabularnewline
26 & 0.972703662134358 & 0.0545926757312844 & 0.0272963378656422 \tabularnewline
27 & 0.991410777207307 & 0.0171784455853860 & 0.00858922279269302 \tabularnewline
28 & 0.998596312159333 & 0.00280737568133428 & 0.00140368784066714 \tabularnewline
29 & 0.999400210295779 & 0.00119957940844249 & 0.000599789704221247 \tabularnewline
30 & 0.999796682979518 & 0.000406634040964429 & 0.000203317020482215 \tabularnewline
31 & 0.999729767633797 & 0.000540464732406409 & 0.000270232366203204 \tabularnewline
32 & 0.999814051014233 & 0.000371897971534784 & 0.000185948985767392 \tabularnewline
33 & 0.999780216036565 & 0.000439567926869993 & 0.000219783963434997 \tabularnewline
34 & 0.999618889785667 & 0.00076222042866534 & 0.00038111021433267 \tabularnewline
35 & 0.998997553779561 & 0.00200489244087735 & 0.00100244622043867 \tabularnewline
36 & 0.998455879536893 & 0.00308824092621459 & 0.00154412046310729 \tabularnewline
37 & 0.997367983720444 & 0.00526403255911142 & 0.00263201627955571 \tabularnewline
38 & 0.994931289554444 & 0.0101374208911128 & 0.00506871044555638 \tabularnewline
39 & 0.990931302763902 & 0.0181373944721956 & 0.00906869723609782 \tabularnewline
40 & 0.985140501402304 & 0.0297189971953915 & 0.0148594985976958 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=111917&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.0833942631665752[/C][C]0.166788526333150[/C][C]0.916605736833425[/C][/ROW]
[ROW][C]17[/C][C]0.034775094735645[/C][C]0.06955018947129[/C][C]0.965224905264355[/C][/ROW]
[ROW][C]18[/C][C]0.0276039668868906[/C][C]0.0552079337737812[/C][C]0.97239603311311[/C][/ROW]
[ROW][C]19[/C][C]0.0630884924188008[/C][C]0.126176984837602[/C][C]0.9369115075812[/C][/ROW]
[ROW][C]20[/C][C]0.0949486336142717[/C][C]0.189897267228543[/C][C]0.905051366385728[/C][/ROW]
[ROW][C]21[/C][C]0.171652064259814[/C][C]0.343304128519628[/C][C]0.828347935740186[/C][/ROW]
[ROW][C]22[/C][C]0.389423536251266[/C][C]0.778847072502532[/C][C]0.610576463748734[/C][/ROW]
[ROW][C]23[/C][C]0.70164245782568[/C][C]0.596715084348641[/C][C]0.298357542174320[/C][/ROW]
[ROW][C]24[/C][C]0.869114703340444[/C][C]0.261770593319112[/C][C]0.130885296659556[/C][/ROW]
[ROW][C]25[/C][C]0.956022197939906[/C][C]0.0879556041201878[/C][C]0.0439778020600939[/C][/ROW]
[ROW][C]26[/C][C]0.972703662134358[/C][C]0.0545926757312844[/C][C]0.0272963378656422[/C][/ROW]
[ROW][C]27[/C][C]0.991410777207307[/C][C]0.0171784455853860[/C][C]0.00858922279269302[/C][/ROW]
[ROW][C]28[/C][C]0.998596312159333[/C][C]0.00280737568133428[/C][C]0.00140368784066714[/C][/ROW]
[ROW][C]29[/C][C]0.999400210295779[/C][C]0.00119957940844249[/C][C]0.000599789704221247[/C][/ROW]
[ROW][C]30[/C][C]0.999796682979518[/C][C]0.000406634040964429[/C][C]0.000203317020482215[/C][/ROW]
[ROW][C]31[/C][C]0.999729767633797[/C][C]0.000540464732406409[/C][C]0.000270232366203204[/C][/ROW]
[ROW][C]32[/C][C]0.999814051014233[/C][C]0.000371897971534784[/C][C]0.000185948985767392[/C][/ROW]
[ROW][C]33[/C][C]0.999780216036565[/C][C]0.000439567926869993[/C][C]0.000219783963434997[/C][/ROW]
[ROW][C]34[/C][C]0.999618889785667[/C][C]0.00076222042866534[/C][C]0.00038111021433267[/C][/ROW]
[ROW][C]35[/C][C]0.998997553779561[/C][C]0.00200489244087735[/C][C]0.00100244622043867[/C][/ROW]
[ROW][C]36[/C][C]0.998455879536893[/C][C]0.00308824092621459[/C][C]0.00154412046310729[/C][/ROW]
[ROW][C]37[/C][C]0.997367983720444[/C][C]0.00526403255911142[/C][C]0.00263201627955571[/C][/ROW]
[ROW][C]38[/C][C]0.994931289554444[/C][C]0.0101374208911128[/C][C]0.00506871044555638[/C][/ROW]
[ROW][C]39[/C][C]0.990931302763902[/C][C]0.0181373944721956[/C][C]0.00906869723609782[/C][/ROW]
[ROW][C]40[/C][C]0.985140501402304[/C][C]0.0297189971953915[/C][C]0.0148594985976958[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=111917&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.08339426316657520.1667885263331500.916605736833425
170.0347750947356450.069550189471290.965224905264355
180.02760396688689060.05520793377378120.97239603311311
190.06308849241880080.1261769848376020.9369115075812
200.09494863361427170.1898972672285430.905051366385728
210.1716520642598140.3433041285196280.828347935740186
220.3894235362512660.7788470725025320.610576463748734
230.701642457825680.5967150843486410.298357542174320
240.8691147033404440.2617705933191120.130885296659556
250.9560221979399060.08795560412018780.0439778020600939
260.9727036621343580.05459267573128440.0272963378656422
270.9914107772073070.01717844558538600.00858922279269302
280.9985963121593330.002807375681334280.00140368784066714
290.9994002102957790.001199579408442490.000599789704221247
300.9997966829795180.0004066340409644290.000203317020482215
310.9997297676337970.0005404647324064090.000270232366203204
320.9998140510142330.0003718979715347840.000185948985767392
330.9997802160365650.0004395679268699930.000219783963434997
340.9996188897856670.000762220428665340.00038111021433267
350.9989975537795610.002004892440877350.00100244622043867
360.9984558795368930.003088240926214590.00154412046310729
370.9973679837204440.005264032559111420.00263201627955571
380.9949312895544440.01013742089111280.00506871044555638
390.9909313027639020.01813739447219560.00906869723609782
400.9851405014023040.02971899719539150.0148594985976958







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.4NOK
5% type I error level140.56NOK
10% type I error level180.72NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=111917&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 level100.4NOK
5% type I error level140.56NOK
10% type I error level180.72NOK



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