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 09:00:01 -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/t1197560696anb7lps2n7iamkn.htm/, Retrieved Sun, 05 May 2024 16:25:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14367, Retrieved Sun, 05 May 2024 16:25:32 +0000
QR Codes:

Original text written by user:aanval USA in Irak 1 mei 2003
IsPrivate?No (this computation is public)
User-defined keywordsmultiple regression
Estimated Impact191
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper] [2007-12-13 16:00:01] [d257e7299571e01f9460a31146f59d8d] [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	0
99	98	95.2	98.2	0
99	104.3	103.8	104.5	0
91	100.6	97	100.8	0
96.2	101.1	95.5	101.5	0
96.9	103.9	101	103.9	0
96.2	96.9	67.5	99.6	0
100.1	95.5	64	98.4	0
99	108.4	106.7	112.7	0
115.4	117	100.6	118.4	0
106.9	103.8	101.2	108.1	0
107.1	100.8	93.1	105.4	0
99.3	110.6	84.2	114.6	0
99.2	104	85.8	106.9	0
108.3	112.6	91.8	115.9	0
105.6	107.3	92.4	109.8	0
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14367&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14367&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14367&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
intermediaire-goederen[t] = + 68.0873734438617 + 0.189856395390054`totale-consumptiegoederen`[t] -0.0184033439239251`duurzame-consumptiegoederen`[t] + 0.096680713353948`niet-duurzame-consumptiegoederen`[t] -2.87863091100782`inval-USA-in-Irak`[t] + 4.25369055093826M1[t] + 2.88273763365504M2[t] + 7.90784012799898M3[t] + 4.24573766642082M4[t] + 3.0642567361827M5[t] + 5.90145014519717M6[t] -3.17162982247658M7[t] -3.1057799907332M8[t] + 5.7594812951929M9[t] + 8.92848470101635M10[t] + 6.6561488976943M11[t] + 0.0374113990247136t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
intermediaire-goederen[t] =  +  68.0873734438617 +  0.189856395390054`totale-consumptiegoederen`[t] -0.0184033439239251`duurzame-consumptiegoederen`[t] +  0.096680713353948`niet-duurzame-consumptiegoederen`[t] -2.87863091100782`inval-USA-in-Irak`[t] +  4.25369055093826M1[t] +  2.88273763365504M2[t] +  7.90784012799898M3[t] +  4.24573766642082M4[t] +  3.0642567361827M5[t] +  5.90145014519717M6[t] -3.17162982247658M7[t] -3.1057799907332M8[t] +  5.7594812951929M9[t] +  8.92848470101635M10[t] +  6.6561488976943M11[t] +  0.0374113990247136t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14367&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]intermediaire-goederen[t] =  +  68.0873734438617 +  0.189856395390054`totale-consumptiegoederen`[t] -0.0184033439239251`duurzame-consumptiegoederen`[t] +  0.096680713353948`niet-duurzame-consumptiegoederen`[t] -2.87863091100782`inval-USA-in-Irak`[t] +  4.25369055093826M1[t] +  2.88273763365504M2[t] +  7.90784012799898M3[t] +  4.24573766642082M4[t] +  3.0642567361827M5[t] +  5.90145014519717M6[t] -3.17162982247658M7[t] -3.1057799907332M8[t] +  5.7594812951929M9[t] +  8.92848470101635M10[t] +  6.6561488976943M11[t] +  0.0374113990247136t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14367&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14367&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
intermediaire-goederen[t] = + 68.0873734438617 + 0.189856395390054`totale-consumptiegoederen`[t] -0.0184033439239251`duurzame-consumptiegoederen`[t] + 0.096680713353948`niet-duurzame-consumptiegoederen`[t] -2.87863091100782`inval-USA-in-Irak`[t] + 4.25369055093826M1[t] + 2.88273763365504M2[t] + 7.90784012799898M3[t] + 4.24573766642082M4[t] + 3.0642567361827M5[t] + 5.90145014519717M6[t] -3.17162982247658M7[t] -3.1057799907332M8[t] + 5.7594812951929M9[t] + 8.92848470101635M10[t] + 6.6561488976943M11[t] + 0.0374113990247136t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)68.087373443861718.5325093.67390.0004950.000247
`totale-consumptiegoederen`0.1898563953900540.9113740.20830.8356520.417826
`duurzame-consumptiegoederen`-0.01840334392392510.170058-0.10820.9141660.457083
`niet-duurzame-consumptiegoederen`0.0966807133539480.8433880.11460.90910.45455
`inval-USA-in-Irak`-2.878630911007823.013434-0.95530.3430950.171547
M14.253690550938263.3822751.25760.2131630.106582
M22.882737633655043.4376780.83860.4048810.20244
M37.907840127998983.3884682.33380.0228130.011406
M44.245737666420823.4318831.23710.2206250.110312
M53.06425673618273.4454710.88940.3771940.188597
M65.901450145197173.4309781.720.0903330.045166
M7-3.171629822476584.566401-0.69460.4898860.244943
M8-3.10577999073324.254788-0.72990.4681270.234063
M95.75948129519293.8180931.50850.1364330.068217
M108.928484701016353.7615032.37360.0206750.010337
M116.65614889769433.3889171.96410.0539350.026967
t0.03741139902471360.0892780.4190.6766080.338304

