Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 20 Nov 2009 10:01:52 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/20/t12587367441gxqe2sx1ypaifk.htm/, Retrieved Tue, 23 Apr 2024 11:48:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58333, Retrieved Tue, 23 Apr 2024 11:48:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
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] [Crisis en de goud...] [2009-11-20 17:01:52] [5c2088b06970f9a7d6fea063ee8d5871] [Current]
Feedback Forum

Post a new message
Dataseries X:
22.680	1
22.052	1
21.467	1
21.383	1
21.777	1
21.928	1
21.814	1
22.937	1
23.595	1
20.830	1
19.650	1
19.195	1
19.644	0
18.483	0
18.079	0
19.178	0
18.391	0
18.441	0
18.584	0
20.108	0
20.148	0
19.394	0
17.745	0
17.696	0
17.032	0
16.438	0
15.683	0
15.594	0
15.713	0
15.937	0
16.171	0
15.928	0
16.348	0
15.579	0
15.305	0
15.648	0
14.954	0
15.137	0
15.839	0
16.050	0
15.168	0
17.064	0
16.005	0
14.886	0
14.931	0
14.544	0
13.812	0




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=58333&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=58333&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58333&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
gk[t] = + 16.7330571428571 + 4.87594285714285cr[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
gk[t] =  +  16.7330571428571 +  4.87594285714285cr[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58333&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]gk[t] =  +  16.7330571428571 +  4.87594285714285cr[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58333&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58333&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
gk[t] = + 16.7330571428571 + 4.87594285714285cr[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)16.73305714285710.27375161.125100
cr4.875942857142850.541768900

\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) & 16.7330571428571 & 0.273751 & 61.1251 & 0 & 0 \tabularnewline
cr & 4.87594285714285 & 0.541768 & 9 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58333&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]16.7330571428571[/C][C]0.273751[/C][C]61.1251[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]cr[/C][C]4.87594285714285[/C][C]0.541768[/C][C]9[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58333&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58333&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)16.73305714285710.27375161.125100
cr4.875942857142850.541768900







