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 computationSun, 29 Nov 2015 21:37:53 +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/2015/Nov/29/t1448835307z1uheoulj27w2tv.htm/, Retrieved Wed, 15 May 2024 01:07:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=284539, Retrieved Wed, 15 May 2024 01:07:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact110
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [MLR X3] [2015-11-29 21:37:53] [83aba8bbc702c7812e095afce40a5d1d] [Current]
Feedback Forum

Post a new message
Dataseries X:
6.8	225	0.442
6.3	180	0.435
6.4	190	0.456
6.2	180	0.416
6.9	205	0.449
6.4	225	0.431
6.3	185	0.487
6.8	235	0.469
6.9	235	0.435
6.7	210	0.48
6.9	245	0.516
6.9	245	0.493
6.3	185	0.374
6.1	185	0.424
6.2	180	0.441
6.8	220	0.503
6.5	194	0.503
7.6	225	0.425
6.3	210	0.371
7.1	240	0.504
6.8	225	0.4
7.3	263	0.482
6.4	210	0.475
6.8	235	0.428
7.2	230	0.559
6.4	190	0.441
6.6	220	0.492
6.8	210	0.402
6.1	180	0.415
6.5	235	0.492
6.4	185	0.484
6	175	0.387
6	192	0.436
7.3	263	0.482
6.1	180	0.34
6.7	240	0.516
6.4	210	0.475
5.8	160	0.412
6.9	230	0.411
7	245	0.407
7.3	228	0.445
5.9	155	0.291
6.2	200	0.449
6.8	235	0.546
7	235	0.48
5.9	105	0.359
6.1	180	0.528
5.7	185	0.352
7.1	245	0.414
5.8	180	0.425
7.4	240	0.599
6.8	225	0.482
6.8	215	0.457
7	230	0.435




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ yule.wessa.net
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 & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \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=284539&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ yule.wessa.net[/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=284539&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284539&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 time4 seconds
R Server'George Udny Yule' @ yule.wessa.net
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
X3 [t] = + 0.143089 + 0.0263547X1[t] + 0.000630863X2[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
X3
[t] =  +  0.143089 +  0.0263547X1[t] +  0.000630863X2[t]  + e[t] \tabularnewline
 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284539&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]X3
[t] =  +  0.143089 +  0.0263547X1[t] +  0.000630863X2[t]  + e[t][/C][/ROW]
[ROW][C][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284539&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284539&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
X3 [t] = + 0.143089 + 0.0263547X1[t] + 0.000630863X2[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)+0.1431 0.1145+1.2490e+00 0.2172 0.1086
X1+0.02635 0.02656+9.9240e-01 0.3257 0.1629
X2+0.0006309 0.0004027+1.5670e+00 0.1234 0.06169

\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.1431 &  0.1145 & +1.2490e+00 &  0.2172 &  0.1086 \tabularnewline
X1 & +0.02635 &  0.02656 & +9.9240e-01 &  0.3257 &  0.1629 \tabularnewline
X2 & +0.0006309 &  0.0004027 & +1.5670e+00 &  0.1234 &  0.06169 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284539&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.1431[/C][C] 0.1145[/C][C]+1.2490e+00[/C][C] 0.2172[/C][C] 0.1086[/C][/ROW]
[ROW][C]X1[/C][C]+0.02635[/C][C] 0.02656[/C][C]+9.9240e-01[/C][C] 0.3257[/C][C] 0.1629[/C][/ROW]
[ROW][C]X2[/C][C]+0.0006309[/C][C] 0.0004027[/C][C]+1.5670e+00[/C][C] 0.1234[/C][C] 0.06169[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284539&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284539&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.1431 0.1145+1.2490e+00 0.2172 0.1086
X1+0.02635 0.02656+9.9240e-01 0.3257 0.1629
X2+0.0006309 0.0004027+1.5670e+00 0.1234 0.06169







Multiple Linear Regression - Regression Statistics
Multiple R 0.5293
R-squared 0.2802
Adjusted R-squared 0.252
F-TEST (value) 9.927
F-TEST (DF numerator)2
F-TEST (DF denominator)51
p-value 0.0002284
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 0.04891
Sum Squared Residuals 0.122

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R &  0.5293 \tabularnewline
R-squared &  0.2802 \tabularnewline
Adjusted R-squared &  0.252 \tabularnewline
F-TEST (value) &  9.927 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value &  0.0002284 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation &  0.04891 \tabularnewline
Sum Squared Residuals &  0.122 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284539&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C] 0.5293[/C][/ROW]
[ROW][C]R-squared[/C][C] 0.2802[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C] 0.252[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C] 9.927[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/C][/ROW]
[ROW][C]p-value[/C][C] 0.0002284[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C] 0.04891[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 0.122[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284539&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284539&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 R 0.5293
R-squared 0.2802
Adjusted R-squared 0.252
F-TEST (value) 9.927
F-TEST (DF numerator)2
F-TEST (DF denominator)51
p-value 0.0002284
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 0.04891
Sum Squared Residuals 0.122







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1 0.442 0.4642-0.02225
2 0.435 0.4227 0.01232
3 0.456 0.4316 0.02438
4 0.416 0.42-0.004043
5 0.449 0.4543-0.005263
6 0.431 0.4537-0.0227
7 0.487 0.4258 0.06117
8 0.469 0.4706-0.001554
9 0.435 0.4732-0.03819
10 0.48 0.4521 0.02785
11 0.516 0.4795 0.0365
12 0.493 0.4795 0.0135
13 0.374 0.4258-0.05183
14 0.424 0.4206 0.003438
15 0.441 0.42 0.02096
16 0.503 0.4611 0.04191
17 0.503 0.4368 0.06622
18 0.425 0.4853-0.06033
19 0.371 0.4416-0.0706
20 0.504 0.4816 0.02239
21 0.4 0.4642-0.06424
22 0.482 0.5014-0.0194
23 0.475 0.4442 0.03076
24 0.428 0.4706-0.04255
25 0.559 0.4779 0.08106
26 0.441 0.4316 0.009377
27 0.492 0.4558 0.03618
28 0.402 0.4548-0.05278
29 0.415 0.4174-0.002408
30 0.492 0.4626 0.02935
31 0.484 0.4285 0.05553
32 0.387 0.4116-0.02462
33 0.436 0.4223 0.01366
34 0.482 0.5014-0.0194
35 0.34 0.4174-0.07741
36 0.516 0.4711 0.04493
37 0.475 0.4442 0.03076
38 0.412 0.3969 0.01512
39 0.411 0.47-0.05903
40 0.407 0.4821-0.07513
41 0.445 0.4793-0.03431
42 0.291 0.3964-0.1054
43 0.449 0.4327 0.01634
44 0.546 0.4706 0.07545
45 0.48 0.4758 0.004175
46 0.359 0.3648-0.005822
47 0.528 0.4174 0.1106
48 0.352 0.41-0.05802
49 0.414 0.4848-0.07077
50 0.425 0.4095 0.0155
51 0.599 0.4895 0.1095
52 0.482 0.4642 0.01775
53 0.457 0.4579-0.0009364
54 0.435 0.4727-0.03767

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 &  0.442 &  0.4642 & -0.02225 \tabularnewline
2 &  0.435 &  0.4227 &  0.01232 \tabularnewline
3 &  0.456 &  0.4316 &  0.02438 \tabularnewline
4 &  0.416 &  0.42 & -0.004043 \tabularnewline
5 &  0.449 &  0.4543 & -0.005263 \tabularnewline
6 &  0.431 &  0.4537 & -0.0227 \tabularnewline
7 &  0.487 &  0.4258 &  0.06117 \tabularnewline
8 &  0.469 &  0.4706 & -0.001554 \tabularnewline
9 &  0.435 &  0.4732 & -0.03819 \tabularnewline
10 &  0.48 &  0.4521 &  0.02785 \tabularnewline
11 &  0.516 &  0.4795 &  0.0365 \tabularnewline
12 &  0.493 &  0.4795 &  0.0135 \tabularnewline
13 &  0.374 &  0.4258 & -0.05183 \tabularnewline
14 &  0.424 &  0.4206 &  0.003438 \tabularnewline
15 &  0.441 &  0.42 &  0.02096 \tabularnewline
16 &  0.503 &  0.4611 &  0.04191 \tabularnewline
17 &  0.503 &  0.4368 &  0.06622 \tabularnewline
18 &  0.425 &  0.4853 & -0.06033 \tabularnewline
19 &  0.371 &  0.4416 & -0.0706 \tabularnewline
20 &  0.504 &  0.4816 &  0.02239 \tabularnewline
21 &  0.4 &  0.4642 & -0.06424 \tabularnewline
22 &  0.482 &  0.5014 & -0.0194 \tabularnewline
23 &  0.475 &  0.4442 &  0.03076 \tabularnewline
24 &  0.428 &  0.4706 & -0.04255 \tabularnewline
25 &  0.559 &  0.4779 &  0.08106 \tabularnewline
26 &  0.441 &  0.4316 &  0.009377 \tabularnewline
27 &  0.492 &  0.4558 &  0.03618 \tabularnewline
28 &  0.402 &  0.4548 & -0.05278 \tabularnewline
29 &  0.415 &  0.4174 & -0.002408 \tabularnewline
30 &  0.492 &  0.4626 &  0.02935 \tabularnewline
31 &  0.484 &  0.4285 &  0.05553 \tabularnewline
32 &  0.387 &  0.4116 & -0.02462 \tabularnewline
33 &  0.436 &  0.4223 &  0.01366 \tabularnewline
34 &  0.482 &  0.5014 & -0.0194 \tabularnewline
35 &  0.34 &  0.4174 & -0.07741 \tabularnewline
36 &  0.516 &  0.4711 &  0.04493 \tabularnewline
37 &  0.475 &  0.4442 &  0.03076 \tabularnewline
38 &  0.412 &  0.3969 &  0.01512 \tabularnewline
39 &  0.411 &  0.47 & -0.05903 \tabularnewline
40 &  0.407 &  0.4821 & -0.07513 \tabularnewline
41 &  0.445 &  0.4793 & -0.03431 \tabularnewline
42 &  0.291 &  0.3964 & -0.1054 \tabularnewline
43 &  0.449 &  0.4327 &  0.01634 \tabularnewline
44 &  0.546 &  0.4706 &  0.07545 \tabularnewline
45 &  0.48 &  0.4758 &  0.004175 \tabularnewline
46 &  0.359 &  0.3648 & -0.005822 \tabularnewline
47 &  0.528 &  0.4174 &  0.1106 \tabularnewline
48 &  0.352 &  0.41 & -0.05802 \tabularnewline
49 &  0.414 &  0.4848 & -0.07077 \tabularnewline
50 &  0.425 &  0.4095 &  0.0155 \tabularnewline
51 &  0.599 &  0.4895 &  0.1095 \tabularnewline
52 &  0.482 &  0.4642 &  0.01775 \tabularnewline
53 &  0.457 &  0.4579 & -0.0009364 \tabularnewline
54 &  0.435 &  0.4727 & -0.03767 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284539&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] 0.442[/C][C] 0.4642[/C][C]-0.02225[/C][/ROW]
[ROW][C]2[/C][C] 0.435[/C][C] 0.4227[/C][C] 0.01232[/C][/ROW]
[ROW][C]3[/C][C] 0.456[/C][C] 0.4316[/C][C] 0.02438[/C][/ROW]
[ROW][C]4[/C][C] 0.416[/C][C] 0.42[/C][C]-0.004043[/C][/ROW]
[ROW][C]5[/C][C] 0.449[/C][C] 0.4543[/C][C]-0.005263[/C][/ROW]
[ROW][C]6[/C][C] 0.431[/C][C] 0.4537[/C][C]-0.0227[/C][/ROW]
[ROW][C]7[/C][C] 0.487[/C][C] 0.4258[/C][C] 0.06117[/C][/ROW]
[ROW][C]8[/C][C] 0.469[/C][C] 0.4706[/C][C]-0.001554[/C][/ROW]
[ROW][C]9[/C][C] 0.435[/C][C] 0.4732[/C][C]-0.03819[/C][/ROW]
[ROW][C]10[/C][C] 0.48[/C][C] 0.4521[/C][C] 0.02785[/C][/ROW]
[ROW][C]11[/C][C] 0.516[/C][C] 0.4795[/C][C] 0.0365[/C][/ROW]
[ROW][C]12[/C][C] 0.493[/C][C] 0.4795[/C][C] 0.0135[/C][/ROW]
[ROW][C]13[/C][C] 0.374[/C][C] 0.4258[/C][C]-0.05183[/C][/ROW]
[ROW][C]14[/C][C] 0.424[/C][C] 0.4206[/C][C] 0.003438[/C][/ROW]
[ROW][C]15[/C][C] 0.441[/C][C] 0.42[/C][C] 0.02096[/C][/ROW]
[ROW][C]16[/C][C] 0.503[/C][C] 0.4611[/C][C] 0.04191[/C][/ROW]
[ROW][C]17[/C][C] 0.503[/C][C] 0.4368[/C][C] 0.06622[/C][/ROW]
[ROW][C]18[/C][C] 0.425[/C][C] 0.4853[/C][C]-0.06033[/C][/ROW]
[ROW][C]19[/C][C] 0.371[/C][C] 0.4416[/C][C]-0.0706[/C][/ROW]
[ROW][C]20[/C][C] 0.504[/C][C] 0.4816[/C][C] 0.02239[/C][/ROW]
[ROW][C]21[/C][C] 0.4[/C][C] 0.4642[/C][C]-0.06424[/C][/ROW]
[ROW][C]22[/C][C] 0.482[/C][C] 0.5014[/C][C]-0.0194[/C][/ROW]
[ROW][C]23[/C][C] 0.475[/C][C] 0.4442[/C][C] 0.03076[/C][/ROW]
[ROW][C]24[/C][C] 0.428[/C][C] 0.4706[/C][C]-0.04255[/C][/ROW]
[ROW][C]25[/C][C] 0.559[/C][C] 0.4779[/C][C] 0.08106[/C][/ROW]
[ROW][C]26[/C][C] 0.441[/C][C] 0.4316[/C][C] 0.009377[/C][/ROW]
[ROW][C]27[/C][C] 0.492[/C][C] 0.4558[/C][C] 0.03618[/C][/ROW]
[ROW][C]28[/C][C] 0.402[/C][C] 0.4548[/C][C]-0.05278[/C][/ROW]
[ROW][C]29[/C][C] 0.415[/C][C] 0.4174[/C][C]-0.002408[/C][/ROW]
[ROW][C]30[/C][C] 0.492[/C][C] 0.4626[/C][C] 0.02935[/C][/ROW]
[ROW][C]31[/C][C] 0.484[/C][C] 0.4285[/C][C] 0.05553[/C][/ROW]
[ROW][C]32[/C][C] 0.387[/C][C] 0.4116[/C][C]-0.02462[/C][/ROW]
[ROW][C]33[/C][C] 0.436[/C][C] 0.4223[/C][C] 0.01366[/C][/ROW]
[ROW][C]34[/C][C] 0.482[/C][C] 0.5014[/C][C]-0.0194[/C][/ROW]
[ROW][C]35[/C][C] 0.34[/C][C] 0.4174[/C][C]-0.07741[/C][/ROW]
[ROW][C]36[/C][C] 0.516[/C][C] 0.4711[/C][C] 0.04493[/C][/ROW]
[ROW][C]37[/C][C] 0.475[/C][C] 0.4442[/C][C] 0.03076[/C][/ROW]
[ROW][C]38[/C][C] 0.412[/C][C] 0.3969[/C][C] 0.01512[/C][/ROW]
[ROW][C]39[/C][C] 0.411[/C][C] 0.47[/C][C]-0.05903[/C][/ROW]
[ROW][C]40[/C][C] 0.407[/C][C] 0.4821[/C][C]-0.07513[/C][/ROW]
[ROW][C]41[/C][C] 0.445[/C][C] 0.4793[/C][C]-0.03431[/C][/ROW]
[ROW][C]42[/C][C] 0.291[/C][C] 0.3964[/C][C]-0.1054[/C][/ROW]
[ROW][C]43[/C][C] 0.449[/C][C] 0.4327[/C][C] 0.01634[/C][/ROW]
[ROW][C]44[/C][C] 0.546[/C][C] 0.4706[/C][C] 0.07545[/C][/ROW]
[ROW][C]45[/C][C] 0.48[/C][C] 0.4758[/C][C] 0.004175[/C][/ROW]
[ROW][C]46[/C][C] 0.359[/C][C] 0.3648[/C][C]-0.005822[/C][/ROW]
[ROW][C]47[/C][C] 0.528[/C][C] 0.4174[/C][C] 0.1106[/C][/ROW]
[ROW][C]48[/C][C] 0.352[/C][C] 0.41[/C][C]-0.05802[/C][/ROW]
[ROW][C]49[/C][C] 0.414[/C][C] 0.4848[/C][C]-0.07077[/C][/ROW]
[ROW][C]50[/C][C] 0.425[/C][C] 0.4095[/C][C] 0.0155[/C][/ROW]
[ROW][C]51[/C][C] 0.599[/C][C] 0.4895[/C][C] 0.1095[/C][/ROW]
[ROW][C]52[/C][C] 0.482[/C][C] 0.4642[/C][C] 0.01775[/C][/ROW]
[ROW][C]53[/C][C] 0.457[/C][C] 0.4579[/C][C]-0.0009364[/C][/ROW]
[ROW][C]54[/C][C] 0.435[/C][C] 0.4727[/C][C]-0.03767[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284539&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284539&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
1 0.442 0.4642-0.02225
2 0.435 0.4227 0.01232
3 0.456 0.4316 0.02438
4 0.416 0.42-0.004043
5 0.449 0.4543-0.005263
6 0.431 0.4537-0.0227
7 0.487 0.4258 0.06117
8 0.469 0.4706-0.001554
9 0.435 0.4732-0.03819
10 0.48 0.4521 0.02785
11 0.516 0.4795 0.0365
12 0.493 0.4795 0.0135
13 0.374 0.4258-0.05183
14 0.424 0.4206 0.003438
15 0.441 0.42 0.02096
16 0.503 0.4611 0.04191
17 0.503 0.4368 0.06622
18 0.425 0.4853-0.06033
19 0.371 0.4416-0.0706
20 0.504 0.4816 0.02239
21 0.4 0.4642-0.06424
22 0.482 0.5014-0.0194
23 0.475 0.4442 0.03076
24 0.428 0.4706-0.04255
25 0.559 0.4779 0.08106
26 0.441 0.4316 0.009377
27 0.492 0.4558 0.03618
28 0.402 0.4548-0.05278
29 0.415 0.4174-0.002408
30 0.492 0.4626 0.02935
31 0.484 0.4285 0.05553
32 0.387 0.4116-0.02462
33 0.436 0.4223 0.01366
34 0.482 0.5014-0.0194
35 0.34 0.4174-0.07741
36 0.516 0.4711 0.04493
37 0.475 0.4442 0.03076
38 0.412 0.3969 0.01512
39 0.411 0.47-0.05903
40 0.407 0.4821-0.07513
41 0.445 0.4793-0.03431
42 0.291 0.3964-0.1054
43 0.449 0.4327 0.01634
44 0.546 0.4706 0.07545
45 0.48 0.4758 0.004175
46 0.359 0.3648-0.005822
47 0.528 0.4174 0.1106
48 0.352 0.41-0.05802
49 0.414 0.4848-0.07077
50 0.425 0.4095 0.0155
51 0.599 0.4895 0.1095
52 0.482 0.4642 0.01775
53 0.457 0.4579-0.0009364
54 0.435 0.4727-0.03767







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
6 0.02828 0.05657 0.9717
7 0.1028 0.2055 0.8972
8 0.06049 0.121 0.9395
9 0.03143 0.06286 0.9686
10 0.02346 0.04692 0.9765
11 0.0512 0.1024 0.9488
12 0.03083 0.06166 0.9692
13 0.06497 0.1299 0.935
14 0.03644 0.07288 0.9636
15 0.02134 0.04267 0.9787
16 0.019 0.03799 0.981
17 0.02975 0.0595 0.9703
18 0.04113 0.08225 0.9589
19 0.1023 0.2047 0.8977
20 0.07872 0.1574 0.9213
21 0.1051 0.2101 0.8949
22 0.0727 0.1454 0.9273
23 0.05538 0.1108 0.9446
24 0.04798 0.09596 0.952
25 0.1092 0.2184 0.8908
26 0.07551 0.151 0.9245
27 0.0632 0.1264 0.9368
28 0.06885 0.1377 0.9312
29 0.04593 0.09187 0.9541
30 0.03462 0.06924 0.9654
31 0.03677 0.07355 0.9632
32 0.02728 0.05457 0.9727
33 0.01717 0.03434 0.9828
34 0.01064 0.02128 0.9894
35 0.02213 0.04425 0.9779
36 0.01961 0.03921 0.9804
37 0.01401 0.02802 0.986
38 0.008455 0.01691 0.9915
39 0.009419 0.01884 0.9906
40 0.01743 0.03487 0.9826
41 0.0147 0.0294 0.9853
42 0.06602 0.132 0.934
43 0.04015 0.08031 0.9598
44 0.05503 0.1101 0.945
45 0.03034 0.06068 0.9697
46 0.4594 0.9188 0.5406
47 0.4039 0.8077 0.5961
48 0.2755 0.5509 0.7245

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 &  0.02828 &  0.05657 &  0.9717 \tabularnewline
7 &  0.1028 &  0.2055 &  0.8972 \tabularnewline
8 &  0.06049 &  0.121 &  0.9395 \tabularnewline
9 &  0.03143 &  0.06286 &  0.9686 \tabularnewline
10 &  0.02346 &  0.04692 &  0.9765 \tabularnewline
11 &  0.0512 &  0.1024 &  0.9488 \tabularnewline
12 &  0.03083 &  0.06166 &  0.9692 \tabularnewline
13 &  0.06497 &  0.1299 &  0.935 \tabularnewline
14 &  0.03644 &  0.07288 &  0.9636 \tabularnewline
15 &  0.02134 &  0.04267 &  0.9787 \tabularnewline
16 &  0.019 &  0.03799 &  0.981 \tabularnewline
17 &  0.02975 &  0.0595 &  0.9703 \tabularnewline
18 &  0.04113 &  0.08225 &  0.9589 \tabularnewline
19 &  0.1023 &  0.2047 &  0.8977 \tabularnewline
20 &  0.07872 &  0.1574 &  0.9213 \tabularnewline
21 &  0.1051 &  0.2101 &  0.8949 \tabularnewline
22 &  0.0727 &  0.1454 &  0.9273 \tabularnewline
23 &  0.05538 &  0.1108 &  0.9446 \tabularnewline
24 &  0.04798 &  0.09596 &  0.952 \tabularnewline
25 &  0.1092 &  0.2184 &  0.8908 \tabularnewline
26 &  0.07551 &  0.151 &  0.9245 \tabularnewline
27 &  0.0632 &  0.1264 &  0.9368 \tabularnewline
28 &  0.06885 &  0.1377 &  0.9312 \tabularnewline
29 &  0.04593 &  0.09187 &  0.9541 \tabularnewline
30 &  0.03462 &  0.06924 &  0.9654 \tabularnewline
31 &  0.03677 &  0.07355 &  0.9632 \tabularnewline
32 &  0.02728 &  0.05457 &  0.9727 \tabularnewline
33 &  0.01717 &  0.03434 &  0.9828 \tabularnewline
34 &  0.01064 &  0.02128 &  0.9894 \tabularnewline
35 &  0.02213 &  0.04425 &  0.9779 \tabularnewline
36 &  0.01961 &  0.03921 &  0.9804 \tabularnewline
37 &  0.01401 &  0.02802 &  0.986 \tabularnewline
38 &  0.008455 &  0.01691 &  0.9915 \tabularnewline
39 &  0.009419 &  0.01884 &  0.9906 \tabularnewline
40 &  0.01743 &  0.03487 &  0.9826 \tabularnewline
41 &  0.0147 &  0.0294 &  0.9853 \tabularnewline
42 &  0.06602 &  0.132 &  0.934 \tabularnewline
43 &  0.04015 &  0.08031 &  0.9598 \tabularnewline
44 &  0.05503 &  0.1101 &  0.945 \tabularnewline
45 &  0.03034 &  0.06068 &  0.9697 \tabularnewline
46 &  0.4594 &  0.9188 &  0.5406 \tabularnewline
47 &  0.4039 &  0.8077 &  0.5961 \tabularnewline
48 &  0.2755 &  0.5509 &  0.7245 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284539&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]6[/C][C] 0.02828[/C][C] 0.05657[/C][C] 0.9717[/C][/ROW]
[ROW][C]7[/C][C] 0.1028[/C][C] 0.2055[/C][C] 0.8972[/C][/ROW]
[ROW][C]8[/C][C] 0.06049[/C][C] 0.121[/C][C] 0.9395[/C][/ROW]
[ROW][C]9[/C][C] 0.03143[/C][C] 0.06286[/C][C] 0.9686[/C][/ROW]
[ROW][C]10[/C][C] 0.02346[/C][C] 0.04692[/C][C] 0.9765[/C][/ROW]
[ROW][C]11[/C][C] 0.0512[/C][C] 0.1024[/C][C] 0.9488[/C][/ROW]
[ROW][C]12[/C][C] 0.03083[/C][C] 0.06166[/C][C] 0.9692[/C][/ROW]
[ROW][C]13[/C][C] 0.06497[/C][C] 0.1299[/C][C] 0.935[/C][/ROW]
[ROW][C]14[/C][C] 0.03644[/C][C] 0.07288[/C][C] 0.9636[/C][/ROW]
[ROW][C]15[/C][C] 0.02134[/C][C] 0.04267[/C][C] 0.9787[/C][/ROW]
[ROW][C]16[/C][C] 0.019[/C][C] 0.03799[/C][C] 0.981[/C][/ROW]
[ROW][C]17[/C][C] 0.02975[/C][C] 0.0595[/C][C] 0.9703[/C][/ROW]
[ROW][C]18[/C][C] 0.04113[/C][C] 0.08225[/C][C] 0.9589[/C][/ROW]
[ROW][C]19[/C][C] 0.1023[/C][C] 0.2047[/C][C] 0.8977[/C][/ROW]
[ROW][C]20[/C][C] 0.07872[/C][C] 0.1574[/C][C] 0.9213[/C][/ROW]
[ROW][C]21[/C][C] 0.1051[/C][C] 0.2101[/C][C] 0.8949[/C][/ROW]
[ROW][C]22[/C][C] 0.0727[/C][C] 0.1454[/C][C] 0.9273[/C][/ROW]
[ROW][C]23[/C][C] 0.05538[/C][C] 0.1108[/C][C] 0.9446[/C][/ROW]
[ROW][C]24[/C][C] 0.04798[/C][C] 0.09596[/C][C] 0.952[/C][/ROW]
[ROW][C]25[/C][C] 0.1092[/C][C] 0.2184[/C][C] 0.8908[/C][/ROW]
[ROW][C]26[/C][C] 0.07551[/C][C] 0.151[/C][C] 0.9245[/C][/ROW]
[ROW][C]27[/C][C] 0.0632[/C][C] 0.1264[/C][C] 0.9368[/C][/ROW]
[ROW][C]28[/C][C] 0.06885[/C][C] 0.1377[/C][C] 0.9312[/C][/ROW]
[ROW][C]29[/C][C] 0.04593[/C][C] 0.09187[/C][C] 0.9541[/C][/ROW]
[ROW][C]30[/C][C] 0.03462[/C][C] 0.06924[/C][C] 0.9654[/C][/ROW]
[ROW][C]31[/C][C] 0.03677[/C][C] 0.07355[/C][C] 0.9632[/C][/ROW]
[ROW][C]32[/C][C] 0.02728[/C][C] 0.05457[/C][C] 0.9727[/C][/ROW]
[ROW][C]33[/C][C] 0.01717[/C][C] 0.03434[/C][C] 0.9828[/C][/ROW]
[ROW][C]34[/C][C] 0.01064[/C][C] 0.02128[/C][C] 0.9894[/C][/ROW]
[ROW][C]35[/C][C] 0.02213[/C][C] 0.04425[/C][C] 0.9779[/C][/ROW]
[ROW][C]36[/C][C] 0.01961[/C][C] 0.03921[/C][C] 0.9804[/C][/ROW]
[ROW][C]37[/C][C] 0.01401[/C][C] 0.02802[/C][C] 0.986[/C][/ROW]
[ROW][C]38[/C][C] 0.008455[/C][C] 0.01691[/C][C] 0.9915[/C][/ROW]
[ROW][C]39[/C][C] 0.009419[/C][C] 0.01884[/C][C] 0.9906[/C][/ROW]
[ROW][C]40[/C][C] 0.01743[/C][C] 0.03487[/C][C] 0.9826[/C][/ROW]
[ROW][C]41[/C][C] 0.0147[/C][C] 0.0294[/C][C] 0.9853[/C][/ROW]
[ROW][C]42[/C][C] 0.06602[/C][C] 0.132[/C][C] 0.934[/C][/ROW]
[ROW][C]43[/C][C] 0.04015[/C][C] 0.08031[/C][C] 0.9598[/C][/ROW]
[ROW][C]44[/C][C] 0.05503[/C][C] 0.1101[/C][C] 0.945[/C][/ROW]
[ROW][C]45[/C][C] 0.03034[/C][C] 0.06068[/C][C] 0.9697[/C][/ROW]
[ROW][C]46[/C][C] 0.4594[/C][C] 0.9188[/C][C] 0.5406[/C][/ROW]
[ROW][C]47[/C][C] 0.4039[/C][C] 0.8077[/C][C] 0.5961[/C][/ROW]
[ROW][C]48[/C][C] 0.2755[/C][C] 0.5509[/C][C] 0.7245[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284539&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284539&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
6 0.02828 0.05657 0.9717
7 0.1028 0.2055 0.8972
8 0.06049 0.121 0.9395
9 0.03143 0.06286 0.9686
10 0.02346 0.04692 0.9765
11 0.0512 0.1024 0.9488
12 0.03083 0.06166 0.9692
13 0.06497 0.1299 0.935
14 0.03644 0.07288 0.9636
15 0.02134 0.04267 0.9787
16 0.019 0.03799 0.981
17 0.02975 0.0595 0.9703
18 0.04113 0.08225 0.9589
19 0.1023 0.2047 0.8977
20 0.07872 0.1574 0.9213
21 0.1051 0.2101 0.8949
22 0.0727 0.1454 0.9273
23 0.05538 0.1108 0.9446
24 0.04798 0.09596 0.952
25 0.1092 0.2184 0.8908
26 0.07551 0.151 0.9245
27 0.0632 0.1264 0.9368
28 0.06885 0.1377 0.9312
29 0.04593 0.09187 0.9541
30 0.03462 0.06924 0.9654
31 0.03677 0.07355 0.9632
32 0.02728 0.05457 0.9727
33 0.01717 0.03434 0.9828
34 0.01064 0.02128 0.9894
35 0.02213 0.04425 0.9779
36 0.01961 0.03921 0.9804
37 0.01401 0.02802 0.986
38 0.008455 0.01691 0.9915
39 0.009419 0.01884 0.9906
40 0.01743 0.03487 0.9826
41 0.0147 0.0294 0.9853
42 0.06602 0.132 0.934
43 0.04015 0.08031 0.9598
44 0.05503 0.1101 0.945
45 0.03034 0.06068 0.9697
46 0.4594 0.9188 0.5406
47 0.4039 0.8077 0.5961
48 0.2755 0.5509 0.7245







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level0 0OK
5% type I error level120.27907NOK
10% type I error level250.581395NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284539&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 level0 0OK
5% type I error level120.27907NOK
10% type I error level250.581395NOK



Parameters (Session):
par1 = 3 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 3 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
par3 <- 'No Linear Trend'
par2 <- 'Do not include Seasonal Dummies'
par1 <- 'X3'
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
mywarning <- ''
par1 <- as.numeric(par1)
if(is.na(par1)) {
par1 <- 1
mywarning = 'Warning: you did not specify the column number of the endogenous series! The first column was selected by default.'
}
x <- na.omit(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, signif(mysum$coefficients[i,1],6), 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.row.start(a)
a<-table.element(a, mywarning)
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,formatC(signif(mysum$coefficients[i,1],5),format='g',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,2],5),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,3],4),format='e',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4],4),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4]/2,4),format='g',flag=' '))
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,formatC(signif(sqrt(mysum$r.squared),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$adj.r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a,formatC(signif(mysum$fstatistic[1],6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a,formatC(signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6),format='g',flag=' '))
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,formatC(signif(mysum$sigma,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a,formatC(signif(sum(myerror*myerror),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
if(n < 200) {
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,formatC(signif(x[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(x[i]-mysum$resid[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$resid[i],6),format='g',flag=' '))
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,formatC(signif(gqarr[mypoint-kp3+1,1],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,2],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,3],6),format='g',flag=' '))
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,signif(numsignificant1,6))
a<-table.element(a,formatC(signif(numsignificant1/numgqtests,6),format='g',flag=' '))
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,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
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,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
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')
}
}