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, 14 Dec 2014 16:26:41 +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/14/t1418574444zqmqotxa0d3dnhr.htm/, Retrieved Sun, 19 May 2024 15:58:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=267731, Retrieved Sun, 19 May 2024 15:58:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact88
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2014-12-14 16:26:41] [04df4205f362f56e0d1a9032a00a5d3d] [Current]
Feedback Forum

Post a new message
Dataseries X:
91	80	26	31	5,0
92	77	24	42	7,0
128	80	26	28	0,0
49	25	9	6	3,5
104	66	34	35	6,0
76	90	16	43	3,5
74	81	36	28	3,5
96	54	35	35	4,0
116	46	21	29	7,5
87	106	29	48	4,5
127	60	37	44	3,5
74	62	51	20	4,5
91	36	32	28	2,5
133	56	21	34	7,5
95	98	20	23	3,0
121	35	11	21	3,5
102	90	23	33	4,5
102	43	39	35	2,5
100	52	29	28	7,0
94	60	13	32	0,0
52	54	8	22	1,0
98	51	18	44	3,5
118	51	24	27	5,5
109	263	37	108	8,5
115	299	29	73	7,5
78	121	45	34	6
118	137	25	72	10,5
162	183	66	74	10,5
122	238	32	66	9,5
100	226	39	41	7,5
82	190	19	57	5
115	145	36	51	10
90	186	41	79	6
121	148	29	39	7
104	172	17	55	7
110	168	32	55	8
108	102	30	22	10
113	106	34	37	5,5
115	2	59	2	6
111	141	31	39	9,5
77	113	19	33	8
89	175	25	43	7
78	77	48	23	9
110	125	35	44	8
117	211	18	39	8
63	76	46	23	9
131	266	12	78	9,5
77	246	12	27	7
112	226	44	51	8
49	138	7	31	3,5
56	106	24	24	8,5
48	62	13	14	6,5
63	184	17	41	4
162	183	66	74	10,5
81	158	16	62	8,5
110	226	40	59	9,5
104	83	49	54	6
88	105	19	36	7,5
99	196	30	42	9
76	157	19	25	8,5
109	75	52	31	7
120	75	33	17	9,5
91	185	22	55	8
108	265	30	62	9,5
119	196	26	49	9




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.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 & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267731&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]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267731&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267731&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'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Ex[t] = + 1.19049 + 0.0191878LFM[t] + 0.022057B[t] + 0.0517685PRH[t] -0.0205131CH[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Ex[t] =  +  1.19049 +  0.0191878LFM[t] +  0.022057B[t] +  0.0517685PRH[t] -0.0205131CH[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267731&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Ex[t] =  +  1.19049 +  0.0191878LFM[t] +  0.022057B[t] +  0.0517685PRH[t] -0.0205131CH[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267731&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267731&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
Ex[t] = + 1.19049 + 0.0191878LFM[t] + 0.022057B[t] + 0.0517685PRH[t] -0.0205131CH[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.190491.142111.0420.3014260.150713
LFM0.01918780.01318181.4560.1507080.075354
B0.0220570.005437564.0560.0001460227.3011e-05
PRH0.05176850.02186372.3680.02113540.0105677
CH-0.02051310.0217537-0.9430.3494780.174739

\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) & 1.19049 & 1.14211 & 1.042 & 0.301426 & 0.150713 \tabularnewline
LFM & 0.0191878 & 0.0131818 & 1.456 & 0.150708 & 0.075354 \tabularnewline
B & 0.022057 & 0.00543756 & 4.056 & 0.000146022 & 7.3011e-05 \tabularnewline
PRH & 0.0517685 & 0.0218637 & 2.368 & 0.0211354 & 0.0105677 \tabularnewline
CH & -0.0205131 & 0.0217537 & -0.943 & 0.349478 & 0.174739 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267731&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]1.19049[/C][C]1.14211[/C][C]1.042[/C][C]0.301426[/C][C]0.150713[/C][/ROW]
[ROW][C]LFM[/C][C]0.0191878[/C][C]0.0131818[/C][C]1.456[/C][C]0.150708[/C][C]0.075354[/C][/ROW]
[ROW][C]B[/C][C]0.022057[/C][C]0.00543756[/C][C]4.056[/C][C]0.000146022[/C][C]7.3011e-05[/C][/ROW]
[ROW][C]PRH[/C][C]0.0517685[/C][C]0.0218637[/C][C]2.368[/C][C]0.0211354[/C][C]0.0105677[/C][/ROW]
[ROW][C]CH[/C][C]-0.0205131[/C][C]0.0217537[/C][C]-0.943[/C][C]0.349478[/C][C]0.174739[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267731&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267731&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)1.190491.142111.0420.3014260.150713
LFM0.01918780.01318181.4560.1507080.075354
B0.0220570.005437564.0560.0001460227.3011e-05
PRH0.05176850.02186372.3680.02113540.0105677
CH-0.02051310.0217537-0.9430.3494780.174739







