Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 20 Nov 2009 07:59:01 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/20/t1258729245vbcolsq7vfumtox.htm/, Retrieved Fri, 19 Apr 2024 03:28:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58241, Retrieved Fri, 19 Apr 2024 03:28:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact193
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2009-11-20 14:59:01] [d39d4e1021a28f94dc953cf77db656ab] [Current]
-    D    [Multiple Regression] [] [2009-12-19 13:18:22] [a542c511726eba04a1fc2f4bd37a90f8]
-    D      [Multiple Regression] [Model 2] [2009-12-20 01:00:02] [a542c511726eba04a1fc2f4bd37a90f8]
Feedback Forum

Post a new message
Dataseries X:
4143	0
4429	0
5219	0
4929	0
5761	0
5592	0
4163	0
4962	0
5208	0
4755	0
4491	0
5732	0
5731	0
5040	0
6102	0
4904	0
5369	0
5578	0
4619	0
4731	0
5011	0
5299	0
4146	0
4625	0
4736	0
4219	0
5116	0
4205	1
4121	1
5103	1
4300	1
4578	1
3809	1
5526	1
4248	1
3830	1
4428	1
4834	1
4406	1
4565	1
4104	1
4798	1
3935	1
3792	1
4387	1
4006	1
4078	1
4724	1




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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=58241&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]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=58241&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58241&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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 5030.67222222222 -605.844444444444`x `[t] -119.711111111111M1[t] -248.711111111112M2[t] + 331.538888888888M3[t] -77.0000000000006M4[t] + 111.000000000000M5[t] + 540M6[t] -473.5M7[t] -212.000000000000M8[t] -124.000000000000M9[t] + 168.750000000000M10[t] -487M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  5030.67222222222 -605.844444444444`x
`[t] -119.711111111111M1[t] -248.711111111112M2[t] +  331.538888888888M3[t] -77.0000000000006M4[t] +  111.000000000000M5[t] +  540M6[t] -473.5M7[t] -212.000000000000M8[t] -124.000000000000M9[t] +  168.750000000000M10[t] -487M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58241&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  5030.67222222222 -605.844444444444`x
`[t] -119.711111111111M1[t] -248.711111111112M2[t] +  331.538888888888M3[t] -77.0000000000006M4[t] +  111.000000000000M5[t] +  540M6[t] -473.5M7[t] -212.000000000000M8[t] -124.000000000000M9[t] +  168.750000000000M10[t] -487M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58241&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58241&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
y[t] = + 5030.67222222222 -605.844444444444`x `[t] -119.711111111111M1[t] -248.711111111112M2[t] + 331.538888888888M3[t] -77.0000000000006M4[t] + 111.000000000000M5[t] + 540M6[t] -473.5M7[t] -212.000000000000M8[t] -124.000000000000M9[t] + 168.750000000000M10[t] -487M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5030.67222222222244.42334520.581800
`x `-605.844444444444139.670483-4.33770.0001165.8e-05
M1-119.711111111111333.092872-0.35940.7214610.36073
M2-248.711111111112333.092872-0.74670.4602480.230124
M3331.538888888888333.0928720.99530.3264050.163203
M4-77.0000000000006331.257636-0.23240.8175440.408772
M5111.000000000000331.2576360.33510.739560.36978
M6540331.2576361.63020.1120380.056019
M7-473.5331.257636-1.42940.1617550.080877
M8-212.000000000000331.257636-0.640.526350.263175
M9-124.000000000000331.257636-0.37430.7104160.355208
M10168.750000000000331.2576360.50940.6136530.306827
M11-487331.257636-1.47020.1504530.075226

