Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Module--
Title produced by softwareMultiple Regression
Date of computationThu, 22 Dec 2011 05:27:43 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/22/t1324549677iiyfxsaazbsa92o.htm/, Retrieved Fri, 03 May 2024 11:09:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159261, Retrieved Fri, 03 May 2024 11:09:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact136
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD  [Multiple Regression] [Workshop 5 Monthl...] [2010-12-09 21:10:24] [9856f62fe16b3bb5126cae5dd74e4807]
-    D    [Multiple Regression] [monthly dummies] [2010-12-29 18:54:57] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-   P       [Multiple Regression] [] [2010-12-29 21:14:47] [99820e5c3330fe494c612533a1ea567a]
- R PD        [Multiple Regression] [monthly dummies] [2011-12-22 08:13:29] [74be16979710d4c4e7c6647856088456]
-  MP             [Multiple Regression] [monthly dummies] [2011-12-22 10:27:43] [cfea828c93f35e07cca4521b1fb38047] [Current]
Feedback Forum

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




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

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







Multiple Linear Regression - Estimated Regression Equation
Werkloosheid[t] = + 42.8 -0.966666666666665M1[t] -2.33333333333335M2[t] -6.70000000000002M3[t] -9.86666666666668M4[t] -9.83333333333335M5[t] -8.80000000000001M6[t] -7.16666666666668M7[t] -6.33333333333335M8[t] -8.50000000000002M9[t] -5.06666666666668M10[t] -2.83333333333335M11[t] -0.233333333333334t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid[t] =  +  42.8 -0.966666666666665M1[t] -2.33333333333335M2[t] -6.70000000000002M3[t] -9.86666666666668M4[t] -9.83333333333335M5[t] -8.80000000000001M6[t] -7.16666666666668M7[t] -6.33333333333335M8[t] -8.50000000000002M9[t] -5.06666666666668M10[t] -2.83333333333335M11[t] -0.233333333333334t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159261&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid[t] =  +  42.8 -0.966666666666665M1[t] -2.33333333333335M2[t] -6.70000000000002M3[t] -9.86666666666668M4[t] -9.83333333333335M5[t] -8.80000000000001M6[t] -7.16666666666668M7[t] -6.33333333333335M8[t] -8.50000000000002M9[t] -5.06666666666668M10[t] -2.83333333333335M11[t] -0.233333333333334t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159261&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159261&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
Werkloosheid[t] = + 42.8 -0.966666666666665M1[t] -2.33333333333335M2[t] -6.70000000000002M3[t] -9.86666666666668M4[t] -9.83333333333335M5[t] -8.80000000000001M6[t] -7.16666666666668M7[t] -6.33333333333335M8[t] -8.50000000000002M9[t] -5.06666666666668M10[t] -2.83333333333335M11[t] -0.233333333333334t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)42.813.8162023.09780.0032860.001643
M1-0.96666666666666516.808183-0.05750.9543810.477191
M2-2.3333333333333516.783071-0.1390.8900210.445011
M3-6.7000000000000216.760317-0.39980.6911490.345574
M4-9.8666666666666816.739933-0.58940.558410.279205
M5-9.8333333333333516.721926-0.58810.5593140.279657
M6-8.8000000000000116.706304-0.52670.6008460.300423
M7-7.1666666666666816.693074-0.42930.6696520.334826
M8-6.3333333333333516.682242-0.37960.7059190.352959
M9-8.5000000000000216.673812-0.50980.612590.306295
M10-5.0666666666666816.667788-0.3040.7624850.381243
M11-2.8333333333333516.664172-0.170.865720.43286
t-0.2333333333333340.200424-1.16420.250220.12511

