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 computationWed, 22 Dec 2010 20:19:40 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/22/t1293049096xhoa62nunbtgn90.htm/, Retrieved Mon, 06 May 2024 08:37:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114554, Retrieved Mon, 06 May 2024 08:37:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact127
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-22 20:19:40] [c8b0d20ebafa6d61ca10522fa626ae82] [Current]
Feedback Forum

Post a new message
Dataseries X:
1,8	4	2,79518459
0,7	4	2,255272505
3,9	1	1,544068044
1	4	2,593286067
3,6	1	1,799340549
1,4	1	2,361727836
1,5	4	2,049218023
0,7	5	2,432969291
2,1	1	1,62324929
0	2	1,447158031
4,1	2	1,62324929
1,2	2	2,079181246
0,3	5	2,602059991
0,5	5	2,170261715
3,4	2	1,204119983
1,5	1	2,491361694
3,4	3	1,447158031
0,8	4	1,832508913
0,8	5	2,526339277
1,4	4	1,33243846
2	1	1,698970004
1,9	1	2,426511261
2,4	1	1,477121255
2,8	3	1,653212514
1,3	3	1,278753601
2	3	1,477121255
5,6	1	1,079181246
3,1	1	2,079181246
1	5	2,643452676
1,8	2	2,146128036
0,9	4	2,230448921
1,8	2	1,230448921
1,9	4	2,06069784
0,9	5	1,491361694
2,6	3	1,322219295
2,4	1	1,716003344
1,2	2	2,214843848
0,9	2	2,352182518
0,5	3	2,352182518
0,6	5	2,178976947
2,3	2	1,77815125
0,5	3	2,301029996
2,6	2	1,662757832
0,6	4	2,322219295
6,6	1	1,146128036




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

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







