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, 15 Dec 2008 02:03:23 -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/2008/Dec/15/t1229331852sl6kncj3ba2fumi.htm/, Retrieved Wed, 15 May 2024 08:28:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=33619, Retrieved Wed, 15 May 2024 08:28:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact230
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [H2: multiple line...] [2008-12-11 21:28:59] [1e1d8320a8a1170c475bf6e4ce119de6]
-   P     [Multiple Regression] [H2: multiple line...] [2008-12-15 09:03:23] [fdd69703d301fae09456f660b2f52997] [Current]
Feedback Forum

Post a new message
Dataseries X:
3258.1	0
3140.1	0
3627.4	0
3279.4	0
3204	0
3515.6	0
3146.6	0
2271.7	0
3627.9	0
3553.4	0
3018.3	0
3355.4	0
3242	0
3311.1	0
4125.2	1
3423	0
3120.3	0
3863	0
3240.8	0
2837.4	0
3945	0
3684.1	0
3659.6	0
3769.6	0
3592.7	0
3754	0
4507.8	1
3853.2	0
3817.2	0
3958.4	0
3428.9	0
3125.7	0
3977	0
3983.3	0
4299.6	0
4306.9	0
4259.5	0
3986	0
4755.6	1
3925.6	0
4206.5	0
4323.4	0
3816.1	0
3410.7	0
4227.4	0
4296.9	0
4351.7	0
3800	0
4277	0
4100.2	0
4672.5	0
4189.9	0
4231.9	0
4654.9	0
4298.5	0
3635.9	0
4505.1	0
4891.9	0
4894.2	0
4093.2	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33619&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]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33619&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33619&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'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
France[t] = + 3014.1975 + 312.916666666666Dummy[t] + 120.813541666666M1[t] + 29.5995833333333M2[t] + 497.635625M3[t] + 58.2716666666666M4[t] + 16.3977083333333M5[t] + 339.84375M6[t] -160.670208333333M7[t] -714.204166666667M8[t] + 262.361875M9[t] + 264.167916666667M10[t] + 203.293958333333M11[t] + 23.6339583333333t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
France[t] =  +  3014.1975 +  312.916666666666Dummy[t] +  120.813541666666M1[t] +  29.5995833333333M2[t] +  497.635625M3[t] +  58.2716666666666M4[t] +  16.3977083333333M5[t] +  339.84375M6[t] -160.670208333333M7[t] -714.204166666667M8[t] +  262.361875M9[t] +  264.167916666667M10[t] +  203.293958333333M11[t] +  23.6339583333333t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33619&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]France[t] =  +  3014.1975 +  312.916666666666Dummy[t] +  120.813541666666M1[t] +  29.5995833333333M2[t] +  497.635625M3[t] +  58.2716666666666M4[t] +  16.3977083333333M5[t] +  339.84375M6[t] -160.670208333333M7[t] -714.204166666667M8[t] +  262.361875M9[t] +  264.167916666667M10[t] +  203.293958333333M11[t] +  23.6339583333333t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33619&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33619&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
France[t] = + 3014.1975 + 312.916666666666Dummy[t] + 120.813541666666M1[t] + 29.5995833333333M2[t] + 497.635625M3[t] + 58.2716666666666M4[t] + 16.3977083333333M5[t] + 339.84375M6[t] -160.670208333333M7[t] -714.204166666667M8[t] + 262.361875M9[t] + 264.167916666667M10[t] + 203.293958333333M11[t] + 23.6339583333333t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3014.197595.75553931.47800
Dummy312.916666666666166.6889971.87720.0668340.033417
M1120.813541666666116.4919721.03710.3051120.152556
M229.5995833333333116.3179240.25450.8002660.400133
M3497.635625153.2836533.24650.0021830.001091
M458.2716666666666116.0189480.50230.6178810.30894
M516.3977083333333115.8941470.14150.8881020.444051
M6339.84375115.7858782.93510.0051890.002594
M7-160.670208333333115.694186-1.38870.1715970.085798
M8-714.204166666667115.619111-6.177200
M9262.361875115.5606862.27030.0279160.013958
M10264.167916666667115.5189362.28680.0268590.013429
M11203.293958333333115.4938791.76020.085020.04251
t23.63395833333331.38907517.014200