\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) & 42.8 & 13.816202 & 3.0978 & 0.003286 & 0.001643 \tabularnewline
M1 & -0.966666666666665 & 16.808183 & -0.0575 & 0.954381 & 0.477191 \tabularnewline
M2 & -2.33333333333335 & 16.783071 & -0.139 & 0.890021 & 0.445011 \tabularnewline
M3 & -6.70000000000002 & 16.760317 & -0.3998 & 0.691149 & 0.345574 \tabularnewline
M4 & -9.86666666666668 & 16.739933 & -0.5894 & 0.55841 & 0.279205 \tabularnewline
M5 & -9.83333333333335 & 16.721926 & -0.5881 & 0.559314 & 0.279657 \tabularnewline
M6 & -8.80000000000001 & 16.706304 & -0.5267 & 0.600846 & 0.300423 \tabularnewline
M7 & -7.16666666666668 & 16.693074 & -0.4293 & 0.669652 & 0.334826 \tabularnewline
M8 & -6.33333333333335 & 16.682242 & -0.3796 & 0.705919 & 0.352959 \tabularnewline
M9 & -8.50000000000002 & 16.673812 & -0.5098 & 0.61259 & 0.306295 \tabularnewline
M10 & -5.06666666666668 & 16.667788 & -0.304 & 0.762485 & 0.381243 \tabularnewline
M11 & -2.83333333333335 & 16.664172 & -0.17 & 0.86572 & 0.43286 \tabularnewline
t & -0.233333333333334 & 0.200424 & -1.1642 & 0.25022 & 0.12511 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159261&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]42.8[/C][C]13.816202[/C][C]3.0978[/C][C]0.003286[/C][C]0.001643[/C][/ROW]
[ROW][C]M1[/C][C]-0.966666666666665[/C][C]16.808183[/C][C]-0.0575[/C][C]0.954381[/C][C]0.477191[/C][/ROW]
[ROW][C]M2[/C][C]-2.33333333333335[/C][C]16.783071[/C][C]-0.139[/C][C]0.890021[/C][C]0.445011[/C][/ROW]
[ROW][C]M3[/C][C]-6.70000000000002[/C][C]16.760317[/C][C]-0.3998[/C][C]0.691149[/C][C]0.345574[/C][/ROW]
[ROW][C]M4[/C][C]-9.86666666666668[/C][C]16.739933[/C][C]-0.5894[/C][C]0.55841[/C][C]0.279205[/C][/ROW]
[ROW][C]M5[/C][C]-9.83333333333335[/C][C]16.721926[/C][C]-0.5881[/C][C]0.559314[/C][C]0.279657[/C][/ROW]
[ROW][C]M6[/C][C]-8.80000000000001[/C][C]16.706304[/C][C]-0.5267[/C][C]0.600846[/C][C]0.300423[/C][/ROW]
[ROW][C]M7[/C][C]-7.16666666666668[/C][C]16.693074[/C][C]-0.4293[/C][C]0.669652[/C][C]0.334826[/C][/ROW]
[ROW][C]M8[/C][C]-6.33333333333335[/C][C]16.682242[/C][C]-0.3796[/C][C]0.705919[/C][C]0.352959[/C][/ROW]
[ROW][C]M9[/C][C]-8.50000000000002[/C][C]16.673812[/C][C]-0.5098[/C][C]0.61259[/C][C]0.306295[/C][/ROW]
[ROW][C]M10[/C][C]-5.06666666666668[/C][C]16.667788[/C][C]-0.304[/C][C]0.762485[/C][C]0.381243[/C][/ROW]
[ROW][C]M11[/C][C]-2.83333333333335[/C][C]16.664172[/C][C]-0.17[/C][C]0.86572[/C][C]0.43286[/C][/ROW]
[ROW][C]t[/C][C]-0.233333333333334[/C][C]0.200424[/C][C]-1.1642[/C][C]0.25022[/C][C]0.12511[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159261&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159261&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)42.813.8162023.09780.0032860.001643
M1-0.96666666666666516.808183-0.05750.9543810.477191
M2-2.3333333333333516.783071-0.1390.8900210.445011
M3-6.7000000000000216.760317-0.39980.6911490.345574
M4-9.8666666666666816.739933-0.58940.558410.279205
M5-9.8333333333333516.721926-0.58810.5593140.279657
M6-8.8000000000000116.706304-0.52670.6008460.300423
M7-7.1666666666666816.693074-0.42930.6696520.334826
M8-6.3333333333333516.682242-0.37960.7059190.352959
M9-8.5000000000000216.673812-0.50980.612590.306295
M10-5.0666666666666816.667788-0.3040.7624850.381243
M11-2.8333333333333516.664172-0.170.865720.43286
t-0.2333333333333340.200424-1.16420.250220.12511







