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, 18 Nov 2009 09:32:17 -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/18/t1258562015aus1qn9by4czhg8.htm/, Retrieved Sun, 05 May 2024 16:02:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57523, Retrieved Sun, 05 May 2024 16:02:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact183
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]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:14:11] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [Model 5] [2009-11-18 16:32:17] [2622964eb3e61db9b0dfd11950e3a18c] [Current]
Feedback Forum

Post a new message
Dataseries X:
4755	37.79	5208	4962	5560
4491	37.84	4755	5208	3922
5732	37.88	4491	4755	3759
5731	38.34	5732	4491	4138
5040	38.58	5731	5732	4634
6102	38.72	5040	5731	3996
4904	38.83	6102	5040	4308
5369	38.9	4904	6102	4429
5578	38.92	5369	4904	5219
4619	38.94	5578	5369	4929
4731	39.1	4619	5578	5755
5011	39.14	4731	4619	5592
5299	39.16	5011	4731	4163
4146	39.32	5299	5011	4962
4625	39.34	4146	5299	5208
4736	39.44	4625	4146	4755
4219	39.92	4736	4625	4491
5116	40.19	4219	4736	5732
4205	40.2	5116	4219	5731
4121	40.27	4205	5116	5040
5103	40.28	4121	4205	6102
4300	40.3	5103	4121	4904
4578	40.34	4300	5103	5369
3809	40.4	4578	4300	5578
5526	40.43	3809	4578	4619
4247	40.48	5526	3809	4731
3830	40.48	4247	5526	5011
4394	40.63	3830	4247	5299
4826	40.74	4394	3830	4146
4409	40.77	4826	4394	4625
4569	40.91	4409	4826	4736
4106	40.92	4569	4409	4219
4794	41.03	4106	4569	5116
3914	41	4794	4106	4205
3793	41.04	3914	4794	4121
4405	41.33	3793	3914	5103
4022	41.44	4405	3793	4300
4100	41.46	4022	4405	4578
4788	41.55	4100	4022	3809
3163	41.55	4788	4100	5526
3585	41.81	3163	4788	4247
3903	41.78	3585	3163	3830
4178	41.84	3903	3585	4394
3863	41.84	4178	3903	4826
4187	41.86	3863	4178	4409




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57523&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
Y2[t] = -571.804931539573 -0.169036046008844Y[t] + 221.341127227670X[t] -0.255526563271961Y1[t] -0.0536078426207637Y15[t] -66.1399909814306t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y2[t] =  -571.804931539573 -0.169036046008844Y[t] +  221.341127227670X[t] -0.255526563271961Y1[t] -0.0536078426207637Y15[t] -66.1399909814306t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57523&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y2[t] =  -571.804931539573 -0.169036046008844Y[t] +  221.341127227670X[t] -0.255526563271961Y1[t] -0.0536078426207637Y15[t] -66.1399909814306t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57523&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57523&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
Y2[t] = -571.804931539573 -0.169036046008844Y[t] + 221.341127227670X[t] -0.255526563271961Y1[t] -0.0536078426207637Y15[t] -66.1399909814306t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-571.80493153957315274.558156-0.03740.9703290.485165
Y-0.1690360460088440.166636-1.01440.3166430.158321
X221.341127227670413.8798730.53480.5958270.297914
Y1-0.2555265632719610.161245-1.58470.1211070.060554
Y15-0.05360784262076370.140973-0.38030.7058080.352904
t-66.139990981430640.349029-1.63920.1092160.054608

