Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 23 Nov 2008 12:10:24 -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/2008/Nov/23/t1227467480tb8ryr4tdv51k23.htm/, Retrieved Sun, 19 May 2024 12:35:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25320, Retrieved Sun, 19 May 2024 12:35:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact100
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2008-11-23 19:10:24] [cae3b9b084628ae4df84563390017721] [Current]
Feedback Forum

Post a new message
Dataseries X:
1,0622	1
1,0183	1
1,0014	1
0,9811	1
0,9808	1
0,9778	1
0,9922	1
0,9554	1
0,917	1
0,8858	1
0,8758	1
0,87	1
0,8833	1
0,8924	1
0,8883	1
0,9059	1
0,9111	1
0,9005	0
0,8607	0
0,8532	0
0,8742	0
0,892	0
0,9095	0
0,9217	0
0,9383	0
0,8973	0
0,8564	0
0,8552	0
0,8721	0
0,9041	0
0,9397	0
0,9492	0
0,906	0
0,947	0
0,9643	0
0,9834	0
1,0137	0
1,011	0
1,0338	0
1,0706	0
1,0501	0
1,0604	0
1,0353	0
1,0378	0
1,0628	0
1,0704	0
1,0883	0
1,1208	0
1,1608	0
	
	
	
	




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25320&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25320&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25320&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'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
wisselkoers[t] = + 0.97001875 -0.0289128676470588dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
wisselkoers[t] =  +  0.97001875 -0.0289128676470588dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25320&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]wisselkoers[t] =  +  0.97001875 -0.0289128676470588dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25320&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25320&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
wisselkoers[t] = + 0.97001875 -0.0289128676470588dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.970018750.01394469.566200
dummy-0.02891286764705880.023673-1.22130.2280490.114025

