Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 13 Dec 2007 08:50:53 -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/2007/Dec/13/t11975601535fiyqakdczc0xw5.htm/, Retrieved Sun, 05 May 2024 11:18:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14366, Retrieved Sun, 05 May 2024 11:18:34 +0000
QR Codes:

Original text written by user:invoering euro
IsPrivate?No (this computation is public)
User-defined keywordsmultiple regression
Estimated Impact169
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper] [2007-12-13 15:50:53] [c17f948852536966abd959cf76a782cb] [Current]
Feedback Forum

Post a new message
Dataseries X:
103.1	98.6	98.1	98.6	0
100.6	98	101.1	98	0
103.1	106.8	111.1	106.8	0
95.5	96.6	93.3	96.7	0
90.5	100.1	100	100.2	0
90.9	107.7	108	107.7	0
88.8	91.5	70.4	92	0
90.7	97.8	75.4	98.4	0
94.3	107.4	105.5	107.4	0
104.6	117.5	112.3	117.7	0
111.1	105.6	102.5	105.7	0
110.8	97.4	93.5	97.5	0
107.2	99.5	86.7	99.9	1
99	98	95.2	98.2	1
99	104.3	103.8	104.5	1
91	100.6	97	100.8	1
96.2	101.1	95.5	101.5	1
96.9	103.9	101	103.9	1
96.2	96.9	67.5	99.6	1
100.1	95.5	64	98.4	1
99	108.4	106.7	112.7	1
115.4	117	100.6	118.4	1
106.9	103.8	101.2	108.1	1
107.1	100.8	93.1	105.4	1
99.3	110.6	84.2	114.6	1
99.2	104	85.8	106.9	1
108.3	112.6	91.8	115.9	1
105.6	107.3	92.4	109.8	1
99.5	98.9	80.3	101.8	1
107.4	109.8	79.7	114.2	1
93.1	104.9	62.5	110.8	1
88.1	102.2	57.1	108.4	1
110.7	123.9	100.8	127.5	1
113.1	124.9	100.7	128.6	1
99.6	112.7	86.2	116.6	1
93.6	121.9	83.2	127.4	1
98.6	100.6	71.7	105	1
99.6	104.3	77.5	108.3	1
114.3	120.4	89.8	125	1
107.8	107.5	80.3	111.6	1
101.2	102.9	78.7	106.5	1
112.5	125.6	93.8	130.3	1
100.5	107.5	57.6	115	1
93.9	108.8	60.6	116.1	1
116.2	128.4	91	134	1
112	121.1	85.3	126.5	1
106.4	119.5	77.4	125.8	1
95.7	128.7	77.3	136.4	1
96	108.7	68.3	114.9	1
95.8	105.5	69.9	110.9	1
103	119.8	81.7	125.5	1
102.2	111.3	75.1	116.8	1
98.4	110.6	69.9	116.8	1
111.4	120.1	84	125.5	1
86.6	97.5	54.3	104.2	1
91.3	107.7	60	115.1	1
107.9	127.3	89.9	132.8	1
101.8	117.2	77	123.3	1
104.4	119.8	85.3	124.8	1
93.4	116.2	77.6	122	1
100.1	111	69.2	117.4	1
98.5	112.4	75.5	117.9	1
112.9	130.6	85.7	137.4	1
101.4	109.1	72.2	114.6	1
107.1	118.8	79.9	124.7	1
110.8	123.9	85.3	129.6	1
90.3	101.6	52.2	109.4	1
95.5	112.8	61.2	120.9	1
111.4	128	82.4	134.9	1
113	129.6	85.4	136.3	1
107.5	125.8	78.2	133.2	1
95.9	119.5	70.2	127.2	1
106.3	115.7	70.2	122.7	1
105.2	113.6	69.3	120.5	1
117.2	129.7	77.5	137.8	1
106.9	112	66.1	119.1	1
108.2	116.8	69	124.3	1
110	126.3	75.3	134.3	1
96.1	112.9	58.2	121.7	1
100.6	115.9	59.7	125	1




Summary of compuational 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 compuational 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=14366&T=0

