Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 27 Nov 2009 04:13:38 -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/Nov/27/t1259321486qusytllpq88u9ws.htm/, Retrieved Sun, 28 Apr 2024 19:02:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=60580, Retrieved Sun, 28 Apr 2024 19:02:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
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]
-    D    [Multiple Regression] [SHw WS7] [2009-11-18 15:00:59] [af2352cd9a951bedd08ebe247d0de1a2]
-   PD        [Multiple Regression] [Workshop 7] [2009-11-27 11:13:38] [ee8fc1691ecec7724e0ca78f0c288737] [Current]
Feedback Forum

Post a new message
Dataseries X:
627	0
696	0
825	0
677	0
656	0
785	0
412	0
352	0
839	0
729	0
696	0
641	0
695	0
638	0
762	0
635	0
721	0
854	0
418	0
367	0
824	0
687	0
601	0
676	0
740	0
691	0
683	0
594	0
729	0
731	0
386	0
331	0
707	0
715	0
657	0
653	0
642	0
643	0
718	0
654	0
632	0
731	0
392	0
344	0
792	0
852	0
649	0
629	0
685	1
617	1
715	1
715	1
629	1
916	1
531	1
357	1
917	1
828	1
708	1
858	1




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

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60580&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 701.25 + 79.75X[t] -21.4833333333334M1[t] -41.5666666666667M2[t] + 42.75M3[t] -42.1333333333332M4[t] -23.0166666666668M5[t] + 107.7M6[t] -267.183333333333M7[t] -344.066666666667M8[t] + 122.25M9[t] + 69.3666666666667M10[t] -29.9166666666666M11[t] -0.716666666666665t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  701.25 +  79.75X[t] -21.4833333333334M1[t] -41.5666666666667M2[t] +  42.75M3[t] -42.1333333333332M4[t] -23.0166666666668M5[t] +  107.7M6[t] -267.183333333333M7[t] -344.066666666667M8[t] +  122.25M9[t] +  69.3666666666667M10[t] -29.9166666666666M11[t] -0.716666666666665t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60580&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  701.25 +  79.75X[t] -21.4833333333334M1[t] -41.5666666666667M2[t] +  42.75M3[t] -42.1333333333332M4[t] -23.0166666666668M5[t] +  107.7M6[t] -267.183333333333M7[t] -344.066666666667M8[t] +  122.25M9[t] +  69.3666666666667M10[t] -29.9166666666666M11[t] -0.716666666666665t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60580&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60580&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] = + 701.25 + 79.75X[t] -21.4833333333334M1[t] -41.5666666666667M2[t] + 42.75M3[t] -42.1333333333332M4[t] -23.0166666666668M5[t] + 107.7M6[t] -267.183333333333M7[t] -344.066666666667M8[t] + 122.25M9[t] + 69.3666666666667M10[t] -29.9166666666666M11[t] -0.716666666666665t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)701.2529.97656823.393300
X79.7524.6405873.23650.0022460.001123
M1-21.483333333333434.735557-0.61850.5393080.269654
M2-41.566666666666734.633443-1.20020.2362110.118105
M342.7534.5407941.23770.222120.11106
M4-42.133333333333234.457687-1.22280.227650.113825
M5-23.016666666666834.38419-0.66940.5065890.253294
M6107.734.3203663.13810.0029660.001483
M7-267.18333333333334.266268-7.797300
M8-344.06666666666734.221942-10.05400
M9122.2534.1874273.57590.0008340.000417
M1069.366666666666734.1627512.03050.0481130.024056
M11-29.916666666666634.147938-0.87610.3855330.192767
t-0.7166666666666650.580784-1.2340.2234840.111742

