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 computationMon, 14 Dec 2009 05:22:36 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/14/t12607934198ldmykhpotumy15.htm/, Retrieved Sun, 05 May 2024 16:17:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67532, Retrieved Sun, 05 May 2024 16:17:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact97
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [] [2009-12-14 12:22:36] [4672b66a35a4d755714bdcf00037725e] [Current]
Feedback Forum

Post a new message
Dataseries X:
87	0
96.3	0
107.1	0
115.2	0
106.1	1
89.5	1
91.3	1
97.6	1
100.7	1
104.6	1
94.7	1
101.8	1
102.5	1
105.3	1
110.3	1
109.8	1
117.3	1
118.8	1
131.3	1
125.9	1
133.1	1
147	1
145.8	1
164.4	1
149.8	1
137.7	1
151.7	1
156.8	1
180	1
180.4	1
170.4	1
191.6	1
199.5	1
218.2	1
217.5	1
205	1
194	1
199.3	1
219.3	1
211.1	1
215.2	1
240.2	1
242.2	1
240.7	1
255.4	1
253	1
218.2	1
203.7	1
205.6	1
215.6	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67532&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67532&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67532&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 97.0073660714286 -41.5479166666667X[t] -10.3769915674603M1[t] -11.0925099206349M2[t] + 1.96768601190472M3[t] -0.68283234126981M4[t] + 12.3536284722222M5[t] + 11.1531101190475M6[t] + 8.95259176587297M7[t] + 10.3270734126984M8[t] + 14.7765550595238M9[t] + 19.5260367063492M10[t] + 4.10051835317459M11[t] + 3.7755183531746t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  97.0073660714286 -41.5479166666667X[t] -10.3769915674603M1[t] -11.0925099206349M2[t] +  1.96768601190472M3[t] -0.68283234126981M4[t] +  12.3536284722222M5[t] +  11.1531101190475M6[t] +  8.95259176587297M7[t] +  10.3270734126984M8[t] +  14.7765550595238M9[t] +  19.5260367063492M10[t] +  4.10051835317459M11[t] +  3.7755183531746t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67532&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  97.0073660714286 -41.5479166666667X[t] -10.3769915674603M1[t] -11.0925099206349M2[t] +  1.96768601190472M3[t] -0.68283234126981M4[t] +  12.3536284722222M5[t] +  11.1531101190475M6[t] +  8.95259176587297M7[t] +  10.3270734126984M8[t] +  14.7765550595238M9[t] +  19.5260367063492M10[t] +  4.10051835317459M11[t] +  3.7755183531746t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67532&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67532&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
Y[t] = + 97.0073660714286 -41.5479166666667X[t] -10.3769915674603M1[t] -11.0925099206349M2[t] + 1.96768601190472M3[t] -0.68283234126981M4[t] + 12.3536284722222M5[t] + 11.1531101190475M6[t] + 8.95259176587297M7[t] + 10.3270734126984M8[t] + 14.7765550595238M9[t] + 19.5260367063492M10[t] + 4.10051835317459M11[t] + 3.7755183531746t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)97.007366071428610.7715439.005900
X-41.54791666666679.180043-4.52596.3e-053.2e-05
M1-10.37699156746039.676227-1.07240.2906680.145334
M2-11.09250992063499.678689-1.14610.2593250.129663
M31.9676860119047210.2632340.19170.8490370.424519
M4-0.6828323412698110.258875-0.06660.94730.47365
M512.353628472222210.1191791.22080.2300930.115046
M611.153110119047510.1025181.1040.2769210.13846
M78.9525917658729710.0883980.88740.3807460.190373
M810.327073412698410.0768311.02480.3122790.15614
M914.776555059523810.0678251.46770.1508690.075434
M1019.526036706349210.0613871.94070.0601580.030079
M114.1005183531745910.0575220.40770.6859040.342952
t3.77551835317460.16098923.452100

