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 computationFri, 16 Dec 2011 04:27:26 -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/16/t1324027709t1wvyecputp1lrq.htm/, Retrieved Sun, 05 May 2024 12:00:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=155767, Retrieved Sun, 05 May 2024 12:00:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple regressi...] [2011-12-16 09:27:26] [1ec9c877c5c85e817bc4a3ecfdd6e5aa] [Current]
Feedback Forum

Post a new message
Dataseries X:
31956
29506
34506
27165
26736
23691
18157
17328
18205
20995
17382
9367
31124
26551
30651
25859
25100
25778
20418
18688
20424
24776
19814
12738
31566
30111
30019
31934
25826
26835
20205
17789
20520
22518
15572
11509
25447
24090
27786
26195
20516
22759
19028
16971
20036
22485
18730
14538
27561
25985
34670
32066
27186
29586
21359
21553
19573
24256
22380
16167




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155767&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'Gwilym Jenkins' @ jenkins.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Inschrijvingen[t] = + 12863.8 + 16667M1[t] + 14384.8M2[t] + 18662.6M3[t] + 15780M4[t] + 12209M5[t] + 12866M6[t] + 6969.6M7[t] + 5602M8[t] + 6887.8M9[t] + 10142.2M10[t] + 5911.8M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Inschrijvingen[t] =  +  12863.8 +  16667M1[t] +  14384.8M2[t] +  18662.6M3[t] +  15780M4[t] +  12209M5[t] +  12866M6[t] +  6969.6M7[t] +  5602M8[t] +  6887.8M9[t] +  10142.2M10[t] +  5911.8M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155767&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Inschrijvingen[t] =  +  12863.8 +  16667M1[t] +  14384.8M2[t] +  18662.6M3[t] +  15780M4[t] +  12209M5[t] +  12866M6[t] +  6969.6M7[t] +  5602M8[t] +  6887.8M9[t] +  10142.2M10[t] +  5911.8M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155767&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155767&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
Inschrijvingen[t] = + 12863.8 + 16667M1[t] + 14384.8M2[t] + 18662.6M3[t] + 15780M4[t] + 12209M5[t] + 12866M6[t] + 6969.6M7[t] + 5602M8[t] + 6887.8M9[t] + 10142.2M10[t] + 5911.8M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)12863.81074.46598511.972300
M1166671519.52436910.968600
M214384.81519.5243699.466600
M318662.61519.52436912.281900
M4157801519.52436910.384800
M5122091519.5243698.034800
M6128661519.5243698.467100
M76969.61519.5243694.58673.2e-051.6e-05
M856021519.5243693.68670.0005780.000289
M96887.81519.5243694.53293.9e-051.9e-05
M1010142.21519.5243696.674600
M115911.81519.5243693.89060.0003080.000154