[TABLE]
[ROW][C]Summary of compuational 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=14366&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14366&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 compuational 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
intermediair-goederen[t] = + 63.2918547561732 + 0.492112301221743`totale-consumptie`[t] + 0.069106408222602`Duurzame-consumptiegoederen`[t] -0.246532951311145`Niet-duurzame-consumptiegoederen`[t] + 1.81049508054877`invoering-Euro`[t] + 4.20172076779845M1[t] + 2.26857772228726M2[t] + 7.14366835956165M3[t] + 3.63110271774098M4[t] + 2.16895492885366M5[t] + 4.79576035750822M6[t] -1.77454089871045M7[t] -1.66808691604056M8[t] + 4.56736297935084M9[t] + 7.82975549476553M10[t] + 5.91401219955562M11[t] + 0.0521337471754658t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
intermediair-goederen[t] =  +  63.2918547561732 +  0.492112301221743`totale-consumptie`[t] +  0.069106408222602`Duurzame-consumptiegoederen`[t] -0.246532951311145`Niet-duurzame-consumptiegoederen`[t] +  1.81049508054877`invoering-Euro`[t] +  4.20172076779845M1[t] +  2.26857772228726M2[t] +  7.14366835956165M3[t] +  3.63110271774098M4[t] +  2.16895492885366M5[t] +  4.79576035750822M6[t] -1.77454089871045M7[t] -1.66808691604056M8[t] +  4.56736297935084M9[t] +  7.82975549476553M10[t] +  5.91401219955562M11[t] +  0.0521337471754658t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14366&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]intermediair-goederen[t] =  +  63.2918547561732 +  0.492112301221743`totale-consumptie`[t] +  0.069106408222602`Duurzame-consumptiegoederen`[t] -0.246532951311145`Niet-duurzame-consumptiegoederen`[t] +  1.81049508054877`invoering-Euro`[t] +  4.20172076779845M1[t] +  2.26857772228726M2[t] +  7.14366835956165M3[t] +  3.63110271774098M4[t] +  2.16895492885366M5[t] +  4.79576035750822M6[t] -1.77454089871045M7[t] -1.66808691604056M8[t] +  4.56736297935084M9[t] +  7.82975549476553M10[t] +  5.91401219955562M11[t] +  0.0521337471754658t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14366&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14366&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
intermediair-goederen[t] = + 63.2918547561732 + 0.492112301221743`totale-consumptie`[t] + 0.069106408222602`Duurzame-consumptiegoederen`[t] -0.246532951311145`Niet-duurzame-consumptiegoederen`[t] + 1.81049508054877`invoering-Euro`[t] + 4.20172076779845M1[t] + 2.26857772228726M2[t] + 7.14366835956165M3[t] + 3.63110271774098M4[t] + 2.16895492885366M5[t] + 4.79576035750822M6[t] -1.77454089871045M7[t] -1.66808691604056M8[t] + 4.56736297935084M9[t] + 7.82975549476553M10[t] + 5.91401219955562M11[t] + 0.0521337471754658t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)63.291854756173218.8096093.36490.0013080.000654
`totale-consumptie`0.4921123012217430.9593050.5130.6097540.304877
`Duurzame-consumptiegoederen`0.0691064082226020.1500710.46050.6467490.323375
`Niet-duurzame-consumptiegoederen`-0.2465329513111450.882686-0.27930.7809310.390465
`invoering-Euro`1.810495080548772.4733390.7320.466880.23344
M14.201720767798453.3964051.23710.2206380.110319
M22.268577722287263.4489610.65780.5130910.256545
M37.143668359561653.4180182.090.040660.02033
M43.631102717740983.4494211.05270.2965130.148256
M52.168954928853663.4079650.63640.5267970.263399
M64.795760357508223.4014711.40990.1634850.081742
M7-1.774540898710454.488736-0.39530.6939330.346967
M8-1.668086916040564.149851-0.4020.6890720.344536
M94.567362979350843.76721.21240.2298850.114943
M107.829755494765533.7607922.08190.0414160.020708
M115.914012199555623.3649821.75750.0836880.041844
t0.05213374717546580.0893330.58360.561580.28079