\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) & 97.0073660714286 & 10.771543 & 9.0059 & 0 & 0 \tabularnewline
X & -41.5479166666667 & 9.180043 & -4.5259 & 6.3e-05 & 3.2e-05 \tabularnewline
M1 & -10.3769915674603 & 9.676227 & -1.0724 & 0.290668 & 0.145334 \tabularnewline
M2 & -11.0925099206349 & 9.678689 & -1.1461 & 0.259325 & 0.129663 \tabularnewline
M3 & 1.96768601190472 & 10.263234 & 0.1917 & 0.849037 & 0.424519 \tabularnewline
M4 & -0.68283234126981 & 10.258875 & -0.0666 & 0.9473 & 0.47365 \tabularnewline
M5 & 12.3536284722222 & 10.119179 & 1.2208 & 0.230093 & 0.115046 \tabularnewline
M6 & 11.1531101190475 & 10.102518 & 1.104 & 0.276921 & 0.13846 \tabularnewline
M7 & 8.95259176587297 & 10.088398 & 0.8874 & 0.380746 & 0.190373 \tabularnewline
M8 & 10.3270734126984 & 10.076831 & 1.0248 & 0.312279 & 0.15614 \tabularnewline
M9 & 14.7765550595238 & 10.067825 & 1.4677 & 0.150869 & 0.075434 \tabularnewline
M10 & 19.5260367063492 & 10.061387 & 1.9407 & 0.060158 & 0.030079 \tabularnewline
M11 & 4.10051835317459 & 10.057522 & 0.4077 & 0.685904 & 0.342952 \tabularnewline
t & 3.7755183531746 & 0.160989 & 23.4521 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67532&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]97.0073660714286[/C][C]10.771543[/C][C]9.0059[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-41.5479166666667[/C][C]9.180043[/C][C]-4.5259[/C][C]6.3e-05[/C][C]3.2e-05[/C][/ROW]
[ROW][C]M1[/C][C]-10.3769915674603[/C][C]9.676227[/C][C]-1.0724[/C][C]0.290668[/C][C]0.145334[/C][/ROW]
[ROW][C]M2[/C][C]-11.0925099206349[/C][C]9.678689[/C][C]-1.1461[/C][C]0.259325[/C][C]0.129663[/C][/ROW]
[ROW][C]M3[/C][C]1.96768601190472[/C][C]10.263234[/C][C]0.1917[/C][C]0.849037[/C][C]0.424519[/C][/ROW]
[ROW][C]M4[/C][C]-0.68283234126981[/C][C]10.258875[/C][C]-0.0666[/C][C]0.9473[/C][C]0.47365[/C][/ROW]
[ROW][C]M5[/C][C]12.3536284722222[/C][C]10.119179[/C][C]1.2208[/C][C]0.230093[/C][C]0.115046[/C][/ROW]
[ROW][C]M6[/C][C]11.1531101190475[/C][C]10.102518[/C][C]1.104[/C][C]0.276921[/C][C]0.13846[/C][/ROW]
[ROW][C]M7[/C][C]8.95259176587297[/C][C]10.088398[/C][C]0.8874[/C][C]0.380746[/C][C]0.190373[/C][/ROW]
[ROW][C]M8[/C][C]10.3270734126984[/C][C]10.076831[/C][C]1.0248[/C][C]0.312279[/C][C]0.15614[/C][/ROW]
[ROW][C]M9[/C][C]14.7765550595238[/C][C]10.067825[/C][C]1.4677[/C][C]0.150869[/C][C]0.075434[/C][/ROW]
[ROW][C]M10[/C][C]19.5260367063492[/C][C]10.061387[/C][C]1.9407[/C][C]0.060158[/C][C]0.030079[/C][/ROW]
[ROW][C]M11[/C][C]4.10051835317459[/C][C]10.057522[/C][C]0.4077[/C][C]0.685904[/C][C]0.342952[/C][/ROW]
[ROW][C]t[/C][C]3.7755183531746[/C][C]0.160989[/C][C]23.4521[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67532&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67532&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)97.007366071428610.7715439.005900
X-41.54791666666679.180043-4.52596.3e-053.2e-05
M1-10.37699156746039.676227-1.07240.2906680.145334
M2-11.09250992063499.678689-1.14610.2593250.129663
M31.9676860119047210.2632340.19170.8490370.424519
M4-0.6828323412698110.258875-0.06660.94730.47365
M512.353628472222210.1191791.22080.2300930.115046
M611.153110119047510.1025181.1040.2769210.13846
M78.9525917658729710.0883980.88740.3807460.190373
M810.327073412698410.0768311.02480.3122790.15614
M914.776555059523810.0678251.46770.1508690.075434
M1019.526036706349210.0613871.94070.0601580.030079
M114.1005183531745910.0575220.40770.6859040.342952
t3.77551835317460.16098923.452100







Multiple Linear Regression - Regression Statistics
Multiple R0.972759442191093
R-squared0.946260932371926
Adjusted R-squared0.926855157950677
F-TEST (value)48.7618227353908
F-TEST (DF numerator)13
F-TEST (DF denominator)36
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation14.2216622199358
Sum Squared Residuals7281.2043467262

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.972759442191093 \tabularnewline
R-squared & 0.946260932371926 \tabularnewline
Adjusted R-squared & 0.926855157950677 \tabularnewline
F-TEST (value) & 48.7618227353908 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 36 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 14.2216622199358 \tabularnewline
Sum Squared Residuals & 7281.2043467262 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67532&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.972759442191093[/C][/ROW]
[ROW][C]R-squared[/C][C]0.946260932371926[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.926855157950677[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]48.7618227353908[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]36[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]14.2216622199358[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7281.2043467262[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67532&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67532&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.972759442191093
R-squared0.946260932371926
Adjusted R-squared0.926855157950677
F-TEST (value)48.7618227353908
F-TEST (DF numerator)13
F-TEST (DF denominator)36
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation14.2216622199358
Sum Squared Residuals7281.2043467262







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18790.4058928571427-3.40589285714275
296.393.46589285714292.83410714285714
3107.1110.301607142857-3.20160714285718
4115.2111.4266071428573.77339285714281
5106.186.690669642857119.4093303571429
689.589.26566964285720.23433035714275
791.390.84066964285720.459330357142813
897.695.9906696428571.60933035714288
9100.7104.215669642857-3.51566964285716
10104.6112.740669642857-8.1406696428571
1194.7101.090669642857-6.39066964285716
12101.8100.7656696428571.03433035714284
13102.594.16419642857158.33580357142852
14105.397.22419642857148.07580357142862
15110.3114.059910714286-3.75991071428571
16109.8115.184910714286-5.38491071428571
17117.3131.996889880952-14.6968898809524
18118.8134.571889880952-15.7718898809524
19131.3136.146889880952-4.84688988095235
20125.9141.296889880952-15.3968898809524
21133.1149.521889880952-16.4218898809524
22147158.046889880952-11.0468898809524
23145.8146.396889880952-0.596889880952355
24164.4146.07188988095218.3281101190476
25149.8139.47041666666710.3295833333333
26137.7142.530416666667-4.83041666666668
27151.7159.366130952381-7.66613095238094
28156.8160.491130952381-3.69113095238093
29180177.3031101190482.69688988095239
30180.4179.8781101190480.521889880952436
31170.4181.453110119048-11.0531101190476
32191.6186.6031101190484.99688988095237
33199.5194.8281101190484.67188988095238
34218.2203.35311011904814.8468898809524
35217.5191.70311011904825.7968898809524
36205191.37811011904813.6218898809524
37194184.7766369047629.22336309523808
38199.3187.83663690476211.4633630952381
39219.3204.67235119047614.6276488095239
40211.1205.7973511904765.30264880952383
41215.2222.609330357143-7.40933035714284
42240.2225.18433035714315.0156696428572
43242.2226.75933035714315.4406696428571
44240.7231.9093303571438.79066964285713
45255.4240.13433035714315.2656696428572
46253248.6593303571434.34066964285711
47218.2237.009330357143-18.8093303571429
48203.7236.684330357143-32.9843303571429
49205.6230.082857142857-24.4828571428572
50215.6233.142857142857-17.5428571428572

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 87 & 90.4058928571427 & -3.40589285714275 \tabularnewline
2 & 96.3 & 93.4658928571429 & 2.83410714285714 \tabularnewline
3 & 107.1 & 110.301607142857 & -3.20160714285718 \tabularnewline
4 & 115.2 & 111.426607142857 & 3.77339285714281 \tabularnewline
5 & 106.1 & 86.6906696428571 & 19.4093303571429 \tabularnewline
6 & 89.5 & 89.2656696428572 & 0.23433035714275 \tabularnewline
7 & 91.3 & 90.8406696428572 & 0.459330357142813 \tabularnewline
8 & 97.6 & 95.990669642857 & 1.60933035714288 \tabularnewline
9 & 100.7 & 104.215669642857 & -3.51566964285716 \tabularnewline
10 & 104.6 & 112.740669642857 & -8.1406696428571 \tabularnewline
11 & 94.7 & 101.090669642857 & -6.39066964285716 \tabularnewline
12 & 101.8 & 100.765669642857 & 1.03433035714284 \tabularnewline
13 & 102.5 & 94.1641964285715 & 8.33580357142852 \tabularnewline
14 & 105.3 & 97.2241964285714 & 8.07580357142862 \tabularnewline
15 & 110.3 & 114.059910714286 & -3.75991071428571 \tabularnewline
16 & 109.8 & 115.184910714286 & -5.38491071428571 \tabularnewline
17 & 117.3 & 131.996889880952 & -14.6968898809524 \tabularnewline
18 & 118.8 & 134.571889880952 & -15.7718898809524 \tabularnewline
19 & 131.3 & 136.146889880952 & -4.84688988095235 \tabularnewline
20 & 125.9 & 141.296889880952 & -15.3968898809524 \tabularnewline
21 & 133.1 & 149.521889880952 & -16.4218898809524 \tabularnewline
22 & 147 & 158.046889880952 & -11.0468898809524 \tabularnewline
23 & 145.8 & 146.396889880952 & -0.596889880952355 \tabularnewline
24 & 164.4 & 146.071889880952 & 18.3281101190476 \tabularnewline
25 & 149.8 & 139.470416666667 & 10.3295833333333 \tabularnewline
26 & 137.7 & 142.530416666667 & -4.83041666666668 \tabularnewline
27 & 151.7 & 159.366130952381 & -7.66613095238094 \tabularnewline
28 & 156.8 & 160.491130952381 & -3.69113095238093 \tabularnewline
29 & 180 & 177.303110119048 & 2.69688988095239 \tabularnewline
30 & 180.4 & 179.878110119048 & 0.521889880952436 \tabularnewline
31 & 170.4 & 181.453110119048 & -11.0531101190476 \tabularnewline
32 & 191.6 & 186.603110119048 & 4.99688988095237 \tabularnewline
33 & 199.5 & 194.828110119048 & 4.67188988095238 \tabularnewline
34 & 218.2 & 203.353110119048 & 14.8468898809524 \tabularnewline
35 & 217.5 & 191.703110119048 & 25.7968898809524 \tabularnewline
36 & 205 & 191.378110119048 & 13.6218898809524 \tabularnewline
37 & 194 & 184.776636904762 & 9.22336309523808 \tabularnewline
38 & 199.3 & 187.836636904762 & 11.4633630952381 \tabularnewline
39 & 219.3 & 204.672351190476 & 14.6276488095239 \tabularnewline
40 & 211.1 & 205.797351190476 & 5.30264880952383 \tabularnewline
41 & 215.2 & 222.609330357143 & -7.40933035714284 \tabularnewline
42 & 240.2 & 225.184330357143 & 15.0156696428572 \tabularnewline
43 & 242.2 & 226.759330357143 & 15.4406696428571 \tabularnewline
44 & 240.7 & 231.909330357143 & 8.79066964285713 \tabularnewline
45 & 255.4 & 240.134330357143 & 15.2656696428572 \tabularnewline
46 & 253 & 248.659330357143 & 4.34066964285711 \tabularnewline
47 & 218.2 & 237.009330357143 & -18.8093303571429 \tabularnewline
48 & 203.7 & 236.684330357143 & -32.9843303571429 \tabularnewline
49 & 205.6 & 230.082857142857 & -24.4828571428572 \tabularnewline
50 & 215.6 & 233.142857142857 & -17.5428571428572 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67532&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]87[/C][C]90.4058928571427[/C][C]-3.40589285714275[/C][/ROW]
[ROW][C]2[/C][C]96.3[/C][C]93.4658928571429[/C][C]2.83410714285714[/C][/ROW]
[ROW][C]3[/C][C]107.1[/C][C]110.301607142857[/C][C]-3.20160714285718[/C][/ROW]
[ROW][C]4[/C][C]115.2[/C][C]111.426607142857[/C][C]3.77339285714281[/C][/ROW]
[ROW][C]5[/C][C]106.1[/C][C]86.6906696428571[/C][C]19.4093303571429[/C][/ROW]
[ROW][C]6[/C][C]89.5[/C][C]89.2656696428572[/C][C]0.23433035714275[/C][/ROW]
[ROW][C]7[/C][C]91.3[/C][C]90.8406696428572[/C][C]0.459330357142813[/C][/ROW]
[ROW][C]8[/C][C]97.6[/C][C]95.990669642857[/C][C]1.60933035714288[/C][/ROW]
[ROW][C]9[/C][C]100.7[/C][C]104.215669642857[/C][C]-3.51566964285716[/C][/ROW]
[ROW][C]10[/C][C]104.6[/C][C]112.740669642857[/C][C]-8.1406696428571[/C][/ROW]
[ROW][C]11[/C][C]94.7[/C][C]101.090669642857[/C][C]-6.39066964285716[/C][/ROW]
[ROW][C]12[/C][C]101.8[/C][C]100.765669642857[/C][C]1.03433035714284[/C][/ROW]
[ROW][C]13[/C][C]102.5[/C][C]94.1641964285715[/C][C]8.33580357142852[/C][/ROW]
[ROW][C]14[/C][C]105.3[/C][C]97.2241964285714[/C][C]8.07580357142862[/C][/ROW]
[ROW][C]15[/C][C]110.3[/C][C]114.059910714286[/C][C]-3.75991071428571[/C][/ROW]
[ROW][C]16[/C][C]109.8[/C][C]115.184910714286[/C][C]-5.38491071428571[/C][/ROW]
[ROW][C]17[/C][C]117.3[/C][C]131.996889880952[/C][C]-14.6968898809524[/C][/ROW]
[ROW][C]18[/C][C]118.8[/C][C]134.571889880952[/C][C]-15.7718898809524[/C][/ROW]
[ROW][C]19[/C][C]131.3[/C][C]136.146889880952[/C][C]-4.84688988095235[/C][/ROW]
[ROW][C]20[/C][C]125.9[/C][C]141.296889880952[/C][C]-15.3968898809524[/C][/ROW]
[ROW][C]21[/C][C]133.1[/C][C]149.521889880952[/C][C]-16.4218898809524[/C][/ROW]
[ROW][C]22[/C][C]147[/C][C]158.046889880952[/C][C]-11.0468898809524[/C][/ROW]
[ROW][C]23[/C][C]145.8[/C][C]146.396889880952[/C][C]-0.596889880952355[/C][/ROW]
[ROW][C]24[/C][C]164.4[/C][C]146.071889880952[/C][C]18.3281101190476[/C][/ROW]
[ROW][C]25[/C][C]149.8[/C][C]139.470416666667[/C][C]10.3295833333333[/C][/ROW]
[ROW][C]26[/C][C]137.7[/C][C]142.530416666667[/C][C]-4.83041666666668[/C][/ROW]
[ROW][C]27[/C][C]151.7[/C][C]159.366130952381[/C][C]-7.66613095238094[/C][/ROW]
[ROW][C]28[/C][C]156.8[/C][C]160.491130952381[/C][C]-3.69113095238093[/C][/ROW]
[ROW][C]29[/C][C]180[/C][C]177.303110119048[/C][C]2.69688988095239[/C][/ROW]
[ROW][C]30[/C][C]180.4[/C][C]179.878110119048[/C][C]0.521889880952436[/C][/ROW]
[ROW][C]31[/C][C]170.4[/C][C]181.453110119048[/C][C]-11.0531101190476[/C][/ROW]
[ROW][C]32[/C][C]191.6[/C][C]186.603110119048[/C][C]4.99688988095237[/C][/ROW]
[ROW][C]33[/C][C]199.5[/C][C]194.828110119048[/C][C]4.67188988095238[/C][/ROW]
[ROW][C]34[/C][C]218.2[/C][C]203.353110119048[/C][C]14.8468898809524[/C][/ROW]
[ROW][C]35[/C][C]217.5[/C][C]191.703110119048[/C][C]25.7968898809524[/C][/ROW]
[ROW][C]36[/C][C]205[/C][C]191.378110119048[/C][C]13.6218898809524[/C][/ROW]
[ROW][C]37[/C][C]194[/C][C]184.776636904762[/C][C]9.22336309523808[/C][/ROW]
[ROW][C]38[/C][C]199.3[/C][C]187.836636904762[/C][C]11.4633630952381[/C][/ROW]
[ROW][C]39[/C][C]219.3[/C][C]204.672351190476[/C][C]14.6276488095239[/C][/ROW]
[ROW][C]40[/C][C]211.1[/C][C]205.797351190476[/C][C]5.30264880952383[/C][/ROW]
[ROW][C]41[/C][C]215.2[/C][C]222.609330357143[/C][C]-7.40933035714284[/C][/ROW]
[ROW][C]42[/C][C]240.2[/C][C]225.184330357143[/C][C]15.0156696428572[/C][/ROW]
[ROW][C]43[/C][C]242.2[/C][C]226.759330357143[/C][C]15.4406696428571[/C][/ROW]
[ROW][C]44[/C][C]240.7[/C][C]231.909330357143[/C][C]8.79066964285713[/C][/ROW]
[ROW][C]45[/C][C]255.4[/C][C]240.134330357143[/C][C]15.2656696428572[/C][/ROW]
[ROW][C]46[/C][C]253[/C][C]248.659330357143[/C][C]4.34066964285711[/C][/ROW]
[ROW][C]47[/C][C]218.2[/C][C]237.009330357143[/C][C]-18.8093303571429[/C][/ROW]
[ROW][C]48[/C][C]203.7[/C][C]236.684330357143[/C][C]-32.9843303571429[/C][/ROW]
[ROW][C]49[/C][C]205.6[/C][C]230.082857142857[/C][C]-24.4828571428572[/C][/ROW]
[ROW][C]50[/C][C]215.6[/C][C]233.142857142857[/C][C]-17.5428571428572[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67532&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67532&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
18790.4058928571427-3.40589285714275
296.393.46589285714292.83410714285714
3107.1110.301607142857-3.20160714285718
4115.2111.4266071428573.77339285714281
5106.186.690669642857119.4093303571429
689.589.26566964285720.23433035714275
791.390.84066964285720.459330357142813
897.695.9906696428571.60933035714288
9100.7104.215669642857-3.51566964285716
10104.6112.740669642857-8.1406696428571
1194.7101.090669642857-6.39066964285716
12101.8100.7656696428571.03433035714284
13102.594.16419642857158.33580357142852
14105.397.22419642857148.07580357142862
15110.3114.059910714286-3.75991071428571
16109.8115.184910714286-5.38491071428571
17117.3131.996889880952-14.6968898809524
18118.8134.571889880952-15.7718898809524
19131.3136.146889880952-4.84688988095235
20125.9141.296889880952-15.3968898809524
21133.1149.521889880952-16.4218898809524
22147158.046889880952-11.0468898809524
23145.8146.396889880952-0.596889880952355
24164.4146.07188988095218.3281101190476
25149.8139.47041666666710.3295833333333
26137.7142.530416666667-4.83041666666668
27151.7159.366130952381-7.66613095238094
28156.8160.491130952381-3.69113095238093
29180177.3031101190482.69688988095239
30180.4179.8781101190480.521889880952436
31170.4181.453110119048-11.0531101190476
32191.6186.6031101190484.99688988095237
33199.5194.8281101190484.67188988095238
34218.2203.35311011904814.8468898809524
35217.5191.70311011904825.7968898809524
36205191.37811011904813.6218898809524
37194184.7766369047629.22336309523808
38199.3187.83663690476211.4633630952381
39219.3204.67235119047614.6276488095239
40211.1205.7973511904765.30264880952383
41215.2222.609330357143-7.40933035714284
42240.2225.18433035714315.0156696428572
43242.2226.75933035714315.4406696428571
44240.7231.9093303571438.79066964285713
45255.4240.13433035714315.2656696428572
46253248.6593303571434.34066964285711
47218.2237.009330357143-18.8093303571429
48203.7236.684330357143-32.9843303571429
49205.6230.082857142857-24.4828571428572
50215.6233.142857142857-17.5428571428572







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.05316030148450880.1063206029690180.946839698515491
180.04130835007694490.08261670015388980.958691649923055
190.03911664765425410.07823329530850810.960883352345746
200.01705178196343290.03410356392686590.982948218036567
210.009402159879679690.01880431975935940.99059784012032
220.009920899482720680.01984179896544140.99007910051728
230.01420749089562390.02841498179124790.985792509104376
240.03565617975638180.07131235951276360.964343820243618
250.02641830594984990.05283661189969990.97358169405015
260.01411638574767420.02823277149534840.985883614252326
270.01078412652271660.02156825304543320.989215873477283
280.00599905899992830.01199811799985660.994000941000072
290.002915629463810560.005831258927621130.99708437053619
300.003740124510797400.007480249021594810.996259875489203
310.01326754410728300.02653508821456590.986732455892717
320.02488008431841480.04976016863682970.975119915681585
330.2295790172146000.4591580344292010.7704209827854

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0531603014845088 & 0.106320602969018 & 0.946839698515491 \tabularnewline
18 & 0.0413083500769449 & 0.0826167001538898 & 0.958691649923055 \tabularnewline
19 & 0.0391166476542541 & 0.0782332953085081 & 0.960883352345746 \tabularnewline
20 & 0.0170517819634329 & 0.0341035639268659 & 0.982948218036567 \tabularnewline
21 & 0.00940215987967969 & 0.0188043197593594 & 0.99059784012032 \tabularnewline
22 & 0.00992089948272068 & 0.0198417989654414 & 0.99007910051728 \tabularnewline
23 & 0.0142074908956239 & 0.0284149817912479 & 0.985792509104376 \tabularnewline
24 & 0.0356561797563818 & 0.0713123595127636 & 0.964343820243618 \tabularnewline
25 & 0.0264183059498499 & 0.0528366118996999 & 0.97358169405015 \tabularnewline
26 & 0.0141163857476742 & 0.0282327714953484 & 0.985883614252326 \tabularnewline
27 & 0.0107841265227166 & 0.0215682530454332 & 0.989215873477283 \tabularnewline
28 & 0.0059990589999283 & 0.0119981179998566 & 0.994000941000072 \tabularnewline
29 & 0.00291562946381056 & 0.00583125892762113 & 0.99708437053619 \tabularnewline
30 & 0.00374012451079740 & 0.00748024902159481 & 0.996259875489203 \tabularnewline
31 & 0.0132675441072830 & 0.0265350882145659 & 0.986732455892717 \tabularnewline
32 & 0.0248800843184148 & 0.0497601686368297 & 0.975119915681585 \tabularnewline
33 & 0.229579017214600 & 0.459158034429201 & 0.7704209827854 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67532&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]17[/C][C]0.0531603014845088[/C][C]0.106320602969018[/C][C]0.946839698515491[/C][/ROW]
[ROW][C]18[/C][C]0.0413083500769449[/C][C]0.0826167001538898[/C][C]0.958691649923055[/C][/ROW]
[ROW][C]19[/C][C]0.0391166476542541[/C][C]0.0782332953085081[/C][C]0.960883352345746[/C][/ROW]
[ROW][C]20[/C][C]0.0170517819634329[/C][C]0.0341035639268659[/C][C]0.982948218036567[/C][/ROW]
[ROW][C]21[/C][C]0.00940215987967969[/C][C]0.0188043197593594[/C][C]0.99059784012032[/C][/ROW]
[ROW][C]22[/C][C]0.00992089948272068[/C][C]0.0198417989654414[/C][C]0.99007910051728[/C][/ROW]
[ROW][C]23[/C][C]0.0142074908956239[/C][C]0.0284149817912479[/C][C]0.985792509104376[/C][/ROW]
[ROW][C]24[/C][C]0.0356561797563818[/C][C]0.0713123595127636[/C][C]0.964343820243618[/C][/ROW]
[ROW][C]25[/C][C]0.0264183059498499[/C][C]0.0528366118996999[/C][C]0.97358169405015[/C][/ROW]
[ROW][C]26[/C][C]0.0141163857476742[/C][C]0.0282327714953484[/C][C]0.985883614252326[/C][/ROW]
[ROW][C]27[/C][C]0.0107841265227166[/C][C]0.0215682530454332[/C][C]0.989215873477283[/C][/ROW]
[ROW][C]28[/C][C]0.0059990589999283[/C][C]0.0119981179998566[/C][C]0.994000941000072[/C][/ROW]
[ROW][C]29[/C][C]0.00291562946381056[/C][C]0.00583125892762113[/C][C]0.99708437053619[/C][/ROW]
[ROW][C]30[/C][C]0.00374012451079740[/C][C]0.00748024902159481[/C][C]0.996259875489203[/C][/ROW]
[ROW][C]31[/C][C]0.0132675441072830[/C][C]0.0265350882145659[/C][C]0.986732455892717[/C][/ROW]
[ROW][C]32[/C][C]0.0248800843184148[/C][C]0.0497601686368297[/C][C]0.975119915681585[/C][/ROW]
[ROW][C]33[/C][C]0.229579017214600[/C][C]0.459158034429201[/C][C]0.7704209827854[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67532&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67532&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
170.05316030148450880.1063206029690180.946839698515491
180.04130835007694490.08261670015388980.958691649923055
190.03911664765425410.07823329530850810.960883352345746
200.01705178196343290.03410356392686590.982948218036567
210.009402159879679690.01880431975935940.99059784012032
220.009920899482720680.01984179896544140.99007910051728
230.01420749089562390.02841498179124790.985792509104376
240.03565617975638180.07131235951276360.964343820243618
250.02641830594984990.05283661189969990.97358169405015
260.01411638574767420.02823277149534840.985883614252326
270.01078412652271660.02156825304543320.989215873477283
280.00599905899992830.01199811799985660.994000941000072
290.002915629463810560.005831258927621130.99708437053619
300.003740124510797400.007480249021594810.996259875489203
310.01326754410728300.02653508821456590.986732455892717
320.02488008431841480.04976016863682970.975119915681585
330.2295790172146000.4591580344292010.7704209827854







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.117647058823529NOK
5% type I error level110.647058823529412NOK
10% type I error level150.88235294117647NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67532&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.117647058823529NOK
5% type I error level110.647058823529412NOK
10% type I error level150.88235294117647NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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')
}