\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) & 3014.1975 & 95.755539 & 31.478 & 0 & 0 \tabularnewline
Dummy & 312.916666666666 & 166.688997 & 1.8772 & 0.066834 & 0.033417 \tabularnewline
M1 & 120.813541666666 & 116.491972 & 1.0371 & 0.305112 & 0.152556 \tabularnewline
M2 & 29.5995833333333 & 116.317924 & 0.2545 & 0.800266 & 0.400133 \tabularnewline
M3 & 497.635625 & 153.283653 & 3.2465 & 0.002183 & 0.001091 \tabularnewline
M4 & 58.2716666666666 & 116.018948 & 0.5023 & 0.617881 & 0.30894 \tabularnewline
M5 & 16.3977083333333 & 115.894147 & 0.1415 & 0.888102 & 0.444051 \tabularnewline
M6 & 339.84375 & 115.785878 & 2.9351 & 0.005189 & 0.002594 \tabularnewline
M7 & -160.670208333333 & 115.694186 & -1.3887 & 0.171597 & 0.085798 \tabularnewline
M8 & -714.204166666667 & 115.619111 & -6.1772 & 0 & 0 \tabularnewline
M9 & 262.361875 & 115.560686 & 2.2703 & 0.027916 & 0.013958 \tabularnewline
M10 & 264.167916666667 & 115.518936 & 2.2868 & 0.026859 & 0.013429 \tabularnewline
M11 & 203.293958333333 & 115.493879 & 1.7602 & 0.08502 & 0.04251 \tabularnewline
t & 23.6339583333333 & 1.389075 & 17.0142 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33619&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]3014.1975[/C][C]95.755539[/C][C]31.478[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]312.916666666666[/C][C]166.688997[/C][C]1.8772[/C][C]0.066834[/C][C]0.033417[/C][/ROW]
[ROW][C]M1[/C][C]120.813541666666[/C][C]116.491972[/C][C]1.0371[/C][C]0.305112[/C][C]0.152556[/C][/ROW]
[ROW][C]M2[/C][C]29.5995833333333[/C][C]116.317924[/C][C]0.2545[/C][C]0.800266[/C][C]0.400133[/C][/ROW]
[ROW][C]M3[/C][C]497.635625[/C][C]153.283653[/C][C]3.2465[/C][C]0.002183[/C][C]0.001091[/C][/ROW]
[ROW][C]M4[/C][C]58.2716666666666[/C][C]116.018948[/C][C]0.5023[/C][C]0.617881[/C][C]0.30894[/C][/ROW]
[ROW][C]M5[/C][C]16.3977083333333[/C][C]115.894147[/C][C]0.1415[/C][C]0.888102[/C][C]0.444051[/C][/ROW]
[ROW][C]M6[/C][C]339.84375[/C][C]115.785878[/C][C]2.9351[/C][C]0.005189[/C][C]0.002594[/C][/ROW]
[ROW][C]M7[/C][C]-160.670208333333[/C][C]115.694186[/C][C]-1.3887[/C][C]0.171597[/C][C]0.085798[/C][/ROW]
[ROW][C]M8[/C][C]-714.204166666667[/C][C]115.619111[/C][C]-6.1772[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]262.361875[/C][C]115.560686[/C][C]2.2703[/C][C]0.027916[/C][C]0.013958[/C][/ROW]
[ROW][C]M10[/C][C]264.167916666667[/C][C]115.518936[/C][C]2.2868[/C][C]0.026859[/C][C]0.013429[/C][/ROW]
[ROW][C]M11[/C][C]203.293958333333[/C][C]115.493879[/C][C]1.7602[/C][C]0.08502[/C][C]0.04251[/C][/ROW]
[ROW][C]t[/C][C]23.6339583333333[/C][C]1.389075[/C][C]17.0142[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33619&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33619&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)3014.197595.75553931.47800
Dummy312.916666666666166.6889971.87720.0668340.033417
M1120.813541666666116.4919721.03710.3051120.152556
M229.5995833333333116.3179240.25450.8002660.400133
M3497.635625153.2836533.24650.0021830.001091
M458.2716666666666116.0189480.50230.6178810.30894
M516.3977083333333115.8941470.14150.8881020.444051
M6339.84375115.7858782.93510.0051890.002594
M7-160.670208333333115.694186-1.38870.1715970.085798
M8-714.204166666667115.619111-6.177200
M9262.361875115.5606862.27030.0279160.013958
M10264.167916666667115.5189362.28680.0268590.013429
M11203.293958333333115.4938791.76020.085020.04251
t23.63395833333331.38907517.014200