Multiple Linear Regression - Regression Statistics
Multiple R0.215481270735242
R-squared0.0464321780376748
Adjusted R-squared-0.197031946718664
F-TEST (value)0.190714661078484
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.99828253186017
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.3464640931713
Sum Squared Residuals32624.4

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.215481270735242 \tabularnewline
R-squared & 0.0464321780376748 \tabularnewline
Adjusted R-squared & -0.197031946718664 \tabularnewline
F-TEST (value) & 0.190714661078484 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.99828253186017 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 26.3464640931713 \tabularnewline
Sum Squared Residuals & 32624.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159261&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.215481270735242[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0464321780376748[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.197031946718664[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.190714661078484[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.99828253186017[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]26.3464640931713[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]32624.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159261&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159261&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.215481270735242
R-squared0.0464321780376748
Adjusted R-squared-0.197031946718664
F-TEST (value)0.190714661078484
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.99828253186017
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.3464640931713
Sum Squared Residuals32624.4







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13141.5999999999999-10.5999999999999
23640-4
32435.4-11.4
42232-9.99999999999999
51731.8-14.8
6832.6-24.6
71234-22
8534.6-29.6
9632.2-26.2
10535.4-30.4
11837.4-29.4
121540-25
131638.8-22.8
141737.2-20.2
152332.6-9.6
162429.2-5.2
172729-2
183129.81.2
194031.28.8
204731.815.2
214329.413.6
226032.627.4
236434.629.4
246537.227.8
25653629
265534.420.6
275729.827.2
285726.430.6
295726.230.8
30652738
316928.440.6
32702941
337126.644.4
347129.841.2
357331.841.2
366834.433.6
376533.231.8
385731.625.4
39412714
402123.6-2.59999999999999
412123.4-2.4
421724.2-7.2
43925.6-16.6
441126.2-15.2
45623.8-17.8
46-227-29
47029-29
48531.6-26.6
49330.4-27.4
50728.8-21.8
51424.2-20.2
52820.8-12.8
53920.6-11.6
541421.4-7.4
551222.8-10.8
561223.4-11.4
57721-14
581524.2-9.19999999999999
591426.2-12.2
601928.8-9.80000000000001

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 31 & 41.5999999999999 & -10.5999999999999 \tabularnewline
2 & 36 & 40 & -4 \tabularnewline
3 & 24 & 35.4 & -11.4 \tabularnewline
4 & 22 & 32 & -9.99999999999999 \tabularnewline
5 & 17 & 31.8 & -14.8 \tabularnewline
6 & 8 & 32.6 & -24.6 \tabularnewline
7 & 12 & 34 & -22 \tabularnewline
8 & 5 & 34.6 & -29.6 \tabularnewline
9 & 6 & 32.2 & -26.2 \tabularnewline
10 & 5 & 35.4 & -30.4 \tabularnewline
11 & 8 & 37.4 & -29.4 \tabularnewline
12 & 15 & 40 & -25 \tabularnewline
13 & 16 & 38.8 & -22.8 \tabularnewline
14 & 17 & 37.2 & -20.2 \tabularnewline
15 & 23 & 32.6 & -9.6 \tabularnewline
16 & 24 & 29.2 & -5.2 \tabularnewline
17 & 27 & 29 & -2 \tabularnewline
18 & 31 & 29.8 & 1.2 \tabularnewline
19 & 40 & 31.2 & 8.8 \tabularnewline
20 & 47 & 31.8 & 15.2 \tabularnewline
21 & 43 & 29.4 & 13.6 \tabularnewline
22 & 60 & 32.6 & 27.4 \tabularnewline
23 & 64 & 34.6 & 29.4 \tabularnewline
24 & 65 & 37.2 & 27.8 \tabularnewline
25 & 65 & 36 & 29 \tabularnewline
26 & 55 & 34.4 & 20.6 \tabularnewline
27 & 57 & 29.8 & 27.2 \tabularnewline
28 & 57 & 26.4 & 30.6 \tabularnewline
29 & 57 & 26.2 & 30.8 \tabularnewline
30 & 65 & 27 & 38 \tabularnewline
31 & 69 & 28.4 & 40.6 \tabularnewline
32 & 70 & 29 & 41 \tabularnewline
33 & 71 & 26.6 & 44.4 \tabularnewline
34 & 71 & 29.8 & 41.2 \tabularnewline
35 & 73 & 31.8 & 41.2 \tabularnewline
36 & 68 & 34.4 & 33.6 \tabularnewline
37 & 65 & 33.2 & 31.8 \tabularnewline
38 & 57 & 31.6 & 25.4 \tabularnewline
39 & 41 & 27 & 14 \tabularnewline
40 & 21 & 23.6 & -2.59999999999999 \tabularnewline
41 & 21 & 23.4 & -2.4 \tabularnewline
42 & 17 & 24.2 & -7.2 \tabularnewline
43 & 9 & 25.6 & -16.6 \tabularnewline
44 & 11 & 26.2 & -15.2 \tabularnewline
45 & 6 & 23.8 & -17.8 \tabularnewline
46 & -2 & 27 & -29 \tabularnewline
47 & 0 & 29 & -29 \tabularnewline
48 & 5 & 31.6 & -26.6 \tabularnewline
49 & 3 & 30.4 & -27.4 \tabularnewline
50 & 7 & 28.8 & -21.8 \tabularnewline
51 & 4 & 24.2 & -20.2 \tabularnewline
52 & 8 & 20.8 & -12.8 \tabularnewline
53 & 9 & 20.6 & -11.6 \tabularnewline
54 & 14 & 21.4 & -7.4 \tabularnewline
55 & 12 & 22.8 & -10.8 \tabularnewline
56 & 12 & 23.4 & -11.4 \tabularnewline
57 & 7 & 21 & -14 \tabularnewline
58 & 15 & 24.2 & -9.19999999999999 \tabularnewline
59 & 14 & 26.2 & -12.2 \tabularnewline
60 & 19 & 28.8 & -9.80000000000001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159261&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]31[/C][C]41.5999999999999[/C][C]-10.5999999999999[/C][/ROW]
[ROW][C]2[/C][C]36[/C][C]40[/C][C]-4[/C][/ROW]
[ROW][C]3[/C][C]24[/C][C]35.4[/C][C]-11.4[/C][/ROW]
[ROW][C]4[/C][C]22[/C][C]32[/C][C]-9.99999999999999[/C][/ROW]
[ROW][C]5[/C][C]17[/C][C]31.8[/C][C]-14.8[/C][/ROW]
[ROW][C]6[/C][C]8[/C][C]32.6[/C][C]-24.6[/C][/ROW]
[ROW][C]7[/C][C]12[/C][C]34[/C][C]-22[/C][/ROW]
[ROW][C]8[/C][C]5[/C][C]34.6[/C][C]-29.6[/C][/ROW]
[ROW][C]9[/C][C]6[/C][C]32.2[/C][C]-26.2[/C][/ROW]
[ROW][C]10[/C][C]5[/C][C]35.4[/C][C]-30.4[/C][/ROW]
[ROW][C]11[/C][C]8[/C][C]37.4[/C][C]-29.4[/C][/ROW]
[ROW][C]12[/C][C]15[/C][C]40[/C][C]-25[/C][/ROW]
[ROW][C]13[/C][C]16[/C][C]38.8[/C][C]-22.8[/C][/ROW]
[ROW][C]14[/C][C]17[/C][C]37.2[/C][C]-20.2[/C][/ROW]
[ROW][C]15[/C][C]23[/C][C]32.6[/C][C]-9.6[/C][/ROW]
[ROW][C]16[/C][C]24[/C][C]29.2[/C][C]-5.2[/C][/ROW]
[ROW][C]17[/C][C]27[/C][C]29[/C][C]-2[/C][/ROW]
[ROW][C]18[/C][C]31[/C][C]29.8[/C][C]1.2[/C][/ROW]
[ROW][C]19[/C][C]40[/C][C]31.2[/C][C]8.8[/C][/ROW]
[ROW][C]20[/C][C]47[/C][C]31.8[/C][C]15.2[/C][/ROW]
[ROW][C]21[/C][C]43[/C][C]29.4[/C][C]13.6[/C][/ROW]
[ROW][C]22[/C][C]60[/C][C]32.6[/C][C]27.4[/C][/ROW]
[ROW][C]23[/C][C]64[/C][C]34.6[/C][C]29.4[/C][/ROW]
[ROW][C]24[/C][C]65[/C][C]37.2[/C][C]27.8[/C][/ROW]
[ROW][C]25[/C][C]65[/C][C]36[/C][C]29[/C][/ROW]
[ROW][C]26[/C][C]55[/C][C]34.4[/C][C]20.6[/C][/ROW]
[ROW][C]27[/C][C]57[/C][C]29.8[/C][C]27.2[/C][/ROW]
[ROW][C]28[/C][C]57[/C][C]26.4[/C][C]30.6[/C][/ROW]
[ROW][C]29[/C][C]57[/C][C]26.2[/C][C]30.8[/C][/ROW]
[ROW][C]30[/C][C]65[/C][C]27[/C][C]38[/C][/ROW]
[ROW][C]31[/C][C]69[/C][C]28.4[/C][C]40.6[/C][/ROW]
[ROW][C]32[/C][C]70[/C][C]29[/C][C]41[/C][/ROW]
[ROW][C]33[/C][C]71[/C][C]26.6[/C][C]44.4[/C][/ROW]
[ROW][C]34[/C][C]71[/C][C]29.8[/C][C]41.2[/C][/ROW]
[ROW][C]35[/C][C]73[/C][C]31.8[/C][C]41.2[/C][/ROW]
[ROW][C]36[/C][C]68[/C][C]34.4[/C][C]33.6[/C][/ROW]
[ROW][C]37[/C][C]65[/C][C]33.2[/C][C]31.8[/C][/ROW]
[ROW][C]38[/C][C]57[/C][C]31.6[/C][C]25.4[/C][/ROW]
[ROW][C]39[/C][C]41[/C][C]27[/C][C]14[/C][/ROW]
[ROW][C]40[/C][C]21[/C][C]23.6[/C][C]-2.59999999999999[/C][/ROW]
[ROW][C]41[/C][C]21[/C][C]23.4[/C][C]-2.4[/C][/ROW]
[ROW][C]42[/C][C]17[/C][C]24.2[/C][C]-7.2[/C][/ROW]
[ROW][C]43[/C][C]9[/C][C]25.6[/C][C]-16.6[/C][/ROW]
[ROW][C]44[/C][C]11[/C][C]26.2[/C][C]-15.2[/C][/ROW]
[ROW][C]45[/C][C]6[/C][C]23.8[/C][C]-17.8[/C][/ROW]
[ROW][C]46[/C][C]-2[/C][C]27[/C][C]-29[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]29[/C][C]-29[/C][/ROW]
[ROW][C]48[/C][C]5[/C][C]31.6[/C][C]-26.6[/C][/ROW]
[ROW][C]49[/C][C]3[/C][C]30.4[/C][C]-27.4[/C][/ROW]
[ROW][C]50[/C][C]7[/C][C]28.8[/C][C]-21.8[/C][/ROW]
[ROW][C]51[/C][C]4[/C][C]24.2[/C][C]-20.2[/C][/ROW]
[ROW][C]52[/C][C]8[/C][C]20.8[/C][C]-12.8[/C][/ROW]
[ROW][C]53[/C][C]9[/C][C]20.6[/C][C]-11.6[/C][/ROW]
[ROW][C]54[/C][C]14[/C][C]21.4[/C][C]-7.4[/C][/ROW]
[ROW][C]55[/C][C]12[/C][C]22.8[/C][C]-10.8[/C][/ROW]
[ROW][C]56[/C][C]12[/C][C]23.4[/C][C]-11.4[/C][/ROW]
[ROW][C]57[/C][C]7[/C][C]21[/C][C]-14[/C][/ROW]
[ROW][C]58[/C][C]15[/C][C]24.2[/C][C]-9.19999999999999[/C][/ROW]
[ROW][C]59[/C][C]14[/C][C]26.2[/C][C]-12.2[/C][/ROW]
[ROW][C]60[/C][C]19[/C][C]28.8[/C][C]-9.80000000000001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159261&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159261&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
13141.5999999999999-10.5999999999999
23640-4
32435.4-11.4
42232-9.99999999999999
51731.8-14.8
6832.6-24.6
71234-22
8534.6-29.6
9632.2-26.2
10535.4-30.4
11837.4-29.4
121540-25
131638.8-22.8
141737.2-20.2
152332.6-9.6
162429.2-5.2
172729-2
183129.81.2
194031.28.8
204731.815.2
214329.413.6
226032.627.4
236434.629.4
246537.227.8
25653629
265534.420.6
275729.827.2
285726.430.6
295726.230.8
30652738
316928.440.6
32702941
337126.644.4
347129.841.2
357331.841.2
366834.433.6
376533.231.8
385731.625.4
39412714
402123.6-2.59999999999999
412123.4-2.4
421724.2-7.2
43925.6-16.6
441126.2-15.2
45623.8-17.8
46-227-29
47029-29
48531.6-26.6
49330.4-27.4
50728.8-21.8
51424.2-20.2
52820.8-12.8
53920.6-11.6
541421.4-7.4
551222.8-10.8
561223.4-11.4
57721-14
581524.2-9.19999999999999
591426.2-12.2
601928.8-9.80000000000001







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.05786884087822670.1157376817564530.942131159121773
170.05772244721926710.1154448944385340.942277552780733
180.1166082945232940.2332165890465880.883391705476706
190.1693535913795210.3387071827590420.830646408620479
200.3129821702413630.6259643404827260.687017829758637
210.3682711388884040.7365422777768080.631728861111596
220.5138923852650040.9722152294699920.486107614734996
230.5890545351878590.8218909296242810.410945464812141
240.5940037941099920.8119924117800160.405996205890008
250.5037463618552210.9925072762895570.496253638144779
260.4316834819132080.8633669638264160.568316518086792
270.3393630711478630.6787261422957270.660636928852137
280.2521659410732550.504331882146510.747834058926745
290.1791023637150110.3582047274300210.820897636284989
300.1306073113088860.2612146226177710.869392688691114
310.09592666282206360.1918533256441270.904073337177936
320.07073395851040430.1414679170208090.929266041489596
330.06191139574858960.1238227914971790.93808860425141
340.05860671813058470.1172134362611690.941393281869415
350.0773341678489170.1546683356978340.922665832151083
360.108727787241870.2174555744837390.89127221275813
370.3459631196861180.6919262393722360.654036880313882
380.7384977879427010.5230044241145970.261502212057298
390.9728591565656340.05428168686873190.0271408434343659
400.9897231464119060.02055370717618880.0102768535880944
410.9965015752704870.006996849459025550.00349842472951277
420.9961984293648490.007603141270300960.00380157063515048
430.9918137145047030.01637257099059330.00818628549529663
440.9851907082339160.02961858353216850.0148092917660842

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0578688408782267 & 0.115737681756453 & 0.942131159121773 \tabularnewline
17 & 0.0577224472192671 & 0.115444894438534 & 0.942277552780733 \tabularnewline
18 & 0.116608294523294 & 0.233216589046588 & 0.883391705476706 \tabularnewline
19 & 0.169353591379521 & 0.338707182759042 & 0.830646408620479 \tabularnewline
20 & 0.312982170241363 & 0.625964340482726 & 0.687017829758637 \tabularnewline
21 & 0.368271138888404 & 0.736542277776808 & 0.631728861111596 \tabularnewline
22 & 0.513892385265004 & 0.972215229469992 & 0.486107614734996 \tabularnewline
23 & 0.589054535187859 & 0.821890929624281 & 0.410945464812141 \tabularnewline
24 & 0.594003794109992 & 0.811992411780016 & 0.405996205890008 \tabularnewline
25 & 0.503746361855221 & 0.992507276289557 & 0.496253638144779 \tabularnewline
26 & 0.431683481913208 & 0.863366963826416 & 0.568316518086792 \tabularnewline
27 & 0.339363071147863 & 0.678726142295727 & 0.660636928852137 \tabularnewline
28 & 0.252165941073255 & 0.50433188214651 & 0.747834058926745 \tabularnewline
29 & 0.179102363715011 & 0.358204727430021 & 0.820897636284989 \tabularnewline
30 & 0.130607311308886 & 0.261214622617771 & 0.869392688691114 \tabularnewline
31 & 0.0959266628220636 & 0.191853325644127 & 0.904073337177936 \tabularnewline
32 & 0.0707339585104043 & 0.141467917020809 & 0.929266041489596 \tabularnewline
33 & 0.0619113957485896 & 0.123822791497179 & 0.93808860425141 \tabularnewline
34 & 0.0586067181305847 & 0.117213436261169 & 0.941393281869415 \tabularnewline
35 & 0.077334167848917 & 0.154668335697834 & 0.922665832151083 \tabularnewline
36 & 0.10872778724187 & 0.217455574483739 & 0.89127221275813 \tabularnewline
37 & 0.345963119686118 & 0.691926239372236 & 0.654036880313882 \tabularnewline
38 & 0.738497787942701 & 0.523004424114597 & 0.261502212057298 \tabularnewline
39 & 0.972859156565634 & 0.0542816868687319 & 0.0271408434343659 \tabularnewline
40 & 0.989723146411906 & 0.0205537071761888 & 0.0102768535880944 \tabularnewline
41 & 0.996501575270487 & 0.00699684945902555 & 0.00349842472951277 \tabularnewline
42 & 0.996198429364849 & 0.00760314127030096 & 0.00380157063515048 \tabularnewline
43 & 0.991813714504703 & 0.0163725709905933 & 0.00818628549529663 \tabularnewline
44 & 0.985190708233916 & 0.0296185835321685 & 0.0148092917660842 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159261&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.0578688408782267[/C][C]0.115737681756453[/C][C]0.942131159121773[/C][/ROW]
[ROW][C]17[/C][C]0.0577224472192671[/C][C]0.115444894438534[/C][C]0.942277552780733[/C][/ROW]
[ROW][C]18[/C][C]0.116608294523294[/C][C]0.233216589046588[/C][C]0.883391705476706[/C][/ROW]
[ROW][C]19[/C][C]0.169353591379521[/C][C]0.338707182759042[/C][C]0.830646408620479[/C][/ROW]
[ROW][C]20[/C][C]0.312982170241363[/C][C]0.625964340482726[/C][C]0.687017829758637[/C][/ROW]
[ROW][C]21[/C][C]0.368271138888404[/C][C]0.736542277776808[/C][C]0.631728861111596[/C][/ROW]
[ROW][C]22[/C][C]0.513892385265004[/C][C]0.972215229469992[/C][C]0.486107614734996[/C][/ROW]
[ROW][C]23[/C][C]0.589054535187859[/C][C]0.821890929624281[/C][C]0.410945464812141[/C][/ROW]
[ROW][C]24[/C][C]0.594003794109992[/C][C]0.811992411780016[/C][C]0.405996205890008[/C][/ROW]
[ROW][C]25[/C][C]0.503746361855221[/C][C]0.992507276289557[/C][C]0.496253638144779[/C][/ROW]
[ROW][C]26[/C][C]0.431683481913208[/C][C]0.863366963826416[/C][C]0.568316518086792[/C][/ROW]
[ROW][C]27[/C][C]0.339363071147863[/C][C]0.678726142295727[/C][C]0.660636928852137[/C][/ROW]
[ROW][C]28[/C][C]0.252165941073255[/C][C]0.50433188214651[/C][C]0.747834058926745[/C][/ROW]
[ROW][C]29[/C][C]0.179102363715011[/C][C]0.358204727430021[/C][C]0.820897636284989[/C][/ROW]
[ROW][C]30[/C][C]0.130607311308886[/C][C]0.261214622617771[/C][C]0.869392688691114[/C][/ROW]
[ROW][C]31[/C][C]0.0959266628220636[/C][C]0.191853325644127[/C][C]0.904073337177936[/C][/ROW]
[ROW][C]32[/C][C]0.0707339585104043[/C][C]0.141467917020809[/C][C]0.929266041489596[/C][/ROW]
[ROW][C]33[/C][C]0.0619113957485896[/C][C]0.123822791497179[/C][C]0.93808860425141[/C][/ROW]
[ROW][C]34[/C][C]0.0586067181305847[/C][C]0.117213436261169[/C][C]0.941393281869415[/C][/ROW]
[ROW][C]35[/C][C]0.077334167848917[/C][C]0.154668335697834[/C][C]0.922665832151083[/C][/ROW]
[ROW][C]36[/C][C]0.10872778724187[/C][C]0.217455574483739[/C][C]0.89127221275813[/C][/ROW]
[ROW][C]37[/C][C]0.345963119686118[/C][C]0.691926239372236[/C][C]0.654036880313882[/C][/ROW]
[ROW][C]38[/C][C]0.738497787942701[/C][C]0.523004424114597[/C][C]0.261502212057298[/C][/ROW]
[ROW][C]39[/C][C]0.972859156565634[/C][C]0.0542816868687319[/C][C]0.0271408434343659[/C][/ROW]
[ROW][C]40[/C][C]0.989723146411906[/C][C]0.0205537071761888[/C][C]0.0102768535880944[/C][/ROW]
[ROW][C]41[/C][C]0.996501575270487[/C][C]0.00699684945902555[/C][C]0.00349842472951277[/C][/ROW]
[ROW][C]42[/C][C]0.996198429364849[/C][C]0.00760314127030096[/C][C]0.00380157063515048[/C][/ROW]
[ROW][C]43[/C][C]0.991813714504703[/C][C]0.0163725709905933[/C][C]0.00818628549529663[/C][/ROW]
[ROW][C]44[/C][C]0.985190708233916[/C][C]0.0296185835321685[/C][C]0.0148092917660842[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159261&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.05786884087822670.1157376817564530.942131159121773
170.05772244721926710.1154448944385340.942277552780733
180.1166082945232940.2332165890465880.883391705476706
190.1693535913795210.3387071827590420.830646408620479
200.3129821702413630.6259643404827260.687017829758637
210.3682711388884040.7365422777768080.631728861111596
220.5138923852650040.9722152294699920.486107614734996
230.5890545351878590.8218909296242810.410945464812141
240.5940037941099920.8119924117800160.405996205890008
250.5037463618552210.9925072762895570.496253638144779
260.4316834819132080.8633669638264160.568316518086792
270.3393630711478630.6787261422957270.660636928852137
280.2521659410732550.504331882146510.747834058926745
290.1791023637150110.3582047274300210.820897636284989
300.1306073113088860.2612146226177710.869392688691114
310.09592666282206360.1918533256441270.904073337177936
320.07073395851040430.1414679170208090.929266041489596
330.06191139574858960.1238227914971790.93808860425141
340.05860671813058470.1172134362611690.941393281869415
350.0773341678489170.1546683356978340.922665832151083
360.108727787241870.2174555744837390.89127221275813
370.3459631196861180.6919262393722360.654036880313882
380.7384977879427010.5230044241145970.261502212057298
390.9728591565656340.05428168686873190.0271408434343659
400.9897231464119060.02055370717618880.0102768535880944
410.9965015752704870.006996849459025550.00349842472951277
420.9961984293648490.007603141270300960.00380157063515048
430.9918137145047030.01637257099059330.00818628549529663
440.9851907082339160.02961858353216850.0148092917660842







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0689655172413793NOK
5% type I error level50.172413793103448NOK
10% type I error level60.206896551724138NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159261&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 level20.0689655172413793NOK
5% type I error level50.172413793103448NOK
10% type I error level60.206896551724138NOK



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