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 computationSat, 13 Dec 2014 13:01:56 +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/2014/Dec/13/t1418475735oj0v3qqermddmqd.htm/, Retrieved Thu, 16 May 2024 11:14:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=267057, Retrieved Thu, 16 May 2024 11:14:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact84
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Chi-Squared Test, McNemar Test, and Fisher Exact Test] [] [2014-12-06 15:12:05] [4c4ebb0b36a379d1d949ba77427e658a]
- RMPD    [Multiple Regression] [] [2014-12-13 13:01:56] [d9810f96fa2f1581f787e7f797109997] [Current]
Feedback Forum

Post a new message
Dataseries X:
12.9 29 17 20 23
7.4 25 31 17 25
12.2 24 34 20 20
12.8 30 38 31 13
7.4 24 30 16 22
6.7 28 29 24 16
12.6 25 31 24 20
14.8 34 39 27 20
13.3 24 25 21 15
11.1 27 31 24 18
8.2 31 34 16 23
11.4 23 19 19 12
6.4 32 27 24 14
10.6 23 22 24 20
12.0 29 34 11 20
6.3 36 28 27 24
11.9 26 28 21 17
9.3 27 29 27 19
10.0 36 33 19 18
13.8 33 28 27 15
10.8 26 30 29 20
11.7 37 41 19 16
10.9 35 36 29 20
9.9 29 30 22 18
11.5 24 23 19 20
8.3 18 14 18 15
11.7 21 28 32 19
6.1 40 22 26 16
9.0 22 26 22 18
9.7 32 26 39 19
10.8 34 30 20 16
10.3 19 30 17 20
10.4 30 28 23 22
9.3 29 34 22 20
11.8 35 35 14 20
5.9 18 16 15 17
11.4 24 30 20 18
13.0 39 29 31 24
10.8 15 15 16 19
11.3 29 28 25 21
11.8 27 25 13 19
12.7 41 48 37 25
10.9 16 18 14 12
13.3 36 22 15 11
10.1 28 41 17 24
14.3 24 29 16 20
9.3 28 26 15 18
12.5 26 34 18 22
7.6 37 42 28 21
15.9 21 21 14 18
9.2 29 32 26 19
11.1 29 31 20 23
13.0 33 39 14 25
14.5 24 21 25 13
12.3 31 35 22 24
11.4 30 27 26 21
7.3 27 38 21 20
12.6 24 30 18 11
NA 29 26 22 18
13.0 27 33 18 18
13.2 26 23 22 22
7.7 24 17 11 25




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267057&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267057&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267057&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'Herman Ole Andreas Wold' @ wold.wessa.net







Multiple Linear Regression - Estimated Regression Equation
TOT[t] = + 11.8521 -0.0337844P1[t] + 0.0674889P2[t] -0.00425176P3[t] -0.102926P4[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
TOT[t] =  +  11.8521 -0.0337844P1[t] +  0.0674889P2[t] -0.00425176P3[t] -0.102926P4[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267057&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]TOT[t] =  +  11.8521 -0.0337844P1[t] +  0.0674889P2[t] -0.00425176P3[t] -0.102926P4[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267057&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267057&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
TOT[t] = + 11.8521 -0.0337844P1[t] + 0.0674889P2[t] -0.00425176P3[t] -0.102926P4[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)11.85212.119355.5926.9298e-073.4649e-07
P1-0.03378440.067756-0.49860.6200010.31
P20.06748890.0551311.2240.2260190.11301
P3-0.004251760.0567523-0.074920.9405470.470274
P4-0.1029260.0913453-1.1270.2646420.132321

\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) & 11.8521 & 2.11935 & 5.592 & 6.9298e-07 & 3.4649e-07 \tabularnewline
P1 & -0.0337844 & 0.067756 & -0.4986 & 0.620001 & 0.31 \tabularnewline
P2 & 0.0674889 & 0.055131 & 1.224 & 0.226019 & 0.11301 \tabularnewline
P3 & -0.00425176 & 0.0567523 & -0.07492 & 0.940547 & 0.470274 \tabularnewline
P4 & -0.102926 & 0.0913453 & -1.127 & 0.264642 & 0.132321 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267057&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]11.8521[/C][C]2.11935[/C][C]5.592[/C][C]6.9298e-07[/C][C]3.4649e-07[/C][/ROW]
[ROW][C]P1[/C][C]-0.0337844[/C][C]0.067756[/C][C]-0.4986[/C][C]0.620001[/C][C]0.31[/C][/ROW]
[ROW][C]P2[/C][C]0.0674889[/C][C]0.055131[/C][C]1.224[/C][C]0.226019[/C][C]0.11301[/C][/ROW]
[ROW][C]P3[/C][C]-0.00425176[/C][C]0.0567523[/C][C]-0.07492[/C][C]0.940547[/C][C]0.470274[/C][/ROW]
[ROW][C]P4[/C][C]-0.102926[/C][C]0.0913453[/C][C]-1.127[/C][C]0.264642[/C][C]0.132321[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267057&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267057&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)11.85212.119355.5926.9298e-073.4649e-07
P1-0.03378440.067756-0.49860.6200010.31
P20.06748890.0551311.2240.2260190.11301
P3-0.004251760.0567523-0.074920.9405470.470274
P4-0.1029260.0913453-1.1270.2646420.132321







