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, 01 Dec 2008 11:42:46 -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/01/t1228157310sov8hi0ipyysgeo.htm/, Retrieved Sun, 05 May 2024 08:53:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27135, Retrieved Sun, 05 May 2024 08:53:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsblog paper
Estimated Impact192
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Blog paper] [2008-12-01 18:42:46] [0cdfeda4aa2f9e551c2e529c44a404df] [Current]
Feedback Forum

Post a new message
Dataseries X:
14929387,5	0
14717825,3	0
15826281,2	0
16301309,6	0
15033016,9	0
16998460,6	0
14066462,7	0
13328937,3	0
17319718,2	0
17586426,8	0
15887037,4	0
17935679,1	0
15869489	0
15892510,9	0
17556558,1	0
16791643	0
15953688,5	0
18144913,6	0
14390881	0
13885708,7	0
17332571,5	0
17152595,8	0
16003877,1	0
16841467,1	0
14783398,1	0
14667847,5	0
17714362,2	0
16282088	1
15014866,2	1
17722582,4	1
13876509,4	1
15495489,6	1
17799521,1	1
17920079,1	1
17248022,4	1
18813782,4	0
16249688,3	0
17823358,5	0
20424438,3	0
17814218,7	0
19699959,6	0
19776328,1	0
15679833,1	0
17119266,5	0
20092613	0
20863688,3	0
20925203,1	0
21032593	0
20664684,3	0
19711511,4	0
22553293,4	0
19498332,9	0
20722827,8	0
21321275	0
17960847,7	0
17789654,9	0
20003708,5	0
21169851,7	0
20422839,4	0
19810562,3	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=27135&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=27135&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27135&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
x[t] = + 15509742.34 -1300033.25625y[t] -1355603.48333334M1[t] -1386129.82666667M2[t] + 772438.47M3[t] -538830.702083335M4[t] -685284.965416666M5[t] + 728747.55125M6[t] -2962865.23208333M7[t] -2727768.23541667M8[t] + 164239.201249999M9[t] + 499333.457916666M10[t] -435606.625416667M11[t] + 93807.6233333334t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
x[t] =  +  15509742.34 -1300033.25625y[t] -1355603.48333334M1[t] -1386129.82666667M2[t] +  772438.47M3[t] -538830.702083335M4[t] -685284.965416666M5[t] +  728747.55125M6[t] -2962865.23208333M7[t] -2727768.23541667M8[t] +  164239.201249999M9[t] +  499333.457916666M10[t] -435606.625416667M11[t] +  93807.6233333334t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27135&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]x[t] =  +  15509742.34 -1300033.25625y[t] -1355603.48333334M1[t] -1386129.82666667M2[t] +  772438.47M3[t] -538830.702083335M4[t] -685284.965416666M5[t] +  728747.55125M6[t] -2962865.23208333M7[t] -2727768.23541667M8[t] +  164239.201249999M9[t] +  499333.457916666M10[t] -435606.625416667M11[t] +  93807.6233333334t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27135&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27135&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
x[t] = + 15509742.34 -1300033.25625y[t] -1355603.48333334M1[t] -1386129.82666667M2[t] + 772438.47M3[t] -538830.702083335M4[t] -685284.965416666M5[t] + 728747.55125M6[t] -2962865.23208333M7[t] -2727768.23541667M8[t] + 164239.201249999M9[t] + 499333.457916666M10[t] -435606.625416667M11[t] + 93807.6233333334t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)15509742.34490286.67004231.63400
y-1300033.25625369567.482782-3.51770.0009920.000496
M1-1355603.48333334596461.173308-2.27270.027760.01388
M2-1386129.82666667595570.013859-2.32740.0243990.0122
M3772438.47594762.5761721.29870.2005080.100254
M4-538830.702083335598619.894471-0.90010.3727440.186372
M5-685284.965416666597985.78544-1.1460.2577270.128863
M6728747.55125597435.679871.21980.2287610.11438
M7-2962865.23208333596969.809989-4.96321e-055e-06
M8-2727768.23541667596588.373133-4.57233.6e-051.8e-05
M9164239.201249999596291.5313320.27540.7842160.392108
M10499333.457916666596079.410970.83770.4065330.203266
M11-435606.625416667595952.102512-0.73090.4685210.234261
t93807.62333333347112.32952213.189400