\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) & 68.0873734438617 & 18.532509 & 3.6739 & 0.000495 & 0.000247 \tabularnewline
`totale-consumptiegoederen` & 0.189856395390054 & 0.911374 & 0.2083 & 0.835652 & 0.417826 \tabularnewline
`duurzame-consumptiegoederen` & -0.0184033439239251 & 0.170058 & -0.1082 & 0.914166 & 0.457083 \tabularnewline
`niet-duurzame-consumptiegoederen` & 0.096680713353948 & 0.843388 & 0.1146 & 0.9091 & 0.45455 \tabularnewline
`inval-USA-in-Irak` & -2.87863091100782 & 3.013434 & -0.9553 & 0.343095 & 0.171547 \tabularnewline
M1 & 4.25369055093826 & 3.382275 & 1.2576 & 0.213163 & 0.106582 \tabularnewline
M2 & 2.88273763365504 & 3.437678 & 0.8386 & 0.404881 & 0.20244 \tabularnewline
M3 & 7.90784012799898 & 3.388468 & 2.3338 & 0.022813 & 0.011406 \tabularnewline
M4 & 4.24573766642082 & 3.431883 & 1.2371 & 0.220625 & 0.110312 \tabularnewline
M5 & 3.0642567361827 & 3.445471 & 0.8894 & 0.377194 & 0.188597 \tabularnewline
M6 & 5.90145014519717 & 3.430978 & 1.72 & 0.090333 & 0.045166 \tabularnewline
M7 & -3.17162982247658 & 4.566401 & -0.6946 & 0.489886 & 0.244943 \tabularnewline
M8 & -3.1057799907332 & 4.254788 & -0.7299 & 0.468127 & 0.234063 \tabularnewline
M9 & 5.7594812951929 & 3.818093 & 1.5085 & 0.136433 & 0.068217 \tabularnewline
M10 & 8.92848470101635 & 3.761503 & 2.3736 & 0.020675 & 0.010337 \tabularnewline
M11 & 6.6561488976943 & 3.388917 & 1.9641 & 0.053935 & 0.026967 \tabularnewline
t & 0.0374113990247136 & 0.089278 & 0.419 & 0.676608 & 0.338304 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14367&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]68.0873734438617[/C][C]18.532509[/C][C]3.6739[/C][C]0.000495[/C][C]0.000247[/C][/ROW]
[ROW][C]`totale-consumptiegoederen`[/C][C]0.189856395390054[/C][C]0.911374[/C][C]0.2083[/C][C]0.835652[/C][C]0.417826[/C][/ROW]
[ROW][C]`duurzame-consumptiegoederen`[/C][C]-0.0184033439239251[/C][C]0.170058[/C][C]-0.1082[/C][C]0.914166[/C][C]0.457083[/C][/ROW]
[ROW][C]`niet-duurzame-consumptiegoederen`[/C][C]0.096680713353948[/C][C]0.843388[/C][C]0.1146[/C][C]0.9091[/C][C]0.45455[/C][/ROW]
[ROW][C]`inval-USA-in-Irak`[/C][C]-2.87863091100782[/C][C]3.013434[/C][C]-0.9553[/C][C]0.343095[/C][C]0.171547[/C][/ROW]
[ROW][C]M1[/C][C]4.25369055093826[/C][C]3.382275[/C][C]1.2576[/C][C]0.213163[/C][C]0.106582[/C][/ROW]
[ROW][C]M2[/C][C]2.88273763365504[/C][C]3.437678[/C][C]0.8386[/C][C]0.404881[/C][C]0.20244[/C][/ROW]
[ROW][C]M3[/C][C]7.90784012799898[/C][C]3.388468[/C][C]2.3338[/C][C]0.022813[/C][C]0.011406[/C][/ROW]
[ROW][C]M4[/C][C]4.24573766642082[/C][C]3.431883[/C][C]1.2371[/C][C]0.220625[/C][C]0.110312[/C][/ROW]
[ROW][C]M5[/C][C]3.0642567361827[/C][C]3.445471[/C][C]0.8894[/C][C]0.377194[/C][C]0.188597[/C][/ROW]
[ROW][C]M6[/C][C]5.90145014519717[/C][C]3.430978[/C][C]1.72[/C][C]0.090333[/C][C]0.045166[/C][/ROW]
[ROW][C]M7[/C][C]-3.17162982247658[/C][C]4.566401[/C][C]-0.6946[/C][C]0.489886[/C][C]0.244943[/C][/ROW]
[ROW][C]M8[/C][C]-3.1057799907332[/C][C]4.254788[/C][C]-0.7299[/C][C]0.468127[/C][C]0.234063[/C][/ROW]
[ROW][C]M9[/C][C]5.7594812951929[/C][C]3.818093[/C][C]1.5085[/C][C]0.136433[/C][C]0.068217[/C][/ROW]
[ROW][C]M10[/C][C]8.92848470101635[/C][C]3.761503[/C][C]2.3736[/C][C]0.020675[/C][C]0.010337[/C][/ROW]
[ROW][C]M11[/C][C]6.6561488976943[/C][C]3.388917[/C][C]1.9641[/C][C]0.053935[/C][C]0.026967[/C][/ROW]
[ROW][C]t[/C][C]0.0374113990247136[/C][C]0.089278[/C][C]0.419[/C][C]0.676608[/C][C]0.338304[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14367&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14367&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)68.087373443861718.5325093.67390.0004950.000247
`totale-consumptiegoederen`0.1898563953900540.9113740.20830.8356520.417826
`duurzame-consumptiegoederen`-0.01840334392392510.170058-0.10820.9141660.457083
`niet-duurzame-consumptiegoederen`0.0966807133539480.8433880.11460.90910.45455
`inval-USA-in-Irak`-2.878630911007823.013434-0.95530.3430950.171547
M14.253690550938263.3822751.25760.2131630.106582
M22.882737633655043.4376780.83860.4048810.20244
M37.907840127998983.3884682.33380.0228130.011406
M44.245737666420823.4318831.23710.2206250.110312
M53.06425673618273.4454710.88940.3771940.188597
M65.901450145197173.4309781.720.0903330.045166
M7-3.171629822476584.566401-0.69460.4898860.244943
M8-3.10577999073324.254788-0.72990.4681270.234063
M95.75948129519293.8180931.50850.1364330.068217
M108.928484701016353.7615032.37360.0206750.010337
M116.65614889769433.3889171.96410.0539350.026967
t0.03741139902471360.0892780.4190.6766080.338304







