Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 19 Nov 2009 01:38:58 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/19/t12586200298g0td5chrir0lri.htm/, Retrieved Fri, 19 Apr 2024 18:53:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57651, Retrieved Fri, 19 Apr 2024 18:53:49 +0000
QR Codes:

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

Post a new message
Dataseries X:
149	0
139	0
135	0
130	0
127	0
122	0
117	0
112	0
113	0
149	0
157	0
157	0
147	0
137	0
132	0
125	0
123	0
117	0
114	0
111	0
112	0
144	0
150	0
149	0
134	0
123	0
116	0
117	0
111	0
105	0
102	0
95	0
93	0
124	0
130	0
124	0
115	0
106	0
105	0
105	0
101	0
95	0
93	0
84	0
87	0
116	0
120	0
117	1
109	1
105	1
107	1
109	1
109	1
108	1
107	1
99	1
103	1
131	1
137	1
135	1




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

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







Multiple Linear Regression - Estimated Regression Equation
WLH[t] = + 139.976 -8.94000000000002X[t] -7.38799999999999M1[t] -16.188M2[t] -19.188M3[t] -20.988M4[t] -23.988M5[t] -28.788M6[t] -31.588M7[t] -37.988M8[t] -36.588M9[t] -5.38799999999999M10[t] + 0.612000000000008M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
WLH[t] =  +  139.976 -8.94000000000002X[t] -7.38799999999999M1[t] -16.188M2[t] -19.188M3[t] -20.988M4[t] -23.988M5[t] -28.788M6[t] -31.588M7[t] -37.988M8[t] -36.588M9[t] -5.38799999999999M10[t] +  0.612000000000008M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57651&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]WLH[t] =  +  139.976 -8.94000000000002X[t] -7.38799999999999M1[t] -16.188M2[t] -19.188M3[t] -20.988M4[t] -23.988M5[t] -28.788M6[t] -31.588M7[t] -37.988M8[t] -36.588M9[t] -5.38799999999999M10[t] +  0.612000000000008M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57651&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57651&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
WLH[t] = + 139.976 -8.94000000000002X[t] -7.38799999999999M1[t] -16.188M2[t] -19.188M3[t] -20.988M4[t] -23.988M5[t] -28.788M6[t] -31.588M7[t] -37.988M8[t] -36.588M9[t] -5.38799999999999M10[t] + 0.612000000000008M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)139.9766.02637923.227200
X-8.940000000000024.100432-2.18030.034280.01714
M1-7.387999999999998.241766-0.89640.3746020.187301
M2-16.1888.241766-1.96410.0554430.027721
M3-19.1888.241766-2.32810.0242590.012129
M4-20.9888.241766-2.54650.0142150.007108
M5-23.9888.241766-2.91050.0054990.00275
M6-28.7888.241766-3.49290.0010520.000526
M7-31.5888.241766-3.83270.0003760.000188
M8-37.9888.241766-4.60923.1e-051.6e-05
M9-36.5888.241766-4.43935.4e-052.7e-05
M10-5.387999999999998.241766-0.65370.5164630.258232
M110.6120000000000088.2417660.07430.9411220.470561