\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) & 63.2918547561732 & 18.809609 & 3.3649 & 0.001308 & 0.000654 \tabularnewline
`totale-consumptie` & 0.492112301221743 & 0.959305 & 0.513 & 0.609754 & 0.304877 \tabularnewline
`Duurzame-consumptiegoederen` & 0.069106408222602 & 0.150071 & 0.4605 & 0.646749 & 0.323375 \tabularnewline
`Niet-duurzame-consumptiegoederen` & -0.246532951311145 & 0.882686 & -0.2793 & 0.780931 & 0.390465 \tabularnewline
`invoering-Euro` & 1.81049508054877 & 2.473339 & 0.732 & 0.46688 & 0.23344 \tabularnewline
M1 & 4.20172076779845 & 3.396405 & 1.2371 & 0.220638 & 0.110319 \tabularnewline
M2 & 2.26857772228726 & 3.448961 & 0.6578 & 0.513091 & 0.256545 \tabularnewline
M3 & 7.14366835956165 & 3.418018 & 2.09 & 0.04066 & 0.02033 \tabularnewline
M4 & 3.63110271774098 & 3.449421 & 1.0527 & 0.296513 & 0.148256 \tabularnewline
M5 & 2.16895492885366 & 3.407965 & 0.6364 & 0.526797 & 0.263399 \tabularnewline
M6 & 4.79576035750822 & 3.401471 & 1.4099 & 0.163485 & 0.081742 \tabularnewline
M7 & -1.77454089871045 & 4.488736 & -0.3953 & 0.693933 & 0.346967 \tabularnewline
M8 & -1.66808691604056 & 4.149851 & -0.402 & 0.689072 & 0.344536 \tabularnewline
M9 & 4.56736297935084 & 3.7672 & 1.2124 & 0.229885 & 0.114943 \tabularnewline
M10 & 7.82975549476553 & 3.760792 & 2.0819 & 0.041416 & 0.020708 \tabularnewline
M11 & 5.91401219955562 & 3.364982 & 1.7575 & 0.083688 & 0.041844 \tabularnewline
t & 0.0521337471754658 & 0.089333 & 0.5836 & 0.56158 & 0.28079 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14366&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]63.2918547561732[/C][C]18.809609[/C][C]3.3649[/C][C]0.001308[/C][C]0.000654[/C][/ROW]
[ROW][C]`totale-consumptie`[/C][C]0.492112301221743[/C][C]0.959305[/C][C]0.513[/C][C]0.609754[/C][C]0.304877[/C][/ROW]
[ROW][C]`Duurzame-consumptiegoederen`[/C][C]0.069106408222602[/C][C]0.150071[/C][C]0.4605[/C][C]0.646749[/C][C]0.323375[/C][/ROW]
[ROW][C]`Niet-duurzame-consumptiegoederen`[/C][C]-0.246532951311145[/C][C]0.882686[/C][C]-0.2793[/C][C]0.780931[/C][C]0.390465[/C][/ROW]
[ROW][C]`invoering-Euro`[/C][C]1.81049508054877[/C][C]2.473339[/C][C]0.732[/C][C]0.46688[/C][C]0.23344[/C][/ROW]
[ROW][C]M1[/C][C]4.20172076779845[/C][C]3.396405[/C][C]1.2371[/C][C]0.220638[/C][C]0.110319[/C][/ROW]
[ROW][C]M2[/C][C]2.26857772228726[/C][C]3.448961[/C][C]0.6578[/C][C]0.513091[/C][C]0.256545[/C][/ROW]
[ROW][C]M3[/C][C]7.14366835956165[/C][C]3.418018[/C][C]2.09[/C][C]0.04066[/C][C]0.02033[/C][/ROW]
[ROW][C]M4[/C][C]3.63110271774098[/C][C]3.449421[/C][C]1.0527[/C][C]0.296513[/C][C]0.148256[/C][/ROW]
[ROW][C]M5[/C][C]2.16895492885366[/C][C]3.407965[/C][C]0.6364[/C][C]0.526797[/C][C]0.263399[/C][/ROW]
[ROW][C]M6[/C][C]4.79576035750822[/C][C]3.401471[/C][C]1.4099[/C][C]0.163485[/C][C]0.081742[/C][/ROW]
[ROW][C]M7[/C][C]-1.77454089871045[/C][C]4.488736[/C][C]-0.3953[/C][C]0.693933[/C][C]0.346967[/C][/ROW]
[ROW][C]M8[/C][C]-1.66808691604056[/C][C]4.149851[/C][C]-0.402[/C][C]0.689072[/C][C]0.344536[/C][/ROW]
[ROW][C]M9[/C][C]4.56736297935084[/C][C]3.7672[/C][C]1.2124[/C][C]0.229885[/C][C]0.114943[/C][/ROW]
[ROW][C]M10[/C][C]7.82975549476553[/C][C]3.760792[/C][C]2.0819[/C][C]0.041416[/C][C]0.020708[/C][/ROW]
[ROW][C]M11[/C][C]5.91401219955562[/C][C]3.364982[/C][C]1.7575[/C][C]0.083688[/C][C]0.041844[/C][/ROW]
[ROW][C]t[/C][C]0.0521337471754658[/C][C]0.089333[/C][C]0.5836[/C][C]0.56158[/C][C]0.28079[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14366&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14366&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)63.291854756173218.8096093.36490.0013080.000654
`totale-consumptie`0.4921123012217430.9593050.5130.6097540.304877
`Duurzame-consumptiegoederen`0.0691064082226020.1500710.46050.6467490.323375
`Niet-duurzame-consumptiegoederen`-0.2465329513111450.882686-0.27930.7809310.390465
`invoering-Euro`1.810495080548772.4733390.7320.466880.23344
M14.201720767798453.3964051.23710.2206380.110319
M22.268577722287263.4489610.65780.5130910.256545
M37.143668359561653.4180182.090.040660.02033
M43.631102717740983.4494211.05270.2965130.148256
M52.168954928853663.4079650.63640.5267970.263399
M64.795760357508223.4014711.40990.1634850.081742
M7-1.774540898710454.488736-0.39530.6939330.346967
M8-1.668086916040564.149851-0.4020.6890720.344536
M94.567362979350843.76721.21240.2298850.114943
M107.829755494765533.7607922.08190.0414160.020708
M115.914012199555623.3649821.75750.0836880.041844
t0.05213374717546580.0893330.58360.561580.28079