\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) & 15509742.34 & 490286.670042 & 31.634 & 0 & 0 \tabularnewline
y & -1300033.25625 & 369567.482782 & -3.5177 & 0.000992 & 0.000496 \tabularnewline
M1 & -1355603.48333334 & 596461.173308 & -2.2727 & 0.02776 & 0.01388 \tabularnewline
M2 & -1386129.82666667 & 595570.013859 & -2.3274 & 0.024399 & 0.0122 \tabularnewline
M3 & 772438.47 & 594762.576172 & 1.2987 & 0.200508 & 0.100254 \tabularnewline
M4 & -538830.702083335 & 598619.894471 & -0.9001 & 0.372744 & 0.186372 \tabularnewline
M5 & -685284.965416666 & 597985.78544 & -1.146 & 0.257727 & 0.128863 \tabularnewline
M6 & 728747.55125 & 597435.67987 & 1.2198 & 0.228761 & 0.11438 \tabularnewline
M7 & -2962865.23208333 & 596969.809989 & -4.9632 & 1e-05 & 5e-06 \tabularnewline
M8 & -2727768.23541667 & 596588.373133 & -4.5723 & 3.6e-05 & 1.8e-05 \tabularnewline
M9 & 164239.201249999 & 596291.531332 & 0.2754 & 0.784216 & 0.392108 \tabularnewline
M10 & 499333.457916666 & 596079.41097 & 0.8377 & 0.406533 & 0.203266 \tabularnewline
M11 & -435606.625416667 & 595952.102512 & -0.7309 & 0.468521 & 0.234261 \tabularnewline
t & 93807.6233333334 & 7112.329522 & 13.1894 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27135&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]15509742.34[/C][C]490286.670042[/C][C]31.634[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]y[/C][C]-1300033.25625[/C][C]369567.482782[/C][C]-3.5177[/C][C]0.000992[/C][C]0.000496[/C][/ROW]
[ROW][C]M1[/C][C]-1355603.48333334[/C][C]596461.173308[/C][C]-2.2727[/C][C]0.02776[/C][C]0.01388[/C][/ROW]
[ROW][C]M2[/C][C]-1386129.82666667[/C][C]595570.013859[/C][C]-2.3274[/C][C]0.024399[/C][C]0.0122[/C][/ROW]
[ROW][C]M3[/C][C]772438.47[/C][C]594762.576172[/C][C]1.2987[/C][C]0.200508[/C][C]0.100254[/C][/ROW]
[ROW][C]M4[/C][C]-538830.702083335[/C][C]598619.894471[/C][C]-0.9001[/C][C]0.372744[/C][C]0.186372[/C][/ROW]
[ROW][C]M5[/C][C]-685284.965416666[/C][C]597985.78544[/C][C]-1.146[/C][C]0.257727[/C][C]0.128863[/C][/ROW]
[ROW][C]M6[/C][C]728747.55125[/C][C]597435.67987[/C][C]1.2198[/C][C]0.228761[/C][C]0.11438[/C][/ROW]
[ROW][C]M7[/C][C]-2962865.23208333[/C][C]596969.809989[/C][C]-4.9632[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]M8[/C][C]-2727768.23541667[/C][C]596588.373133[/C][C]-4.5723[/C][C]3.6e-05[/C][C]1.8e-05[/C][/ROW]
[ROW][C]M9[/C][C]164239.201249999[/C][C]596291.531332[/C][C]0.2754[/C][C]0.784216[/C][C]0.392108[/C][/ROW]
[ROW][C]M10[/C][C]499333.457916666[/C][C]596079.41097[/C][C]0.8377[/C][C]0.406533[/C][C]0.203266[/C][/ROW]
[ROW][C]M11[/C][C]-435606.625416667[/C][C]595952.102512[/C][C]-0.7309[/C][C]0.468521[/C][C]0.234261[/C][/ROW]
[ROW][C]t[/C][C]93807.6233333334[/C][C]7112.329522[/C][C]13.1894[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27135&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27135&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)15509742.34490286.67004231.63400
y-1300033.25625369567.482782-3.51770.0009920.000496
M1-1355603.48333334596461.173308-2.27270.027760.01388
M2-1386129.82666667595570.013859-2.32740.0243990.0122
M3772438.47594762.5761721.29870.2005080.100254
M4-538830.702083335598619.894471-0.90010.3727440.186372
M5-685284.965416666597985.78544-1.1460.2577270.128863
M6728747.55125597435.679871.21980.2287610.11438
M7-2962865.23208333596969.809989-4.96321e-055e-06
M8-2727768.23541667596588.373133-4.57233.6e-051.8e-05
M9164239.201249999596291.5313320.27540.7842160.392108
M10499333.457916666596079.410970.83770.4065330.203266
M11-435606.625416667595952.102512-0.73090.4685210.234261
t93807.62333333347112.32952213.189400







