Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 18 Nov 2009 11:51:31 -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/18/t12585703263ue06aty3sr35u8.htm/, Retrieved Sat, 04 May 2024 17:19:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57590, Retrieved Sat, 04 May 2024 17:19:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact173
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 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-11-18 18:51:31] [f90b018c65398c2fee7b197f24b65ddd] [Current]
Feedback Forum

Post a new message
Dataseries X:
902.2	0
891.9	0
874	0
930.9	0
944.2	0
935.9	0
937.1	0
885.1	0
892.4	0
987.3	0
946.3	0
799.6	0
875.4	0
846.2	0
880.6	0
885.7	0
868.9	0
882.5	0
789.6	0
773.3	0
804.3	0
817.8	0
836.7	0
721.8	0
760.8	0
841.4	0
1045.6	0
949.2	0
850.1	0
957.4	0
851.8	0
913.9	0
888	0
973.8	0
927.6	1
833	1
879.5	1
797.3	1
834.5	1
735.1	1
835	1
892.8	1
697.2	1
821.1	1
732.7	1
797.6	1
866.3	1
826.3	1
778.6	1
779.2	1
951	1
692.3	1
841.4	1
857.3	1
760.7	1
841.2	1
810.3	1
1007.4	1
931.3	1
931.2	1




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 851.795 -49.0249999999999X[t] + 7.11499999999931M1[t] -0.985000000000101M2[t] + 84.9549999999999M3[t] + 6.45499999999989M4[t] + 35.7349999999999M5[t] + 72.9949999999999M6[t] -24.9050000000002M7[t] + 14.7349999999999M8[t] -6.64500000000013M9[t] + 84.5949999999999M10[t] + 79.2599999999998M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  851.795 -49.0249999999999X[t] +  7.11499999999931M1[t] -0.985000000000101M2[t] +  84.9549999999999M3[t] +  6.45499999999989M4[t] +  35.7349999999999M5[t] +  72.9949999999999M6[t] -24.9050000000002M7[t] +  14.7349999999999M8[t] -6.64500000000013M9[t] +  84.5949999999999M10[t] +  79.2599999999998M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57590&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  851.795 -49.0249999999999X[t] +  7.11499999999931M1[t] -0.985000000000101M2[t] +  84.9549999999999M3[t] +  6.45499999999989M4[t] +  35.7349999999999M5[t] +  72.9949999999999M6[t] -24.9050000000002M7[t] +  14.7349999999999M8[t] -6.64500000000013M9[t] +  84.5949999999999M10[t] +  79.2599999999998M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57590&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57590&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] = + 851.795 -49.0249999999999X[t] + 7.11499999999931M1[t] -0.985000000000101M2[t] + 84.9549999999999M3[t] + 6.45499999999989M4[t] + 35.7349999999999M5[t] + 72.9949999999999M6[t] -24.9050000000002M7[t] + 14.7349999999999M8[t] -6.64500000000013M9[t] + 84.5949999999999M10[t] + 79.2599999999998M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)851.79532.63853326.097800
X-49.024999999999918.132518-2.70370.0095160.004758
M17.1149999999993143.6688870.16290.8712720.435636
M2-0.98500000000010143.668887-0.02260.98210.49105
M384.954999999999943.6688871.94540.0577180.028859
M46.4549999999998943.6688870.14780.883120.44156
M535.734999999999943.6688870.81830.4173060.208653
M672.994999999999943.6688871.67160.1012580.050629
M7-24.905000000000243.668887-0.57030.5711810.28559
M814.734999999999943.6688870.33740.7372980.368649
M9-6.6450000000001343.668887-0.15220.8797060.439853
M1084.594999999999943.6688871.93720.0587450.029373
M1179.259999999999843.5180441.82130.0749280.037464