\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) & 12863.8 & 1074.465985 & 11.9723 & 0 & 0 \tabularnewline
M1 & 16667 & 1519.524369 & 10.9686 & 0 & 0 \tabularnewline
M2 & 14384.8 & 1519.524369 & 9.4666 & 0 & 0 \tabularnewline
M3 & 18662.6 & 1519.524369 & 12.2819 & 0 & 0 \tabularnewline
M4 & 15780 & 1519.524369 & 10.3848 & 0 & 0 \tabularnewline
M5 & 12209 & 1519.524369 & 8.0348 & 0 & 0 \tabularnewline
M6 & 12866 & 1519.524369 & 8.4671 & 0 & 0 \tabularnewline
M7 & 6969.6 & 1519.524369 & 4.5867 & 3.2e-05 & 1.6e-05 \tabularnewline
M8 & 5602 & 1519.524369 & 3.6867 & 0.000578 & 0.000289 \tabularnewline
M9 & 6887.8 & 1519.524369 & 4.5329 & 3.9e-05 & 1.9e-05 \tabularnewline
M10 & 10142.2 & 1519.524369 & 6.6746 & 0 & 0 \tabularnewline
M11 & 5911.8 & 1519.524369 & 3.8906 & 0.000308 & 0.000154 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155767&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]12863.8[/C][C]1074.465985[/C][C]11.9723[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]16667[/C][C]1519.524369[/C][C]10.9686[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M2[/C][C]14384.8[/C][C]1519.524369[/C][C]9.4666[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]18662.6[/C][C]1519.524369[/C][C]12.2819[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]15780[/C][C]1519.524369[/C][C]10.3848[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]12209[/C][C]1519.524369[/C][C]8.0348[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]12866[/C][C]1519.524369[/C][C]8.4671[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]6969.6[/C][C]1519.524369[/C][C]4.5867[/C][C]3.2e-05[/C][C]1.6e-05[/C][/ROW]
[ROW][C]M8[/C][C]5602[/C][C]1519.524369[/C][C]3.6867[/C][C]0.000578[/C][C]0.000289[/C][/ROW]
[ROW][C]M9[/C][C]6887.8[/C][C]1519.524369[/C][C]4.5329[/C][C]3.9e-05[/C][C]1.9e-05[/C][/ROW]
[ROW][C]M10[/C][C]10142.2[/C][C]1519.524369[/C][C]6.6746[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]5911.8[/C][C]1519.524369[/C][C]3.8906[/C][C]0.000308[/C][C]0.000154[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155767&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155767&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)12863.81074.46598511.972300
M1166671519.52436910.968600
M214384.81519.5243699.466600
M318662.61519.52436912.281900
M4157801519.52436910.384800
M5122091519.5243698.034800
M6128661519.5243698.467100
M76969.61519.5243694.58673.2e-051.6e-05
M856021519.5243693.68670.0005780.000289
M96887.81519.5243694.53293.9e-051.9e-05
M1010142.21519.5243696.674600
M115911.81519.5243693.89060.0003080.000154







Multiple Linear Regression - Regression Statistics
Multiple R0.926721976080515
R-squared0.858813620950574
Adjusted R-squared0.826458409085081
F-TEST (value)26.5432853452118
F-TEST (DF numerator)11
F-TEST (DF denominator)48
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2402.57898239926
Sum Squared Residuals277074516.8

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.926721976080515 \tabularnewline
R-squared & 0.858813620950574 \tabularnewline
Adjusted R-squared & 0.826458409085081 \tabularnewline
F-TEST (value) & 26.5432853452118 \tabularnewline
F-TEST (DF numerator) & 11 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 1.11022302462516e-16 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2402.57898239926 \tabularnewline
Sum Squared Residuals & 277074516.8 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155767&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.926721976080515[/C][/ROW]
[ROW][C]R-squared[/C][C]0.858813620950574[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.826458409085081[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]26.5432853452118[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]11[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]1.11022302462516e-16[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]2402.57898239926[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]277074516.8[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155767&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155767&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.926721976080515
R-squared0.858813620950574
Adjusted R-squared0.826458409085081
F-TEST (value)26.5432853452118
F-TEST (DF numerator)11
F-TEST (DF denominator)48
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2402.57898239926
Sum Squared Residuals277074516.8







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13195629530.82425.20000000003
22950627248.62257.4
33450631526.42979.6
42716528643.8-1478.8
52673625072.81663.2
62369125729.8-2038.8
71815719833.4-1676.4
81732818465.8-1137.8
91820519751.6-1546.6
102099523006-2011
111738218775.6-1393.6
12936712863.8-3496.8
133112429530.81593.19999999999
142655127248.6-697.600000000001
153065131526.4-875.4
162585928643.8-2784.8
172510025072.827.2000000000007
182577825729.848.2000000000006
192041819833.4584.6
201868818465.8222.2
212042419751.6672.400000000001
2224776230061770
231981418775.61038.4
241273812863.8-125.8
253156629530.82035.19999999999
263011127248.62862.4
273001931526.4-1507.4
283193428643.83290.2
292582625072.8753.2
302683525729.81105.2
312020519833.4371.599999999999
321778918465.8-676.8
332052019751.6768.400000000001
342251823006-488
351557218775.6-3203.6
361150912863.8-1354.8
372544729530.8-4083.80000000001
382409027248.6-3158.6
392778631526.4-3740.4
402619528643.8-2448.8
412051625072.8-4556.8
422275925729.8-2970.8
431902819833.4-805.4
441697118465.8-1494.8
452003619751.6284.4
462248523006-521
471873018775.6-45.5999999999997
481453812863.81674.2
492756129530.8-1969.80000000001
502598527248.6-1263.6
513467031526.43143.6
523206628643.83422.2
532718625072.82113.2
542958625729.83856.2
552135919833.41525.6
562155318465.83087.2
571957319751.6-178.6
5824256230061250
592238018775.63604.4
601616712863.83303.2

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 31956 & 29530.8 & 2425.20000000003 \tabularnewline
2 & 29506 & 27248.6 & 2257.4 \tabularnewline
3 & 34506 & 31526.4 & 2979.6 \tabularnewline
4 & 27165 & 28643.8 & -1478.8 \tabularnewline
5 & 26736 & 25072.8 & 1663.2 \tabularnewline
6 & 23691 & 25729.8 & -2038.8 \tabularnewline
7 & 18157 & 19833.4 & -1676.4 \tabularnewline
8 & 17328 & 18465.8 & -1137.8 \tabularnewline
9 & 18205 & 19751.6 & -1546.6 \tabularnewline
10 & 20995 & 23006 & -2011 \tabularnewline
11 & 17382 & 18775.6 & -1393.6 \tabularnewline
12 & 9367 & 12863.8 & -3496.8 \tabularnewline
13 & 31124 & 29530.8 & 1593.19999999999 \tabularnewline
14 & 26551 & 27248.6 & -697.600000000001 \tabularnewline
15 & 30651 & 31526.4 & -875.4 \tabularnewline
16 & 25859 & 28643.8 & -2784.8 \tabularnewline
17 & 25100 & 25072.8 & 27.2000000000007 \tabularnewline
18 & 25778 & 25729.8 & 48.2000000000006 \tabularnewline
19 & 20418 & 19833.4 & 584.6 \tabularnewline
20 & 18688 & 18465.8 & 222.2 \tabularnewline
21 & 20424 & 19751.6 & 672.400000000001 \tabularnewline
22 & 24776 & 23006 & 1770 \tabularnewline
23 & 19814 & 18775.6 & 1038.4 \tabularnewline
24 & 12738 & 12863.8 & -125.8 \tabularnewline
25 & 31566 & 29530.8 & 2035.19999999999 \tabularnewline
26 & 30111 & 27248.6 & 2862.4 \tabularnewline
27 & 30019 & 31526.4 & -1507.4 \tabularnewline
28 & 31934 & 28643.8 & 3290.2 \tabularnewline
29 & 25826 & 25072.8 & 753.2 \tabularnewline
30 & 26835 & 25729.8 & 1105.2 \tabularnewline
31 & 20205 & 19833.4 & 371.599999999999 \tabularnewline
32 & 17789 & 18465.8 & -676.8 \tabularnewline
33 & 20520 & 19751.6 & 768.400000000001 \tabularnewline
34 & 22518 & 23006 & -488 \tabularnewline
35 & 15572 & 18775.6 & -3203.6 \tabularnewline
36 & 11509 & 12863.8 & -1354.8 \tabularnewline
37 & 25447 & 29530.8 & -4083.80000000001 \tabularnewline
38 & 24090 & 27248.6 & -3158.6 \tabularnewline
39 & 27786 & 31526.4 & -3740.4 \tabularnewline
40 & 26195 & 28643.8 & -2448.8 \tabularnewline
41 & 20516 & 25072.8 & -4556.8 \tabularnewline
42 & 22759 & 25729.8 & -2970.8 \tabularnewline
43 & 19028 & 19833.4 & -805.4 \tabularnewline
44 & 16971 & 18465.8 & -1494.8 \tabularnewline
45 & 20036 & 19751.6 & 284.4 \tabularnewline
46 & 22485 & 23006 & -521 \tabularnewline
47 & 18730 & 18775.6 & -45.5999999999997 \tabularnewline
48 & 14538 & 12863.8 & 1674.2 \tabularnewline
49 & 27561 & 29530.8 & -1969.80000000001 \tabularnewline
50 & 25985 & 27248.6 & -1263.6 \tabularnewline
51 & 34670 & 31526.4 & 3143.6 \tabularnewline
52 & 32066 & 28643.8 & 3422.2 \tabularnewline
53 & 27186 & 25072.8 & 2113.2 \tabularnewline
54 & 29586 & 25729.8 & 3856.2 \tabularnewline
55 & 21359 & 19833.4 & 1525.6 \tabularnewline
56 & 21553 & 18465.8 & 3087.2 \tabularnewline
57 & 19573 & 19751.6 & -178.6 \tabularnewline
58 & 24256 & 23006 & 1250 \tabularnewline
59 & 22380 & 18775.6 & 3604.4 \tabularnewline
60 & 16167 & 12863.8 & 3303.2 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155767&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]31956[/C][C]29530.8[/C][C]2425.20000000003[/C][/ROW]
[ROW][C]2[/C][C]29506[/C][C]27248.6[/C][C]2257.4[/C][/ROW]
[ROW][C]3[/C][C]34506[/C][C]31526.4[/C][C]2979.6[/C][/ROW]
[ROW][C]4[/C][C]27165[/C][C]28643.8[/C][C]-1478.8[/C][/ROW]
[ROW][C]5[/C][C]26736[/C][C]25072.8[/C][C]1663.2[/C][/ROW]
[ROW][C]6[/C][C]23691[/C][C]25729.8[/C][C]-2038.8[/C][/ROW]
[ROW][C]7[/C][C]18157[/C][C]19833.4[/C][C]-1676.4[/C][/ROW]
[ROW][C]8[/C][C]17328[/C][C]18465.8[/C][C]-1137.8[/C][/ROW]
[ROW][C]9[/C][C]18205[/C][C]19751.6[/C][C]-1546.6[/C][/ROW]
[ROW][C]10[/C][C]20995[/C][C]23006[/C][C]-2011[/C][/ROW]
[ROW][C]11[/C][C]17382[/C][C]18775.6[/C][C]-1393.6[/C][/ROW]
[ROW][C]12[/C][C]9367[/C][C]12863.8[/C][C]-3496.8[/C][/ROW]
[ROW][C]13[/C][C]31124[/C][C]29530.8[/C][C]1593.19999999999[/C][/ROW]
[ROW][C]14[/C][C]26551[/C][C]27248.6[/C][C]-697.600000000001[/C][/ROW]
[ROW][C]15[/C][C]30651[/C][C]31526.4[/C][C]-875.4[/C][/ROW]
[ROW][C]16[/C][C]25859[/C][C]28643.8[/C][C]-2784.8[/C][/ROW]
[ROW][C]17[/C][C]25100[/C][C]25072.8[/C][C]27.2000000000007[/C][/ROW]
[ROW][C]18[/C][C]25778[/C][C]25729.8[/C][C]48.2000000000006[/C][/ROW]
[ROW][C]19[/C][C]20418[/C][C]19833.4[/C][C]584.6[/C][/ROW]
[ROW][C]20[/C][C]18688[/C][C]18465.8[/C][C]222.2[/C][/ROW]
[ROW][C]21[/C][C]20424[/C][C]19751.6[/C][C]672.400000000001[/C][/ROW]
[ROW][C]22[/C][C]24776[/C][C]23006[/C][C]1770[/C][/ROW]
[ROW][C]23[/C][C]19814[/C][C]18775.6[/C][C]1038.4[/C][/ROW]
[ROW][C]24[/C][C]12738[/C][C]12863.8[/C][C]-125.8[/C][/ROW]
[ROW][C]25[/C][C]31566[/C][C]29530.8[/C][C]2035.19999999999[/C][/ROW]
[ROW][C]26[/C][C]30111[/C][C]27248.6[/C][C]2862.4[/C][/ROW]
[ROW][C]27[/C][C]30019[/C][C]31526.4[/C][C]-1507.4[/C][/ROW]
[ROW][C]28[/C][C]31934[/C][C]28643.8[/C][C]3290.2[/C][/ROW]
[ROW][C]29[/C][C]25826[/C][C]25072.8[/C][C]753.2[/C][/ROW]
[ROW][C]30[/C][C]26835[/C][C]25729.8[/C][C]1105.2[/C][/ROW]
[ROW][C]31[/C][C]20205[/C][C]19833.4[/C][C]371.599999999999[/C][/ROW]
[ROW][C]32[/C][C]17789[/C][C]18465.8[/C][C]-676.8[/C][/ROW]
[ROW][C]33[/C][C]20520[/C][C]19751.6[/C][C]768.400000000001[/C][/ROW]
[ROW][C]34[/C][C]22518[/C][C]23006[/C][C]-488[/C][/ROW]
[ROW][C]35[/C][C]15572[/C][C]18775.6[/C][C]-3203.6[/C][/ROW]
[ROW][C]36[/C][C]11509[/C][C]12863.8[/C][C]-1354.8[/C][/ROW]
[ROW][C]37[/C][C]25447[/C][C]29530.8[/C][C]-4083.80000000001[/C][/ROW]
[ROW][C]38[/C][C]24090[/C][C]27248.6[/C][C]-3158.6[/C][/ROW]
[ROW][C]39[/C][C]27786[/C][C]31526.4[/C][C]-3740.4[/C][/ROW]
[ROW][C]40[/C][C]26195[/C][C]28643.8[/C][C]-2448.8[/C][/ROW]
[ROW][C]41[/C][C]20516[/C][C]25072.8[/C][C]-4556.8[/C][/ROW]
[ROW][C]42[/C][C]22759[/C][C]25729.8[/C][C]-2970.8[/C][/ROW]
[ROW][C]43[/C][C]19028[/C][C]19833.4[/C][C]-805.4[/C][/ROW]
[ROW][C]44[/C][C]16971[/C][C]18465.8[/C][C]-1494.8[/C][/ROW]
[ROW][C]45[/C][C]20036[/C][C]19751.6[/C][C]284.4[/C][/ROW]
[ROW][C]46[/C][C]22485[/C][C]23006[/C][C]-521[/C][/ROW]
[ROW][C]47[/C][C]18730[/C][C]18775.6[/C][C]-45.5999999999997[/C][/ROW]
[ROW][C]48[/C][C]14538[/C][C]12863.8[/C][C]1674.2[/C][/ROW]
[ROW][C]49[/C][C]27561[/C][C]29530.8[/C][C]-1969.80000000001[/C][/ROW]
[ROW][C]50[/C][C]25985[/C][C]27248.6[/C][C]-1263.6[/C][/ROW]
[ROW][C]51[/C][C]34670[/C][C]31526.4[/C][C]3143.6[/C][/ROW]
[ROW][C]52[/C][C]32066[/C][C]28643.8[/C][C]3422.2[/C][/ROW]
[ROW][C]53[/C][C]27186[/C][C]25072.8[/C][C]2113.2[/C][/ROW]
[ROW][C]54[/C][C]29586[/C][C]25729.8[/C][C]3856.2[/C][/ROW]
[ROW][C]55[/C][C]21359[/C][C]19833.4[/C][C]1525.6[/C][/ROW]
[ROW][C]56[/C][C]21553[/C][C]18465.8[/C][C]3087.2[/C][/ROW]
[ROW][C]57[/C][C]19573[/C][C]19751.6[/C][C]-178.6[/C][/ROW]
[ROW][C]58[/C][C]24256[/C][C]23006[/C][C]1250[/C][/ROW]
[ROW][C]59[/C][C]22380[/C][C]18775.6[/C][C]3604.4[/C][/ROW]
[ROW][C]60[/C][C]16167[/C][C]12863.8[/C][C]3303.2[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155767&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155767&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
13195629530.82425.20000000003
22950627248.62257.4
33450631526.42979.6
42716528643.8-1478.8
52673625072.81663.2
62369125729.8-2038.8
71815719833.4-1676.4
81732818465.8-1137.8
91820519751.6-1546.6
102099523006-2011
111738218775.6-1393.6
12936712863.8-3496.8
133112429530.81593.19999999999
142655127248.6-697.600000000001
153065131526.4-875.4
162585928643.8-2784.8
172510025072.827.2000000000007
182577825729.848.2000000000006
192041819833.4584.6
201868818465.8222.2
212042419751.6672.400000000001
2224776230061770
231981418775.61038.4
241273812863.8-125.8
253156629530.82035.19999999999
263011127248.62862.4
273001931526.4-1507.4
283193428643.83290.2
292582625072.8753.2
302683525729.81105.2
312020519833.4371.599999999999
321778918465.8-676.8
332052019751.6768.400000000001
342251823006-488
351557218775.6-3203.6
361150912863.8-1354.8
372544729530.8-4083.80000000001
382409027248.6-3158.6
392778631526.4-3740.4
402619528643.8-2448.8
412051625072.8-4556.8
422275925729.8-2970.8
431902819833.4-805.4
441697118465.8-1494.8
452003619751.6284.4
462248523006-521
471873018775.6-45.5999999999997
481453812863.81674.2
492756129530.8-1969.80000000001
502598527248.6-1263.6
513467031526.43143.6
523206628643.83422.2
532718625072.82113.2
542958625729.83856.2
552135919833.41525.6
562155318465.83087.2
571957319751.6-178.6
5824256230061250
592238018775.63604.4
601616712863.83303.2







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
150.4153009020902740.8306018041805480.584699097909726
160.297218026274370.5944360525487410.70278197372563
170.2028328699274460.4056657398548920.797167130072554
180.1506049417958570.3012098835917140.849395058204143
190.1159602234930810.2319204469861610.884039776506919
200.07185244941529260.1437048988305850.928147550584707
210.05367431866321840.1073486373264370.946325681336782
220.07107298091781840.1421459618356370.928927019082182
230.05538377278230980.110767545564620.94461622721769
240.05614563497654380.1122912699530880.943854365023456
250.04572903726808990.09145807453617980.95427096273191
260.05230596159362480.104611923187250.947694038406375
270.04662766610447120.09325533220894230.953372333895529
280.1225539404081210.2451078808162420.877446059591879
290.08502840040231260.1700568008046250.914971599597687
300.06384712423273630.1276942484654730.936152875767264
310.04005260943629310.08010521887258620.959947390563707
320.02434529454385340.04869058908770690.975654705456147
330.01460501227646350.02921002455292690.985394987723537
340.007883265489291320.01576653097858260.992116734510709
350.01302343885993370.02604687771986740.986976561140066
360.01086693943428810.02173387886857620.989133060565712
370.03188420118740120.06376840237480250.968115798812599
380.03765047728920030.07530095457840060.9623495227108
390.08651256193980650.1730251238796130.913487438060194
400.1249646905930330.2499293811860660.875035309406967
410.3229630136849410.6459260273698810.677036986315059
420.6470788044598710.7058423910802590.352921195540129
430.578254383013360.8434912339732790.42174561698664
440.7540949370203060.4918101259593880.245905062979694
450.5917069738048670.8165860523902650.408293026195133

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
15 & 0.415300902090274 & 0.830601804180548 & 0.584699097909726 \tabularnewline
16 & 0.29721802627437 & 0.594436052548741 & 0.70278197372563 \tabularnewline
17 & 0.202832869927446 & 0.405665739854892 & 0.797167130072554 \tabularnewline
18 & 0.150604941795857 & 0.301209883591714 & 0.849395058204143 \tabularnewline
19 & 0.115960223493081 & 0.231920446986161 & 0.884039776506919 \tabularnewline
20 & 0.0718524494152926 & 0.143704898830585 & 0.928147550584707 \tabularnewline
21 & 0.0536743186632184 & 0.107348637326437 & 0.946325681336782 \tabularnewline
22 & 0.0710729809178184 & 0.142145961835637 & 0.928927019082182 \tabularnewline
23 & 0.0553837727823098 & 0.11076754556462 & 0.94461622721769 \tabularnewline
24 & 0.0561456349765438 & 0.112291269953088 & 0.943854365023456 \tabularnewline
25 & 0.0457290372680899 & 0.0914580745361798 & 0.95427096273191 \tabularnewline
26 & 0.0523059615936248 & 0.10461192318725 & 0.947694038406375 \tabularnewline
27 & 0.0466276661044712 & 0.0932553322089423 & 0.953372333895529 \tabularnewline
28 & 0.122553940408121 & 0.245107880816242 & 0.877446059591879 \tabularnewline
29 & 0.0850284004023126 & 0.170056800804625 & 0.914971599597687 \tabularnewline
30 & 0.0638471242327363 & 0.127694248465473 & 0.936152875767264 \tabularnewline
31 & 0.0400526094362931 & 0.0801052188725862 & 0.959947390563707 \tabularnewline
32 & 0.0243452945438534 & 0.0486905890877069 & 0.975654705456147 \tabularnewline
33 & 0.0146050122764635 & 0.0292100245529269 & 0.985394987723537 \tabularnewline
34 & 0.00788326548929132 & 0.0157665309785826 & 0.992116734510709 \tabularnewline
35 & 0.0130234388599337 & 0.0260468777198674 & 0.986976561140066 \tabularnewline
36 & 0.0108669394342881 & 0.0217338788685762 & 0.989133060565712 \tabularnewline
37 & 0.0318842011874012 & 0.0637684023748025 & 0.968115798812599 \tabularnewline
38 & 0.0376504772892003 & 0.0753009545784006 & 0.9623495227108 \tabularnewline
39 & 0.0865125619398065 & 0.173025123879613 & 0.913487438060194 \tabularnewline
40 & 0.124964690593033 & 0.249929381186066 & 0.875035309406967 \tabularnewline
41 & 0.322963013684941 & 0.645926027369881 & 0.677036986315059 \tabularnewline
42 & 0.647078804459871 & 0.705842391080259 & 0.352921195540129 \tabularnewline
43 & 0.57825438301336 & 0.843491233973279 & 0.42174561698664 \tabularnewline
44 & 0.754094937020306 & 0.491810125959388 & 0.245905062979694 \tabularnewline
45 & 0.591706973804867 & 0.816586052390265 & 0.408293026195133 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155767&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]15[/C][C]0.415300902090274[/C][C]0.830601804180548[/C][C]0.584699097909726[/C][/ROW]
[ROW][C]16[/C][C]0.29721802627437[/C][C]0.594436052548741[/C][C]0.70278197372563[/C][/ROW]
[ROW][C]17[/C][C]0.202832869927446[/C][C]0.405665739854892[/C][C]0.797167130072554[/C][/ROW]
[ROW][C]18[/C][C]0.150604941795857[/C][C]0.301209883591714[/C][C]0.849395058204143[/C][/ROW]
[ROW][C]19[/C][C]0.115960223493081[/C][C]0.231920446986161[/C][C]0.884039776506919[/C][/ROW]
[ROW][C]20[/C][C]0.0718524494152926[/C][C]0.143704898830585[/C][C]0.928147550584707[/C][/ROW]
[ROW][C]21[/C][C]0.0536743186632184[/C][C]0.107348637326437[/C][C]0.946325681336782[/C][/ROW]
[ROW][C]22[/C][C]0.0710729809178184[/C][C]0.142145961835637[/C][C]0.928927019082182[/C][/ROW]
[ROW][C]23[/C][C]0.0553837727823098[/C][C]0.11076754556462[/C][C]0.94461622721769[/C][/ROW]
[ROW][C]24[/C][C]0.0561456349765438[/C][C]0.112291269953088[/C][C]0.943854365023456[/C][/ROW]
[ROW][C]25[/C][C]0.0457290372680899[/C][C]0.0914580745361798[/C][C]0.95427096273191[/C][/ROW]
[ROW][C]26[/C][C]0.0523059615936248[/C][C]0.10461192318725[/C][C]0.947694038406375[/C][/ROW]
[ROW][C]27[/C][C]0.0466276661044712[/C][C]0.0932553322089423[/C][C]0.953372333895529[/C][/ROW]
[ROW][C]28[/C][C]0.122553940408121[/C][C]0.245107880816242[/C][C]0.877446059591879[/C][/ROW]
[ROW][C]29[/C][C]0.0850284004023126[/C][C]0.170056800804625[/C][C]0.914971599597687[/C][/ROW]
[ROW][C]30[/C][C]0.0638471242327363[/C][C]0.127694248465473[/C][C]0.936152875767264[/C][/ROW]
[ROW][C]31[/C][C]0.0400526094362931[/C][C]0.0801052188725862[/C][C]0.959947390563707[/C][/ROW]
[ROW][C]32[/C][C]0.0243452945438534[/C][C]0.0486905890877069[/C][C]0.975654705456147[/C][/ROW]
[ROW][C]33[/C][C]0.0146050122764635[/C][C]0.0292100245529269[/C][C]0.985394987723537[/C][/ROW]
[ROW][C]34[/C][C]0.00788326548929132[/C][C]0.0157665309785826[/C][C]0.992116734510709[/C][/ROW]
[ROW][C]35[/C][C]0.0130234388599337[/C][C]0.0260468777198674[/C][C]0.986976561140066[/C][/ROW]
[ROW][C]36[/C][C]0.0108669394342881[/C][C]0.0217338788685762[/C][C]0.989133060565712[/C][/ROW]
[ROW][C]37[/C][C]0.0318842011874012[/C][C]0.0637684023748025[/C][C]0.968115798812599[/C][/ROW]
[ROW][C]38[/C][C]0.0376504772892003[/C][C]0.0753009545784006[/C][C]0.9623495227108[/C][/ROW]
[ROW][C]39[/C][C]0.0865125619398065[/C][C]0.173025123879613[/C][C]0.913487438060194[/C][/ROW]
[ROW][C]40[/C][C]0.124964690593033[/C][C]0.249929381186066[/C][C]0.875035309406967[/C][/ROW]
[ROW][C]41[/C][C]0.322963013684941[/C][C]0.645926027369881[/C][C]0.677036986315059[/C][/ROW]
[ROW][C]42[/C][C]0.647078804459871[/C][C]0.705842391080259[/C][C]0.352921195540129[/C][/ROW]
[ROW][C]43[/C][C]0.57825438301336[/C][C]0.843491233973279[/C][C]0.42174561698664[/C][/ROW]
[ROW][C]44[/C][C]0.754094937020306[/C][C]0.491810125959388[/C][C]0.245905062979694[/C][/ROW]
[ROW][C]45[/C][C]0.591706973804867[/C][C]0.816586052390265[/C][C]0.408293026195133[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155767&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155767&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
150.4153009020902740.8306018041805480.584699097909726
160.297218026274370.5944360525487410.70278197372563
170.2028328699274460.4056657398548920.797167130072554
180.1506049417958570.3012098835917140.849395058204143
190.1159602234930810.2319204469861610.884039776506919
200.07185244941529260.1437048988305850.928147550584707
210.05367431866321840.1073486373264370.946325681336782
220.07107298091781840.1421459618356370.928927019082182
230.05538377278230980.110767545564620.94461622721769
240.05614563497654380.1122912699530880.943854365023456
250.04572903726808990.09145807453617980.95427096273191
260.05230596159362480.104611923187250.947694038406375
270.04662766610447120.09325533220894230.953372333895529
280.1225539404081210.2451078808162420.877446059591879
290.08502840040231260.1700568008046250.914971599597687
300.06384712423273630.1276942484654730.936152875767264
310.04005260943629310.08010521887258620.959947390563707
320.02434529454385340.04869058908770690.975654705456147
330.01460501227646350.02921002455292690.985394987723537
340.007883265489291320.01576653097858260.992116734510709
350.01302343885993370.02604687771986740.986976561140066
360.01086693943428810.02173387886857620.989133060565712
370.03188420118740120.06376840237480250.968115798812599
380.03765047728920030.07530095457840060.9623495227108
390.08651256193980650.1730251238796130.913487438060194
400.1249646905930330.2499293811860660.875035309406967
410.3229630136849410.6459260273698810.677036986315059
420.6470788044598710.7058423910802590.352921195540129
430.578254383013360.8434912339732790.42174561698664
440.7540949370203060.4918101259593880.245905062979694
450.5917069738048670.8165860523902650.408293026195133







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155767&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 level50.161290322580645NOK
10% type I error level100.32258064516129NOK



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