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 computationMon, 13 Dec 2010 14:36:13 +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/13/t1292250908sctcqrhef2mjz54.htm/, Retrieved Mon, 06 May 2024 14:55:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108950, Retrieved Mon, 06 May 2024 14:55:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact156
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-   PD  [Multiple Regression] [Workshop 7 multip...] [2010-12-01 09:15:23] [6a528ed37664d761abf4790b0717b23b]
-   PD      [Multiple Regression] [Paper Multiple Re...] [2010-12-13 14:36:13] [fd751bc40fbbb4c72222c10190589d42] [Current]
Feedback Forum

Post a new message
Dataseries X:
3	11	6	12	2
2	12	6	7	1
-7	39	4	11	-8
-1	19	6	9	-1
0	14	5	13	1
-3	15	4	12	-1
4	7	5	5	2
2	12	5	13	2
3	12	4	11	1
0	14	3	8	-1
-10	9	2	8	-2
-10	8	3	8	-2
-9	4	2	8	-1
-22	7	-1	0	-8
-16	3	0	3	-4
-18	5	-2	0	-6
-14	0	1	-1	-3
-12	-2	-4	-1	-3
-17	6	-2	-4	-7
-23	11	-2	1	-9
-28	9	-6	-1	-11
-31	17	-4	0	-13
-21	21	-2	-1	-11
-19	21	0	6	-9
-22	41	-5	0	-17
-22	57	-4	-3	-22
-25	65	-5	-3	-25
-16	68	-1	4	-20
-22	73	-2	1	-24
-21	71	-4	0	-24
-10	71	-1	-4	-22
-7	70	1	-2	-19
-5	69	1	3	-18
-4	65	-2	2	-17
7	57	1	5	-11
6	57	1	6	-11
3	57	3	6	-12
10	55	3	3	-10
0	65	1	4	-15
-2	65	1	7	-15
-1	64	0	5	-15
2	60	2	6	-13
8	43	2	1	-8
-6	47	-1	3	-13
-4	40	1	6	-9
4	31	0	0	-7
7	27	1	3	-4
3	24	1	4	-4
3	23	3	7	-2
8	17	2	6	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108950&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108950&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108950&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
indicator[t] = + 0.269947045983855 + 0.258970092398895economical[t] -0.254850177345353unemployement[t] + 0.237994998300893financial[t] + 0.225051492669513capacity[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
indicator[t] =  +  0.269947045983855 +  0.258970092398895economical[t] -0.254850177345353unemployement[t] +  0.237994998300893financial[t] +  0.225051492669513capacity[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108950&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]indicator[t] =  +  0.269947045983855 +  0.258970092398895economical[t] -0.254850177345353unemployement[t] +  0.237994998300893financial[t] +  0.225051492669513capacity[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108950&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108950&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
indicator[t] = + 0.269947045983855 + 0.258970092398895economical[t] -0.254850177345353unemployement[t] + 0.237994998300893financial[t] + 0.225051492669513capacity[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.2699470459838550.1301032.07490.0437460.021873
economical0.2589700923988950.00692837.381200
unemployement-0.2548501773453530.002067-123.320500
financial0.2379949983008930.0342496.948900
capacity0.2250514926695130.01725113.046100

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 0.269947045983855 & 0.130103 & 2.0749 & 0.043746 & 0.021873 \tabularnewline
economical & 0.258970092398895 & 0.006928 & 37.3812 & 0 & 0 \tabularnewline
unemployement & -0.254850177345353 & 0.002067 & -123.3205 & 0 & 0 \tabularnewline
financial & 0.237994998300893 & 0.034249 & 6.9489 & 0 & 0 \tabularnewline
capacity & 0.225051492669513 & 0.017251 & 13.0461 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108950&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]0.269947045983855[/C][C]0.130103[/C][C]2.0749[/C][C]0.043746[/C][C]0.021873[/C][/ROW]
[ROW][C]economical[/C][C]0.258970092398895[/C][C]0.006928[/C][C]37.3812[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]unemployement[/C][C]-0.254850177345353[/C][C]0.002067[/C][C]-123.3205[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]financial[/C][C]0.237994998300893[/C][C]0.034249[/C][C]6.9489[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]capacity[/C][C]0.225051492669513[/C][C]0.017251[/C][C]13.0461[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108950&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.2699470459838550.1301032.07490.0437460.021873
economical0.2589700923988950.00692837.381200
unemployement-0.2548501773453530.002067-123.320500
financial0.2379949983008930.0342496.948900
capacity0.2250514926695130.01725113.046100







Multiple Linear Regression - Regression Statistics
Multiple R0.999221162082563
R-squared0.998442930753627
Adjusted R-squared0.998304524598394
F-TEST (value)7213.86219472357
F-TEST (DF numerator)4
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.320567936851966
Sum Squared Residuals4.62437109618868

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.999221162082563 \tabularnewline
R-squared & 0.998442930753627 \tabularnewline
Adjusted R-squared & 0.998304524598394 \tabularnewline
F-TEST (value) & 7213.86219472357 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.320567936851966 \tabularnewline
Sum Squared Residuals & 4.62437109618868 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108950&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.999221162082563[/C][/ROW]
[ROW][C]R-squared[/C][C]0.998442930753627[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.998304524598394[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7213.86219472357[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.320567936851966[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4.62437109618868[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108950&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108950&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.999221162082563
R-squared0.998442930753627
Adjusted R-squared0.998304524598394
F-TEST (value)7213.86219472357
F-TEST (DF numerator)4
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.320567936851966
Sum Squared Residuals4.62437109618868







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
122.37209327422117-0.372093274221165
210.733015541129350.26698445887065
3-8-8.054454104708990.054454104708986
4-1-1.377742992145780.377742992145784
510.8176889593570370.182311040642963
6-1-0.677117986155409-0.322882013844591
721.837108629013990.162891370986010
821.845329498845530.154670501154466
911.41620160760451-0.416201607604511
10-1-0.783558500592313-0.216441499407687
11-2-2.337003536155390.337003536155393
12-2-1.84415836050915-0.155841639490853
13-1-0.803782557029731-0.196217442970269
14-8-7.44934122651021-0.550658773489789
15-4-3.96297048642599-0.0370295135740053
16-6-6.141755500524810.141755500524815
17-3-3.34269074196930.342690741969302
18-3-3.505025193985270.505025193985268
19-7-7.037841556149320.0378415561493239
20-9-8.7406555339219-0.259344466078099
21-11-10.9278886197683-0.072111380231732
22-13-13.04255882645650.0425588264564821
23-11-11.22132010791670.221320107916668
24-9-8.6520294778305-0.347970522169498
25-17-17.06622724945580.0662272494557975
26-22-21.5809895666891-0.419010433310902
27-25-24.6346962609495-0.365303739050497
28-20-20.54117551950530.541175519505344
29-24-24.28239643693490.282396436934915
30-24-24.21476747911660.214767479116610
31-22-21.5523174385041-0.447682561495867
32-19-19.59446400202130.594464002021282
33-18-17.6964161765306-0.303583823469426
34-17-17.35708186232250.357081862322457
35-11-11.08046995426060.0804699542605642
36-11-11.11438855398990.114388553989947
37-12-11.4153088345848-0.58469116541515
38-10-9.76797231111041-0.232027688889588
39-15-15.15711351248520.157113512485171
40-15-14.9998992192744-0.000100780725575256
41-15-15.17417693317010.174176933170095
42-13-12.6768244573207-0.323175542679303
43-8-7.91580835140388-0.0841916485961194
44-13-12.8246723639335-0.175327636066517
45-9-9.37163646310790.371636463107894
46-7-6.59452808212652-0.40547191787348
47-4-3.88506761923899-0.114932380761012
48-4-3.931345964129-0.0686540358710028
49-2-2.525351312173320.525351312173321
500-0.1644462770771290.164446277077129

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2 & 2.37209327422117 & -0.372093274221165 \tabularnewline
2 & 1 & 0.73301554112935 & 0.26698445887065 \tabularnewline
3 & -8 & -8.05445410470899 & 0.054454104708986 \tabularnewline
4 & -1 & -1.37774299214578 & 0.377742992145784 \tabularnewline
5 & 1 & 0.817688959357037 & 0.182311040642963 \tabularnewline
6 & -1 & -0.677117986155409 & -0.322882013844591 \tabularnewline
7 & 2 & 1.83710862901399 & 0.162891370986010 \tabularnewline
8 & 2 & 1.84532949884553 & 0.154670501154466 \tabularnewline
9 & 1 & 1.41620160760451 & -0.416201607604511 \tabularnewline
10 & -1 & -0.783558500592313 & -0.216441499407687 \tabularnewline
11 & -2 & -2.33700353615539 & 0.337003536155393 \tabularnewline
12 & -2 & -1.84415836050915 & -0.155841639490853 \tabularnewline
13 & -1 & -0.803782557029731 & -0.196217442970269 \tabularnewline
14 & -8 & -7.44934122651021 & -0.550658773489789 \tabularnewline
15 & -4 & -3.96297048642599 & -0.0370295135740053 \tabularnewline
16 & -6 & -6.14175550052481 & 0.141755500524815 \tabularnewline
17 & -3 & -3.3426907419693 & 0.342690741969302 \tabularnewline
18 & -3 & -3.50502519398527 & 0.505025193985268 \tabularnewline
19 & -7 & -7.03784155614932 & 0.0378415561493239 \tabularnewline
20 & -9 & -8.7406555339219 & -0.259344466078099 \tabularnewline
21 & -11 & -10.9278886197683 & -0.072111380231732 \tabularnewline
22 & -13 & -13.0425588264565 & 0.0425588264564821 \tabularnewline
23 & -11 & -11.2213201079167 & 0.221320107916668 \tabularnewline
24 & -9 & -8.6520294778305 & -0.347970522169498 \tabularnewline
25 & -17 & -17.0662272494558 & 0.0662272494557975 \tabularnewline
26 & -22 & -21.5809895666891 & -0.419010433310902 \tabularnewline
27 & -25 & -24.6346962609495 & -0.365303739050497 \tabularnewline
28 & -20 & -20.5411755195053 & 0.541175519505344 \tabularnewline
29 & -24 & -24.2823964369349 & 0.282396436934915 \tabularnewline
30 & -24 & -24.2147674791166 & 0.214767479116610 \tabularnewline
31 & -22 & -21.5523174385041 & -0.447682561495867 \tabularnewline
32 & -19 & -19.5944640020213 & 0.594464002021282 \tabularnewline
33 & -18 & -17.6964161765306 & -0.303583823469426 \tabularnewline
34 & -17 & -17.3570818623225 & 0.357081862322457 \tabularnewline
35 & -11 & -11.0804699542606 & 0.0804699542605642 \tabularnewline
36 & -11 & -11.1143885539899 & 0.114388553989947 \tabularnewline
37 & -12 & -11.4153088345848 & -0.58469116541515 \tabularnewline
38 & -10 & -9.76797231111041 & -0.232027688889588 \tabularnewline
39 & -15 & -15.1571135124852 & 0.157113512485171 \tabularnewline
40 & -15 & -14.9998992192744 & -0.000100780725575256 \tabularnewline
41 & -15 & -15.1741769331701 & 0.174176933170095 \tabularnewline
42 & -13 & -12.6768244573207 & -0.323175542679303 \tabularnewline
43 & -8 & -7.91580835140388 & -0.0841916485961194 \tabularnewline
44 & -13 & -12.8246723639335 & -0.175327636066517 \tabularnewline
45 & -9 & -9.3716364631079 & 0.371636463107894 \tabularnewline
46 & -7 & -6.59452808212652 & -0.40547191787348 \tabularnewline
47 & -4 & -3.88506761923899 & -0.114932380761012 \tabularnewline
48 & -4 & -3.931345964129 & -0.0686540358710028 \tabularnewline
49 & -2 & -2.52535131217332 & 0.525351312173321 \tabularnewline
50 & 0 & -0.164446277077129 & 0.164446277077129 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108950&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]2[/C][C]2.37209327422117[/C][C]-0.372093274221165[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]0.73301554112935[/C][C]0.26698445887065[/C][/ROW]
[ROW][C]3[/C][C]-8[/C][C]-8.05445410470899[/C][C]0.054454104708986[/C][/ROW]
[ROW][C]4[/C][C]-1[/C][C]-1.37774299214578[/C][C]0.377742992145784[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]0.817688959357037[/C][C]0.182311040642963[/C][/ROW]
[ROW][C]6[/C][C]-1[/C][C]-0.677117986155409[/C][C]-0.322882013844591[/C][/ROW]
[ROW][C]7[/C][C]2[/C][C]1.83710862901399[/C][C]0.162891370986010[/C][/ROW]
[ROW][C]8[/C][C]2[/C][C]1.84532949884553[/C][C]0.154670501154466[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]1.41620160760451[/C][C]-0.416201607604511[/C][/ROW]
[ROW][C]10[/C][C]-1[/C][C]-0.783558500592313[/C][C]-0.216441499407687[/C][/ROW]
[ROW][C]11[/C][C]-2[/C][C]-2.33700353615539[/C][C]0.337003536155393[/C][/ROW]
[ROW][C]12[/C][C]-2[/C][C]-1.84415836050915[/C][C]-0.155841639490853[/C][/ROW]
[ROW][C]13[/C][C]-1[/C][C]-0.803782557029731[/C][C]-0.196217442970269[/C][/ROW]
[ROW][C]14[/C][C]-8[/C][C]-7.44934122651021[/C][C]-0.550658773489789[/C][/ROW]
[ROW][C]15[/C][C]-4[/C][C]-3.96297048642599[/C][C]-0.0370295135740053[/C][/ROW]
[ROW][C]16[/C][C]-6[/C][C]-6.14175550052481[/C][C]0.141755500524815[/C][/ROW]
[ROW][C]17[/C][C]-3[/C][C]-3.3426907419693[/C][C]0.342690741969302[/C][/ROW]
[ROW][C]18[/C][C]-3[/C][C]-3.50502519398527[/C][C]0.505025193985268[/C][/ROW]
[ROW][C]19[/C][C]-7[/C][C]-7.03784155614932[/C][C]0.0378415561493239[/C][/ROW]
[ROW][C]20[/C][C]-9[/C][C]-8.7406555339219[/C][C]-0.259344466078099[/C][/ROW]
[ROW][C]21[/C][C]-11[/C][C]-10.9278886197683[/C][C]-0.072111380231732[/C][/ROW]
[ROW][C]22[/C][C]-13[/C][C]-13.0425588264565[/C][C]0.0425588264564821[/C][/ROW]
[ROW][C]23[/C][C]-11[/C][C]-11.2213201079167[/C][C]0.221320107916668[/C][/ROW]
[ROW][C]24[/C][C]-9[/C][C]-8.6520294778305[/C][C]-0.347970522169498[/C][/ROW]
[ROW][C]25[/C][C]-17[/C][C]-17.0662272494558[/C][C]0.0662272494557975[/C][/ROW]
[ROW][C]26[/C][C]-22[/C][C]-21.5809895666891[/C][C]-0.419010433310902[/C][/ROW]
[ROW][C]27[/C][C]-25[/C][C]-24.6346962609495[/C][C]-0.365303739050497[/C][/ROW]
[ROW][C]28[/C][C]-20[/C][C]-20.5411755195053[/C][C]0.541175519505344[/C][/ROW]
[ROW][C]29[/C][C]-24[/C][C]-24.2823964369349[/C][C]0.282396436934915[/C][/ROW]
[ROW][C]30[/C][C]-24[/C][C]-24.2147674791166[/C][C]0.214767479116610[/C][/ROW]
[ROW][C]31[/C][C]-22[/C][C]-21.5523174385041[/C][C]-0.447682561495867[/C][/ROW]
[ROW][C]32[/C][C]-19[/C][C]-19.5944640020213[/C][C]0.594464002021282[/C][/ROW]
[ROW][C]33[/C][C]-18[/C][C]-17.6964161765306[/C][C]-0.303583823469426[/C][/ROW]
[ROW][C]34[/C][C]-17[/C][C]-17.3570818623225[/C][C]0.357081862322457[/C][/ROW]
[ROW][C]35[/C][C]-11[/C][C]-11.0804699542606[/C][C]0.0804699542605642[/C][/ROW]
[ROW][C]36[/C][C]-11[/C][C]-11.1143885539899[/C][C]0.114388553989947[/C][/ROW]
[ROW][C]37[/C][C]-12[/C][C]-11.4153088345848[/C][C]-0.58469116541515[/C][/ROW]
[ROW][C]38[/C][C]-10[/C][C]-9.76797231111041[/C][C]-0.232027688889588[/C][/ROW]
[ROW][C]39[/C][C]-15[/C][C]-15.1571135124852[/C][C]0.157113512485171[/C][/ROW]
[ROW][C]40[/C][C]-15[/C][C]-14.9998992192744[/C][C]-0.000100780725575256[/C][/ROW]
[ROW][C]41[/C][C]-15[/C][C]-15.1741769331701[/C][C]0.174176933170095[/C][/ROW]
[ROW][C]42[/C][C]-13[/C][C]-12.6768244573207[/C][C]-0.323175542679303[/C][/ROW]
[ROW][C]43[/C][C]-8[/C][C]-7.91580835140388[/C][C]-0.0841916485961194[/C][/ROW]
[ROW][C]44[/C][C]-13[/C][C]-12.8246723639335[/C][C]-0.175327636066517[/C][/ROW]
[ROW][C]45[/C][C]-9[/C][C]-9.3716364631079[/C][C]0.371636463107894[/C][/ROW]
[ROW][C]46[/C][C]-7[/C][C]-6.59452808212652[/C][C]-0.40547191787348[/C][/ROW]
[ROW][C]47[/C][C]-4[/C][C]-3.88506761923899[/C][C]-0.114932380761012[/C][/ROW]
[ROW][C]48[/C][C]-4[/C][C]-3.931345964129[/C][C]-0.0686540358710028[/C][/ROW]
[ROW][C]49[/C][C]-2[/C][C]-2.52535131217332[/C][C]0.525351312173321[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]-0.164446277077129[/C][C]0.164446277077129[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108950&T=4

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
122.37209327422117-0.372093274221165
210.733015541129350.26698445887065
3-8-8.054454104708990.054454104708986
4-1-1.377742992145780.377742992145784
510.8176889593570370.182311040642963
6-1-0.677117986155409-0.322882013844591
721.837108629013990.162891370986010
821.845329498845530.154670501154466
911.41620160760451-0.416201607604511
10-1-0.783558500592313-0.216441499407687
11-2-2.337003536155390.337003536155393
12-2-1.84415836050915-0.155841639490853
13-1-0.803782557029731-0.196217442970269
14-8-7.44934122651021-0.550658773489789
15-4-3.96297048642599-0.0370295135740053
16-6-6.141755500524810.141755500524815
17-3-3.34269074196930.342690741969302
18-3-3.505025193985270.505025193985268
19-7-7.037841556149320.0378415561493239
20-9-8.7406555339219-0.259344466078099
21-11-10.9278886197683-0.072111380231732
22-13-13.04255882645650.0425588264564821
23-11-11.22132010791670.221320107916668
24-9-8.6520294778305-0.347970522169498
25-17-17.06622724945580.0662272494557975
26-22-21.5809895666891-0.419010433310902
27-25-24.6346962609495-0.365303739050497
28-20-20.54117551950530.541175519505344
29-24-24.28239643693490.282396436934915
30-24-24.21476747911660.214767479116610
31-22-21.5523174385041-0.447682561495867
32-19-19.59446400202130.594464002021282
33-18-17.6964161765306-0.303583823469426
34-17-17.35708186232250.357081862322457
35-11-11.08046995426060.0804699542605642
36-11-11.11438855398990.114388553989947
37-12-11.4153088345848-0.58469116541515
38-10-9.76797231111041-0.232027688889588
39-15-15.15711351248520.157113512485171
40-15-14.9998992192744-0.000100780725575256
41-15-15.17417693317010.174176933170095
42-13-12.6768244573207-0.323175542679303
43-8-7.91580835140388-0.0841916485961194
44-13-12.8246723639335-0.175327636066517
45-9-9.37163646310790.371636463107894
46-7-6.59452808212652-0.40547191787348
47-4-3.88506761923899-0.114932380761012
48-4-3.931345964129-0.0686540358710028
49-2-2.525351312173320.525351312173321
500-0.1644462770771290.164446277077129







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.6449225851151480.7101548297697040.355077414884852
90.5450984401735790.9098031196528430.454901559826421
100.4005639410267020.8011278820534030.599436058973298
110.302766452096920.605532904193840.69723354790308
120.3975017938113070.7950035876226130.602498206188693
130.3107904944355670.6215809888711340.689209505564433
140.4225437125156510.8450874250313020.577456287484349
150.3710042370890280.7420084741780560.628995762910972
160.4106945677158620.8213891354317230.589305432284138
170.3829730461285020.7659460922570040.617026953871498
180.5237717955495140.9524564089009720.476228204450486
190.4689887501954210.9379775003908420.531011249804579
200.4091426081276090.8182852162552180.590857391872391
210.3220645269310600.6441290538621190.67793547306894
220.2595118699746320.5190237399492640.740488130025368
230.2206239340327830.4412478680655670.779376065967217
240.2518226968874970.5036453937749940.748177303112503
250.1865155061922960.3730310123845920.813484493807704
260.2498769986178710.4997539972357420.750123001382129
270.2837942150048980.5675884300097970.716205784995102
280.4371778251753130.8743556503506260.562822174824687
290.3799749611545550.759949922309110.620025038845445
300.3021128542500840.6042257085001680.697887145749916
310.4343009397861580.8686018795723160.565699060213842
320.7807933078059060.4384133843881880.219206692194094
330.7335736485495920.5328527029008160.266426351450408
340.7586710533731430.4826578932537150.241328946626857
350.6780225119744040.6439549760511930.321977488025596
360.5858531288640660.8282937422718680.414146871135934
370.8876757673531930.2246484652936130.112324232646807
380.830693071156270.3386138576874610.169306928843731
390.8051882273012330.3896235453975340.194811772698767
400.6978976764569760.6042046470860480.302102323543024
410.9096721479881380.1806557040237240.0903278520118622
420.9937607316260180.01247853674796320.00623926837398161

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.644922585115148 & 0.710154829769704 & 0.355077414884852 \tabularnewline
9 & 0.545098440173579 & 0.909803119652843 & 0.454901559826421 \tabularnewline
10 & 0.400563941026702 & 0.801127882053403 & 0.599436058973298 \tabularnewline
11 & 0.30276645209692 & 0.60553290419384 & 0.69723354790308 \tabularnewline
12 & 0.397501793811307 & 0.795003587622613 & 0.602498206188693 \tabularnewline
13 & 0.310790494435567 & 0.621580988871134 & 0.689209505564433 \tabularnewline
14 & 0.422543712515651 & 0.845087425031302 & 0.577456287484349 \tabularnewline
15 & 0.371004237089028 & 0.742008474178056 & 0.628995762910972 \tabularnewline
16 & 0.410694567715862 & 0.821389135431723 & 0.589305432284138 \tabularnewline
17 & 0.382973046128502 & 0.765946092257004 & 0.617026953871498 \tabularnewline
18 & 0.523771795549514 & 0.952456408900972 & 0.476228204450486 \tabularnewline
19 & 0.468988750195421 & 0.937977500390842 & 0.531011249804579 \tabularnewline
20 & 0.409142608127609 & 0.818285216255218 & 0.590857391872391 \tabularnewline
21 & 0.322064526931060 & 0.644129053862119 & 0.67793547306894 \tabularnewline
22 & 0.259511869974632 & 0.519023739949264 & 0.740488130025368 \tabularnewline
23 & 0.220623934032783 & 0.441247868065567 & 0.779376065967217 \tabularnewline
24 & 0.251822696887497 & 0.503645393774994 & 0.748177303112503 \tabularnewline
25 & 0.186515506192296 & 0.373031012384592 & 0.813484493807704 \tabularnewline
26 & 0.249876998617871 & 0.499753997235742 & 0.750123001382129 \tabularnewline
27 & 0.283794215004898 & 0.567588430009797 & 0.716205784995102 \tabularnewline
28 & 0.437177825175313 & 0.874355650350626 & 0.562822174824687 \tabularnewline
29 & 0.379974961154555 & 0.75994992230911 & 0.620025038845445 \tabularnewline
30 & 0.302112854250084 & 0.604225708500168 & 0.697887145749916 \tabularnewline
31 & 0.434300939786158 & 0.868601879572316 & 0.565699060213842 \tabularnewline
32 & 0.780793307805906 & 0.438413384388188 & 0.219206692194094 \tabularnewline
33 & 0.733573648549592 & 0.532852702900816 & 0.266426351450408 \tabularnewline
34 & 0.758671053373143 & 0.482657893253715 & 0.241328946626857 \tabularnewline
35 & 0.678022511974404 & 0.643954976051193 & 0.321977488025596 \tabularnewline
36 & 0.585853128864066 & 0.828293742271868 & 0.414146871135934 \tabularnewline
37 & 0.887675767353193 & 0.224648465293613 & 0.112324232646807 \tabularnewline
38 & 0.83069307115627 & 0.338613857687461 & 0.169306928843731 \tabularnewline
39 & 0.805188227301233 & 0.389623545397534 & 0.194811772698767 \tabularnewline
40 & 0.697897676456976 & 0.604204647086048 & 0.302102323543024 \tabularnewline
41 & 0.909672147988138 & 0.180655704023724 & 0.0903278520118622 \tabularnewline
42 & 0.993760731626018 & 0.0124785367479632 & 0.00623926837398161 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108950&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]8[/C][C]0.644922585115148[/C][C]0.710154829769704[/C][C]0.355077414884852[/C][/ROW]
[ROW][C]9[/C][C]0.545098440173579[/C][C]0.909803119652843[/C][C]0.454901559826421[/C][/ROW]
[ROW][C]10[/C][C]0.400563941026702[/C][C]0.801127882053403[/C][C]0.599436058973298[/C][/ROW]
[ROW][C]11[/C][C]0.30276645209692[/C][C]0.60553290419384[/C][C]0.69723354790308[/C][/ROW]
[ROW][C]12[/C][C]0.397501793811307[/C][C]0.795003587622613[/C][C]0.602498206188693[/C][/ROW]
[ROW][C]13[/C][C]0.310790494435567[/C][C]0.621580988871134[/C][C]0.689209505564433[/C][/ROW]
[ROW][C]14[/C][C]0.422543712515651[/C][C]0.845087425031302[/C][C]0.577456287484349[/C][/ROW]
[ROW][C]15[/C][C]0.371004237089028[/C][C]0.742008474178056[/C][C]0.628995762910972[/C][/ROW]
[ROW][C]16[/C][C]0.410694567715862[/C][C]0.821389135431723[/C][C]0.589305432284138[/C][/ROW]
[ROW][C]17[/C][C]0.382973046128502[/C][C]0.765946092257004[/C][C]0.617026953871498[/C][/ROW]
[ROW][C]18[/C][C]0.523771795549514[/C][C]0.952456408900972[/C][C]0.476228204450486[/C][/ROW]
[ROW][C]19[/C][C]0.468988750195421[/C][C]0.937977500390842[/C][C]0.531011249804579[/C][/ROW]
[ROW][C]20[/C][C]0.409142608127609[/C][C]0.818285216255218[/C][C]0.590857391872391[/C][/ROW]
[ROW][C]21[/C][C]0.322064526931060[/C][C]0.644129053862119[/C][C]0.67793547306894[/C][/ROW]
[ROW][C]22[/C][C]0.259511869974632[/C][C]0.519023739949264[/C][C]0.740488130025368[/C][/ROW]
[ROW][C]23[/C][C]0.220623934032783[/C][C]0.441247868065567[/C][C]0.779376065967217[/C][/ROW]
[ROW][C]24[/C][C]0.251822696887497[/C][C]0.503645393774994[/C][C]0.748177303112503[/C][/ROW]
[ROW][C]25[/C][C]0.186515506192296[/C][C]0.373031012384592[/C][C]0.813484493807704[/C][/ROW]
[ROW][C]26[/C][C]0.249876998617871[/C][C]0.499753997235742[/C][C]0.750123001382129[/C][/ROW]
[ROW][C]27[/C][C]0.283794215004898[/C][C]0.567588430009797[/C][C]0.716205784995102[/C][/ROW]
[ROW][C]28[/C][C]0.437177825175313[/C][C]0.874355650350626[/C][C]0.562822174824687[/C][/ROW]
[ROW][C]29[/C][C]0.379974961154555[/C][C]0.75994992230911[/C][C]0.620025038845445[/C][/ROW]
[ROW][C]30[/C][C]0.302112854250084[/C][C]0.604225708500168[/C][C]0.697887145749916[/C][/ROW]
[ROW][C]31[/C][C]0.434300939786158[/C][C]0.868601879572316[/C][C]0.565699060213842[/C][/ROW]
[ROW][C]32[/C][C]0.780793307805906[/C][C]0.438413384388188[/C][C]0.219206692194094[/C][/ROW]
[ROW][C]33[/C][C]0.733573648549592[/C][C]0.532852702900816[/C][C]0.266426351450408[/C][/ROW]
[ROW][C]34[/C][C]0.758671053373143[/C][C]0.482657893253715[/C][C]0.241328946626857[/C][/ROW]
[ROW][C]35[/C][C]0.678022511974404[/C][C]0.643954976051193[/C][C]0.321977488025596[/C][/ROW]
[ROW][C]36[/C][C]0.585853128864066[/C][C]0.828293742271868[/C][C]0.414146871135934[/C][/ROW]
[ROW][C]37[/C][C]0.887675767353193[/C][C]0.224648465293613[/C][C]0.112324232646807[/C][/ROW]
[ROW][C]38[/C][C]0.83069307115627[/C][C]0.338613857687461[/C][C]0.169306928843731[/C][/ROW]
[ROW][C]39[/C][C]0.805188227301233[/C][C]0.389623545397534[/C][C]0.194811772698767[/C][/ROW]
[ROW][C]40[/C][C]0.697897676456976[/C][C]0.604204647086048[/C][C]0.302102323543024[/C][/ROW]
[ROW][C]41[/C][C]0.909672147988138[/C][C]0.180655704023724[/C][C]0.0903278520118622[/C][/ROW]
[ROW][C]42[/C][C]0.993760731626018[/C][C]0.0124785367479632[/C][C]0.00623926837398161[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108950&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108950&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
80.6449225851151480.7101548297697040.355077414884852
90.5450984401735790.9098031196528430.454901559826421
100.4005639410267020.8011278820534030.599436058973298
110.302766452096920.605532904193840.69723354790308
120.3975017938113070.7950035876226130.602498206188693
130.3107904944355670.6215809888711340.689209505564433
140.4225437125156510.8450874250313020.577456287484349
150.3710042370890280.7420084741780560.628995762910972
160.4106945677158620.8213891354317230.589305432284138
170.3829730461285020.7659460922570040.617026953871498
180.5237717955495140.9524564089009720.476228204450486
190.4689887501954210.9379775003908420.531011249804579
200.4091426081276090.8182852162552180.590857391872391
210.3220645269310600.6441290538621190.67793547306894
220.2595118699746320.5190237399492640.740488130025368
230.2206239340327830.4412478680655670.779376065967217
240.2518226968874970.5036453937749940.748177303112503
250.1865155061922960.3730310123845920.813484493807704
260.2498769986178710.4997539972357420.750123001382129
270.2837942150048980.5675884300097970.716205784995102
280.4371778251753130.8743556503506260.562822174824687
290.3799749611545550.759949922309110.620025038845445
300.3021128542500840.6042257085001680.697887145749916
310.4343009397861580.8686018795723160.565699060213842
320.7807933078059060.4384133843881880.219206692194094
330.7335736485495920.5328527029008160.266426351450408
340.7586710533731430.4826578932537150.241328946626857
350.6780225119744040.6439549760511930.321977488025596
360.5858531288640660.8282937422718680.414146871135934
370.8876757673531930.2246484652936130.112324232646807
380.830693071156270.3386138576874610.169306928843731
390.8051882273012330.3896235453975340.194811772698767
400.6978976764569760.6042046470860480.302102323543024
410.9096721479881380.1806557040237240.0903278520118622
420.9937607316260180.01247853674796320.00623926837398161







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

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

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



Parameters (Session):
par1 = 5 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 5 ; 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')
}