Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 18 Dec 2007 11:50:35 -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/18/t1198002891ae2sd5ov0eg0gg2.htm/, Retrieved Sat, 04 May 2024 11:16:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14393, Retrieved Sat, 04 May 2024 11:16:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact187
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple regression] [2007-12-18 18:50:35] [9dd4e461268c8034f5c8564e155c67a6] [Current]
Feedback Forum

Post a new message
Dataseries X:
106,0
100,9
114,3
101,2
109,2
111,6
91,7
93,7
105,7
109,5
105,3
102,8
100,6
97,6
110,3
107,2
107,2
108,1
97,1
92,2
112,2
111,6
115,7
111,3
104,2
103,2
112,7
106,4
102,6
110,6
95,2
89,0
112,5
116,8
107,2
113,6
101,8
102,6
122,7
110,3
110,5
121,6
100,3
100,7
123,4
127,1
124,1
131,2
111,6
114,2
130,1
125,9
119,0
133,8
107,5
113,5
134,4
126,8
135,6
139,9
129,8
131,0
153,1
134,1
144,1
155,9
123,3
128,1
144,3
153,0
149,9
150,9
141,0
138,9
157,4
142,9
151,7
161,0
138,6
136,0
151,9




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=14393&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=14393&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14393&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
x[t] = + 97.4816091954023 -8.10852490421458M1[t] -9.7053913519431M2[t] + 5.66917077175697M3[t] -5.35626710454297M4[t] -3.68170498084293M5[t] + 3.99285714285713M6[t] -17.9325807334428M7[t] -18.6580186097428M8[t] -0.569170771756992M9[t] + 0.491351943076064M10[t] -1.32932402846197M11[t] + 0.654009304871374t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
x[t] =  +  97.4816091954023 -8.10852490421458M1[t] -9.7053913519431M2[t] +  5.66917077175697M3[t] -5.35626710454297M4[t] -3.68170498084293M5[t] +  3.99285714285713M6[t] -17.9325807334428M7[t] -18.6580186097428M8[t] -0.569170771756992M9[t] +  0.491351943076064M10[t] -1.32932402846197M11[t] +  0.654009304871374t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14393&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]x[t] =  +  97.4816091954023 -8.10852490421458M1[t] -9.7053913519431M2[t] +  5.66917077175697M3[t] -5.35626710454297M4[t] -3.68170498084293M5[t] +  3.99285714285713M6[t] -17.9325807334428M7[t] -18.6580186097428M8[t] -0.569170771756992M9[t] +  0.491351943076064M10[t] -1.32932402846197M11[t] +  0.654009304871374t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14393&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14393&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] = + 97.4816091954023 -8.10852490421458M1[t] -9.7053913519431M2[t] + 5.66917077175697M3[t] -5.35626710454297M4[t] -3.68170498084293M5[t] + 3.99285714285713M6[t] -17.9325807334428M7[t] -18.6580186097428M8[t] -0.569170771756992M9[t] + 0.491351943076064M10[t] -1.32932402846197M11[t] + 0.654009304871374t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)97.48160919540233.26291529.875600
M1-8.108524904214583.994623-2.02990.0462860.023143
M2-9.70539135194313.993301-2.43040.0177250.008863
M35.669170771756973.9922731.420.1601660.080083
M4-5.356267104542973.991538-1.34190.184090.092045
M5-3.681704980842933.991096-0.92250.359540.17977
M63.992857142857133.9909491.00050.3206260.160313
M7-17.93258073344283.991096-4.49312.8e-051.4e-05
M8-18.65801860974283.991538-4.67441.4e-057e-06
M9-0.5691707717569923.992273-0.14260.8870530.443526
M100.4913519430760644.1421710.11860.9059250.452962
M11-1.329324028461974.141746-0.3210.7492270.374614
t0.6540093048713740.03425719.09100