\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) & 851.795 & 32.638533 & 26.0978 & 0 & 0 \tabularnewline
X & -49.0249999999999 & 18.132518 & -2.7037 & 0.009516 & 0.004758 \tabularnewline
M1 & 7.11499999999931 & 43.668887 & 0.1629 & 0.871272 & 0.435636 \tabularnewline
M2 & -0.985000000000101 & 43.668887 & -0.0226 & 0.9821 & 0.49105 \tabularnewline
M3 & 84.9549999999999 & 43.668887 & 1.9454 & 0.057718 & 0.028859 \tabularnewline
M4 & 6.45499999999989 & 43.668887 & 0.1478 & 0.88312 & 0.44156 \tabularnewline
M5 & 35.7349999999999 & 43.668887 & 0.8183 & 0.417306 & 0.208653 \tabularnewline
M6 & 72.9949999999999 & 43.668887 & 1.6716 & 0.101258 & 0.050629 \tabularnewline
M7 & -24.9050000000002 & 43.668887 & -0.5703 & 0.571181 & 0.28559 \tabularnewline
M8 & 14.7349999999999 & 43.668887 & 0.3374 & 0.737298 & 0.368649 \tabularnewline
M9 & -6.64500000000013 & 43.668887 & -0.1522 & 0.879706 & 0.439853 \tabularnewline
M10 & 84.5949999999999 & 43.668887 & 1.9372 & 0.058745 & 0.029373 \tabularnewline
M11 & 79.2599999999998 & 43.518044 & 1.8213 & 0.074928 & 0.037464 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57590&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]851.795[/C][C]32.638533[/C][C]26.0978[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-49.0249999999999[/C][C]18.132518[/C][C]-2.7037[/C][C]0.009516[/C][C]0.004758[/C][/ROW]
[ROW][C]M1[/C][C]7.11499999999931[/C][C]43.668887[/C][C]0.1629[/C][C]0.871272[/C][C]0.435636[/C][/ROW]
[ROW][C]M2[/C][C]-0.985000000000101[/C][C]43.668887[/C][C]-0.0226[/C][C]0.9821[/C][C]0.49105[/C][/ROW]
[ROW][C]M3[/C][C]84.9549999999999[/C][C]43.668887[/C][C]1.9454[/C][C]0.057718[/C][C]0.028859[/C][/ROW]
[ROW][C]M4[/C][C]6.45499999999989[/C][C]43.668887[/C][C]0.1478[/C][C]0.88312[/C][C]0.44156[/C][/ROW]
[ROW][C]M5[/C][C]35.7349999999999[/C][C]43.668887[/C][C]0.8183[/C][C]0.417306[/C][C]0.208653[/C][/ROW]
[ROW][C]M6[/C][C]72.9949999999999[/C][C]43.668887[/C][C]1.6716[/C][C]0.101258[/C][C]0.050629[/C][/ROW]
[ROW][C]M7[/C][C]-24.9050000000002[/C][C]43.668887[/C][C]-0.5703[/C][C]0.571181[/C][C]0.28559[/C][/ROW]
[ROW][C]M8[/C][C]14.7349999999999[/C][C]43.668887[/C][C]0.3374[/C][C]0.737298[/C][C]0.368649[/C][/ROW]
[ROW][C]M9[/C][C]-6.64500000000013[/C][C]43.668887[/C][C]-0.1522[/C][C]0.879706[/C][C]0.439853[/C][/ROW]
[ROW][C]M10[/C][C]84.5949999999999[/C][C]43.668887[/C][C]1.9372[/C][C]0.058745[/C][C]0.029373[/C][/ROW]
[ROW][C]M11[/C][C]79.2599999999998[/C][C]43.518044[/C][C]1.8213[/C][C]0.074928[/C][C]0.037464[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57590&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57590&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)851.79532.63853326.097800
X-49.024999999999918.132518-2.70370.0095160.004758
M17.1149999999993143.6688870.16290.8712720.435636
M2-0.98500000000010143.668887-0.02260.98210.49105
M384.954999999999943.6688871.94540.0577180.028859
M46.4549999999998943.6688870.14780.883120.44156
M535.734999999999943.6688870.81830.4173060.208653
M672.994999999999943.6688871.67160.1012580.050629
M7-24.905000000000243.668887-0.57030.5711810.28559
M814.734999999999943.6688870.33740.7372980.368649
M9-6.6450000000001343.668887-0.15220.8797060.439853
M1084.594999999999943.6688871.93720.0587450.029373
M1179.259999999999843.5180441.82130.0749280.037464







Multiple Linear Regression - Regression Statistics
Multiple R0.595985612298031
R-squared0.355198850066259
Adjusted R-squared0.190568769232113
F-TEST (value)2.15755740546649
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.0304863044370849
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation68.8080690159383
Sum Squared Residuals222523.867000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.595985612298031 \tabularnewline
R-squared & 0.355198850066259 \tabularnewline
Adjusted R-squared & 0.190568769232113 \tabularnewline
F-TEST (value) & 2.15755740546649 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.0304863044370849 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 68.8080690159383 \tabularnewline
Sum Squared Residuals & 222523.867000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57590&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.595985612298031[/C][/ROW]
[ROW][C]R-squared[/C][C]0.355198850066259[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.190568769232113[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.15755740546649[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.0304863044370849[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]68.8080690159383[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]222523.867000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57590&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57590&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.595985612298031
R-squared0.355198850066259
Adjusted R-squared0.190568769232113
F-TEST (value)2.15755740546649
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.0304863044370849
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation68.8080690159383
Sum Squared Residuals222523.867000000







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1902.2858.91000000000243.2899999999981
2891.9850.8141.0900000000000
3874936.75-62.7499999999999
4930.9858.2572.6499999999999
5944.2887.5356.6700000000002
6935.9924.7911.1100000000000
7937.1826.89110.21
8885.1866.5318.5700000000000
9892.4845.1547.2500000000000
10987.3936.3950.91
11946.3931.05515.2450000000000
12799.6851.795-52.195
13875.4858.9116.4900000000005
14846.2850.81-4.6099999999999
15880.6936.75-56.15
16885.7858.2527.4500000000001
17868.9887.53-18.63
18882.5924.79-42.2900000000000
19789.6826.89-37.2899999999999
20773.3866.53-93.23
21804.3845.15-40.85
22817.8936.39-118.59
23836.7931.055-94.355
24721.8851.795-129.995000000000
25760.8858.91-98.1099999999994
26841.4850.81-9.40999999999996
271045.6936.75108.85
28949.2858.2590.95
29850.1887.53-37.4299999999999
30957.4924.7932.61
31851.8826.8924.91
32913.9866.5347.37
33888845.1542.85
34973.8936.3937.41
35927.6882.0345.57
36833802.7730.2299999999999
37879.5809.88569.6150000000005
38797.3801.785-4.48500000000004
39834.5887.725-53.2250000000001
40735.1809.225-74.125
41835838.505-3.50500000000001
42892.8875.76517.0349999999999
43697.2777.865-80.665
44821.1817.5053.59499999999998
45732.7796.125-63.425
46797.6887.365-89.765
47866.3882.03-15.7300000000001
48826.3802.7723.5299999999998
49778.6809.885-31.2849999999995
50779.2801.785-22.5849999999999
51951887.72563.2749999999999
52692.3809.225-116.925
53841.4838.5052.89499999999997
54857.3875.765-18.4650000000001
55760.7777.865-17.1650000000000
56841.2817.50523.695
57810.3796.12514.1749999999999
581007.4887.365120.035
59931.3882.0349.2699999999999
60931.2802.77128.43

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 902.2 & 858.910000000002 & 43.2899999999981 \tabularnewline
2 & 891.9 & 850.81 & 41.0900000000000 \tabularnewline
3 & 874 & 936.75 & -62.7499999999999 \tabularnewline
4 & 930.9 & 858.25 & 72.6499999999999 \tabularnewline
5 & 944.2 & 887.53 & 56.6700000000002 \tabularnewline
6 & 935.9 & 924.79 & 11.1100000000000 \tabularnewline
7 & 937.1 & 826.89 & 110.21 \tabularnewline
8 & 885.1 & 866.53 & 18.5700000000000 \tabularnewline
9 & 892.4 & 845.15 & 47.2500000000000 \tabularnewline
10 & 987.3 & 936.39 & 50.91 \tabularnewline
11 & 946.3 & 931.055 & 15.2450000000000 \tabularnewline
12 & 799.6 & 851.795 & -52.195 \tabularnewline
13 & 875.4 & 858.91 & 16.4900000000005 \tabularnewline
14 & 846.2 & 850.81 & -4.6099999999999 \tabularnewline
15 & 880.6 & 936.75 & -56.15 \tabularnewline
16 & 885.7 & 858.25 & 27.4500000000001 \tabularnewline
17 & 868.9 & 887.53 & -18.63 \tabularnewline
18 & 882.5 & 924.79 & -42.2900000000000 \tabularnewline
19 & 789.6 & 826.89 & -37.2899999999999 \tabularnewline
20 & 773.3 & 866.53 & -93.23 \tabularnewline
21 & 804.3 & 845.15 & -40.85 \tabularnewline
22 & 817.8 & 936.39 & -118.59 \tabularnewline
23 & 836.7 & 931.055 & -94.355 \tabularnewline
24 & 721.8 & 851.795 & -129.995000000000 \tabularnewline
25 & 760.8 & 858.91 & -98.1099999999994 \tabularnewline
26 & 841.4 & 850.81 & -9.40999999999996 \tabularnewline
27 & 1045.6 & 936.75 & 108.85 \tabularnewline
28 & 949.2 & 858.25 & 90.95 \tabularnewline
29 & 850.1 & 887.53 & -37.4299999999999 \tabularnewline
30 & 957.4 & 924.79 & 32.61 \tabularnewline
31 & 851.8 & 826.89 & 24.91 \tabularnewline
32 & 913.9 & 866.53 & 47.37 \tabularnewline
33 & 888 & 845.15 & 42.85 \tabularnewline
34 & 973.8 & 936.39 & 37.41 \tabularnewline
35 & 927.6 & 882.03 & 45.57 \tabularnewline
36 & 833 & 802.77 & 30.2299999999999 \tabularnewline
37 & 879.5 & 809.885 & 69.6150000000005 \tabularnewline
38 & 797.3 & 801.785 & -4.48500000000004 \tabularnewline
39 & 834.5 & 887.725 & -53.2250000000001 \tabularnewline
40 & 735.1 & 809.225 & -74.125 \tabularnewline
41 & 835 & 838.505 & -3.50500000000001 \tabularnewline
42 & 892.8 & 875.765 & 17.0349999999999 \tabularnewline
43 & 697.2 & 777.865 & -80.665 \tabularnewline
44 & 821.1 & 817.505 & 3.59499999999998 \tabularnewline
45 & 732.7 & 796.125 & -63.425 \tabularnewline
46 & 797.6 & 887.365 & -89.765 \tabularnewline
47 & 866.3 & 882.03 & -15.7300000000001 \tabularnewline
48 & 826.3 & 802.77 & 23.5299999999998 \tabularnewline
49 & 778.6 & 809.885 & -31.2849999999995 \tabularnewline
50 & 779.2 & 801.785 & -22.5849999999999 \tabularnewline
51 & 951 & 887.725 & 63.2749999999999 \tabularnewline
52 & 692.3 & 809.225 & -116.925 \tabularnewline
53 & 841.4 & 838.505 & 2.89499999999997 \tabularnewline
54 & 857.3 & 875.765 & -18.4650000000001 \tabularnewline
55 & 760.7 & 777.865 & -17.1650000000000 \tabularnewline
56 & 841.2 & 817.505 & 23.695 \tabularnewline
57 & 810.3 & 796.125 & 14.1749999999999 \tabularnewline
58 & 1007.4 & 887.365 & 120.035 \tabularnewline
59 & 931.3 & 882.03 & 49.2699999999999 \tabularnewline
60 & 931.2 & 802.77 & 128.43 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57590&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]902.2[/C][C]858.910000000002[/C][C]43.2899999999981[/C][/ROW]
[ROW][C]2[/C][C]891.9[/C][C]850.81[/C][C]41.0900000000000[/C][/ROW]
[ROW][C]3[/C][C]874[/C][C]936.75[/C][C]-62.7499999999999[/C][/ROW]
[ROW][C]4[/C][C]930.9[/C][C]858.25[/C][C]72.6499999999999[/C][/ROW]
[ROW][C]5[/C][C]944.2[/C][C]887.53[/C][C]56.6700000000002[/C][/ROW]
[ROW][C]6[/C][C]935.9[/C][C]924.79[/C][C]11.1100000000000[/C][/ROW]
[ROW][C]7[/C][C]937.1[/C][C]826.89[/C][C]110.21[/C][/ROW]
[ROW][C]8[/C][C]885.1[/C][C]866.53[/C][C]18.5700000000000[/C][/ROW]
[ROW][C]9[/C][C]892.4[/C][C]845.15[/C][C]47.2500000000000[/C][/ROW]
[ROW][C]10[/C][C]987.3[/C][C]936.39[/C][C]50.91[/C][/ROW]
[ROW][C]11[/C][C]946.3[/C][C]931.055[/C][C]15.2450000000000[/C][/ROW]
[ROW][C]12[/C][C]799.6[/C][C]851.795[/C][C]-52.195[/C][/ROW]
[ROW][C]13[/C][C]875.4[/C][C]858.91[/C][C]16.4900000000005[/C][/ROW]
[ROW][C]14[/C][C]846.2[/C][C]850.81[/C][C]-4.6099999999999[/C][/ROW]
[ROW][C]15[/C][C]880.6[/C][C]936.75[/C][C]-56.15[/C][/ROW]
[ROW][C]16[/C][C]885.7[/C][C]858.25[/C][C]27.4500000000001[/C][/ROW]
[ROW][C]17[/C][C]868.9[/C][C]887.53[/C][C]-18.63[/C][/ROW]
[ROW][C]18[/C][C]882.5[/C][C]924.79[/C][C]-42.2900000000000[/C][/ROW]
[ROW][C]19[/C][C]789.6[/C][C]826.89[/C][C]-37.2899999999999[/C][/ROW]
[ROW][C]20[/C][C]773.3[/C][C]866.53[/C][C]-93.23[/C][/ROW]
[ROW][C]21[/C][C]804.3[/C][C]845.15[/C][C]-40.85[/C][/ROW]
[ROW][C]22[/C][C]817.8[/C][C]936.39[/C][C]-118.59[/C][/ROW]
[ROW][C]23[/C][C]836.7[/C][C]931.055[/C][C]-94.355[/C][/ROW]
[ROW][C]24[/C][C]721.8[/C][C]851.795[/C][C]-129.995000000000[/C][/ROW]
[ROW][C]25[/C][C]760.8[/C][C]858.91[/C][C]-98.1099999999994[/C][/ROW]
[ROW][C]26[/C][C]841.4[/C][C]850.81[/C][C]-9.40999999999996[/C][/ROW]
[ROW][C]27[/C][C]1045.6[/C][C]936.75[/C][C]108.85[/C][/ROW]
[ROW][C]28[/C][C]949.2[/C][C]858.25[/C][C]90.95[/C][/ROW]
[ROW][C]29[/C][C]850.1[/C][C]887.53[/C][C]-37.4299999999999[/C][/ROW]
[ROW][C]30[/C][C]957.4[/C][C]924.79[/C][C]32.61[/C][/ROW]
[ROW][C]31[/C][C]851.8[/C][C]826.89[/C][C]24.91[/C][/ROW]
[ROW][C]32[/C][C]913.9[/C][C]866.53[/C][C]47.37[/C][/ROW]
[ROW][C]33[/C][C]888[/C][C]845.15[/C][C]42.85[/C][/ROW]
[ROW][C]34[/C][C]973.8[/C][C]936.39[/C][C]37.41[/C][/ROW]
[ROW][C]35[/C][C]927.6[/C][C]882.03[/C][C]45.57[/C][/ROW]
[ROW][C]36[/C][C]833[/C][C]802.77[/C][C]30.2299999999999[/C][/ROW]
[ROW][C]37[/C][C]879.5[/C][C]809.885[/C][C]69.6150000000005[/C][/ROW]
[ROW][C]38[/C][C]797.3[/C][C]801.785[/C][C]-4.48500000000004[/C][/ROW]
[ROW][C]39[/C][C]834.5[/C][C]887.725[/C][C]-53.2250000000001[/C][/ROW]
[ROW][C]40[/C][C]735.1[/C][C]809.225[/C][C]-74.125[/C][/ROW]
[ROW][C]41[/C][C]835[/C][C]838.505[/C][C]-3.50500000000001[/C][/ROW]
[ROW][C]42[/C][C]892.8[/C][C]875.765[/C][C]17.0349999999999[/C][/ROW]
[ROW][C]43[/C][C]697.2[/C][C]777.865[/C][C]-80.665[/C][/ROW]
[ROW][C]44[/C][C]821.1[/C][C]817.505[/C][C]3.59499999999998[/C][/ROW]
[ROW][C]45[/C][C]732.7[/C][C]796.125[/C][C]-63.425[/C][/ROW]
[ROW][C]46[/C][C]797.6[/C][C]887.365[/C][C]-89.765[/C][/ROW]
[ROW][C]47[/C][C]866.3[/C][C]882.03[/C][C]-15.7300000000001[/C][/ROW]
[ROW][C]48[/C][C]826.3[/C][C]802.77[/C][C]23.5299999999998[/C][/ROW]
[ROW][C]49[/C][C]778.6[/C][C]809.885[/C][C]-31.2849999999995[/C][/ROW]
[ROW][C]50[/C][C]779.2[/C][C]801.785[/C][C]-22.5849999999999[/C][/ROW]
[ROW][C]51[/C][C]951[/C][C]887.725[/C][C]63.2749999999999[/C][/ROW]
[ROW][C]52[/C][C]692.3[/C][C]809.225[/C][C]-116.925[/C][/ROW]
[ROW][C]53[/C][C]841.4[/C][C]838.505[/C][C]2.89499999999997[/C][/ROW]
[ROW][C]54[/C][C]857.3[/C][C]875.765[/C][C]-18.4650000000001[/C][/ROW]
[ROW][C]55[/C][C]760.7[/C][C]777.865[/C][C]-17.1650000000000[/C][/ROW]
[ROW][C]56[/C][C]841.2[/C][C]817.505[/C][C]23.695[/C][/ROW]
[ROW][C]57[/C][C]810.3[/C][C]796.125[/C][C]14.1749999999999[/C][/ROW]
[ROW][C]58[/C][C]1007.4[/C][C]887.365[/C][C]120.035[/C][/ROW]
[ROW][C]59[/C][C]931.3[/C][C]882.03[/C][C]49.2699999999999[/C][/ROW]
[ROW][C]60[/C][C]931.2[/C][C]802.77[/C][C]128.43[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57590&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57590&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
1902.2858.91000000000243.2899999999981
2891.9850.8141.0900000000000
3874936.75-62.7499999999999
4930.9858.2572.6499999999999
5944.2887.5356.6700000000002
6935.9924.7911.1100000000000
7937.1826.89110.21
8885.1866.5318.5700000000000
9892.4845.1547.2500000000000
10987.3936.3950.91
11946.3931.05515.2450000000000
12799.6851.795-52.195
13875.4858.9116.4900000000005
14846.2850.81-4.6099999999999
15880.6936.75-56.15
16885.7858.2527.4500000000001
17868.9887.53-18.63
18882.5924.79-42.2900000000000
19789.6826.89-37.2899999999999
20773.3866.53-93.23
21804.3845.15-40.85
22817.8936.39-118.59
23836.7931.055-94.355
24721.8851.795-129.995000000000
25760.8858.91-98.1099999999994
26841.4850.81-9.40999999999996
271045.6936.75108.85
28949.2858.2590.95
29850.1887.53-37.4299999999999
30957.4924.7932.61
31851.8826.8924.91
32913.9866.5347.37
33888845.1542.85
34973.8936.3937.41
35927.6882.0345.57
36833802.7730.2299999999999
37879.5809.88569.6150000000005
38797.3801.785-4.48500000000004
39834.5887.725-53.2250000000001
40735.1809.225-74.125
41835838.505-3.50500000000001
42892.8875.76517.0349999999999
43697.2777.865-80.665
44821.1817.5053.59499999999998
45732.7796.125-63.425
46797.6887.365-89.765
47866.3882.03-15.7300000000001
48826.3802.7723.5299999999998
49778.6809.885-31.2849999999995
50779.2801.785-22.5849999999999
51951887.72563.2749999999999
52692.3809.225-116.925
53841.4838.5052.89499999999997
54857.3875.765-18.4650000000001
55760.7777.865-17.1650000000000
56841.2817.50523.695
57810.3796.12514.1749999999999
581007.4887.365120.035
59931.3882.0349.2699999999999
60931.2802.77128.43







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.07411024709034050.1482204941806810.92588975290966
170.08798816252502920.1759763250500580.912011837474971
180.05853564670412020.1170712934082400.94146435329588
190.2016743268083920.4033486536167840.798325673191608
200.2503339843207820.5006679686415630.749666015679219
210.2245966643883540.4491933287767080.775403335611646
220.4205259780147220.8410519560294430.579474021985278
230.4697480280171410.9394960560342820.530251971982859
240.650402931405070.6991941371898590.349597068594929
250.825888712810150.3482225743797010.174111287189850
260.774167296264120.4516654074717590.225832703735879
270.859081854716850.2818362905662990.140918145283149
280.9025611076769720.1948777846460570.0974388923230285
290.8929491083096110.2141017833807770.107050891690388
300.8495124020508610.3009751958982780.150487597949139
310.7901021371644970.4197957256710050.209897862835503
320.7467307518662130.5065384962675730.253269248133787
330.6770391201925020.6459217596149960.322960879807498
340.6077828532548160.7844342934903680.392217146745184
350.5140610998974890.9718778002050220.485938900102511
360.434418804091640.868837608183280.56558119590836
370.4126425820293710.8252851640587420.587357417970629
380.3563453286499040.7126906572998080.643654671350096
390.414625376756060.829250753512120.58537462324394
400.4237841494718270.8475682989436530.576215850528173
410.3058151862280190.6116303724560390.69418481377198
420.2079944874816950.4159889749633910.792005512518305
430.1664910427278600.3329820854557210.83350895727214
440.0882142763370410.1764285526740820.91178572366296

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0741102470903405 & 0.148220494180681 & 0.92588975290966 \tabularnewline
17 & 0.0879881625250292 & 0.175976325050058 & 0.912011837474971 \tabularnewline
18 & 0.0585356467041202 & 0.117071293408240 & 0.94146435329588 \tabularnewline
19 & 0.201674326808392 & 0.403348653616784 & 0.798325673191608 \tabularnewline
20 & 0.250333984320782 & 0.500667968641563 & 0.749666015679219 \tabularnewline
21 & 0.224596664388354 & 0.449193328776708 & 0.775403335611646 \tabularnewline
22 & 0.420525978014722 & 0.841051956029443 & 0.579474021985278 \tabularnewline
23 & 0.469748028017141 & 0.939496056034282 & 0.530251971982859 \tabularnewline
24 & 0.65040293140507 & 0.699194137189859 & 0.349597068594929 \tabularnewline
25 & 0.82588871281015 & 0.348222574379701 & 0.174111287189850 \tabularnewline
26 & 0.77416729626412 & 0.451665407471759 & 0.225832703735879 \tabularnewline
27 & 0.85908185471685 & 0.281836290566299 & 0.140918145283149 \tabularnewline
28 & 0.902561107676972 & 0.194877784646057 & 0.0974388923230285 \tabularnewline
29 & 0.892949108309611 & 0.214101783380777 & 0.107050891690388 \tabularnewline
30 & 0.849512402050861 & 0.300975195898278 & 0.150487597949139 \tabularnewline
31 & 0.790102137164497 & 0.419795725671005 & 0.209897862835503 \tabularnewline
32 & 0.746730751866213 & 0.506538496267573 & 0.253269248133787 \tabularnewline
33 & 0.677039120192502 & 0.645921759614996 & 0.322960879807498 \tabularnewline
34 & 0.607782853254816 & 0.784434293490368 & 0.392217146745184 \tabularnewline
35 & 0.514061099897489 & 0.971877800205022 & 0.485938900102511 \tabularnewline
36 & 0.43441880409164 & 0.86883760818328 & 0.56558119590836 \tabularnewline
37 & 0.412642582029371 & 0.825285164058742 & 0.587357417970629 \tabularnewline
38 & 0.356345328649904 & 0.712690657299808 & 0.643654671350096 \tabularnewline
39 & 0.41462537675606 & 0.82925075351212 & 0.58537462324394 \tabularnewline
40 & 0.423784149471827 & 0.847568298943653 & 0.576215850528173 \tabularnewline
41 & 0.305815186228019 & 0.611630372456039 & 0.69418481377198 \tabularnewline
42 & 0.207994487481695 & 0.415988974963391 & 0.792005512518305 \tabularnewline
43 & 0.166491042727860 & 0.332982085455721 & 0.83350895727214 \tabularnewline
44 & 0.088214276337041 & 0.176428552674082 & 0.91178572366296 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57590&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.0741102470903405[/C][C]0.148220494180681[/C][C]0.92588975290966[/C][/ROW]
[ROW][C]17[/C][C]0.0879881625250292[/C][C]0.175976325050058[/C][C]0.912011837474971[/C][/ROW]
[ROW][C]18[/C][C]0.0585356467041202[/C][C]0.117071293408240[/C][C]0.94146435329588[/C][/ROW]
[ROW][C]19[/C][C]0.201674326808392[/C][C]0.403348653616784[/C][C]0.798325673191608[/C][/ROW]
[ROW][C]20[/C][C]0.250333984320782[/C][C]0.500667968641563[/C][C]0.749666015679219[/C][/ROW]
[ROW][C]21[/C][C]0.224596664388354[/C][C]0.449193328776708[/C][C]0.775403335611646[/C][/ROW]
[ROW][C]22[/C][C]0.420525978014722[/C][C]0.841051956029443[/C][C]0.579474021985278[/C][/ROW]
[ROW][C]23[/C][C]0.469748028017141[/C][C]0.939496056034282[/C][C]0.530251971982859[/C][/ROW]
[ROW][C]24[/C][C]0.65040293140507[/C][C]0.699194137189859[/C][C]0.349597068594929[/C][/ROW]
[ROW][C]25[/C][C]0.82588871281015[/C][C]0.348222574379701[/C][C]0.174111287189850[/C][/ROW]
[ROW][C]26[/C][C]0.77416729626412[/C][C]0.451665407471759[/C][C]0.225832703735879[/C][/ROW]
[ROW][C]27[/C][C]0.85908185471685[/C][C]0.281836290566299[/C][C]0.140918145283149[/C][/ROW]
[ROW][C]28[/C][C]0.902561107676972[/C][C]0.194877784646057[/C][C]0.0974388923230285[/C][/ROW]
[ROW][C]29[/C][C]0.892949108309611[/C][C]0.214101783380777[/C][C]0.107050891690388[/C][/ROW]
[ROW][C]30[/C][C]0.849512402050861[/C][C]0.300975195898278[/C][C]0.150487597949139[/C][/ROW]
[ROW][C]31[/C][C]0.790102137164497[/C][C]0.419795725671005[/C][C]0.209897862835503[/C][/ROW]
[ROW][C]32[/C][C]0.746730751866213[/C][C]0.506538496267573[/C][C]0.253269248133787[/C][/ROW]
[ROW][C]33[/C][C]0.677039120192502[/C][C]0.645921759614996[/C][C]0.322960879807498[/C][/ROW]
[ROW][C]34[/C][C]0.607782853254816[/C][C]0.784434293490368[/C][C]0.392217146745184[/C][/ROW]
[ROW][C]35[/C][C]0.514061099897489[/C][C]0.971877800205022[/C][C]0.485938900102511[/C][/ROW]
[ROW][C]36[/C][C]0.43441880409164[/C][C]0.86883760818328[/C][C]0.56558119590836[/C][/ROW]
[ROW][C]37[/C][C]0.412642582029371[/C][C]0.825285164058742[/C][C]0.587357417970629[/C][/ROW]
[ROW][C]38[/C][C]0.356345328649904[/C][C]0.712690657299808[/C][C]0.643654671350096[/C][/ROW]
[ROW][C]39[/C][C]0.41462537675606[/C][C]0.82925075351212[/C][C]0.58537462324394[/C][/ROW]
[ROW][C]40[/C][C]0.423784149471827[/C][C]0.847568298943653[/C][C]0.576215850528173[/C][/ROW]
[ROW][C]41[/C][C]0.305815186228019[/C][C]0.611630372456039[/C][C]0.69418481377198[/C][/ROW]
[ROW][C]42[/C][C]0.207994487481695[/C][C]0.415988974963391[/C][C]0.792005512518305[/C][/ROW]
[ROW][C]43[/C][C]0.166491042727860[/C][C]0.332982085455721[/C][C]0.83350895727214[/C][/ROW]
[ROW][C]44[/C][C]0.088214276337041[/C][C]0.176428552674082[/C][C]0.91178572366296[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57590&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57590&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.07411024709034050.1482204941806810.92588975290966
170.08798816252502920.1759763250500580.912011837474971
180.05853564670412020.1170712934082400.94146435329588
190.2016743268083920.4033486536167840.798325673191608
200.2503339843207820.5006679686415630.749666015679219
210.2245966643883540.4491933287767080.775403335611646
220.4205259780147220.8410519560294430.579474021985278
230.4697480280171410.9394960560342820.530251971982859
240.650402931405070.6991941371898590.349597068594929
250.825888712810150.3482225743797010.174111287189850
260.774167296264120.4516654074717590.225832703735879
270.859081854716850.2818362905662990.140918145283149
280.9025611076769720.1948777846460570.0974388923230285
290.8929491083096110.2141017833807770.107050891690388
300.8495124020508610.3009751958982780.150487597949139
310.7901021371644970.4197957256710050.209897862835503
320.7467307518662130.5065384962675730.253269248133787
330.6770391201925020.6459217596149960.322960879807498
340.6077828532548160.7844342934903680.392217146745184
350.5140610998974890.9718778002050220.485938900102511
360.434418804091640.868837608183280.56558119590836
370.4126425820293710.8252851640587420.587357417970629
380.3563453286499040.7126906572998080.643654671350096
390.414625376756060.829250753512120.58537462324394
400.4237841494718270.8475682989436530.576215850528173
410.3058151862280190.6116303724560390.69418481377198
420.2079944874816950.4159889749633910.792005512518305
430.1664910427278600.3329820854557210.83350895727214
440.0882142763370410.1764285526740820.91178572366296







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

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

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



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