Multiple Linear Regression - Regression Statistics
Multiple R0.95458026833265
R-squared0.911223488690033
Adjusted R-squared0.886134474624172
F-TEST (value)36.3196212612425
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation182.598647604203
Sum Squared Residuals1533744.24091666

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.95458026833265 \tabularnewline
R-squared & 0.911223488690033 \tabularnewline
Adjusted R-squared & 0.886134474624172 \tabularnewline
F-TEST (value) & 36.3196212612425 \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 & 182.598647604203 \tabularnewline
Sum Squared Residuals & 1533744.24091666 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33619&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.95458026833265[/C][/ROW]
[ROW][C]R-squared[/C][C]0.911223488690033[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.886134474624172[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]36.3196212612425[/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]182.598647604203[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1533744.24091666[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33619&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33619&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.95458026833265
R-squared0.911223488690033
Adjusted R-squared0.886134474624172
F-TEST (value)36.3196212612425
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation182.598647604203
Sum Squared Residuals1533744.24091666







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13258.13158.6450000000099.4549999999957
23140.13091.06549.035
33627.43582.73544.6650000000001
43279.43167.005112.395000000000
532043148.76555.2350000000001
63515.63495.84519.7550000000002
73146.63018.965127.635000000000
82271.72489.065-217.364999999999
93627.93489.265138.635
103553.43514.70538.695
113018.33477.465-459.165
123355.43297.80557.5950000000004
1332423442.2525-200.252499999999
143311.13374.6725-63.5724999999997
154125.24179.25916666667-54.0591666666669
1634233450.6125-27.6124999999999
173120.33432.3725-312.0725
1838633779.452583.5475000000002
193240.83302.5725-61.7724999999997
202837.42772.672564.7275000000001
2139453772.8725172.1275
223684.13798.3125-114.2125
233659.63761.0725-101.4725
243769.63581.4125188.1875
253592.73725.86-133.159999999999
2637543658.2895.72
274507.84462.8666666666744.9333333333334
283853.23734.22118.980000000000
293817.23715.98101.22
303958.44063.06-104.660000000000
313428.93586.18-157.28
323125.73056.2869.4199999999998
3339774056.48-79.4799999999999
343983.34081.92-98.6199999999997
354299.64044.68254.92
364306.93865.02441.88
374259.54009.4675250.032500000001
3839863941.887544.1124999999999
394755.64746.474166666679.12583333333356
403925.64017.8275-92.2275
414206.53999.5875206.9125
424323.44346.6675-23.2675000000003
433816.13869.7875-53.6875000000001
443410.73339.887570.8124999999998
454227.44340.0875-112.687500000000
464296.94365.5275-68.6275000000003
474351.74328.287523.4124999999996
4838004148.6275-348.6275
4942774293.075-16.0749999999991
504100.24225.495-125.295000000000
514672.54717.165-44.6650000000001
524189.94301.435-111.535000000000
534231.94283.195-51.2950000000003
544654.94630.27524.6249999999995
554298.54153.395145.105000000000
563635.93623.49512.4049999999997
574505.14623.695-118.595
584891.94649.135242.765
594894.24611.895282.305
604093.24432.235-339.035

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3258.1 & 3158.64500000000 & 99.4549999999957 \tabularnewline
2 & 3140.1 & 3091.065 & 49.035 \tabularnewline
3 & 3627.4 & 3582.735 & 44.6650000000001 \tabularnewline
4 & 3279.4 & 3167.005 & 112.395000000000 \tabularnewline
5 & 3204 & 3148.765 & 55.2350000000001 \tabularnewline
6 & 3515.6 & 3495.845 & 19.7550000000002 \tabularnewline
7 & 3146.6 & 3018.965 & 127.635000000000 \tabularnewline
8 & 2271.7 & 2489.065 & -217.364999999999 \tabularnewline
9 & 3627.9 & 3489.265 & 138.635 \tabularnewline
10 & 3553.4 & 3514.705 & 38.695 \tabularnewline
11 & 3018.3 & 3477.465 & -459.165 \tabularnewline
12 & 3355.4 & 3297.805 & 57.5950000000004 \tabularnewline
13 & 3242 & 3442.2525 & -200.252499999999 \tabularnewline
14 & 3311.1 & 3374.6725 & -63.5724999999997 \tabularnewline
15 & 4125.2 & 4179.25916666667 & -54.0591666666669 \tabularnewline
16 & 3423 & 3450.6125 & -27.6124999999999 \tabularnewline
17 & 3120.3 & 3432.3725 & -312.0725 \tabularnewline
18 & 3863 & 3779.4525 & 83.5475000000002 \tabularnewline
19 & 3240.8 & 3302.5725 & -61.7724999999997 \tabularnewline
20 & 2837.4 & 2772.6725 & 64.7275000000001 \tabularnewline
21 & 3945 & 3772.8725 & 172.1275 \tabularnewline
22 & 3684.1 & 3798.3125 & -114.2125 \tabularnewline
23 & 3659.6 & 3761.0725 & -101.4725 \tabularnewline
24 & 3769.6 & 3581.4125 & 188.1875 \tabularnewline
25 & 3592.7 & 3725.86 & -133.159999999999 \tabularnewline
26 & 3754 & 3658.28 & 95.72 \tabularnewline
27 & 4507.8 & 4462.86666666667 & 44.9333333333334 \tabularnewline
28 & 3853.2 & 3734.22 & 118.980000000000 \tabularnewline
29 & 3817.2 & 3715.98 & 101.22 \tabularnewline
30 & 3958.4 & 4063.06 & -104.660000000000 \tabularnewline
31 & 3428.9 & 3586.18 & -157.28 \tabularnewline
32 & 3125.7 & 3056.28 & 69.4199999999998 \tabularnewline
33 & 3977 & 4056.48 & -79.4799999999999 \tabularnewline
34 & 3983.3 & 4081.92 & -98.6199999999997 \tabularnewline
35 & 4299.6 & 4044.68 & 254.92 \tabularnewline
36 & 4306.9 & 3865.02 & 441.88 \tabularnewline
37 & 4259.5 & 4009.4675 & 250.032500000001 \tabularnewline
38 & 3986 & 3941.8875 & 44.1124999999999 \tabularnewline
39 & 4755.6 & 4746.47416666667 & 9.12583333333356 \tabularnewline
40 & 3925.6 & 4017.8275 & -92.2275 \tabularnewline
41 & 4206.5 & 3999.5875 & 206.9125 \tabularnewline
42 & 4323.4 & 4346.6675 & -23.2675000000003 \tabularnewline
43 & 3816.1 & 3869.7875 & -53.6875000000001 \tabularnewline
44 & 3410.7 & 3339.8875 & 70.8124999999998 \tabularnewline
45 & 4227.4 & 4340.0875 & -112.687500000000 \tabularnewline
46 & 4296.9 & 4365.5275 & -68.6275000000003 \tabularnewline
47 & 4351.7 & 4328.2875 & 23.4124999999996 \tabularnewline
48 & 3800 & 4148.6275 & -348.6275 \tabularnewline
49 & 4277 & 4293.075 & -16.0749999999991 \tabularnewline
50 & 4100.2 & 4225.495 & -125.295000000000 \tabularnewline
51 & 4672.5 & 4717.165 & -44.6650000000001 \tabularnewline
52 & 4189.9 & 4301.435 & -111.535000000000 \tabularnewline
53 & 4231.9 & 4283.195 & -51.2950000000003 \tabularnewline
54 & 4654.9 & 4630.275 & 24.6249999999995 \tabularnewline
55 & 4298.5 & 4153.395 & 145.105000000000 \tabularnewline
56 & 3635.9 & 3623.495 & 12.4049999999997 \tabularnewline
57 & 4505.1 & 4623.695 & -118.595 \tabularnewline
58 & 4891.9 & 4649.135 & 242.765 \tabularnewline
59 & 4894.2 & 4611.895 & 282.305 \tabularnewline
60 & 4093.2 & 4432.235 & -339.035 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33619&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]3258.1[/C][C]3158.64500000000[/C][C]99.4549999999957[/C][/ROW]
[ROW][C]2[/C][C]3140.1[/C][C]3091.065[/C][C]49.035[/C][/ROW]
[ROW][C]3[/C][C]3627.4[/C][C]3582.735[/C][C]44.6650000000001[/C][/ROW]
[ROW][C]4[/C][C]3279.4[/C][C]3167.005[/C][C]112.395000000000[/C][/ROW]
[ROW][C]5[/C][C]3204[/C][C]3148.765[/C][C]55.2350000000001[/C][/ROW]
[ROW][C]6[/C][C]3515.6[/C][C]3495.845[/C][C]19.7550000000002[/C][/ROW]
[ROW][C]7[/C][C]3146.6[/C][C]3018.965[/C][C]127.635000000000[/C][/ROW]
[ROW][C]8[/C][C]2271.7[/C][C]2489.065[/C][C]-217.364999999999[/C][/ROW]
[ROW][C]9[/C][C]3627.9[/C][C]3489.265[/C][C]138.635[/C][/ROW]
[ROW][C]10[/C][C]3553.4[/C][C]3514.705[/C][C]38.695[/C][/ROW]
[ROW][C]11[/C][C]3018.3[/C][C]3477.465[/C][C]-459.165[/C][/ROW]
[ROW][C]12[/C][C]3355.4[/C][C]3297.805[/C][C]57.5950000000004[/C][/ROW]
[ROW][C]13[/C][C]3242[/C][C]3442.2525[/C][C]-200.252499999999[/C][/ROW]
[ROW][C]14[/C][C]3311.1[/C][C]3374.6725[/C][C]-63.5724999999997[/C][/ROW]
[ROW][C]15[/C][C]4125.2[/C][C]4179.25916666667[/C][C]-54.0591666666669[/C][/ROW]
[ROW][C]16[/C][C]3423[/C][C]3450.6125[/C][C]-27.6124999999999[/C][/ROW]
[ROW][C]17[/C][C]3120.3[/C][C]3432.3725[/C][C]-312.0725[/C][/ROW]
[ROW][C]18[/C][C]3863[/C][C]3779.4525[/C][C]83.5475000000002[/C][/ROW]
[ROW][C]19[/C][C]3240.8[/C][C]3302.5725[/C][C]-61.7724999999997[/C][/ROW]
[ROW][C]20[/C][C]2837.4[/C][C]2772.6725[/C][C]64.7275000000001[/C][/ROW]
[ROW][C]21[/C][C]3945[/C][C]3772.8725[/C][C]172.1275[/C][/ROW]
[ROW][C]22[/C][C]3684.1[/C][C]3798.3125[/C][C]-114.2125[/C][/ROW]
[ROW][C]23[/C][C]3659.6[/C][C]3761.0725[/C][C]-101.4725[/C][/ROW]
[ROW][C]24[/C][C]3769.6[/C][C]3581.4125[/C][C]188.1875[/C][/ROW]
[ROW][C]25[/C][C]3592.7[/C][C]3725.86[/C][C]-133.159999999999[/C][/ROW]
[ROW][C]26[/C][C]3754[/C][C]3658.28[/C][C]95.72[/C][/ROW]
[ROW][C]27[/C][C]4507.8[/C][C]4462.86666666667[/C][C]44.9333333333334[/C][/ROW]
[ROW][C]28[/C][C]3853.2[/C][C]3734.22[/C][C]118.980000000000[/C][/ROW]
[ROW][C]29[/C][C]3817.2[/C][C]3715.98[/C][C]101.22[/C][/ROW]
[ROW][C]30[/C][C]3958.4[/C][C]4063.06[/C][C]-104.660000000000[/C][/ROW]
[ROW][C]31[/C][C]3428.9[/C][C]3586.18[/C][C]-157.28[/C][/ROW]
[ROW][C]32[/C][C]3125.7[/C][C]3056.28[/C][C]69.4199999999998[/C][/ROW]
[ROW][C]33[/C][C]3977[/C][C]4056.48[/C][C]-79.4799999999999[/C][/ROW]
[ROW][C]34[/C][C]3983.3[/C][C]4081.92[/C][C]-98.6199999999997[/C][/ROW]
[ROW][C]35[/C][C]4299.6[/C][C]4044.68[/C][C]254.92[/C][/ROW]
[ROW][C]36[/C][C]4306.9[/C][C]3865.02[/C][C]441.88[/C][/ROW]
[ROW][C]37[/C][C]4259.5[/C][C]4009.4675[/C][C]250.032500000001[/C][/ROW]
[ROW][C]38[/C][C]3986[/C][C]3941.8875[/C][C]44.1124999999999[/C][/ROW]
[ROW][C]39[/C][C]4755.6[/C][C]4746.47416666667[/C][C]9.12583333333356[/C][/ROW]
[ROW][C]40[/C][C]3925.6[/C][C]4017.8275[/C][C]-92.2275[/C][/ROW]
[ROW][C]41[/C][C]4206.5[/C][C]3999.5875[/C][C]206.9125[/C][/ROW]
[ROW][C]42[/C][C]4323.4[/C][C]4346.6675[/C][C]-23.2675000000003[/C][/ROW]
[ROW][C]43[/C][C]3816.1[/C][C]3869.7875[/C][C]-53.6875000000001[/C][/ROW]
[ROW][C]44[/C][C]3410.7[/C][C]3339.8875[/C][C]70.8124999999998[/C][/ROW]
[ROW][C]45[/C][C]4227.4[/C][C]4340.0875[/C][C]-112.687500000000[/C][/ROW]
[ROW][C]46[/C][C]4296.9[/C][C]4365.5275[/C][C]-68.6275000000003[/C][/ROW]
[ROW][C]47[/C][C]4351.7[/C][C]4328.2875[/C][C]23.4124999999996[/C][/ROW]
[ROW][C]48[/C][C]3800[/C][C]4148.6275[/C][C]-348.6275[/C][/ROW]
[ROW][C]49[/C][C]4277[/C][C]4293.075[/C][C]-16.0749999999991[/C][/ROW]
[ROW][C]50[/C][C]4100.2[/C][C]4225.495[/C][C]-125.295000000000[/C][/ROW]
[ROW][C]51[/C][C]4672.5[/C][C]4717.165[/C][C]-44.6650000000001[/C][/ROW]
[ROW][C]52[/C][C]4189.9[/C][C]4301.435[/C][C]-111.535000000000[/C][/ROW]
[ROW][C]53[/C][C]4231.9[/C][C]4283.195[/C][C]-51.2950000000003[/C][/ROW]
[ROW][C]54[/C][C]4654.9[/C][C]4630.275[/C][C]24.6249999999995[/C][/ROW]
[ROW][C]55[/C][C]4298.5[/C][C]4153.395[/C][C]145.105000000000[/C][/ROW]
[ROW][C]56[/C][C]3635.9[/C][C]3623.495[/C][C]12.4049999999997[/C][/ROW]
[ROW][C]57[/C][C]4505.1[/C][C]4623.695[/C][C]-118.595[/C][/ROW]
[ROW][C]58[/C][C]4891.9[/C][C]4649.135[/C][C]242.765[/C][/ROW]
[ROW][C]59[/C][C]4894.2[/C][C]4611.895[/C][C]282.305[/C][/ROW]
[ROW][C]60[/C][C]4093.2[/C][C]4432.235[/C][C]-339.035[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33619&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33619&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
13258.13158.6450000000099.4549999999957
23140.13091.06549.035
33627.43582.73544.6650000000001
43279.43167.005112.395000000000
532043148.76555.2350000000001
63515.63495.84519.7550000000002
73146.63018.965127.635000000000
82271.72489.065-217.364999999999
93627.93489.265138.635
103553.43514.70538.695
113018.33477.465-459.165
123355.43297.80557.5950000000004
1332423442.2525-200.252499999999
143311.13374.6725-63.5724999999997
154125.24179.25916666667-54.0591666666669
1634233450.6125-27.6124999999999
173120.33432.3725-312.0725
1838633779.452583.5475000000002
193240.83302.5725-61.7724999999997
202837.42772.672564.7275000000001
2139453772.8725172.1275
223684.13798.3125-114.2125
233659.63761.0725-101.4725
243769.63581.4125188.1875
253592.73725.86-133.159999999999
2637543658.2895.72
274507.84462.8666666666744.9333333333334
283853.23734.22118.980000000000
293817.23715.98101.22
303958.44063.06-104.660000000000
313428.93586.18-157.28
323125.73056.2869.4199999999998
3339774056.48-79.4799999999999
343983.34081.92-98.6199999999997
354299.64044.68254.92
364306.93865.02441.88
374259.54009.4675250.032500000001
3839863941.887544.1124999999999
394755.64746.474166666679.12583333333356
403925.64017.8275-92.2275
414206.53999.5875206.9125
424323.44346.6675-23.2675000000003
433816.13869.7875-53.6875000000001
443410.73339.887570.8124999999998
454227.44340.0875-112.687500000000
464296.94365.5275-68.6275000000003
474351.74328.287523.4124999999996
4838004148.6275-348.6275
4942774293.075-16.0749999999991
504100.24225.495-125.295000000000
514672.54717.165-44.6650000000001
524189.94301.435-111.535000000000
534231.94283.195-51.2950000000003
544654.94630.27524.6249999999995
554298.54153.395145.105000000000
563635.93623.49512.4049999999997
574505.14623.695-118.595
584891.94649.135242.765
594894.24611.895282.305
604093.24432.235-339.035







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1291980765778510.2583961531557020.870801923422149
180.2150293362512130.4300586725024260.784970663748787
190.1127385225689680.2254770451379350.887261477431032
200.3380938965978280.6761877931956570.661906103402172
210.2737547142362440.5475094284724870.726245285763756
220.1918786150494980.3837572300989960.808121384950502
230.4058256356392880.8116512712785760.594174364360712
240.3633292555619690.7266585111239370.636670744438031
250.3173025272999480.6346050545998960.682697472700052
260.2611809121078280.5223618242156560.738819087892172
270.1937531788930180.3875063577860360.806246821106982
280.1498789512984600.2997579025969210.85012104870154
290.1360972329677990.2721944659355970.863902767032201
300.114497443397710.228994886795420.88550255660229
310.1185145926444830.2370291852889670.881485407355517
320.08878365829195450.1775673165839090.911216341708046
330.07556991385224270.1511398277044850.924430086147757
340.07219329566240930.1443865913248190.92780670433759
350.1663025525579550.332605105115910.833697447442045
360.7824044842734690.4351910314530620.217595515726531
370.8425041682142520.3149916635714970.157495831785748
380.8302562749244580.3394874501510840.169743725075542
390.7367219444946760.5265561110106480.263278055505324
400.655339002795670.689321994408660.34466099720433
410.8226571433479580.3546857133040850.177342856652042
420.7102806837061850.5794386325876290.289719316293815
430.5655946909205470.8688106181589060.434405309079453

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.129198076577851 & 0.258396153155702 & 0.870801923422149 \tabularnewline
18 & 0.215029336251213 & 0.430058672502426 & 0.784970663748787 \tabularnewline
19 & 0.112738522568968 & 0.225477045137935 & 0.887261477431032 \tabularnewline
20 & 0.338093896597828 & 0.676187793195657 & 0.661906103402172 \tabularnewline
21 & 0.273754714236244 & 0.547509428472487 & 0.726245285763756 \tabularnewline
22 & 0.191878615049498 & 0.383757230098996 & 0.808121384950502 \tabularnewline
23 & 0.405825635639288 & 0.811651271278576 & 0.594174364360712 \tabularnewline
24 & 0.363329255561969 & 0.726658511123937 & 0.636670744438031 \tabularnewline
25 & 0.317302527299948 & 0.634605054599896 & 0.682697472700052 \tabularnewline
26 & 0.261180912107828 & 0.522361824215656 & 0.738819087892172 \tabularnewline
27 & 0.193753178893018 & 0.387506357786036 & 0.806246821106982 \tabularnewline
28 & 0.149878951298460 & 0.299757902596921 & 0.85012104870154 \tabularnewline
29 & 0.136097232967799 & 0.272194465935597 & 0.863902767032201 \tabularnewline
30 & 0.11449744339771 & 0.22899488679542 & 0.88550255660229 \tabularnewline
31 & 0.118514592644483 & 0.237029185288967 & 0.881485407355517 \tabularnewline
32 & 0.0887836582919545 & 0.177567316583909 & 0.911216341708046 \tabularnewline
33 & 0.0755699138522427 & 0.151139827704485 & 0.924430086147757 \tabularnewline
34 & 0.0721932956624093 & 0.144386591324819 & 0.92780670433759 \tabularnewline
35 & 0.166302552557955 & 0.33260510511591 & 0.833697447442045 \tabularnewline
36 & 0.782404484273469 & 0.435191031453062 & 0.217595515726531 \tabularnewline
37 & 0.842504168214252 & 0.314991663571497 & 0.157495831785748 \tabularnewline
38 & 0.830256274924458 & 0.339487450151084 & 0.169743725075542 \tabularnewline
39 & 0.736721944494676 & 0.526556111010648 & 0.263278055505324 \tabularnewline
40 & 0.65533900279567 & 0.68932199440866 & 0.34466099720433 \tabularnewline
41 & 0.822657143347958 & 0.354685713304085 & 0.177342856652042 \tabularnewline
42 & 0.710280683706185 & 0.579438632587629 & 0.289719316293815 \tabularnewline
43 & 0.565594690920547 & 0.868810618158906 & 0.434405309079453 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33619&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.129198076577851[/C][C]0.258396153155702[/C][C]0.870801923422149[/C][/ROW]
[ROW][C]18[/C][C]0.215029336251213[/C][C]0.430058672502426[/C][C]0.784970663748787[/C][/ROW]
[ROW][C]19[/C][C]0.112738522568968[/C][C]0.225477045137935[/C][C]0.887261477431032[/C][/ROW]
[ROW][C]20[/C][C]0.338093896597828[/C][C]0.676187793195657[/C][C]0.661906103402172[/C][/ROW]
[ROW][C]21[/C][C]0.273754714236244[/C][C]0.547509428472487[/C][C]0.726245285763756[/C][/ROW]
[ROW][C]22[/C][C]0.191878615049498[/C][C]0.383757230098996[/C][C]0.808121384950502[/C][/ROW]
[ROW][C]23[/C][C]0.405825635639288[/C][C]0.811651271278576[/C][C]0.594174364360712[/C][/ROW]
[ROW][C]24[/C][C]0.363329255561969[/C][C]0.726658511123937[/C][C]0.636670744438031[/C][/ROW]
[ROW][C]25[/C][C]0.317302527299948[/C][C]0.634605054599896[/C][C]0.682697472700052[/C][/ROW]
[ROW][C]26[/C][C]0.261180912107828[/C][C]0.522361824215656[/C][C]0.738819087892172[/C][/ROW]
[ROW][C]27[/C][C]0.193753178893018[/C][C]0.387506357786036[/C][C]0.806246821106982[/C][/ROW]
[ROW][C]28[/C][C]0.149878951298460[/C][C]0.299757902596921[/C][C]0.85012104870154[/C][/ROW]
[ROW][C]29[/C][C]0.136097232967799[/C][C]0.272194465935597[/C][C]0.863902767032201[/C][/ROW]
[ROW][C]30[/C][C]0.11449744339771[/C][C]0.22899488679542[/C][C]0.88550255660229[/C][/ROW]
[ROW][C]31[/C][C]0.118514592644483[/C][C]0.237029185288967[/C][C]0.881485407355517[/C][/ROW]
[ROW][C]32[/C][C]0.0887836582919545[/C][C]0.177567316583909[/C][C]0.911216341708046[/C][/ROW]
[ROW][C]33[/C][C]0.0755699138522427[/C][C]0.151139827704485[/C][C]0.924430086147757[/C][/ROW]
[ROW][C]34[/C][C]0.0721932956624093[/C][C]0.144386591324819[/C][C]0.92780670433759[/C][/ROW]
[ROW][C]35[/C][C]0.166302552557955[/C][C]0.33260510511591[/C][C]0.833697447442045[/C][/ROW]
[ROW][C]36[/C][C]0.782404484273469[/C][C]0.435191031453062[/C][C]0.217595515726531[/C][/ROW]
[ROW][C]37[/C][C]0.842504168214252[/C][C]0.314991663571497[/C][C]0.157495831785748[/C][/ROW]
[ROW][C]38[/C][C]0.830256274924458[/C][C]0.339487450151084[/C][C]0.169743725075542[/C][/ROW]
[ROW][C]39[/C][C]0.736721944494676[/C][C]0.526556111010648[/C][C]0.263278055505324[/C][/ROW]
[ROW][C]40[/C][C]0.65533900279567[/C][C]0.68932199440866[/C][C]0.34466099720433[/C][/ROW]
[ROW][C]41[/C][C]0.822657143347958[/C][C]0.354685713304085[/C][C]0.177342856652042[/C][/ROW]
[ROW][C]42[/C][C]0.710280683706185[/C][C]0.579438632587629[/C][C]0.289719316293815[/C][/ROW]
[ROW][C]43[/C][C]0.565594690920547[/C][C]0.868810618158906[/C][C]0.434405309079453[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33619&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33619&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.1291980765778510.2583961531557020.870801923422149
180.2150293362512130.4300586725024260.784970663748787
190.1127385225689680.2254770451379350.887261477431032
200.3380938965978280.6761877931956570.661906103402172
210.2737547142362440.5475094284724870.726245285763756
220.1918786150494980.3837572300989960.808121384950502
230.4058256356392880.8116512712785760.594174364360712
240.3633292555619690.7266585111239370.636670744438031
250.3173025272999480.6346050545998960.682697472700052
260.2611809121078280.5223618242156560.738819087892172
270.1937531788930180.3875063577860360.806246821106982
280.1498789512984600.2997579025969210.85012104870154
290.1360972329677990.2721944659355970.863902767032201
300.114497443397710.228994886795420.88550255660229
310.1185145926444830.2370291852889670.881485407355517
320.08878365829195450.1775673165839090.911216341708046
330.07556991385224270.1511398277044850.924430086147757
340.07219329566240930.1443865913248190.92780670433759
350.1663025525579550.332605105115910.833697447442045
360.7824044842734690.4351910314530620.217595515726531
370.8425041682142520.3149916635714970.157495831785748
380.8302562749244580.3394874501510840.169743725075542
390.7367219444946760.5265561110106480.263278055505324
400.655339002795670.689321994408660.34466099720433
410.8226571433479580.3546857133040850.177342856652042
420.7102806837061850.5794386325876290.289719316293815
430.5655946909205470.8688106181589060.434405309079453







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=33619&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=33619&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33619&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 = 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')
}