Multiple Linear Regression - Regression Statistics
Multiple R0.743506799184985
R-squared0.552802360434302
Adjusted R-squared0.439228356735077
F-TEST (value)4.86733180506935
F-TEST (DF numerator)16
F-TEST (DF denominator)63
p-value2.58953877430024e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.64222600287052
Sum Squared Residuals2005.58699885050

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.743506799184985 \tabularnewline
R-squared & 0.552802360434302 \tabularnewline
Adjusted R-squared & 0.439228356735077 \tabularnewline
F-TEST (value) & 4.86733180506935 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 63 \tabularnewline
p-value & 2.58953877430024e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.64222600287052 \tabularnewline
Sum Squared Residuals & 2005.58699885050 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14367&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.743506799184985[/C][/ROW]
[ROW][C]R-squared[/C][C]0.552802360434302[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.439228356735077[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.86733180506935[/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]2.58953877430024e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.64222600287052[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2005.58699885050[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14367&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14367&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.743506799184985
R-squared0.552802360434302
Adjusted R-squared0.439228356735077
F-TEST (value)4.86733180506935
F-TEST (DF numerator)16
F-TEST (DF denominator)63
p-value2.58953877430024e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.64222600287052
Sum Squared Residuals2005.58699885050







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1103.198.82566627704664.27433372295339
2100.697.26499246176963.33500753823039
3103.1104.664999472846-1.56499947284622
495.598.4548774942852-2.95487749428521
590.598.1903854393855-7.69038543938552
690.9103.085777451152-12.1857774511523
788.890.148513809067-1.34851380906700
890.791.9746101766381-1.27461017663809
994.3103.016090025409-8.71609002540881
10104.6109.010723032559-4.4107230325595
11111.1103.5366917333287.5633082666724
12110.894.733980038272516.0660199617275
13107.299.78095686928687.41904313071322
149997.84184512188811.15815487811189
1599104.551274042598-5.55127404259823
169199.9915384163747-8.99153841637466
1796.299.03767859809-2.83767859808993
1896.9102.574696633689-5.67469663368915
1996.292.41081825133933.78918174866075
20100.192.19667537627037.90332462372973
2199104.145206977163-5.14520697716264
22115.4109.6477272464195.75227275358128
23106.9103.8998450690733.00015493092736
24107.196.59956754396110.5004324560390
2599.3103.804514492526-4.5045144925258
2699.2100.444033921589-1.24403392158924
27108.3107.8990191719540.400980828045647
28105.6102.6672948560202.93270514397982
2999.596.49903544717043.0009645528296
30107.4102.6529578169044.74704218309552
3193.192.67481600093230.425183999067729
3288.192.132809309287-4.03280930928695
33110.7106.1977412697874.50225873021319
34113.1109.7022015891073.39779841089323
3599.6104.257709087700-4.65770908770031
3693.6100.485012162614-6.88501216261364
3798.698.7781633667652-0.178163366765164
3899.698.35939747075911.24060252924088
39114.3107.8668061126546.4331938873457
40107.8100.6722777579047.12772224209647
41101.298.1912425200693.00875747993099
42112.5107.3986979880355.10130201196487
43100.594.11361479855686.38638520144321
4493.994.5148280962495-0.614828096249517
45116.2108.3098092445947.89019075540626
46112109.5100660733062.48993392669372
47106.4107.049081354036-0.649081354036092
4895.7103.203678588899-7.50367858889925
4996101.784647389267-5.78464738926660
5095.899.4273972020658-3.62739720206584
51103108.399236506178-5.39923650617759
52102.2102.441105946527-0.241105946527237
5398.4101.259834326945-2.85983432694520
54111.4106.5197099480424.8802900519581
5586.691.6805669636791-5.08056696367913
5691.394.6692841426174-3.36928414261744
57107.9108.454130820253-0.554130820252828
58101.8109.061932391418-7.26193239141758
59104.4107.312907930597-2.91290793059671
6093.499.8816871593461-6.4816871593461
61100.1102.895392660814-2.79539266081363
6298.5101.760049386057-3.26004938605743
63112.9111.9755094779030.924490522096986
64101.4102.313030792966-0.913030792966373
65107.1103.8453377536973.25466224630285
66110.8108.0625676164712.73743238352924
6790.393.4493017047557-3.14930170475568
6895.596.6251526721475-1.12515267214746
69111.4109.3770216627952.02297833720484
70113112.9673496671910.0326503328088348
71107.5109.843764825267-2.34376482526664
7295.9101.596074506907-5.69607450690742
73106.3104.7306589442951.56934105570456
74105.2102.8022844358712.39771556412935
75117.2112.4431552158664.7568447841337
76106.9103.8598747359233.04012526407719
77108.2104.0764859146434.1235140853572
78110109.6055925457060.394407454293737
7996.197.122368471670-1.02236847166987
80100.698.08664022679032.51335977320973

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 103.1 & 98.8256662770466 & 4.27433372295339 \tabularnewline
2 & 100.6 & 97.2649924617696 & 3.33500753823039 \tabularnewline
3 & 103.1 & 104.664999472846 & -1.56499947284622 \tabularnewline
4 & 95.5 & 98.4548774942852 & -2.95487749428521 \tabularnewline
5 & 90.5 & 98.1903854393855 & -7.69038543938552 \tabularnewline
6 & 90.9 & 103.085777451152 & -12.1857774511523 \tabularnewline
7 & 88.8 & 90.148513809067 & -1.34851380906700 \tabularnewline
8 & 90.7 & 91.9746101766381 & -1.27461017663809 \tabularnewline
9 & 94.3 & 103.016090025409 & -8.71609002540881 \tabularnewline
10 & 104.6 & 109.010723032559 & -4.4107230325595 \tabularnewline
11 & 111.1 & 103.536691733328 & 7.5633082666724 \tabularnewline
12 & 110.8 & 94.7339800382725 & 16.0660199617275 \tabularnewline
13 & 107.2 & 99.7809568692868 & 7.41904313071322 \tabularnewline
14 & 99 & 97.8418451218881 & 1.15815487811189 \tabularnewline
15 & 99 & 104.551274042598 & -5.55127404259823 \tabularnewline
16 & 91 & 99.9915384163747 & -8.99153841637466 \tabularnewline
17 & 96.2 & 99.03767859809 & -2.83767859808993 \tabularnewline
18 & 96.9 & 102.574696633689 & -5.67469663368915 \tabularnewline
19 & 96.2 & 92.4108182513393 & 3.78918174866075 \tabularnewline
20 & 100.1 & 92.1966753762703 & 7.90332462372973 \tabularnewline
21 & 99 & 104.145206977163 & -5.14520697716264 \tabularnewline
22 & 115.4 & 109.647727246419 & 5.75227275358128 \tabularnewline
23 & 106.9 & 103.899845069073 & 3.00015493092736 \tabularnewline
24 & 107.1 & 96.599567543961 & 10.5004324560390 \tabularnewline
25 & 99.3 & 103.804514492526 & -4.5045144925258 \tabularnewline
26 & 99.2 & 100.444033921589 & -1.24403392158924 \tabularnewline
27 & 108.3 & 107.899019171954 & 0.400980828045647 \tabularnewline
28 & 105.6 & 102.667294856020 & 2.93270514397982 \tabularnewline
29 & 99.5 & 96.4990354471704 & 3.0009645528296 \tabularnewline
30 & 107.4 & 102.652957816904 & 4.74704218309552 \tabularnewline
31 & 93.1 & 92.6748160009323 & 0.425183999067729 \tabularnewline
32 & 88.1 & 92.132809309287 & -4.03280930928695 \tabularnewline
33 & 110.7 & 106.197741269787 & 4.50225873021319 \tabularnewline
34 & 113.1 & 109.702201589107 & 3.39779841089323 \tabularnewline
35 & 99.6 & 104.257709087700 & -4.65770908770031 \tabularnewline
36 & 93.6 & 100.485012162614 & -6.88501216261364 \tabularnewline
37 & 98.6 & 98.7781633667652 & -0.178163366765164 \tabularnewline
38 & 99.6 & 98.3593974707591 & 1.24060252924088 \tabularnewline
39 & 114.3 & 107.866806112654 & 6.4331938873457 \tabularnewline
40 & 107.8 & 100.672277757904 & 7.12772224209647 \tabularnewline
41 & 101.2 & 98.191242520069 & 3.00875747993099 \tabularnewline
42 & 112.5 & 107.398697988035 & 5.10130201196487 \tabularnewline
43 & 100.5 & 94.1136147985568 & 6.38638520144321 \tabularnewline
44 & 93.9 & 94.5148280962495 & -0.614828096249517 \tabularnewline
45 & 116.2 & 108.309809244594 & 7.89019075540626 \tabularnewline
46 & 112 & 109.510066073306 & 2.48993392669372 \tabularnewline
47 & 106.4 & 107.049081354036 & -0.649081354036092 \tabularnewline
48 & 95.7 & 103.203678588899 & -7.50367858889925 \tabularnewline
49 & 96 & 101.784647389267 & -5.78464738926660 \tabularnewline
50 & 95.8 & 99.4273972020658 & -3.62739720206584 \tabularnewline
51 & 103 & 108.399236506178 & -5.39923650617759 \tabularnewline
52 & 102.2 & 102.441105946527 & -0.241105946527237 \tabularnewline
53 & 98.4 & 101.259834326945 & -2.85983432694520 \tabularnewline
54 & 111.4 & 106.519709948042 & 4.8802900519581 \tabularnewline
55 & 86.6 & 91.6805669636791 & -5.08056696367913 \tabularnewline
56 & 91.3 & 94.6692841426174 & -3.36928414261744 \tabularnewline
57 & 107.9 & 108.454130820253 & -0.554130820252828 \tabularnewline
58 & 101.8 & 109.061932391418 & -7.26193239141758 \tabularnewline
59 & 104.4 & 107.312907930597 & -2.91290793059671 \tabularnewline
60 & 93.4 & 99.8816871593461 & -6.4816871593461 \tabularnewline
61 & 100.1 & 102.895392660814 & -2.79539266081363 \tabularnewline
62 & 98.5 & 101.760049386057 & -3.26004938605743 \tabularnewline
63 & 112.9 & 111.975509477903 & 0.924490522096986 \tabularnewline
64 & 101.4 & 102.313030792966 & -0.913030792966373 \tabularnewline
65 & 107.1 & 103.845337753697 & 3.25466224630285 \tabularnewline
66 & 110.8 & 108.062567616471 & 2.73743238352924 \tabularnewline
67 & 90.3 & 93.4493017047557 & -3.14930170475568 \tabularnewline
68 & 95.5 & 96.6251526721475 & -1.12515267214746 \tabularnewline
69 & 111.4 & 109.377021662795 & 2.02297833720484 \tabularnewline
70 & 113 & 112.967349667191 & 0.0326503328088348 \tabularnewline
71 & 107.5 & 109.843764825267 & -2.34376482526664 \tabularnewline
72 & 95.9 & 101.596074506907 & -5.69607450690742 \tabularnewline
73 & 106.3 & 104.730658944295 & 1.56934105570456 \tabularnewline
74 & 105.2 & 102.802284435871 & 2.39771556412935 \tabularnewline
75 & 117.2 & 112.443155215866 & 4.7568447841337 \tabularnewline
76 & 106.9 & 103.859874735923 & 3.04012526407719 \tabularnewline
77 & 108.2 & 104.076485914643 & 4.1235140853572 \tabularnewline
78 & 110 & 109.605592545706 & 0.394407454293737 \tabularnewline
79 & 96.1 & 97.122368471670 & -1.02236847166987 \tabularnewline
80 & 100.6 & 98.0866402267903 & 2.51335977320973 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14367&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.8256662770466[/C][C]4.27433372295339[/C][/ROW]
[ROW][C]2[/C][C]100.6[/C][C]97.2649924617696[/C][C]3.33500753823039[/C][/ROW]
[ROW][C]3[/C][C]103.1[/C][C]104.664999472846[/C][C]-1.56499947284622[/C][/ROW]
[ROW][C]4[/C][C]95.5[/C][C]98.4548774942852[/C][C]-2.95487749428521[/C][/ROW]
[ROW][C]5[/C][C]90.5[/C][C]98.1903854393855[/C][C]-7.69038543938552[/C][/ROW]
[ROW][C]6[/C][C]90.9[/C][C]103.085777451152[/C][C]-12.1857774511523[/C][/ROW]
[ROW][C]7[/C][C]88.8[/C][C]90.148513809067[/C][C]-1.34851380906700[/C][/ROW]
[ROW][C]8[/C][C]90.7[/C][C]91.9746101766381[/C][C]-1.27461017663809[/C][/ROW]
[ROW][C]9[/C][C]94.3[/C][C]103.016090025409[/C][C]-8.71609002540881[/C][/ROW]
[ROW][C]10[/C][C]104.6[/C][C]109.010723032559[/C][C]-4.4107230325595[/C][/ROW]
[ROW][C]11[/C][C]111.1[/C][C]103.536691733328[/C][C]7.5633082666724[/C][/ROW]
[ROW][C]12[/C][C]110.8[/C][C]94.7339800382725[/C][C]16.0660199617275[/C][/ROW]
[ROW][C]13[/C][C]107.2[/C][C]99.7809568692868[/C][C]7.41904313071322[/C][/ROW]
[ROW][C]14[/C][C]99[/C][C]97.8418451218881[/C][C]1.15815487811189[/C][/ROW]
[ROW][C]15[/C][C]99[/C][C]104.551274042598[/C][C]-5.55127404259823[/C][/ROW]
[ROW][C]16[/C][C]91[/C][C]99.9915384163747[/C][C]-8.99153841637466[/C][/ROW]
[ROW][C]17[/C][C]96.2[/C][C]99.03767859809[/C][C]-2.83767859808993[/C][/ROW]
[ROW][C]18[/C][C]96.9[/C][C]102.574696633689[/C][C]-5.67469663368915[/C][/ROW]
[ROW][C]19[/C][C]96.2[/C][C]92.4108182513393[/C][C]3.78918174866075[/C][/ROW]
[ROW][C]20[/C][C]100.1[/C][C]92.1966753762703[/C][C]7.90332462372973[/C][/ROW]
[ROW][C]21[/C][C]99[/C][C]104.145206977163[/C][C]-5.14520697716264[/C][/ROW]
[ROW][C]22[/C][C]115.4[/C][C]109.647727246419[/C][C]5.75227275358128[/C][/ROW]
[ROW][C]23[/C][C]106.9[/C][C]103.899845069073[/C][C]3.00015493092736[/C][/ROW]
[ROW][C]24[/C][C]107.1[/C][C]96.599567543961[/C][C]10.5004324560390[/C][/ROW]
[ROW][C]25[/C][C]99.3[/C][C]103.804514492526[/C][C]-4.5045144925258[/C][/ROW]
[ROW][C]26[/C][C]99.2[/C][C]100.444033921589[/C][C]-1.24403392158924[/C][/ROW]
[ROW][C]27[/C][C]108.3[/C][C]107.899019171954[/C][C]0.400980828045647[/C][/ROW]
[ROW][C]28[/C][C]105.6[/C][C]102.667294856020[/C][C]2.93270514397982[/C][/ROW]
[ROW][C]29[/C][C]99.5[/C][C]96.4990354471704[/C][C]3.0009645528296[/C][/ROW]
[ROW][C]30[/C][C]107.4[/C][C]102.652957816904[/C][C]4.74704218309552[/C][/ROW]
[ROW][C]31[/C][C]93.1[/C][C]92.6748160009323[/C][C]0.425183999067729[/C][/ROW]
[ROW][C]32[/C][C]88.1[/C][C]92.132809309287[/C][C]-4.03280930928695[/C][/ROW]
[ROW][C]33[/C][C]110.7[/C][C]106.197741269787[/C][C]4.50225873021319[/C][/ROW]
[ROW][C]34[/C][C]113.1[/C][C]109.702201589107[/C][C]3.39779841089323[/C][/ROW]
[ROW][C]35[/C][C]99.6[/C][C]104.257709087700[/C][C]-4.65770908770031[/C][/ROW]
[ROW][C]36[/C][C]93.6[/C][C]100.485012162614[/C][C]-6.88501216261364[/C][/ROW]
[ROW][C]37[/C][C]98.6[/C][C]98.7781633667652[/C][C]-0.178163366765164[/C][/ROW]
[ROW][C]38[/C][C]99.6[/C][C]98.3593974707591[/C][C]1.24060252924088[/C][/ROW]
[ROW][C]39[/C][C]114.3[/C][C]107.866806112654[/C][C]6.4331938873457[/C][/ROW]
[ROW][C]40[/C][C]107.8[/C][C]100.672277757904[/C][C]7.12772224209647[/C][/ROW]
[ROW][C]41[/C][C]101.2[/C][C]98.191242520069[/C][C]3.00875747993099[/C][/ROW]
[ROW][C]42[/C][C]112.5[/C][C]107.398697988035[/C][C]5.10130201196487[/C][/ROW]
[ROW][C]43[/C][C]100.5[/C][C]94.1136147985568[/C][C]6.38638520144321[/C][/ROW]
[ROW][C]44[/C][C]93.9[/C][C]94.5148280962495[/C][C]-0.614828096249517[/C][/ROW]
[ROW][C]45[/C][C]116.2[/C][C]108.309809244594[/C][C]7.89019075540626[/C][/ROW]
[ROW][C]46[/C][C]112[/C][C]109.510066073306[/C][C]2.48993392669372[/C][/ROW]
[ROW][C]47[/C][C]106.4[/C][C]107.049081354036[/C][C]-0.649081354036092[/C][/ROW]
[ROW][C]48[/C][C]95.7[/C][C]103.203678588899[/C][C]-7.50367858889925[/C][/ROW]
[ROW][C]49[/C][C]96[/C][C]101.784647389267[/C][C]-5.78464738926660[/C][/ROW]
[ROW][C]50[/C][C]95.8[/C][C]99.4273972020658[/C][C]-3.62739720206584[/C][/ROW]
[ROW][C]51[/C][C]103[/C][C]108.399236506178[/C][C]-5.39923650617759[/C][/ROW]
[ROW][C]52[/C][C]102.2[/C][C]102.441105946527[/C][C]-0.241105946527237[/C][/ROW]
[ROW][C]53[/C][C]98.4[/C][C]101.259834326945[/C][C]-2.85983432694520[/C][/ROW]
[ROW][C]54[/C][C]111.4[/C][C]106.519709948042[/C][C]4.8802900519581[/C][/ROW]
[ROW][C]55[/C][C]86.6[/C][C]91.6805669636791[/C][C]-5.08056696367913[/C][/ROW]
[ROW][C]56[/C][C]91.3[/C][C]94.6692841426174[/C][C]-3.36928414261744[/C][/ROW]
[ROW][C]57[/C][C]107.9[/C][C]108.454130820253[/C][C]-0.554130820252828[/C][/ROW]
[ROW][C]58[/C][C]101.8[/C][C]109.061932391418[/C][C]-7.26193239141758[/C][/ROW]
[ROW][C]59[/C][C]104.4[/C][C]107.312907930597[/C][C]-2.91290793059671[/C][/ROW]
[ROW][C]60[/C][C]93.4[/C][C]99.8816871593461[/C][C]-6.4816871593461[/C][/ROW]
[ROW][C]61[/C][C]100.1[/C][C]102.895392660814[/C][C]-2.79539266081363[/C][/ROW]
[ROW][C]62[/C][C]98.5[/C][C]101.760049386057[/C][C]-3.26004938605743[/C][/ROW]
[ROW][C]63[/C][C]112.9[/C][C]111.975509477903[/C][C]0.924490522096986[/C][/ROW]
[ROW][C]64[/C][C]101.4[/C][C]102.313030792966[/C][C]-0.913030792966373[/C][/ROW]
[ROW][C]65[/C][C]107.1[/C][C]103.845337753697[/C][C]3.25466224630285[/C][/ROW]
[ROW][C]66[/C][C]110.8[/C][C]108.062567616471[/C][C]2.73743238352924[/C][/ROW]
[ROW][C]67[/C][C]90.3[/C][C]93.4493017047557[/C][C]-3.14930170475568[/C][/ROW]
[ROW][C]68[/C][C]95.5[/C][C]96.6251526721475[/C][C]-1.12515267214746[/C][/ROW]
[ROW][C]69[/C][C]111.4[/C][C]109.377021662795[/C][C]2.02297833720484[/C][/ROW]
[ROW][C]70[/C][C]113[/C][C]112.967349667191[/C][C]0.0326503328088348[/C][/ROW]
[ROW][C]71[/C][C]107.5[/C][C]109.843764825267[/C][C]-2.34376482526664[/C][/ROW]
[ROW][C]72[/C][C]95.9[/C][C]101.596074506907[/C][C]-5.69607450690742[/C][/ROW]
[ROW][C]73[/C][C]106.3[/C][C]104.730658944295[/C][C]1.56934105570456[/C][/ROW]
[ROW][C]74[/C][C]105.2[/C][C]102.802284435871[/C][C]2.39771556412935[/C][/ROW]
[ROW][C]75[/C][C]117.2[/C][C]112.443155215866[/C][C]4.7568447841337[/C][/ROW]
[ROW][C]76[/C][C]106.9[/C][C]103.859874735923[/C][C]3.04012526407719[/C][/ROW]
[ROW][C]77[/C][C]108.2[/C][C]104.076485914643[/C][C]4.1235140853572[/C][/ROW]
[ROW][C]78[/C][C]110[/C][C]109.605592545706[/C][C]0.394407454293737[/C][/ROW]
[ROW][C]79[/C][C]96.1[/C][C]97.122368471670[/C][C]-1.02236847166987[/C][/ROW]
[ROW][C]80[/C][C]100.6[/C][C]98.0866402267903[/C][C]2.51335977320973[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14367&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14367&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.82566627704664.27433372295339
2100.697.26499246176963.33500753823039
3103.1104.664999472846-1.56499947284622
495.598.4548774942852-2.95487749428521
590.598.1903854393855-7.69038543938552
690.9103.085777451152-12.1857774511523
788.890.148513809067-1.34851380906700
890.791.9746101766381-1.27461017663809
994.3103.016090025409-8.71609002540881
10104.6109.010723032559-4.4107230325595
11111.1103.5366917333287.5633082666724
12110.894.733980038272516.0660199617275
13107.299.78095686928687.41904313071322
149997.84184512188811.15815487811189
1599104.551274042598-5.55127404259823
169199.9915384163747-8.99153841637466
1796.299.03767859809-2.83767859808993
1896.9102.574696633689-5.67469663368915
1996.292.41081825133933.78918174866075
20100.192.19667537627037.90332462372973
2199104.145206977163-5.14520697716264
22115.4109.6477272464195.75227275358128
23106.9103.8998450690733.00015493092736
24107.196.59956754396110.5004324560390
2599.3103.804514492526-4.5045144925258
2699.2100.444033921589-1.24403392158924
27108.3107.8990191719540.400980828045647
28105.6102.6672948560202.93270514397982
2999.596.49903544717043.0009645528296
30107.4102.6529578169044.74704218309552
3193.192.67481600093230.425183999067729
3288.192.132809309287-4.03280930928695
33110.7106.1977412697874.50225873021319
34113.1109.7022015891073.39779841089323
3599.6104.257709087700-4.65770908770031
3693.6100.485012162614-6.88501216261364
3798.698.7781633667652-0.178163366765164
3899.698.35939747075911.24060252924088
39114.3107.8668061126546.4331938873457
40107.8100.6722777579047.12772224209647
41101.298.1912425200693.00875747993099
42112.5107.3986979880355.10130201196487
43100.594.11361479855686.38638520144321
4493.994.5148280962495-0.614828096249517
45116.2108.3098092445947.89019075540626
46112109.5100660733062.48993392669372
47106.4107.049081354036-0.649081354036092
4895.7103.203678588899-7.50367858889925
4996101.784647389267-5.78464738926660
5095.899.4273972020658-3.62739720206584
51103108.399236506178-5.39923650617759
52102.2102.441105946527-0.241105946527237
5398.4101.259834326945-2.85983432694520
54111.4106.5197099480424.8802900519581
5586.691.6805669636791-5.08056696367913
5691.394.6692841426174-3.36928414261744
57107.9108.454130820253-0.554130820252828
58101.8109.061932391418-7.26193239141758
59104.4107.312907930597-2.91290793059671
6093.499.8816871593461-6.4816871593461
61100.1102.895392660814-2.79539266081363
6298.5101.760049386057-3.26004938605743
63112.9111.9755094779030.924490522096986
64101.4102.313030792966-0.913030792966373
65107.1103.8453377536973.25466224630285
66110.8108.0625676164712.73743238352924
6790.393.4493017047557-3.14930170475568
6895.596.6251526721475-1.12515267214746
69111.4109.3770216627952.02297833720484
70113112.9673496671910.0326503328088348
71107.5109.843764825267-2.34376482526664
7295.9101.596074506907-5.69607450690742
73106.3104.7306589442951.56934105570456
74105.2102.8022844358712.39771556412935
75117.2112.4431552158664.7568447841337
76106.9103.8598747359233.04012526407719
77108.2104.0764859146434.1235140853572
78110109.6055925457060.394407454293737
7996.197.122368471670-1.02236847166987
80100.698.08664022679032.51335977320973



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