\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) & 97.4816091954023 & 3.262915 & 29.8756 & 0 & 0 \tabularnewline
M1 & -8.10852490421458 & 3.994623 & -2.0299 & 0.046286 & 0.023143 \tabularnewline
M2 & -9.7053913519431 & 3.993301 & -2.4304 & 0.017725 & 0.008863 \tabularnewline
M3 & 5.66917077175697 & 3.992273 & 1.42 & 0.160166 & 0.080083 \tabularnewline
M4 & -5.35626710454297 & 3.991538 & -1.3419 & 0.18409 & 0.092045 \tabularnewline
M5 & -3.68170498084293 & 3.991096 & -0.9225 & 0.35954 & 0.17977 \tabularnewline
M6 & 3.99285714285713 & 3.990949 & 1.0005 & 0.320626 & 0.160313 \tabularnewline
M7 & -17.9325807334428 & 3.991096 & -4.4931 & 2.8e-05 & 1.4e-05 \tabularnewline
M8 & -18.6580186097428 & 3.991538 & -4.6744 & 1.4e-05 & 7e-06 \tabularnewline
M9 & -0.569170771756992 & 3.992273 & -0.1426 & 0.887053 & 0.443526 \tabularnewline
M10 & 0.491351943076064 & 4.142171 & 0.1186 & 0.905925 & 0.452962 \tabularnewline
M11 & -1.32932402846197 & 4.141746 & -0.321 & 0.749227 & 0.374614 \tabularnewline
t & 0.654009304871374 & 0.034257 & 19.091 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14393&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]97.4816091954023[/C][C]3.262915[/C][C]29.8756[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-8.10852490421458[/C][C]3.994623[/C][C]-2.0299[/C][C]0.046286[/C][C]0.023143[/C][/ROW]
[ROW][C]M2[/C][C]-9.7053913519431[/C][C]3.993301[/C][C]-2.4304[/C][C]0.017725[/C][C]0.008863[/C][/ROW]
[ROW][C]M3[/C][C]5.66917077175697[/C][C]3.992273[/C][C]1.42[/C][C]0.160166[/C][C]0.080083[/C][/ROW]
[ROW][C]M4[/C][C]-5.35626710454297[/C][C]3.991538[/C][C]-1.3419[/C][C]0.18409[/C][C]0.092045[/C][/ROW]
[ROW][C]M5[/C][C]-3.68170498084293[/C][C]3.991096[/C][C]-0.9225[/C][C]0.35954[/C][C]0.17977[/C][/ROW]
[ROW][C]M6[/C][C]3.99285714285713[/C][C]3.990949[/C][C]1.0005[/C][C]0.320626[/C][C]0.160313[/C][/ROW]
[ROW][C]M7[/C][C]-17.9325807334428[/C][C]3.991096[/C][C]-4.4931[/C][C]2.8e-05[/C][C]1.4e-05[/C][/ROW]
[ROW][C]M8[/C][C]-18.6580186097428[/C][C]3.991538[/C][C]-4.6744[/C][C]1.4e-05[/C][C]7e-06[/C][/ROW]
[ROW][C]M9[/C][C]-0.569170771756992[/C][C]3.992273[/C][C]-0.1426[/C][C]0.887053[/C][C]0.443526[/C][/ROW]
[ROW][C]M10[/C][C]0.491351943076064[/C][C]4.142171[/C][C]0.1186[/C][C]0.905925[/C][C]0.452962[/C][/ROW]
[ROW][C]M11[/C][C]-1.32932402846197[/C][C]4.141746[/C][C]-0.321[/C][C]0.749227[/C][C]0.374614[/C][/ROW]
[ROW][C]t[/C][C]0.654009304871374[/C][C]0.034257[/C][C]19.091[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14393&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14393&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)97.48160919540233.26291529.875600
M1-8.108524904214583.994623-2.02990.0462860.023143
M2-9.70539135194313.993301-2.43040.0177250.008863
M35.669170771756973.9922731.420.1601660.080083
M4-5.356267104542973.991538-1.34190.184090.092045
M5-3.681704980842933.991096-0.92250.359540.17977
M63.992857142857133.9909491.00050.3206260.160313
M7-17.93258073344283.991096-4.49312.8e-051.4e-05
M8-18.65801860974283.991538-4.67441.4e-057e-06
M9-0.5691707717569923.992273-0.14260.8870530.443526
M100.4913519430760644.1421710.11860.9059250.452962
M11-1.329324028461974.141746-0.3210.7492270.374614
t0.6540093048713740.03425719.09100







Multiple Linear Regression - Regression Statistics
Multiple R0.932272717360232
R-squared0.86913241953423
Adjusted R-squared0.846038140628507
F-TEST (value)37.634100769382
F-TEST (DF numerator)12
F-TEST (DF denominator)68
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.17346853859014
Sum Squared Residuals3499.1882594417

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.932272717360232 \tabularnewline
R-squared & 0.86913241953423 \tabularnewline
Adjusted R-squared & 0.846038140628507 \tabularnewline
F-TEST (value) & 37.634100769382 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 68 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 7.17346853859014 \tabularnewline
Sum Squared Residuals & 3499.1882594417 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14393&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.932272717360232[/C][/ROW]
[ROW][C]R-squared[/C][C]0.86913241953423[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.846038140628507[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]37.634100769382[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]68[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]7.17346853859014[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3499.1882594417[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14393&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14393&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.932272717360232
R-squared0.86913241953423
Adjusted R-squared0.846038140628507
F-TEST (value)37.634100769382
F-TEST (DF numerator)12
F-TEST (DF denominator)68
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.17346853859014
Sum Squared Residuals3499.1882594417







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
110690.027093596059315.9729064039407
2100.989.08423645320211.8157635467980
3114.3105.1128078817739.18719211822658
4101.294.74137931034486.45862068965518
5109.297.069950738916312.1300492610837
6111.6105.3985221674886.20147783251231
791.784.12709359605917.5729064039409
893.784.05566502463059.64433497536948
9105.7102.7985221674882.90147783251233
10109.5104.5130541871924.9869458128079
11105.3103.3463875205251.95361247947456
12102.8105.329720853859-2.52972085385879
13100.697.87520525451562.72479474548442
1497.696.93234811165840.667651888341568
15110.3112.960919540230-2.66091954022987
16107.2102.5894909688014.6105090311987
17107.2104.9180623973732.28193760262728
18108.1113.246633825944-5.14663382594417
1997.191.97520525451565.12479474548441
2092.291.9037766830870.296223316912988
21112.2110.6466338259441.55336617405584
22111.6112.361165845649-0.761165845648604
23115.7111.1944991789824.50550082101807
24111.3113.177832512315-1.87783251231528
25104.2105.723316912972-1.52331691297203
26103.2104.780459770115-1.58045977011492
27112.7120.809031198686-8.10903119868635
28106.4110.437602627258-4.03760262725778
29102.6112.766174055829-10.1661740558292
30110.6121.094745484401-10.4947454844007
3195.299.823316912972-4.62331691297207
328999.7518883415435-10.7518883415435
33112.5118.494745484401-5.99474548440066
34116.8120.209277504105-3.40927750410509
35107.2119.042610837438-11.8426108374384
36113.6121.025944170772-7.42594417077177
37101.8113.571428571429-11.7714285714285
38102.6112.628571428571-10.0285714285714
39122.7128.657142857143-5.95714285714286
40110.3118.285714285714-7.9857142857143
41110.5120.614285714286-10.1142857142857
42121.6128.942857142857-7.34285714285715
43100.3107.671428571429-7.37142857142857
44100.7107.6-6.9
45123.4126.342857142857-2.94285714285714
46127.1128.057389162562-0.957389162561581
47124.1126.890722495895-2.79072249589492
48131.2128.8740558292282.32594417077173
49111.6121.419540229885-9.81954022988503
50114.2120.476683087028-6.2766830870279
51130.1136.505254515599-6.40525451559935
52125.9126.133825944171-0.233825944170769
53119128.462397372742-9.4623973727422
54133.8136.790968801314-2.99096880131362
55107.5115.519540229885-8.01954022988506
56113.5115.448111658456-1.94811165845649
57134.4134.1909688013140.209031198686370
58126.8135.905500821018-9.10550082101806
59135.6134.7388341543510.861165845648596
60139.9136.7221674876853.17783251231526
61129.8129.2676518883420.532348111658499
62131128.3247947454842.67520525451561
63153.1144.3533661740568.74663382594417
64134.1133.9819376026270.118062397372728
65144.1136.3105090311997.78949096880131
66155.9144.63908045977011.2609195402299
67123.3123.367651888342-0.0676518883415553
68128.1123.2962233169134.80377668308701
69144.3142.0390804597702.26091954022989
70153143.7536124794759.24638752052545
71149.9142.5869458128087.31305418719211
72150.9144.5702791461416.32972085385876
73141137.1157635467983.884236453202
74138.9136.1729064039412.72709359605912
75157.4152.2014778325125.19852216748769
76142.9141.8300492610841.06995073891625
77151.7144.1586206896557.54137931034482
78161152.4871921182278.51280788177339
79138.6131.2157635467987.38423645320195
80136131.1443349753694.85566502463053
81151.9149.8871921182272.01280788177338

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 106 & 90.0270935960593 & 15.9729064039407 \tabularnewline
2 & 100.9 & 89.084236453202 & 11.8157635467980 \tabularnewline
3 & 114.3 & 105.112807881773 & 9.18719211822658 \tabularnewline
4 & 101.2 & 94.7413793103448 & 6.45862068965518 \tabularnewline
5 & 109.2 & 97.0699507389163 & 12.1300492610837 \tabularnewline
6 & 111.6 & 105.398522167488 & 6.20147783251231 \tabularnewline
7 & 91.7 & 84.1270935960591 & 7.5729064039409 \tabularnewline
8 & 93.7 & 84.0556650246305 & 9.64433497536948 \tabularnewline
9 & 105.7 & 102.798522167488 & 2.90147783251233 \tabularnewline
10 & 109.5 & 104.513054187192 & 4.9869458128079 \tabularnewline
11 & 105.3 & 103.346387520525 & 1.95361247947456 \tabularnewline
12 & 102.8 & 105.329720853859 & -2.52972085385879 \tabularnewline
13 & 100.6 & 97.8752052545156 & 2.72479474548442 \tabularnewline
14 & 97.6 & 96.9323481116584 & 0.667651888341568 \tabularnewline
15 & 110.3 & 112.960919540230 & -2.66091954022987 \tabularnewline
16 & 107.2 & 102.589490968801 & 4.6105090311987 \tabularnewline
17 & 107.2 & 104.918062397373 & 2.28193760262728 \tabularnewline
18 & 108.1 & 113.246633825944 & -5.14663382594417 \tabularnewline
19 & 97.1 & 91.9752052545156 & 5.12479474548441 \tabularnewline
20 & 92.2 & 91.903776683087 & 0.296223316912988 \tabularnewline
21 & 112.2 & 110.646633825944 & 1.55336617405584 \tabularnewline
22 & 111.6 & 112.361165845649 & -0.761165845648604 \tabularnewline
23 & 115.7 & 111.194499178982 & 4.50550082101807 \tabularnewline
24 & 111.3 & 113.177832512315 & -1.87783251231528 \tabularnewline
25 & 104.2 & 105.723316912972 & -1.52331691297203 \tabularnewline
26 & 103.2 & 104.780459770115 & -1.58045977011492 \tabularnewline
27 & 112.7 & 120.809031198686 & -8.10903119868635 \tabularnewline
28 & 106.4 & 110.437602627258 & -4.03760262725778 \tabularnewline
29 & 102.6 & 112.766174055829 & -10.1661740558292 \tabularnewline
30 & 110.6 & 121.094745484401 & -10.4947454844007 \tabularnewline
31 & 95.2 & 99.823316912972 & -4.62331691297207 \tabularnewline
32 & 89 & 99.7518883415435 & -10.7518883415435 \tabularnewline
33 & 112.5 & 118.494745484401 & -5.99474548440066 \tabularnewline
34 & 116.8 & 120.209277504105 & -3.40927750410509 \tabularnewline
35 & 107.2 & 119.042610837438 & -11.8426108374384 \tabularnewline
36 & 113.6 & 121.025944170772 & -7.42594417077177 \tabularnewline
37 & 101.8 & 113.571428571429 & -11.7714285714285 \tabularnewline
38 & 102.6 & 112.628571428571 & -10.0285714285714 \tabularnewline
39 & 122.7 & 128.657142857143 & -5.95714285714286 \tabularnewline
40 & 110.3 & 118.285714285714 & -7.9857142857143 \tabularnewline
41 & 110.5 & 120.614285714286 & -10.1142857142857 \tabularnewline
42 & 121.6 & 128.942857142857 & -7.34285714285715 \tabularnewline
43 & 100.3 & 107.671428571429 & -7.37142857142857 \tabularnewline
44 & 100.7 & 107.6 & -6.9 \tabularnewline
45 & 123.4 & 126.342857142857 & -2.94285714285714 \tabularnewline
46 & 127.1 & 128.057389162562 & -0.957389162561581 \tabularnewline
47 & 124.1 & 126.890722495895 & -2.79072249589492 \tabularnewline
48 & 131.2 & 128.874055829228 & 2.32594417077173 \tabularnewline
49 & 111.6 & 121.419540229885 & -9.81954022988503 \tabularnewline
50 & 114.2 & 120.476683087028 & -6.2766830870279 \tabularnewline
51 & 130.1 & 136.505254515599 & -6.40525451559935 \tabularnewline
52 & 125.9 & 126.133825944171 & -0.233825944170769 \tabularnewline
53 & 119 & 128.462397372742 & -9.4623973727422 \tabularnewline
54 & 133.8 & 136.790968801314 & -2.99096880131362 \tabularnewline
55 & 107.5 & 115.519540229885 & -8.01954022988506 \tabularnewline
56 & 113.5 & 115.448111658456 & -1.94811165845649 \tabularnewline
57 & 134.4 & 134.190968801314 & 0.209031198686370 \tabularnewline
58 & 126.8 & 135.905500821018 & -9.10550082101806 \tabularnewline
59 & 135.6 & 134.738834154351 & 0.861165845648596 \tabularnewline
60 & 139.9 & 136.722167487685 & 3.17783251231526 \tabularnewline
61 & 129.8 & 129.267651888342 & 0.532348111658499 \tabularnewline
62 & 131 & 128.324794745484 & 2.67520525451561 \tabularnewline
63 & 153.1 & 144.353366174056 & 8.74663382594417 \tabularnewline
64 & 134.1 & 133.981937602627 & 0.118062397372728 \tabularnewline
65 & 144.1 & 136.310509031199 & 7.78949096880131 \tabularnewline
66 & 155.9 & 144.639080459770 & 11.2609195402299 \tabularnewline
67 & 123.3 & 123.367651888342 & -0.0676518883415553 \tabularnewline
68 & 128.1 & 123.296223316913 & 4.80377668308701 \tabularnewline
69 & 144.3 & 142.039080459770 & 2.26091954022989 \tabularnewline
70 & 153 & 143.753612479475 & 9.24638752052545 \tabularnewline
71 & 149.9 & 142.586945812808 & 7.31305418719211 \tabularnewline
72 & 150.9 & 144.570279146141 & 6.32972085385876 \tabularnewline
73 & 141 & 137.115763546798 & 3.884236453202 \tabularnewline
74 & 138.9 & 136.172906403941 & 2.72709359605912 \tabularnewline
75 & 157.4 & 152.201477832512 & 5.19852216748769 \tabularnewline
76 & 142.9 & 141.830049261084 & 1.06995073891625 \tabularnewline
77 & 151.7 & 144.158620689655 & 7.54137931034482 \tabularnewline
78 & 161 & 152.487192118227 & 8.51280788177339 \tabularnewline
79 & 138.6 & 131.215763546798 & 7.38423645320195 \tabularnewline
80 & 136 & 131.144334975369 & 4.85566502463053 \tabularnewline
81 & 151.9 & 149.887192118227 & 2.01280788177338 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14393&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]106[/C][C]90.0270935960593[/C][C]15.9729064039407[/C][/ROW]
[ROW][C]2[/C][C]100.9[/C][C]89.084236453202[/C][C]11.8157635467980[/C][/ROW]
[ROW][C]3[/C][C]114.3[/C][C]105.112807881773[/C][C]9.18719211822658[/C][/ROW]
[ROW][C]4[/C][C]101.2[/C][C]94.7413793103448[/C][C]6.45862068965518[/C][/ROW]
[ROW][C]5[/C][C]109.2[/C][C]97.0699507389163[/C][C]12.1300492610837[/C][/ROW]
[ROW][C]6[/C][C]111.6[/C][C]105.398522167488[/C][C]6.20147783251231[/C][/ROW]
[ROW][C]7[/C][C]91.7[/C][C]84.1270935960591[/C][C]7.5729064039409[/C][/ROW]
[ROW][C]8[/C][C]93.7[/C][C]84.0556650246305[/C][C]9.64433497536948[/C][/ROW]
[ROW][C]9[/C][C]105.7[/C][C]102.798522167488[/C][C]2.90147783251233[/C][/ROW]
[ROW][C]10[/C][C]109.5[/C][C]104.513054187192[/C][C]4.9869458128079[/C][/ROW]
[ROW][C]11[/C][C]105.3[/C][C]103.346387520525[/C][C]1.95361247947456[/C][/ROW]
[ROW][C]12[/C][C]102.8[/C][C]105.329720853859[/C][C]-2.52972085385879[/C][/ROW]
[ROW][C]13[/C][C]100.6[/C][C]97.8752052545156[/C][C]2.72479474548442[/C][/ROW]
[ROW][C]14[/C][C]97.6[/C][C]96.9323481116584[/C][C]0.667651888341568[/C][/ROW]
[ROW][C]15[/C][C]110.3[/C][C]112.960919540230[/C][C]-2.66091954022987[/C][/ROW]
[ROW][C]16[/C][C]107.2[/C][C]102.589490968801[/C][C]4.6105090311987[/C][/ROW]
[ROW][C]17[/C][C]107.2[/C][C]104.918062397373[/C][C]2.28193760262728[/C][/ROW]
[ROW][C]18[/C][C]108.1[/C][C]113.246633825944[/C][C]-5.14663382594417[/C][/ROW]
[ROW][C]19[/C][C]97.1[/C][C]91.9752052545156[/C][C]5.12479474548441[/C][/ROW]
[ROW][C]20[/C][C]92.2[/C][C]91.903776683087[/C][C]0.296223316912988[/C][/ROW]
[ROW][C]21[/C][C]112.2[/C][C]110.646633825944[/C][C]1.55336617405584[/C][/ROW]
[ROW][C]22[/C][C]111.6[/C][C]112.361165845649[/C][C]-0.761165845648604[/C][/ROW]
[ROW][C]23[/C][C]115.7[/C][C]111.194499178982[/C][C]4.50550082101807[/C][/ROW]
[ROW][C]24[/C][C]111.3[/C][C]113.177832512315[/C][C]-1.87783251231528[/C][/ROW]
[ROW][C]25[/C][C]104.2[/C][C]105.723316912972[/C][C]-1.52331691297203[/C][/ROW]
[ROW][C]26[/C][C]103.2[/C][C]104.780459770115[/C][C]-1.58045977011492[/C][/ROW]
[ROW][C]27[/C][C]112.7[/C][C]120.809031198686[/C][C]-8.10903119868635[/C][/ROW]
[ROW][C]28[/C][C]106.4[/C][C]110.437602627258[/C][C]-4.03760262725778[/C][/ROW]
[ROW][C]29[/C][C]102.6[/C][C]112.766174055829[/C][C]-10.1661740558292[/C][/ROW]
[ROW][C]30[/C][C]110.6[/C][C]121.094745484401[/C][C]-10.4947454844007[/C][/ROW]
[ROW][C]31[/C][C]95.2[/C][C]99.823316912972[/C][C]-4.62331691297207[/C][/ROW]
[ROW][C]32[/C][C]89[/C][C]99.7518883415435[/C][C]-10.7518883415435[/C][/ROW]
[ROW][C]33[/C][C]112.5[/C][C]118.494745484401[/C][C]-5.99474548440066[/C][/ROW]
[ROW][C]34[/C][C]116.8[/C][C]120.209277504105[/C][C]-3.40927750410509[/C][/ROW]
[ROW][C]35[/C][C]107.2[/C][C]119.042610837438[/C][C]-11.8426108374384[/C][/ROW]
[ROW][C]36[/C][C]113.6[/C][C]121.025944170772[/C][C]-7.42594417077177[/C][/ROW]
[ROW][C]37[/C][C]101.8[/C][C]113.571428571429[/C][C]-11.7714285714285[/C][/ROW]
[ROW][C]38[/C][C]102.6[/C][C]112.628571428571[/C][C]-10.0285714285714[/C][/ROW]
[ROW][C]39[/C][C]122.7[/C][C]128.657142857143[/C][C]-5.95714285714286[/C][/ROW]
[ROW][C]40[/C][C]110.3[/C][C]118.285714285714[/C][C]-7.9857142857143[/C][/ROW]
[ROW][C]41[/C][C]110.5[/C][C]120.614285714286[/C][C]-10.1142857142857[/C][/ROW]
[ROW][C]42[/C][C]121.6[/C][C]128.942857142857[/C][C]-7.34285714285715[/C][/ROW]
[ROW][C]43[/C][C]100.3[/C][C]107.671428571429[/C][C]-7.37142857142857[/C][/ROW]
[ROW][C]44[/C][C]100.7[/C][C]107.6[/C][C]-6.9[/C][/ROW]
[ROW][C]45[/C][C]123.4[/C][C]126.342857142857[/C][C]-2.94285714285714[/C][/ROW]
[ROW][C]46[/C][C]127.1[/C][C]128.057389162562[/C][C]-0.957389162561581[/C][/ROW]
[ROW][C]47[/C][C]124.1[/C][C]126.890722495895[/C][C]-2.79072249589492[/C][/ROW]
[ROW][C]48[/C][C]131.2[/C][C]128.874055829228[/C][C]2.32594417077173[/C][/ROW]
[ROW][C]49[/C][C]111.6[/C][C]121.419540229885[/C][C]-9.81954022988503[/C][/ROW]
[ROW][C]50[/C][C]114.2[/C][C]120.476683087028[/C][C]-6.2766830870279[/C][/ROW]
[ROW][C]51[/C][C]130.1[/C][C]136.505254515599[/C][C]-6.40525451559935[/C][/ROW]
[ROW][C]52[/C][C]125.9[/C][C]126.133825944171[/C][C]-0.233825944170769[/C][/ROW]
[ROW][C]53[/C][C]119[/C][C]128.462397372742[/C][C]-9.4623973727422[/C][/ROW]
[ROW][C]54[/C][C]133.8[/C][C]136.790968801314[/C][C]-2.99096880131362[/C][/ROW]
[ROW][C]55[/C][C]107.5[/C][C]115.519540229885[/C][C]-8.01954022988506[/C][/ROW]
[ROW][C]56[/C][C]113.5[/C][C]115.448111658456[/C][C]-1.94811165845649[/C][/ROW]
[ROW][C]57[/C][C]134.4[/C][C]134.190968801314[/C][C]0.209031198686370[/C][/ROW]
[ROW][C]58[/C][C]126.8[/C][C]135.905500821018[/C][C]-9.10550082101806[/C][/ROW]
[ROW][C]59[/C][C]135.6[/C][C]134.738834154351[/C][C]0.861165845648596[/C][/ROW]
[ROW][C]60[/C][C]139.9[/C][C]136.722167487685[/C][C]3.17783251231526[/C][/ROW]
[ROW][C]61[/C][C]129.8[/C][C]129.267651888342[/C][C]0.532348111658499[/C][/ROW]
[ROW][C]62[/C][C]131[/C][C]128.324794745484[/C][C]2.67520525451561[/C][/ROW]
[ROW][C]63[/C][C]153.1[/C][C]144.353366174056[/C][C]8.74663382594417[/C][/ROW]
[ROW][C]64[/C][C]134.1[/C][C]133.981937602627[/C][C]0.118062397372728[/C][/ROW]
[ROW][C]65[/C][C]144.1[/C][C]136.310509031199[/C][C]7.78949096880131[/C][/ROW]
[ROW][C]66[/C][C]155.9[/C][C]144.639080459770[/C][C]11.2609195402299[/C][/ROW]
[ROW][C]67[/C][C]123.3[/C][C]123.367651888342[/C][C]-0.0676518883415553[/C][/ROW]
[ROW][C]68[/C][C]128.1[/C][C]123.296223316913[/C][C]4.80377668308701[/C][/ROW]
[ROW][C]69[/C][C]144.3[/C][C]142.039080459770[/C][C]2.26091954022989[/C][/ROW]
[ROW][C]70[/C][C]153[/C][C]143.753612479475[/C][C]9.24638752052545[/C][/ROW]
[ROW][C]71[/C][C]149.9[/C][C]142.586945812808[/C][C]7.31305418719211[/C][/ROW]
[ROW][C]72[/C][C]150.9[/C][C]144.570279146141[/C][C]6.32972085385876[/C][/ROW]
[ROW][C]73[/C][C]141[/C][C]137.115763546798[/C][C]3.884236453202[/C][/ROW]
[ROW][C]74[/C][C]138.9[/C][C]136.172906403941[/C][C]2.72709359605912[/C][/ROW]
[ROW][C]75[/C][C]157.4[/C][C]152.201477832512[/C][C]5.19852216748769[/C][/ROW]
[ROW][C]76[/C][C]142.9[/C][C]141.830049261084[/C][C]1.06995073891625[/C][/ROW]
[ROW][C]77[/C][C]151.7[/C][C]144.158620689655[/C][C]7.54137931034482[/C][/ROW]
[ROW][C]78[/C][C]161[/C][C]152.487192118227[/C][C]8.51280788177339[/C][/ROW]
[ROW][C]79[/C][C]138.6[/C][C]131.215763546798[/C][C]7.38423645320195[/C][/ROW]
[ROW][C]80[/C][C]136[/C][C]131.144334975369[/C][C]4.85566502463053[/C][/ROW]
[ROW][C]81[/C][C]151.9[/C][C]149.887192118227[/C][C]2.01280788177338[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14393&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14393&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
110690.027093596059315.9729064039407
2100.989.08423645320211.8157635467980
3114.3105.1128078817739.18719211822658
4101.294.74137931034486.45862068965518
5109.297.069950738916312.1300492610837
6111.6105.3985221674886.20147783251231
791.784.12709359605917.5729064039409
893.784.05566502463059.64433497536948
9105.7102.7985221674882.90147783251233
10109.5104.5130541871924.9869458128079
11105.3103.3463875205251.95361247947456
12102.8105.329720853859-2.52972085385879
13100.697.87520525451562.72479474548442
1497.696.93234811165840.667651888341568
15110.3112.960919540230-2.66091954022987
16107.2102.5894909688014.6105090311987
17107.2104.9180623973732.28193760262728
18108.1113.246633825944-5.14663382594417
1997.191.97520525451565.12479474548441
2092.291.9037766830870.296223316912988
21112.2110.6466338259441.55336617405584
22111.6112.361165845649-0.761165845648604
23115.7111.1944991789824.50550082101807
24111.3113.177832512315-1.87783251231528
25104.2105.723316912972-1.52331691297203
26103.2104.780459770115-1.58045977011492
27112.7120.809031198686-8.10903119868635
28106.4110.437602627258-4.03760262725778
29102.6112.766174055829-10.1661740558292
30110.6121.094745484401-10.4947454844007
3195.299.823316912972-4.62331691297207
328999.7518883415435-10.7518883415435
33112.5118.494745484401-5.99474548440066
34116.8120.209277504105-3.40927750410509
35107.2119.042610837438-11.8426108374384
36113.6121.025944170772-7.42594417077177
37101.8113.571428571429-11.7714285714285
38102.6112.628571428571-10.0285714285714
39122.7128.657142857143-5.95714285714286
40110.3118.285714285714-7.9857142857143
41110.5120.614285714286-10.1142857142857
42121.6128.942857142857-7.34285714285715
43100.3107.671428571429-7.37142857142857
44100.7107.6-6.9
45123.4126.342857142857-2.94285714285714
46127.1128.057389162562-0.957389162561581
47124.1126.890722495895-2.79072249589492
48131.2128.8740558292282.32594417077173
49111.6121.419540229885-9.81954022988503
50114.2120.476683087028-6.2766830870279
51130.1136.505254515599-6.40525451559935
52125.9126.133825944171-0.233825944170769
53119128.462397372742-9.4623973727422
54133.8136.790968801314-2.99096880131362
55107.5115.519540229885-8.01954022988506
56113.5115.448111658456-1.94811165845649
57134.4134.1909688013140.209031198686370
58126.8135.905500821018-9.10550082101806
59135.6134.7388341543510.861165845648596
60139.9136.7221674876853.17783251231526
61129.8129.2676518883420.532348111658499
62131128.3247947454842.67520525451561
63153.1144.3533661740568.74663382594417
64134.1133.9819376026270.118062397372728
65144.1136.3105090311997.78949096880131
66155.9144.63908045977011.2609195402299
67123.3123.367651888342-0.0676518883415553
68128.1123.2962233169134.80377668308701
69144.3142.0390804597702.26091954022989
70153143.7536124794759.24638752052545
71149.9142.5869458128087.31305418719211
72150.9144.5702791461416.32972085385876
73141137.1157635467983.884236453202
74138.9136.1729064039412.72709359605912
75157.4152.2014778325125.19852216748769
76142.9141.8300492610841.06995073891625
77151.7144.1586206896557.54137931034482
78161152.4871921182278.51280788177339
79138.6131.2157635467987.38423645320195
80136131.1443349753694.85566502463053
81151.9149.8871921182272.01280788177338



Parameters (Session):
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')