Multiple Linear Regression - Estimated Regression Equation
PS[t] = + 5.37427458453137 -0.393161874372465D[t] -1.25726326411256logtg[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
PS[t] =  +  5.37427458453137 -0.393161874372465D[t] -1.25726326411256logtg[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114554&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]PS[t] =  +  5.37427458453137 -0.393161874372465D[t] -1.25726326411256logtg[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114554&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114554&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
PS[t] = + 5.37427458453137 -0.393161874372465D[t] -1.25726326411256logtg[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5.374274584531370.6285558.550200
D-0.3931618743724650.113081-3.47680.0011930.000597
logtg-1.257263264112560.345668-3.63720.0007470.000374

\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) & 5.37427458453137 & 0.628555 & 8.5502 & 0 & 0 \tabularnewline
D & -0.393161874372465 & 0.113081 & -3.4768 & 0.001193 & 0.000597 \tabularnewline
logtg & -1.25726326411256 & 0.345668 & -3.6372 & 0.000747 & 0.000374 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114554&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]5.37427458453137[/C][C]0.628555[/C][C]8.5502[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]D[/C][C]-0.393161874372465[/C][C]0.113081[/C][C]-3.4768[/C][C]0.001193[/C][C]0.000597[/C][/ROW]
[ROW][C]logtg[/C][C]-1.25726326411256[/C][C]0.345668[/C][C]-3.6372[/C][C]0.000747[/C][C]0.000374[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114554&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114554&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)5.374274584531370.6285558.550200
D-0.3931618743724650.113081-3.47680.0011930.000597
logtg-1.257263264112560.345668-3.63720.0007470.000374







Multiple Linear Regression - Regression Statistics
Multiple R0.707980306510684
R-squared0.501236114406963
Adjusted R-squared0.477485453188247
F-TEST (value)21.1040909468229
F-TEST (DF numerator)2
F-TEST (DF denominator)42
p-value4.52683840967971e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.995595347167661
Sum Squared Residuals41.6308240026796

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.707980306510684 \tabularnewline
R-squared & 0.501236114406963 \tabularnewline
Adjusted R-squared & 0.477485453188247 \tabularnewline
F-TEST (value) & 21.1040909468229 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 4.52683840967971e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.995595347167661 \tabularnewline
Sum Squared Residuals & 41.6308240026796 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114554&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.707980306510684[/C][/ROW]
[ROW][C]R-squared[/C][C]0.501236114406963[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.477485453188247[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]21.1040909468229[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/C][/ROW]
[ROW][C]p-value[/C][C]4.52683840967971e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.995595347167661[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]41.6308240026796[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114554&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114554&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.707980306510684
R-squared0.501236114406963
Adjusted R-squared0.477485453188247
F-TEST (value)21.1040909468229
F-TEST (DF numerator)2
F-TEST (DF denominator)42
p-value4.52683840967971e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.995595347167661
Sum Squared Residuals41.6308240026796







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.80.2873441856209951.51265581437901
20.70.96615581594191-0.266155815941910
33.93.039812681147580.860187318852421
410.5411837816674790.458816218332521
53.62.718867938273090.88113206172691
61.42.01179906212406-0.611799062124065
71.51.225220546566250.274779453433746
80.70.3495823003807760.350417699619224
92.12.94026100934512-0.84026100934512
1002.76849220604468-2.76849220604468
114.12.547099134972651.55290086502735
121.21.97387263575887-0.773872635758872
130.30.1369907749676990.163009225032301
140.50.679874884889633-0.179874884889633
153.43.074055015576710.325944984423292
161.51.84881517467548-0.348815174675481
173.42.375330331672221.02466966832778
180.81.49768094956778-0.697680949567781
190.80.2321916470122720.567808352987728
201.42.12640115959281-0.726401159592806
2122.84506013730055-0.845060137300546
221.91.93034924174817-0.0303492417481738
232.43.12398241960757-0.723982419607573
242.82.116265599790610.683734400209387
251.32.58705903502503-1.28705903502503
2622.33765867086264-0.337658670862643
275.63.624297774243891.97570222575611
283.12.367034510131340.732965489868663
2910.0849492727142160.915050727285784
301.81.88970289604161-0.0897028960416137
310.90.997365596188724-0.097365596188724
321.83.04095260904621-1.24095260904621
331.91.210787394373420.689212605626581
340.91.53343094129818-0.633430941298177
352.62.532411214709680.0675887852903247
362.42.82364474465341-0.423644744653407
371.21.80330902995035-0.603309029950349
380.91.63063816541727-0.730638165417271
390.51.23747629104481-0.737476291044806
400.60.668917543857815-0.068917543857815
412.32.35234659112562-0.0523465911256214
420.51.30178847782212-0.801788477822116
432.62.497426496497410.102573503502594
440.60.881986076224654-0.281986076224654
456.63.540128034526643.05987196547336

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.8 & 0.287344185620995 & 1.51265581437901 \tabularnewline
2 & 0.7 & 0.96615581594191 & -0.266155815941910 \tabularnewline
3 & 3.9 & 3.03981268114758 & 0.860187318852421 \tabularnewline
4 & 1 & 0.541183781667479 & 0.458816218332521 \tabularnewline
5 & 3.6 & 2.71886793827309 & 0.88113206172691 \tabularnewline
6 & 1.4 & 2.01179906212406 & -0.611799062124065 \tabularnewline
7 & 1.5 & 1.22522054656625 & 0.274779453433746 \tabularnewline
8 & 0.7 & 0.349582300380776 & 0.350417699619224 \tabularnewline
9 & 2.1 & 2.94026100934512 & -0.84026100934512 \tabularnewline
10 & 0 & 2.76849220604468 & -2.76849220604468 \tabularnewline
11 & 4.1 & 2.54709913497265 & 1.55290086502735 \tabularnewline
12 & 1.2 & 1.97387263575887 & -0.773872635758872 \tabularnewline
13 & 0.3 & 0.136990774967699 & 0.163009225032301 \tabularnewline
14 & 0.5 & 0.679874884889633 & -0.179874884889633 \tabularnewline
15 & 3.4 & 3.07405501557671 & 0.325944984423292 \tabularnewline
16 & 1.5 & 1.84881517467548 & -0.348815174675481 \tabularnewline
17 & 3.4 & 2.37533033167222 & 1.02466966832778 \tabularnewline
18 & 0.8 & 1.49768094956778 & -0.697680949567781 \tabularnewline
19 & 0.8 & 0.232191647012272 & 0.567808352987728 \tabularnewline
20 & 1.4 & 2.12640115959281 & -0.726401159592806 \tabularnewline
21 & 2 & 2.84506013730055 & -0.845060137300546 \tabularnewline
22 & 1.9 & 1.93034924174817 & -0.0303492417481738 \tabularnewline
23 & 2.4 & 3.12398241960757 & -0.723982419607573 \tabularnewline
24 & 2.8 & 2.11626559979061 & 0.683734400209387 \tabularnewline
25 & 1.3 & 2.58705903502503 & -1.28705903502503 \tabularnewline
26 & 2 & 2.33765867086264 & -0.337658670862643 \tabularnewline
27 & 5.6 & 3.62429777424389 & 1.97570222575611 \tabularnewline
28 & 3.1 & 2.36703451013134 & 0.732965489868663 \tabularnewline
29 & 1 & 0.084949272714216 & 0.915050727285784 \tabularnewline
30 & 1.8 & 1.88970289604161 & -0.0897028960416137 \tabularnewline
31 & 0.9 & 0.997365596188724 & -0.097365596188724 \tabularnewline
32 & 1.8 & 3.04095260904621 & -1.24095260904621 \tabularnewline
33 & 1.9 & 1.21078739437342 & 0.689212605626581 \tabularnewline
34 & 0.9 & 1.53343094129818 & -0.633430941298177 \tabularnewline
35 & 2.6 & 2.53241121470968 & 0.0675887852903247 \tabularnewline
36 & 2.4 & 2.82364474465341 & -0.423644744653407 \tabularnewline
37 & 1.2 & 1.80330902995035 & -0.603309029950349 \tabularnewline
38 & 0.9 & 1.63063816541727 & -0.730638165417271 \tabularnewline
39 & 0.5 & 1.23747629104481 & -0.737476291044806 \tabularnewline
40 & 0.6 & 0.668917543857815 & -0.068917543857815 \tabularnewline
41 & 2.3 & 2.35234659112562 & -0.0523465911256214 \tabularnewline
42 & 0.5 & 1.30178847782212 & -0.801788477822116 \tabularnewline
43 & 2.6 & 2.49742649649741 & 0.102573503502594 \tabularnewline
44 & 0.6 & 0.881986076224654 & -0.281986076224654 \tabularnewline
45 & 6.6 & 3.54012803452664 & 3.05987196547336 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114554&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.8[/C][C]0.287344185620995[/C][C]1.51265581437901[/C][/ROW]
[ROW][C]2[/C][C]0.7[/C][C]0.96615581594191[/C][C]-0.266155815941910[/C][/ROW]
[ROW][C]3[/C][C]3.9[/C][C]3.03981268114758[/C][C]0.860187318852421[/C][/ROW]
[ROW][C]4[/C][C]1[/C][C]0.541183781667479[/C][C]0.458816218332521[/C][/ROW]
[ROW][C]5[/C][C]3.6[/C][C]2.71886793827309[/C][C]0.88113206172691[/C][/ROW]
[ROW][C]6[/C][C]1.4[/C][C]2.01179906212406[/C][C]-0.611799062124065[/C][/ROW]
[ROW][C]7[/C][C]1.5[/C][C]1.22522054656625[/C][C]0.274779453433746[/C][/ROW]
[ROW][C]8[/C][C]0.7[/C][C]0.349582300380776[/C][C]0.350417699619224[/C][/ROW]
[ROW][C]9[/C][C]2.1[/C][C]2.94026100934512[/C][C]-0.84026100934512[/C][/ROW]
[ROW][C]10[/C][C]0[/C][C]2.76849220604468[/C][C]-2.76849220604468[/C][/ROW]
[ROW][C]11[/C][C]4.1[/C][C]2.54709913497265[/C][C]1.55290086502735[/C][/ROW]
[ROW][C]12[/C][C]1.2[/C][C]1.97387263575887[/C][C]-0.773872635758872[/C][/ROW]
[ROW][C]13[/C][C]0.3[/C][C]0.136990774967699[/C][C]0.163009225032301[/C][/ROW]
[ROW][C]14[/C][C]0.5[/C][C]0.679874884889633[/C][C]-0.179874884889633[/C][/ROW]
[ROW][C]15[/C][C]3.4[/C][C]3.07405501557671[/C][C]0.325944984423292[/C][/ROW]
[ROW][C]16[/C][C]1.5[/C][C]1.84881517467548[/C][C]-0.348815174675481[/C][/ROW]
[ROW][C]17[/C][C]3.4[/C][C]2.37533033167222[/C][C]1.02466966832778[/C][/ROW]
[ROW][C]18[/C][C]0.8[/C][C]1.49768094956778[/C][C]-0.697680949567781[/C][/ROW]
[ROW][C]19[/C][C]0.8[/C][C]0.232191647012272[/C][C]0.567808352987728[/C][/ROW]
[ROW][C]20[/C][C]1.4[/C][C]2.12640115959281[/C][C]-0.726401159592806[/C][/ROW]
[ROW][C]21[/C][C]2[/C][C]2.84506013730055[/C][C]-0.845060137300546[/C][/ROW]
[ROW][C]22[/C][C]1.9[/C][C]1.93034924174817[/C][C]-0.0303492417481738[/C][/ROW]
[ROW][C]23[/C][C]2.4[/C][C]3.12398241960757[/C][C]-0.723982419607573[/C][/ROW]
[ROW][C]24[/C][C]2.8[/C][C]2.11626559979061[/C][C]0.683734400209387[/C][/ROW]
[ROW][C]25[/C][C]1.3[/C][C]2.58705903502503[/C][C]-1.28705903502503[/C][/ROW]
[ROW][C]26[/C][C]2[/C][C]2.33765867086264[/C][C]-0.337658670862643[/C][/ROW]
[ROW][C]27[/C][C]5.6[/C][C]3.62429777424389[/C][C]1.97570222575611[/C][/ROW]
[ROW][C]28[/C][C]3.1[/C][C]2.36703451013134[/C][C]0.732965489868663[/C][/ROW]
[ROW][C]29[/C][C]1[/C][C]0.084949272714216[/C][C]0.915050727285784[/C][/ROW]
[ROW][C]30[/C][C]1.8[/C][C]1.88970289604161[/C][C]-0.0897028960416137[/C][/ROW]
[ROW][C]31[/C][C]0.9[/C][C]0.997365596188724[/C][C]-0.097365596188724[/C][/ROW]
[ROW][C]32[/C][C]1.8[/C][C]3.04095260904621[/C][C]-1.24095260904621[/C][/ROW]
[ROW][C]33[/C][C]1.9[/C][C]1.21078739437342[/C][C]0.689212605626581[/C][/ROW]
[ROW][C]34[/C][C]0.9[/C][C]1.53343094129818[/C][C]-0.633430941298177[/C][/ROW]
[ROW][C]35[/C][C]2.6[/C][C]2.53241121470968[/C][C]0.0675887852903247[/C][/ROW]
[ROW][C]36[/C][C]2.4[/C][C]2.82364474465341[/C][C]-0.423644744653407[/C][/ROW]
[ROW][C]37[/C][C]1.2[/C][C]1.80330902995035[/C][C]-0.603309029950349[/C][/ROW]
[ROW][C]38[/C][C]0.9[/C][C]1.63063816541727[/C][C]-0.730638165417271[/C][/ROW]
[ROW][C]39[/C][C]0.5[/C][C]1.23747629104481[/C][C]-0.737476291044806[/C][/ROW]
[ROW][C]40[/C][C]0.6[/C][C]0.668917543857815[/C][C]-0.068917543857815[/C][/ROW]
[ROW][C]41[/C][C]2.3[/C][C]2.35234659112562[/C][C]-0.0523465911256214[/C][/ROW]
[ROW][C]42[/C][C]0.5[/C][C]1.30178847782212[/C][C]-0.801788477822116[/C][/ROW]
[ROW][C]43[/C][C]2.6[/C][C]2.49742649649741[/C][C]0.102573503502594[/C][/ROW]
[ROW][C]44[/C][C]0.6[/C][C]0.881986076224654[/C][C]-0.281986076224654[/C][/ROW]
[ROW][C]45[/C][C]6.6[/C][C]3.54012803452664[/C][C]3.05987196547336[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114554&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114554&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.80.2873441856209951.51265581437901
20.70.96615581594191-0.266155815941910
33.93.039812681147580.860187318852421
410.5411837816674790.458816218332521
53.62.718867938273090.88113206172691
61.42.01179906212406-0.611799062124065
71.51.225220546566250.274779453433746
80.70.3495823003807760.350417699619224
92.12.94026100934512-0.84026100934512
1002.76849220604468-2.76849220604468
114.12.547099134972651.55290086502735
121.21.97387263575887-0.773872635758872
130.30.1369907749676990.163009225032301
140.50.679874884889633-0.179874884889633
153.43.074055015576710.325944984423292
161.51.84881517467548-0.348815174675481
173.42.375330331672221.02466966832778
180.81.49768094956778-0.697680949567781
190.80.2321916470122720.567808352987728
201.42.12640115959281-0.726401159592806
2122.84506013730055-0.845060137300546
221.91.93034924174817-0.0303492417481738
232.43.12398241960757-0.723982419607573
242.82.116265599790610.683734400209387
251.32.58705903502503-1.28705903502503
2622.33765867086264-0.337658670862643
275.63.624297774243891.97570222575611
283.12.367034510131340.732965489868663
2910.0849492727142160.915050727285784
301.81.88970289604161-0.0897028960416137
310.90.997365596188724-0.097365596188724
321.83.04095260904621-1.24095260904621
331.91.210787394373420.689212605626581
340.91.53343094129818-0.633430941298177
352.62.532411214709680.0675887852903247
362.42.82364474465341-0.423644744653407
371.21.80330902995035-0.603309029950349
380.91.63063816541727-0.730638165417271
390.51.23747629104481-0.737476291044806
400.60.668917543857815-0.068917543857815
412.32.35234659112562-0.0523465911256214
420.51.30178847782212-0.801788477822116
432.62.497426496497410.102573503502594
440.60.881986076224654-0.281986076224654
456.63.540128034526643.05987196547336







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.5828982980151940.8342034039696120.417101701984806
70.4307921539590060.8615843079180130.569207846040994
80.2901138644368450.580227728873690.709886135563155
90.312506919643210.625013839286420.68749308035679
100.8125055258243510.3749889483512970.187494474175649
110.9265608051137330.1468783897725340.0734391948862672
120.9104840133747050.1790319732505900.0895159866252952
130.8678921456739490.2642157086521020.132107854326051
140.8073143625586670.3853712748826670.192685637441333
150.7671379064716590.4657241870566820.232862093528341
160.7016428052098880.5967143895802230.298357194790112
170.7005899222936380.5988201554127240.299410077706362
180.6585089900439370.6829820199121260.341491009956063
190.6033442676670490.7933114646659020.396655732332951
200.5510219982042350.897956003591530.448978001795765
210.520145202880540.959709594238920.47985479711946
220.4282601885239370.8565203770478750.571739811476063
230.3942459884440740.7884919768881480.605754011555926
240.3517565604919840.7035131209839680.648243439508016
250.4190683284446090.8381366568892180.580931671555391
260.352601632031830.705203264063660.64739836796817
270.5615594746613140.8768810506773720.438440525338686
280.5169797480496890.9660405039006210.483020251950311
290.5848819866608740.8302360266782510.415118013339126
300.4888285728614450.977657145722890.511171427138555
310.4024003314760860.8048006629521720.597599668523914
320.6477187493084670.7045625013830660.352281250691533
330.6785294791942050.642941041611590.321470520805795
340.7009631146453470.5980737707093060.299036885354653
350.8541501660878520.2916996678242970.145849833912148
360.8804630470144930.2390739059710140.119536952985507
370.7937027081709980.4125945836580030.206297291829002
380.7059441746015430.5881116507969150.294055825398457
390.5827168049370690.834566390125860.41728319506293

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.582898298015194 & 0.834203403969612 & 0.417101701984806 \tabularnewline
7 & 0.430792153959006 & 0.861584307918013 & 0.569207846040994 \tabularnewline
8 & 0.290113864436845 & 0.58022772887369 & 0.709886135563155 \tabularnewline
9 & 0.31250691964321 & 0.62501383928642 & 0.68749308035679 \tabularnewline
10 & 0.812505525824351 & 0.374988948351297 & 0.187494474175649 \tabularnewline
11 & 0.926560805113733 & 0.146878389772534 & 0.0734391948862672 \tabularnewline
12 & 0.910484013374705 & 0.179031973250590 & 0.0895159866252952 \tabularnewline
13 & 0.867892145673949 & 0.264215708652102 & 0.132107854326051 \tabularnewline
14 & 0.807314362558667 & 0.385371274882667 & 0.192685637441333 \tabularnewline
15 & 0.767137906471659 & 0.465724187056682 & 0.232862093528341 \tabularnewline
16 & 0.701642805209888 & 0.596714389580223 & 0.298357194790112 \tabularnewline
17 & 0.700589922293638 & 0.598820155412724 & 0.299410077706362 \tabularnewline
18 & 0.658508990043937 & 0.682982019912126 & 0.341491009956063 \tabularnewline
19 & 0.603344267667049 & 0.793311464665902 & 0.396655732332951 \tabularnewline
20 & 0.551021998204235 & 0.89795600359153 & 0.448978001795765 \tabularnewline
21 & 0.52014520288054 & 0.95970959423892 & 0.47985479711946 \tabularnewline
22 & 0.428260188523937 & 0.856520377047875 & 0.571739811476063 \tabularnewline
23 & 0.394245988444074 & 0.788491976888148 & 0.605754011555926 \tabularnewline
24 & 0.351756560491984 & 0.703513120983968 & 0.648243439508016 \tabularnewline
25 & 0.419068328444609 & 0.838136656889218 & 0.580931671555391 \tabularnewline
26 & 0.35260163203183 & 0.70520326406366 & 0.64739836796817 \tabularnewline
27 & 0.561559474661314 & 0.876881050677372 & 0.438440525338686 \tabularnewline
28 & 0.516979748049689 & 0.966040503900621 & 0.483020251950311 \tabularnewline
29 & 0.584881986660874 & 0.830236026678251 & 0.415118013339126 \tabularnewline
30 & 0.488828572861445 & 0.97765714572289 & 0.511171427138555 \tabularnewline
31 & 0.402400331476086 & 0.804800662952172 & 0.597599668523914 \tabularnewline
32 & 0.647718749308467 & 0.704562501383066 & 0.352281250691533 \tabularnewline
33 & 0.678529479194205 & 0.64294104161159 & 0.321470520805795 \tabularnewline
34 & 0.700963114645347 & 0.598073770709306 & 0.299036885354653 \tabularnewline
35 & 0.854150166087852 & 0.291699667824297 & 0.145849833912148 \tabularnewline
36 & 0.880463047014493 & 0.239073905971014 & 0.119536952985507 \tabularnewline
37 & 0.793702708170998 & 0.412594583658003 & 0.206297291829002 \tabularnewline
38 & 0.705944174601543 & 0.588111650796915 & 0.294055825398457 \tabularnewline
39 & 0.582716804937069 & 0.83456639012586 & 0.41728319506293 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114554&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]6[/C][C]0.582898298015194[/C][C]0.834203403969612[/C][C]0.417101701984806[/C][/ROW]
[ROW][C]7[/C][C]0.430792153959006[/C][C]0.861584307918013[/C][C]0.569207846040994[/C][/ROW]
[ROW][C]8[/C][C]0.290113864436845[/C][C]0.58022772887369[/C][C]0.709886135563155[/C][/ROW]
[ROW][C]9[/C][C]0.31250691964321[/C][C]0.62501383928642[/C][C]0.68749308035679[/C][/ROW]
[ROW][C]10[/C][C]0.812505525824351[/C][C]0.374988948351297[/C][C]0.187494474175649[/C][/ROW]
[ROW][C]11[/C][C]0.926560805113733[/C][C]0.146878389772534[/C][C]0.0734391948862672[/C][/ROW]
[ROW][C]12[/C][C]0.910484013374705[/C][C]0.179031973250590[/C][C]0.0895159866252952[/C][/ROW]
[ROW][C]13[/C][C]0.867892145673949[/C][C]0.264215708652102[/C][C]0.132107854326051[/C][/ROW]
[ROW][C]14[/C][C]0.807314362558667[/C][C]0.385371274882667[/C][C]0.192685637441333[/C][/ROW]
[ROW][C]15[/C][C]0.767137906471659[/C][C]0.465724187056682[/C][C]0.232862093528341[/C][/ROW]
[ROW][C]16[/C][C]0.701642805209888[/C][C]0.596714389580223[/C][C]0.298357194790112[/C][/ROW]
[ROW][C]17[/C][C]0.700589922293638[/C][C]0.598820155412724[/C][C]0.299410077706362[/C][/ROW]
[ROW][C]18[/C][C]0.658508990043937[/C][C]0.682982019912126[/C][C]0.341491009956063[/C][/ROW]
[ROW][C]19[/C][C]0.603344267667049[/C][C]0.793311464665902[/C][C]0.396655732332951[/C][/ROW]
[ROW][C]20[/C][C]0.551021998204235[/C][C]0.89795600359153[/C][C]0.448978001795765[/C][/ROW]
[ROW][C]21[/C][C]0.52014520288054[/C][C]0.95970959423892[/C][C]0.47985479711946[/C][/ROW]
[ROW][C]22[/C][C]0.428260188523937[/C][C]0.856520377047875[/C][C]0.571739811476063[/C][/ROW]
[ROW][C]23[/C][C]0.394245988444074[/C][C]0.788491976888148[/C][C]0.605754011555926[/C][/ROW]
[ROW][C]24[/C][C]0.351756560491984[/C][C]0.703513120983968[/C][C]0.648243439508016[/C][/ROW]
[ROW][C]25[/C][C]0.419068328444609[/C][C]0.838136656889218[/C][C]0.580931671555391[/C][/ROW]
[ROW][C]26[/C][C]0.35260163203183[/C][C]0.70520326406366[/C][C]0.64739836796817[/C][/ROW]
[ROW][C]27[/C][C]0.561559474661314[/C][C]0.876881050677372[/C][C]0.438440525338686[/C][/ROW]
[ROW][C]28[/C][C]0.516979748049689[/C][C]0.966040503900621[/C][C]0.483020251950311[/C][/ROW]
[ROW][C]29[/C][C]0.584881986660874[/C][C]0.830236026678251[/C][C]0.415118013339126[/C][/ROW]
[ROW][C]30[/C][C]0.488828572861445[/C][C]0.97765714572289[/C][C]0.511171427138555[/C][/ROW]
[ROW][C]31[/C][C]0.402400331476086[/C][C]0.804800662952172[/C][C]0.597599668523914[/C][/ROW]
[ROW][C]32[/C][C]0.647718749308467[/C][C]0.704562501383066[/C][C]0.352281250691533[/C][/ROW]
[ROW][C]33[/C][C]0.678529479194205[/C][C]0.64294104161159[/C][C]0.321470520805795[/C][/ROW]
[ROW][C]34[/C][C]0.700963114645347[/C][C]0.598073770709306[/C][C]0.299036885354653[/C][/ROW]
[ROW][C]35[/C][C]0.854150166087852[/C][C]0.291699667824297[/C][C]0.145849833912148[/C][/ROW]
[ROW][C]36[/C][C]0.880463047014493[/C][C]0.239073905971014[/C][C]0.119536952985507[/C][/ROW]
[ROW][C]37[/C][C]0.793702708170998[/C][C]0.412594583658003[/C][C]0.206297291829002[/C][/ROW]
[ROW][C]38[/C][C]0.705944174601543[/C][C]0.588111650796915[/C][C]0.294055825398457[/C][/ROW]
[ROW][C]39[/C][C]0.582716804937069[/C][C]0.83456639012586[/C][C]0.41728319506293[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114554&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114554&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
60.5828982980151940.8342034039696120.417101701984806
70.4307921539590060.8615843079180130.569207846040994
80.2901138644368450.580227728873690.709886135563155
90.312506919643210.625013839286420.68749308035679
100.8125055258243510.3749889483512970.187494474175649
110.9265608051137330.1468783897725340.0734391948862672
120.9104840133747050.1790319732505900.0895159866252952
130.8678921456739490.2642157086521020.132107854326051
140.8073143625586670.3853712748826670.192685637441333
150.7671379064716590.4657241870566820.232862093528341
160.7016428052098880.5967143895802230.298357194790112
170.7005899222936380.5988201554127240.299410077706362
180.6585089900439370.6829820199121260.341491009956063
190.6033442676670490.7933114646659020.396655732332951
200.5510219982042350.897956003591530.448978001795765
210.520145202880540.959709594238920.47985479711946
220.4282601885239370.8565203770478750.571739811476063
230.3942459884440740.7884919768881480.605754011555926
240.3517565604919840.7035131209839680.648243439508016
250.4190683284446090.8381366568892180.580931671555391
260.352601632031830.705203264063660.64739836796817
270.5615594746613140.8768810506773720.438440525338686
280.5169797480496890.9660405039006210.483020251950311
290.5848819866608740.8302360266782510.415118013339126
300.4888285728614450.977657145722890.511171427138555
310.4024003314760860.8048006629521720.597599668523914
320.6477187493084670.7045625013830660.352281250691533
330.6785294791942050.642941041611590.321470520805795
340.7009631146453470.5980737707093060.299036885354653
350.8541501660878520.2916996678242970.145849833912148
360.8804630470144930.2390739059710140.119536952985507
370.7937027081709980.4125945836580030.206297291829002
380.7059441746015430.5881116507969150.294055825398457
390.5827168049370690.834566390125860.41728319506293







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114554&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 level00OK
10% type I error level00OK



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