\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) & 701.25 & 29.976568 & 23.3933 & 0 & 0 \tabularnewline
X & 79.75 & 24.640587 & 3.2365 & 0.002246 & 0.001123 \tabularnewline
M1 & -21.4833333333334 & 34.735557 & -0.6185 & 0.539308 & 0.269654 \tabularnewline
M2 & -41.5666666666667 & 34.633443 & -1.2002 & 0.236211 & 0.118105 \tabularnewline
M3 & 42.75 & 34.540794 & 1.2377 & 0.22212 & 0.11106 \tabularnewline
M4 & -42.1333333333332 & 34.457687 & -1.2228 & 0.22765 & 0.113825 \tabularnewline
M5 & -23.0166666666668 & 34.38419 & -0.6694 & 0.506589 & 0.253294 \tabularnewline
M6 & 107.7 & 34.320366 & 3.1381 & 0.002966 & 0.001483 \tabularnewline
M7 & -267.183333333333 & 34.266268 & -7.7973 & 0 & 0 \tabularnewline
M8 & -344.066666666667 & 34.221942 & -10.054 & 0 & 0 \tabularnewline
M9 & 122.25 & 34.187427 & 3.5759 & 0.000834 & 0.000417 \tabularnewline
M10 & 69.3666666666667 & 34.162751 & 2.0305 & 0.048113 & 0.024056 \tabularnewline
M11 & -29.9166666666666 & 34.147938 & -0.8761 & 0.385533 & 0.192767 \tabularnewline
t & -0.716666666666665 & 0.580784 & -1.234 & 0.223484 & 0.111742 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60580&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]701.25[/C][C]29.976568[/C][C]23.3933[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]79.75[/C][C]24.640587[/C][C]3.2365[/C][C]0.002246[/C][C]0.001123[/C][/ROW]
[ROW][C]M1[/C][C]-21.4833333333334[/C][C]34.735557[/C][C]-0.6185[/C][C]0.539308[/C][C]0.269654[/C][/ROW]
[ROW][C]M2[/C][C]-41.5666666666667[/C][C]34.633443[/C][C]-1.2002[/C][C]0.236211[/C][C]0.118105[/C][/ROW]
[ROW][C]M3[/C][C]42.75[/C][C]34.540794[/C][C]1.2377[/C][C]0.22212[/C][C]0.11106[/C][/ROW]
[ROW][C]M4[/C][C]-42.1333333333332[/C][C]34.457687[/C][C]-1.2228[/C][C]0.22765[/C][C]0.113825[/C][/ROW]
[ROW][C]M5[/C][C]-23.0166666666668[/C][C]34.38419[/C][C]-0.6694[/C][C]0.506589[/C][C]0.253294[/C][/ROW]
[ROW][C]M6[/C][C]107.7[/C][C]34.320366[/C][C]3.1381[/C][C]0.002966[/C][C]0.001483[/C][/ROW]
[ROW][C]M7[/C][C]-267.183333333333[/C][C]34.266268[/C][C]-7.7973[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-344.066666666667[/C][C]34.221942[/C][C]-10.054[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]122.25[/C][C]34.187427[/C][C]3.5759[/C][C]0.000834[/C][C]0.000417[/C][/ROW]
[ROW][C]M10[/C][C]69.3666666666667[/C][C]34.162751[/C][C]2.0305[/C][C]0.048113[/C][C]0.024056[/C][/ROW]
[ROW][C]M11[/C][C]-29.9166666666666[/C][C]34.147938[/C][C]-0.8761[/C][C]0.385533[/C][C]0.192767[/C][/ROW]
[ROW][C]t[/C][C]-0.716666666666665[/C][C]0.580784[/C][C]-1.234[/C][C]0.223484[/C][C]0.111742[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60580&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60580&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)701.2529.97656823.393300
X79.7524.6405873.23650.0022460.001123
M1-21.483333333333434.735557-0.61850.5393080.269654
M2-41.566666666666734.633443-1.20020.2362110.118105
M342.7534.5407941.23770.222120.11106
M4-42.133333333333234.457687-1.22280.227650.113825
M5-23.016666666666834.38419-0.66940.5065890.253294
M6107.734.3203663.13810.0029660.001483
M7-267.18333333333334.266268-7.797300
M8-344.06666666666734.221942-10.05400
M9122.2534.1874273.57590.0008340.000417
M1069.366666666666734.1627512.03050.0481130.024056
M11-29.916666666666634.147938-0.87610.3855330.192767
t-0.7166666666666650.580784-1.2340.2234840.111742







Multiple Linear Regression - Regression Statistics
Multiple R0.944260037716194
R-squared0.891627018827788
Adjusted R-squared0.860999871974771
F-TEST (value)29.1123108236891
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation53.9848207329173
Sum Squared Residuals134060.6

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.944260037716194 \tabularnewline
R-squared & 0.891627018827788 \tabularnewline
Adjusted R-squared & 0.860999871974771 \tabularnewline
F-TEST (value) & 29.1123108236891 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 53.9848207329173 \tabularnewline
Sum Squared Residuals & 134060.6 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60580&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.944260037716194[/C][/ROW]
[ROW][C]R-squared[/C][C]0.891627018827788[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.860999871974771[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]29.1123108236891[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/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]53.9848207329173[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]134060.6[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60580&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60580&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.944260037716194
R-squared0.891627018827788
Adjusted R-squared0.860999871974771
F-TEST (value)29.1123108236891
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation53.9848207329173
Sum Squared Residuals134060.6







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1627679.05-52.0500000000007
2696658.2537.7499999999999
3825741.8583.15
4677656.2520.7500000000000
5656674.65-18.6499999999999
6785804.65-19.6500000000000
7412429.050000000000-17.0499999999995
8352351.450.550000000000007
9839817.0521.9499999999998
10729763.45-34.4500000000000
11696663.4532.5500000000002
12641692.65-51.65
13695670.4524.5500000000002
14638649.65-11.6500000000000
15762733.2528.75
16635647.65-12.65
17721666.0554.95
18854796.0557.95
19418420.45-2.45000000000004
20367342.8524.1500000000001
21824808.4515.5500000000001
22687754.85-67.85
23601654.85-53.85
24676684.05-8.04999999999999
25740661.8578.1500000000001
26691641.0549.95
27683724.65-41.65
28594639.05-45.05
29729657.4571.55
30731787.45-56.45
31386411.85-25.8500000000001
32331334.25-3.24999999999997
33707799.85-92.85
34715746.25-31.25
35657646.2510.7500000000000
36653675.45-22.45
37642653.25-11.2499999999998
38643632.4510.5500000000000
39718716.051.94999999999998
40654630.4523.5500000000000
41632648.85-16.8500000000001
42731778.85-47.85
43392403.25-11.2500000000001
44344325.6518.35
45792791.250.750000000000033
46852737.65114.35
47649637.6511.3500000000000
48629666.85-37.85
49685724.4-39.3999999999998
50617703.6-86.6
51715787.2-72.2
52715701.613.4000000000000
53629720-91
5491685066
55531474.456.5999999999999
56357396.8-39.8000000000001
57917862.454.6000000000001
58828808.819.2000000000000
59708708.8-0.80000000000003
60858738120

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 627 & 679.05 & -52.0500000000007 \tabularnewline
2 & 696 & 658.25 & 37.7499999999999 \tabularnewline
3 & 825 & 741.85 & 83.15 \tabularnewline
4 & 677 & 656.25 & 20.7500000000000 \tabularnewline
5 & 656 & 674.65 & -18.6499999999999 \tabularnewline
6 & 785 & 804.65 & -19.6500000000000 \tabularnewline
7 & 412 & 429.050000000000 & -17.0499999999995 \tabularnewline
8 & 352 & 351.45 & 0.550000000000007 \tabularnewline
9 & 839 & 817.05 & 21.9499999999998 \tabularnewline
10 & 729 & 763.45 & -34.4500000000000 \tabularnewline
11 & 696 & 663.45 & 32.5500000000002 \tabularnewline
12 & 641 & 692.65 & -51.65 \tabularnewline
13 & 695 & 670.45 & 24.5500000000002 \tabularnewline
14 & 638 & 649.65 & -11.6500000000000 \tabularnewline
15 & 762 & 733.25 & 28.75 \tabularnewline
16 & 635 & 647.65 & -12.65 \tabularnewline
17 & 721 & 666.05 & 54.95 \tabularnewline
18 & 854 & 796.05 & 57.95 \tabularnewline
19 & 418 & 420.45 & -2.45000000000004 \tabularnewline
20 & 367 & 342.85 & 24.1500000000001 \tabularnewline
21 & 824 & 808.45 & 15.5500000000001 \tabularnewline
22 & 687 & 754.85 & -67.85 \tabularnewline
23 & 601 & 654.85 & -53.85 \tabularnewline
24 & 676 & 684.05 & -8.04999999999999 \tabularnewline
25 & 740 & 661.85 & 78.1500000000001 \tabularnewline
26 & 691 & 641.05 & 49.95 \tabularnewline
27 & 683 & 724.65 & -41.65 \tabularnewline
28 & 594 & 639.05 & -45.05 \tabularnewline
29 & 729 & 657.45 & 71.55 \tabularnewline
30 & 731 & 787.45 & -56.45 \tabularnewline
31 & 386 & 411.85 & -25.8500000000001 \tabularnewline
32 & 331 & 334.25 & -3.24999999999997 \tabularnewline
33 & 707 & 799.85 & -92.85 \tabularnewline
34 & 715 & 746.25 & -31.25 \tabularnewline
35 & 657 & 646.25 & 10.7500000000000 \tabularnewline
36 & 653 & 675.45 & -22.45 \tabularnewline
37 & 642 & 653.25 & -11.2499999999998 \tabularnewline
38 & 643 & 632.45 & 10.5500000000000 \tabularnewline
39 & 718 & 716.05 & 1.94999999999998 \tabularnewline
40 & 654 & 630.45 & 23.5500000000000 \tabularnewline
41 & 632 & 648.85 & -16.8500000000001 \tabularnewline
42 & 731 & 778.85 & -47.85 \tabularnewline
43 & 392 & 403.25 & -11.2500000000001 \tabularnewline
44 & 344 & 325.65 & 18.35 \tabularnewline
45 & 792 & 791.25 & 0.750000000000033 \tabularnewline
46 & 852 & 737.65 & 114.35 \tabularnewline
47 & 649 & 637.65 & 11.3500000000000 \tabularnewline
48 & 629 & 666.85 & -37.85 \tabularnewline
49 & 685 & 724.4 & -39.3999999999998 \tabularnewline
50 & 617 & 703.6 & -86.6 \tabularnewline
51 & 715 & 787.2 & -72.2 \tabularnewline
52 & 715 & 701.6 & 13.4000000000000 \tabularnewline
53 & 629 & 720 & -91 \tabularnewline
54 & 916 & 850 & 66 \tabularnewline
55 & 531 & 474.4 & 56.5999999999999 \tabularnewline
56 & 357 & 396.8 & -39.8000000000001 \tabularnewline
57 & 917 & 862.4 & 54.6000000000001 \tabularnewline
58 & 828 & 808.8 & 19.2000000000000 \tabularnewline
59 & 708 & 708.8 & -0.80000000000003 \tabularnewline
60 & 858 & 738 & 120 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60580&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]627[/C][C]679.05[/C][C]-52.0500000000007[/C][/ROW]
[ROW][C]2[/C][C]696[/C][C]658.25[/C][C]37.7499999999999[/C][/ROW]
[ROW][C]3[/C][C]825[/C][C]741.85[/C][C]83.15[/C][/ROW]
[ROW][C]4[/C][C]677[/C][C]656.25[/C][C]20.7500000000000[/C][/ROW]
[ROW][C]5[/C][C]656[/C][C]674.65[/C][C]-18.6499999999999[/C][/ROW]
[ROW][C]6[/C][C]785[/C][C]804.65[/C][C]-19.6500000000000[/C][/ROW]
[ROW][C]7[/C][C]412[/C][C]429.050000000000[/C][C]-17.0499999999995[/C][/ROW]
[ROW][C]8[/C][C]352[/C][C]351.45[/C][C]0.550000000000007[/C][/ROW]
[ROW][C]9[/C][C]839[/C][C]817.05[/C][C]21.9499999999998[/C][/ROW]
[ROW][C]10[/C][C]729[/C][C]763.45[/C][C]-34.4500000000000[/C][/ROW]
[ROW][C]11[/C][C]696[/C][C]663.45[/C][C]32.5500000000002[/C][/ROW]
[ROW][C]12[/C][C]641[/C][C]692.65[/C][C]-51.65[/C][/ROW]
[ROW][C]13[/C][C]695[/C][C]670.45[/C][C]24.5500000000002[/C][/ROW]
[ROW][C]14[/C][C]638[/C][C]649.65[/C][C]-11.6500000000000[/C][/ROW]
[ROW][C]15[/C][C]762[/C][C]733.25[/C][C]28.75[/C][/ROW]
[ROW][C]16[/C][C]635[/C][C]647.65[/C][C]-12.65[/C][/ROW]
[ROW][C]17[/C][C]721[/C][C]666.05[/C][C]54.95[/C][/ROW]
[ROW][C]18[/C][C]854[/C][C]796.05[/C][C]57.95[/C][/ROW]
[ROW][C]19[/C][C]418[/C][C]420.45[/C][C]-2.45000000000004[/C][/ROW]
[ROW][C]20[/C][C]367[/C][C]342.85[/C][C]24.1500000000001[/C][/ROW]
[ROW][C]21[/C][C]824[/C][C]808.45[/C][C]15.5500000000001[/C][/ROW]
[ROW][C]22[/C][C]687[/C][C]754.85[/C][C]-67.85[/C][/ROW]
[ROW][C]23[/C][C]601[/C][C]654.85[/C][C]-53.85[/C][/ROW]
[ROW][C]24[/C][C]676[/C][C]684.05[/C][C]-8.04999999999999[/C][/ROW]
[ROW][C]25[/C][C]740[/C][C]661.85[/C][C]78.1500000000001[/C][/ROW]
[ROW][C]26[/C][C]691[/C][C]641.05[/C][C]49.95[/C][/ROW]
[ROW][C]27[/C][C]683[/C][C]724.65[/C][C]-41.65[/C][/ROW]
[ROW][C]28[/C][C]594[/C][C]639.05[/C][C]-45.05[/C][/ROW]
[ROW][C]29[/C][C]729[/C][C]657.45[/C][C]71.55[/C][/ROW]
[ROW][C]30[/C][C]731[/C][C]787.45[/C][C]-56.45[/C][/ROW]
[ROW][C]31[/C][C]386[/C][C]411.85[/C][C]-25.8500000000001[/C][/ROW]
[ROW][C]32[/C][C]331[/C][C]334.25[/C][C]-3.24999999999997[/C][/ROW]
[ROW][C]33[/C][C]707[/C][C]799.85[/C][C]-92.85[/C][/ROW]
[ROW][C]34[/C][C]715[/C][C]746.25[/C][C]-31.25[/C][/ROW]
[ROW][C]35[/C][C]657[/C][C]646.25[/C][C]10.7500000000000[/C][/ROW]
[ROW][C]36[/C][C]653[/C][C]675.45[/C][C]-22.45[/C][/ROW]
[ROW][C]37[/C][C]642[/C][C]653.25[/C][C]-11.2499999999998[/C][/ROW]
[ROW][C]38[/C][C]643[/C][C]632.45[/C][C]10.5500000000000[/C][/ROW]
[ROW][C]39[/C][C]718[/C][C]716.05[/C][C]1.94999999999998[/C][/ROW]
[ROW][C]40[/C][C]654[/C][C]630.45[/C][C]23.5500000000000[/C][/ROW]
[ROW][C]41[/C][C]632[/C][C]648.85[/C][C]-16.8500000000001[/C][/ROW]
[ROW][C]42[/C][C]731[/C][C]778.85[/C][C]-47.85[/C][/ROW]
[ROW][C]43[/C][C]392[/C][C]403.25[/C][C]-11.2500000000001[/C][/ROW]
[ROW][C]44[/C][C]344[/C][C]325.65[/C][C]18.35[/C][/ROW]
[ROW][C]45[/C][C]792[/C][C]791.25[/C][C]0.750000000000033[/C][/ROW]
[ROW][C]46[/C][C]852[/C][C]737.65[/C][C]114.35[/C][/ROW]
[ROW][C]47[/C][C]649[/C][C]637.65[/C][C]11.3500000000000[/C][/ROW]
[ROW][C]48[/C][C]629[/C][C]666.85[/C][C]-37.85[/C][/ROW]
[ROW][C]49[/C][C]685[/C][C]724.4[/C][C]-39.3999999999998[/C][/ROW]
[ROW][C]50[/C][C]617[/C][C]703.6[/C][C]-86.6[/C][/ROW]
[ROW][C]51[/C][C]715[/C][C]787.2[/C][C]-72.2[/C][/ROW]
[ROW][C]52[/C][C]715[/C][C]701.6[/C][C]13.4000000000000[/C][/ROW]
[ROW][C]53[/C][C]629[/C][C]720[/C][C]-91[/C][/ROW]
[ROW][C]54[/C][C]916[/C][C]850[/C][C]66[/C][/ROW]
[ROW][C]55[/C][C]531[/C][C]474.4[/C][C]56.5999999999999[/C][/ROW]
[ROW][C]56[/C][C]357[/C][C]396.8[/C][C]-39.8000000000001[/C][/ROW]
[ROW][C]57[/C][C]917[/C][C]862.4[/C][C]54.6000000000001[/C][/ROW]
[ROW][C]58[/C][C]828[/C][C]808.8[/C][C]19.2000000000000[/C][/ROW]
[ROW][C]59[/C][C]708[/C][C]708.8[/C][C]-0.80000000000003[/C][/ROW]
[ROW][C]60[/C][C]858[/C][C]738[/C][C]120[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60580&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60580&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
1627679.05-52.0500000000007
2696658.2537.7499999999999
3825741.8583.15
4677656.2520.7500000000000
5656674.65-18.6499999999999
6785804.65-19.6500000000000
7412429.050000000000-17.0499999999995
8352351.450.550000000000007
9839817.0521.9499999999998
10729763.45-34.4500000000000
11696663.4532.5500000000002
12641692.65-51.65
13695670.4524.5500000000002
14638649.65-11.6500000000000
15762733.2528.75
16635647.65-12.65
17721666.0554.95
18854796.0557.95
19418420.45-2.45000000000004
20367342.8524.1500000000001
21824808.4515.5500000000001
22687754.85-67.85
23601654.85-53.85
24676684.05-8.04999999999999
25740661.8578.1500000000001
26691641.0549.95
27683724.65-41.65
28594639.05-45.05
29729657.4571.55
30731787.45-56.45
31386411.85-25.8500000000001
32331334.25-3.24999999999997
33707799.85-92.85
34715746.25-31.25
35657646.2510.7500000000000
36653675.45-22.45
37642653.25-11.2499999999998
38643632.4510.5500000000000
39718716.051.94999999999998
40654630.4523.5500000000000
41632648.85-16.8500000000001
42731778.85-47.85
43392403.25-11.2500000000001
44344325.6518.35
45792791.250.750000000000033
46852737.65114.35
47649637.6511.3500000000000
48629666.85-37.85
49685724.4-39.3999999999998
50617703.6-86.6
51715787.2-72.2
52715701.613.4000000000000
53629720-91
5491685066
55531474.456.5999999999999
56357396.8-39.8000000000001
57917862.454.6000000000001
58828808.819.2000000000000
59708708.8-0.80000000000003
60858738120







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.5122434206494320.9755131587011350.487756579350568
180.468460251112110.936920502224220.53153974888789
190.3165741250002370.6331482500004740.683425874999763
200.2091491957687660.4182983915375320.790850804231234
210.1381554843320080.2763109686640170.861844515667992
220.1052414559257400.2104829118514800.89475854407426
230.1311134770265550.262226954053110.868886522973445
240.08998322281215160.1799664456243030.910016777187848
250.1362812116628210.2725624233256420.863718788337179
260.1237354400269210.2474708800538420.876264559973079
270.2116234864064810.4232469728129620.788376513593519
280.1747624697048260.3495249394096520.825237530295174
290.3193744171998620.6387488343997230.680625582800138
300.3079593779193390.6159187558386780.692040622080661
310.2262129643706060.4524259287412120.773787035629394
320.1913726093903580.3827452187807170.808627390609642
330.2452171180387970.4904342360775950.754782881961203
340.2048831363614490.4097662727228980.795116863638551
350.1622254416094830.3244508832189650.837774558390517
360.106272125620930.212544251241860.89372787437907
370.06758219229519260.1351643845903850.932417807704807
380.06458895897741430.1291779179548290.935411041022586
390.05558600745472070.1111720149094410.94441399254528
400.03535283875004090.07070567750008190.96464716124996
410.03961026127277510.07922052254555030.960389738727225
420.03634207437783480.07268414875566950.963657925622165
430.02024666191724060.04049332383448120.97975333808276

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.512243420649432 & 0.975513158701135 & 0.487756579350568 \tabularnewline
18 & 0.46846025111211 & 0.93692050222422 & 0.53153974888789 \tabularnewline
19 & 0.316574125000237 & 0.633148250000474 & 0.683425874999763 \tabularnewline
20 & 0.209149195768766 & 0.418298391537532 & 0.790850804231234 \tabularnewline
21 & 0.138155484332008 & 0.276310968664017 & 0.861844515667992 \tabularnewline
22 & 0.105241455925740 & 0.210482911851480 & 0.89475854407426 \tabularnewline
23 & 0.131113477026555 & 0.26222695405311 & 0.868886522973445 \tabularnewline
24 & 0.0899832228121516 & 0.179966445624303 & 0.910016777187848 \tabularnewline
25 & 0.136281211662821 & 0.272562423325642 & 0.863718788337179 \tabularnewline
26 & 0.123735440026921 & 0.247470880053842 & 0.876264559973079 \tabularnewline
27 & 0.211623486406481 & 0.423246972812962 & 0.788376513593519 \tabularnewline
28 & 0.174762469704826 & 0.349524939409652 & 0.825237530295174 \tabularnewline
29 & 0.319374417199862 & 0.638748834399723 & 0.680625582800138 \tabularnewline
30 & 0.307959377919339 & 0.615918755838678 & 0.692040622080661 \tabularnewline
31 & 0.226212964370606 & 0.452425928741212 & 0.773787035629394 \tabularnewline
32 & 0.191372609390358 & 0.382745218780717 & 0.808627390609642 \tabularnewline
33 & 0.245217118038797 & 0.490434236077595 & 0.754782881961203 \tabularnewline
34 & 0.204883136361449 & 0.409766272722898 & 0.795116863638551 \tabularnewline
35 & 0.162225441609483 & 0.324450883218965 & 0.837774558390517 \tabularnewline
36 & 0.10627212562093 & 0.21254425124186 & 0.89372787437907 \tabularnewline
37 & 0.0675821922951926 & 0.135164384590385 & 0.932417807704807 \tabularnewline
38 & 0.0645889589774143 & 0.129177917954829 & 0.935411041022586 \tabularnewline
39 & 0.0555860074547207 & 0.111172014909441 & 0.94441399254528 \tabularnewline
40 & 0.0353528387500409 & 0.0707056775000819 & 0.96464716124996 \tabularnewline
41 & 0.0396102612727751 & 0.0792205225455503 & 0.960389738727225 \tabularnewline
42 & 0.0363420743778348 & 0.0726841487556695 & 0.963657925622165 \tabularnewline
43 & 0.0202466619172406 & 0.0404933238344812 & 0.97975333808276 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=60580&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.512243420649432[/C][C]0.975513158701135[/C][C]0.487756579350568[/C][/ROW]
[ROW][C]18[/C][C]0.46846025111211[/C][C]0.93692050222422[/C][C]0.53153974888789[/C][/ROW]
[ROW][C]19[/C][C]0.316574125000237[/C][C]0.633148250000474[/C][C]0.683425874999763[/C][/ROW]
[ROW][C]20[/C][C]0.209149195768766[/C][C]0.418298391537532[/C][C]0.790850804231234[/C][/ROW]
[ROW][C]21[/C][C]0.138155484332008[/C][C]0.276310968664017[/C][C]0.861844515667992[/C][/ROW]
[ROW][C]22[/C][C]0.105241455925740[/C][C]0.210482911851480[/C][C]0.89475854407426[/C][/ROW]
[ROW][C]23[/C][C]0.131113477026555[/C][C]0.26222695405311[/C][C]0.868886522973445[/C][/ROW]
[ROW][C]24[/C][C]0.0899832228121516[/C][C]0.179966445624303[/C][C]0.910016777187848[/C][/ROW]
[ROW][C]25[/C][C]0.136281211662821[/C][C]0.272562423325642[/C][C]0.863718788337179[/C][/ROW]
[ROW][C]26[/C][C]0.123735440026921[/C][C]0.247470880053842[/C][C]0.876264559973079[/C][/ROW]
[ROW][C]27[/C][C]0.211623486406481[/C][C]0.423246972812962[/C][C]0.788376513593519[/C][/ROW]
[ROW][C]28[/C][C]0.174762469704826[/C][C]0.349524939409652[/C][C]0.825237530295174[/C][/ROW]
[ROW][C]29[/C][C]0.319374417199862[/C][C]0.638748834399723[/C][C]0.680625582800138[/C][/ROW]
[ROW][C]30[/C][C]0.307959377919339[/C][C]0.615918755838678[/C][C]0.692040622080661[/C][/ROW]
[ROW][C]31[/C][C]0.226212964370606[/C][C]0.452425928741212[/C][C]0.773787035629394[/C][/ROW]
[ROW][C]32[/C][C]0.191372609390358[/C][C]0.382745218780717[/C][C]0.808627390609642[/C][/ROW]
[ROW][C]33[/C][C]0.245217118038797[/C][C]0.490434236077595[/C][C]0.754782881961203[/C][/ROW]
[ROW][C]34[/C][C]0.204883136361449[/C][C]0.409766272722898[/C][C]0.795116863638551[/C][/ROW]
[ROW][C]35[/C][C]0.162225441609483[/C][C]0.324450883218965[/C][C]0.837774558390517[/C][/ROW]
[ROW][C]36[/C][C]0.10627212562093[/C][C]0.21254425124186[/C][C]0.89372787437907[/C][/ROW]
[ROW][C]37[/C][C]0.0675821922951926[/C][C]0.135164384590385[/C][C]0.932417807704807[/C][/ROW]
[ROW][C]38[/C][C]0.0645889589774143[/C][C]0.129177917954829[/C][C]0.935411041022586[/C][/ROW]
[ROW][C]39[/C][C]0.0555860074547207[/C][C]0.111172014909441[/C][C]0.94441399254528[/C][/ROW]
[ROW][C]40[/C][C]0.0353528387500409[/C][C]0.0707056775000819[/C][C]0.96464716124996[/C][/ROW]
[ROW][C]41[/C][C]0.0396102612727751[/C][C]0.0792205225455503[/C][C]0.960389738727225[/C][/ROW]
[ROW][C]42[/C][C]0.0363420743778348[/C][C]0.0726841487556695[/C][C]0.963657925622165[/C][/ROW]
[ROW][C]43[/C][C]0.0202466619172406[/C][C]0.0404933238344812[/C][C]0.97975333808276[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=60580&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=60580&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.5122434206494320.9755131587011350.487756579350568
180.468460251112110.936920502224220.53153974888789
190.3165741250002370.6331482500004740.683425874999763
200.2091491957687660.4182983915375320.790850804231234
210.1381554843320080.2763109686640170.861844515667992
220.1052414559257400.2104829118514800.89475854407426
230.1311134770265550.262226954053110.868886522973445
240.08998322281215160.1799664456243030.910016777187848
250.1362812116628210.2725624233256420.863718788337179
260.1237354400269210.2474708800538420.876264559973079
270.2116234864064810.4232469728129620.788376513593519
280.1747624697048260.3495249394096520.825237530295174
290.3193744171998620.6387488343997230.680625582800138
300.3079593779193390.6159187558386780.692040622080661
310.2262129643706060.4524259287412120.773787035629394
320.1913726093903580.3827452187807170.808627390609642
330.2452171180387970.4904342360775950.754782881961203
340.2048831363614490.4097662727228980.795116863638551
350.1622254416094830.3244508832189650.837774558390517
360.106272125620930.212544251241860.89372787437907
370.06758219229519260.1351643845903850.932417807704807
380.06458895897741430.1291779179548290.935411041022586
390.05558600745472070.1111720149094410.94441399254528
400.03535283875004090.07070567750008190.96464716124996
410.03961026127277510.07922052254555030.960389738727225
420.03634207437783480.07268414875566950.963657925622165
430.02024666191724060.04049332383448120.97975333808276







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0370370370370370OK
10% type I error level40.148148148148148NOK

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

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

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0370370370370370OK
10% type I error level40.148148148148148NOK



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