Multiple Linear Regression - Regression Statistics
Multiple R0.80178529439649
R-squared0.642859658310467
Adjusted R-squared0.634923206272922
F-TEST (value)81.0008874581833
F-TEST (DF numerator)1
F-TEST (DF denominator)45
p-value1.26689769786026e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.61953163247015
Sum Squared Residuals118.029721885714

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.80178529439649 \tabularnewline
R-squared & 0.642859658310467 \tabularnewline
Adjusted R-squared & 0.634923206272922 \tabularnewline
F-TEST (value) & 81.0008874581833 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 1.26689769786026e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.61953163247015 \tabularnewline
Sum Squared Residuals & 118.029721885714 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58333&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.80178529439649[/C][/ROW]
[ROW][C]R-squared[/C][C]0.642859658310467[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.634923206272922[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]81.0008874581833[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]1.26689769786026e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.61953163247015[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]118.029721885714[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58333&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58333&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.80178529439649
R-squared0.642859658310467
Adjusted R-squared0.634923206272922
F-TEST (value)81.0008874581833
F-TEST (DF numerator)1
F-TEST (DF denominator)45
p-value1.26689769786026e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.61953163247015
Sum Squared Residuals118.029721885714







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
122.6821.60900000000001.07100000000003
222.05221.6090.442999999999986
321.46721.609-0.142000000000002
421.38321.609-0.226000000000002
521.77721.6090.168000000000000
621.92821.6090.319
721.81421.6090.204999999999999
822.93721.6091.328
923.59521.6091.986
1020.8321.609-0.779000000000002
1119.6521.609-1.95900000000000
1219.19521.609-2.414
1319.64416.73305714285712.91094285714286
1418.48316.73305714285711.74994285714286
1518.07916.73305714285711.34594285714286
1619.17816.73305714285712.44494285714286
1718.39116.73305714285711.65794285714286
1818.44116.73305714285711.70794285714286
1918.58416.73305714285711.85094285714286
2020.10816.73305714285713.37494285714286
2120.14816.73305714285713.41494285714286
2219.39416.73305714285712.66094285714286
2317.74516.73305714285711.01194285714286
2417.69616.73305714285710.96294285714286
2517.03216.73305714285710.298942857142857
2616.43816.7330571428571-0.295057142857144
2715.68316.7330571428571-1.05005714285714
2815.59416.7330571428571-1.13905714285714
2915.71316.7330571428571-1.02005714285714
3015.93716.7330571428571-0.796057142857143
3116.17116.7330571428571-0.562057142857143
3215.92816.7330571428571-0.805057142857142
3316.34816.7330571428571-0.385057142857144
3415.57916.7330571428571-1.15405714285714
3515.30516.7330571428571-1.42805714285714
3615.64816.7330571428571-1.08505714285714
3714.95416.7330571428571-1.77905714285714
3815.13716.7330571428571-1.59605714285714
3915.83916.7330571428571-0.894057142857142
4016.0516.7330571428571-0.683057142857142
4115.16816.7330571428571-1.56505714285714
4217.06416.73305714285710.330942857142857
4316.00516.7330571428571-0.728057142857144
4414.88616.7330571428571-1.84705714285714
4514.93116.7330571428571-1.80205714285714
4614.54416.7330571428571-2.18905714285714
4713.81216.7330571428571-2.92105714285714

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 22.68 & 21.6090000000000 & 1.07100000000003 \tabularnewline
2 & 22.052 & 21.609 & 0.442999999999986 \tabularnewline
3 & 21.467 & 21.609 & -0.142000000000002 \tabularnewline
4 & 21.383 & 21.609 & -0.226000000000002 \tabularnewline
5 & 21.777 & 21.609 & 0.168000000000000 \tabularnewline
6 & 21.928 & 21.609 & 0.319 \tabularnewline
7 & 21.814 & 21.609 & 0.204999999999999 \tabularnewline
8 & 22.937 & 21.609 & 1.328 \tabularnewline
9 & 23.595 & 21.609 & 1.986 \tabularnewline
10 & 20.83 & 21.609 & -0.779000000000002 \tabularnewline
11 & 19.65 & 21.609 & -1.95900000000000 \tabularnewline
12 & 19.195 & 21.609 & -2.414 \tabularnewline
13 & 19.644 & 16.7330571428571 & 2.91094285714286 \tabularnewline
14 & 18.483 & 16.7330571428571 & 1.74994285714286 \tabularnewline
15 & 18.079 & 16.7330571428571 & 1.34594285714286 \tabularnewline
16 & 19.178 & 16.7330571428571 & 2.44494285714286 \tabularnewline
17 & 18.391 & 16.7330571428571 & 1.65794285714286 \tabularnewline
18 & 18.441 & 16.7330571428571 & 1.70794285714286 \tabularnewline
19 & 18.584 & 16.7330571428571 & 1.85094285714286 \tabularnewline
20 & 20.108 & 16.7330571428571 & 3.37494285714286 \tabularnewline
21 & 20.148 & 16.7330571428571 & 3.41494285714286 \tabularnewline
22 & 19.394 & 16.7330571428571 & 2.66094285714286 \tabularnewline
23 & 17.745 & 16.7330571428571 & 1.01194285714286 \tabularnewline
24 & 17.696 & 16.7330571428571 & 0.96294285714286 \tabularnewline
25 & 17.032 & 16.7330571428571 & 0.298942857142857 \tabularnewline
26 & 16.438 & 16.7330571428571 & -0.295057142857144 \tabularnewline
27 & 15.683 & 16.7330571428571 & -1.05005714285714 \tabularnewline
28 & 15.594 & 16.7330571428571 & -1.13905714285714 \tabularnewline
29 & 15.713 & 16.7330571428571 & -1.02005714285714 \tabularnewline
30 & 15.937 & 16.7330571428571 & -0.796057142857143 \tabularnewline
31 & 16.171 & 16.7330571428571 & -0.562057142857143 \tabularnewline
32 & 15.928 & 16.7330571428571 & -0.805057142857142 \tabularnewline
33 & 16.348 & 16.7330571428571 & -0.385057142857144 \tabularnewline
34 & 15.579 & 16.7330571428571 & -1.15405714285714 \tabularnewline
35 & 15.305 & 16.7330571428571 & -1.42805714285714 \tabularnewline
36 & 15.648 & 16.7330571428571 & -1.08505714285714 \tabularnewline
37 & 14.954 & 16.7330571428571 & -1.77905714285714 \tabularnewline
38 & 15.137 & 16.7330571428571 & -1.59605714285714 \tabularnewline
39 & 15.839 & 16.7330571428571 & -0.894057142857142 \tabularnewline
40 & 16.05 & 16.7330571428571 & -0.683057142857142 \tabularnewline
41 & 15.168 & 16.7330571428571 & -1.56505714285714 \tabularnewline
42 & 17.064 & 16.7330571428571 & 0.330942857142857 \tabularnewline
43 & 16.005 & 16.7330571428571 & -0.728057142857144 \tabularnewline
44 & 14.886 & 16.7330571428571 & -1.84705714285714 \tabularnewline
45 & 14.931 & 16.7330571428571 & -1.80205714285714 \tabularnewline
46 & 14.544 & 16.7330571428571 & -2.18905714285714 \tabularnewline
47 & 13.812 & 16.7330571428571 & -2.92105714285714 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58333&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]22.68[/C][C]21.6090000000000[/C][C]1.07100000000003[/C][/ROW]
[ROW][C]2[/C][C]22.052[/C][C]21.609[/C][C]0.442999999999986[/C][/ROW]
[ROW][C]3[/C][C]21.467[/C][C]21.609[/C][C]-0.142000000000002[/C][/ROW]
[ROW][C]4[/C][C]21.383[/C][C]21.609[/C][C]-0.226000000000002[/C][/ROW]
[ROW][C]5[/C][C]21.777[/C][C]21.609[/C][C]0.168000000000000[/C][/ROW]
[ROW][C]6[/C][C]21.928[/C][C]21.609[/C][C]0.319[/C][/ROW]
[ROW][C]7[/C][C]21.814[/C][C]21.609[/C][C]0.204999999999999[/C][/ROW]
[ROW][C]8[/C][C]22.937[/C][C]21.609[/C][C]1.328[/C][/ROW]
[ROW][C]9[/C][C]23.595[/C][C]21.609[/C][C]1.986[/C][/ROW]
[ROW][C]10[/C][C]20.83[/C][C]21.609[/C][C]-0.779000000000002[/C][/ROW]
[ROW][C]11[/C][C]19.65[/C][C]21.609[/C][C]-1.95900000000000[/C][/ROW]
[ROW][C]12[/C][C]19.195[/C][C]21.609[/C][C]-2.414[/C][/ROW]
[ROW][C]13[/C][C]19.644[/C][C]16.7330571428571[/C][C]2.91094285714286[/C][/ROW]
[ROW][C]14[/C][C]18.483[/C][C]16.7330571428571[/C][C]1.74994285714286[/C][/ROW]
[ROW][C]15[/C][C]18.079[/C][C]16.7330571428571[/C][C]1.34594285714286[/C][/ROW]
[ROW][C]16[/C][C]19.178[/C][C]16.7330571428571[/C][C]2.44494285714286[/C][/ROW]
[ROW][C]17[/C][C]18.391[/C][C]16.7330571428571[/C][C]1.65794285714286[/C][/ROW]
[ROW][C]18[/C][C]18.441[/C][C]16.7330571428571[/C][C]1.70794285714286[/C][/ROW]
[ROW][C]19[/C][C]18.584[/C][C]16.7330571428571[/C][C]1.85094285714286[/C][/ROW]
[ROW][C]20[/C][C]20.108[/C][C]16.7330571428571[/C][C]3.37494285714286[/C][/ROW]
[ROW][C]21[/C][C]20.148[/C][C]16.7330571428571[/C][C]3.41494285714286[/C][/ROW]
[ROW][C]22[/C][C]19.394[/C][C]16.7330571428571[/C][C]2.66094285714286[/C][/ROW]
[ROW][C]23[/C][C]17.745[/C][C]16.7330571428571[/C][C]1.01194285714286[/C][/ROW]
[ROW][C]24[/C][C]17.696[/C][C]16.7330571428571[/C][C]0.96294285714286[/C][/ROW]
[ROW][C]25[/C][C]17.032[/C][C]16.7330571428571[/C][C]0.298942857142857[/C][/ROW]
[ROW][C]26[/C][C]16.438[/C][C]16.7330571428571[/C][C]-0.295057142857144[/C][/ROW]
[ROW][C]27[/C][C]15.683[/C][C]16.7330571428571[/C][C]-1.05005714285714[/C][/ROW]
[ROW][C]28[/C][C]15.594[/C][C]16.7330571428571[/C][C]-1.13905714285714[/C][/ROW]
[ROW][C]29[/C][C]15.713[/C][C]16.7330571428571[/C][C]-1.02005714285714[/C][/ROW]
[ROW][C]30[/C][C]15.937[/C][C]16.7330571428571[/C][C]-0.796057142857143[/C][/ROW]
[ROW][C]31[/C][C]16.171[/C][C]16.7330571428571[/C][C]-0.562057142857143[/C][/ROW]
[ROW][C]32[/C][C]15.928[/C][C]16.7330571428571[/C][C]-0.805057142857142[/C][/ROW]
[ROW][C]33[/C][C]16.348[/C][C]16.7330571428571[/C][C]-0.385057142857144[/C][/ROW]
[ROW][C]34[/C][C]15.579[/C][C]16.7330571428571[/C][C]-1.15405714285714[/C][/ROW]
[ROW][C]35[/C][C]15.305[/C][C]16.7330571428571[/C][C]-1.42805714285714[/C][/ROW]
[ROW][C]36[/C][C]15.648[/C][C]16.7330571428571[/C][C]-1.08505714285714[/C][/ROW]
[ROW][C]37[/C][C]14.954[/C][C]16.7330571428571[/C][C]-1.77905714285714[/C][/ROW]
[ROW][C]38[/C][C]15.137[/C][C]16.7330571428571[/C][C]-1.59605714285714[/C][/ROW]
[ROW][C]39[/C][C]15.839[/C][C]16.7330571428571[/C][C]-0.894057142857142[/C][/ROW]
[ROW][C]40[/C][C]16.05[/C][C]16.7330571428571[/C][C]-0.683057142857142[/C][/ROW]
[ROW][C]41[/C][C]15.168[/C][C]16.7330571428571[/C][C]-1.56505714285714[/C][/ROW]
[ROW][C]42[/C][C]17.064[/C][C]16.7330571428571[/C][C]0.330942857142857[/C][/ROW]
[ROW][C]43[/C][C]16.005[/C][C]16.7330571428571[/C][C]-0.728057142857144[/C][/ROW]
[ROW][C]44[/C][C]14.886[/C][C]16.7330571428571[/C][C]-1.84705714285714[/C][/ROW]
[ROW][C]45[/C][C]14.931[/C][C]16.7330571428571[/C][C]-1.80205714285714[/C][/ROW]
[ROW][C]46[/C][C]14.544[/C][C]16.7330571428571[/C][C]-2.18905714285714[/C][/ROW]
[ROW][C]47[/C][C]13.812[/C][C]16.7330571428571[/C][C]-2.92105714285714[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58333&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58333&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
122.6821.60900000000001.07100000000003
222.05221.6090.442999999999986
321.46721.609-0.142000000000002
421.38321.609-0.226000000000002
521.77721.6090.168000000000000
621.92821.6090.319
721.81421.6090.204999999999999
822.93721.6091.328
923.59521.6091.986
1020.8321.609-0.779000000000002
1119.6521.609-1.95900000000000
1219.19521.609-2.414
1319.64416.73305714285712.91094285714286
1418.48316.73305714285711.74994285714286
1518.07916.73305714285711.34594285714286
1619.17816.73305714285712.44494285714286
1718.39116.73305714285711.65794285714286
1818.44116.73305714285711.70794285714286
1918.58416.73305714285711.85094285714286
2020.10816.73305714285713.37494285714286
2120.14816.73305714285713.41494285714286
2219.39416.73305714285712.66094285714286
2317.74516.73305714285711.01194285714286
2417.69616.73305714285710.96294285714286
2517.03216.73305714285710.298942857142857
2616.43816.7330571428571-0.295057142857144
2715.68316.7330571428571-1.05005714285714
2815.59416.7330571428571-1.13905714285714
2915.71316.7330571428571-1.02005714285714
3015.93716.7330571428571-0.796057142857143
3116.17116.7330571428571-0.562057142857143
3215.92816.7330571428571-0.805057142857142
3316.34816.7330571428571-0.385057142857144
3415.57916.7330571428571-1.15405714285714
3515.30516.7330571428571-1.42805714285714
3615.64816.7330571428571-1.08505714285714
3714.95416.7330571428571-1.77905714285714
3815.13716.7330571428571-1.59605714285714
3915.83916.7330571428571-0.894057142857142
4016.0516.7330571428571-0.683057142857142
4115.16816.7330571428571-1.56505714285714
4217.06416.73305714285710.330942857142857
4316.00516.7330571428571-0.728057142857144
4414.88616.7330571428571-1.84705714285714
4514.93116.7330571428571-1.80205714285714
4614.54416.7330571428571-2.18905714285714
4713.81216.7330571428571-2.92105714285714







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.05569688131379540.1113937626275910.944303118686205
60.01570623961428370.03141247922856740.984293760385716
70.004001027782640000.008002055565279990.99599897221736
80.005989587403914640.01197917480782930.994010412596085
90.02156594961570150.0431318992314030.978434050384299
100.02550114878795930.05100229757591860.97449885121204
110.0856048023532750.171209604706550.914395197646725
120.1793990178051310.3587980356102610.82060098219487
130.1516710868007750.303342173601550.848328913199225
140.1242649098179680.2485298196359360.875735090182032
150.09743099245342620.1948619849068520.902569007546574
160.08610821500678850.1722164300135770.913891784993212
170.06752468640663390.1350493728132680.932475313593366
180.0539918067448630.1079836134897260.946008193255137
190.04609508470583760.09219016941167530.953904915294162
200.1230972844234030.2461945688468060.876902715576597
210.3775995810095040.7551991620190070.622400418990496
220.7109891485888290.5780217028223430.289010851411171
230.8335025295081840.3329949409836320.166497470491816
240.9330812454394110.1338375091211780.0669187545605889
250.9711182770369320.05776344592613520.0288817229630676
260.9843180948215480.03136381035690510.0156819051784525
270.9904165030326850.01916699393463040.00958349696731518
280.9922457118643650.01550857627126920.0077542881356346
290.991777180661850.01644563867630070.00822281933815035
300.9899582022186740.02008359556265160.0100417977813258
310.987898069484320.02420386103136050.0121019305156802
320.9837159877474450.03256802450510950.0162840122525547
330.9823464671710780.03530706565784340.0176535328289217
340.9737410526139040.05251789477219140.0262589473860957
350.9607644158456630.07847116830867340.0392355841543367
360.9390757332650880.1218485334698250.0609242667349124
370.9143454450184030.1713091099631940.085654554981597
380.8697247699624850.2605504600750290.130275230037515
390.8036733946662450.392653210667510.196326605333755
400.7325236025770370.5349527948459260.267476397422963
410.6059732091676480.7880535816647040.394026790832352
420.7862202711678240.4275594576643520.213779728832176

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0556968813137954 & 0.111393762627591 & 0.944303118686205 \tabularnewline
6 & 0.0157062396142837 & 0.0314124792285674 & 0.984293760385716 \tabularnewline
7 & 0.00400102778264000 & 0.00800205556527999 & 0.99599897221736 \tabularnewline
8 & 0.00598958740391464 & 0.0119791748078293 & 0.994010412596085 \tabularnewline
9 & 0.0215659496157015 & 0.043131899231403 & 0.978434050384299 \tabularnewline
10 & 0.0255011487879593 & 0.0510022975759186 & 0.97449885121204 \tabularnewline
11 & 0.085604802353275 & 0.17120960470655 & 0.914395197646725 \tabularnewline
12 & 0.179399017805131 & 0.358798035610261 & 0.82060098219487 \tabularnewline
13 & 0.151671086800775 & 0.30334217360155 & 0.848328913199225 \tabularnewline
14 & 0.124264909817968 & 0.248529819635936 & 0.875735090182032 \tabularnewline
15 & 0.0974309924534262 & 0.194861984906852 & 0.902569007546574 \tabularnewline
16 & 0.0861082150067885 & 0.172216430013577 & 0.913891784993212 \tabularnewline
17 & 0.0675246864066339 & 0.135049372813268 & 0.932475313593366 \tabularnewline
18 & 0.053991806744863 & 0.107983613489726 & 0.946008193255137 \tabularnewline
19 & 0.0460950847058376 & 0.0921901694116753 & 0.953904915294162 \tabularnewline
20 & 0.123097284423403 & 0.246194568846806 & 0.876902715576597 \tabularnewline
21 & 0.377599581009504 & 0.755199162019007 & 0.622400418990496 \tabularnewline
22 & 0.710989148588829 & 0.578021702822343 & 0.289010851411171 \tabularnewline
23 & 0.833502529508184 & 0.332994940983632 & 0.166497470491816 \tabularnewline
24 & 0.933081245439411 & 0.133837509121178 & 0.0669187545605889 \tabularnewline
25 & 0.971118277036932 & 0.0577634459261352 & 0.0288817229630676 \tabularnewline
26 & 0.984318094821548 & 0.0313638103569051 & 0.0156819051784525 \tabularnewline
27 & 0.990416503032685 & 0.0191669939346304 & 0.00958349696731518 \tabularnewline
28 & 0.992245711864365 & 0.0155085762712692 & 0.0077542881356346 \tabularnewline
29 & 0.99177718066185 & 0.0164456386763007 & 0.00822281933815035 \tabularnewline
30 & 0.989958202218674 & 0.0200835955626516 & 0.0100417977813258 \tabularnewline
31 & 0.98789806948432 & 0.0242038610313605 & 0.0121019305156802 \tabularnewline
32 & 0.983715987747445 & 0.0325680245051095 & 0.0162840122525547 \tabularnewline
33 & 0.982346467171078 & 0.0353070656578434 & 0.0176535328289217 \tabularnewline
34 & 0.973741052613904 & 0.0525178947721914 & 0.0262589473860957 \tabularnewline
35 & 0.960764415845663 & 0.0784711683086734 & 0.0392355841543367 \tabularnewline
36 & 0.939075733265088 & 0.121848533469825 & 0.0609242667349124 \tabularnewline
37 & 0.914345445018403 & 0.171309109963194 & 0.085654554981597 \tabularnewline
38 & 0.869724769962485 & 0.260550460075029 & 0.130275230037515 \tabularnewline
39 & 0.803673394666245 & 0.39265321066751 & 0.196326605333755 \tabularnewline
40 & 0.732523602577037 & 0.534952794845926 & 0.267476397422963 \tabularnewline
41 & 0.605973209167648 & 0.788053581664704 & 0.394026790832352 \tabularnewline
42 & 0.786220271167824 & 0.427559457664352 & 0.213779728832176 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58333&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.0556968813137954[/C][C]0.111393762627591[/C][C]0.944303118686205[/C][/ROW]
[ROW][C]6[/C][C]0.0157062396142837[/C][C]0.0314124792285674[/C][C]0.984293760385716[/C][/ROW]
[ROW][C]7[/C][C]0.00400102778264000[/C][C]0.00800205556527999[/C][C]0.99599897221736[/C][/ROW]
[ROW][C]8[/C][C]0.00598958740391464[/C][C]0.0119791748078293[/C][C]0.994010412596085[/C][/ROW]
[ROW][C]9[/C][C]0.0215659496157015[/C][C]0.043131899231403[/C][C]0.978434050384299[/C][/ROW]
[ROW][C]10[/C][C]0.0255011487879593[/C][C]0.0510022975759186[/C][C]0.97449885121204[/C][/ROW]
[ROW][C]11[/C][C]0.085604802353275[/C][C]0.17120960470655[/C][C]0.914395197646725[/C][/ROW]
[ROW][C]12[/C][C]0.179399017805131[/C][C]0.358798035610261[/C][C]0.82060098219487[/C][/ROW]
[ROW][C]13[/C][C]0.151671086800775[/C][C]0.30334217360155[/C][C]0.848328913199225[/C][/ROW]
[ROW][C]14[/C][C]0.124264909817968[/C][C]0.248529819635936[/C][C]0.875735090182032[/C][/ROW]
[ROW][C]15[/C][C]0.0974309924534262[/C][C]0.194861984906852[/C][C]0.902569007546574[/C][/ROW]
[ROW][C]16[/C][C]0.0861082150067885[/C][C]0.172216430013577[/C][C]0.913891784993212[/C][/ROW]
[ROW][C]17[/C][C]0.0675246864066339[/C][C]0.135049372813268[/C][C]0.932475313593366[/C][/ROW]
[ROW][C]18[/C][C]0.053991806744863[/C][C]0.107983613489726[/C][C]0.946008193255137[/C][/ROW]
[ROW][C]19[/C][C]0.0460950847058376[/C][C]0.0921901694116753[/C][C]0.953904915294162[/C][/ROW]
[ROW][C]20[/C][C]0.123097284423403[/C][C]0.246194568846806[/C][C]0.876902715576597[/C][/ROW]
[ROW][C]21[/C][C]0.377599581009504[/C][C]0.755199162019007[/C][C]0.622400418990496[/C][/ROW]
[ROW][C]22[/C][C]0.710989148588829[/C][C]0.578021702822343[/C][C]0.289010851411171[/C][/ROW]
[ROW][C]23[/C][C]0.833502529508184[/C][C]0.332994940983632[/C][C]0.166497470491816[/C][/ROW]
[ROW][C]24[/C][C]0.933081245439411[/C][C]0.133837509121178[/C][C]0.0669187545605889[/C][/ROW]
[ROW][C]25[/C][C]0.971118277036932[/C][C]0.0577634459261352[/C][C]0.0288817229630676[/C][/ROW]
[ROW][C]26[/C][C]0.984318094821548[/C][C]0.0313638103569051[/C][C]0.0156819051784525[/C][/ROW]
[ROW][C]27[/C][C]0.990416503032685[/C][C]0.0191669939346304[/C][C]0.00958349696731518[/C][/ROW]
[ROW][C]28[/C][C]0.992245711864365[/C][C]0.0155085762712692[/C][C]0.0077542881356346[/C][/ROW]
[ROW][C]29[/C][C]0.99177718066185[/C][C]0.0164456386763007[/C][C]0.00822281933815035[/C][/ROW]
[ROW][C]30[/C][C]0.989958202218674[/C][C]0.0200835955626516[/C][C]0.0100417977813258[/C][/ROW]
[ROW][C]31[/C][C]0.98789806948432[/C][C]0.0242038610313605[/C][C]0.0121019305156802[/C][/ROW]
[ROW][C]32[/C][C]0.983715987747445[/C][C]0.0325680245051095[/C][C]0.0162840122525547[/C][/ROW]
[ROW][C]33[/C][C]0.982346467171078[/C][C]0.0353070656578434[/C][C]0.0176535328289217[/C][/ROW]
[ROW][C]34[/C][C]0.973741052613904[/C][C]0.0525178947721914[/C][C]0.0262589473860957[/C][/ROW]
[ROW][C]35[/C][C]0.960764415845663[/C][C]0.0784711683086734[/C][C]0.0392355841543367[/C][/ROW]
[ROW][C]36[/C][C]0.939075733265088[/C][C]0.121848533469825[/C][C]0.0609242667349124[/C][/ROW]
[ROW][C]37[/C][C]0.914345445018403[/C][C]0.171309109963194[/C][C]0.085654554981597[/C][/ROW]
[ROW][C]38[/C][C]0.869724769962485[/C][C]0.260550460075029[/C][C]0.130275230037515[/C][/ROW]
[ROW][C]39[/C][C]0.803673394666245[/C][C]0.39265321066751[/C][C]0.196326605333755[/C][/ROW]
[ROW][C]40[/C][C]0.732523602577037[/C][C]0.534952794845926[/C][C]0.267476397422963[/C][/ROW]
[ROW][C]41[/C][C]0.605973209167648[/C][C]0.788053581664704[/C][C]0.394026790832352[/C][/ROW]
[ROW][C]42[/C][C]0.786220271167824[/C][C]0.427559457664352[/C][C]0.213779728832176[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58333&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58333&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.05569688131379540.1113937626275910.944303118686205
60.01570623961428370.03141247922856740.984293760385716
70.004001027782640000.008002055565279990.99599897221736
80.005989587403914640.01197917480782930.994010412596085
90.02156594961570150.0431318992314030.978434050384299
100.02550114878795930.05100229757591860.97449885121204
110.0856048023532750.171209604706550.914395197646725
120.1793990178051310.3587980356102610.82060098219487
130.1516710868007750.303342173601550.848328913199225
140.1242649098179680.2485298196359360.875735090182032
150.09743099245342620.1948619849068520.902569007546574
160.08610821500678850.1722164300135770.913891784993212
170.06752468640663390.1350493728132680.932475313593366
180.0539918067448630.1079836134897260.946008193255137
190.04609508470583760.09219016941167530.953904915294162
200.1230972844234030.2461945688468060.876902715576597
210.3775995810095040.7551991620190070.622400418990496
220.7109891485888290.5780217028223430.289010851411171
230.8335025295081840.3329949409836320.166497470491816
240.9330812454394110.1338375091211780.0669187545605889
250.9711182770369320.05776344592613520.0288817229630676
260.9843180948215480.03136381035690510.0156819051784525
270.9904165030326850.01916699393463040.00958349696731518
280.9922457118643650.01550857627126920.0077542881356346
290.991777180661850.01644563867630070.00822281933815035
300.9899582022186740.02008359556265160.0100417977813258
310.987898069484320.02420386103136050.0121019305156802
320.9837159877474450.03256802450510950.0162840122525547
330.9823464671710780.03530706565784340.0176535328289217
340.9737410526139040.05251789477219140.0262589473860957
350.9607644158456630.07847116830867340.0392355841543367
360.9390757332650880.1218485334698250.0609242667349124
370.9143454450184030.1713091099631940.085654554981597
380.8697247699624850.2605504600750290.130275230037515
390.8036733946662450.392653210667510.196326605333755
400.7325236025770370.5349527948459260.267476397422963
410.6059732091676480.7880535816647040.394026790832352
420.7862202711678240.4275594576643520.213779728832176







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0263157894736842NOK
5% type I error level120.315789473684211NOK
10% type I error level170.447368421052632NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58333&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 level10.0263157894736842NOK
5% type I error level120.315789473684211NOK
10% type I error level170.447368421052632NOK



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