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 computationWed, 29 Dec 2010 10:49:28 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/29/t1293619640v3jic0icp6t5huv.htm/, Retrieved Fri, 03 May 2024 07:09:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=116692, Retrieved Fri, 03 May 2024 07:09:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact159
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [Multiple Regression] [Unemployment] [2010-11-30 13:40:15] [b98453cac15ba1066b407e146608df68]
-         [Multiple Regression] [Werkloosheid in B...] [2010-12-14 18:00:36] [4f1a20f787b3465111b61213cdeef1a9]
-    D        [Multiple Regression] [] [2010-12-29 10:49:28] [e8bffe463cbaa638f5c41694f8d1de39] [Current]
Feedback Forum

Post a new message
Dataseries X:
548604
563668
586111
604378
600991
544686
537034
551531
563250
574761
580112
575093
557560
564478
580523
596594
586570
536214
523597
536535
536322
532638
528222
516141
501866
506174
517945
533590
528379
477580
469357
490243
492622
507561
516922
514258
509846
527070
541657
564591
555362
498662
511038
525919
531673
548854
560576
557274
565742




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116692&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116692&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 571208.730769231 -9054.10512820517M1[t] -10516.4102564102M2[t] + 6712.33076923077M3[t] + 25958.8217948718M4[t] + 20013.3128205128M5[t] -32509.4461538462M6[t] -35521.2051282051M7[t] -18703.4641025641M8[t] -12776.4730769231M9[t] -1772.48205128206M10[t] + 4749.25897435897M11[t] -1017.24102564102t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  571208.730769231 -9054.10512820517M1[t] -10516.4102564102M2[t] +  6712.33076923077M3[t] +  25958.8217948718M4[t] +  20013.3128205128M5[t] -32509.4461538462M6[t] -35521.2051282051M7[t] -18703.4641025641M8[t] -12776.4730769231M9[t] -1772.48205128206M10[t] +  4749.25897435897M11[t] -1017.24102564102t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116692&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  571208.730769231 -9054.10512820517M1[t] -10516.4102564102M2[t] +  6712.33076923077M3[t] +  25958.8217948718M4[t] +  20013.3128205128M5[t] -32509.4461538462M6[t] -35521.2051282051M7[t] -18703.4641025641M8[t] -12776.4730769231M9[t] -1772.48205128206M10[t] +  4749.25897435897M11[t] -1017.24102564102t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116692&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116692&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] = + 571208.730769231 -9054.10512820517M1[t] -10516.4102564102M2[t] + 6712.33076923077M3[t] + 25958.8217948718M4[t] + 20013.3128205128M5[t] -32509.4461538462M6[t] -35521.2051282051M7[t] -18703.4641025641M8[t] -12776.4730769231M9[t] -1772.48205128206M10[t] + 4749.25897435897M11[t] -1017.24102564102t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)571208.73076923115015.83964238.040400
M1-9054.1051282051717171.425446-0.52730.6012360.300618
M2-10516.410256410218238.581782-0.57660.5677960.283898
M36712.3307692307718202.2974620.36880.7144640.357232
M425958.821794871818169.7711261.42870.1617150.080858
M520013.312820512818141.0229861.10320.2772570.138629
M6-32509.446153846218116.07103-1.79450.0811330.040567
M7-35521.205128205118094.930962-1.9630.0574030.028701
M8-18703.464102564118077.616156-1.03460.3077470.153873
M9-12776.473076923118064.137609-0.70730.4839440.241972
M10-1772.4820512820618054.503916-0.09820.9223390.461169
M114749.2589743589718048.7212310.26310.7939460.396973
t-1017.24102564102263.801412-3.85610.0004580.000229