\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) & -571.804931539573 & 15274.558156 & -0.0374 & 0.970329 & 0.485165 \tabularnewline
Y & -0.169036046008844 & 0.166636 & -1.0144 & 0.316643 & 0.158321 \tabularnewline
X & 221.341127227670 & 413.879873 & 0.5348 & 0.595827 & 0.297914 \tabularnewline
Y1 & -0.255526563271961 & 0.161245 & -1.5847 & 0.121107 & 0.060554 \tabularnewline
Y15 & -0.0536078426207637 & 0.140973 & -0.3803 & 0.705808 & 0.352904 \tabularnewline
t & -66.1399909814306 & 40.349029 & -1.6392 & 0.109216 & 0.054608 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57523&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]-571.804931539573[/C][C]15274.558156[/C][C]-0.0374[/C][C]0.970329[/C][C]0.485165[/C][/ROW]
[ROW][C]Y[/C][C]-0.169036046008844[/C][C]0.166636[/C][C]-1.0144[/C][C]0.316643[/C][C]0.158321[/C][/ROW]
[ROW][C]X[/C][C]221.341127227670[/C][C]413.879873[/C][C]0.5348[/C][C]0.595827[/C][C]0.297914[/C][/ROW]
[ROW][C]Y1[/C][C]-0.255526563271961[/C][C]0.161245[/C][C]-1.5847[/C][C]0.121107[/C][C]0.060554[/C][/ROW]
[ROW][C]Y15[/C][C]-0.0536078426207637[/C][C]0.140973[/C][C]-0.3803[/C][C]0.705808[/C][C]0.352904[/C][/ROW]
[ROW][C]t[/C][C]-66.1399909814306[/C][C]40.349029[/C][C]-1.6392[/C][C]0.109216[/C][C]0.054608[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57523&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57523&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)-571.80493153957315274.558156-0.03740.9703290.485165
Y-0.1690360460088440.166636-1.01440.3166430.158321
X221.341127227670413.8798730.53480.5958270.297914
Y1-0.2555265632719610.161245-1.58470.1211070.060554
Y15-0.05360784262076370.140973-0.38030.7058080.352904
t-66.139990981430640.349029-1.63920.1092160.054608