Multiple Linear Regression - Regression Statistics
Multiple R0.931218982255859
R-squared0.867168792913637
Adjusted R-squared0.829629538737056
F-TEST (value)23.1003202363735
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.66133814775094e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation934939.995781152
Sum Squared Residuals40209188602718

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.931218982255859 \tabularnewline
R-squared & 0.867168792913637 \tabularnewline
Adjusted R-squared & 0.829629538737056 \tabularnewline
F-TEST (value) & 23.1003202363735 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 6.66133814775094e-16 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 934939.995781152 \tabularnewline
Sum Squared Residuals & 40209188602718 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27135&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.931218982255859[/C][/ROW]
[ROW][C]R-squared[/C][C]0.867168792913637[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.829629538737056[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]23.1003202363735[/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]6.66133814775094e-16[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]934939.995781152[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]40209188602718[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27135&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27135&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.931218982255859
R-squared0.867168792913637
Adjusted R-squared0.829629538737056
F-TEST (value)23.1003202363735
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.66133814775094e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation934939.995781152
Sum Squared Residuals40209188602718







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
114929387.514247946.48681441.019999986
214717825.314311227.76406597.540000002
315826281.216563603.68-737322.48
416301309.615346142.13125955167.46875
515033016.915293495.49125-260478.591249999
616998460.616801335.63125197124.968750001
714066462.713203530.47125862932.22875
813328937.313532435.09125-203497.791249998
917319718.216518250.15125801468.048749998
1017586426.816947152.03125639274.76875
1115887037.416106019.57125-218982.171249999
1217935679.116635433.821300245.28
131586948915373637.96495851.040000003
1415892510.915436919.24455591.66
1517556558.117689295.16-132737.059999998
161679164316471833.61125319809.388750001
1715953688.516419186.97125-465498.47125
1818144913.617927027.11125217886.488750001
191439088114329221.9512561659.0487500003
2013885708.714658126.57125-772417.87125
2117332571.517643941.63125-311370.131250000
2217152595.818072843.51125-920247.71125
2316003877.117231711.05125-1227833.95125
2416841467.117761125.3-919658.199999999
2514783398.116499329.44-1715931.34000000
2614667847.516562610.72-1894763.22
2717714362.218814986.64-1100624.44
281628208816297491.835-15403.8349999994
2915014866.216244845.195-1229978.995
3017722582.417752685.335-30102.9350000024
3113876509.414154880.175-278370.775000000
3215495489.614483784.7951011704.805
3317799521.117469599.855329921.245000002
3417920079.117898501.73521577.3650000011
3517248022.417057369.275190653.124999999
3618813782.418886816.78-73034.3800000027
3716249688.317625020.92-1375332.62000000
3817823358.517688302.2135056.299999999
3920424438.319940678.12483760.180000001
4017814218.718723216.57125-908997.87125
4119699959.618670569.931251029389.66875
4219776328.120178410.07125-402081.971249999
4315679833.116580604.91125-900771.81125
4417119266.516909509.53125209756.96875
452009261319895324.59125197288.408750000
4620863688.320324226.47125539461.828749999
4720925203.119483094.011251442109.08875
482103259320012508.261020084.74000000
4920664684.318750712.41913971.90000000
5019711511.418813993.68897517.719999999
5122553293.421066369.61486923.80000000
5219498332.919848908.05125-350575.151250001
5320722827.819796261.41125926566.38875
542132127521304101.5512517173.4487499993
5517960847.717706296.39125254551.30875
5617789654.918035201.01125-245546.111250002
5720003708.521021016.07125-1017307.57125
5821169851.721449917.95125-280066.251250001
5920422839.420608785.49125-185946.091250001
6019810562.321138199.74-1327637.44

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 14929387.5 & 14247946.48 & 681441.019999986 \tabularnewline
2 & 14717825.3 & 14311227.76 & 406597.540000002 \tabularnewline
3 & 15826281.2 & 16563603.68 & -737322.48 \tabularnewline
4 & 16301309.6 & 15346142.13125 & 955167.46875 \tabularnewline
5 & 15033016.9 & 15293495.49125 & -260478.591249999 \tabularnewline
6 & 16998460.6 & 16801335.63125 & 197124.968750001 \tabularnewline
7 & 14066462.7 & 13203530.47125 & 862932.22875 \tabularnewline
8 & 13328937.3 & 13532435.09125 & -203497.791249998 \tabularnewline
9 & 17319718.2 & 16518250.15125 & 801468.048749998 \tabularnewline
10 & 17586426.8 & 16947152.03125 & 639274.76875 \tabularnewline
11 & 15887037.4 & 16106019.57125 & -218982.171249999 \tabularnewline
12 & 17935679.1 & 16635433.82 & 1300245.28 \tabularnewline
13 & 15869489 & 15373637.96 & 495851.040000003 \tabularnewline
14 & 15892510.9 & 15436919.24 & 455591.66 \tabularnewline
15 & 17556558.1 & 17689295.16 & -132737.059999998 \tabularnewline
16 & 16791643 & 16471833.61125 & 319809.388750001 \tabularnewline
17 & 15953688.5 & 16419186.97125 & -465498.47125 \tabularnewline
18 & 18144913.6 & 17927027.11125 & 217886.488750001 \tabularnewline
19 & 14390881 & 14329221.95125 & 61659.0487500003 \tabularnewline
20 & 13885708.7 & 14658126.57125 & -772417.87125 \tabularnewline
21 & 17332571.5 & 17643941.63125 & -311370.131250000 \tabularnewline
22 & 17152595.8 & 18072843.51125 & -920247.71125 \tabularnewline
23 & 16003877.1 & 17231711.05125 & -1227833.95125 \tabularnewline
24 & 16841467.1 & 17761125.3 & -919658.199999999 \tabularnewline
25 & 14783398.1 & 16499329.44 & -1715931.34000000 \tabularnewline
26 & 14667847.5 & 16562610.72 & -1894763.22 \tabularnewline
27 & 17714362.2 & 18814986.64 & -1100624.44 \tabularnewline
28 & 16282088 & 16297491.835 & -15403.8349999994 \tabularnewline
29 & 15014866.2 & 16244845.195 & -1229978.995 \tabularnewline
30 & 17722582.4 & 17752685.335 & -30102.9350000024 \tabularnewline
31 & 13876509.4 & 14154880.175 & -278370.775000000 \tabularnewline
32 & 15495489.6 & 14483784.795 & 1011704.805 \tabularnewline
33 & 17799521.1 & 17469599.855 & 329921.245000002 \tabularnewline
34 & 17920079.1 & 17898501.735 & 21577.3650000011 \tabularnewline
35 & 17248022.4 & 17057369.275 & 190653.124999999 \tabularnewline
36 & 18813782.4 & 18886816.78 & -73034.3800000027 \tabularnewline
37 & 16249688.3 & 17625020.92 & -1375332.62000000 \tabularnewline
38 & 17823358.5 & 17688302.2 & 135056.299999999 \tabularnewline
39 & 20424438.3 & 19940678.12 & 483760.180000001 \tabularnewline
40 & 17814218.7 & 18723216.57125 & -908997.87125 \tabularnewline
41 & 19699959.6 & 18670569.93125 & 1029389.66875 \tabularnewline
42 & 19776328.1 & 20178410.07125 & -402081.971249999 \tabularnewline
43 & 15679833.1 & 16580604.91125 & -900771.81125 \tabularnewline
44 & 17119266.5 & 16909509.53125 & 209756.96875 \tabularnewline
45 & 20092613 & 19895324.59125 & 197288.408750000 \tabularnewline
46 & 20863688.3 & 20324226.47125 & 539461.828749999 \tabularnewline
47 & 20925203.1 & 19483094.01125 & 1442109.08875 \tabularnewline
48 & 21032593 & 20012508.26 & 1020084.74000000 \tabularnewline
49 & 20664684.3 & 18750712.4 & 1913971.90000000 \tabularnewline
50 & 19711511.4 & 18813993.68 & 897517.719999999 \tabularnewline
51 & 22553293.4 & 21066369.6 & 1486923.80000000 \tabularnewline
52 & 19498332.9 & 19848908.05125 & -350575.151250001 \tabularnewline
53 & 20722827.8 & 19796261.41125 & 926566.38875 \tabularnewline
54 & 21321275 & 21304101.55125 & 17173.4487499993 \tabularnewline
55 & 17960847.7 & 17706296.39125 & 254551.30875 \tabularnewline
56 & 17789654.9 & 18035201.01125 & -245546.111250002 \tabularnewline
57 & 20003708.5 & 21021016.07125 & -1017307.57125 \tabularnewline
58 & 21169851.7 & 21449917.95125 & -280066.251250001 \tabularnewline
59 & 20422839.4 & 20608785.49125 & -185946.091250001 \tabularnewline
60 & 19810562.3 & 21138199.74 & -1327637.44 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27135&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]14929387.5[/C][C]14247946.48[/C][C]681441.019999986[/C][/ROW]
[ROW][C]2[/C][C]14717825.3[/C][C]14311227.76[/C][C]406597.540000002[/C][/ROW]
[ROW][C]3[/C][C]15826281.2[/C][C]16563603.68[/C][C]-737322.48[/C][/ROW]
[ROW][C]4[/C][C]16301309.6[/C][C]15346142.13125[/C][C]955167.46875[/C][/ROW]
[ROW][C]5[/C][C]15033016.9[/C][C]15293495.49125[/C][C]-260478.591249999[/C][/ROW]
[ROW][C]6[/C][C]16998460.6[/C][C]16801335.63125[/C][C]197124.968750001[/C][/ROW]
[ROW][C]7[/C][C]14066462.7[/C][C]13203530.47125[/C][C]862932.22875[/C][/ROW]
[ROW][C]8[/C][C]13328937.3[/C][C]13532435.09125[/C][C]-203497.791249998[/C][/ROW]
[ROW][C]9[/C][C]17319718.2[/C][C]16518250.15125[/C][C]801468.048749998[/C][/ROW]
[ROW][C]10[/C][C]17586426.8[/C][C]16947152.03125[/C][C]639274.76875[/C][/ROW]
[ROW][C]11[/C][C]15887037.4[/C][C]16106019.57125[/C][C]-218982.171249999[/C][/ROW]
[ROW][C]12[/C][C]17935679.1[/C][C]16635433.82[/C][C]1300245.28[/C][/ROW]
[ROW][C]13[/C][C]15869489[/C][C]15373637.96[/C][C]495851.040000003[/C][/ROW]
[ROW][C]14[/C][C]15892510.9[/C][C]15436919.24[/C][C]455591.66[/C][/ROW]
[ROW][C]15[/C][C]17556558.1[/C][C]17689295.16[/C][C]-132737.059999998[/C][/ROW]
[ROW][C]16[/C][C]16791643[/C][C]16471833.61125[/C][C]319809.388750001[/C][/ROW]
[ROW][C]17[/C][C]15953688.5[/C][C]16419186.97125[/C][C]-465498.47125[/C][/ROW]
[ROW][C]18[/C][C]18144913.6[/C][C]17927027.11125[/C][C]217886.488750001[/C][/ROW]
[ROW][C]19[/C][C]14390881[/C][C]14329221.95125[/C][C]61659.0487500003[/C][/ROW]
[ROW][C]20[/C][C]13885708.7[/C][C]14658126.57125[/C][C]-772417.87125[/C][/ROW]
[ROW][C]21[/C][C]17332571.5[/C][C]17643941.63125[/C][C]-311370.131250000[/C][/ROW]
[ROW][C]22[/C][C]17152595.8[/C][C]18072843.51125[/C][C]-920247.71125[/C][/ROW]
[ROW][C]23[/C][C]16003877.1[/C][C]17231711.05125[/C][C]-1227833.95125[/C][/ROW]
[ROW][C]24[/C][C]16841467.1[/C][C]17761125.3[/C][C]-919658.199999999[/C][/ROW]
[ROW][C]25[/C][C]14783398.1[/C][C]16499329.44[/C][C]-1715931.34000000[/C][/ROW]
[ROW][C]26[/C][C]14667847.5[/C][C]16562610.72[/C][C]-1894763.22[/C][/ROW]
[ROW][C]27[/C][C]17714362.2[/C][C]18814986.64[/C][C]-1100624.44[/C][/ROW]
[ROW][C]28[/C][C]16282088[/C][C]16297491.835[/C][C]-15403.8349999994[/C][/ROW]
[ROW][C]29[/C][C]15014866.2[/C][C]16244845.195[/C][C]-1229978.995[/C][/ROW]
[ROW][C]30[/C][C]17722582.4[/C][C]17752685.335[/C][C]-30102.9350000024[/C][/ROW]
[ROW][C]31[/C][C]13876509.4[/C][C]14154880.175[/C][C]-278370.775000000[/C][/ROW]
[ROW][C]32[/C][C]15495489.6[/C][C]14483784.795[/C][C]1011704.805[/C][/ROW]
[ROW][C]33[/C][C]17799521.1[/C][C]17469599.855[/C][C]329921.245000002[/C][/ROW]
[ROW][C]34[/C][C]17920079.1[/C][C]17898501.735[/C][C]21577.3650000011[/C][/ROW]
[ROW][C]35[/C][C]17248022.4[/C][C]17057369.275[/C][C]190653.124999999[/C][/ROW]
[ROW][C]36[/C][C]18813782.4[/C][C]18886816.78[/C][C]-73034.3800000027[/C][/ROW]
[ROW][C]37[/C][C]16249688.3[/C][C]17625020.92[/C][C]-1375332.62000000[/C][/ROW]
[ROW][C]38[/C][C]17823358.5[/C][C]17688302.2[/C][C]135056.299999999[/C][/ROW]
[ROW][C]39[/C][C]20424438.3[/C][C]19940678.12[/C][C]483760.180000001[/C][/ROW]
[ROW][C]40[/C][C]17814218.7[/C][C]18723216.57125[/C][C]-908997.87125[/C][/ROW]
[ROW][C]41[/C][C]19699959.6[/C][C]18670569.93125[/C][C]1029389.66875[/C][/ROW]
[ROW][C]42[/C][C]19776328.1[/C][C]20178410.07125[/C][C]-402081.971249999[/C][/ROW]
[ROW][C]43[/C][C]15679833.1[/C][C]16580604.91125[/C][C]-900771.81125[/C][/ROW]
[ROW][C]44[/C][C]17119266.5[/C][C]16909509.53125[/C][C]209756.96875[/C][/ROW]
[ROW][C]45[/C][C]20092613[/C][C]19895324.59125[/C][C]197288.408750000[/C][/ROW]
[ROW][C]46[/C][C]20863688.3[/C][C]20324226.47125[/C][C]539461.828749999[/C][/ROW]
[ROW][C]47[/C][C]20925203.1[/C][C]19483094.01125[/C][C]1442109.08875[/C][/ROW]
[ROW][C]48[/C][C]21032593[/C][C]20012508.26[/C][C]1020084.74000000[/C][/ROW]
[ROW][C]49[/C][C]20664684.3[/C][C]18750712.4[/C][C]1913971.90000000[/C][/ROW]
[ROW][C]50[/C][C]19711511.4[/C][C]18813993.68[/C][C]897517.719999999[/C][/ROW]
[ROW][C]51[/C][C]22553293.4[/C][C]21066369.6[/C][C]1486923.80000000[/C][/ROW]
[ROW][C]52[/C][C]19498332.9[/C][C]19848908.05125[/C][C]-350575.151250001[/C][/ROW]
[ROW][C]53[/C][C]20722827.8[/C][C]19796261.41125[/C][C]926566.38875[/C][/ROW]
[ROW][C]54[/C][C]21321275[/C][C]21304101.55125[/C][C]17173.4487499993[/C][/ROW]
[ROW][C]55[/C][C]17960847.7[/C][C]17706296.39125[/C][C]254551.30875[/C][/ROW]
[ROW][C]56[/C][C]17789654.9[/C][C]18035201.01125[/C][C]-245546.111250002[/C][/ROW]
[ROW][C]57[/C][C]20003708.5[/C][C]21021016.07125[/C][C]-1017307.57125[/C][/ROW]
[ROW][C]58[/C][C]21169851.7[/C][C]21449917.95125[/C][C]-280066.251250001[/C][/ROW]
[ROW][C]59[/C][C]20422839.4[/C][C]20608785.49125[/C][C]-185946.091250001[/C][/ROW]
[ROW][C]60[/C][C]19810562.3[/C][C]21138199.74[/C][C]-1327637.44[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27135&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27135&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
114929387.514247946.48681441.019999986
214717825.314311227.76406597.540000002
315826281.216563603.68-737322.48
416301309.615346142.13125955167.46875
515033016.915293495.49125-260478.591249999
616998460.616801335.63125197124.968750001
714066462.713203530.47125862932.22875
813328937.313532435.09125-203497.791249998
917319718.216518250.15125801468.048749998
1017586426.816947152.03125639274.76875
1115887037.416106019.57125-218982.171249999
1217935679.116635433.821300245.28
131586948915373637.96495851.040000003
1415892510.915436919.24455591.66
1517556558.117689295.16-132737.059999998
161679164316471833.61125319809.388750001
1715953688.516419186.97125-465498.47125
1818144913.617927027.11125217886.488750001
191439088114329221.9512561659.0487500003
2013885708.714658126.57125-772417.87125
2117332571.517643941.63125-311370.131250000
2217152595.818072843.51125-920247.71125
2316003877.117231711.05125-1227833.95125
2416841467.117761125.3-919658.199999999
2514783398.116499329.44-1715931.34000000
2614667847.516562610.72-1894763.22
2717714362.218814986.64-1100624.44
281628208816297491.835-15403.8349999994
2915014866.216244845.195-1229978.995
3017722582.417752685.335-30102.9350000024
3113876509.414154880.175-278370.775000000
3215495489.614483784.7951011704.805
3317799521.117469599.855329921.245000002
3417920079.117898501.73521577.3650000011
3517248022.417057369.275190653.124999999
3618813782.418886816.78-73034.3800000027
3716249688.317625020.92-1375332.62000000
3817823358.517688302.2135056.299999999
3920424438.319940678.12483760.180000001
4017814218.718723216.57125-908997.87125
4119699959.618670569.931251029389.66875
4219776328.120178410.07125-402081.971249999
4315679833.116580604.91125-900771.81125
4417119266.516909509.53125209756.96875
452009261319895324.59125197288.408750000
4620863688.320324226.47125539461.828749999
4720925203.119483094.011251442109.08875
482103259320012508.261020084.74000000
4920664684.318750712.41913971.90000000
5019711511.418813993.68897517.719999999
5122553293.421066369.61486923.80000000
5219498332.919848908.05125-350575.151250001
5320722827.819796261.41125926566.38875
542132127521304101.5512517173.4487499993
5517960847.717706296.39125254551.30875
5617789654.918035201.01125-245546.111250002
5720003708.521021016.07125-1017307.57125
5821169851.721449917.95125-280066.251250001
5920422839.420608785.49125-185946.091250001
6019810562.321138199.74-1327637.44







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.07095882952543430.1419176590508690.929041170474566
180.02357563829237110.04715127658474220.976424361707629
190.02077456257196520.04154912514393030.979225437428035
200.00881734790529190.01763469581058380.991182652094708
210.010467805199690.020935610399380.98953219480031
220.01924594590003940.03849189180007880.98075405409996
230.01082310541337010.02164621082674020.98917689458663
240.03248148944348210.06496297888696430.967518510556518
250.04788583012029230.09577166024058460.952114169879708
260.06496815839894010.1299363167978800.93503184160106
270.07215561664535760.1443112332907150.927844383354642
280.04484960167479050.0896992033495810.95515039832521
290.06182074974454620.1236414994890920.938179250255454
300.03935842768623050.0787168553724610.96064157231377
310.02226103678055440.04452207356110890.977738963219446
320.06776615846508040.1355323169301610.93223384153492
330.04755095803645860.09510191607291710.952449041963541
340.0281676108727420.0563352217454840.971832389127258
350.02145517622816330.04291035245632660.978544823771837
360.01588338163955350.03176676327910710.984116618360447
370.1148255838967990.2296511677935980.885174416103201
380.1869862491711740.3739724983423470.813013750828826
390.3361190604868110.6722381209736220.663880939513189
400.3008664486122110.6017328972244220.699133551387789
410.3522383846494770.7044767692989540.647761615350523
420.3117892084372030.6235784168744070.688210791562797
430.673384859837450.6532302803251010.326615140162550

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0709588295254343 & 0.141917659050869 & 0.929041170474566 \tabularnewline
18 & 0.0235756382923711 & 0.0471512765847422 & 0.976424361707629 \tabularnewline
19 & 0.0207745625719652 & 0.0415491251439303 & 0.979225437428035 \tabularnewline
20 & 0.0088173479052919 & 0.0176346958105838 & 0.991182652094708 \tabularnewline
21 & 0.01046780519969 & 0.02093561039938 & 0.98953219480031 \tabularnewline
22 & 0.0192459459000394 & 0.0384918918000788 & 0.98075405409996 \tabularnewline
23 & 0.0108231054133701 & 0.0216462108267402 & 0.98917689458663 \tabularnewline
24 & 0.0324814894434821 & 0.0649629788869643 & 0.967518510556518 \tabularnewline
25 & 0.0478858301202923 & 0.0957716602405846 & 0.952114169879708 \tabularnewline
26 & 0.0649681583989401 & 0.129936316797880 & 0.93503184160106 \tabularnewline
27 & 0.0721556166453576 & 0.144311233290715 & 0.927844383354642 \tabularnewline
28 & 0.0448496016747905 & 0.089699203349581 & 0.95515039832521 \tabularnewline
29 & 0.0618207497445462 & 0.123641499489092 & 0.938179250255454 \tabularnewline
30 & 0.0393584276862305 & 0.078716855372461 & 0.96064157231377 \tabularnewline
31 & 0.0222610367805544 & 0.0445220735611089 & 0.977738963219446 \tabularnewline
32 & 0.0677661584650804 & 0.135532316930161 & 0.93223384153492 \tabularnewline
33 & 0.0475509580364586 & 0.0951019160729171 & 0.952449041963541 \tabularnewline
34 & 0.028167610872742 & 0.056335221745484 & 0.971832389127258 \tabularnewline
35 & 0.0214551762281633 & 0.0429103524563266 & 0.978544823771837 \tabularnewline
36 & 0.0158833816395535 & 0.0317667632791071 & 0.984116618360447 \tabularnewline
37 & 0.114825583896799 & 0.229651167793598 & 0.885174416103201 \tabularnewline
38 & 0.186986249171174 & 0.373972498342347 & 0.813013750828826 \tabularnewline
39 & 0.336119060486811 & 0.672238120973622 & 0.663880939513189 \tabularnewline
40 & 0.300866448612211 & 0.601732897224422 & 0.699133551387789 \tabularnewline
41 & 0.352238384649477 & 0.704476769298954 & 0.647761615350523 \tabularnewline
42 & 0.311789208437203 & 0.623578416874407 & 0.688210791562797 \tabularnewline
43 & 0.67338485983745 & 0.653230280325101 & 0.326615140162550 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27135&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.0709588295254343[/C][C]0.141917659050869[/C][C]0.929041170474566[/C][/ROW]
[ROW][C]18[/C][C]0.0235756382923711[/C][C]0.0471512765847422[/C][C]0.976424361707629[/C][/ROW]
[ROW][C]19[/C][C]0.0207745625719652[/C][C]0.0415491251439303[/C][C]0.979225437428035[/C][/ROW]
[ROW][C]20[/C][C]0.0088173479052919[/C][C]0.0176346958105838[/C][C]0.991182652094708[/C][/ROW]
[ROW][C]21[/C][C]0.01046780519969[/C][C]0.02093561039938[/C][C]0.98953219480031[/C][/ROW]
[ROW][C]22[/C][C]0.0192459459000394[/C][C]0.0384918918000788[/C][C]0.98075405409996[/C][/ROW]
[ROW][C]23[/C][C]0.0108231054133701[/C][C]0.0216462108267402[/C][C]0.98917689458663[/C][/ROW]
[ROW][C]24[/C][C]0.0324814894434821[/C][C]0.0649629788869643[/C][C]0.967518510556518[/C][/ROW]
[ROW][C]25[/C][C]0.0478858301202923[/C][C]0.0957716602405846[/C][C]0.952114169879708[/C][/ROW]
[ROW][C]26[/C][C]0.0649681583989401[/C][C]0.129936316797880[/C][C]0.93503184160106[/C][/ROW]
[ROW][C]27[/C][C]0.0721556166453576[/C][C]0.144311233290715[/C][C]0.927844383354642[/C][/ROW]
[ROW][C]28[/C][C]0.0448496016747905[/C][C]0.089699203349581[/C][C]0.95515039832521[/C][/ROW]
[ROW][C]29[/C][C]0.0618207497445462[/C][C]0.123641499489092[/C][C]0.938179250255454[/C][/ROW]
[ROW][C]30[/C][C]0.0393584276862305[/C][C]0.078716855372461[/C][C]0.96064157231377[/C][/ROW]
[ROW][C]31[/C][C]0.0222610367805544[/C][C]0.0445220735611089[/C][C]0.977738963219446[/C][/ROW]
[ROW][C]32[/C][C]0.0677661584650804[/C][C]0.135532316930161[/C][C]0.93223384153492[/C][/ROW]
[ROW][C]33[/C][C]0.0475509580364586[/C][C]0.0951019160729171[/C][C]0.952449041963541[/C][/ROW]
[ROW][C]34[/C][C]0.028167610872742[/C][C]0.056335221745484[/C][C]0.971832389127258[/C][/ROW]
[ROW][C]35[/C][C]0.0214551762281633[/C][C]0.0429103524563266[/C][C]0.978544823771837[/C][/ROW]
[ROW][C]36[/C][C]0.0158833816395535[/C][C]0.0317667632791071[/C][C]0.984116618360447[/C][/ROW]
[ROW][C]37[/C][C]0.114825583896799[/C][C]0.229651167793598[/C][C]0.885174416103201[/C][/ROW]
[ROW][C]38[/C][C]0.186986249171174[/C][C]0.373972498342347[/C][C]0.813013750828826[/C][/ROW]
[ROW][C]39[/C][C]0.336119060486811[/C][C]0.672238120973622[/C][C]0.663880939513189[/C][/ROW]
[ROW][C]40[/C][C]0.300866448612211[/C][C]0.601732897224422[/C][C]0.699133551387789[/C][/ROW]
[ROW][C]41[/C][C]0.352238384649477[/C][C]0.704476769298954[/C][C]0.647761615350523[/C][/ROW]
[ROW][C]42[/C][C]0.311789208437203[/C][C]0.623578416874407[/C][C]0.688210791562797[/C][/ROW]
[ROW][C]43[/C][C]0.67338485983745[/C][C]0.653230280325101[/C][C]0.326615140162550[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27135&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27135&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.07095882952543430.1419176590508690.929041170474566
180.02357563829237110.04715127658474220.976424361707629
190.02077456257196520.04154912514393030.979225437428035
200.00881734790529190.01763469581058380.991182652094708
210.010467805199690.020935610399380.98953219480031
220.01924594590003940.03849189180007880.98075405409996
230.01082310541337010.02164621082674020.98917689458663
240.03248148944348210.06496297888696430.967518510556518
250.04788583012029230.09577166024058460.952114169879708
260.06496815839894010.1299363167978800.93503184160106
270.07215561664535760.1443112332907150.927844383354642
280.04484960167479050.0896992033495810.95515039832521
290.06182074974454620.1236414994890920.938179250255454
300.03935842768623050.0787168553724610.96064157231377
310.02226103678055440.04452207356110890.977738963219446
320.06776615846508040.1355323169301610.93223384153492
330.04755095803645860.09510191607291710.952449041963541
340.0281676108727420.0563352217454840.971832389127258
350.02145517622816330.04291035245632660.978544823771837
360.01588338163955350.03176676327910710.984116618360447
370.1148255838967990.2296511677935980.885174416103201
380.1869862491711740.3739724983423470.813013750828826
390.3361190604868110.6722381209736220.663880939513189
400.3008664486122110.6017328972244220.699133551387789
410.3522383846494770.7044767692989540.647761615350523
420.3117892084372030.6235784168744070.688210791562797
430.673384859837450.6532302803251010.326615140162550







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

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

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



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