Multiple Linear Regression - Regression Statistics
Multiple R0.636377
R-squared0.404976
Adjusted R-squared0.365308
F-TEST (value)10.2091
F-TEST (DF numerator)4
F-TEST (DF denominator)60
p-value2.26432e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.09332
Sum Squared Residuals262.918

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.636377 \tabularnewline
R-squared & 0.404976 \tabularnewline
Adjusted R-squared & 0.365308 \tabularnewline
F-TEST (value) & 10.2091 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 60 \tabularnewline
p-value & 2.26432e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2.09332 \tabularnewline
Sum Squared Residuals & 262.918 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267731&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.636377[/C][/ROW]
[ROW][C]R-squared[/C][C]0.404976[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.365308[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.2091[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]60[/C][/ROW]
[ROW][C]p-value[/C][C]2.26432e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]2.09332[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]262.918[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267731&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267731&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.636377
R-squared0.404976
Adjusted R-squared0.365308
F-TEST (value)10.2091
F-TEST (DF numerator)4
F-TEST (DF denominator)60
p-value2.26432e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.09332
Sum Squared Residuals262.918







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
155.41122-0.411218
275.035051.96495
306.18271-6.18271
43.53.024960.475043
565.683960.316042
63.54.58013-1.08013
73.55.68631-2.18631
845.31754-1.31754
97.54.923162.57684
104.55.71453-1.21453
113.55.96362-2.46362
124.56.20786-1.70786
132.54.81286-2.31286
147.55.367362.13264
1535.73849-2.73849
163.54.42289-0.922892
174.55.64652-1.14652
182.55.39711-2.89711
1975.183161.81684
2004.33414-4.33414
2113.3422-2.3422
223.54.22506-0.725062
235.55.268150.231848
248.58.78297-0.282971
257.59.99596-2.49596
2666.98817-0.988174
2710.56.293734.20627
2810.510.23410.2659
299.59.08370.416305
307.59.27209-1.77209
3156.76907-1.76907
32107.412852.58715
3367.52197-1.52197
3477.47793-0.477928
3576.731670.26833
3687.53510.464903
37106.614363.38564
385.56.6979-1.1979
3966.45452-0.454522
409.57.235192.26481
4185.467062.53294
4277.17033-0.170329
4396.398622.60138
4486.96761.0324
4588.22131-0.221312
4695.985213.01479
479.58.592450.907546
4878.16134-1.16134
4989.55605-1.55605
503.54.90103-1.40103
518.55.353183.14682
526.53.864852.63515
5346.49684-2.49684
5410.510.23410.2659
558.55.786192.71381
569.59.14650.353503
5766.44571-0.445705
587.55.440132.05987
5998.104760.895241
608.56.582491.91751
6176.99230.00770491
629.56.506942.99306
6387.027810.972188
649.59.389120.110881
6598.137850.86215

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 5 & 5.41122 & -0.411218 \tabularnewline
2 & 7 & 5.03505 & 1.96495 \tabularnewline
3 & 0 & 6.18271 & -6.18271 \tabularnewline
4 & 3.5 & 3.02496 & 0.475043 \tabularnewline
5 & 6 & 5.68396 & 0.316042 \tabularnewline
6 & 3.5 & 4.58013 & -1.08013 \tabularnewline
7 & 3.5 & 5.68631 & -2.18631 \tabularnewline
8 & 4 & 5.31754 & -1.31754 \tabularnewline
9 & 7.5 & 4.92316 & 2.57684 \tabularnewline
10 & 4.5 & 5.71453 & -1.21453 \tabularnewline
11 & 3.5 & 5.96362 & -2.46362 \tabularnewline
12 & 4.5 & 6.20786 & -1.70786 \tabularnewline
13 & 2.5 & 4.81286 & -2.31286 \tabularnewline
14 & 7.5 & 5.36736 & 2.13264 \tabularnewline
15 & 3 & 5.73849 & -2.73849 \tabularnewline
16 & 3.5 & 4.42289 & -0.922892 \tabularnewline
17 & 4.5 & 5.64652 & -1.14652 \tabularnewline
18 & 2.5 & 5.39711 & -2.89711 \tabularnewline
19 & 7 & 5.18316 & 1.81684 \tabularnewline
20 & 0 & 4.33414 & -4.33414 \tabularnewline
21 & 1 & 3.3422 & -2.3422 \tabularnewline
22 & 3.5 & 4.22506 & -0.725062 \tabularnewline
23 & 5.5 & 5.26815 & 0.231848 \tabularnewline
24 & 8.5 & 8.78297 & -0.282971 \tabularnewline
25 & 7.5 & 9.99596 & -2.49596 \tabularnewline
26 & 6 & 6.98817 & -0.988174 \tabularnewline
27 & 10.5 & 6.29373 & 4.20627 \tabularnewline
28 & 10.5 & 10.2341 & 0.2659 \tabularnewline
29 & 9.5 & 9.0837 & 0.416305 \tabularnewline
30 & 7.5 & 9.27209 & -1.77209 \tabularnewline
31 & 5 & 6.76907 & -1.76907 \tabularnewline
32 & 10 & 7.41285 & 2.58715 \tabularnewline
33 & 6 & 7.52197 & -1.52197 \tabularnewline
34 & 7 & 7.47793 & -0.477928 \tabularnewline
35 & 7 & 6.73167 & 0.26833 \tabularnewline
36 & 8 & 7.5351 & 0.464903 \tabularnewline
37 & 10 & 6.61436 & 3.38564 \tabularnewline
38 & 5.5 & 6.6979 & -1.1979 \tabularnewline
39 & 6 & 6.45452 & -0.454522 \tabularnewline
40 & 9.5 & 7.23519 & 2.26481 \tabularnewline
41 & 8 & 5.46706 & 2.53294 \tabularnewline
42 & 7 & 7.17033 & -0.170329 \tabularnewline
43 & 9 & 6.39862 & 2.60138 \tabularnewline
44 & 8 & 6.9676 & 1.0324 \tabularnewline
45 & 8 & 8.22131 & -0.221312 \tabularnewline
46 & 9 & 5.98521 & 3.01479 \tabularnewline
47 & 9.5 & 8.59245 & 0.907546 \tabularnewline
48 & 7 & 8.16134 & -1.16134 \tabularnewline
49 & 8 & 9.55605 & -1.55605 \tabularnewline
50 & 3.5 & 4.90103 & -1.40103 \tabularnewline
51 & 8.5 & 5.35318 & 3.14682 \tabularnewline
52 & 6.5 & 3.86485 & 2.63515 \tabularnewline
53 & 4 & 6.49684 & -2.49684 \tabularnewline
54 & 10.5 & 10.2341 & 0.2659 \tabularnewline
55 & 8.5 & 5.78619 & 2.71381 \tabularnewline
56 & 9.5 & 9.1465 & 0.353503 \tabularnewline
57 & 6 & 6.44571 & -0.445705 \tabularnewline
58 & 7.5 & 5.44013 & 2.05987 \tabularnewline
59 & 9 & 8.10476 & 0.895241 \tabularnewline
60 & 8.5 & 6.58249 & 1.91751 \tabularnewline
61 & 7 & 6.9923 & 0.00770491 \tabularnewline
62 & 9.5 & 6.50694 & 2.99306 \tabularnewline
63 & 8 & 7.02781 & 0.972188 \tabularnewline
64 & 9.5 & 9.38912 & 0.110881 \tabularnewline
65 & 9 & 8.13785 & 0.86215 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267731&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]5[/C][C]5.41122[/C][C]-0.411218[/C][/ROW]
[ROW][C]2[/C][C]7[/C][C]5.03505[/C][C]1.96495[/C][/ROW]
[ROW][C]3[/C][C]0[/C][C]6.18271[/C][C]-6.18271[/C][/ROW]
[ROW][C]4[/C][C]3.5[/C][C]3.02496[/C][C]0.475043[/C][/ROW]
[ROW][C]5[/C][C]6[/C][C]5.68396[/C][C]0.316042[/C][/ROW]
[ROW][C]6[/C][C]3.5[/C][C]4.58013[/C][C]-1.08013[/C][/ROW]
[ROW][C]7[/C][C]3.5[/C][C]5.68631[/C][C]-2.18631[/C][/ROW]
[ROW][C]8[/C][C]4[/C][C]5.31754[/C][C]-1.31754[/C][/ROW]
[ROW][C]9[/C][C]7.5[/C][C]4.92316[/C][C]2.57684[/C][/ROW]
[ROW][C]10[/C][C]4.5[/C][C]5.71453[/C][C]-1.21453[/C][/ROW]
[ROW][C]11[/C][C]3.5[/C][C]5.96362[/C][C]-2.46362[/C][/ROW]
[ROW][C]12[/C][C]4.5[/C][C]6.20786[/C][C]-1.70786[/C][/ROW]
[ROW][C]13[/C][C]2.5[/C][C]4.81286[/C][C]-2.31286[/C][/ROW]
[ROW][C]14[/C][C]7.5[/C][C]5.36736[/C][C]2.13264[/C][/ROW]
[ROW][C]15[/C][C]3[/C][C]5.73849[/C][C]-2.73849[/C][/ROW]
[ROW][C]16[/C][C]3.5[/C][C]4.42289[/C][C]-0.922892[/C][/ROW]
[ROW][C]17[/C][C]4.5[/C][C]5.64652[/C][C]-1.14652[/C][/ROW]
[ROW][C]18[/C][C]2.5[/C][C]5.39711[/C][C]-2.89711[/C][/ROW]
[ROW][C]19[/C][C]7[/C][C]5.18316[/C][C]1.81684[/C][/ROW]
[ROW][C]20[/C][C]0[/C][C]4.33414[/C][C]-4.33414[/C][/ROW]
[ROW][C]21[/C][C]1[/C][C]3.3422[/C][C]-2.3422[/C][/ROW]
[ROW][C]22[/C][C]3.5[/C][C]4.22506[/C][C]-0.725062[/C][/ROW]
[ROW][C]23[/C][C]5.5[/C][C]5.26815[/C][C]0.231848[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]8.78297[/C][C]-0.282971[/C][/ROW]
[ROW][C]25[/C][C]7.5[/C][C]9.99596[/C][C]-2.49596[/C][/ROW]
[ROW][C]26[/C][C]6[/C][C]6.98817[/C][C]-0.988174[/C][/ROW]
[ROW][C]27[/C][C]10.5[/C][C]6.29373[/C][C]4.20627[/C][/ROW]
[ROW][C]28[/C][C]10.5[/C][C]10.2341[/C][C]0.2659[/C][/ROW]
[ROW][C]29[/C][C]9.5[/C][C]9.0837[/C][C]0.416305[/C][/ROW]
[ROW][C]30[/C][C]7.5[/C][C]9.27209[/C][C]-1.77209[/C][/ROW]
[ROW][C]31[/C][C]5[/C][C]6.76907[/C][C]-1.76907[/C][/ROW]
[ROW][C]32[/C][C]10[/C][C]7.41285[/C][C]2.58715[/C][/ROW]
[ROW][C]33[/C][C]6[/C][C]7.52197[/C][C]-1.52197[/C][/ROW]
[ROW][C]34[/C][C]7[/C][C]7.47793[/C][C]-0.477928[/C][/ROW]
[ROW][C]35[/C][C]7[/C][C]6.73167[/C][C]0.26833[/C][/ROW]
[ROW][C]36[/C][C]8[/C][C]7.5351[/C][C]0.464903[/C][/ROW]
[ROW][C]37[/C][C]10[/C][C]6.61436[/C][C]3.38564[/C][/ROW]
[ROW][C]38[/C][C]5.5[/C][C]6.6979[/C][C]-1.1979[/C][/ROW]
[ROW][C]39[/C][C]6[/C][C]6.45452[/C][C]-0.454522[/C][/ROW]
[ROW][C]40[/C][C]9.5[/C][C]7.23519[/C][C]2.26481[/C][/ROW]
[ROW][C]41[/C][C]8[/C][C]5.46706[/C][C]2.53294[/C][/ROW]
[ROW][C]42[/C][C]7[/C][C]7.17033[/C][C]-0.170329[/C][/ROW]
[ROW][C]43[/C][C]9[/C][C]6.39862[/C][C]2.60138[/C][/ROW]
[ROW][C]44[/C][C]8[/C][C]6.9676[/C][C]1.0324[/C][/ROW]
[ROW][C]45[/C][C]8[/C][C]8.22131[/C][C]-0.221312[/C][/ROW]
[ROW][C]46[/C][C]9[/C][C]5.98521[/C][C]3.01479[/C][/ROW]
[ROW][C]47[/C][C]9.5[/C][C]8.59245[/C][C]0.907546[/C][/ROW]
[ROW][C]48[/C][C]7[/C][C]8.16134[/C][C]-1.16134[/C][/ROW]
[ROW][C]49[/C][C]8[/C][C]9.55605[/C][C]-1.55605[/C][/ROW]
[ROW][C]50[/C][C]3.5[/C][C]4.90103[/C][C]-1.40103[/C][/ROW]
[ROW][C]51[/C][C]8.5[/C][C]5.35318[/C][C]3.14682[/C][/ROW]
[ROW][C]52[/C][C]6.5[/C][C]3.86485[/C][C]2.63515[/C][/ROW]
[ROW][C]53[/C][C]4[/C][C]6.49684[/C][C]-2.49684[/C][/ROW]
[ROW][C]54[/C][C]10.5[/C][C]10.2341[/C][C]0.2659[/C][/ROW]
[ROW][C]55[/C][C]8.5[/C][C]5.78619[/C][C]2.71381[/C][/ROW]
[ROW][C]56[/C][C]9.5[/C][C]9.1465[/C][C]0.353503[/C][/ROW]
[ROW][C]57[/C][C]6[/C][C]6.44571[/C][C]-0.445705[/C][/ROW]
[ROW][C]58[/C][C]7.5[/C][C]5.44013[/C][C]2.05987[/C][/ROW]
[ROW][C]59[/C][C]9[/C][C]8.10476[/C][C]0.895241[/C][/ROW]
[ROW][C]60[/C][C]8.5[/C][C]6.58249[/C][C]1.91751[/C][/ROW]
[ROW][C]61[/C][C]7[/C][C]6.9923[/C][C]0.00770491[/C][/ROW]
[ROW][C]62[/C][C]9.5[/C][C]6.50694[/C][C]2.99306[/C][/ROW]
[ROW][C]63[/C][C]8[/C][C]7.02781[/C][C]0.972188[/C][/ROW]
[ROW][C]64[/C][C]9.5[/C][C]9.38912[/C][C]0.110881[/C][/ROW]
[ROW][C]65[/C][C]9[/C][C]8.13785[/C][C]0.86215[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267731&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267731&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
155.41122-0.411218
275.035051.96495
306.18271-6.18271
43.53.024960.475043
565.683960.316042
63.54.58013-1.08013
73.55.68631-2.18631
845.31754-1.31754
97.54.923162.57684
104.55.71453-1.21453
113.55.96362-2.46362
124.56.20786-1.70786
132.54.81286-2.31286
147.55.367362.13264
1535.73849-2.73849
163.54.42289-0.922892
174.55.64652-1.14652
182.55.39711-2.89711
1975.183161.81684
2004.33414-4.33414
2113.3422-2.3422
223.54.22506-0.725062
235.55.268150.231848
248.58.78297-0.282971
257.59.99596-2.49596
2666.98817-0.988174
2710.56.293734.20627
2810.510.23410.2659
299.59.08370.416305
307.59.27209-1.77209
3156.76907-1.76907
32107.412852.58715
3367.52197-1.52197
3477.47793-0.477928
3576.731670.26833
3687.53510.464903
37106.614363.38564
385.56.6979-1.1979
3966.45452-0.454522
409.57.235192.26481
4185.467062.53294
4277.17033-0.170329
4396.398622.60138
4486.96761.0324
4588.22131-0.221312
4695.985213.01479
479.58.592450.907546
4878.16134-1.16134
4989.55605-1.55605
503.54.90103-1.40103
518.55.353183.14682
526.53.864852.63515
5346.49684-2.49684
5410.510.23410.2659
558.55.786192.71381
569.59.14650.353503
5766.44571-0.445705
587.55.440132.05987
5998.104760.895241
608.56.582491.91751
6176.99230.00770491
629.56.506942.99306
6387.027810.972188
649.59.389120.110881
6598.137850.86215







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.6830310.6339370.316969
90.737550.5249010.26245
100.6130930.7738140.386907
110.697680.6046390.30232
120.6204160.7591690.379584
130.7055760.5888490.294424
140.7652680.4694640.234732
150.7205030.5589930.279497
160.6657070.6685850.334293
170.5981430.8037150.401857
180.6739810.6520370.326019
190.70240.5952010.2976
200.9419640.1160710.0580356
210.9677790.06444250.0322212
220.974750.05050.02525
230.9777680.04446390.0222319
240.9697160.06056760.0302838
250.9577320.08453610.042268
260.9458690.1082620.0541308
270.977620.04475970.0223799
280.9676310.06473880.0323694
290.9603120.07937640.0396882
300.9471860.1056280.0528139
310.9463970.1072060.0536031
320.9621950.07561060.0378053
330.9576630.0846740.042337
340.9467470.1065070.0532533
350.928140.1437190.0718595
360.9018460.1963070.0981535
370.9500120.09997520.0499876
380.9601370.07972560.0398628
390.9738340.05233260.0261663
400.9710120.05797660.0289883
410.9705790.05884240.0294212
420.9560890.08782230.0439111
430.9588330.08233360.0411668
440.9381870.1236260.0618131
450.9137880.1724250.0862124
460.9528830.09423410.0471171
470.9290490.1419030.0709515
480.9039420.1921160.0960578
490.8684790.2630420.131521
500.9215630.1568740.0784371
510.9686570.06268520.0313426
520.9671660.06566760.0328338
530.9974120.005176350.00258818
540.9967760.006447450.00322372
550.9987770.002445980.00122299
560.9984580.003084310.00154215
570.9909420.01811510.00905755

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.683031 & 0.633937 & 0.316969 \tabularnewline
9 & 0.73755 & 0.524901 & 0.26245 \tabularnewline
10 & 0.613093 & 0.773814 & 0.386907 \tabularnewline
11 & 0.69768 & 0.604639 & 0.30232 \tabularnewline
12 & 0.620416 & 0.759169 & 0.379584 \tabularnewline
13 & 0.705576 & 0.588849 & 0.294424 \tabularnewline
14 & 0.765268 & 0.469464 & 0.234732 \tabularnewline
15 & 0.720503 & 0.558993 & 0.279497 \tabularnewline
16 & 0.665707 & 0.668585 & 0.334293 \tabularnewline
17 & 0.598143 & 0.803715 & 0.401857 \tabularnewline
18 & 0.673981 & 0.652037 & 0.326019 \tabularnewline
19 & 0.7024 & 0.595201 & 0.2976 \tabularnewline
20 & 0.941964 & 0.116071 & 0.0580356 \tabularnewline
21 & 0.967779 & 0.0644425 & 0.0322212 \tabularnewline
22 & 0.97475 & 0.0505 & 0.02525 \tabularnewline
23 & 0.977768 & 0.0444639 & 0.0222319 \tabularnewline
24 & 0.969716 & 0.0605676 & 0.0302838 \tabularnewline
25 & 0.957732 & 0.0845361 & 0.042268 \tabularnewline
26 & 0.945869 & 0.108262 & 0.0541308 \tabularnewline
27 & 0.97762 & 0.0447597 & 0.0223799 \tabularnewline
28 & 0.967631 & 0.0647388 & 0.0323694 \tabularnewline
29 & 0.960312 & 0.0793764 & 0.0396882 \tabularnewline
30 & 0.947186 & 0.105628 & 0.0528139 \tabularnewline
31 & 0.946397 & 0.107206 & 0.0536031 \tabularnewline
32 & 0.962195 & 0.0756106 & 0.0378053 \tabularnewline
33 & 0.957663 & 0.084674 & 0.042337 \tabularnewline
34 & 0.946747 & 0.106507 & 0.0532533 \tabularnewline
35 & 0.92814 & 0.143719 & 0.0718595 \tabularnewline
36 & 0.901846 & 0.196307 & 0.0981535 \tabularnewline
37 & 0.950012 & 0.0999752 & 0.0499876 \tabularnewline
38 & 0.960137 & 0.0797256 & 0.0398628 \tabularnewline
39 & 0.973834 & 0.0523326 & 0.0261663 \tabularnewline
40 & 0.971012 & 0.0579766 & 0.0289883 \tabularnewline
41 & 0.970579 & 0.0588424 & 0.0294212 \tabularnewline
42 & 0.956089 & 0.0878223 & 0.0439111 \tabularnewline
43 & 0.958833 & 0.0823336 & 0.0411668 \tabularnewline
44 & 0.938187 & 0.123626 & 0.0618131 \tabularnewline
45 & 0.913788 & 0.172425 & 0.0862124 \tabularnewline
46 & 0.952883 & 0.0942341 & 0.0471171 \tabularnewline
47 & 0.929049 & 0.141903 & 0.0709515 \tabularnewline
48 & 0.903942 & 0.192116 & 0.0960578 \tabularnewline
49 & 0.868479 & 0.263042 & 0.131521 \tabularnewline
50 & 0.921563 & 0.156874 & 0.0784371 \tabularnewline
51 & 0.968657 & 0.0626852 & 0.0313426 \tabularnewline
52 & 0.967166 & 0.0656676 & 0.0328338 \tabularnewline
53 & 0.997412 & 0.00517635 & 0.00258818 \tabularnewline
54 & 0.996776 & 0.00644745 & 0.00322372 \tabularnewline
55 & 0.998777 & 0.00244598 & 0.00122299 \tabularnewline
56 & 0.998458 & 0.00308431 & 0.00154215 \tabularnewline
57 & 0.990942 & 0.0181151 & 0.00905755 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267731&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.683031[/C][C]0.633937[/C][C]0.316969[/C][/ROW]
[ROW][C]9[/C][C]0.73755[/C][C]0.524901[/C][C]0.26245[/C][/ROW]
[ROW][C]10[/C][C]0.613093[/C][C]0.773814[/C][C]0.386907[/C][/ROW]
[ROW][C]11[/C][C]0.69768[/C][C]0.604639[/C][C]0.30232[/C][/ROW]
[ROW][C]12[/C][C]0.620416[/C][C]0.759169[/C][C]0.379584[/C][/ROW]
[ROW][C]13[/C][C]0.705576[/C][C]0.588849[/C][C]0.294424[/C][/ROW]
[ROW][C]14[/C][C]0.765268[/C][C]0.469464[/C][C]0.234732[/C][/ROW]
[ROW][C]15[/C][C]0.720503[/C][C]0.558993[/C][C]0.279497[/C][/ROW]
[ROW][C]16[/C][C]0.665707[/C][C]0.668585[/C][C]0.334293[/C][/ROW]
[ROW][C]17[/C][C]0.598143[/C][C]0.803715[/C][C]0.401857[/C][/ROW]
[ROW][C]18[/C][C]0.673981[/C][C]0.652037[/C][C]0.326019[/C][/ROW]
[ROW][C]19[/C][C]0.7024[/C][C]0.595201[/C][C]0.2976[/C][/ROW]
[ROW][C]20[/C][C]0.941964[/C][C]0.116071[/C][C]0.0580356[/C][/ROW]
[ROW][C]21[/C][C]0.967779[/C][C]0.0644425[/C][C]0.0322212[/C][/ROW]
[ROW][C]22[/C][C]0.97475[/C][C]0.0505[/C][C]0.02525[/C][/ROW]
[ROW][C]23[/C][C]0.977768[/C][C]0.0444639[/C][C]0.0222319[/C][/ROW]
[ROW][C]24[/C][C]0.969716[/C][C]0.0605676[/C][C]0.0302838[/C][/ROW]
[ROW][C]25[/C][C]0.957732[/C][C]0.0845361[/C][C]0.042268[/C][/ROW]
[ROW][C]26[/C][C]0.945869[/C][C]0.108262[/C][C]0.0541308[/C][/ROW]
[ROW][C]27[/C][C]0.97762[/C][C]0.0447597[/C][C]0.0223799[/C][/ROW]
[ROW][C]28[/C][C]0.967631[/C][C]0.0647388[/C][C]0.0323694[/C][/ROW]
[ROW][C]29[/C][C]0.960312[/C][C]0.0793764[/C][C]0.0396882[/C][/ROW]
[ROW][C]30[/C][C]0.947186[/C][C]0.105628[/C][C]0.0528139[/C][/ROW]
[ROW][C]31[/C][C]0.946397[/C][C]0.107206[/C][C]0.0536031[/C][/ROW]
[ROW][C]32[/C][C]0.962195[/C][C]0.0756106[/C][C]0.0378053[/C][/ROW]
[ROW][C]33[/C][C]0.957663[/C][C]0.084674[/C][C]0.042337[/C][/ROW]
[ROW][C]34[/C][C]0.946747[/C][C]0.106507[/C][C]0.0532533[/C][/ROW]
[ROW][C]35[/C][C]0.92814[/C][C]0.143719[/C][C]0.0718595[/C][/ROW]
[ROW][C]36[/C][C]0.901846[/C][C]0.196307[/C][C]0.0981535[/C][/ROW]
[ROW][C]37[/C][C]0.950012[/C][C]0.0999752[/C][C]0.0499876[/C][/ROW]
[ROW][C]38[/C][C]0.960137[/C][C]0.0797256[/C][C]0.0398628[/C][/ROW]
[ROW][C]39[/C][C]0.973834[/C][C]0.0523326[/C][C]0.0261663[/C][/ROW]
[ROW][C]40[/C][C]0.971012[/C][C]0.0579766[/C][C]0.0289883[/C][/ROW]
[ROW][C]41[/C][C]0.970579[/C][C]0.0588424[/C][C]0.0294212[/C][/ROW]
[ROW][C]42[/C][C]0.956089[/C][C]0.0878223[/C][C]0.0439111[/C][/ROW]
[ROW][C]43[/C][C]0.958833[/C][C]0.0823336[/C][C]0.0411668[/C][/ROW]
[ROW][C]44[/C][C]0.938187[/C][C]0.123626[/C][C]0.0618131[/C][/ROW]
[ROW][C]45[/C][C]0.913788[/C][C]0.172425[/C][C]0.0862124[/C][/ROW]
[ROW][C]46[/C][C]0.952883[/C][C]0.0942341[/C][C]0.0471171[/C][/ROW]
[ROW][C]47[/C][C]0.929049[/C][C]0.141903[/C][C]0.0709515[/C][/ROW]
[ROW][C]48[/C][C]0.903942[/C][C]0.192116[/C][C]0.0960578[/C][/ROW]
[ROW][C]49[/C][C]0.868479[/C][C]0.263042[/C][C]0.131521[/C][/ROW]
[ROW][C]50[/C][C]0.921563[/C][C]0.156874[/C][C]0.0784371[/C][/ROW]
[ROW][C]51[/C][C]0.968657[/C][C]0.0626852[/C][C]0.0313426[/C][/ROW]
[ROW][C]52[/C][C]0.967166[/C][C]0.0656676[/C][C]0.0328338[/C][/ROW]
[ROW][C]53[/C][C]0.997412[/C][C]0.00517635[/C][C]0.00258818[/C][/ROW]
[ROW][C]54[/C][C]0.996776[/C][C]0.00644745[/C][C]0.00322372[/C][/ROW]
[ROW][C]55[/C][C]0.998777[/C][C]0.00244598[/C][C]0.00122299[/C][/ROW]
[ROW][C]56[/C][C]0.998458[/C][C]0.00308431[/C][C]0.00154215[/C][/ROW]
[ROW][C]57[/C][C]0.990942[/C][C]0.0181151[/C][C]0.00905755[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267731&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267731&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.6830310.6339370.316969
90.737550.5249010.26245
100.6130930.7738140.386907
110.697680.6046390.30232
120.6204160.7591690.379584
130.7055760.5888490.294424
140.7652680.4694640.234732
150.7205030.5589930.279497
160.6657070.6685850.334293
170.5981430.8037150.401857
180.6739810.6520370.326019
190.70240.5952010.2976
200.9419640.1160710.0580356
210.9677790.06444250.0322212
220.974750.05050.02525
230.9777680.04446390.0222319
240.9697160.06056760.0302838
250.9577320.08453610.042268
260.9458690.1082620.0541308
270.977620.04475970.0223799
280.9676310.06473880.0323694
290.9603120.07937640.0396882
300.9471860.1056280.0528139
310.9463970.1072060.0536031
320.9621950.07561060.0378053
330.9576630.0846740.042337
340.9467470.1065070.0532533
350.928140.1437190.0718595
360.9018460.1963070.0981535
370.9500120.09997520.0499876
380.9601370.07972560.0398628
390.9738340.05233260.0261663
400.9710120.05797660.0289883
410.9705790.05884240.0294212
420.9560890.08782230.0439111
430.9588330.08233360.0411668
440.9381870.1236260.0618131
450.9137880.1724250.0862124
460.9528830.09423410.0471171
470.9290490.1419030.0709515
480.9039420.1921160.0960578
490.8684790.2630420.131521
500.9215630.1568740.0784371
510.9686570.06268520.0313426
520.9671660.06566760.0328338
530.9974120.005176350.00258818
540.9967760.006447450.00322372
550.9987770.002445980.00122299
560.9984580.003084310.00154215
570.9909420.01811510.00905755







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.08NOK
5% type I error level70.14NOK
10% type I error level250.5NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267731&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 level40.08NOK
5% type I error level70.14NOK
10% type I error level250.5NOK



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, 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')
}