\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) & 5030.67222222222 & 244.423345 & 20.5818 & 0 & 0 \tabularnewline
`x
` & -605.844444444444 & 139.670483 & -4.3377 & 0.000116 & 5.8e-05 \tabularnewline
M1 & -119.711111111111 & 333.092872 & -0.3594 & 0.721461 & 0.36073 \tabularnewline
M2 & -248.711111111112 & 333.092872 & -0.7467 & 0.460248 & 0.230124 \tabularnewline
M3 & 331.538888888888 & 333.092872 & 0.9953 & 0.326405 & 0.163203 \tabularnewline
M4 & -77.0000000000006 & 331.257636 & -0.2324 & 0.817544 & 0.408772 \tabularnewline
M5 & 111.000000000000 & 331.257636 & 0.3351 & 0.73956 & 0.36978 \tabularnewline
M6 & 540 & 331.257636 & 1.6302 & 0.112038 & 0.056019 \tabularnewline
M7 & -473.5 & 331.257636 & -1.4294 & 0.161755 & 0.080877 \tabularnewline
M8 & -212.000000000000 & 331.257636 & -0.64 & 0.52635 & 0.263175 \tabularnewline
M9 & -124.000000000000 & 331.257636 & -0.3743 & 0.710416 & 0.355208 \tabularnewline
M10 & 168.750000000000 & 331.257636 & 0.5094 & 0.613653 & 0.306827 \tabularnewline
M11 & -487 & 331.257636 & -1.4702 & 0.150453 & 0.075226 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58241&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]5030.67222222222[/C][C]244.423345[/C][C]20.5818[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`x
`[/C][C]-605.844444444444[/C][C]139.670483[/C][C]-4.3377[/C][C]0.000116[/C][C]5.8e-05[/C][/ROW]
[ROW][C]M1[/C][C]-119.711111111111[/C][C]333.092872[/C][C]-0.3594[/C][C]0.721461[/C][C]0.36073[/C][/ROW]
[ROW][C]M2[/C][C]-248.711111111112[/C][C]333.092872[/C][C]-0.7467[/C][C]0.460248[/C][C]0.230124[/C][/ROW]
[ROW][C]M3[/C][C]331.538888888888[/C][C]333.092872[/C][C]0.9953[/C][C]0.326405[/C][C]0.163203[/C][/ROW]
[ROW][C]M4[/C][C]-77.0000000000006[/C][C]331.257636[/C][C]-0.2324[/C][C]0.817544[/C][C]0.408772[/C][/ROW]
[ROW][C]M5[/C][C]111.000000000000[/C][C]331.257636[/C][C]0.3351[/C][C]0.73956[/C][C]0.36978[/C][/ROW]
[ROW][C]M6[/C][C]540[/C][C]331.257636[/C][C]1.6302[/C][C]0.112038[/C][C]0.056019[/C][/ROW]
[ROW][C]M7[/C][C]-473.5[/C][C]331.257636[/C][C]-1.4294[/C][C]0.161755[/C][C]0.080877[/C][/ROW]
[ROW][C]M8[/C][C]-212.000000000000[/C][C]331.257636[/C][C]-0.64[/C][C]0.52635[/C][C]0.263175[/C][/ROW]
[ROW][C]M9[/C][C]-124.000000000000[/C][C]331.257636[/C][C]-0.3743[/C][C]0.710416[/C][C]0.355208[/C][/ROW]
[ROW][C]M10[/C][C]168.750000000000[/C][C]331.257636[/C][C]0.5094[/C][C]0.613653[/C][C]0.306827[/C][/ROW]
[ROW][C]M11[/C][C]-487[/C][C]331.257636[/C][C]-1.4702[/C][C]0.150453[/C][C]0.075226[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58241&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58241&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)5030.67222222222244.42334520.581800
`x `-605.844444444444139.670483-4.33770.0001165.8e-05
M1-119.711111111111333.092872-0.35940.7214610.36073
M2-248.711111111112333.092872-0.74670.4602480.230124
M3331.538888888888333.0928720.99530.3264050.163203
M4-77.0000000000006331.257636-0.23240.8175440.408772
M5111.000000000000331.2576360.33510.739560.36978
M6540331.2576361.63020.1120380.056019
M7-473.5331.257636-1.42940.1617550.080877
M8-212.000000000000331.257636-0.640.526350.263175
M9-124.000000000000331.257636-0.37430.7104160.355208
M10168.750000000000331.2576360.50940.6136530.306827
M11-487331.257636-1.47020.1504530.075226







Multiple Linear Regression - Regression Statistics
Multiple R0.725546782479452
R-squared0.526418133566285
Adjusted R-squared0.364047207931868
F-TEST (value)3.24207139615335
F-TEST (DF numerator)12
F-TEST (DF denominator)35
p-value0.00325497607145486
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation468.469040836449
Sum Squared Residuals7681213.47777778

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.725546782479452 \tabularnewline
R-squared & 0.526418133566285 \tabularnewline
Adjusted R-squared & 0.364047207931868 \tabularnewline
F-TEST (value) & 3.24207139615335 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 35 \tabularnewline
p-value & 0.00325497607145486 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 468.469040836449 \tabularnewline
Sum Squared Residuals & 7681213.47777778 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58241&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.725546782479452[/C][/ROW]
[ROW][C]R-squared[/C][C]0.526418133566285[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.364047207931868[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.24207139615335[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]35[/C][/ROW]
[ROW][C]p-value[/C][C]0.00325497607145486[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]468.469040836449[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7681213.47777778[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58241&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58241&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.725546782479452
R-squared0.526418133566285
Adjusted R-squared0.364047207931868
F-TEST (value)3.24207139615335
F-TEST (DF numerator)12
F-TEST (DF denominator)35
p-value0.00325497607145486
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation468.469040836449
Sum Squared Residuals7681213.47777778







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
141434910.96111111111-767.96111111111
244294781.96111111111-352.961111111112
352195362.21111111111-143.211111111111
449294953.67222222222-24.6722222222219
557615141.67222222222619.327777777778
655925570.6722222222221.3277777777779
741634557.17222222222-394.172222222223
849624818.67222222222143.327777777778
952084906.67222222222301.327777777777
1047555199.42222222222-444.422222222223
1144914543.67222222222-52.6722222222223
1257325030.67222222222701.327777777777
1357314910.96111111111820.038888888889
1450404781.96111111111258.038888888889
1561025362.21111111111739.788888888889
1649044953.67222222222-49.6722222222222
1753695141.67222222222227.327777777778
1855785570.672222222227.32777777777756
1946194557.1722222222261.8277777777777
2047314818.67222222222-87.6722222222223
2150114906.67222222222104.327777777778
2252995199.4222222222299.5777777777775
2341464543.67222222222-397.672222222222
2446255030.67222222222-405.672222222223
2547364910.96111111111-174.961111111112
2642194781.96111111111-562.961111111111
2751165362.21111111111-246.211111111111
2842054347.82777777778-142.827777777778
2941214535.82777777778-414.827777777778
3051034964.82777777778138.172222222222
3143003951.32777777778348.672222222222
3245784212.82777777778365.172222222222
3338094300.82777777778-491.827777777778
3455264593.57777777778932.422222222222
3542483937.82777777778310.172222222222
3638304424.82777777778-594.827777777778
3744284305.11666666667122.883333333333
3848344176.11666666667657.883333333334
3944064756.36666666667-350.366666666666
4045654347.82777777778217.172222222222
4141044535.82777777778-431.827777777778
4247984964.82777777778-166.827777777778
4339353951.32777777778-16.3277777777776
4437924212.82777777778-420.827777777778
4543874300.8277777777886.1722222222223
4640064593.57777777778-587.577777777778
4740783937.82777777778140.172222222222
4847244424.82777777778299.172222222222

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 4143 & 4910.96111111111 & -767.96111111111 \tabularnewline
2 & 4429 & 4781.96111111111 & -352.961111111112 \tabularnewline
3 & 5219 & 5362.21111111111 & -143.211111111111 \tabularnewline
4 & 4929 & 4953.67222222222 & -24.6722222222219 \tabularnewline
5 & 5761 & 5141.67222222222 & 619.327777777778 \tabularnewline
6 & 5592 & 5570.67222222222 & 21.3277777777779 \tabularnewline
7 & 4163 & 4557.17222222222 & -394.172222222223 \tabularnewline
8 & 4962 & 4818.67222222222 & 143.327777777778 \tabularnewline
9 & 5208 & 4906.67222222222 & 301.327777777777 \tabularnewline
10 & 4755 & 5199.42222222222 & -444.422222222223 \tabularnewline
11 & 4491 & 4543.67222222222 & -52.6722222222223 \tabularnewline
12 & 5732 & 5030.67222222222 & 701.327777777777 \tabularnewline
13 & 5731 & 4910.96111111111 & 820.038888888889 \tabularnewline
14 & 5040 & 4781.96111111111 & 258.038888888889 \tabularnewline
15 & 6102 & 5362.21111111111 & 739.788888888889 \tabularnewline
16 & 4904 & 4953.67222222222 & -49.6722222222222 \tabularnewline
17 & 5369 & 5141.67222222222 & 227.327777777778 \tabularnewline
18 & 5578 & 5570.67222222222 & 7.32777777777756 \tabularnewline
19 & 4619 & 4557.17222222222 & 61.8277777777777 \tabularnewline
20 & 4731 & 4818.67222222222 & -87.6722222222223 \tabularnewline
21 & 5011 & 4906.67222222222 & 104.327777777778 \tabularnewline
22 & 5299 & 5199.42222222222 & 99.5777777777775 \tabularnewline
23 & 4146 & 4543.67222222222 & -397.672222222222 \tabularnewline
24 & 4625 & 5030.67222222222 & -405.672222222223 \tabularnewline
25 & 4736 & 4910.96111111111 & -174.961111111112 \tabularnewline
26 & 4219 & 4781.96111111111 & -562.961111111111 \tabularnewline
27 & 5116 & 5362.21111111111 & -246.211111111111 \tabularnewline
28 & 4205 & 4347.82777777778 & -142.827777777778 \tabularnewline
29 & 4121 & 4535.82777777778 & -414.827777777778 \tabularnewline
30 & 5103 & 4964.82777777778 & 138.172222222222 \tabularnewline
31 & 4300 & 3951.32777777778 & 348.672222222222 \tabularnewline
32 & 4578 & 4212.82777777778 & 365.172222222222 \tabularnewline
33 & 3809 & 4300.82777777778 & -491.827777777778 \tabularnewline
34 & 5526 & 4593.57777777778 & 932.422222222222 \tabularnewline
35 & 4248 & 3937.82777777778 & 310.172222222222 \tabularnewline
36 & 3830 & 4424.82777777778 & -594.827777777778 \tabularnewline
37 & 4428 & 4305.11666666667 & 122.883333333333 \tabularnewline
38 & 4834 & 4176.11666666667 & 657.883333333334 \tabularnewline
39 & 4406 & 4756.36666666667 & -350.366666666666 \tabularnewline
40 & 4565 & 4347.82777777778 & 217.172222222222 \tabularnewline
41 & 4104 & 4535.82777777778 & -431.827777777778 \tabularnewline
42 & 4798 & 4964.82777777778 & -166.827777777778 \tabularnewline
43 & 3935 & 3951.32777777778 & -16.3277777777776 \tabularnewline
44 & 3792 & 4212.82777777778 & -420.827777777778 \tabularnewline
45 & 4387 & 4300.82777777778 & 86.1722222222223 \tabularnewline
46 & 4006 & 4593.57777777778 & -587.577777777778 \tabularnewline
47 & 4078 & 3937.82777777778 & 140.172222222222 \tabularnewline
48 & 4724 & 4424.82777777778 & 299.172222222222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58241&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]4143[/C][C]4910.96111111111[/C][C]-767.96111111111[/C][/ROW]
[ROW][C]2[/C][C]4429[/C][C]4781.96111111111[/C][C]-352.961111111112[/C][/ROW]
[ROW][C]3[/C][C]5219[/C][C]5362.21111111111[/C][C]-143.211111111111[/C][/ROW]
[ROW][C]4[/C][C]4929[/C][C]4953.67222222222[/C][C]-24.6722222222219[/C][/ROW]
[ROW][C]5[/C][C]5761[/C][C]5141.67222222222[/C][C]619.327777777778[/C][/ROW]
[ROW][C]6[/C][C]5592[/C][C]5570.67222222222[/C][C]21.3277777777779[/C][/ROW]
[ROW][C]7[/C][C]4163[/C][C]4557.17222222222[/C][C]-394.172222222223[/C][/ROW]
[ROW][C]8[/C][C]4962[/C][C]4818.67222222222[/C][C]143.327777777778[/C][/ROW]
[ROW][C]9[/C][C]5208[/C][C]4906.67222222222[/C][C]301.327777777777[/C][/ROW]
[ROW][C]10[/C][C]4755[/C][C]5199.42222222222[/C][C]-444.422222222223[/C][/ROW]
[ROW][C]11[/C][C]4491[/C][C]4543.67222222222[/C][C]-52.6722222222223[/C][/ROW]
[ROW][C]12[/C][C]5732[/C][C]5030.67222222222[/C][C]701.327777777777[/C][/ROW]
[ROW][C]13[/C][C]5731[/C][C]4910.96111111111[/C][C]820.038888888889[/C][/ROW]
[ROW][C]14[/C][C]5040[/C][C]4781.96111111111[/C][C]258.038888888889[/C][/ROW]
[ROW][C]15[/C][C]6102[/C][C]5362.21111111111[/C][C]739.788888888889[/C][/ROW]
[ROW][C]16[/C][C]4904[/C][C]4953.67222222222[/C][C]-49.6722222222222[/C][/ROW]
[ROW][C]17[/C][C]5369[/C][C]5141.67222222222[/C][C]227.327777777778[/C][/ROW]
[ROW][C]18[/C][C]5578[/C][C]5570.67222222222[/C][C]7.32777777777756[/C][/ROW]
[ROW][C]19[/C][C]4619[/C][C]4557.17222222222[/C][C]61.8277777777777[/C][/ROW]
[ROW][C]20[/C][C]4731[/C][C]4818.67222222222[/C][C]-87.6722222222223[/C][/ROW]
[ROW][C]21[/C][C]5011[/C][C]4906.67222222222[/C][C]104.327777777778[/C][/ROW]
[ROW][C]22[/C][C]5299[/C][C]5199.42222222222[/C][C]99.5777777777775[/C][/ROW]
[ROW][C]23[/C][C]4146[/C][C]4543.67222222222[/C][C]-397.672222222222[/C][/ROW]
[ROW][C]24[/C][C]4625[/C][C]5030.67222222222[/C][C]-405.672222222223[/C][/ROW]
[ROW][C]25[/C][C]4736[/C][C]4910.96111111111[/C][C]-174.961111111112[/C][/ROW]
[ROW][C]26[/C][C]4219[/C][C]4781.96111111111[/C][C]-562.961111111111[/C][/ROW]
[ROW][C]27[/C][C]5116[/C][C]5362.21111111111[/C][C]-246.211111111111[/C][/ROW]
[ROW][C]28[/C][C]4205[/C][C]4347.82777777778[/C][C]-142.827777777778[/C][/ROW]
[ROW][C]29[/C][C]4121[/C][C]4535.82777777778[/C][C]-414.827777777778[/C][/ROW]
[ROW][C]30[/C][C]5103[/C][C]4964.82777777778[/C][C]138.172222222222[/C][/ROW]
[ROW][C]31[/C][C]4300[/C][C]3951.32777777778[/C][C]348.672222222222[/C][/ROW]
[ROW][C]32[/C][C]4578[/C][C]4212.82777777778[/C][C]365.172222222222[/C][/ROW]
[ROW][C]33[/C][C]3809[/C][C]4300.82777777778[/C][C]-491.827777777778[/C][/ROW]
[ROW][C]34[/C][C]5526[/C][C]4593.57777777778[/C][C]932.422222222222[/C][/ROW]
[ROW][C]35[/C][C]4248[/C][C]3937.82777777778[/C][C]310.172222222222[/C][/ROW]
[ROW][C]36[/C][C]3830[/C][C]4424.82777777778[/C][C]-594.827777777778[/C][/ROW]
[ROW][C]37[/C][C]4428[/C][C]4305.11666666667[/C][C]122.883333333333[/C][/ROW]
[ROW][C]38[/C][C]4834[/C][C]4176.11666666667[/C][C]657.883333333334[/C][/ROW]
[ROW][C]39[/C][C]4406[/C][C]4756.36666666667[/C][C]-350.366666666666[/C][/ROW]
[ROW][C]40[/C][C]4565[/C][C]4347.82777777778[/C][C]217.172222222222[/C][/ROW]
[ROW][C]41[/C][C]4104[/C][C]4535.82777777778[/C][C]-431.827777777778[/C][/ROW]
[ROW][C]42[/C][C]4798[/C][C]4964.82777777778[/C][C]-166.827777777778[/C][/ROW]
[ROW][C]43[/C][C]3935[/C][C]3951.32777777778[/C][C]-16.3277777777776[/C][/ROW]
[ROW][C]44[/C][C]3792[/C][C]4212.82777777778[/C][C]-420.827777777778[/C][/ROW]
[ROW][C]45[/C][C]4387[/C][C]4300.82777777778[/C][C]86.1722222222223[/C][/ROW]
[ROW][C]46[/C][C]4006[/C][C]4593.57777777778[/C][C]-587.577777777778[/C][/ROW]
[ROW][C]47[/C][C]4078[/C][C]3937.82777777778[/C][C]140.172222222222[/C][/ROW]
[ROW][C]48[/C][C]4724[/C][C]4424.82777777778[/C][C]299.172222222222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58241&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58241&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
141434910.96111111111-767.96111111111
244294781.96111111111-352.961111111112
352195362.21111111111-143.211111111111
449294953.67222222222-24.6722222222219
557615141.67222222222619.327777777778
655925570.6722222222221.3277777777779
741634557.17222222222-394.172222222223
849624818.67222222222143.327777777778
952084906.67222222222301.327777777777
1047555199.42222222222-444.422222222223
1144914543.67222222222-52.6722222222223
1257325030.67222222222701.327777777777
1357314910.96111111111820.038888888889
1450404781.96111111111258.038888888889
1561025362.21111111111739.788888888889
1649044953.67222222222-49.6722222222222
1753695141.67222222222227.327777777778
1855785570.672222222227.32777777777756
1946194557.1722222222261.8277777777777
2047314818.67222222222-87.6722222222223
2150114906.67222222222104.327777777778
2252995199.4222222222299.5777777777775
2341464543.67222222222-397.672222222222
2446255030.67222222222-405.672222222223
2547364910.96111111111-174.961111111112
2642194781.96111111111-562.961111111111
2751165362.21111111111-246.211111111111
2842054347.82777777778-142.827777777778
2941214535.82777777778-414.827777777778
3051034964.82777777778138.172222222222
3143003951.32777777778348.672222222222
3245784212.82777777778365.172222222222
3338094300.82777777778-491.827777777778
3455264593.57777777778932.422222222222
3542483937.82777777778310.172222222222
3638304424.82777777778-594.827777777778
3744284305.11666666667122.883333333333
3848344176.11666666667657.883333333334
3944064756.36666666667-350.366666666666
4045654347.82777777778217.172222222222
4141044535.82777777778-431.827777777778
4247984964.82777777778-166.827777777778
4339353951.32777777778-16.3277777777776
4437924212.82777777778-420.827777777778
4543874300.8277777777886.1722222222223
4640064593.57777777778-587.577777777778
4740783937.82777777778140.172222222222
4847244424.82777777778299.172222222222







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.9551269402175420.08974611956491530.0448730597824576
170.938619664679490.1227606706410210.0613803353205103
180.883280677269880.233438645460240.11671932273012
190.8230765166635660.3538469666728690.176923483336434
200.7334476109819830.5331047780360350.266552389018017
210.675008215548780.6499835689024390.324991784451219
220.6140573943371030.7718852113257940.385942605662897
230.5123173167554110.9753653664891780.487682683244589
240.5463733896736380.9072532206527250.453626610326362
250.4331407677570260.8662815355140520.566859232242974
260.4603185497981840.9206370995963690.539681450201816
270.3735263991065250.7470527982130490.626473600893475
280.2728044976406820.5456089952813650.727195502359318
290.1948614972646910.3897229945293830.805138502735309
300.1332235225958670.2664470451917340.866776477404133
310.0942244975756380.1884489951512760.905775502424362
320.07240279069842040.1448055813968410.92759720930158

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.955126940217542 & 0.0897461195649153 & 0.0448730597824576 \tabularnewline
17 & 0.93861966467949 & 0.122760670641021 & 0.0613803353205103 \tabularnewline
18 & 0.88328067726988 & 0.23343864546024 & 0.11671932273012 \tabularnewline
19 & 0.823076516663566 & 0.353846966672869 & 0.176923483336434 \tabularnewline
20 & 0.733447610981983 & 0.533104778036035 & 0.266552389018017 \tabularnewline
21 & 0.67500821554878 & 0.649983568902439 & 0.324991784451219 \tabularnewline
22 & 0.614057394337103 & 0.771885211325794 & 0.385942605662897 \tabularnewline
23 & 0.512317316755411 & 0.975365366489178 & 0.487682683244589 \tabularnewline
24 & 0.546373389673638 & 0.907253220652725 & 0.453626610326362 \tabularnewline
25 & 0.433140767757026 & 0.866281535514052 & 0.566859232242974 \tabularnewline
26 & 0.460318549798184 & 0.920637099596369 & 0.539681450201816 \tabularnewline
27 & 0.373526399106525 & 0.747052798213049 & 0.626473600893475 \tabularnewline
28 & 0.272804497640682 & 0.545608995281365 & 0.727195502359318 \tabularnewline
29 & 0.194861497264691 & 0.389722994529383 & 0.805138502735309 \tabularnewline
30 & 0.133223522595867 & 0.266447045191734 & 0.866776477404133 \tabularnewline
31 & 0.094224497575638 & 0.188448995151276 & 0.905775502424362 \tabularnewline
32 & 0.0724027906984204 & 0.144805581396841 & 0.92759720930158 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58241&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.955126940217542[/C][C]0.0897461195649153[/C][C]0.0448730597824576[/C][/ROW]
[ROW][C]17[/C][C]0.93861966467949[/C][C]0.122760670641021[/C][C]0.0613803353205103[/C][/ROW]
[ROW][C]18[/C][C]0.88328067726988[/C][C]0.23343864546024[/C][C]0.11671932273012[/C][/ROW]
[ROW][C]19[/C][C]0.823076516663566[/C][C]0.353846966672869[/C][C]0.176923483336434[/C][/ROW]
[ROW][C]20[/C][C]0.733447610981983[/C][C]0.533104778036035[/C][C]0.266552389018017[/C][/ROW]
[ROW][C]21[/C][C]0.67500821554878[/C][C]0.649983568902439[/C][C]0.324991784451219[/C][/ROW]
[ROW][C]22[/C][C]0.614057394337103[/C][C]0.771885211325794[/C][C]0.385942605662897[/C][/ROW]
[ROW][C]23[/C][C]0.512317316755411[/C][C]0.975365366489178[/C][C]0.487682683244589[/C][/ROW]
[ROW][C]24[/C][C]0.546373389673638[/C][C]0.907253220652725[/C][C]0.453626610326362[/C][/ROW]
[ROW][C]25[/C][C]0.433140767757026[/C][C]0.866281535514052[/C][C]0.566859232242974[/C][/ROW]
[ROW][C]26[/C][C]0.460318549798184[/C][C]0.920637099596369[/C][C]0.539681450201816[/C][/ROW]
[ROW][C]27[/C][C]0.373526399106525[/C][C]0.747052798213049[/C][C]0.626473600893475[/C][/ROW]
[ROW][C]28[/C][C]0.272804497640682[/C][C]0.545608995281365[/C][C]0.727195502359318[/C][/ROW]
[ROW][C]29[/C][C]0.194861497264691[/C][C]0.389722994529383[/C][C]0.805138502735309[/C][/ROW]
[ROW][C]30[/C][C]0.133223522595867[/C][C]0.266447045191734[/C][C]0.866776477404133[/C][/ROW]
[ROW][C]31[/C][C]0.094224497575638[/C][C]0.188448995151276[/C][C]0.905775502424362[/C][/ROW]
[ROW][C]32[/C][C]0.0724027906984204[/C][C]0.144805581396841[/C][C]0.92759720930158[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58241&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.9551269402175420.08974611956491530.0448730597824576
170.938619664679490.1227606706410210.0613803353205103
180.883280677269880.233438645460240.11671932273012
190.8230765166635660.3538469666728690.176923483336434
200.7334476109819830.5331047780360350.266552389018017
210.675008215548780.6499835689024390.324991784451219
220.6140573943371030.7718852113257940.385942605662897
230.5123173167554110.9753653664891780.487682683244589
240.5463733896736380.9072532206527250.453626610326362
250.4331407677570260.8662815355140520.566859232242974
260.4603185497981840.9206370995963690.539681450201816
270.3735263991065250.7470527982130490.626473600893475
280.2728044976406820.5456089952813650.727195502359318
290.1948614972646910.3897229945293830.805138502735309
300.1332235225958670.2664470451917340.866776477404133
310.0942244975756380.1884489951512760.905775502424362
320.07240279069842040.1448055813968410.92759720930158







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 level10.0588235294117647OK

\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 & 1 & 0.0588235294117647 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58241&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]1[/C][C]0.0588235294117647[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58241&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58241&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 level10.0588235294117647OK



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