\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) & 571208.730769231 & 15015.839642 & 38.0404 & 0 & 0 \tabularnewline
M1 & -9054.10512820517 & 17171.425446 & -0.5273 & 0.601236 & 0.300618 \tabularnewline
M2 & -10516.4102564102 & 18238.581782 & -0.5766 & 0.567796 & 0.283898 \tabularnewline
M3 & 6712.33076923077 & 18202.297462 & 0.3688 & 0.714464 & 0.357232 \tabularnewline
M4 & 25958.8217948718 & 18169.771126 & 1.4287 & 0.161715 & 0.080858 \tabularnewline
M5 & 20013.3128205128 & 18141.022986 & 1.1032 & 0.277257 & 0.138629 \tabularnewline
M6 & -32509.4461538462 & 18116.07103 & -1.7945 & 0.081133 & 0.040567 \tabularnewline
M7 & -35521.2051282051 & 18094.930962 & -1.963 & 0.057403 & 0.028701 \tabularnewline
M8 & -18703.4641025641 & 18077.616156 & -1.0346 & 0.307747 & 0.153873 \tabularnewline
M9 & -12776.4730769231 & 18064.137609 & -0.7073 & 0.483944 & 0.241972 \tabularnewline
M10 & -1772.48205128206 & 18054.503916 & -0.0982 & 0.922339 & 0.461169 \tabularnewline
M11 & 4749.25897435897 & 18048.721231 & 0.2631 & 0.793946 & 0.396973 \tabularnewline
t & -1017.24102564102 & 263.801412 & -3.8561 & 0.000458 & 0.000229 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116692&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]571208.730769231[/C][C]15015.839642[/C][C]38.0404[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-9054.10512820517[/C][C]17171.425446[/C][C]-0.5273[/C][C]0.601236[/C][C]0.300618[/C][/ROW]
[ROW][C]M2[/C][C]-10516.4102564102[/C][C]18238.581782[/C][C]-0.5766[/C][C]0.567796[/C][C]0.283898[/C][/ROW]
[ROW][C]M3[/C][C]6712.33076923077[/C][C]18202.297462[/C][C]0.3688[/C][C]0.714464[/C][C]0.357232[/C][/ROW]
[ROW][C]M4[/C][C]25958.8217948718[/C][C]18169.771126[/C][C]1.4287[/C][C]0.161715[/C][C]0.080858[/C][/ROW]
[ROW][C]M5[/C][C]20013.3128205128[/C][C]18141.022986[/C][C]1.1032[/C][C]0.277257[/C][C]0.138629[/C][/ROW]
[ROW][C]M6[/C][C]-32509.4461538462[/C][C]18116.07103[/C][C]-1.7945[/C][C]0.081133[/C][C]0.040567[/C][/ROW]
[ROW][C]M7[/C][C]-35521.2051282051[/C][C]18094.930962[/C][C]-1.963[/C][C]0.057403[/C][C]0.028701[/C][/ROW]
[ROW][C]M8[/C][C]-18703.4641025641[/C][C]18077.616156[/C][C]-1.0346[/C][C]0.307747[/C][C]0.153873[/C][/ROW]
[ROW][C]M9[/C][C]-12776.4730769231[/C][C]18064.137609[/C][C]-0.7073[/C][C]0.483944[/C][C]0.241972[/C][/ROW]
[ROW][C]M10[/C][C]-1772.48205128206[/C][C]18054.503916[/C][C]-0.0982[/C][C]0.922339[/C][C]0.461169[/C][/ROW]
[ROW][C]M11[/C][C]4749.25897435897[/C][C]18048.721231[/C][C]0.2631[/C][C]0.793946[/C][C]0.396973[/C][/ROW]
[ROW][C]t[/C][C]-1017.24102564102[/C][C]263.801412[/C][C]-3.8561[/C][C]0.000458[/C][C]0.000229[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116692&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116692&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)571208.73076923115015.83964238.040400
M1-9054.1051282051717171.425446-0.52730.6012360.300618
M2-10516.410256410218238.581782-0.57660.5677960.283898
M36712.3307692307718202.2974620.36880.7144640.357232
M425958.821794871818169.7711261.42870.1617150.080858
M520013.312820512818141.0229861.10320.2772570.138629
M6-32509.446153846218116.07103-1.79450.0811330.040567
M7-35521.205128205118094.930962-1.9630.0574030.028701
M8-18703.464102564118077.616156-1.03460.3077470.153873
M9-12776.473076923118064.137609-0.70730.4839440.241972
M10-1772.4820512820618054.503916-0.09820.9223390.461169
M114749.2589743589718048.7212310.26310.7939460.396973
t-1017.24102564102263.801412-3.85610.0004580.000229







Multiple Linear Regression - Regression Statistics
Multiple R0.726599513438472
R-squared0.527946852929025
Adjusted R-squared0.370595803905366
F-TEST (value)3.35521660773704
F-TEST (DF numerator)12
F-TEST (DF denominator)36
p-value0.00239913546443793
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25522.0197830042
Sum Squared Residuals23449445776.9462

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.726599513438472 \tabularnewline
R-squared & 0.527946852929025 \tabularnewline
Adjusted R-squared & 0.370595803905366 \tabularnewline
F-TEST (value) & 3.35521660773704 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 36 \tabularnewline
p-value & 0.00239913546443793 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 25522.0197830042 \tabularnewline
Sum Squared Residuals & 23449445776.9462 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116692&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.726599513438472[/C][/ROW]
[ROW][C]R-squared[/C][C]0.527946852929025[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.370595803905366[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.35521660773704[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]36[/C][/ROW]
[ROW][C]p-value[/C][C]0.00239913546443793[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]25522.0197830042[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]23449445776.9462[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116692&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116692&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.726599513438472
R-squared0.527946852929025
Adjusted R-squared0.370595803905366
F-TEST (value)3.35521660773704
F-TEST (DF numerator)12
F-TEST (DF denominator)36
p-value0.00239913546443793
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25522.0197830042
Sum Squared Residuals23449445776.9462







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1548604561137.384615385-12533.3846153848
2563668558657.8384615385010.16153846154
3586111574869.33846153811241.6615384615
4604378593098.58846153811279.4115384615
5600991586135.83846153814855.1615384615
6544686532595.83846153812090.1615384615
7537034528566.8384615388467.16153846156
8551531544367.3384615387163.66153846157
9563250549277.08846153813972.9115384616
10574761559263.83846153815497.1615384615
11580112564768.33846153815343.6615384615
12575093559001.83846153816091.1615384615
13557560548930.4923076928629.50769230773
14564478546450.94615384618027.0538461539
15580523562662.44615384617860.5538461539
16596594580891.69615384615702.3038461538
17586570573928.94615384612641.0538461538
18536214520388.94615384615825.0538461539
19523597516359.9461538467237.05384615385
20536535532160.4461538464374.55384615385
21536322537070.196153846-748.196153846149
22532638547056.946153846-14418.9461538462
23528222552561.446153846-24339.4461538461
24516141546794.946153846-30653.9461538462
25501866536723.6-34857.6000000000
26506174534244.053846154-28070.0538461538
27517945550455.553846154-32510.5538461538
28533590568684.803846154-35094.8038461539
29528379561722.053846154-33343.0538461538
30477580508182.053846154-30602.0538461539
31469357504153.053846154-34796.0538461539
32490243519953.553846154-29710.5538461538
33492622524863.303846154-32241.3038461539
34507561534850.053846154-27289.0538461539
35516922540354.553846154-23432.5538461538
36514258534588.053846154-20330.0538461538
37509846524516.707692308-14670.7076923076
38527070522037.1615384625032.83846153845
39541657538248.6615384623408.33846153845
40564591556477.9115384628113.08846153845
41555362549515.1615384625846.83846153845
42498662495975.1615384622686.83846153845
43511038491946.16153846219091.8384615384
44525919507746.66153846218172.3384615384
45531673512656.41153846219016.5884615385
46548854522643.16153846226210.8384615385
47560576528147.66153846232428.3384615385
48557274522381.16153846234892.8384615384
49565742512309.81538461553432.1846153846

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 548604 & 561137.384615385 & -12533.3846153848 \tabularnewline
2 & 563668 & 558657.838461538 & 5010.16153846154 \tabularnewline
3 & 586111 & 574869.338461538 & 11241.6615384615 \tabularnewline
4 & 604378 & 593098.588461538 & 11279.4115384615 \tabularnewline
5 & 600991 & 586135.838461538 & 14855.1615384615 \tabularnewline
6 & 544686 & 532595.838461538 & 12090.1615384615 \tabularnewline
7 & 537034 & 528566.838461538 & 8467.16153846156 \tabularnewline
8 & 551531 & 544367.338461538 & 7163.66153846157 \tabularnewline
9 & 563250 & 549277.088461538 & 13972.9115384616 \tabularnewline
10 & 574761 & 559263.838461538 & 15497.1615384615 \tabularnewline
11 & 580112 & 564768.338461538 & 15343.6615384615 \tabularnewline
12 & 575093 & 559001.838461538 & 16091.1615384615 \tabularnewline
13 & 557560 & 548930.492307692 & 8629.50769230773 \tabularnewline
14 & 564478 & 546450.946153846 & 18027.0538461539 \tabularnewline
15 & 580523 & 562662.446153846 & 17860.5538461539 \tabularnewline
16 & 596594 & 580891.696153846 & 15702.3038461538 \tabularnewline
17 & 586570 & 573928.946153846 & 12641.0538461538 \tabularnewline
18 & 536214 & 520388.946153846 & 15825.0538461539 \tabularnewline
19 & 523597 & 516359.946153846 & 7237.05384615385 \tabularnewline
20 & 536535 & 532160.446153846 & 4374.55384615385 \tabularnewline
21 & 536322 & 537070.196153846 & -748.196153846149 \tabularnewline
22 & 532638 & 547056.946153846 & -14418.9461538462 \tabularnewline
23 & 528222 & 552561.446153846 & -24339.4461538461 \tabularnewline
24 & 516141 & 546794.946153846 & -30653.9461538462 \tabularnewline
25 & 501866 & 536723.6 & -34857.6000000000 \tabularnewline
26 & 506174 & 534244.053846154 & -28070.0538461538 \tabularnewline
27 & 517945 & 550455.553846154 & -32510.5538461538 \tabularnewline
28 & 533590 & 568684.803846154 & -35094.8038461539 \tabularnewline
29 & 528379 & 561722.053846154 & -33343.0538461538 \tabularnewline
30 & 477580 & 508182.053846154 & -30602.0538461539 \tabularnewline
31 & 469357 & 504153.053846154 & -34796.0538461539 \tabularnewline
32 & 490243 & 519953.553846154 & -29710.5538461538 \tabularnewline
33 & 492622 & 524863.303846154 & -32241.3038461539 \tabularnewline
34 & 507561 & 534850.053846154 & -27289.0538461539 \tabularnewline
35 & 516922 & 540354.553846154 & -23432.5538461538 \tabularnewline
36 & 514258 & 534588.053846154 & -20330.0538461538 \tabularnewline
37 & 509846 & 524516.707692308 & -14670.7076923076 \tabularnewline
38 & 527070 & 522037.161538462 & 5032.83846153845 \tabularnewline
39 & 541657 & 538248.661538462 & 3408.33846153845 \tabularnewline
40 & 564591 & 556477.911538462 & 8113.08846153845 \tabularnewline
41 & 555362 & 549515.161538462 & 5846.83846153845 \tabularnewline
42 & 498662 & 495975.161538462 & 2686.83846153845 \tabularnewline
43 & 511038 & 491946.161538462 & 19091.8384615384 \tabularnewline
44 & 525919 & 507746.661538462 & 18172.3384615384 \tabularnewline
45 & 531673 & 512656.411538462 & 19016.5884615385 \tabularnewline
46 & 548854 & 522643.161538462 & 26210.8384615385 \tabularnewline
47 & 560576 & 528147.661538462 & 32428.3384615385 \tabularnewline
48 & 557274 & 522381.161538462 & 34892.8384615384 \tabularnewline
49 & 565742 & 512309.815384615 & 53432.1846153846 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116692&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]548604[/C][C]561137.384615385[/C][C]-12533.3846153848[/C][/ROW]
[ROW][C]2[/C][C]563668[/C][C]558657.838461538[/C][C]5010.16153846154[/C][/ROW]
[ROW][C]3[/C][C]586111[/C][C]574869.338461538[/C][C]11241.6615384615[/C][/ROW]
[ROW][C]4[/C][C]604378[/C][C]593098.588461538[/C][C]11279.4115384615[/C][/ROW]
[ROW][C]5[/C][C]600991[/C][C]586135.838461538[/C][C]14855.1615384615[/C][/ROW]
[ROW][C]6[/C][C]544686[/C][C]532595.838461538[/C][C]12090.1615384615[/C][/ROW]
[ROW][C]7[/C][C]537034[/C][C]528566.838461538[/C][C]8467.16153846156[/C][/ROW]
[ROW][C]8[/C][C]551531[/C][C]544367.338461538[/C][C]7163.66153846157[/C][/ROW]
[ROW][C]9[/C][C]563250[/C][C]549277.088461538[/C][C]13972.9115384616[/C][/ROW]
[ROW][C]10[/C][C]574761[/C][C]559263.838461538[/C][C]15497.1615384615[/C][/ROW]
[ROW][C]11[/C][C]580112[/C][C]564768.338461538[/C][C]15343.6615384615[/C][/ROW]
[ROW][C]12[/C][C]575093[/C][C]559001.838461538[/C][C]16091.1615384615[/C][/ROW]
[ROW][C]13[/C][C]557560[/C][C]548930.492307692[/C][C]8629.50769230773[/C][/ROW]
[ROW][C]14[/C][C]564478[/C][C]546450.946153846[/C][C]18027.0538461539[/C][/ROW]
[ROW][C]15[/C][C]580523[/C][C]562662.446153846[/C][C]17860.5538461539[/C][/ROW]
[ROW][C]16[/C][C]596594[/C][C]580891.696153846[/C][C]15702.3038461538[/C][/ROW]
[ROW][C]17[/C][C]586570[/C][C]573928.946153846[/C][C]12641.0538461538[/C][/ROW]
[ROW][C]18[/C][C]536214[/C][C]520388.946153846[/C][C]15825.0538461539[/C][/ROW]
[ROW][C]19[/C][C]523597[/C][C]516359.946153846[/C][C]7237.05384615385[/C][/ROW]
[ROW][C]20[/C][C]536535[/C][C]532160.446153846[/C][C]4374.55384615385[/C][/ROW]
[ROW][C]21[/C][C]536322[/C][C]537070.196153846[/C][C]-748.196153846149[/C][/ROW]
[ROW][C]22[/C][C]532638[/C][C]547056.946153846[/C][C]-14418.9461538462[/C][/ROW]
[ROW][C]23[/C][C]528222[/C][C]552561.446153846[/C][C]-24339.4461538461[/C][/ROW]
[ROW][C]24[/C][C]516141[/C][C]546794.946153846[/C][C]-30653.9461538462[/C][/ROW]
[ROW][C]25[/C][C]501866[/C][C]536723.6[/C][C]-34857.6000000000[/C][/ROW]
[ROW][C]26[/C][C]506174[/C][C]534244.053846154[/C][C]-28070.0538461538[/C][/ROW]
[ROW][C]27[/C][C]517945[/C][C]550455.553846154[/C][C]-32510.5538461538[/C][/ROW]
[ROW][C]28[/C][C]533590[/C][C]568684.803846154[/C][C]-35094.8038461539[/C][/ROW]
[ROW][C]29[/C][C]528379[/C][C]561722.053846154[/C][C]-33343.0538461538[/C][/ROW]
[ROW][C]30[/C][C]477580[/C][C]508182.053846154[/C][C]-30602.0538461539[/C][/ROW]
[ROW][C]31[/C][C]469357[/C][C]504153.053846154[/C][C]-34796.0538461539[/C][/ROW]
[ROW][C]32[/C][C]490243[/C][C]519953.553846154[/C][C]-29710.5538461538[/C][/ROW]
[ROW][C]33[/C][C]492622[/C][C]524863.303846154[/C][C]-32241.3038461539[/C][/ROW]
[ROW][C]34[/C][C]507561[/C][C]534850.053846154[/C][C]-27289.0538461539[/C][/ROW]
[ROW][C]35[/C][C]516922[/C][C]540354.553846154[/C][C]-23432.5538461538[/C][/ROW]
[ROW][C]36[/C][C]514258[/C][C]534588.053846154[/C][C]-20330.0538461538[/C][/ROW]
[ROW][C]37[/C][C]509846[/C][C]524516.707692308[/C][C]-14670.7076923076[/C][/ROW]
[ROW][C]38[/C][C]527070[/C][C]522037.161538462[/C][C]5032.83846153845[/C][/ROW]
[ROW][C]39[/C][C]541657[/C][C]538248.661538462[/C][C]3408.33846153845[/C][/ROW]
[ROW][C]40[/C][C]564591[/C][C]556477.911538462[/C][C]8113.08846153845[/C][/ROW]
[ROW][C]41[/C][C]555362[/C][C]549515.161538462[/C][C]5846.83846153845[/C][/ROW]
[ROW][C]42[/C][C]498662[/C][C]495975.161538462[/C][C]2686.83846153845[/C][/ROW]
[ROW][C]43[/C][C]511038[/C][C]491946.161538462[/C][C]19091.8384615384[/C][/ROW]
[ROW][C]44[/C][C]525919[/C][C]507746.661538462[/C][C]18172.3384615384[/C][/ROW]
[ROW][C]45[/C][C]531673[/C][C]512656.411538462[/C][C]19016.5884615385[/C][/ROW]
[ROW][C]46[/C][C]548854[/C][C]522643.161538462[/C][C]26210.8384615385[/C][/ROW]
[ROW][C]47[/C][C]560576[/C][C]528147.661538462[/C][C]32428.3384615385[/C][/ROW]
[ROW][C]48[/C][C]557274[/C][C]522381.161538462[/C][C]34892.8384615384[/C][/ROW]
[ROW][C]49[/C][C]565742[/C][C]512309.815384615[/C][C]53432.1846153846[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116692&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116692&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
1548604561137.384615385-12533.3846153848
2563668558657.8384615385010.16153846154
3586111574869.33846153811241.6615384615
4604378593098.58846153811279.4115384615
5600991586135.83846153814855.1615384615
6544686532595.83846153812090.1615384615
7537034528566.8384615388467.16153846156
8551531544367.3384615387163.66153846157
9563250549277.08846153813972.9115384616
10574761559263.83846153815497.1615384615
11580112564768.33846153815343.6615384615
12575093559001.83846153816091.1615384615
13557560548930.4923076928629.50769230773
14564478546450.94615384618027.0538461539
15580523562662.44615384617860.5538461539
16596594580891.69615384615702.3038461538
17586570573928.94615384612641.0538461538
18536214520388.94615384615825.0538461539
19523597516359.9461538467237.05384615385
20536535532160.4461538464374.55384615385
21536322537070.196153846-748.196153846149
22532638547056.946153846-14418.9461538462
23528222552561.446153846-24339.4461538461
24516141546794.946153846-30653.9461538462
25501866536723.6-34857.6000000000
26506174534244.053846154-28070.0538461538
27517945550455.553846154-32510.5538461538
28533590568684.803846154-35094.8038461539
29528379561722.053846154-33343.0538461538
30477580508182.053846154-30602.0538461539
31469357504153.053846154-34796.0538461539
32490243519953.553846154-29710.5538461538
33492622524863.303846154-32241.3038461539
34507561534850.053846154-27289.0538461539
35516922540354.553846154-23432.5538461538
36514258534588.053846154-20330.0538461538
37509846524516.707692308-14670.7076923076
38527070522037.1615384625032.83846153845
39541657538248.6615384623408.33846153845
40564591556477.9115384628113.08846153845
41555362549515.1615384625846.83846153845
42498662495975.1615384622686.83846153845
43511038491946.16153846219091.8384615384
44525919507746.66153846218172.3384615384
45531673512656.41153846219016.5884615385
46548854522643.16153846226210.8384615385
47560576528147.66153846232428.3384615385
48557274522381.16153846234892.8384615384
49565742512309.81538461553432.1846153846







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01185198719542280.02370397439084560.988148012804577
170.008515607773984150.01703121554796830.991484392226016
180.003743691584898690.007487383169797370.996256308415101
190.00267653037106850.0053530607421370.997323469628931
200.003041839937640510.006083679875281010.99695816006236
210.02827973756370090.05655947512740170.9717202624363
220.3188299264128810.6376598528257630.681170073587119
230.7977578087637320.4044843824725370.202242191236268
240.976791438120950.04641712375809880.0232085618790494
250.9843846339812470.0312307320375060.015615366018753
260.9884215214935240.02315695701295240.0115784785064762
270.9910877022914410.01782459541711720.00891229770855862
280.9868709610144350.02625807797112980.0131290389855649
290.9850699113750320.02986017724993530.0149300886249677
300.9974785300658130.005042939868373590.00252146993418680
310.9910659503802540.01786809923949260.00893404961974631
320.9830746427595030.03385071448099490.0169253572404974
330.9577293868395060.08454122632098890.0422706131604944

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0118519871954228 & 0.0237039743908456 & 0.988148012804577 \tabularnewline
17 & 0.00851560777398415 & 0.0170312155479683 & 0.991484392226016 \tabularnewline
18 & 0.00374369158489869 & 0.00748738316979737 & 0.996256308415101 \tabularnewline
19 & 0.0026765303710685 & 0.005353060742137 & 0.997323469628931 \tabularnewline
20 & 0.00304183993764051 & 0.00608367987528101 & 0.99695816006236 \tabularnewline
21 & 0.0282797375637009 & 0.0565594751274017 & 0.9717202624363 \tabularnewline
22 & 0.318829926412881 & 0.637659852825763 & 0.681170073587119 \tabularnewline
23 & 0.797757808763732 & 0.404484382472537 & 0.202242191236268 \tabularnewline
24 & 0.97679143812095 & 0.0464171237580988 & 0.0232085618790494 \tabularnewline
25 & 0.984384633981247 & 0.031230732037506 & 0.015615366018753 \tabularnewline
26 & 0.988421521493524 & 0.0231569570129524 & 0.0115784785064762 \tabularnewline
27 & 0.991087702291441 & 0.0178245954171172 & 0.00891229770855862 \tabularnewline
28 & 0.986870961014435 & 0.0262580779711298 & 0.0131290389855649 \tabularnewline
29 & 0.985069911375032 & 0.0298601772499353 & 0.0149300886249677 \tabularnewline
30 & 0.997478530065813 & 0.00504293986837359 & 0.00252146993418680 \tabularnewline
31 & 0.991065950380254 & 0.0178680992394926 & 0.00893404961974631 \tabularnewline
32 & 0.983074642759503 & 0.0338507144809949 & 0.0169253572404974 \tabularnewline
33 & 0.957729386839506 & 0.0845412263209889 & 0.0422706131604944 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116692&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.0118519871954228[/C][C]0.0237039743908456[/C][C]0.988148012804577[/C][/ROW]
[ROW][C]17[/C][C]0.00851560777398415[/C][C]0.0170312155479683[/C][C]0.991484392226016[/C][/ROW]
[ROW][C]18[/C][C]0.00374369158489869[/C][C]0.00748738316979737[/C][C]0.996256308415101[/C][/ROW]
[ROW][C]19[/C][C]0.0026765303710685[/C][C]0.005353060742137[/C][C]0.997323469628931[/C][/ROW]
[ROW][C]20[/C][C]0.00304183993764051[/C][C]0.00608367987528101[/C][C]0.99695816006236[/C][/ROW]
[ROW][C]21[/C][C]0.0282797375637009[/C][C]0.0565594751274017[/C][C]0.9717202624363[/C][/ROW]
[ROW][C]22[/C][C]0.318829926412881[/C][C]0.637659852825763[/C][C]0.681170073587119[/C][/ROW]
[ROW][C]23[/C][C]0.797757808763732[/C][C]0.404484382472537[/C][C]0.202242191236268[/C][/ROW]
[ROW][C]24[/C][C]0.97679143812095[/C][C]0.0464171237580988[/C][C]0.0232085618790494[/C][/ROW]
[ROW][C]25[/C][C]0.984384633981247[/C][C]0.031230732037506[/C][C]0.015615366018753[/C][/ROW]
[ROW][C]26[/C][C]0.988421521493524[/C][C]0.0231569570129524[/C][C]0.0115784785064762[/C][/ROW]
[ROW][C]27[/C][C]0.991087702291441[/C][C]0.0178245954171172[/C][C]0.00891229770855862[/C][/ROW]
[ROW][C]28[/C][C]0.986870961014435[/C][C]0.0262580779711298[/C][C]0.0131290389855649[/C][/ROW]
[ROW][C]29[/C][C]0.985069911375032[/C][C]0.0298601772499353[/C][C]0.0149300886249677[/C][/ROW]
[ROW][C]30[/C][C]0.997478530065813[/C][C]0.00504293986837359[/C][C]0.00252146993418680[/C][/ROW]
[ROW][C]31[/C][C]0.991065950380254[/C][C]0.0178680992394926[/C][C]0.00893404961974631[/C][/ROW]
[ROW][C]32[/C][C]0.983074642759503[/C][C]0.0338507144809949[/C][C]0.0169253572404974[/C][/ROW]
[ROW][C]33[/C][C]0.957729386839506[/C][C]0.0845412263209889[/C][C]0.0422706131604944[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116692&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116692&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.01185198719542280.02370397439084560.988148012804577
170.008515607773984150.01703121554796830.991484392226016
180.003743691584898690.007487383169797370.996256308415101
190.00267653037106850.0053530607421370.997323469628931
200.003041839937640510.006083679875281010.99695816006236
210.02827973756370090.05655947512740170.9717202624363
220.3188299264128810.6376598528257630.681170073587119
230.7977578087637320.4044843824725370.202242191236268
240.976791438120950.04641712375809880.0232085618790494
250.9843846339812470.0312307320375060.015615366018753
260.9884215214935240.02315695701295240.0115784785064762
270.9910877022914410.01782459541711720.00891229770855862
280.9868709610144350.02625807797112980.0131290389855649
290.9850699113750320.02986017724993530.0149300886249677
300.9974785300658130.005042939868373590.00252146993418680
310.9910659503802540.01786809923949260.00893404961974631
320.9830746427595030.03385071448099490.0169253572404974
330.9577293868395060.08454122632098890.0422706131604944







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.222222222222222NOK
5% type I error level140.777777777777778NOK
10% type I error level160.888888888888889NOK

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

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

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.222222222222222NOK
5% type I error level140.777777777777778NOK
10% type I error level160.888888888888889NOK



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