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, 29 Nov 2010 11:44:56 +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/Nov/29/t1291031060kwpio87cnd9wbex.htm/, Retrieved Mon, 29 Apr 2024 13:58:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=102856, Retrieved Mon, 29 Apr 2024 13:58:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact96
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]
- R  D    [Multiple Regression] [W8-model neutraal] [2010-11-28 14:31:42] [48146708a479232c43a8f6e52fbf83b4]
-   PD        [Multiple Regression] [W8-multiple regre...] [2010-11-29 11:44:56] [6f3869f9d1e39c73f93153f1f7803f84] [Current]
-   PD          [Multiple Regression] [W8-multiple regre...] [2010-11-29 11:47:59] [48146708a479232c43a8f6e52fbf83b4]
Feedback Forum

Post a new message
Dataseries X:
0	593
0	590
0	580
0	574
0	573
0	573
0	620
0	626
0	620
0	588
0	566
0	557
0	561
0	549
0	532
0	526
0	511
0	499
0	555
0	565
0	542
0	527
0	510
0	514
0	517
0	508
0	493
0	490
0	469
0	478
1	528
1	534
1	518
1	506
1	502
1	516
1	528
1	533
1	536
1	537
1	524
1	536
1	587
1	597
1	581
1	564
1	558
0	575
0	580
0	575
0	563
0	552
0	537
0	545
0	601




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102856&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102856&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102856&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 time6 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 545.06511627907 -18.2604651162791X[t] + 14.3869767441861M1[t] + 9.586976744186M2[t] -0.613023255814025M3[t] -5.61302325581399M4[t] -18.6130232558140M5[t] -15.2130232558140M6[t] + 40.4390697674418M7[t] + 44.5651162790698M8[t] + 29.3151162790697M9[t] + 10.3151162790697M10[t] -1.93488372093025M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  545.06511627907 -18.2604651162791X[t] +  14.3869767441861M1[t] +  9.586976744186M2[t] -0.613023255814025M3[t] -5.61302325581399M4[t] -18.6130232558140M5[t] -15.2130232558140M6[t] +  40.4390697674418M7[t] +  44.5651162790698M8[t] +  29.3151162790697M9[t] +  10.3151162790697M10[t] -1.93488372093025M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102856&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  545.06511627907 -18.2604651162791X[t] +  14.3869767441861M1[t] +  9.586976744186M2[t] -0.613023255814025M3[t] -5.61302325581399M4[t] -18.6130232558140M5[t] -15.2130232558140M6[t] +  40.4390697674418M7[t] +  44.5651162790698M8[t] +  29.3151162790697M9[t] +  10.3151162790697M10[t] -1.93488372093025M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102856&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102856&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] = + 545.06511627907 -18.2604651162791X[t] + 14.3869767441861M1[t] + 9.586976744186M2[t] -0.613023255814025M3[t] -5.61302325581399M4[t] -18.6130232558140M5[t] -15.2130232558140M6[t] + 40.4390697674418M7[t] + 44.5651162790698M8[t] + 29.3151162790697M9[t] + 10.3151162790697M10[t] -1.93488372093025M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)545.0651162790717.61363230.945600
X-18.260465116279110.62142-1.71920.0929390.04647
M114.386976744186123.3671230.61570.5414190.27071
M29.58697674418623.3671230.41030.6836890.341844
M3-0.61302325581402523.367123-0.02620.9791950.489597
M4-5.6130232558139923.367123-0.24020.8113360.405668
M5-18.613023255814023.367123-0.79650.4301940.215097
M6-15.213023255814023.367123-0.6510.5185640.259282
M740.439069767441823.4153521.7270.0915110.045755
M844.565116279069824.7675021.79930.0791530.039576
M929.315116279069724.7675021.18360.2432230.121611
M1010.315116279069724.7675020.41650.6791810.339591
M11-1.9348837209302524.767502-0.07810.9381020.469051