\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) & 139.976 & 6.026379 & 23.2272 & 0 & 0 \tabularnewline
X & -8.94000000000002 & 4.100432 & -2.1803 & 0.03428 & 0.01714 \tabularnewline
M1 & -7.38799999999999 & 8.241766 & -0.8964 & 0.374602 & 0.187301 \tabularnewline
M2 & -16.188 & 8.241766 & -1.9641 & 0.055443 & 0.027721 \tabularnewline
M3 & -19.188 & 8.241766 & -2.3281 & 0.024259 & 0.012129 \tabularnewline
M4 & -20.988 & 8.241766 & -2.5465 & 0.014215 & 0.007108 \tabularnewline
M5 & -23.988 & 8.241766 & -2.9105 & 0.005499 & 0.00275 \tabularnewline
M6 & -28.788 & 8.241766 & -3.4929 & 0.001052 & 0.000526 \tabularnewline
M7 & -31.588 & 8.241766 & -3.8327 & 0.000376 & 0.000188 \tabularnewline
M8 & -37.988 & 8.241766 & -4.6092 & 3.1e-05 & 1.6e-05 \tabularnewline
M9 & -36.588 & 8.241766 & -4.4393 & 5.4e-05 & 2.7e-05 \tabularnewline
M10 & -5.38799999999999 & 8.241766 & -0.6537 & 0.516463 & 0.258232 \tabularnewline
M11 & 0.612000000000008 & 8.241766 & 0.0743 & 0.941122 & 0.470561 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57651&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]139.976[/C][C]6.026379[/C][C]23.2272[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-8.94000000000002[/C][C]4.100432[/C][C]-2.1803[/C][C]0.03428[/C][C]0.01714[/C][/ROW]
[ROW][C]M1[/C][C]-7.38799999999999[/C][C]8.241766[/C][C]-0.8964[/C][C]0.374602[/C][C]0.187301[/C][/ROW]
[ROW][C]M2[/C][C]-16.188[/C][C]8.241766[/C][C]-1.9641[/C][C]0.055443[/C][C]0.027721[/C][/ROW]
[ROW][C]M3[/C][C]-19.188[/C][C]8.241766[/C][C]-2.3281[/C][C]0.024259[/C][C]0.012129[/C][/ROW]
[ROW][C]M4[/C][C]-20.988[/C][C]8.241766[/C][C]-2.5465[/C][C]0.014215[/C][C]0.007108[/C][/ROW]
[ROW][C]M5[/C][C]-23.988[/C][C]8.241766[/C][C]-2.9105[/C][C]0.005499[/C][C]0.00275[/C][/ROW]
[ROW][C]M6[/C][C]-28.788[/C][C]8.241766[/C][C]-3.4929[/C][C]0.001052[/C][C]0.000526[/C][/ROW]
[ROW][C]M7[/C][C]-31.588[/C][C]8.241766[/C][C]-3.8327[/C][C]0.000376[/C][C]0.000188[/C][/ROW]
[ROW][C]M8[/C][C]-37.988[/C][C]8.241766[/C][C]-4.6092[/C][C]3.1e-05[/C][C]1.6e-05[/C][/ROW]
[ROW][C]M9[/C][C]-36.588[/C][C]8.241766[/C][C]-4.4393[/C][C]5.4e-05[/C][C]2.7e-05[/C][/ROW]
[ROW][C]M10[/C][C]-5.38799999999999[/C][C]8.241766[/C][C]-0.6537[/C][C]0.516463[/C][C]0.258232[/C][/ROW]
[ROW][C]M11[/C][C]0.612000000000008[/C][C]8.241766[/C][C]0.0743[/C][C]0.941122[/C][C]0.470561[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57651&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57651&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)139.9766.02637923.227200
X-8.940000000000024.100432-2.18030.034280.01714
M1-7.387999999999998.241766-0.89640.3746020.187301
M2-16.1888.241766-1.96410.0554430.027721
M3-19.1888.241766-2.32810.0242590.012129
M4-20.9888.241766-2.54650.0142150.007108
M5-23.9888.241766-2.91050.0054990.00275
M6-28.7888.241766-3.49290.0010520.000526
M7-31.5888.241766-3.83270.0003760.000188
M8-37.9888.241766-4.60923.1e-051.6e-05
M9-36.5888.241766-4.43935.4e-052.7e-05
M10-5.387999999999998.241766-0.65370.5164630.258232
M110.6120000000000088.2417660.07430.9411220.470561







Multiple Linear Regression - Regression Statistics
Multiple R0.75702669227273
R-squared0.57308941281339
Adjusted R-squared0.464090965021065
F-TEST (value)5.2577759080138
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.60943332206953e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12.9667036773160
Sum Squared Residuals7902.364

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.75702669227273 \tabularnewline
R-squared & 0.57308941281339 \tabularnewline
Adjusted R-squared & 0.464090965021065 \tabularnewline
F-TEST (value) & 5.2577759080138 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 1.60943332206953e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 12.9667036773160 \tabularnewline
Sum Squared Residuals & 7902.364 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57651&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.75702669227273[/C][/ROW]
[ROW][C]R-squared[/C][C]0.57308941281339[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.464090965021065[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.2577759080138[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]1.60943332206953e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]12.9667036773160[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7902.364[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57651&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57651&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.75702669227273
R-squared0.57308941281339
Adjusted R-squared0.464090965021065
F-TEST (value)5.2577759080138
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.60943332206953e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12.9667036773160
Sum Squared Residuals7902.364







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1149132.58816.412
2139123.78815.212
3135120.78814.212
4130118.98811.0120000000000
5127115.98811.0120000000000
6122111.18810.812
7117108.3888.61199999999999
8112101.98810.0120000000001
9113103.3889.612
10149134.58814.4120000000000
11157140.58816.412
12157139.97617.024
13147132.58814.4120000000000
14137123.78813.2120000000000
15132120.78811.212
16125118.9886.01199999999998
17123115.9887.012
18117111.1885.812
19114108.3885.612
20111101.9889.01199999999999
21112103.3888.612
22144134.5889.412
23150140.5889.412
24149139.9769.02400000000001
25134132.5881.41200000000000
26123123.788-0.788000000000018
27116120.788-4.788
28117118.988-1.98800000000002
29111115.988-4.98799999999999
30105111.188-6.18800000000001
31102108.388-6.388
3295101.988-6.98800000000002
3393103.388-10.3880000000000
34124134.588-10.588
35130140.588-10.588
36124139.976-15.976
37115132.588-17.588
38106123.788-17.788
39105120.788-15.788
40105118.988-13.98800
41101115.988-14.988
4295111.188-16.188
4393108.388-15.388
4484101.988-17.988
4587103.388-16.388
46116134.588-18.588
47120140.588-20.588
48117131.036-14.0360000000000
49109123.648-14.648
50105114.848-9.84800000000002
51107111.848-4.84799999999999
52109110.048-1.04800000000001
53109107.0481.95200000000001
54108102.2485.752
5510799.4487.552
569993.0485.95199999999999
5710394.4488.552
58131125.6485.35200000000001
59137131.6485.352
60135131.0363.96400000000001

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 149 & 132.588 & 16.412 \tabularnewline
2 & 139 & 123.788 & 15.212 \tabularnewline
3 & 135 & 120.788 & 14.212 \tabularnewline
4 & 130 & 118.988 & 11.0120000000000 \tabularnewline
5 & 127 & 115.988 & 11.0120000000000 \tabularnewline
6 & 122 & 111.188 & 10.812 \tabularnewline
7 & 117 & 108.388 & 8.61199999999999 \tabularnewline
8 & 112 & 101.988 & 10.0120000000001 \tabularnewline
9 & 113 & 103.388 & 9.612 \tabularnewline
10 & 149 & 134.588 & 14.4120000000000 \tabularnewline
11 & 157 & 140.588 & 16.412 \tabularnewline
12 & 157 & 139.976 & 17.024 \tabularnewline
13 & 147 & 132.588 & 14.4120000000000 \tabularnewline
14 & 137 & 123.788 & 13.2120000000000 \tabularnewline
15 & 132 & 120.788 & 11.212 \tabularnewline
16 & 125 & 118.988 & 6.01199999999998 \tabularnewline
17 & 123 & 115.988 & 7.012 \tabularnewline
18 & 117 & 111.188 & 5.812 \tabularnewline
19 & 114 & 108.388 & 5.612 \tabularnewline
20 & 111 & 101.988 & 9.01199999999999 \tabularnewline
21 & 112 & 103.388 & 8.612 \tabularnewline
22 & 144 & 134.588 & 9.412 \tabularnewline
23 & 150 & 140.588 & 9.412 \tabularnewline
24 & 149 & 139.976 & 9.02400000000001 \tabularnewline
25 & 134 & 132.588 & 1.41200000000000 \tabularnewline
26 & 123 & 123.788 & -0.788000000000018 \tabularnewline
27 & 116 & 120.788 & -4.788 \tabularnewline
28 & 117 & 118.988 & -1.98800000000002 \tabularnewline
29 & 111 & 115.988 & -4.98799999999999 \tabularnewline
30 & 105 & 111.188 & -6.18800000000001 \tabularnewline
31 & 102 & 108.388 & -6.388 \tabularnewline
32 & 95 & 101.988 & -6.98800000000002 \tabularnewline
33 & 93 & 103.388 & -10.3880000000000 \tabularnewline
34 & 124 & 134.588 & -10.588 \tabularnewline
35 & 130 & 140.588 & -10.588 \tabularnewline
36 & 124 & 139.976 & -15.976 \tabularnewline
37 & 115 & 132.588 & -17.588 \tabularnewline
38 & 106 & 123.788 & -17.788 \tabularnewline
39 & 105 & 120.788 & -15.788 \tabularnewline
40 & 105 & 118.988 & -13.98800 \tabularnewline
41 & 101 & 115.988 & -14.988 \tabularnewline
42 & 95 & 111.188 & -16.188 \tabularnewline
43 & 93 & 108.388 & -15.388 \tabularnewline
44 & 84 & 101.988 & -17.988 \tabularnewline
45 & 87 & 103.388 & -16.388 \tabularnewline
46 & 116 & 134.588 & -18.588 \tabularnewline
47 & 120 & 140.588 & -20.588 \tabularnewline
48 & 117 & 131.036 & -14.0360000000000 \tabularnewline
49 & 109 & 123.648 & -14.648 \tabularnewline
50 & 105 & 114.848 & -9.84800000000002 \tabularnewline
51 & 107 & 111.848 & -4.84799999999999 \tabularnewline
52 & 109 & 110.048 & -1.04800000000001 \tabularnewline
53 & 109 & 107.048 & 1.95200000000001 \tabularnewline
54 & 108 & 102.248 & 5.752 \tabularnewline
55 & 107 & 99.448 & 7.552 \tabularnewline
56 & 99 & 93.048 & 5.95199999999999 \tabularnewline
57 & 103 & 94.448 & 8.552 \tabularnewline
58 & 131 & 125.648 & 5.35200000000001 \tabularnewline
59 & 137 & 131.648 & 5.352 \tabularnewline
60 & 135 & 131.036 & 3.96400000000001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57651&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]149[/C][C]132.588[/C][C]16.412[/C][/ROW]
[ROW][C]2[/C][C]139[/C][C]123.788[/C][C]15.212[/C][/ROW]
[ROW][C]3[/C][C]135[/C][C]120.788[/C][C]14.212[/C][/ROW]
[ROW][C]4[/C][C]130[/C][C]118.988[/C][C]11.0120000000000[/C][/ROW]
[ROW][C]5[/C][C]127[/C][C]115.988[/C][C]11.0120000000000[/C][/ROW]
[ROW][C]6[/C][C]122[/C][C]111.188[/C][C]10.812[/C][/ROW]
[ROW][C]7[/C][C]117[/C][C]108.388[/C][C]8.61199999999999[/C][/ROW]
[ROW][C]8[/C][C]112[/C][C]101.988[/C][C]10.0120000000001[/C][/ROW]
[ROW][C]9[/C][C]113[/C][C]103.388[/C][C]9.612[/C][/ROW]
[ROW][C]10[/C][C]149[/C][C]134.588[/C][C]14.4120000000000[/C][/ROW]
[ROW][C]11[/C][C]157[/C][C]140.588[/C][C]16.412[/C][/ROW]
[ROW][C]12[/C][C]157[/C][C]139.976[/C][C]17.024[/C][/ROW]
[ROW][C]13[/C][C]147[/C][C]132.588[/C][C]14.4120000000000[/C][/ROW]
[ROW][C]14[/C][C]137[/C][C]123.788[/C][C]13.2120000000000[/C][/ROW]
[ROW][C]15[/C][C]132[/C][C]120.788[/C][C]11.212[/C][/ROW]
[ROW][C]16[/C][C]125[/C][C]118.988[/C][C]6.01199999999998[/C][/ROW]
[ROW][C]17[/C][C]123[/C][C]115.988[/C][C]7.012[/C][/ROW]
[ROW][C]18[/C][C]117[/C][C]111.188[/C][C]5.812[/C][/ROW]
[ROW][C]19[/C][C]114[/C][C]108.388[/C][C]5.612[/C][/ROW]
[ROW][C]20[/C][C]111[/C][C]101.988[/C][C]9.01199999999999[/C][/ROW]
[ROW][C]21[/C][C]112[/C][C]103.388[/C][C]8.612[/C][/ROW]
[ROW][C]22[/C][C]144[/C][C]134.588[/C][C]9.412[/C][/ROW]
[ROW][C]23[/C][C]150[/C][C]140.588[/C][C]9.412[/C][/ROW]
[ROW][C]24[/C][C]149[/C][C]139.976[/C][C]9.02400000000001[/C][/ROW]
[ROW][C]25[/C][C]134[/C][C]132.588[/C][C]1.41200000000000[/C][/ROW]
[ROW][C]26[/C][C]123[/C][C]123.788[/C][C]-0.788000000000018[/C][/ROW]
[ROW][C]27[/C][C]116[/C][C]120.788[/C][C]-4.788[/C][/ROW]
[ROW][C]28[/C][C]117[/C][C]118.988[/C][C]-1.98800000000002[/C][/ROW]
[ROW][C]29[/C][C]111[/C][C]115.988[/C][C]-4.98799999999999[/C][/ROW]
[ROW][C]30[/C][C]105[/C][C]111.188[/C][C]-6.18800000000001[/C][/ROW]
[ROW][C]31[/C][C]102[/C][C]108.388[/C][C]-6.388[/C][/ROW]
[ROW][C]32[/C][C]95[/C][C]101.988[/C][C]-6.98800000000002[/C][/ROW]
[ROW][C]33[/C][C]93[/C][C]103.388[/C][C]-10.3880000000000[/C][/ROW]
[ROW][C]34[/C][C]124[/C][C]134.588[/C][C]-10.588[/C][/ROW]
[ROW][C]35[/C][C]130[/C][C]140.588[/C][C]-10.588[/C][/ROW]
[ROW][C]36[/C][C]124[/C][C]139.976[/C][C]-15.976[/C][/ROW]
[ROW][C]37[/C][C]115[/C][C]132.588[/C][C]-17.588[/C][/ROW]
[ROW][C]38[/C][C]106[/C][C]123.788[/C][C]-17.788[/C][/ROW]
[ROW][C]39[/C][C]105[/C][C]120.788[/C][C]-15.788[/C][/ROW]
[ROW][C]40[/C][C]105[/C][C]118.988[/C][C]-13.98800[/C][/ROW]
[ROW][C]41[/C][C]101[/C][C]115.988[/C][C]-14.988[/C][/ROW]
[ROW][C]42[/C][C]95[/C][C]111.188[/C][C]-16.188[/C][/ROW]
[ROW][C]43[/C][C]93[/C][C]108.388[/C][C]-15.388[/C][/ROW]
[ROW][C]44[/C][C]84[/C][C]101.988[/C][C]-17.988[/C][/ROW]
[ROW][C]45[/C][C]87[/C][C]103.388[/C][C]-16.388[/C][/ROW]
[ROW][C]46[/C][C]116[/C][C]134.588[/C][C]-18.588[/C][/ROW]
[ROW][C]47[/C][C]120[/C][C]140.588[/C][C]-20.588[/C][/ROW]
[ROW][C]48[/C][C]117[/C][C]131.036[/C][C]-14.0360000000000[/C][/ROW]
[ROW][C]49[/C][C]109[/C][C]123.648[/C][C]-14.648[/C][/ROW]
[ROW][C]50[/C][C]105[/C][C]114.848[/C][C]-9.84800000000002[/C][/ROW]
[ROW][C]51[/C][C]107[/C][C]111.848[/C][C]-4.84799999999999[/C][/ROW]
[ROW][C]52[/C][C]109[/C][C]110.048[/C][C]-1.04800000000001[/C][/ROW]
[ROW][C]53[/C][C]109[/C][C]107.048[/C][C]1.95200000000001[/C][/ROW]
[ROW][C]54[/C][C]108[/C][C]102.248[/C][C]5.752[/C][/ROW]
[ROW][C]55[/C][C]107[/C][C]99.448[/C][C]7.552[/C][/ROW]
[ROW][C]56[/C][C]99[/C][C]93.048[/C][C]5.95199999999999[/C][/ROW]
[ROW][C]57[/C][C]103[/C][C]94.448[/C][C]8.552[/C][/ROW]
[ROW][C]58[/C][C]131[/C][C]125.648[/C][C]5.35200000000001[/C][/ROW]
[ROW][C]59[/C][C]137[/C][C]131.648[/C][C]5.352[/C][/ROW]
[ROW][C]60[/C][C]135[/C][C]131.036[/C][C]3.96400000000001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57651&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57651&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
1149132.58816.412
2139123.78815.212
3135120.78814.212
4130118.98811.0120000000000
5127115.98811.0120000000000
6122111.18810.812
7117108.3888.61199999999999
8112101.98810.0120000000001
9113103.3889.612
10149134.58814.4120000000000
11157140.58816.412
12157139.97617.024
13147132.58814.4120000000000
14137123.78813.2120000000000
15132120.78811.212
16125118.9886.01199999999998
17123115.9887.012
18117111.1885.812
19114108.3885.612
20111101.9889.01199999999999
21112103.3888.612
22144134.5889.412
23150140.5889.412
24149139.9769.02400000000001
25134132.5881.41200000000000
26123123.788-0.788000000000018
27116120.788-4.788
28117118.988-1.98800000000002
29111115.988-4.98799999999999
30105111.188-6.18800000000001
31102108.388-6.388
3295101.988-6.98800000000002
3393103.388-10.3880000000000
34124134.588-10.588
35130140.588-10.588
36124139.976-15.976
37115132.588-17.588
38106123.788-17.788
39105120.788-15.788
40105118.988-13.98800
41101115.988-14.988
4295111.188-16.188
4393108.388-15.388
4484101.988-17.988
4587103.388-16.388
46116134.588-18.588
47120140.588-20.588
48117131.036-14.0360000000000
49109123.648-14.648
50105114.848-9.84800000000002
51107111.848-4.84799999999999
52109110.048-1.04800000000001
53109107.0481.95200000000001
54108102.2485.752
5510799.4487.552
569993.0485.95199999999999
5710394.4488.552
58131125.6485.35200000000001
59137131.6485.352
60135131.0363.96400000000001







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01969081826496140.03938163652992280.980309181735039
170.00781066222862840.01562132445725680.992189337771372
180.004209262949231280.008418525898462560.995790737050769
190.001443956347394730.002887912694789450.998556043652605
200.0004414975152913160.0008829950305826320.99955850248471
210.0001374361093866130.0002748722187732260.999862563890613
220.0001336571787731730.0002673143575463470.999866342821227
230.0003114117983053090.0006228235966106170.999688588201695
240.001465692314518240.002931384629036480.998534307685482
250.04765476488112330.09530952976224660.952345235118877
260.2702685183138780.5405370366277570.729731481686122
270.5779484563063070.8441030873873870.422051543693693
280.6863740494235250.627251901152950.313625950576475
290.7795235389655420.4409529220689170.220476461034458
300.8286797803451960.3426404393096090.171320219654804
310.8433402832455530.3133194335088930.156659716754447
320.8814687495503300.2370625008993390.118531250449669
330.9004343571612330.1991312856775340.099565642838767
340.9246855172115070.1506289655769860.0753144827884929
350.940204035350970.1195919292980620.059795964649031
360.9597438258189960.08051234836200870.0402561741810043
370.9861490003699010.02770199926019740.0138509996300987
380.9917855198830250.01642896023394940.00821448011697469
390.9924333521066360.01513329578672890.00756664789336446
400.9912542175011420.01749156499771670.00874578249885833
410.9851055110221810.02978897795563720.0148944889778186
420.9657458642231180.06850827155376480.0342541357768824
430.9208394734106320.1583210531787350.0791605265893675
440.830150804016720.3396983919665610.169849195983280

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0196908182649614 & 0.0393816365299228 & 0.980309181735039 \tabularnewline
17 & 0.0078106622286284 & 0.0156213244572568 & 0.992189337771372 \tabularnewline
18 & 0.00420926294923128 & 0.00841852589846256 & 0.995790737050769 \tabularnewline
19 & 0.00144395634739473 & 0.00288791269478945 & 0.998556043652605 \tabularnewline
20 & 0.000441497515291316 & 0.000882995030582632 & 0.99955850248471 \tabularnewline
21 & 0.000137436109386613 & 0.000274872218773226 & 0.999862563890613 \tabularnewline
22 & 0.000133657178773173 & 0.000267314357546347 & 0.999866342821227 \tabularnewline
23 & 0.000311411798305309 & 0.000622823596610617 & 0.999688588201695 \tabularnewline
24 & 0.00146569231451824 & 0.00293138462903648 & 0.998534307685482 \tabularnewline
25 & 0.0476547648811233 & 0.0953095297622466 & 0.952345235118877 \tabularnewline
26 & 0.270268518313878 & 0.540537036627757 & 0.729731481686122 \tabularnewline
27 & 0.577948456306307 & 0.844103087387387 & 0.422051543693693 \tabularnewline
28 & 0.686374049423525 & 0.62725190115295 & 0.313625950576475 \tabularnewline
29 & 0.779523538965542 & 0.440952922068917 & 0.220476461034458 \tabularnewline
30 & 0.828679780345196 & 0.342640439309609 & 0.171320219654804 \tabularnewline
31 & 0.843340283245553 & 0.313319433508893 & 0.156659716754447 \tabularnewline
32 & 0.881468749550330 & 0.237062500899339 & 0.118531250449669 \tabularnewline
33 & 0.900434357161233 & 0.199131285677534 & 0.099565642838767 \tabularnewline
34 & 0.924685517211507 & 0.150628965576986 & 0.0753144827884929 \tabularnewline
35 & 0.94020403535097 & 0.119591929298062 & 0.059795964649031 \tabularnewline
36 & 0.959743825818996 & 0.0805123483620087 & 0.0402561741810043 \tabularnewline
37 & 0.986149000369901 & 0.0277019992601974 & 0.0138509996300987 \tabularnewline
38 & 0.991785519883025 & 0.0164289602339494 & 0.00821448011697469 \tabularnewline
39 & 0.992433352106636 & 0.0151332957867289 & 0.00756664789336446 \tabularnewline
40 & 0.991254217501142 & 0.0174915649977167 & 0.00874578249885833 \tabularnewline
41 & 0.985105511022181 & 0.0297889779556372 & 0.0148944889778186 \tabularnewline
42 & 0.965745864223118 & 0.0685082715537648 & 0.0342541357768824 \tabularnewline
43 & 0.920839473410632 & 0.158321053178735 & 0.0791605265893675 \tabularnewline
44 & 0.83015080401672 & 0.339698391966561 & 0.169849195983280 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57651&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.0196908182649614[/C][C]0.0393816365299228[/C][C]0.980309181735039[/C][/ROW]
[ROW][C]17[/C][C]0.0078106622286284[/C][C]0.0156213244572568[/C][C]0.992189337771372[/C][/ROW]
[ROW][C]18[/C][C]0.00420926294923128[/C][C]0.00841852589846256[/C][C]0.995790737050769[/C][/ROW]
[ROW][C]19[/C][C]0.00144395634739473[/C][C]0.00288791269478945[/C][C]0.998556043652605[/C][/ROW]
[ROW][C]20[/C][C]0.000441497515291316[/C][C]0.000882995030582632[/C][C]0.99955850248471[/C][/ROW]
[ROW][C]21[/C][C]0.000137436109386613[/C][C]0.000274872218773226[/C][C]0.999862563890613[/C][/ROW]
[ROW][C]22[/C][C]0.000133657178773173[/C][C]0.000267314357546347[/C][C]0.999866342821227[/C][/ROW]
[ROW][C]23[/C][C]0.000311411798305309[/C][C]0.000622823596610617[/C][C]0.999688588201695[/C][/ROW]
[ROW][C]24[/C][C]0.00146569231451824[/C][C]0.00293138462903648[/C][C]0.998534307685482[/C][/ROW]
[ROW][C]25[/C][C]0.0476547648811233[/C][C]0.0953095297622466[/C][C]0.952345235118877[/C][/ROW]
[ROW][C]26[/C][C]0.270268518313878[/C][C]0.540537036627757[/C][C]0.729731481686122[/C][/ROW]
[ROW][C]27[/C][C]0.577948456306307[/C][C]0.844103087387387[/C][C]0.422051543693693[/C][/ROW]
[ROW][C]28[/C][C]0.686374049423525[/C][C]0.62725190115295[/C][C]0.313625950576475[/C][/ROW]
[ROW][C]29[/C][C]0.779523538965542[/C][C]0.440952922068917[/C][C]0.220476461034458[/C][/ROW]
[ROW][C]30[/C][C]0.828679780345196[/C][C]0.342640439309609[/C][C]0.171320219654804[/C][/ROW]
[ROW][C]31[/C][C]0.843340283245553[/C][C]0.313319433508893[/C][C]0.156659716754447[/C][/ROW]
[ROW][C]32[/C][C]0.881468749550330[/C][C]0.237062500899339[/C][C]0.118531250449669[/C][/ROW]
[ROW][C]33[/C][C]0.900434357161233[/C][C]0.199131285677534[/C][C]0.099565642838767[/C][/ROW]
[ROW][C]34[/C][C]0.924685517211507[/C][C]0.150628965576986[/C][C]0.0753144827884929[/C][/ROW]
[ROW][C]35[/C][C]0.94020403535097[/C][C]0.119591929298062[/C][C]0.059795964649031[/C][/ROW]
[ROW][C]36[/C][C]0.959743825818996[/C][C]0.0805123483620087[/C][C]0.0402561741810043[/C][/ROW]
[ROW][C]37[/C][C]0.986149000369901[/C][C]0.0277019992601974[/C][C]0.0138509996300987[/C][/ROW]
[ROW][C]38[/C][C]0.991785519883025[/C][C]0.0164289602339494[/C][C]0.00821448011697469[/C][/ROW]
[ROW][C]39[/C][C]0.992433352106636[/C][C]0.0151332957867289[/C][C]0.00756664789336446[/C][/ROW]
[ROW][C]40[/C][C]0.991254217501142[/C][C]0.0174915649977167[/C][C]0.00874578249885833[/C][/ROW]
[ROW][C]41[/C][C]0.985105511022181[/C][C]0.0297889779556372[/C][C]0.0148944889778186[/C][/ROW]
[ROW][C]42[/C][C]0.965745864223118[/C][C]0.0685082715537648[/C][C]0.0342541357768824[/C][/ROW]
[ROW][C]43[/C][C]0.920839473410632[/C][C]0.158321053178735[/C][C]0.0791605265893675[/C][/ROW]
[ROW][C]44[/C][C]0.83015080401672[/C][C]0.339698391966561[/C][C]0.169849195983280[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57651&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57651&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.01969081826496140.03938163652992280.980309181735039
170.00781066222862840.01562132445725680.992189337771372
180.004209262949231280.008418525898462560.995790737050769
190.001443956347394730.002887912694789450.998556043652605
200.0004414975152913160.0008829950305826320.99955850248471
210.0001374361093866130.0002748722187732260.999862563890613
220.0001336571787731730.0002673143575463470.999866342821227
230.0003114117983053090.0006228235966106170.999688588201695
240.001465692314518240.002931384629036480.998534307685482
250.04765476488112330.09530952976224660.952345235118877
260.2702685183138780.5405370366277570.729731481686122
270.5779484563063070.8441030873873870.422051543693693
280.6863740494235250.627251901152950.313625950576475
290.7795235389655420.4409529220689170.220476461034458
300.8286797803451960.3426404393096090.171320219654804
310.8433402832455530.3133194335088930.156659716754447
320.8814687495503300.2370625008993390.118531250449669
330.9004343571612330.1991312856775340.099565642838767
340.9246855172115070.1506289655769860.0753144827884929
350.940204035350970.1195919292980620.059795964649031
360.9597438258189960.08051234836200870.0402561741810043
370.9861490003699010.02770199926019740.0138509996300987
380.9917855198830250.01642896023394940.00821448011697469
390.9924333521066360.01513329578672890.00756664789336446
400.9912542175011420.01749156499771670.00874578249885833
410.9851055110221810.02978897795563720.0148944889778186
420.9657458642231180.06850827155376480.0342541357768824
430.9208394734106320.1583210531787350.0791605265893675
440.830150804016720.3396983919665610.169849195983280







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level70.241379310344828NOK
5% type I error level140.482758620689655NOK
10% type I error level170.586206896551724NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57651&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 level70.241379310344828NOK
5% type I error level140.482758620689655NOK
10% type I error level170.586206896551724NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}