Multiple Linear Regression - Regression Statistics
Multiple R0.698975594056156
R-squared0.488566881086156
Adjusted R-squared0.422998532507458
F-TEST (value)7.45126103793444
F-TEST (DF numerator)5
F-TEST (DF denominator)39
p-value5.48742184780515e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation477.39624126561
Sum Squared Residuals8888379.67580676

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.698975594056156 \tabularnewline
R-squared & 0.488566881086156 \tabularnewline
Adjusted R-squared & 0.422998532507458 \tabularnewline
F-TEST (value) & 7.45126103793444 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 39 \tabularnewline
p-value & 5.48742184780515e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 477.39624126561 \tabularnewline
Sum Squared Residuals & 8888379.67580676 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57523&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.698975594056156[/C][/ROW]
[ROW][C]R-squared[/C][C]0.488566881086156[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.422998532507458[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.45126103793444[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]39[/C][/ROW]
[ROW][C]p-value[/C][C]5.48742184780515e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]477.39624126561[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8888379.67580676[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57523&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57523&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.698975594056156
R-squared0.488566881086156
Adjusted R-squared0.422998532507458
F-TEST (value)7.45126103793444
F-TEST (DF numerator)5
F-TEST (DF denominator)39
p-value5.48742184780515e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation477.39624126561
Sum Squared Residuals8888379.67580676







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
149625293.92793014875-331.927930148745
252085487.04369105008-279.043691050080
347555296.18070311176-541.180703111762
444914994.6008293273-503.600829327295
557325072.05265329599659.947346704011
657315068.15479807801662.845201921987
750404940.7726571177299.22734288228
861025111.15905749081990.840942509189
949044852.9473078462251.0526921537793
1053694915.48093016801453.519069831994
1155785066.59337856307511.406621436927
1246194942.096043049-323.096043048997
1347314836.75866275049-105.758662750494
1450114884.50749669737126.492503302626
1552995023.26066039012275.739339609876
1641464862.37890992441-716.378909924414
1746254975.66331772753-350.663317727533
1847364883.23999834688-147.239998346875
1942194744.15153713945-525.151537139451
2051164977.5321713204138.467828679595
2142054712.14489688216-507.144896882159
2241214599.46278371699-478.462783716992
2351034675.44460052294427.555399477059
2443004670.33337285863-370.333372858626
2545784568.508572926299.49142707370984
2638094284.88955364007-475.889553640072
2755264601.04587233535924.954127664647
2842474563.88623869871-316.886238698714
2938304366.76306069286-536.763060692861
3043944241.68570276512152.314297234884
3148264280.09180858765545.908191412354
3244094281.25992269201127.740077307991
3345694193.39322001563375.60677998437
3441064142.39918480156-36.3991848015583
3547944334.93263493577459.067365064226
3639144207.80732339527-293.807323395273
3737934117.42050293231-324.420502932306
3844054125.48621639133279.513783608671
3940223984.2634862464637.7365137535431
4041003924.96012871844175.039871281562
4147884328.83071542936459.169284570636
4231634116.81928867238-953.819288672381
4335853905.98258231359-320.982582313585
4439033799.66055291298103.339447087019
4541783786.02504337276391.974956627236

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 4962 & 5293.92793014875 & -331.927930148745 \tabularnewline
2 & 5208 & 5487.04369105008 & -279.043691050080 \tabularnewline
3 & 4755 & 5296.18070311176 & -541.180703111762 \tabularnewline
4 & 4491 & 4994.6008293273 & -503.600829327295 \tabularnewline
5 & 5732 & 5072.05265329599 & 659.947346704011 \tabularnewline
6 & 5731 & 5068.15479807801 & 662.845201921987 \tabularnewline
7 & 5040 & 4940.77265711772 & 99.22734288228 \tabularnewline
8 & 6102 & 5111.15905749081 & 990.840942509189 \tabularnewline
9 & 4904 & 4852.94730784622 & 51.0526921537793 \tabularnewline
10 & 5369 & 4915.48093016801 & 453.519069831994 \tabularnewline
11 & 5578 & 5066.59337856307 & 511.406621436927 \tabularnewline
12 & 4619 & 4942.096043049 & -323.096043048997 \tabularnewline
13 & 4731 & 4836.75866275049 & -105.758662750494 \tabularnewline
14 & 5011 & 4884.50749669737 & 126.492503302626 \tabularnewline
15 & 5299 & 5023.26066039012 & 275.739339609876 \tabularnewline
16 & 4146 & 4862.37890992441 & -716.378909924414 \tabularnewline
17 & 4625 & 4975.66331772753 & -350.663317727533 \tabularnewline
18 & 4736 & 4883.23999834688 & -147.239998346875 \tabularnewline
19 & 4219 & 4744.15153713945 & -525.151537139451 \tabularnewline
20 & 5116 & 4977.5321713204 & 138.467828679595 \tabularnewline
21 & 4205 & 4712.14489688216 & -507.144896882159 \tabularnewline
22 & 4121 & 4599.46278371699 & -478.462783716992 \tabularnewline
23 & 5103 & 4675.44460052294 & 427.555399477059 \tabularnewline
24 & 4300 & 4670.33337285863 & -370.333372858626 \tabularnewline
25 & 4578 & 4568.50857292629 & 9.49142707370984 \tabularnewline
26 & 3809 & 4284.88955364007 & -475.889553640072 \tabularnewline
27 & 5526 & 4601.04587233535 & 924.954127664647 \tabularnewline
28 & 4247 & 4563.88623869871 & -316.886238698714 \tabularnewline
29 & 3830 & 4366.76306069286 & -536.763060692861 \tabularnewline
30 & 4394 & 4241.68570276512 & 152.314297234884 \tabularnewline
31 & 4826 & 4280.09180858765 & 545.908191412354 \tabularnewline
32 & 4409 & 4281.25992269201 & 127.740077307991 \tabularnewline
33 & 4569 & 4193.39322001563 & 375.60677998437 \tabularnewline
34 & 4106 & 4142.39918480156 & -36.3991848015583 \tabularnewline
35 & 4794 & 4334.93263493577 & 459.067365064226 \tabularnewline
36 & 3914 & 4207.80732339527 & -293.807323395273 \tabularnewline
37 & 3793 & 4117.42050293231 & -324.420502932306 \tabularnewline
38 & 4405 & 4125.48621639133 & 279.513783608671 \tabularnewline
39 & 4022 & 3984.26348624646 & 37.7365137535431 \tabularnewline
40 & 4100 & 3924.96012871844 & 175.039871281562 \tabularnewline
41 & 4788 & 4328.83071542936 & 459.169284570636 \tabularnewline
42 & 3163 & 4116.81928867238 & -953.819288672381 \tabularnewline
43 & 3585 & 3905.98258231359 & -320.982582313585 \tabularnewline
44 & 3903 & 3799.66055291298 & 103.339447087019 \tabularnewline
45 & 4178 & 3786.02504337276 & 391.974956627236 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57523&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]4962[/C][C]5293.92793014875[/C][C]-331.927930148745[/C][/ROW]
[ROW][C]2[/C][C]5208[/C][C]5487.04369105008[/C][C]-279.043691050080[/C][/ROW]
[ROW][C]3[/C][C]4755[/C][C]5296.18070311176[/C][C]-541.180703111762[/C][/ROW]
[ROW][C]4[/C][C]4491[/C][C]4994.6008293273[/C][C]-503.600829327295[/C][/ROW]
[ROW][C]5[/C][C]5732[/C][C]5072.05265329599[/C][C]659.947346704011[/C][/ROW]
[ROW][C]6[/C][C]5731[/C][C]5068.15479807801[/C][C]662.845201921987[/C][/ROW]
[ROW][C]7[/C][C]5040[/C][C]4940.77265711772[/C][C]99.22734288228[/C][/ROW]
[ROW][C]8[/C][C]6102[/C][C]5111.15905749081[/C][C]990.840942509189[/C][/ROW]
[ROW][C]9[/C][C]4904[/C][C]4852.94730784622[/C][C]51.0526921537793[/C][/ROW]
[ROW][C]10[/C][C]5369[/C][C]4915.48093016801[/C][C]453.519069831994[/C][/ROW]
[ROW][C]11[/C][C]5578[/C][C]5066.59337856307[/C][C]511.406621436927[/C][/ROW]
[ROW][C]12[/C][C]4619[/C][C]4942.096043049[/C][C]-323.096043048997[/C][/ROW]
[ROW][C]13[/C][C]4731[/C][C]4836.75866275049[/C][C]-105.758662750494[/C][/ROW]
[ROW][C]14[/C][C]5011[/C][C]4884.50749669737[/C][C]126.492503302626[/C][/ROW]
[ROW][C]15[/C][C]5299[/C][C]5023.26066039012[/C][C]275.739339609876[/C][/ROW]
[ROW][C]16[/C][C]4146[/C][C]4862.37890992441[/C][C]-716.378909924414[/C][/ROW]
[ROW][C]17[/C][C]4625[/C][C]4975.66331772753[/C][C]-350.663317727533[/C][/ROW]
[ROW][C]18[/C][C]4736[/C][C]4883.23999834688[/C][C]-147.239998346875[/C][/ROW]
[ROW][C]19[/C][C]4219[/C][C]4744.15153713945[/C][C]-525.151537139451[/C][/ROW]
[ROW][C]20[/C][C]5116[/C][C]4977.5321713204[/C][C]138.467828679595[/C][/ROW]
[ROW][C]21[/C][C]4205[/C][C]4712.14489688216[/C][C]-507.144896882159[/C][/ROW]
[ROW][C]22[/C][C]4121[/C][C]4599.46278371699[/C][C]-478.462783716992[/C][/ROW]
[ROW][C]23[/C][C]5103[/C][C]4675.44460052294[/C][C]427.555399477059[/C][/ROW]
[ROW][C]24[/C][C]4300[/C][C]4670.33337285863[/C][C]-370.333372858626[/C][/ROW]
[ROW][C]25[/C][C]4578[/C][C]4568.50857292629[/C][C]9.49142707370984[/C][/ROW]
[ROW][C]26[/C][C]3809[/C][C]4284.88955364007[/C][C]-475.889553640072[/C][/ROW]
[ROW][C]27[/C][C]5526[/C][C]4601.04587233535[/C][C]924.954127664647[/C][/ROW]
[ROW][C]28[/C][C]4247[/C][C]4563.88623869871[/C][C]-316.886238698714[/C][/ROW]
[ROW][C]29[/C][C]3830[/C][C]4366.76306069286[/C][C]-536.763060692861[/C][/ROW]
[ROW][C]30[/C][C]4394[/C][C]4241.68570276512[/C][C]152.314297234884[/C][/ROW]
[ROW][C]31[/C][C]4826[/C][C]4280.09180858765[/C][C]545.908191412354[/C][/ROW]
[ROW][C]32[/C][C]4409[/C][C]4281.25992269201[/C][C]127.740077307991[/C][/ROW]
[ROW][C]33[/C][C]4569[/C][C]4193.39322001563[/C][C]375.60677998437[/C][/ROW]
[ROW][C]34[/C][C]4106[/C][C]4142.39918480156[/C][C]-36.3991848015583[/C][/ROW]
[ROW][C]35[/C][C]4794[/C][C]4334.93263493577[/C][C]459.067365064226[/C][/ROW]
[ROW][C]36[/C][C]3914[/C][C]4207.80732339527[/C][C]-293.807323395273[/C][/ROW]
[ROW][C]37[/C][C]3793[/C][C]4117.42050293231[/C][C]-324.420502932306[/C][/ROW]
[ROW][C]38[/C][C]4405[/C][C]4125.48621639133[/C][C]279.513783608671[/C][/ROW]
[ROW][C]39[/C][C]4022[/C][C]3984.26348624646[/C][C]37.7365137535431[/C][/ROW]
[ROW][C]40[/C][C]4100[/C][C]3924.96012871844[/C][C]175.039871281562[/C][/ROW]
[ROW][C]41[/C][C]4788[/C][C]4328.83071542936[/C][C]459.169284570636[/C][/ROW]
[ROW][C]42[/C][C]3163[/C][C]4116.81928867238[/C][C]-953.819288672381[/C][/ROW]
[ROW][C]43[/C][C]3585[/C][C]3905.98258231359[/C][C]-320.982582313585[/C][/ROW]
[ROW][C]44[/C][C]3903[/C][C]3799.66055291298[/C][C]103.339447087019[/C][/ROW]
[ROW][C]45[/C][C]4178[/C][C]3786.02504337276[/C][C]391.974956627236[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57523&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57523&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
149625293.92793014875-331.927930148745
252085487.04369105008-279.043691050080
347555296.18070311176-541.180703111762
444914994.6008293273-503.600829327295
557325072.05265329599659.947346704011
657315068.15479807801662.845201921987
750404940.7726571177299.22734288228
861025111.15905749081990.840942509189
949044852.9473078462251.0526921537793
1053694915.48093016801453.519069831994
1155785066.59337856307511.406621436927
1246194942.096043049-323.096043048997
1347314836.75866275049-105.758662750494
1450114884.50749669737126.492503302626
1552995023.26066039012275.739339609876
1641464862.37890992441-716.378909924414
1746254975.66331772753-350.663317727533
1847364883.23999834688-147.239998346875
1942194744.15153713945-525.151537139451
2051164977.5321713204138.467828679595
2142054712.14489688216-507.144896882159
2241214599.46278371699-478.462783716992
2351034675.44460052294427.555399477059
2443004670.33337285863-370.333372858626
2545784568.508572926299.49142707370984
2638094284.88955364007-475.889553640072
2755264601.04587233535924.954127664647
2842474563.88623869871-316.886238698714
2938304366.76306069286-536.763060692861
3043944241.68570276512152.314297234884
3148264280.09180858765545.908191412354
3244094281.25992269201127.740077307991
3345694193.39322001563375.60677998437
3441064142.39918480156-36.3991848015583
3547944334.93263493577459.067365064226
3639144207.80732339527-293.807323395273
3737934117.42050293231-324.420502932306
3844054125.48621639133279.513783608671
3940223984.2634862464637.7365137535431
4041003924.96012871844175.039871281562
4147884328.83071542936459.169284570636
4231634116.81928867238-953.819288672381
4335853905.98258231359-320.982582313585
4439033799.66055291298103.339447087019
4541783786.02504337276391.974956627236







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.1250470704929020.2500941409858040.874952929507098
100.1749960196050450.349992039210090.825003980394955
110.2647318250433820.5294636500867650.735268174956618
120.3922499833848560.7844999667697120.607750016615144
130.2879248054657050.5758496109314110.712075194534295
140.1925255319409050.385051063881810.807474468059095
150.1203496815137310.2406993630274620.879650318486269
160.2862497946704660.5724995893409320.713750205329534
170.6846875258268330.6306249483463340.315312474173167
180.7578305497808330.4843389004383350.242169450219167
190.7594985444395560.4810029111208890.240501455560444
200.718815847573410.562368304853180.28118415242659
210.6756352532728270.6487294934543450.324364746727173
220.5844222940372090.8311554119255830.415577705962791
230.6741589547130410.6516820905739180.325841045286959
240.6250576410224880.7498847179550230.374942358977512
250.546314830039820.9073703399203590.453685169960180
260.4876196215556330.9752392431112660.512380378444367
270.7088360790814510.5823278418370980.291163920918549
280.7441892472677150.5116215054645710.255810752732285
290.7636816666183060.4726366667633890.236318333381694
300.6873711477447250.6252577045105510.312628852255275
310.6807072113431940.6385855773136120.319292788656806
320.5702845472617820.8594309054764360.429715452738218
330.4668265277687410.9336530555374830.533173472231259
340.3376318440752620.6752636881505230.662368155924738
350.2382178154348620.4764356308697230.761782184565138
360.5425649554420510.9148700891158990.457435044557949

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.125047070492902 & 0.250094140985804 & 0.874952929507098 \tabularnewline
10 & 0.174996019605045 & 0.34999203921009 & 0.825003980394955 \tabularnewline
11 & 0.264731825043382 & 0.529463650086765 & 0.735268174956618 \tabularnewline
12 & 0.392249983384856 & 0.784499966769712 & 0.607750016615144 \tabularnewline
13 & 0.287924805465705 & 0.575849610931411 & 0.712075194534295 \tabularnewline
14 & 0.192525531940905 & 0.38505106388181 & 0.807474468059095 \tabularnewline
15 & 0.120349681513731 & 0.240699363027462 & 0.879650318486269 \tabularnewline
16 & 0.286249794670466 & 0.572499589340932 & 0.713750205329534 \tabularnewline
17 & 0.684687525826833 & 0.630624948346334 & 0.315312474173167 \tabularnewline
18 & 0.757830549780833 & 0.484338900438335 & 0.242169450219167 \tabularnewline
19 & 0.759498544439556 & 0.481002911120889 & 0.240501455560444 \tabularnewline
20 & 0.71881584757341 & 0.56236830485318 & 0.28118415242659 \tabularnewline
21 & 0.675635253272827 & 0.648729493454345 & 0.324364746727173 \tabularnewline
22 & 0.584422294037209 & 0.831155411925583 & 0.415577705962791 \tabularnewline
23 & 0.674158954713041 & 0.651682090573918 & 0.325841045286959 \tabularnewline
24 & 0.625057641022488 & 0.749884717955023 & 0.374942358977512 \tabularnewline
25 & 0.54631483003982 & 0.907370339920359 & 0.453685169960180 \tabularnewline
26 & 0.487619621555633 & 0.975239243111266 & 0.512380378444367 \tabularnewline
27 & 0.708836079081451 & 0.582327841837098 & 0.291163920918549 \tabularnewline
28 & 0.744189247267715 & 0.511621505464571 & 0.255810752732285 \tabularnewline
29 & 0.763681666618306 & 0.472636666763389 & 0.236318333381694 \tabularnewline
30 & 0.687371147744725 & 0.625257704510551 & 0.312628852255275 \tabularnewline
31 & 0.680707211343194 & 0.638585577313612 & 0.319292788656806 \tabularnewline
32 & 0.570284547261782 & 0.859430905476436 & 0.429715452738218 \tabularnewline
33 & 0.466826527768741 & 0.933653055537483 & 0.533173472231259 \tabularnewline
34 & 0.337631844075262 & 0.675263688150523 & 0.662368155924738 \tabularnewline
35 & 0.238217815434862 & 0.476435630869723 & 0.761782184565138 \tabularnewline
36 & 0.542564955442051 & 0.914870089115899 & 0.457435044557949 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57523&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]9[/C][C]0.125047070492902[/C][C]0.250094140985804[/C][C]0.874952929507098[/C][/ROW]
[ROW][C]10[/C][C]0.174996019605045[/C][C]0.34999203921009[/C][C]0.825003980394955[/C][/ROW]
[ROW][C]11[/C][C]0.264731825043382[/C][C]0.529463650086765[/C][C]0.735268174956618[/C][/ROW]
[ROW][C]12[/C][C]0.392249983384856[/C][C]0.784499966769712[/C][C]0.607750016615144[/C][/ROW]
[ROW][C]13[/C][C]0.287924805465705[/C][C]0.575849610931411[/C][C]0.712075194534295[/C][/ROW]
[ROW][C]14[/C][C]0.192525531940905[/C][C]0.38505106388181[/C][C]0.807474468059095[/C][/ROW]
[ROW][C]15[/C][C]0.120349681513731[/C][C]0.240699363027462[/C][C]0.879650318486269[/C][/ROW]
[ROW][C]16[/C][C]0.286249794670466[/C][C]0.572499589340932[/C][C]0.713750205329534[/C][/ROW]
[ROW][C]17[/C][C]0.684687525826833[/C][C]0.630624948346334[/C][C]0.315312474173167[/C][/ROW]
[ROW][C]18[/C][C]0.757830549780833[/C][C]0.484338900438335[/C][C]0.242169450219167[/C][/ROW]
[ROW][C]19[/C][C]0.759498544439556[/C][C]0.481002911120889[/C][C]0.240501455560444[/C][/ROW]
[ROW][C]20[/C][C]0.71881584757341[/C][C]0.56236830485318[/C][C]0.28118415242659[/C][/ROW]
[ROW][C]21[/C][C]0.675635253272827[/C][C]0.648729493454345[/C][C]0.324364746727173[/C][/ROW]
[ROW][C]22[/C][C]0.584422294037209[/C][C]0.831155411925583[/C][C]0.415577705962791[/C][/ROW]
[ROW][C]23[/C][C]0.674158954713041[/C][C]0.651682090573918[/C][C]0.325841045286959[/C][/ROW]
[ROW][C]24[/C][C]0.625057641022488[/C][C]0.749884717955023[/C][C]0.374942358977512[/C][/ROW]
[ROW][C]25[/C][C]0.54631483003982[/C][C]0.907370339920359[/C][C]0.453685169960180[/C][/ROW]
[ROW][C]26[/C][C]0.487619621555633[/C][C]0.975239243111266[/C][C]0.512380378444367[/C][/ROW]
[ROW][C]27[/C][C]0.708836079081451[/C][C]0.582327841837098[/C][C]0.291163920918549[/C][/ROW]
[ROW][C]28[/C][C]0.744189247267715[/C][C]0.511621505464571[/C][C]0.255810752732285[/C][/ROW]
[ROW][C]29[/C][C]0.763681666618306[/C][C]0.472636666763389[/C][C]0.236318333381694[/C][/ROW]
[ROW][C]30[/C][C]0.687371147744725[/C][C]0.625257704510551[/C][C]0.312628852255275[/C][/ROW]
[ROW][C]31[/C][C]0.680707211343194[/C][C]0.638585577313612[/C][C]0.319292788656806[/C][/ROW]
[ROW][C]32[/C][C]0.570284547261782[/C][C]0.859430905476436[/C][C]0.429715452738218[/C][/ROW]
[ROW][C]33[/C][C]0.466826527768741[/C][C]0.933653055537483[/C][C]0.533173472231259[/C][/ROW]
[ROW][C]34[/C][C]0.337631844075262[/C][C]0.675263688150523[/C][C]0.662368155924738[/C][/ROW]
[ROW][C]35[/C][C]0.238217815434862[/C][C]0.476435630869723[/C][C]0.761782184565138[/C][/ROW]
[ROW][C]36[/C][C]0.542564955442051[/C][C]0.914870089115899[/C][C]0.457435044557949[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57523&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57523&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
90.1250470704929020.2500941409858040.874952929507098
100.1749960196050450.349992039210090.825003980394955
110.2647318250433820.5294636500867650.735268174956618
120.3922499833848560.7844999667697120.607750016615144
130.2879248054657050.5758496109314110.712075194534295
140.1925255319409050.385051063881810.807474468059095
150.1203496815137310.2406993630274620.879650318486269
160.2862497946704660.5724995893409320.713750205329534
170.6846875258268330.6306249483463340.315312474173167
180.7578305497808330.4843389004383350.242169450219167
190.7594985444395560.4810029111208890.240501455560444
200.718815847573410.562368304853180.28118415242659
210.6756352532728270.6487294934543450.324364746727173
220.5844222940372090.8311554119255830.415577705962791
230.6741589547130410.6516820905739180.325841045286959
240.6250576410224880.7498847179550230.374942358977512
250.546314830039820.9073703399203590.453685169960180
260.4876196215556330.9752392431112660.512380378444367
270.7088360790814510.5823278418370980.291163920918549
280.7441892472677150.5116215054645710.255810752732285
290.7636816666183060.4726366667633890.236318333381694
300.6873711477447250.6252577045105510.312628852255275
310.6807072113431940.6385855773136120.319292788656806
320.5702845472617820.8594309054764360.429715452738218
330.4668265277687410.9336530555374830.533173472231259
340.3376318440752620.6752636881505230.662368155924738
350.2382178154348620.4764356308697230.761782184565138
360.5425649554420510.9148700891158990.457435044557949







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=57523&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=57523&T=6

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