\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) & 0.97001875 & 0.013944 & 69.5662 & 0 & 0 \tabularnewline
dummy & -0.0289128676470588 & 0.023673 & -1.2213 & 0.228049 & 0.114025 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25320&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]0.97001875[/C][C]0.013944[/C][C]69.5662[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummy[/C][C]-0.0289128676470588[/C][C]0.023673[/C][C]-1.2213[/C][C]0.228049[/C][C]0.114025[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25320&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25320&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)0.970018750.01394469.566200
dummy-0.02891286764705880.023673-1.22130.2280490.114025







Multiple Linear Regression - Regression Statistics
Multiple R0.175388901016314
R-squared0.0307612665997102
Adjusted R-squared0.0101391658890658
F-TEST (value)1.49166503603739
F-TEST (DF numerator)1
F-TEST (DF denominator)47
p-value0.228049456481660
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0788781875522436
Sum Squared Residuals0.292423118161765

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.175388901016314 \tabularnewline
R-squared & 0.0307612665997102 \tabularnewline
Adjusted R-squared & 0.0101391658890658 \tabularnewline
F-TEST (value) & 1.49166503603739 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.228049456481660 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.0788781875522436 \tabularnewline
Sum Squared Residuals & 0.292423118161765 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25320&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.175388901016314[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0307612665997102[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0101391658890658[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.49166503603739[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.228049456481660[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.0788781875522436[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.292423118161765[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25320&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25320&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.175388901016314
R-squared0.0307612665997102
Adjusted R-squared0.0101391658890658
F-TEST (value)1.49166503603739
F-TEST (DF numerator)1
F-TEST (DF denominator)47
p-value0.228049456481660
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0788781875522436
Sum Squared Residuals0.292423118161765







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.06220.9411058823529410.121094117647059
21.01830.9411058823529410.0771941176470588
31.00140.9411058823529410.0602941176470589
40.98110.9411058823529410.0399941176470588
50.98080.9411058823529410.0396941176470588
60.97780.9411058823529410.0366941176470588
70.99220.9411058823529410.0510941176470588
80.95540.9411058823529410.0142941176470588
90.9170.941105882352941-0.0241058823529412
100.88580.941105882352941-0.0553058823529412
110.87580.941105882352941-0.0653058823529412
120.870.941105882352941-0.0711058823529412
130.88330.941105882352941-0.0578058823529412
140.89240.941105882352941-0.0487058823529412
150.88830.941105882352941-0.0528058823529412
160.90590.941105882352941-0.0352058823529412
170.91110.941105882352941-0.0300058823529412
180.90050.97001875-0.06951875
190.86070.97001875-0.10931875
200.85320.97001875-0.11681875
210.87420.97001875-0.09581875
220.8920.97001875-0.07801875
230.90950.97001875-0.06051875
240.92170.97001875-0.04831875
250.93830.97001875-0.03171875
260.89730.97001875-0.07271875
270.85640.97001875-0.11361875
280.85520.97001875-0.11481875
290.87210.97001875-0.09791875
300.90410.97001875-0.06591875
310.93970.97001875-0.0303187500000000
320.94920.97001875-0.02081875
330.9060.97001875-0.06401875
340.9470.97001875-0.0230187500000001
350.96430.97001875-0.00571874999999997
360.98340.970018750.0133812500000000
371.01370.970018750.04368125
381.0110.970018750.0409812499999999
391.03380.970018750.06378125
401.07060.970018750.10058125
411.05010.970018750.08008125
421.06040.970018750.09038125
431.03530.970018750.0652812500000001
441.03780.970018750.06778125
451.06280.970018750.09278125
461.07040.970018750.10038125
471.08830.970018750.11828125
481.12080.970018750.15078125
491.16080.970018750.19078125

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.0622 & 0.941105882352941 & 0.121094117647059 \tabularnewline
2 & 1.0183 & 0.941105882352941 & 0.0771941176470588 \tabularnewline
3 & 1.0014 & 0.941105882352941 & 0.0602941176470589 \tabularnewline
4 & 0.9811 & 0.941105882352941 & 0.0399941176470588 \tabularnewline
5 & 0.9808 & 0.941105882352941 & 0.0396941176470588 \tabularnewline
6 & 0.9778 & 0.941105882352941 & 0.0366941176470588 \tabularnewline
7 & 0.9922 & 0.941105882352941 & 0.0510941176470588 \tabularnewline
8 & 0.9554 & 0.941105882352941 & 0.0142941176470588 \tabularnewline
9 & 0.917 & 0.941105882352941 & -0.0241058823529412 \tabularnewline
10 & 0.8858 & 0.941105882352941 & -0.0553058823529412 \tabularnewline
11 & 0.8758 & 0.941105882352941 & -0.0653058823529412 \tabularnewline
12 & 0.87 & 0.941105882352941 & -0.0711058823529412 \tabularnewline
13 & 0.8833 & 0.941105882352941 & -0.0578058823529412 \tabularnewline
14 & 0.8924 & 0.941105882352941 & -0.0487058823529412 \tabularnewline
15 & 0.8883 & 0.941105882352941 & -0.0528058823529412 \tabularnewline
16 & 0.9059 & 0.941105882352941 & -0.0352058823529412 \tabularnewline
17 & 0.9111 & 0.941105882352941 & -0.0300058823529412 \tabularnewline
18 & 0.9005 & 0.97001875 & -0.06951875 \tabularnewline
19 & 0.8607 & 0.97001875 & -0.10931875 \tabularnewline
20 & 0.8532 & 0.97001875 & -0.11681875 \tabularnewline
21 & 0.8742 & 0.97001875 & -0.09581875 \tabularnewline
22 & 0.892 & 0.97001875 & -0.07801875 \tabularnewline
23 & 0.9095 & 0.97001875 & -0.06051875 \tabularnewline
24 & 0.9217 & 0.97001875 & -0.04831875 \tabularnewline
25 & 0.9383 & 0.97001875 & -0.03171875 \tabularnewline
26 & 0.8973 & 0.97001875 & -0.07271875 \tabularnewline
27 & 0.8564 & 0.97001875 & -0.11361875 \tabularnewline
28 & 0.8552 & 0.97001875 & -0.11481875 \tabularnewline
29 & 0.8721 & 0.97001875 & -0.09791875 \tabularnewline
30 & 0.9041 & 0.97001875 & -0.06591875 \tabularnewline
31 & 0.9397 & 0.97001875 & -0.0303187500000000 \tabularnewline
32 & 0.9492 & 0.97001875 & -0.02081875 \tabularnewline
33 & 0.906 & 0.97001875 & -0.06401875 \tabularnewline
34 & 0.947 & 0.97001875 & -0.0230187500000001 \tabularnewline
35 & 0.9643 & 0.97001875 & -0.00571874999999997 \tabularnewline
36 & 0.9834 & 0.97001875 & 0.0133812500000000 \tabularnewline
37 & 1.0137 & 0.97001875 & 0.04368125 \tabularnewline
38 & 1.011 & 0.97001875 & 0.0409812499999999 \tabularnewline
39 & 1.0338 & 0.97001875 & 0.06378125 \tabularnewline
40 & 1.0706 & 0.97001875 & 0.10058125 \tabularnewline
41 & 1.0501 & 0.97001875 & 0.08008125 \tabularnewline
42 & 1.0604 & 0.97001875 & 0.09038125 \tabularnewline
43 & 1.0353 & 0.97001875 & 0.0652812500000001 \tabularnewline
44 & 1.0378 & 0.97001875 & 0.06778125 \tabularnewline
45 & 1.0628 & 0.97001875 & 0.09278125 \tabularnewline
46 & 1.0704 & 0.97001875 & 0.10038125 \tabularnewline
47 & 1.0883 & 0.97001875 & 0.11828125 \tabularnewline
48 & 1.1208 & 0.97001875 & 0.15078125 \tabularnewline
49 & 1.1608 & 0.97001875 & 0.19078125 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25320&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]1.0622[/C][C]0.941105882352941[/C][C]0.121094117647059[/C][/ROW]
[ROW][C]2[/C][C]1.0183[/C][C]0.941105882352941[/C][C]0.0771941176470588[/C][/ROW]
[ROW][C]3[/C][C]1.0014[/C][C]0.941105882352941[/C][C]0.0602941176470589[/C][/ROW]
[ROW][C]4[/C][C]0.9811[/C][C]0.941105882352941[/C][C]0.0399941176470588[/C][/ROW]
[ROW][C]5[/C][C]0.9808[/C][C]0.941105882352941[/C][C]0.0396941176470588[/C][/ROW]
[ROW][C]6[/C][C]0.9778[/C][C]0.941105882352941[/C][C]0.0366941176470588[/C][/ROW]
[ROW][C]7[/C][C]0.9922[/C][C]0.941105882352941[/C][C]0.0510941176470588[/C][/ROW]
[ROW][C]8[/C][C]0.9554[/C][C]0.941105882352941[/C][C]0.0142941176470588[/C][/ROW]
[ROW][C]9[/C][C]0.917[/C][C]0.941105882352941[/C][C]-0.0241058823529412[/C][/ROW]
[ROW][C]10[/C][C]0.8858[/C][C]0.941105882352941[/C][C]-0.0553058823529412[/C][/ROW]
[ROW][C]11[/C][C]0.8758[/C][C]0.941105882352941[/C][C]-0.0653058823529412[/C][/ROW]
[ROW][C]12[/C][C]0.87[/C][C]0.941105882352941[/C][C]-0.0711058823529412[/C][/ROW]
[ROW][C]13[/C][C]0.8833[/C][C]0.941105882352941[/C][C]-0.0578058823529412[/C][/ROW]
[ROW][C]14[/C][C]0.8924[/C][C]0.941105882352941[/C][C]-0.0487058823529412[/C][/ROW]
[ROW][C]15[/C][C]0.8883[/C][C]0.941105882352941[/C][C]-0.0528058823529412[/C][/ROW]
[ROW][C]16[/C][C]0.9059[/C][C]0.941105882352941[/C][C]-0.0352058823529412[/C][/ROW]
[ROW][C]17[/C][C]0.9111[/C][C]0.941105882352941[/C][C]-0.0300058823529412[/C][/ROW]
[ROW][C]18[/C][C]0.9005[/C][C]0.97001875[/C][C]-0.06951875[/C][/ROW]
[ROW][C]19[/C][C]0.8607[/C][C]0.97001875[/C][C]-0.10931875[/C][/ROW]
[ROW][C]20[/C][C]0.8532[/C][C]0.97001875[/C][C]-0.11681875[/C][/ROW]
[ROW][C]21[/C][C]0.8742[/C][C]0.97001875[/C][C]-0.09581875[/C][/ROW]
[ROW][C]22[/C][C]0.892[/C][C]0.97001875[/C][C]-0.07801875[/C][/ROW]
[ROW][C]23[/C][C]0.9095[/C][C]0.97001875[/C][C]-0.06051875[/C][/ROW]
[ROW][C]24[/C][C]0.9217[/C][C]0.97001875[/C][C]-0.04831875[/C][/ROW]
[ROW][C]25[/C][C]0.9383[/C][C]0.97001875[/C][C]-0.03171875[/C][/ROW]
[ROW][C]26[/C][C]0.8973[/C][C]0.97001875[/C][C]-0.07271875[/C][/ROW]
[ROW][C]27[/C][C]0.8564[/C][C]0.97001875[/C][C]-0.11361875[/C][/ROW]
[ROW][C]28[/C][C]0.8552[/C][C]0.97001875[/C][C]-0.11481875[/C][/ROW]
[ROW][C]29[/C][C]0.8721[/C][C]0.97001875[/C][C]-0.09791875[/C][/ROW]
[ROW][C]30[/C][C]0.9041[/C][C]0.97001875[/C][C]-0.06591875[/C][/ROW]
[ROW][C]31[/C][C]0.9397[/C][C]0.97001875[/C][C]-0.0303187500000000[/C][/ROW]
[ROW][C]32[/C][C]0.9492[/C][C]0.97001875[/C][C]-0.02081875[/C][/ROW]
[ROW][C]33[/C][C]0.906[/C][C]0.97001875[/C][C]-0.06401875[/C][/ROW]
[ROW][C]34[/C][C]0.947[/C][C]0.97001875[/C][C]-0.0230187500000001[/C][/ROW]
[ROW][C]35[/C][C]0.9643[/C][C]0.97001875[/C][C]-0.00571874999999997[/C][/ROW]
[ROW][C]36[/C][C]0.9834[/C][C]0.97001875[/C][C]0.0133812500000000[/C][/ROW]
[ROW][C]37[/C][C]1.0137[/C][C]0.97001875[/C][C]0.04368125[/C][/ROW]
[ROW][C]38[/C][C]1.011[/C][C]0.97001875[/C][C]0.0409812499999999[/C][/ROW]
[ROW][C]39[/C][C]1.0338[/C][C]0.97001875[/C][C]0.06378125[/C][/ROW]
[ROW][C]40[/C][C]1.0706[/C][C]0.97001875[/C][C]0.10058125[/C][/ROW]
[ROW][C]41[/C][C]1.0501[/C][C]0.97001875[/C][C]0.08008125[/C][/ROW]
[ROW][C]42[/C][C]1.0604[/C][C]0.97001875[/C][C]0.09038125[/C][/ROW]
[ROW][C]43[/C][C]1.0353[/C][C]0.97001875[/C][C]0.0652812500000001[/C][/ROW]
[ROW][C]44[/C][C]1.0378[/C][C]0.97001875[/C][C]0.06778125[/C][/ROW]
[ROW][C]45[/C][C]1.0628[/C][C]0.97001875[/C][C]0.09278125[/C][/ROW]
[ROW][C]46[/C][C]1.0704[/C][C]0.97001875[/C][C]0.10038125[/C][/ROW]
[ROW][C]47[/C][C]1.0883[/C][C]0.97001875[/C][C]0.11828125[/C][/ROW]
[ROW][C]48[/C][C]1.1208[/C][C]0.97001875[/C][C]0.15078125[/C][/ROW]
[ROW][C]49[/C][C]1.1608[/C][C]0.97001875[/C][C]0.19078125[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25320&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25320&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
11.06220.9411058823529410.121094117647059
21.01830.9411058823529410.0771941176470588
31.00140.9411058823529410.0602941176470589
40.98110.9411058823529410.0399941176470588
50.98080.9411058823529410.0396941176470588
60.97780.9411058823529410.0366941176470588
70.99220.9411058823529410.0510941176470588
80.95540.9411058823529410.0142941176470588
90.9170.941105882352941-0.0241058823529412
100.88580.941105882352941-0.0553058823529412
110.87580.941105882352941-0.0653058823529412
120.870.941105882352941-0.0711058823529412
130.88330.941105882352941-0.0578058823529412
140.89240.941105882352941-0.0487058823529412
150.88830.941105882352941-0.0528058823529412
160.90590.941105882352941-0.0352058823529412
170.91110.941105882352941-0.0300058823529412
180.90050.97001875-0.06951875
190.86070.97001875-0.10931875
200.85320.97001875-0.11681875
210.87420.97001875-0.09581875
220.8920.97001875-0.07801875
230.90950.97001875-0.06051875
240.92170.97001875-0.04831875
250.93830.97001875-0.03171875
260.89730.97001875-0.07271875
270.85640.97001875-0.11361875
280.85520.97001875-0.11481875
290.87210.97001875-0.09791875
300.90410.97001875-0.06591875
310.93970.97001875-0.0303187500000000
320.94920.97001875-0.02081875
330.9060.97001875-0.06401875
340.9470.97001875-0.0230187500000001
350.96430.97001875-0.00571874999999997
360.98340.970018750.0133812500000000
371.01370.970018750.04368125
381.0110.970018750.0409812499999999
391.03380.970018750.06378125
401.07060.970018750.10058125
411.05010.970018750.08008125
421.06040.970018750.09038125
431.03530.970018750.0652812500000001
441.03780.970018750.06778125
451.06280.970018750.09278125
461.07040.970018750.10038125
471.08830.970018750.11828125
481.12080.970018750.15078125
491.16080.970018750.19078125







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1385844526393990.2771689052787970.861415547360601
60.07336148673943120.1467229734788620.926638513260569
70.03137180678360410.06274361356720820.968628193216396
80.02515049197564640.05030098395129280.974849508024354
90.04791725859027970.09583451718055940.95208274140972
100.1049147917357530.2098295834715050.895085208264247
110.1567298442278480.3134596884556970.843270155772151
120.1922795812659110.3845591625318220.807720418734089
130.1808437975251650.361687595050330.819156202474835
140.1504077955830980.3008155911661960.849592204416902
150.1240507630960360.2481015261920720.875949236903964
160.08869637679953660.1773927535990730.911303623200463
170.05973688446093660.1194737689218730.940263115539063
180.0397813414812820.0795626829625640.960218658518718
190.03261139310661460.06522278621322920.967388606893385
200.028461439029290.056922878058580.97153856097071
210.02234005496244760.04468010992489510.977659945037552
220.01695667509642460.03391335019284930.983043324903575
230.01276018989157660.02552037978315310.987239810108423
240.009595488596995280.01919097719399060.990404511403005
250.007388064484732720.01477612896946540.992611935515267
260.005880228604690880.01176045720938180.99411977139531
270.00907927757262610.01815855514525220.990920722427374
280.01787192837657950.03574385675315910.98212807162342
290.03329610168026030.06659220336052070.96670389831974
300.04947322939186560.09894645878373120.950526770608134
310.06331596541292160.1266319308258430.936684034587078
320.08190522222000810.1638104444400160.918094777779992
330.1986384453377550.397276890675510.801361554662245
340.3300667456224290.6601334912448570.669933254377571
350.4947157071992360.9894314143984730.505284292800764
360.6472655901298230.7054688197403540.352734409870177
370.7226979499519560.5546041000960870.277302050048044
380.7966236161142880.4067527677714240.203376383885712
390.8174822431607040.3650355136785920.182517756839296
400.801146870704040.3977062585919220.198853129295961
410.767365064847160.465269870305680.23263493515284
420.7049861484986140.5900277030027720.295013851501386
430.684891397687290.630217204625420.31510860231271
440.6882462404363140.6235075191273720.311753759563686

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.138584452639399 & 0.277168905278797 & 0.861415547360601 \tabularnewline
6 & 0.0733614867394312 & 0.146722973478862 & 0.926638513260569 \tabularnewline
7 & 0.0313718067836041 & 0.0627436135672082 & 0.968628193216396 \tabularnewline
8 & 0.0251504919756464 & 0.0503009839512928 & 0.974849508024354 \tabularnewline
9 & 0.0479172585902797 & 0.0958345171805594 & 0.95208274140972 \tabularnewline
10 & 0.104914791735753 & 0.209829583471505 & 0.895085208264247 \tabularnewline
11 & 0.156729844227848 & 0.313459688455697 & 0.843270155772151 \tabularnewline
12 & 0.192279581265911 & 0.384559162531822 & 0.807720418734089 \tabularnewline
13 & 0.180843797525165 & 0.36168759505033 & 0.819156202474835 \tabularnewline
14 & 0.150407795583098 & 0.300815591166196 & 0.849592204416902 \tabularnewline
15 & 0.124050763096036 & 0.248101526192072 & 0.875949236903964 \tabularnewline
16 & 0.0886963767995366 & 0.177392753599073 & 0.911303623200463 \tabularnewline
17 & 0.0597368844609366 & 0.119473768921873 & 0.940263115539063 \tabularnewline
18 & 0.039781341481282 & 0.079562682962564 & 0.960218658518718 \tabularnewline
19 & 0.0326113931066146 & 0.0652227862132292 & 0.967388606893385 \tabularnewline
20 & 0.02846143902929 & 0.05692287805858 & 0.97153856097071 \tabularnewline
21 & 0.0223400549624476 & 0.0446801099248951 & 0.977659945037552 \tabularnewline
22 & 0.0169566750964246 & 0.0339133501928493 & 0.983043324903575 \tabularnewline
23 & 0.0127601898915766 & 0.0255203797831531 & 0.987239810108423 \tabularnewline
24 & 0.00959548859699528 & 0.0191909771939906 & 0.990404511403005 \tabularnewline
25 & 0.00738806448473272 & 0.0147761289694654 & 0.992611935515267 \tabularnewline
26 & 0.00588022860469088 & 0.0117604572093818 & 0.99411977139531 \tabularnewline
27 & 0.0090792775726261 & 0.0181585551452522 & 0.990920722427374 \tabularnewline
28 & 0.0178719283765795 & 0.0357438567531591 & 0.98212807162342 \tabularnewline
29 & 0.0332961016802603 & 0.0665922033605207 & 0.96670389831974 \tabularnewline
30 & 0.0494732293918656 & 0.0989464587837312 & 0.950526770608134 \tabularnewline
31 & 0.0633159654129216 & 0.126631930825843 & 0.936684034587078 \tabularnewline
32 & 0.0819052222200081 & 0.163810444440016 & 0.918094777779992 \tabularnewline
33 & 0.198638445337755 & 0.39727689067551 & 0.801361554662245 \tabularnewline
34 & 0.330066745622429 & 0.660133491244857 & 0.669933254377571 \tabularnewline
35 & 0.494715707199236 & 0.989431414398473 & 0.505284292800764 \tabularnewline
36 & 0.647265590129823 & 0.705468819740354 & 0.352734409870177 \tabularnewline
37 & 0.722697949951956 & 0.554604100096087 & 0.277302050048044 \tabularnewline
38 & 0.796623616114288 & 0.406752767771424 & 0.203376383885712 \tabularnewline
39 & 0.817482243160704 & 0.365035513678592 & 0.182517756839296 \tabularnewline
40 & 0.80114687070404 & 0.397706258591922 & 0.198853129295961 \tabularnewline
41 & 0.76736506484716 & 0.46526987030568 & 0.23263493515284 \tabularnewline
42 & 0.704986148498614 & 0.590027703002772 & 0.295013851501386 \tabularnewline
43 & 0.68489139768729 & 0.63021720462542 & 0.31510860231271 \tabularnewline
44 & 0.688246240436314 & 0.623507519127372 & 0.311753759563686 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25320&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.138584452639399[/C][C]0.277168905278797[/C][C]0.861415547360601[/C][/ROW]
[ROW][C]6[/C][C]0.0733614867394312[/C][C]0.146722973478862[/C][C]0.926638513260569[/C][/ROW]
[ROW][C]7[/C][C]0.0313718067836041[/C][C]0.0627436135672082[/C][C]0.968628193216396[/C][/ROW]
[ROW][C]8[/C][C]0.0251504919756464[/C][C]0.0503009839512928[/C][C]0.974849508024354[/C][/ROW]
[ROW][C]9[/C][C]0.0479172585902797[/C][C]0.0958345171805594[/C][C]0.95208274140972[/C][/ROW]
[ROW][C]10[/C][C]0.104914791735753[/C][C]0.209829583471505[/C][C]0.895085208264247[/C][/ROW]
[ROW][C]11[/C][C]0.156729844227848[/C][C]0.313459688455697[/C][C]0.843270155772151[/C][/ROW]
[ROW][C]12[/C][C]0.192279581265911[/C][C]0.384559162531822[/C][C]0.807720418734089[/C][/ROW]
[ROW][C]13[/C][C]0.180843797525165[/C][C]0.36168759505033[/C][C]0.819156202474835[/C][/ROW]
[ROW][C]14[/C][C]0.150407795583098[/C][C]0.300815591166196[/C][C]0.849592204416902[/C][/ROW]
[ROW][C]15[/C][C]0.124050763096036[/C][C]0.248101526192072[/C][C]0.875949236903964[/C][/ROW]
[ROW][C]16[/C][C]0.0886963767995366[/C][C]0.177392753599073[/C][C]0.911303623200463[/C][/ROW]
[ROW][C]17[/C][C]0.0597368844609366[/C][C]0.119473768921873[/C][C]0.940263115539063[/C][/ROW]
[ROW][C]18[/C][C]0.039781341481282[/C][C]0.079562682962564[/C][C]0.960218658518718[/C][/ROW]
[ROW][C]19[/C][C]0.0326113931066146[/C][C]0.0652227862132292[/C][C]0.967388606893385[/C][/ROW]
[ROW][C]20[/C][C]0.02846143902929[/C][C]0.05692287805858[/C][C]0.97153856097071[/C][/ROW]
[ROW][C]21[/C][C]0.0223400549624476[/C][C]0.0446801099248951[/C][C]0.977659945037552[/C][/ROW]
[ROW][C]22[/C][C]0.0169566750964246[/C][C]0.0339133501928493[/C][C]0.983043324903575[/C][/ROW]
[ROW][C]23[/C][C]0.0127601898915766[/C][C]0.0255203797831531[/C][C]0.987239810108423[/C][/ROW]
[ROW][C]24[/C][C]0.00959548859699528[/C][C]0.0191909771939906[/C][C]0.990404511403005[/C][/ROW]
[ROW][C]25[/C][C]0.00738806448473272[/C][C]0.0147761289694654[/C][C]0.992611935515267[/C][/ROW]
[ROW][C]26[/C][C]0.00588022860469088[/C][C]0.0117604572093818[/C][C]0.99411977139531[/C][/ROW]
[ROW][C]27[/C][C]0.0090792775726261[/C][C]0.0181585551452522[/C][C]0.990920722427374[/C][/ROW]
[ROW][C]28[/C][C]0.0178719283765795[/C][C]0.0357438567531591[/C][C]0.98212807162342[/C][/ROW]
[ROW][C]29[/C][C]0.0332961016802603[/C][C]0.0665922033605207[/C][C]0.96670389831974[/C][/ROW]
[ROW][C]30[/C][C]0.0494732293918656[/C][C]0.0989464587837312[/C][C]0.950526770608134[/C][/ROW]
[ROW][C]31[/C][C]0.0633159654129216[/C][C]0.126631930825843[/C][C]0.936684034587078[/C][/ROW]
[ROW][C]32[/C][C]0.0819052222200081[/C][C]0.163810444440016[/C][C]0.918094777779992[/C][/ROW]
[ROW][C]33[/C][C]0.198638445337755[/C][C]0.39727689067551[/C][C]0.801361554662245[/C][/ROW]
[ROW][C]34[/C][C]0.330066745622429[/C][C]0.660133491244857[/C][C]0.669933254377571[/C][/ROW]
[ROW][C]35[/C][C]0.494715707199236[/C][C]0.989431414398473[/C][C]0.505284292800764[/C][/ROW]
[ROW][C]36[/C][C]0.647265590129823[/C][C]0.705468819740354[/C][C]0.352734409870177[/C][/ROW]
[ROW][C]37[/C][C]0.722697949951956[/C][C]0.554604100096087[/C][C]0.277302050048044[/C][/ROW]
[ROW][C]38[/C][C]0.796623616114288[/C][C]0.406752767771424[/C][C]0.203376383885712[/C][/ROW]
[ROW][C]39[/C][C]0.817482243160704[/C][C]0.365035513678592[/C][C]0.182517756839296[/C][/ROW]
[ROW][C]40[/C][C]0.80114687070404[/C][C]0.397706258591922[/C][C]0.198853129295961[/C][/ROW]
[ROW][C]41[/C][C]0.76736506484716[/C][C]0.46526987030568[/C][C]0.23263493515284[/C][/ROW]
[ROW][C]42[/C][C]0.704986148498614[/C][C]0.590027703002772[/C][C]0.295013851501386[/C][/ROW]
[ROW][C]43[/C][C]0.68489139768729[/C][C]0.63021720462542[/C][C]0.31510860231271[/C][/ROW]
[ROW][C]44[/C][C]0.688246240436314[/C][C]0.623507519127372[/C][C]0.311753759563686[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25320&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25320&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.1385844526393990.2771689052787970.861415547360601
60.07336148673943120.1467229734788620.926638513260569
70.03137180678360410.06274361356720820.968628193216396
80.02515049197564640.05030098395129280.974849508024354
90.04791725859027970.09583451718055940.95208274140972
100.1049147917357530.2098295834715050.895085208264247
110.1567298442278480.3134596884556970.843270155772151
120.1922795812659110.3845591625318220.807720418734089
130.1808437975251650.361687595050330.819156202474835
140.1504077955830980.3008155911661960.849592204416902
150.1240507630960360.2481015261920720.875949236903964
160.08869637679953660.1773927535990730.911303623200463
170.05973688446093660.1194737689218730.940263115539063
180.0397813414812820.0795626829625640.960218658518718
190.03261139310661460.06522278621322920.967388606893385
200.028461439029290.056922878058580.97153856097071
210.02234005496244760.04468010992489510.977659945037552
220.01695667509642460.03391335019284930.983043324903575
230.01276018989157660.02552037978315310.987239810108423
240.009595488596995280.01919097719399060.990404511403005
250.007388064484732720.01477612896946540.992611935515267
260.005880228604690880.01176045720938180.99411977139531
270.00907927757262610.01815855514525220.990920722427374
280.01787192837657950.03574385675315910.98212807162342
290.03329610168026030.06659220336052070.96670389831974
300.04947322939186560.09894645878373120.950526770608134
310.06331596541292160.1266319308258430.936684034587078
320.08190522222000810.1638104444400160.918094777779992
330.1986384453377550.397276890675510.801361554662245
340.3300667456224290.6601334912448570.669933254377571
350.4947157071992360.9894314143984730.505284292800764
360.6472655901298230.7054688197403540.352734409870177
370.7226979499519560.5546041000960870.277302050048044
380.7966236161142880.4067527677714240.203376383885712
390.8174822431607040.3650355136785920.182517756839296
400.801146870704040.3977062585919220.198853129295961
410.767365064847160.465269870305680.23263493515284
420.7049861484986140.5900277030027720.295013851501386
430.684891397687290.630217204625420.31510860231271
440.6882462404363140.6235075191273720.311753759563686







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level80.2NOK
10% type I error level160.4NOK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 8 & 0.2 & NOK \tabularnewline
10% type I error level & 16 & 0.4 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25320&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]8[/C][C]0.2[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]16[/C][C]0.4[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25320&T=6

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level80.2NOK
10% type I error level160.4NOK



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