\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) & 545.06511627907 & 17.613632 & 30.9456 & 0 & 0 \tabularnewline
X & -18.2604651162791 & 10.62142 & -1.7192 & 0.092939 & 0.04647 \tabularnewline
M1 & 14.3869767441861 & 23.367123 & 0.6157 & 0.541419 & 0.27071 \tabularnewline
M2 & 9.586976744186 & 23.367123 & 0.4103 & 0.683689 & 0.341844 \tabularnewline
M3 & -0.613023255814025 & 23.367123 & -0.0262 & 0.979195 & 0.489597 \tabularnewline
M4 & -5.61302325581399 & 23.367123 & -0.2402 & 0.811336 & 0.405668 \tabularnewline
M5 & -18.6130232558140 & 23.367123 & -0.7965 & 0.430194 & 0.215097 \tabularnewline
M6 & -15.2130232558140 & 23.367123 & -0.651 & 0.518564 & 0.259282 \tabularnewline
M7 & 40.4390697674418 & 23.415352 & 1.727 & 0.091511 & 0.045755 \tabularnewline
M8 & 44.5651162790698 & 24.767502 & 1.7993 & 0.079153 & 0.039576 \tabularnewline
M9 & 29.3151162790697 & 24.767502 & 1.1836 & 0.243223 & 0.121611 \tabularnewline
M10 & 10.3151162790697 & 24.767502 & 0.4165 & 0.679181 & 0.339591 \tabularnewline
M11 & -1.93488372093025 & 24.767502 & -0.0781 & 0.938102 & 0.469051 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102856&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]545.06511627907[/C][C]17.613632[/C][C]30.9456[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-18.2604651162791[/C][C]10.62142[/C][C]-1.7192[/C][C]0.092939[/C][C]0.04647[/C][/ROW]
[ROW][C]M1[/C][C]14.3869767441861[/C][C]23.367123[/C][C]0.6157[/C][C]0.541419[/C][C]0.27071[/C][/ROW]
[ROW][C]M2[/C][C]9.586976744186[/C][C]23.367123[/C][C]0.4103[/C][C]0.683689[/C][C]0.341844[/C][/ROW]
[ROW][C]M3[/C][C]-0.613023255814025[/C][C]23.367123[/C][C]-0.0262[/C][C]0.979195[/C][C]0.489597[/C][/ROW]
[ROW][C]M4[/C][C]-5.61302325581399[/C][C]23.367123[/C][C]-0.2402[/C][C]0.811336[/C][C]0.405668[/C][/ROW]
[ROW][C]M5[/C][C]-18.6130232558140[/C][C]23.367123[/C][C]-0.7965[/C][C]0.430194[/C][C]0.215097[/C][/ROW]
[ROW][C]M6[/C][C]-15.2130232558140[/C][C]23.367123[/C][C]-0.651[/C][C]0.518564[/C][C]0.259282[/C][/ROW]
[ROW][C]M7[/C][C]40.4390697674418[/C][C]23.415352[/C][C]1.727[/C][C]0.091511[/C][C]0.045755[/C][/ROW]
[ROW][C]M8[/C][C]44.5651162790698[/C][C]24.767502[/C][C]1.7993[/C][C]0.079153[/C][C]0.039576[/C][/ROW]
[ROW][C]M9[/C][C]29.3151162790697[/C][C]24.767502[/C][C]1.1836[/C][C]0.243223[/C][C]0.121611[/C][/ROW]
[ROW][C]M10[/C][C]10.3151162790697[/C][C]24.767502[/C][C]0.4165[/C][C]0.679181[/C][C]0.339591[/C][/ROW]
[ROW][C]M11[/C][C]-1.93488372093025[/C][C]24.767502[/C][C]-0.0781[/C][C]0.938102[/C][C]0.469051[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102856&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102856&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)545.0651162790717.61363230.945600
X-18.260465116279110.62142-1.71920.0929390.04647
M114.386976744186123.3671230.61570.5414190.27071
M29.58697674418623.3671230.41030.6836890.341844
M3-0.61302325581402523.367123-0.02620.9791950.489597
M4-5.6130232558139923.367123-0.24020.8113360.405668
M5-18.613023255814023.367123-0.79650.4301940.215097
M6-15.213023255814023.367123-0.6510.5185640.259282
M740.439069767441823.4153521.7270.0915110.045755
M844.565116279069824.7675021.79930.0791530.039576
M929.315116279069724.7675021.18360.2432230.121611
M1010.315116279069724.7675020.41650.6791810.339591
M11-1.9348837209302524.767502-0.07810.9381020.469051







Multiple Linear Regression - Regression Statistics
Multiple R0.544603875494702
R-squared0.296593381203849
Adjusted R-squared0.095620061547806
F-TEST (value)1.47578485398686
F-TEST (DF numerator)12
F-TEST (DF denominator)42
p-value0.171893663081346
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation34.8246528364997
Sum Squared Residuals50935.7706976745

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.544603875494702 \tabularnewline
R-squared & 0.296593381203849 \tabularnewline
Adjusted R-squared & 0.095620061547806 \tabularnewline
F-TEST (value) & 1.47578485398686 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 0.171893663081346 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 34.8246528364997 \tabularnewline
Sum Squared Residuals & 50935.7706976745 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102856&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.544603875494702[/C][/ROW]
[ROW][C]R-squared[/C][C]0.296593381203849[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.095620061547806[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.47578485398686[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/C][/ROW]
[ROW][C]p-value[/C][C]0.171893663081346[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]34.8246528364997[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]50935.7706976745[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102856&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102856&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.544603875494702
R-squared0.296593381203849
Adjusted R-squared0.095620061547806
F-TEST (value)1.47578485398686
F-TEST (DF numerator)12
F-TEST (DF denominator)42
p-value0.171893663081346
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation34.8246528364997
Sum Squared Residuals50935.7706976745







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1593559.45209302325533.5479069767446
2590554.65209302325635.3479069767441
3580544.45209302325635.5479069767442
4574539.45209302325634.5479069767442
5573526.45209302325646.5479069767442
6573529.85209302325643.1479069767442
7620585.50418604651234.4958139534884
8626589.6302325581436.3697674418606
9620574.3802325581445.6197674418605
10588555.3802325581432.6197674418605
11566543.1302325581422.8697674418605
12557545.0651162790711.9348837209302
13561559.4520930232561.54790697674409
14549554.652093023256-5.6520930232558
15532544.452093023256-12.4520930232558
16526539.452093023256-13.4520930232558
17511526.452093023256-15.4520930232558
18499529.852093023256-30.8520930232558
19555585.504186046512-30.5041860465116
20565589.63023255814-24.6302325581396
21542574.38023255814-32.3802325581395
22527555.38023255814-28.3802325581395
23510543.13023255814-33.1302325581395
24514545.06511627907-31.0651162790698
25517559.452093023256-42.4520930232559
26508554.652093023256-46.6520930232558
27493544.452093023256-51.4520930232558
28490539.452093023256-49.4520930232558
29469526.452093023256-57.4520930232558
30478529.852093023256-51.8520930232558
31528567.243720930232-39.2437209302325
32534571.36976744186-37.3697674418605
33518556.11976744186-38.1197674418605
34506537.11976744186-31.1197674418604
35502524.86976744186-22.8697674418605
36516526.804651162791-10.8046511627907
37528541.191627906977-13.1916279069768
38533536.391627906977-3.39162790697671
39536526.1916279069779.8083720930233
40537521.19162790697715.8083720930233
41524508.19162790697715.8083720930232
42536511.59162790697724.4083720930233
43587567.24372093023319.7562790697675
44597571.3697674418625.6302325581395
45581556.1197674418624.8802325581395
46564537.1197674418626.8802325581396
47558524.8697674418633.1302325581395
48575545.0651162790729.9348837209302
49580559.45209302325620.5479069767441
50575554.65209302325620.3479069767442
51563544.45209302325618.5479069767442
52552539.45209302325612.5479069767442
53537526.45209302325610.5479069767442
54545529.85209302325615.1479069767442
55601585.50418604651215.4958139534884

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 593 & 559.452093023255 & 33.5479069767446 \tabularnewline
2 & 590 & 554.652093023256 & 35.3479069767441 \tabularnewline
3 & 580 & 544.452093023256 & 35.5479069767442 \tabularnewline
4 & 574 & 539.452093023256 & 34.5479069767442 \tabularnewline
5 & 573 & 526.452093023256 & 46.5479069767442 \tabularnewline
6 & 573 & 529.852093023256 & 43.1479069767442 \tabularnewline
7 & 620 & 585.504186046512 & 34.4958139534884 \tabularnewline
8 & 626 & 589.63023255814 & 36.3697674418606 \tabularnewline
9 & 620 & 574.38023255814 & 45.6197674418605 \tabularnewline
10 & 588 & 555.38023255814 & 32.6197674418605 \tabularnewline
11 & 566 & 543.13023255814 & 22.8697674418605 \tabularnewline
12 & 557 & 545.06511627907 & 11.9348837209302 \tabularnewline
13 & 561 & 559.452093023256 & 1.54790697674409 \tabularnewline
14 & 549 & 554.652093023256 & -5.6520930232558 \tabularnewline
15 & 532 & 544.452093023256 & -12.4520930232558 \tabularnewline
16 & 526 & 539.452093023256 & -13.4520930232558 \tabularnewline
17 & 511 & 526.452093023256 & -15.4520930232558 \tabularnewline
18 & 499 & 529.852093023256 & -30.8520930232558 \tabularnewline
19 & 555 & 585.504186046512 & -30.5041860465116 \tabularnewline
20 & 565 & 589.63023255814 & -24.6302325581396 \tabularnewline
21 & 542 & 574.38023255814 & -32.3802325581395 \tabularnewline
22 & 527 & 555.38023255814 & -28.3802325581395 \tabularnewline
23 & 510 & 543.13023255814 & -33.1302325581395 \tabularnewline
24 & 514 & 545.06511627907 & -31.0651162790698 \tabularnewline
25 & 517 & 559.452093023256 & -42.4520930232559 \tabularnewline
26 & 508 & 554.652093023256 & -46.6520930232558 \tabularnewline
27 & 493 & 544.452093023256 & -51.4520930232558 \tabularnewline
28 & 490 & 539.452093023256 & -49.4520930232558 \tabularnewline
29 & 469 & 526.452093023256 & -57.4520930232558 \tabularnewline
30 & 478 & 529.852093023256 & -51.8520930232558 \tabularnewline
31 & 528 & 567.243720930232 & -39.2437209302325 \tabularnewline
32 & 534 & 571.36976744186 & -37.3697674418605 \tabularnewline
33 & 518 & 556.11976744186 & -38.1197674418605 \tabularnewline
34 & 506 & 537.11976744186 & -31.1197674418604 \tabularnewline
35 & 502 & 524.86976744186 & -22.8697674418605 \tabularnewline
36 & 516 & 526.804651162791 & -10.8046511627907 \tabularnewline
37 & 528 & 541.191627906977 & -13.1916279069768 \tabularnewline
38 & 533 & 536.391627906977 & -3.39162790697671 \tabularnewline
39 & 536 & 526.191627906977 & 9.8083720930233 \tabularnewline
40 & 537 & 521.191627906977 & 15.8083720930233 \tabularnewline
41 & 524 & 508.191627906977 & 15.8083720930232 \tabularnewline
42 & 536 & 511.591627906977 & 24.4083720930233 \tabularnewline
43 & 587 & 567.243720930233 & 19.7562790697675 \tabularnewline
44 & 597 & 571.36976744186 & 25.6302325581395 \tabularnewline
45 & 581 & 556.11976744186 & 24.8802325581395 \tabularnewline
46 & 564 & 537.11976744186 & 26.8802325581396 \tabularnewline
47 & 558 & 524.86976744186 & 33.1302325581395 \tabularnewline
48 & 575 & 545.06511627907 & 29.9348837209302 \tabularnewline
49 & 580 & 559.452093023256 & 20.5479069767441 \tabularnewline
50 & 575 & 554.652093023256 & 20.3479069767442 \tabularnewline
51 & 563 & 544.452093023256 & 18.5479069767442 \tabularnewline
52 & 552 & 539.452093023256 & 12.5479069767442 \tabularnewline
53 & 537 & 526.452093023256 & 10.5479069767442 \tabularnewline
54 & 545 & 529.852093023256 & 15.1479069767442 \tabularnewline
55 & 601 & 585.504186046512 & 15.4958139534884 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102856&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]593[/C][C]559.452093023255[/C][C]33.5479069767446[/C][/ROW]
[ROW][C]2[/C][C]590[/C][C]554.652093023256[/C][C]35.3479069767441[/C][/ROW]
[ROW][C]3[/C][C]580[/C][C]544.452093023256[/C][C]35.5479069767442[/C][/ROW]
[ROW][C]4[/C][C]574[/C][C]539.452093023256[/C][C]34.5479069767442[/C][/ROW]
[ROW][C]5[/C][C]573[/C][C]526.452093023256[/C][C]46.5479069767442[/C][/ROW]
[ROW][C]6[/C][C]573[/C][C]529.852093023256[/C][C]43.1479069767442[/C][/ROW]
[ROW][C]7[/C][C]620[/C][C]585.504186046512[/C][C]34.4958139534884[/C][/ROW]
[ROW][C]8[/C][C]626[/C][C]589.63023255814[/C][C]36.3697674418606[/C][/ROW]
[ROW][C]9[/C][C]620[/C][C]574.38023255814[/C][C]45.6197674418605[/C][/ROW]
[ROW][C]10[/C][C]588[/C][C]555.38023255814[/C][C]32.6197674418605[/C][/ROW]
[ROW][C]11[/C][C]566[/C][C]543.13023255814[/C][C]22.8697674418605[/C][/ROW]
[ROW][C]12[/C][C]557[/C][C]545.06511627907[/C][C]11.9348837209302[/C][/ROW]
[ROW][C]13[/C][C]561[/C][C]559.452093023256[/C][C]1.54790697674409[/C][/ROW]
[ROW][C]14[/C][C]549[/C][C]554.652093023256[/C][C]-5.6520930232558[/C][/ROW]
[ROW][C]15[/C][C]532[/C][C]544.452093023256[/C][C]-12.4520930232558[/C][/ROW]
[ROW][C]16[/C][C]526[/C][C]539.452093023256[/C][C]-13.4520930232558[/C][/ROW]
[ROW][C]17[/C][C]511[/C][C]526.452093023256[/C][C]-15.4520930232558[/C][/ROW]
[ROW][C]18[/C][C]499[/C][C]529.852093023256[/C][C]-30.8520930232558[/C][/ROW]
[ROW][C]19[/C][C]555[/C][C]585.504186046512[/C][C]-30.5041860465116[/C][/ROW]
[ROW][C]20[/C][C]565[/C][C]589.63023255814[/C][C]-24.6302325581396[/C][/ROW]
[ROW][C]21[/C][C]542[/C][C]574.38023255814[/C][C]-32.3802325581395[/C][/ROW]
[ROW][C]22[/C][C]527[/C][C]555.38023255814[/C][C]-28.3802325581395[/C][/ROW]
[ROW][C]23[/C][C]510[/C][C]543.13023255814[/C][C]-33.1302325581395[/C][/ROW]
[ROW][C]24[/C][C]514[/C][C]545.06511627907[/C][C]-31.0651162790698[/C][/ROW]
[ROW][C]25[/C][C]517[/C][C]559.452093023256[/C][C]-42.4520930232559[/C][/ROW]
[ROW][C]26[/C][C]508[/C][C]554.652093023256[/C][C]-46.6520930232558[/C][/ROW]
[ROW][C]27[/C][C]493[/C][C]544.452093023256[/C][C]-51.4520930232558[/C][/ROW]
[ROW][C]28[/C][C]490[/C][C]539.452093023256[/C][C]-49.4520930232558[/C][/ROW]
[ROW][C]29[/C][C]469[/C][C]526.452093023256[/C][C]-57.4520930232558[/C][/ROW]
[ROW][C]30[/C][C]478[/C][C]529.852093023256[/C][C]-51.8520930232558[/C][/ROW]
[ROW][C]31[/C][C]528[/C][C]567.243720930232[/C][C]-39.2437209302325[/C][/ROW]
[ROW][C]32[/C][C]534[/C][C]571.36976744186[/C][C]-37.3697674418605[/C][/ROW]
[ROW][C]33[/C][C]518[/C][C]556.11976744186[/C][C]-38.1197674418605[/C][/ROW]
[ROW][C]34[/C][C]506[/C][C]537.11976744186[/C][C]-31.1197674418604[/C][/ROW]
[ROW][C]35[/C][C]502[/C][C]524.86976744186[/C][C]-22.8697674418605[/C][/ROW]
[ROW][C]36[/C][C]516[/C][C]526.804651162791[/C][C]-10.8046511627907[/C][/ROW]
[ROW][C]37[/C][C]528[/C][C]541.191627906977[/C][C]-13.1916279069768[/C][/ROW]
[ROW][C]38[/C][C]533[/C][C]536.391627906977[/C][C]-3.39162790697671[/C][/ROW]
[ROW][C]39[/C][C]536[/C][C]526.191627906977[/C][C]9.8083720930233[/C][/ROW]
[ROW][C]40[/C][C]537[/C][C]521.191627906977[/C][C]15.8083720930233[/C][/ROW]
[ROW][C]41[/C][C]524[/C][C]508.191627906977[/C][C]15.8083720930232[/C][/ROW]
[ROW][C]42[/C][C]536[/C][C]511.591627906977[/C][C]24.4083720930233[/C][/ROW]
[ROW][C]43[/C][C]587[/C][C]567.243720930233[/C][C]19.7562790697675[/C][/ROW]
[ROW][C]44[/C][C]597[/C][C]571.36976744186[/C][C]25.6302325581395[/C][/ROW]
[ROW][C]45[/C][C]581[/C][C]556.11976744186[/C][C]24.8802325581395[/C][/ROW]
[ROW][C]46[/C][C]564[/C][C]537.11976744186[/C][C]26.8802325581396[/C][/ROW]
[ROW][C]47[/C][C]558[/C][C]524.86976744186[/C][C]33.1302325581395[/C][/ROW]
[ROW][C]48[/C][C]575[/C][C]545.06511627907[/C][C]29.9348837209302[/C][/ROW]
[ROW][C]49[/C][C]580[/C][C]559.452093023256[/C][C]20.5479069767441[/C][/ROW]
[ROW][C]50[/C][C]575[/C][C]554.652093023256[/C][C]20.3479069767442[/C][/ROW]
[ROW][C]51[/C][C]563[/C][C]544.452093023256[/C][C]18.5479069767442[/C][/ROW]
[ROW][C]52[/C][C]552[/C][C]539.452093023256[/C][C]12.5479069767442[/C][/ROW]
[ROW][C]53[/C][C]537[/C][C]526.452093023256[/C][C]10.5479069767442[/C][/ROW]
[ROW][C]54[/C][C]545[/C][C]529.852093023256[/C][C]15.1479069767442[/C][/ROW]
[ROW][C]55[/C][C]601[/C][C]585.504186046512[/C][C]15.4958139534884[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102856&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102856&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
1593559.45209302325533.5479069767446
2590554.65209302325635.3479069767441
3580544.45209302325635.5479069767442
4574539.45209302325634.5479069767442
5573526.45209302325646.5479069767442
6573529.85209302325643.1479069767442
7620585.50418604651234.4958139534884
8626589.6302325581436.3697674418606
9620574.3802325581445.6197674418605
10588555.3802325581432.6197674418605
11566543.1302325581422.8697674418605
12557545.0651162790711.9348837209302
13561559.4520930232561.54790697674409
14549554.652093023256-5.6520930232558
15532544.452093023256-12.4520930232558
16526539.452093023256-13.4520930232558
17511526.452093023256-15.4520930232558
18499529.852093023256-30.8520930232558
19555585.504186046512-30.5041860465116
20565589.63023255814-24.6302325581396
21542574.38023255814-32.3802325581395
22527555.38023255814-28.3802325581395
23510543.13023255814-33.1302325581395
24514545.06511627907-31.0651162790698
25517559.452093023256-42.4520930232559
26508554.652093023256-46.6520930232558
27493544.452093023256-51.4520930232558
28490539.452093023256-49.4520930232558
29469526.452093023256-57.4520930232558
30478529.852093023256-51.8520930232558
31528567.243720930232-39.2437209302325
32534571.36976744186-37.3697674418605
33518556.11976744186-38.1197674418605
34506537.11976744186-31.1197674418604
35502524.86976744186-22.8697674418605
36516526.804651162791-10.8046511627907
37528541.191627906977-13.1916279069768
38533536.391627906977-3.39162790697671
39536526.1916279069779.8083720930233
40537521.19162790697715.8083720930233
41524508.19162790697715.8083720930232
42536511.59162790697724.4083720930233
43587567.24372093023319.7562790697675
44597571.3697674418625.6302325581395
45581556.1197674418624.8802325581395
46564537.1197674418626.8802325581396
47558524.8697674418633.1302325581395
48575545.0651162790729.9348837209302
49580559.45209302325620.5479069767441
50575554.65209302325620.3479069767442
51563544.45209302325618.5479069767442
52552539.45209302325612.5479069767442
53537526.45209302325610.5479069767442
54545529.85209302325615.1479069767442
55601585.50418604651215.4958139534884







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.6475005801221470.7049988397557070.352499419877853
170.68474606727720.6305078654456010.315253932722800
180.7565722922498450.4868554155003110.243427707750155
190.7646850270481070.4706299459037860.235314972951893
200.749612736214910.5007745275701790.250387263785089
210.77415993673640.45168012652720.2258400632636
220.7475352164053380.5049295671893230.252464783594662
230.7130557359148820.5738885281702370.286944264085118
240.6643369440346760.6713261119306490.335663055965324
250.6708518531086150.6582962937827710.329148146891385
260.69402250189750.6119549962049990.305977498102499
270.7448019279552220.5103961440895560.255198072044778
280.7901737762075990.4196524475848030.209826223792401
290.8741610266318590.2516779467362820.125838973368141
300.939279449097270.1214411018054610.0607205509027304
310.9404119229427480.1191761541145050.0595880770572524
320.9528817924741810.09423641505163760.0471182075258188
330.970310314374670.05937937125066080.0296896856253304
340.9844867729288120.03102645414237500.0155132270711875
350.9963190823840440.007361835231911690.00368091761595584
360.9970967215017820.005806556996436940.00290327849821847
370.998269972093960.003460055812078250.00173002790603913
380.9995018089640030.0009963820719943510.000498191035997176
390.9998395683667110.0003208632665780670.000160431633289034

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.647500580122147 & 0.704998839755707 & 0.352499419877853 \tabularnewline
17 & 0.6847460672772 & 0.630507865445601 & 0.315253932722800 \tabularnewline
18 & 0.756572292249845 & 0.486855415500311 & 0.243427707750155 \tabularnewline
19 & 0.764685027048107 & 0.470629945903786 & 0.235314972951893 \tabularnewline
20 & 0.74961273621491 & 0.500774527570179 & 0.250387263785089 \tabularnewline
21 & 0.7741599367364 & 0.4516801265272 & 0.2258400632636 \tabularnewline
22 & 0.747535216405338 & 0.504929567189323 & 0.252464783594662 \tabularnewline
23 & 0.713055735914882 & 0.573888528170237 & 0.286944264085118 \tabularnewline
24 & 0.664336944034676 & 0.671326111930649 & 0.335663055965324 \tabularnewline
25 & 0.670851853108615 & 0.658296293782771 & 0.329148146891385 \tabularnewline
26 & 0.6940225018975 & 0.611954996204999 & 0.305977498102499 \tabularnewline
27 & 0.744801927955222 & 0.510396144089556 & 0.255198072044778 \tabularnewline
28 & 0.790173776207599 & 0.419652447584803 & 0.209826223792401 \tabularnewline
29 & 0.874161026631859 & 0.251677946736282 & 0.125838973368141 \tabularnewline
30 & 0.93927944909727 & 0.121441101805461 & 0.0607205509027304 \tabularnewline
31 & 0.940411922942748 & 0.119176154114505 & 0.0595880770572524 \tabularnewline
32 & 0.952881792474181 & 0.0942364150516376 & 0.0471182075258188 \tabularnewline
33 & 0.97031031437467 & 0.0593793712506608 & 0.0296896856253304 \tabularnewline
34 & 0.984486772928812 & 0.0310264541423750 & 0.0155132270711875 \tabularnewline
35 & 0.996319082384044 & 0.00736183523191169 & 0.00368091761595584 \tabularnewline
36 & 0.997096721501782 & 0.00580655699643694 & 0.00290327849821847 \tabularnewline
37 & 0.99826997209396 & 0.00346005581207825 & 0.00173002790603913 \tabularnewline
38 & 0.999501808964003 & 0.000996382071994351 & 0.000498191035997176 \tabularnewline
39 & 0.999839568366711 & 0.000320863266578067 & 0.000160431633289034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102856&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.647500580122147[/C][C]0.704998839755707[/C][C]0.352499419877853[/C][/ROW]
[ROW][C]17[/C][C]0.6847460672772[/C][C]0.630507865445601[/C][C]0.315253932722800[/C][/ROW]
[ROW][C]18[/C][C]0.756572292249845[/C][C]0.486855415500311[/C][C]0.243427707750155[/C][/ROW]
[ROW][C]19[/C][C]0.764685027048107[/C][C]0.470629945903786[/C][C]0.235314972951893[/C][/ROW]
[ROW][C]20[/C][C]0.74961273621491[/C][C]0.500774527570179[/C][C]0.250387263785089[/C][/ROW]
[ROW][C]21[/C][C]0.7741599367364[/C][C]0.4516801265272[/C][C]0.2258400632636[/C][/ROW]
[ROW][C]22[/C][C]0.747535216405338[/C][C]0.504929567189323[/C][C]0.252464783594662[/C][/ROW]
[ROW][C]23[/C][C]0.713055735914882[/C][C]0.573888528170237[/C][C]0.286944264085118[/C][/ROW]
[ROW][C]24[/C][C]0.664336944034676[/C][C]0.671326111930649[/C][C]0.335663055965324[/C][/ROW]
[ROW][C]25[/C][C]0.670851853108615[/C][C]0.658296293782771[/C][C]0.329148146891385[/C][/ROW]
[ROW][C]26[/C][C]0.6940225018975[/C][C]0.611954996204999[/C][C]0.305977498102499[/C][/ROW]
[ROW][C]27[/C][C]0.744801927955222[/C][C]0.510396144089556[/C][C]0.255198072044778[/C][/ROW]
[ROW][C]28[/C][C]0.790173776207599[/C][C]0.419652447584803[/C][C]0.209826223792401[/C][/ROW]
[ROW][C]29[/C][C]0.874161026631859[/C][C]0.251677946736282[/C][C]0.125838973368141[/C][/ROW]
[ROW][C]30[/C][C]0.93927944909727[/C][C]0.121441101805461[/C][C]0.0607205509027304[/C][/ROW]
[ROW][C]31[/C][C]0.940411922942748[/C][C]0.119176154114505[/C][C]0.0595880770572524[/C][/ROW]
[ROW][C]32[/C][C]0.952881792474181[/C][C]0.0942364150516376[/C][C]0.0471182075258188[/C][/ROW]
[ROW][C]33[/C][C]0.97031031437467[/C][C]0.0593793712506608[/C][C]0.0296896856253304[/C][/ROW]
[ROW][C]34[/C][C]0.984486772928812[/C][C]0.0310264541423750[/C][C]0.0155132270711875[/C][/ROW]
[ROW][C]35[/C][C]0.996319082384044[/C][C]0.00736183523191169[/C][C]0.00368091761595584[/C][/ROW]
[ROW][C]36[/C][C]0.997096721501782[/C][C]0.00580655699643694[/C][C]0.00290327849821847[/C][/ROW]
[ROW][C]37[/C][C]0.99826997209396[/C][C]0.00346005581207825[/C][C]0.00173002790603913[/C][/ROW]
[ROW][C]38[/C][C]0.999501808964003[/C][C]0.000996382071994351[/C][C]0.000498191035997176[/C][/ROW]
[ROW][C]39[/C][C]0.999839568366711[/C][C]0.000320863266578067[/C][C]0.000160431633289034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102856&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102856&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.6475005801221470.7049988397557070.352499419877853
170.68474606727720.6305078654456010.315253932722800
180.7565722922498450.4868554155003110.243427707750155
190.7646850270481070.4706299459037860.235314972951893
200.749612736214910.5007745275701790.250387263785089
210.77415993673640.45168012652720.2258400632636
220.7475352164053380.5049295671893230.252464783594662
230.7130557359148820.5738885281702370.286944264085118
240.6643369440346760.6713261119306490.335663055965324
250.6708518531086150.6582962937827710.329148146891385
260.69402250189750.6119549962049990.305977498102499
270.7448019279552220.5103961440895560.255198072044778
280.7901737762075990.4196524475848030.209826223792401
290.8741610266318590.2516779467362820.125838973368141
300.939279449097270.1214411018054610.0607205509027304
310.9404119229427480.1191761541145050.0595880770572524
320.9528817924741810.09423641505163760.0471182075258188
330.970310314374670.05937937125066080.0296896856253304
340.9844867729288120.03102645414237500.0155132270711875
350.9963190823840440.007361835231911690.00368091761595584
360.9970967215017820.005806556996436940.00290327849821847
370.998269972093960.003460055812078250.00173002790603913
380.9995018089640030.0009963820719943510.000498191035997176
390.9998395683667110.0003208632665780670.000160431633289034







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level50.208333333333333NOK
5% type I error level60.25NOK
10% type I error level80.333333333333333NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102856&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 level50.208333333333333NOK
5% type I error level60.25NOK
10% type I error level80.333333333333333NOK



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