Multiple Linear Regression - Regression Statistics
Multiple R0.192839
R-squared0.0371869
Adjusted R-squared-0.0315854
F-TEST (value)0.540725
F-TEST (DF numerator)4
F-TEST (DF denominator)56
p-value0.706428
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.38381
Sum Squared Residuals318.223

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.192839 \tabularnewline
R-squared & 0.0371869 \tabularnewline
Adjusted R-squared & -0.0315854 \tabularnewline
F-TEST (value) & 0.540725 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 56 \tabularnewline
p-value & 0.706428 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2.38381 \tabularnewline
Sum Squared Residuals & 318.223 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267057&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.192839[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0371869[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0315854[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.540725[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]56[/C][/ROW]
[ROW][C]p-value[/C][C]0.706428[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]2.38381[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]318.223[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267057&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267057&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.192839
R-squared0.0371869
Adjusted R-squared-0.0315854
F-TEST (value)0.540725
F-TEST (DF numerator)4
F-TEST (DF denominator)56
p-value0.706428
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.38381
Sum Squared Residuals318.223







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112.99.56733.3327
27.410.4542-3.05418
312.211.19231.00769
412.811.93330.866733
57.410.7335-3.33351
66.711.1144-4.41442
712.610.9391.66095
814.811.16213.63786
913.311.09532.20472
1011.111.07730.0226684
118.210.664-2.46405
1211.411.04140.358583
136.411.0502-4.65016
1410.610.39920.200782
151211.06170.938349
166.39.94049-3.64049
1711.911.02430.875669
189.310.8267-1.52667
191010.9295-0.929508
2013.810.96822.83182
2110.810.8165-0.0165167
2211.711.64150.0585136
2310.910.9174-0.01739
249.910.9508-1.05078
2511.510.45421.04582
268.310.5684-2.26837
2711.710.94060.759368
286.110.2281-4.12808
29910.9173-1.91731
309.710.4043-0.704263
3110.810.9962-0.19621
3210.311.104-0.804029
3310.410.36610.0339399
349.311.0149-1.71488
3511.810.91370.886323
365.910.5103-4.61025
3711.411.12820.271797
38139.889623.11038
3910.810.3340.465989
4011.310.49430.805733
4111.810.61621.18376
4212.710.97591.72409
4310.911.2317-0.331678
4413.310.92462.37538
4510.111.1306-1.03064
4614.310.87193.42813
479.310.7444-1.44437
4812.510.92741.57261
497.611.1561-3.55608
5015.910.64775.25233
519.210.9658-1.76582
5211.110.51210.587859
531310.73662.26343
5414.511.01423.48583
5512.310.60311.6969
5611.410.38871.01126
577.311.3567-4.05666
5812.611.85720.742813
59NANA1.76218
60139.968013.03199
6113.215.0686-1.86863
627.7NANA

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 12.9 & 9.5673 & 3.3327 \tabularnewline
2 & 7.4 & 10.4542 & -3.05418 \tabularnewline
3 & 12.2 & 11.1923 & 1.00769 \tabularnewline
4 & 12.8 & 11.9333 & 0.866733 \tabularnewline
5 & 7.4 & 10.7335 & -3.33351 \tabularnewline
6 & 6.7 & 11.1144 & -4.41442 \tabularnewline
7 & 12.6 & 10.939 & 1.66095 \tabularnewline
8 & 14.8 & 11.1621 & 3.63786 \tabularnewline
9 & 13.3 & 11.0953 & 2.20472 \tabularnewline
10 & 11.1 & 11.0773 & 0.0226684 \tabularnewline
11 & 8.2 & 10.664 & -2.46405 \tabularnewline
12 & 11.4 & 11.0414 & 0.358583 \tabularnewline
13 & 6.4 & 11.0502 & -4.65016 \tabularnewline
14 & 10.6 & 10.3992 & 0.200782 \tabularnewline
15 & 12 & 11.0617 & 0.938349 \tabularnewline
16 & 6.3 & 9.94049 & -3.64049 \tabularnewline
17 & 11.9 & 11.0243 & 0.875669 \tabularnewline
18 & 9.3 & 10.8267 & -1.52667 \tabularnewline
19 & 10 & 10.9295 & -0.929508 \tabularnewline
20 & 13.8 & 10.9682 & 2.83182 \tabularnewline
21 & 10.8 & 10.8165 & -0.0165167 \tabularnewline
22 & 11.7 & 11.6415 & 0.0585136 \tabularnewline
23 & 10.9 & 10.9174 & -0.01739 \tabularnewline
24 & 9.9 & 10.9508 & -1.05078 \tabularnewline
25 & 11.5 & 10.4542 & 1.04582 \tabularnewline
26 & 8.3 & 10.5684 & -2.26837 \tabularnewline
27 & 11.7 & 10.9406 & 0.759368 \tabularnewline
28 & 6.1 & 10.2281 & -4.12808 \tabularnewline
29 & 9 & 10.9173 & -1.91731 \tabularnewline
30 & 9.7 & 10.4043 & -0.704263 \tabularnewline
31 & 10.8 & 10.9962 & -0.19621 \tabularnewline
32 & 10.3 & 11.104 & -0.804029 \tabularnewline
33 & 10.4 & 10.3661 & 0.0339399 \tabularnewline
34 & 9.3 & 11.0149 & -1.71488 \tabularnewline
35 & 11.8 & 10.9137 & 0.886323 \tabularnewline
36 & 5.9 & 10.5103 & -4.61025 \tabularnewline
37 & 11.4 & 11.1282 & 0.271797 \tabularnewline
38 & 13 & 9.88962 & 3.11038 \tabularnewline
39 & 10.8 & 10.334 & 0.465989 \tabularnewline
40 & 11.3 & 10.4943 & 0.805733 \tabularnewline
41 & 11.8 & 10.6162 & 1.18376 \tabularnewline
42 & 12.7 & 10.9759 & 1.72409 \tabularnewline
43 & 10.9 & 11.2317 & -0.331678 \tabularnewline
44 & 13.3 & 10.9246 & 2.37538 \tabularnewline
45 & 10.1 & 11.1306 & -1.03064 \tabularnewline
46 & 14.3 & 10.8719 & 3.42813 \tabularnewline
47 & 9.3 & 10.7444 & -1.44437 \tabularnewline
48 & 12.5 & 10.9274 & 1.57261 \tabularnewline
49 & 7.6 & 11.1561 & -3.55608 \tabularnewline
50 & 15.9 & 10.6477 & 5.25233 \tabularnewline
51 & 9.2 & 10.9658 & -1.76582 \tabularnewline
52 & 11.1 & 10.5121 & 0.587859 \tabularnewline
53 & 13 & 10.7366 & 2.26343 \tabularnewline
54 & 14.5 & 11.0142 & 3.48583 \tabularnewline
55 & 12.3 & 10.6031 & 1.6969 \tabularnewline
56 & 11.4 & 10.3887 & 1.01126 \tabularnewline
57 & 7.3 & 11.3567 & -4.05666 \tabularnewline
58 & 12.6 & 11.8572 & 0.742813 \tabularnewline
59 & NA & NA & 1.76218 \tabularnewline
60 & 13 & 9.96801 & 3.03199 \tabularnewline
61 & 13.2 & 15.0686 & -1.86863 \tabularnewline
62 & 7.7 & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267057&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]12.9[/C][C]9.5673[/C][C]3.3327[/C][/ROW]
[ROW][C]2[/C][C]7.4[/C][C]10.4542[/C][C]-3.05418[/C][/ROW]
[ROW][C]3[/C][C]12.2[/C][C]11.1923[/C][C]1.00769[/C][/ROW]
[ROW][C]4[/C][C]12.8[/C][C]11.9333[/C][C]0.866733[/C][/ROW]
[ROW][C]5[/C][C]7.4[/C][C]10.7335[/C][C]-3.33351[/C][/ROW]
[ROW][C]6[/C][C]6.7[/C][C]11.1144[/C][C]-4.41442[/C][/ROW]
[ROW][C]7[/C][C]12.6[/C][C]10.939[/C][C]1.66095[/C][/ROW]
[ROW][C]8[/C][C]14.8[/C][C]11.1621[/C][C]3.63786[/C][/ROW]
[ROW][C]9[/C][C]13.3[/C][C]11.0953[/C][C]2.20472[/C][/ROW]
[ROW][C]10[/C][C]11.1[/C][C]11.0773[/C][C]0.0226684[/C][/ROW]
[ROW][C]11[/C][C]8.2[/C][C]10.664[/C][C]-2.46405[/C][/ROW]
[ROW][C]12[/C][C]11.4[/C][C]11.0414[/C][C]0.358583[/C][/ROW]
[ROW][C]13[/C][C]6.4[/C][C]11.0502[/C][C]-4.65016[/C][/ROW]
[ROW][C]14[/C][C]10.6[/C][C]10.3992[/C][C]0.200782[/C][/ROW]
[ROW][C]15[/C][C]12[/C][C]11.0617[/C][C]0.938349[/C][/ROW]
[ROW][C]16[/C][C]6.3[/C][C]9.94049[/C][C]-3.64049[/C][/ROW]
[ROW][C]17[/C][C]11.9[/C][C]11.0243[/C][C]0.875669[/C][/ROW]
[ROW][C]18[/C][C]9.3[/C][C]10.8267[/C][C]-1.52667[/C][/ROW]
[ROW][C]19[/C][C]10[/C][C]10.9295[/C][C]-0.929508[/C][/ROW]
[ROW][C]20[/C][C]13.8[/C][C]10.9682[/C][C]2.83182[/C][/ROW]
[ROW][C]21[/C][C]10.8[/C][C]10.8165[/C][C]-0.0165167[/C][/ROW]
[ROW][C]22[/C][C]11.7[/C][C]11.6415[/C][C]0.0585136[/C][/ROW]
[ROW][C]23[/C][C]10.9[/C][C]10.9174[/C][C]-0.01739[/C][/ROW]
[ROW][C]24[/C][C]9.9[/C][C]10.9508[/C][C]-1.05078[/C][/ROW]
[ROW][C]25[/C][C]11.5[/C][C]10.4542[/C][C]1.04582[/C][/ROW]
[ROW][C]26[/C][C]8.3[/C][C]10.5684[/C][C]-2.26837[/C][/ROW]
[ROW][C]27[/C][C]11.7[/C][C]10.9406[/C][C]0.759368[/C][/ROW]
[ROW][C]28[/C][C]6.1[/C][C]10.2281[/C][C]-4.12808[/C][/ROW]
[ROW][C]29[/C][C]9[/C][C]10.9173[/C][C]-1.91731[/C][/ROW]
[ROW][C]30[/C][C]9.7[/C][C]10.4043[/C][C]-0.704263[/C][/ROW]
[ROW][C]31[/C][C]10.8[/C][C]10.9962[/C][C]-0.19621[/C][/ROW]
[ROW][C]32[/C][C]10.3[/C][C]11.104[/C][C]-0.804029[/C][/ROW]
[ROW][C]33[/C][C]10.4[/C][C]10.3661[/C][C]0.0339399[/C][/ROW]
[ROW][C]34[/C][C]9.3[/C][C]11.0149[/C][C]-1.71488[/C][/ROW]
[ROW][C]35[/C][C]11.8[/C][C]10.9137[/C][C]0.886323[/C][/ROW]
[ROW][C]36[/C][C]5.9[/C][C]10.5103[/C][C]-4.61025[/C][/ROW]
[ROW][C]37[/C][C]11.4[/C][C]11.1282[/C][C]0.271797[/C][/ROW]
[ROW][C]38[/C][C]13[/C][C]9.88962[/C][C]3.11038[/C][/ROW]
[ROW][C]39[/C][C]10.8[/C][C]10.334[/C][C]0.465989[/C][/ROW]
[ROW][C]40[/C][C]11.3[/C][C]10.4943[/C][C]0.805733[/C][/ROW]
[ROW][C]41[/C][C]11.8[/C][C]10.6162[/C][C]1.18376[/C][/ROW]
[ROW][C]42[/C][C]12.7[/C][C]10.9759[/C][C]1.72409[/C][/ROW]
[ROW][C]43[/C][C]10.9[/C][C]11.2317[/C][C]-0.331678[/C][/ROW]
[ROW][C]44[/C][C]13.3[/C][C]10.9246[/C][C]2.37538[/C][/ROW]
[ROW][C]45[/C][C]10.1[/C][C]11.1306[/C][C]-1.03064[/C][/ROW]
[ROW][C]46[/C][C]14.3[/C][C]10.8719[/C][C]3.42813[/C][/ROW]
[ROW][C]47[/C][C]9.3[/C][C]10.7444[/C][C]-1.44437[/C][/ROW]
[ROW][C]48[/C][C]12.5[/C][C]10.9274[/C][C]1.57261[/C][/ROW]
[ROW][C]49[/C][C]7.6[/C][C]11.1561[/C][C]-3.55608[/C][/ROW]
[ROW][C]50[/C][C]15.9[/C][C]10.6477[/C][C]5.25233[/C][/ROW]
[ROW][C]51[/C][C]9.2[/C][C]10.9658[/C][C]-1.76582[/C][/ROW]
[ROW][C]52[/C][C]11.1[/C][C]10.5121[/C][C]0.587859[/C][/ROW]
[ROW][C]53[/C][C]13[/C][C]10.7366[/C][C]2.26343[/C][/ROW]
[ROW][C]54[/C][C]14.5[/C][C]11.0142[/C][C]3.48583[/C][/ROW]
[ROW][C]55[/C][C]12.3[/C][C]10.6031[/C][C]1.6969[/C][/ROW]
[ROW][C]56[/C][C]11.4[/C][C]10.3887[/C][C]1.01126[/C][/ROW]
[ROW][C]57[/C][C]7.3[/C][C]11.3567[/C][C]-4.05666[/C][/ROW]
[ROW][C]58[/C][C]12.6[/C][C]11.8572[/C][C]0.742813[/C][/ROW]
[ROW][C]59[/C][C]NA[/C][C]NA[/C][C]1.76218[/C][/ROW]
[ROW][C]60[/C][C]13[/C][C]9.96801[/C][C]3.03199[/C][/ROW]
[ROW][C]61[/C][C]13.2[/C][C]15.0686[/C][C]-1.86863[/C][/ROW]
[ROW][C]62[/C][C]7.7[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267057&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267057&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
112.99.56733.3327
27.410.4542-3.05418
312.211.19231.00769
412.811.93330.866733
57.410.7335-3.33351
66.711.1144-4.41442
712.610.9391.66095
814.811.16213.63786
913.311.09532.20472
1011.111.07730.0226684
118.210.664-2.46405
1211.411.04140.358583
136.411.0502-4.65016
1410.610.39920.200782
151211.06170.938349
166.39.94049-3.64049
1711.911.02430.875669
189.310.8267-1.52667
191010.9295-0.929508
2013.810.96822.83182
2110.810.8165-0.0165167
2211.711.64150.0585136
2310.910.9174-0.01739
249.910.9508-1.05078
2511.510.45421.04582
268.310.5684-2.26837
2711.710.94060.759368
286.110.2281-4.12808
29910.9173-1.91731
309.710.4043-0.704263
3110.810.9962-0.19621
3210.311.104-0.804029
3310.410.36610.0339399
349.311.0149-1.71488
3511.810.91370.886323
365.910.5103-4.61025
3711.411.12820.271797
38139.889623.11038
3910.810.3340.465989
4011.310.49430.805733
4111.810.61621.18376
4212.710.97591.72409
4310.911.2317-0.331678
4413.310.92462.37538
4510.111.1306-1.03064
4614.310.87193.42813
479.310.7444-1.44437
4812.510.92741.57261
497.611.1561-3.55608
5015.910.64775.25233
519.210.9658-1.76582
5211.110.51210.587859
531310.73662.26343
5414.511.01423.48583
5512.310.60311.6969
5611.410.38871.01126
577.311.3567-4.05666
5812.611.85720.742813
59NANA1.76218
60139.968013.03199
6113.215.0686-1.86863
627.7NANA







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.8307880.3384240.169212
90.9371370.1257260.062863
100.8871330.2257340.112867
110.8310450.337910.168955
120.7686570.4626860.231343
130.8860780.2278440.113922
140.8747150.250570.125285
150.913130.173740.0868702
160.9362990.1274030.0637015
170.9077070.1845860.0922931
180.8815840.2368330.118416
190.8387340.3225320.161266
200.8595410.2809190.140459
210.806240.387520.19376
220.745760.5084810.25424
230.6746340.6507310.325366
240.6079630.7840740.392037
250.5455450.9089090.454455
260.5311890.9376220.468811
270.4560610.9121230.543939
280.6031490.7937020.396851
290.5713090.8573820.428691
300.511310.977380.48869
310.4485310.8970610.551469
320.3764350.752870.623565
330.3123510.6247010.687649
340.2802840.5605670.719716
350.2333170.4666330.766683
360.4598080.9196160.540192
370.3814350.7628690.618565
380.3839850.7679690.616015
390.3361190.6722390.663881
400.2676850.535370.732315
410.221160.442320.77884
420.2120780.4241560.787922
430.232980.4659610.76702
440.2211630.4423270.778837
450.1691360.3382720.830864
460.1714490.3428970.828551
470.1652830.3305650.834717
480.1296960.2593920.870304
490.1691050.3382090.830895
500.4987770.9975550.501223
510.5808030.8383930.419197
520.4310960.8621930.568904
530.3082580.6165170.691742
540.1794940.3589890.820506

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.830788 & 0.338424 & 0.169212 \tabularnewline
9 & 0.937137 & 0.125726 & 0.062863 \tabularnewline
10 & 0.887133 & 0.225734 & 0.112867 \tabularnewline
11 & 0.831045 & 0.33791 & 0.168955 \tabularnewline
12 & 0.768657 & 0.462686 & 0.231343 \tabularnewline
13 & 0.886078 & 0.227844 & 0.113922 \tabularnewline
14 & 0.874715 & 0.25057 & 0.125285 \tabularnewline
15 & 0.91313 & 0.17374 & 0.0868702 \tabularnewline
16 & 0.936299 & 0.127403 & 0.0637015 \tabularnewline
17 & 0.907707 & 0.184586 & 0.0922931 \tabularnewline
18 & 0.881584 & 0.236833 & 0.118416 \tabularnewline
19 & 0.838734 & 0.322532 & 0.161266 \tabularnewline
20 & 0.859541 & 0.280919 & 0.140459 \tabularnewline
21 & 0.80624 & 0.38752 & 0.19376 \tabularnewline
22 & 0.74576 & 0.508481 & 0.25424 \tabularnewline
23 & 0.674634 & 0.650731 & 0.325366 \tabularnewline
24 & 0.607963 & 0.784074 & 0.392037 \tabularnewline
25 & 0.545545 & 0.908909 & 0.454455 \tabularnewline
26 & 0.531189 & 0.937622 & 0.468811 \tabularnewline
27 & 0.456061 & 0.912123 & 0.543939 \tabularnewline
28 & 0.603149 & 0.793702 & 0.396851 \tabularnewline
29 & 0.571309 & 0.857382 & 0.428691 \tabularnewline
30 & 0.51131 & 0.97738 & 0.48869 \tabularnewline
31 & 0.448531 & 0.897061 & 0.551469 \tabularnewline
32 & 0.376435 & 0.75287 & 0.623565 \tabularnewline
33 & 0.312351 & 0.624701 & 0.687649 \tabularnewline
34 & 0.280284 & 0.560567 & 0.719716 \tabularnewline
35 & 0.233317 & 0.466633 & 0.766683 \tabularnewline
36 & 0.459808 & 0.919616 & 0.540192 \tabularnewline
37 & 0.381435 & 0.762869 & 0.618565 \tabularnewline
38 & 0.383985 & 0.767969 & 0.616015 \tabularnewline
39 & 0.336119 & 0.672239 & 0.663881 \tabularnewline
40 & 0.267685 & 0.53537 & 0.732315 \tabularnewline
41 & 0.22116 & 0.44232 & 0.77884 \tabularnewline
42 & 0.212078 & 0.424156 & 0.787922 \tabularnewline
43 & 0.23298 & 0.465961 & 0.76702 \tabularnewline
44 & 0.221163 & 0.442327 & 0.778837 \tabularnewline
45 & 0.169136 & 0.338272 & 0.830864 \tabularnewline
46 & 0.171449 & 0.342897 & 0.828551 \tabularnewline
47 & 0.165283 & 0.330565 & 0.834717 \tabularnewline
48 & 0.129696 & 0.259392 & 0.870304 \tabularnewline
49 & 0.169105 & 0.338209 & 0.830895 \tabularnewline
50 & 0.498777 & 0.997555 & 0.501223 \tabularnewline
51 & 0.580803 & 0.838393 & 0.419197 \tabularnewline
52 & 0.431096 & 0.862193 & 0.568904 \tabularnewline
53 & 0.308258 & 0.616517 & 0.691742 \tabularnewline
54 & 0.179494 & 0.358989 & 0.820506 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267057&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.830788[/C][C]0.338424[/C][C]0.169212[/C][/ROW]
[ROW][C]9[/C][C]0.937137[/C][C]0.125726[/C][C]0.062863[/C][/ROW]
[ROW][C]10[/C][C]0.887133[/C][C]0.225734[/C][C]0.112867[/C][/ROW]
[ROW][C]11[/C][C]0.831045[/C][C]0.33791[/C][C]0.168955[/C][/ROW]
[ROW][C]12[/C][C]0.768657[/C][C]0.462686[/C][C]0.231343[/C][/ROW]
[ROW][C]13[/C][C]0.886078[/C][C]0.227844[/C][C]0.113922[/C][/ROW]
[ROW][C]14[/C][C]0.874715[/C][C]0.25057[/C][C]0.125285[/C][/ROW]
[ROW][C]15[/C][C]0.91313[/C][C]0.17374[/C][C]0.0868702[/C][/ROW]
[ROW][C]16[/C][C]0.936299[/C][C]0.127403[/C][C]0.0637015[/C][/ROW]
[ROW][C]17[/C][C]0.907707[/C][C]0.184586[/C][C]0.0922931[/C][/ROW]
[ROW][C]18[/C][C]0.881584[/C][C]0.236833[/C][C]0.118416[/C][/ROW]
[ROW][C]19[/C][C]0.838734[/C][C]0.322532[/C][C]0.161266[/C][/ROW]
[ROW][C]20[/C][C]0.859541[/C][C]0.280919[/C][C]0.140459[/C][/ROW]
[ROW][C]21[/C][C]0.80624[/C][C]0.38752[/C][C]0.19376[/C][/ROW]
[ROW][C]22[/C][C]0.74576[/C][C]0.508481[/C][C]0.25424[/C][/ROW]
[ROW][C]23[/C][C]0.674634[/C][C]0.650731[/C][C]0.325366[/C][/ROW]
[ROW][C]24[/C][C]0.607963[/C][C]0.784074[/C][C]0.392037[/C][/ROW]
[ROW][C]25[/C][C]0.545545[/C][C]0.908909[/C][C]0.454455[/C][/ROW]
[ROW][C]26[/C][C]0.531189[/C][C]0.937622[/C][C]0.468811[/C][/ROW]
[ROW][C]27[/C][C]0.456061[/C][C]0.912123[/C][C]0.543939[/C][/ROW]
[ROW][C]28[/C][C]0.603149[/C][C]0.793702[/C][C]0.396851[/C][/ROW]
[ROW][C]29[/C][C]0.571309[/C][C]0.857382[/C][C]0.428691[/C][/ROW]
[ROW][C]30[/C][C]0.51131[/C][C]0.97738[/C][C]0.48869[/C][/ROW]
[ROW][C]31[/C][C]0.448531[/C][C]0.897061[/C][C]0.551469[/C][/ROW]
[ROW][C]32[/C][C]0.376435[/C][C]0.75287[/C][C]0.623565[/C][/ROW]
[ROW][C]33[/C][C]0.312351[/C][C]0.624701[/C][C]0.687649[/C][/ROW]
[ROW][C]34[/C][C]0.280284[/C][C]0.560567[/C][C]0.719716[/C][/ROW]
[ROW][C]35[/C][C]0.233317[/C][C]0.466633[/C][C]0.766683[/C][/ROW]
[ROW][C]36[/C][C]0.459808[/C][C]0.919616[/C][C]0.540192[/C][/ROW]
[ROW][C]37[/C][C]0.381435[/C][C]0.762869[/C][C]0.618565[/C][/ROW]
[ROW][C]38[/C][C]0.383985[/C][C]0.767969[/C][C]0.616015[/C][/ROW]
[ROW][C]39[/C][C]0.336119[/C][C]0.672239[/C][C]0.663881[/C][/ROW]
[ROW][C]40[/C][C]0.267685[/C][C]0.53537[/C][C]0.732315[/C][/ROW]
[ROW][C]41[/C][C]0.22116[/C][C]0.44232[/C][C]0.77884[/C][/ROW]
[ROW][C]42[/C][C]0.212078[/C][C]0.424156[/C][C]0.787922[/C][/ROW]
[ROW][C]43[/C][C]0.23298[/C][C]0.465961[/C][C]0.76702[/C][/ROW]
[ROW][C]44[/C][C]0.221163[/C][C]0.442327[/C][C]0.778837[/C][/ROW]
[ROW][C]45[/C][C]0.169136[/C][C]0.338272[/C][C]0.830864[/C][/ROW]
[ROW][C]46[/C][C]0.171449[/C][C]0.342897[/C][C]0.828551[/C][/ROW]
[ROW][C]47[/C][C]0.165283[/C][C]0.330565[/C][C]0.834717[/C][/ROW]
[ROW][C]48[/C][C]0.129696[/C][C]0.259392[/C][C]0.870304[/C][/ROW]
[ROW][C]49[/C][C]0.169105[/C][C]0.338209[/C][C]0.830895[/C][/ROW]
[ROW][C]50[/C][C]0.498777[/C][C]0.997555[/C][C]0.501223[/C][/ROW]
[ROW][C]51[/C][C]0.580803[/C][C]0.838393[/C][C]0.419197[/C][/ROW]
[ROW][C]52[/C][C]0.431096[/C][C]0.862193[/C][C]0.568904[/C][/ROW]
[ROW][C]53[/C][C]0.308258[/C][C]0.616517[/C][C]0.691742[/C][/ROW]
[ROW][C]54[/C][C]0.179494[/C][C]0.358989[/C][C]0.820506[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267057&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267057&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.8307880.3384240.169212
90.9371370.1257260.062863
100.8871330.2257340.112867
110.8310450.337910.168955
120.7686570.4626860.231343
130.8860780.2278440.113922
140.8747150.250570.125285
150.913130.173740.0868702
160.9362990.1274030.0637015
170.9077070.1845860.0922931
180.8815840.2368330.118416
190.8387340.3225320.161266
200.8595410.2809190.140459
210.806240.387520.19376
220.745760.5084810.25424
230.6746340.6507310.325366
240.6079630.7840740.392037
250.5455450.9089090.454455
260.5311890.9376220.468811
270.4560610.9121230.543939
280.6031490.7937020.396851
290.5713090.8573820.428691
300.511310.977380.48869
310.4485310.8970610.551469
320.3764350.752870.623565
330.3123510.6247010.687649
340.2802840.5605670.719716
350.2333170.4666330.766683
360.4598080.9196160.540192
370.3814350.7628690.618565
380.3839850.7679690.616015
390.3361190.6722390.663881
400.2676850.535370.732315
410.221160.442320.77884
420.2120780.4241560.787922
430.232980.4659610.76702
440.2211630.4423270.778837
450.1691360.3382720.830864
460.1714490.3428970.828551
470.1652830.3305650.834717
480.1296960.2593920.870304
490.1691050.3382090.830895
500.4987770.9975550.501223
510.5808030.8383930.419197
520.4310960.8621930.568904
530.3082580.6165170.691742
540.1794940.3589890.820506







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267057&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267057&T=6

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, 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.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,signif(mysum$coefficients[i,1],6))
a<-table.element(a, signif(mysum$coefficients[i,2],6))
a<-table.element(a, signif(mysum$coefficients[i,3],4))
a<-table.element(a, signif(mysum$coefficients[i,4],6))
a<-table.element(a, signif(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, signif(sqrt(mysum$r.squared),6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, signif(mysum$r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, signif(mysum$adj.r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[1],6))
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, signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6))
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, signif(mysum$sigma,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, signif(sum(myerror*myerror),6))
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,signif(x[i],6))
a<-table.element(a,signif(x[i]-mysum$resid[i],6))
a<-table.element(a,signif(mysum$resid[i],6))
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,signif(gqarr[mypoint-kp3+1,1],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,2],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,3],6))
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,signif(numsignificant1/numgqtests,6))
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')
}