Multiple Linear Regression - Regression Statistics
Multiple R0.741721604215162
R-squared0.550150938159513
Adjusted R-squared0.435903557374627
F-TEST (value)4.81543589340908
F-TEST (DF numerator)16
F-TEST (DF denominator)63
p-value3.02267090046549e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.65892758359492
Sum Squared Residuals2017.47806797140

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.741721604215162 \tabularnewline
R-squared & 0.550150938159513 \tabularnewline
Adjusted R-squared & 0.435903557374627 \tabularnewline
F-TEST (value) & 4.81543589340908 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 63 \tabularnewline
p-value & 3.02267090046549e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.65892758359492 \tabularnewline
Sum Squared Residuals & 2017.47806797140 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14366&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.741721604215162[/C][/ROW]
[ROW][C]R-squared[/C][C]0.550150938159513[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.435903557374627[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.81543589340908[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]16[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]63[/C][/ROW]
[ROW][C]p-value[/C][C]3.02267090046549e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.65892758359492[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2017.47806797140[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14366&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14366&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.741721604215162
R-squared0.550150938159513
Adjusted R-squared0.435903557374627
F-TEST (value)4.81543589340908
F-TEST (DF numerator)16
F-TEST (DF denominator)63
p-value3.02267090046549e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.65892758359492
Sum Squared Residuals2017.47806797140







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1103.198.53917181896934.56082818103073
2100.696.7181341353553.88186586464502
3103.1104.497520881244-1.39752088124411
495.597.2774322560174-1.77743225601737
590.597.189958874084-6.68995887408404
690.9102.312805670147-11.4128056701465
788.889.0945852677263-0.294585267726265
890.791.1212016479903-0.421201647990273
994.3101.994369707986-7.69436970798589
10104.6108.209864390325-3.60986439032454
11111.1102.7712710729048.3287289270964
12110.894.273684277253116.5263157227469
13107.2100.3098670462816.89013295371897
149998.69719978323380.302800216766244
1599105.765889182835-6.76588918283475
1691100.926890117607-9.92689011760664
1796.299.486699548254-3.28669954825395
1896.9103.331959329582-6.43195932958242
1996.292.11403272716784.08596727283221
20100.191.6376303480978.46236965190303
2199103.69888510378-4.69888510378004
22115.4109.4187902442465.98120975575422
23106.9103.6400515635233.25994843647731
24107.196.407713269414310.6922867305857
2599.3102.601118151118-3.30111815111762
2699.299.4810416429704-0.281041642970379
27108.3106.8362737054631.46372629453747
28105.6102.3129614622743.28703853772636
2999.597.90528016129481.59471983870518
30107.4102.849770979254.55022902074993
3193.193.5698350072495-0.469835007249489
3288.192.6182240025408-4.51822400254083
33110.7107.8958152509042.80418474909566
34113.1111.4243569274521.67564307254827
3599.6105.513329801018-5.91332980101804
3693.6101.309009421050-7.70900942104974
3798.699.8084863348103-1.20848633481026
3899.699.33555097935930.264449020640698
39114.3108.9186919477215.38130805227891
40107.8101.757042036776.04295796322997
41101.299.23005920796881.96994079203116
42112.5108.2559701444884.24402985551156
43100.594.1008721607346.39912783926596
4493.994.8353388603932-0.935338860393201
45116.2108.4562185884047.74378141159617
46112109.633415660042.36658433995998
47106.4106.60905887101-0.209058871010030
4895.7102.654453665150-6.95445366514951
4996101.744562934875-5.74456293487478
5095.899.3854963310302-3.58549633103023
51103108.566001150835-5.56600115083498
52102.2102.611349077943-0.411349077942749
5398.4100.497503102618-2.09750310261814
54111.4106.6810728195864.71892718041355
5586.692.239858841648-5.63985884164799
5691.395.1246894015325-3.82468940153247
57107.9108.760322515694-0.860322515694005
58101.8108.555104907329-6.75510490732889
59104.4108.174771103752-3.77477110375184
6093.4100.699461287331-7.29946128733058
61100.1102.947889582913-2.84788958291286
6298.5102.067941402434-3.56794140243439
63112.9111.8491024824231.05089751757684
64101.4102.496270890399-1.09627089039948
65107.1103.901882705613.19811729438999
66110.8108.2557577606482.54424223935164
6790.393.4560294386773-3.1560294386773
6895.596.9131036761314-1.41310367613142
69111.4108.6943888332322.7056111667681
70113112.6584678706090.341532129390953
71107.5109.191517587794-1.69151758779381
7295.9101.155678079803-5.25567807980271
73106.3104.6489041310341.65109586896583
74105.2102.2146357256172.98536427438304
75117.2111.3665206494795.83347935052061
76106.9103.018054158993.8819458410099
77108.2102.8886164001705.3113835998298
78110108.2126632962981.78733670370228
7996.197.0247865567971-0.92478655679712
80100.697.94981206331482.65018793668517

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 103.1 & 98.5391718189693 & 4.56082818103073 \tabularnewline
2 & 100.6 & 96.718134135355 & 3.88186586464502 \tabularnewline
3 & 103.1 & 104.497520881244 & -1.39752088124411 \tabularnewline
4 & 95.5 & 97.2774322560174 & -1.77743225601737 \tabularnewline
5 & 90.5 & 97.189958874084 & -6.68995887408404 \tabularnewline
6 & 90.9 & 102.312805670147 & -11.4128056701465 \tabularnewline
7 & 88.8 & 89.0945852677263 & -0.294585267726265 \tabularnewline
8 & 90.7 & 91.1212016479903 & -0.421201647990273 \tabularnewline
9 & 94.3 & 101.994369707986 & -7.69436970798589 \tabularnewline
10 & 104.6 & 108.209864390325 & -3.60986439032454 \tabularnewline
11 & 111.1 & 102.771271072904 & 8.3287289270964 \tabularnewline
12 & 110.8 & 94.2736842772531 & 16.5263157227469 \tabularnewline
13 & 107.2 & 100.309867046281 & 6.89013295371897 \tabularnewline
14 & 99 & 98.6971997832338 & 0.302800216766244 \tabularnewline
15 & 99 & 105.765889182835 & -6.76588918283475 \tabularnewline
16 & 91 & 100.926890117607 & -9.92689011760664 \tabularnewline
17 & 96.2 & 99.486699548254 & -3.28669954825395 \tabularnewline
18 & 96.9 & 103.331959329582 & -6.43195932958242 \tabularnewline
19 & 96.2 & 92.1140327271678 & 4.08596727283221 \tabularnewline
20 & 100.1 & 91.637630348097 & 8.46236965190303 \tabularnewline
21 & 99 & 103.69888510378 & -4.69888510378004 \tabularnewline
22 & 115.4 & 109.418790244246 & 5.98120975575422 \tabularnewline
23 & 106.9 & 103.640051563523 & 3.25994843647731 \tabularnewline
24 & 107.1 & 96.4077132694143 & 10.6922867305857 \tabularnewline
25 & 99.3 & 102.601118151118 & -3.30111815111762 \tabularnewline
26 & 99.2 & 99.4810416429704 & -0.281041642970379 \tabularnewline
27 & 108.3 & 106.836273705463 & 1.46372629453747 \tabularnewline
28 & 105.6 & 102.312961462274 & 3.28703853772636 \tabularnewline
29 & 99.5 & 97.9052801612948 & 1.59471983870518 \tabularnewline
30 & 107.4 & 102.84977097925 & 4.55022902074993 \tabularnewline
31 & 93.1 & 93.5698350072495 & -0.469835007249489 \tabularnewline
32 & 88.1 & 92.6182240025408 & -4.51822400254083 \tabularnewline
33 & 110.7 & 107.895815250904 & 2.80418474909566 \tabularnewline
34 & 113.1 & 111.424356927452 & 1.67564307254827 \tabularnewline
35 & 99.6 & 105.513329801018 & -5.91332980101804 \tabularnewline
36 & 93.6 & 101.309009421050 & -7.70900942104974 \tabularnewline
37 & 98.6 & 99.8084863348103 & -1.20848633481026 \tabularnewline
38 & 99.6 & 99.3355509793593 & 0.264449020640698 \tabularnewline
39 & 114.3 & 108.918691947721 & 5.38130805227891 \tabularnewline
40 & 107.8 & 101.75704203677 & 6.04295796322997 \tabularnewline
41 & 101.2 & 99.2300592079688 & 1.96994079203116 \tabularnewline
42 & 112.5 & 108.255970144488 & 4.24402985551156 \tabularnewline
43 & 100.5 & 94.100872160734 & 6.39912783926596 \tabularnewline
44 & 93.9 & 94.8353388603932 & -0.935338860393201 \tabularnewline
45 & 116.2 & 108.456218588404 & 7.74378141159617 \tabularnewline
46 & 112 & 109.63341566004 & 2.36658433995998 \tabularnewline
47 & 106.4 & 106.60905887101 & -0.209058871010030 \tabularnewline
48 & 95.7 & 102.654453665150 & -6.95445366514951 \tabularnewline
49 & 96 & 101.744562934875 & -5.74456293487478 \tabularnewline
50 & 95.8 & 99.3854963310302 & -3.58549633103023 \tabularnewline
51 & 103 & 108.566001150835 & -5.56600115083498 \tabularnewline
52 & 102.2 & 102.611349077943 & -0.411349077942749 \tabularnewline
53 & 98.4 & 100.497503102618 & -2.09750310261814 \tabularnewline
54 & 111.4 & 106.681072819586 & 4.71892718041355 \tabularnewline
55 & 86.6 & 92.239858841648 & -5.63985884164799 \tabularnewline
56 & 91.3 & 95.1246894015325 & -3.82468940153247 \tabularnewline
57 & 107.9 & 108.760322515694 & -0.860322515694005 \tabularnewline
58 & 101.8 & 108.555104907329 & -6.75510490732889 \tabularnewline
59 & 104.4 & 108.174771103752 & -3.77477110375184 \tabularnewline
60 & 93.4 & 100.699461287331 & -7.29946128733058 \tabularnewline
61 & 100.1 & 102.947889582913 & -2.84788958291286 \tabularnewline
62 & 98.5 & 102.067941402434 & -3.56794140243439 \tabularnewline
63 & 112.9 & 111.849102482423 & 1.05089751757684 \tabularnewline
64 & 101.4 & 102.496270890399 & -1.09627089039948 \tabularnewline
65 & 107.1 & 103.90188270561 & 3.19811729438999 \tabularnewline
66 & 110.8 & 108.255757760648 & 2.54424223935164 \tabularnewline
67 & 90.3 & 93.4560294386773 & -3.1560294386773 \tabularnewline
68 & 95.5 & 96.9131036761314 & -1.41310367613142 \tabularnewline
69 & 111.4 & 108.694388833232 & 2.7056111667681 \tabularnewline
70 & 113 & 112.658467870609 & 0.341532129390953 \tabularnewline
71 & 107.5 & 109.191517587794 & -1.69151758779381 \tabularnewline
72 & 95.9 & 101.155678079803 & -5.25567807980271 \tabularnewline
73 & 106.3 & 104.648904131034 & 1.65109586896583 \tabularnewline
74 & 105.2 & 102.214635725617 & 2.98536427438304 \tabularnewline
75 & 117.2 & 111.366520649479 & 5.83347935052061 \tabularnewline
76 & 106.9 & 103.01805415899 & 3.8819458410099 \tabularnewline
77 & 108.2 & 102.888616400170 & 5.3113835998298 \tabularnewline
78 & 110 & 108.212663296298 & 1.78733670370228 \tabularnewline
79 & 96.1 & 97.0247865567971 & -0.92478655679712 \tabularnewline
80 & 100.6 & 97.9498120633148 & 2.65018793668517 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14366&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]103.1[/C][C]98.5391718189693[/C][C]4.56082818103073[/C][/ROW]
[ROW][C]2[/C][C]100.6[/C][C]96.718134135355[/C][C]3.88186586464502[/C][/ROW]
[ROW][C]3[/C][C]103.1[/C][C]104.497520881244[/C][C]-1.39752088124411[/C][/ROW]
[ROW][C]4[/C][C]95.5[/C][C]97.2774322560174[/C][C]-1.77743225601737[/C][/ROW]
[ROW][C]5[/C][C]90.5[/C][C]97.189958874084[/C][C]-6.68995887408404[/C][/ROW]
[ROW][C]6[/C][C]90.9[/C][C]102.312805670147[/C][C]-11.4128056701465[/C][/ROW]
[ROW][C]7[/C][C]88.8[/C][C]89.0945852677263[/C][C]-0.294585267726265[/C][/ROW]
[ROW][C]8[/C][C]90.7[/C][C]91.1212016479903[/C][C]-0.421201647990273[/C][/ROW]
[ROW][C]9[/C][C]94.3[/C][C]101.994369707986[/C][C]-7.69436970798589[/C][/ROW]
[ROW][C]10[/C][C]104.6[/C][C]108.209864390325[/C][C]-3.60986439032454[/C][/ROW]
[ROW][C]11[/C][C]111.1[/C][C]102.771271072904[/C][C]8.3287289270964[/C][/ROW]
[ROW][C]12[/C][C]110.8[/C][C]94.2736842772531[/C][C]16.5263157227469[/C][/ROW]
[ROW][C]13[/C][C]107.2[/C][C]100.309867046281[/C][C]6.89013295371897[/C][/ROW]
[ROW][C]14[/C][C]99[/C][C]98.6971997832338[/C][C]0.302800216766244[/C][/ROW]
[ROW][C]15[/C][C]99[/C][C]105.765889182835[/C][C]-6.76588918283475[/C][/ROW]
[ROW][C]16[/C][C]91[/C][C]100.926890117607[/C][C]-9.92689011760664[/C][/ROW]
[ROW][C]17[/C][C]96.2[/C][C]99.486699548254[/C][C]-3.28669954825395[/C][/ROW]
[ROW][C]18[/C][C]96.9[/C][C]103.331959329582[/C][C]-6.43195932958242[/C][/ROW]
[ROW][C]19[/C][C]96.2[/C][C]92.1140327271678[/C][C]4.08596727283221[/C][/ROW]
[ROW][C]20[/C][C]100.1[/C][C]91.637630348097[/C][C]8.46236965190303[/C][/ROW]
[ROW][C]21[/C][C]99[/C][C]103.69888510378[/C][C]-4.69888510378004[/C][/ROW]
[ROW][C]22[/C][C]115.4[/C][C]109.418790244246[/C][C]5.98120975575422[/C][/ROW]
[ROW][C]23[/C][C]106.9[/C][C]103.640051563523[/C][C]3.25994843647731[/C][/ROW]
[ROW][C]24[/C][C]107.1[/C][C]96.4077132694143[/C][C]10.6922867305857[/C][/ROW]
[ROW][C]25[/C][C]99.3[/C][C]102.601118151118[/C][C]-3.30111815111762[/C][/ROW]
[ROW][C]26[/C][C]99.2[/C][C]99.4810416429704[/C][C]-0.281041642970379[/C][/ROW]
[ROW][C]27[/C][C]108.3[/C][C]106.836273705463[/C][C]1.46372629453747[/C][/ROW]
[ROW][C]28[/C][C]105.6[/C][C]102.312961462274[/C][C]3.28703853772636[/C][/ROW]
[ROW][C]29[/C][C]99.5[/C][C]97.9052801612948[/C][C]1.59471983870518[/C][/ROW]
[ROW][C]30[/C][C]107.4[/C][C]102.84977097925[/C][C]4.55022902074993[/C][/ROW]
[ROW][C]31[/C][C]93.1[/C][C]93.5698350072495[/C][C]-0.469835007249489[/C][/ROW]
[ROW][C]32[/C][C]88.1[/C][C]92.6182240025408[/C][C]-4.51822400254083[/C][/ROW]
[ROW][C]33[/C][C]110.7[/C][C]107.895815250904[/C][C]2.80418474909566[/C][/ROW]
[ROW][C]34[/C][C]113.1[/C][C]111.424356927452[/C][C]1.67564307254827[/C][/ROW]
[ROW][C]35[/C][C]99.6[/C][C]105.513329801018[/C][C]-5.91332980101804[/C][/ROW]
[ROW][C]36[/C][C]93.6[/C][C]101.309009421050[/C][C]-7.70900942104974[/C][/ROW]
[ROW][C]37[/C][C]98.6[/C][C]99.8084863348103[/C][C]-1.20848633481026[/C][/ROW]
[ROW][C]38[/C][C]99.6[/C][C]99.3355509793593[/C][C]0.264449020640698[/C][/ROW]
[ROW][C]39[/C][C]114.3[/C][C]108.918691947721[/C][C]5.38130805227891[/C][/ROW]
[ROW][C]40[/C][C]107.8[/C][C]101.75704203677[/C][C]6.04295796322997[/C][/ROW]
[ROW][C]41[/C][C]101.2[/C][C]99.2300592079688[/C][C]1.96994079203116[/C][/ROW]
[ROW][C]42[/C][C]112.5[/C][C]108.255970144488[/C][C]4.24402985551156[/C][/ROW]
[ROW][C]43[/C][C]100.5[/C][C]94.100872160734[/C][C]6.39912783926596[/C][/ROW]
[ROW][C]44[/C][C]93.9[/C][C]94.8353388603932[/C][C]-0.935338860393201[/C][/ROW]
[ROW][C]45[/C][C]116.2[/C][C]108.456218588404[/C][C]7.74378141159617[/C][/ROW]
[ROW][C]46[/C][C]112[/C][C]109.63341566004[/C][C]2.36658433995998[/C][/ROW]
[ROW][C]47[/C][C]106.4[/C][C]106.60905887101[/C][C]-0.209058871010030[/C][/ROW]
[ROW][C]48[/C][C]95.7[/C][C]102.654453665150[/C][C]-6.95445366514951[/C][/ROW]
[ROW][C]49[/C][C]96[/C][C]101.744562934875[/C][C]-5.74456293487478[/C][/ROW]
[ROW][C]50[/C][C]95.8[/C][C]99.3854963310302[/C][C]-3.58549633103023[/C][/ROW]
[ROW][C]51[/C][C]103[/C][C]108.566001150835[/C][C]-5.56600115083498[/C][/ROW]
[ROW][C]52[/C][C]102.2[/C][C]102.611349077943[/C][C]-0.411349077942749[/C][/ROW]
[ROW][C]53[/C][C]98.4[/C][C]100.497503102618[/C][C]-2.09750310261814[/C][/ROW]
[ROW][C]54[/C][C]111.4[/C][C]106.681072819586[/C][C]4.71892718041355[/C][/ROW]
[ROW][C]55[/C][C]86.6[/C][C]92.239858841648[/C][C]-5.63985884164799[/C][/ROW]
[ROW][C]56[/C][C]91.3[/C][C]95.1246894015325[/C][C]-3.82468940153247[/C][/ROW]
[ROW][C]57[/C][C]107.9[/C][C]108.760322515694[/C][C]-0.860322515694005[/C][/ROW]
[ROW][C]58[/C][C]101.8[/C][C]108.555104907329[/C][C]-6.75510490732889[/C][/ROW]
[ROW][C]59[/C][C]104.4[/C][C]108.174771103752[/C][C]-3.77477110375184[/C][/ROW]
[ROW][C]60[/C][C]93.4[/C][C]100.699461287331[/C][C]-7.29946128733058[/C][/ROW]
[ROW][C]61[/C][C]100.1[/C][C]102.947889582913[/C][C]-2.84788958291286[/C][/ROW]
[ROW][C]62[/C][C]98.5[/C][C]102.067941402434[/C][C]-3.56794140243439[/C][/ROW]
[ROW][C]63[/C][C]112.9[/C][C]111.849102482423[/C][C]1.05089751757684[/C][/ROW]
[ROW][C]64[/C][C]101.4[/C][C]102.496270890399[/C][C]-1.09627089039948[/C][/ROW]
[ROW][C]65[/C][C]107.1[/C][C]103.90188270561[/C][C]3.19811729438999[/C][/ROW]
[ROW][C]66[/C][C]110.8[/C][C]108.255757760648[/C][C]2.54424223935164[/C][/ROW]
[ROW][C]67[/C][C]90.3[/C][C]93.4560294386773[/C][C]-3.1560294386773[/C][/ROW]
[ROW][C]68[/C][C]95.5[/C][C]96.9131036761314[/C][C]-1.41310367613142[/C][/ROW]
[ROW][C]69[/C][C]111.4[/C][C]108.694388833232[/C][C]2.7056111667681[/C][/ROW]
[ROW][C]70[/C][C]113[/C][C]112.658467870609[/C][C]0.341532129390953[/C][/ROW]
[ROW][C]71[/C][C]107.5[/C][C]109.191517587794[/C][C]-1.69151758779381[/C][/ROW]
[ROW][C]72[/C][C]95.9[/C][C]101.155678079803[/C][C]-5.25567807980271[/C][/ROW]
[ROW][C]73[/C][C]106.3[/C][C]104.648904131034[/C][C]1.65109586896583[/C][/ROW]
[ROW][C]74[/C][C]105.2[/C][C]102.214635725617[/C][C]2.98536427438304[/C][/ROW]
[ROW][C]75[/C][C]117.2[/C][C]111.366520649479[/C][C]5.83347935052061[/C][/ROW]
[ROW][C]76[/C][C]106.9[/C][C]103.01805415899[/C][C]3.8819458410099[/C][/ROW]
[ROW][C]77[/C][C]108.2[/C][C]102.888616400170[/C][C]5.3113835998298[/C][/ROW]
[ROW][C]78[/C][C]110[/C][C]108.212663296298[/C][C]1.78733670370228[/C][/ROW]
[ROW][C]79[/C][C]96.1[/C][C]97.0247865567971[/C][C]-0.92478655679712[/C][/ROW]
[ROW][C]80[/C][C]100.6[/C][C]97.9498120633148[/C][C]2.65018793668517[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14366&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14366&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
1103.198.53917181896934.56082818103073
2100.696.7181341353553.88186586464502
3103.1104.497520881244-1.39752088124411
495.597.2774322560174-1.77743225601737
590.597.189958874084-6.68995887408404
690.9102.312805670147-11.4128056701465
788.889.0945852677263-0.294585267726265
890.791.1212016479903-0.421201647990273
994.3101.994369707986-7.69436970798589
10104.6108.209864390325-3.60986439032454
11111.1102.7712710729048.3287289270964
12110.894.273684277253116.5263157227469
13107.2100.3098670462816.89013295371897
149998.69719978323380.302800216766244
1599105.765889182835-6.76588918283475
1691100.926890117607-9.92689011760664
1796.299.486699548254-3.28669954825395
1896.9103.331959329582-6.43195932958242
1996.292.11403272716784.08596727283221
20100.191.6376303480978.46236965190303
2199103.69888510378-4.69888510378004
22115.4109.4187902442465.98120975575422
23106.9103.6400515635233.25994843647731
24107.196.407713269414310.6922867305857
2599.3102.601118151118-3.30111815111762
2699.299.4810416429704-0.281041642970379
27108.3106.8362737054631.46372629453747
28105.6102.3129614622743.28703853772636
2999.597.90528016129481.59471983870518
30107.4102.849770979254.55022902074993
3193.193.5698350072495-0.469835007249489
3288.192.6182240025408-4.51822400254083
33110.7107.8958152509042.80418474909566
34113.1111.4243569274521.67564307254827
3599.6105.513329801018-5.91332980101804
3693.6101.309009421050-7.70900942104974
3798.699.8084863348103-1.20848633481026
3899.699.33555097935930.264449020640698
39114.3108.9186919477215.38130805227891
40107.8101.757042036776.04295796322997
41101.299.23005920796881.96994079203116
42112.5108.2559701444884.24402985551156
43100.594.1008721607346.39912783926596
4493.994.8353388603932-0.935338860393201
45116.2108.4562185884047.74378141159617
46112109.633415660042.36658433995998
47106.4106.60905887101-0.209058871010030
4895.7102.654453665150-6.95445366514951
4996101.744562934875-5.74456293487478
5095.899.3854963310302-3.58549633103023
51103108.566001150835-5.56600115083498
52102.2102.611349077943-0.411349077942749
5398.4100.497503102618-2.09750310261814
54111.4106.6810728195864.71892718041355
5586.692.239858841648-5.63985884164799
5691.395.1246894015325-3.82468940153247
57107.9108.760322515694-0.860322515694005
58101.8108.555104907329-6.75510490732889
59104.4108.174771103752-3.77477110375184
6093.4100.699461287331-7.29946128733058
61100.1102.947889582913-2.84788958291286
6298.5102.067941402434-3.56794140243439
63112.9111.8491024824231.05089751757684
64101.4102.496270890399-1.09627089039948
65107.1103.901882705613.19811729438999
66110.8108.2557577606482.54424223935164
6790.393.4560294386773-3.1560294386773
6895.596.9131036761314-1.41310367613142
69111.4108.6943888332322.7056111667681
70113112.6584678706090.341532129390953
71107.5109.191517587794-1.69151758779381
7295.9101.155678079803-5.25567807980271
73106.3104.6489041310341.65109586896583
74105.2102.2146357256172.98536427438304
75117.2111.3665206494795.83347935052061
76106.9103.018054158993.8819458410099
77108.2102.8886164001705.3113835998298
78110108.2126632962981.78733670370228
7996.197.0247865567971-0.92478655679712
80100.697.94981206331482.65018793668517



Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = 3 ; par7 = 0 ; par8 = 2 ; par9 = 0 ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
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))
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')
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()
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')