Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 15 Nov 2007 08:41:05 -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/Nov/15/t1195141099w8q13uwafpv7oro.htm/, Retrieved Sat, 04 May 2024 06:46:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5465, Retrieved Sat, 04 May 2024 06:46:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWorkshop 6, question 3, eigen model, lineair, seasonality, war iraq, oorlog irak
Estimated Impact200
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Workshop 6, quest...] [2007-11-15 15:41:05] [181c187d2008ac66a37ecc12859b08c5] [Current]
Feedback Forum

Post a new message
Dataseries X:
108.4	106.7	0
117	100.6	0
103.8	101.2	0
100.8	93.1	0
110.6	84.2	0
104	85.8	0
112.6	91.8	1
107.3	92.4	1
98.9	80.3	1
109.8	79.7	1
104.9	62.5	1
102.2	57.1	1
123.9	100.8	1
124.9	100.7	1
112.7	86.2	1
121.9	83.2	1
100.6	71.7	1
104.3	77.5	1
120.4	89.8	1
107.5	80.3	1
102.9	78.7	1
125.6	93.8	1
107.5	57.6	1
108.8	60.6	1
128.4	91	1
121.1	85.3	1
119.5	77.4	1
128.7	77.3	1
108.7	68.3	1
105.5	69.9	1
119.8	81.7	1
111.3	75.1	1
110.6	69.9	1
120.1	84	1
97.5	54.3	1
107.7	60	1
127.3	89.9	1
117.2	77	1
119.8	85.3	1
116.2	77.6	1
111	69.2	1
112.4	75.5	1
130.6	85.7	1
109.1	72.2	1
118.8	79.9	1
123.9	85.3	1
101.6	52.2	1
112.8	61.2	1
128	82.4	1
129.6	85.4	1
125.8	78.2	1
119.5	70.2	1
115.7	70.2	1
113.6	69.3	1
129.7	77.5	1
112	66.1	1
116.8	69	1
126.3	75.3	1
112.9	58.2	1
115.9	59.7	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=5465&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=5465&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5465&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
Y[t] = + 40.9669725515544 + 0.362886468119393X[t] -10.2431896256701Z[t] + 24.1331561763916M1[t] + 20.5212629928483M2[t] + 18.7260702690305M3[t] + 13.2450227500879M4[t] + 8.92253073784375M5[t] + 12.5941839304749M6[t] + 19.3210338289674M7[t] + 16.3220050747697M8[t] + 14.9020708358594M9[t] + 19.0724885897504M10[t] -1.38884984263954M11[t] -0.298127595988762t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  40.9669725515544 +  0.362886468119393X[t] -10.2431896256701Z[t] +  24.1331561763916M1[t] +  20.5212629928483M2[t] +  18.7260702690305M3[t] +  13.2450227500879M4[t] +  8.92253073784375M5[t] +  12.5941839304749M6[t] +  19.3210338289674M7[t] +  16.3220050747697M8[t] +  14.9020708358594M9[t] +  19.0724885897504M10[t] -1.38884984263954M11[t] -0.298127595988762t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5465&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  40.9669725515544 +  0.362886468119393X[t] -10.2431896256701Z[t] +  24.1331561763916M1[t] +  20.5212629928483M2[t] +  18.7260702690305M3[t] +  13.2450227500879M4[t] +  8.92253073784375M5[t] +  12.5941839304749M6[t] +  19.3210338289674M7[t] +  16.3220050747697M8[t] +  14.9020708358594M9[t] +  19.0724885897504M10[t] -1.38884984263954M11[t] -0.298127595988762t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5465&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5465&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
Y[t] = + 40.9669725515544 + 0.362886468119393X[t] -10.2431896256701Z[t] + 24.1331561763916M1[t] + 20.5212629928483M2[t] + 18.7260702690305M3[t] + 13.2450227500879M4[t] + 8.92253073784375M5[t] + 12.5941839304749M6[t] + 19.3210338289674M7[t] + 16.3220050747697M8[t] + 14.9020708358594M9[t] + 19.0724885897504M10[t] -1.38884984263954M11[t] -0.298127595988762t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)40.966972551554413.1921713.10540.0032840.001642
X0.3628864681193930.1323682.74150.0087430.004372
Z-10.24318962567012.36306-4.33478.1e-054.1e-05
M124.13315617639163.5893856.723500
M220.52126299284833.469375.91500
M318.72607026903053.0722366.095300
M413.24502275008793.1211114.24370.0001085.4e-05
M58.922530737843752.8066743.1790.0026730.001337
M612.59418393047492.7923244.51034.6e-052.3e-05
M719.32103382896743.3511915.76541e-060
M816.32200507476972.769035.894500
M914.90207083585942.7668365.3863e-061e-06
M1019.07248858975043.1946215.970200
M11-1.388849842639542.822796-0.4920.6251020.312551
t-0.2981275959887620.048477-6.149900

\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) & 40.9669725515544 & 13.192171 & 3.1054 & 0.003284 & 0.001642 \tabularnewline
X & 0.362886468119393 & 0.132368 & 2.7415 & 0.008743 & 0.004372 \tabularnewline
Z & -10.2431896256701 & 2.36306 & -4.3347 & 8.1e-05 & 4.1e-05 \tabularnewline
M1 & 24.1331561763916 & 3.589385 & 6.7235 & 0 & 0 \tabularnewline
M2 & 20.5212629928483 & 3.46937 & 5.915 & 0 & 0 \tabularnewline
M3 & 18.7260702690305 & 3.072236 & 6.0953 & 0 & 0 \tabularnewline
M4 & 13.2450227500879 & 3.121111 & 4.2437 & 0.000108 & 5.4e-05 \tabularnewline
M5 & 8.92253073784375 & 2.806674 & 3.179 & 0.002673 & 0.001337 \tabularnewline
M6 & 12.5941839304749 & 2.792324 & 4.5103 & 4.6e-05 & 2.3e-05 \tabularnewline
M7 & 19.3210338289674 & 3.351191 & 5.7654 & 1e-06 & 0 \tabularnewline
M8 & 16.3220050747697 & 2.76903 & 5.8945 & 0 & 0 \tabularnewline
M9 & 14.9020708358594 & 2.766836 & 5.386 & 3e-06 & 1e-06 \tabularnewline
M10 & 19.0724885897504 & 3.194621 & 5.9702 & 0 & 0 \tabularnewline
M11 & -1.38884984263954 & 2.822796 & -0.492 & 0.625102 & 0.312551 \tabularnewline
t & -0.298127595988762 & 0.048477 & -6.1499 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5465&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]40.9669725515544[/C][C]13.192171[/C][C]3.1054[/C][C]0.003284[/C][C]0.001642[/C][/ROW]
[ROW][C]X[/C][C]0.362886468119393[/C][C]0.132368[/C][C]2.7415[/C][C]0.008743[/C][C]0.004372[/C][/ROW]
[ROW][C]Z[/C][C]-10.2431896256701[/C][C]2.36306[/C][C]-4.3347[/C][C]8.1e-05[/C][C]4.1e-05[/C][/ROW]
[ROW][C]M1[/C][C]24.1331561763916[/C][C]3.589385[/C][C]6.7235[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M2[/C][C]20.5212629928483[/C][C]3.46937[/C][C]5.915[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]18.7260702690305[/C][C]3.072236[/C][C]6.0953[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]13.2450227500879[/C][C]3.121111[/C][C]4.2437[/C][C]0.000108[/C][C]5.4e-05[/C][/ROW]
[ROW][C]M5[/C][C]8.92253073784375[/C][C]2.806674[/C][C]3.179[/C][C]0.002673[/C][C]0.001337[/C][/ROW]
[ROW][C]M6[/C][C]12.5941839304749[/C][C]2.792324[/C][C]4.5103[/C][C]4.6e-05[/C][C]2.3e-05[/C][/ROW]
[ROW][C]M7[/C][C]19.3210338289674[/C][C]3.351191[/C][C]5.7654[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]16.3220050747697[/C][C]2.76903[/C][C]5.8945[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]14.9020708358594[/C][C]2.766836[/C][C]5.386[/C][C]3e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M10[/C][C]19.0724885897504[/C][C]3.194621[/C][C]5.9702[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-1.38884984263954[/C][C]2.822796[/C][C]-0.492[/C][C]0.625102[/C][C]0.312551[/C][/ROW]
[ROW][C]t[/C][C]-0.298127595988762[/C][C]0.048477[/C][C]-6.1499[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5465&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5465&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)40.966972551554413.1921713.10540.0032840.001642
X0.3628864681193930.1323682.74150.0087430.004372
Z-10.24318962567012.36306-4.33478.1e-054.1e-05
M124.13315617639163.5893856.723500
M220.52126299284833.469375.91500
M318.72607026903053.0722366.095300
M413.24502275008793.1211114.24370.0001085.4e-05
M58.922530737843752.8066743.1790.0026730.001337
M612.59418393047492.7923244.51034.6e-052.3e-05
M719.32103382896743.3511915.76541e-060
M816.32200507476972.769035.894500
M914.90207083585942.7668365.3863e-061e-06
M1019.07248858975043.1946215.970200
M11-1.388849842639542.822796-0.4920.6251020.312551
t-0.2981275959887620.048477-6.149900







Multiple Linear Regression - Regression Statistics
Multiple R0.954063310173485
R-squared0.910236799819187
Adjusted R-squared0.882310470874045
F-TEST (value)32.5942160749894
F-TEST (DF numerator)14
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.3678245805265
Sum Squared Residuals858.505120481318

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.954063310173485 \tabularnewline
R-squared & 0.910236799819187 \tabularnewline
Adjusted R-squared & 0.882310470874045 \tabularnewline
F-TEST (value) & 32.5942160749894 \tabularnewline
F-TEST (DF numerator) & 14 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.3678245805265 \tabularnewline
Sum Squared Residuals & 858.505120481318 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5465&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.954063310173485[/C][/ROW]
[ROW][C]R-squared[/C][C]0.910236799819187[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.882310470874045[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]32.5942160749894[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]14[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/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]4.3678245805265[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]858.505120481318[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5465&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5465&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.954063310173485
R-squared0.910236799819187
Adjusted R-squared0.882310470874045
F-TEST (value)32.5942160749894
F-TEST (DF numerator)14
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.3678245805265
Sum Squared Residuals858.505120481318







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1106.7104.1388942760992.56110572390075
2100.6103.349697122394-2.74969712239422
3101.296.46627542341164.7337245765884
493.189.59844090412213.50155909587789
584.288.5341086834592-4.33410868345921
685.889.5125835905136-3.7125835905136
791.888.8189398931742.98106010682603
892.483.59848526195488.80151473804521
980.378.83217709485281.46782290514721
1079.786.6599297552564-6.95992975525638
1162.564.1223200330927-1.62232003309268
1257.164.2332488158211-7.13324881582111
13100.895.94291375441474.85708624558527
14100.792.39577944300218.30422055699788
1586.285.8752442121390.324755787861091
1683.283.434624603906-0.234624603905994
1771.771.084523224730.615476775269983
1877.575.80072875341411.69927124658586
1989.888.071923192641.72807680735990
2080.380.09353140371350.206468596286468
2178.776.70619181546521.99380818453478
2293.888.81600479967764.98399520032236
2357.661.488293698338-3.88829369833796
2460.663.050768353544-2.45076835354396
259193.9983717090869-2.99837170908686
2685.387.4392797122833-2.1392797122833
2777.484.7653410434857-7.36534104348565
2877.382.3247214352527-5.02472143525272
2968.370.446372464632-2.14637246463196
3069.972.6586613632923-2.75866136329226
3181.784.2766601599033-2.57666015990331
3275.177.894968830702-2.79496883070208
3369.975.9228864681194-6.02288646811939
348483.24259807315580.757401926844173
3554.354.28189786527890.0181021347211149
366059.07406208674750.925937913252518
3789.990.0216654422904-0.121665442290369
387782.4464913347525-5.44649133475252
3985.381.29667583205634.00332416794368
4077.674.21110943189523.38889056810483
4169.267.70348018944141.49651981055859
4275.571.5850468414513.91495315854907
4385.784.61830286372761.08169713627240
4472.273.5190874489743-1.31908744897426
4579.975.32102435483334.57897564516673
4685.381.04403550014444.25596449985562
4752.252.19220123270320.00779876729676343
4861.257.34725192229123.85274807770877
4982.486.6981548181088-4.2981548181088
5085.483.36875238756782.03124761243216
5178.279.8964634889075-1.69646348890752
5270.271.831103624824-1.63110362482401
5370.265.83151543773744.36848456226259
5469.368.4429794513290.85702054867094
5577.580.714173890555-3.21417389055501
5666.170.9939270546553-4.89392705465535
576971.0177202667293-2.01772026672934
5875.378.3374318717658-3.03743187176577
5958.252.71528717058725.48471282941276
6059.754.89466882159624.80533117840379

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 106.7 & 104.138894276099 & 2.56110572390075 \tabularnewline
2 & 100.6 & 103.349697122394 & -2.74969712239422 \tabularnewline
3 & 101.2 & 96.4662754234116 & 4.7337245765884 \tabularnewline
4 & 93.1 & 89.5984409041221 & 3.50155909587789 \tabularnewline
5 & 84.2 & 88.5341086834592 & -4.33410868345921 \tabularnewline
6 & 85.8 & 89.5125835905136 & -3.7125835905136 \tabularnewline
7 & 91.8 & 88.818939893174 & 2.98106010682603 \tabularnewline
8 & 92.4 & 83.5984852619548 & 8.80151473804521 \tabularnewline
9 & 80.3 & 78.8321770948528 & 1.46782290514721 \tabularnewline
10 & 79.7 & 86.6599297552564 & -6.95992975525638 \tabularnewline
11 & 62.5 & 64.1223200330927 & -1.62232003309268 \tabularnewline
12 & 57.1 & 64.2332488158211 & -7.13324881582111 \tabularnewline
13 & 100.8 & 95.9429137544147 & 4.85708624558527 \tabularnewline
14 & 100.7 & 92.3957794430021 & 8.30422055699788 \tabularnewline
15 & 86.2 & 85.875244212139 & 0.324755787861091 \tabularnewline
16 & 83.2 & 83.434624603906 & -0.234624603905994 \tabularnewline
17 & 71.7 & 71.08452322473 & 0.615476775269983 \tabularnewline
18 & 77.5 & 75.8007287534141 & 1.69927124658586 \tabularnewline
19 & 89.8 & 88.07192319264 & 1.72807680735990 \tabularnewline
20 & 80.3 & 80.0935314037135 & 0.206468596286468 \tabularnewline
21 & 78.7 & 76.7061918154652 & 1.99380818453478 \tabularnewline
22 & 93.8 & 88.8160047996776 & 4.98399520032236 \tabularnewline
23 & 57.6 & 61.488293698338 & -3.88829369833796 \tabularnewline
24 & 60.6 & 63.050768353544 & -2.45076835354396 \tabularnewline
25 & 91 & 93.9983717090869 & -2.99837170908686 \tabularnewline
26 & 85.3 & 87.4392797122833 & -2.1392797122833 \tabularnewline
27 & 77.4 & 84.7653410434857 & -7.36534104348565 \tabularnewline
28 & 77.3 & 82.3247214352527 & -5.02472143525272 \tabularnewline
29 & 68.3 & 70.446372464632 & -2.14637246463196 \tabularnewline
30 & 69.9 & 72.6586613632923 & -2.75866136329226 \tabularnewline
31 & 81.7 & 84.2766601599033 & -2.57666015990331 \tabularnewline
32 & 75.1 & 77.894968830702 & -2.79496883070208 \tabularnewline
33 & 69.9 & 75.9228864681194 & -6.02288646811939 \tabularnewline
34 & 84 & 83.2425980731558 & 0.757401926844173 \tabularnewline
35 & 54.3 & 54.2818978652789 & 0.0181021347211149 \tabularnewline
36 & 60 & 59.0740620867475 & 0.925937913252518 \tabularnewline
37 & 89.9 & 90.0216654422904 & -0.121665442290369 \tabularnewline
38 & 77 & 82.4464913347525 & -5.44649133475252 \tabularnewline
39 & 85.3 & 81.2966758320563 & 4.00332416794368 \tabularnewline
40 & 77.6 & 74.2111094318952 & 3.38889056810483 \tabularnewline
41 & 69.2 & 67.7034801894414 & 1.49651981055859 \tabularnewline
42 & 75.5 & 71.585046841451 & 3.91495315854907 \tabularnewline
43 & 85.7 & 84.6183028637276 & 1.08169713627240 \tabularnewline
44 & 72.2 & 73.5190874489743 & -1.31908744897426 \tabularnewline
45 & 79.9 & 75.3210243548333 & 4.57897564516673 \tabularnewline
46 & 85.3 & 81.0440355001444 & 4.25596449985562 \tabularnewline
47 & 52.2 & 52.1922012327032 & 0.00779876729676343 \tabularnewline
48 & 61.2 & 57.3472519222912 & 3.85274807770877 \tabularnewline
49 & 82.4 & 86.6981548181088 & -4.2981548181088 \tabularnewline
50 & 85.4 & 83.3687523875678 & 2.03124761243216 \tabularnewline
51 & 78.2 & 79.8964634889075 & -1.69646348890752 \tabularnewline
52 & 70.2 & 71.831103624824 & -1.63110362482401 \tabularnewline
53 & 70.2 & 65.8315154377374 & 4.36848456226259 \tabularnewline
54 & 69.3 & 68.442979451329 & 0.85702054867094 \tabularnewline
55 & 77.5 & 80.714173890555 & -3.21417389055501 \tabularnewline
56 & 66.1 & 70.9939270546553 & -4.89392705465535 \tabularnewline
57 & 69 & 71.0177202667293 & -2.01772026672934 \tabularnewline
58 & 75.3 & 78.3374318717658 & -3.03743187176577 \tabularnewline
59 & 58.2 & 52.7152871705872 & 5.48471282941276 \tabularnewline
60 & 59.7 & 54.8946688215962 & 4.80533117840379 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5465&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.7[/C][C]104.138894276099[/C][C]2.56110572390075[/C][/ROW]
[ROW][C]2[/C][C]100.6[/C][C]103.349697122394[/C][C]-2.74969712239422[/C][/ROW]
[ROW][C]3[/C][C]101.2[/C][C]96.4662754234116[/C][C]4.7337245765884[/C][/ROW]
[ROW][C]4[/C][C]93.1[/C][C]89.5984409041221[/C][C]3.50155909587789[/C][/ROW]
[ROW][C]5[/C][C]84.2[/C][C]88.5341086834592[/C][C]-4.33410868345921[/C][/ROW]
[ROW][C]6[/C][C]85.8[/C][C]89.5125835905136[/C][C]-3.7125835905136[/C][/ROW]
[ROW][C]7[/C][C]91.8[/C][C]88.818939893174[/C][C]2.98106010682603[/C][/ROW]
[ROW][C]8[/C][C]92.4[/C][C]83.5984852619548[/C][C]8.80151473804521[/C][/ROW]
[ROW][C]9[/C][C]80.3[/C][C]78.8321770948528[/C][C]1.46782290514721[/C][/ROW]
[ROW][C]10[/C][C]79.7[/C][C]86.6599297552564[/C][C]-6.95992975525638[/C][/ROW]
[ROW][C]11[/C][C]62.5[/C][C]64.1223200330927[/C][C]-1.62232003309268[/C][/ROW]
[ROW][C]12[/C][C]57.1[/C][C]64.2332488158211[/C][C]-7.13324881582111[/C][/ROW]
[ROW][C]13[/C][C]100.8[/C][C]95.9429137544147[/C][C]4.85708624558527[/C][/ROW]
[ROW][C]14[/C][C]100.7[/C][C]92.3957794430021[/C][C]8.30422055699788[/C][/ROW]
[ROW][C]15[/C][C]86.2[/C][C]85.875244212139[/C][C]0.324755787861091[/C][/ROW]
[ROW][C]16[/C][C]83.2[/C][C]83.434624603906[/C][C]-0.234624603905994[/C][/ROW]
[ROW][C]17[/C][C]71.7[/C][C]71.08452322473[/C][C]0.615476775269983[/C][/ROW]
[ROW][C]18[/C][C]77.5[/C][C]75.8007287534141[/C][C]1.69927124658586[/C][/ROW]
[ROW][C]19[/C][C]89.8[/C][C]88.07192319264[/C][C]1.72807680735990[/C][/ROW]
[ROW][C]20[/C][C]80.3[/C][C]80.0935314037135[/C][C]0.206468596286468[/C][/ROW]
[ROW][C]21[/C][C]78.7[/C][C]76.7061918154652[/C][C]1.99380818453478[/C][/ROW]
[ROW][C]22[/C][C]93.8[/C][C]88.8160047996776[/C][C]4.98399520032236[/C][/ROW]
[ROW][C]23[/C][C]57.6[/C][C]61.488293698338[/C][C]-3.88829369833796[/C][/ROW]
[ROW][C]24[/C][C]60.6[/C][C]63.050768353544[/C][C]-2.45076835354396[/C][/ROW]
[ROW][C]25[/C][C]91[/C][C]93.9983717090869[/C][C]-2.99837170908686[/C][/ROW]
[ROW][C]26[/C][C]85.3[/C][C]87.4392797122833[/C][C]-2.1392797122833[/C][/ROW]
[ROW][C]27[/C][C]77.4[/C][C]84.7653410434857[/C][C]-7.36534104348565[/C][/ROW]
[ROW][C]28[/C][C]77.3[/C][C]82.3247214352527[/C][C]-5.02472143525272[/C][/ROW]
[ROW][C]29[/C][C]68.3[/C][C]70.446372464632[/C][C]-2.14637246463196[/C][/ROW]
[ROW][C]30[/C][C]69.9[/C][C]72.6586613632923[/C][C]-2.75866136329226[/C][/ROW]
[ROW][C]31[/C][C]81.7[/C][C]84.2766601599033[/C][C]-2.57666015990331[/C][/ROW]
[ROW][C]32[/C][C]75.1[/C][C]77.894968830702[/C][C]-2.79496883070208[/C][/ROW]
[ROW][C]33[/C][C]69.9[/C][C]75.9228864681194[/C][C]-6.02288646811939[/C][/ROW]
[ROW][C]34[/C][C]84[/C][C]83.2425980731558[/C][C]0.757401926844173[/C][/ROW]
[ROW][C]35[/C][C]54.3[/C][C]54.2818978652789[/C][C]0.0181021347211149[/C][/ROW]
[ROW][C]36[/C][C]60[/C][C]59.0740620867475[/C][C]0.925937913252518[/C][/ROW]
[ROW][C]37[/C][C]89.9[/C][C]90.0216654422904[/C][C]-0.121665442290369[/C][/ROW]
[ROW][C]38[/C][C]77[/C][C]82.4464913347525[/C][C]-5.44649133475252[/C][/ROW]
[ROW][C]39[/C][C]85.3[/C][C]81.2966758320563[/C][C]4.00332416794368[/C][/ROW]
[ROW][C]40[/C][C]77.6[/C][C]74.2111094318952[/C][C]3.38889056810483[/C][/ROW]
[ROW][C]41[/C][C]69.2[/C][C]67.7034801894414[/C][C]1.49651981055859[/C][/ROW]
[ROW][C]42[/C][C]75.5[/C][C]71.585046841451[/C][C]3.91495315854907[/C][/ROW]
[ROW][C]43[/C][C]85.7[/C][C]84.6183028637276[/C][C]1.08169713627240[/C][/ROW]
[ROW][C]44[/C][C]72.2[/C][C]73.5190874489743[/C][C]-1.31908744897426[/C][/ROW]
[ROW][C]45[/C][C]79.9[/C][C]75.3210243548333[/C][C]4.57897564516673[/C][/ROW]
[ROW][C]46[/C][C]85.3[/C][C]81.0440355001444[/C][C]4.25596449985562[/C][/ROW]
[ROW][C]47[/C][C]52.2[/C][C]52.1922012327032[/C][C]0.00779876729676343[/C][/ROW]
[ROW][C]48[/C][C]61.2[/C][C]57.3472519222912[/C][C]3.85274807770877[/C][/ROW]
[ROW][C]49[/C][C]82.4[/C][C]86.6981548181088[/C][C]-4.2981548181088[/C][/ROW]
[ROW][C]50[/C][C]85.4[/C][C]83.3687523875678[/C][C]2.03124761243216[/C][/ROW]
[ROW][C]51[/C][C]78.2[/C][C]79.8964634889075[/C][C]-1.69646348890752[/C][/ROW]
[ROW][C]52[/C][C]70.2[/C][C]71.831103624824[/C][C]-1.63110362482401[/C][/ROW]
[ROW][C]53[/C][C]70.2[/C][C]65.8315154377374[/C][C]4.36848456226259[/C][/ROW]
[ROW][C]54[/C][C]69.3[/C][C]68.442979451329[/C][C]0.85702054867094[/C][/ROW]
[ROW][C]55[/C][C]77.5[/C][C]80.714173890555[/C][C]-3.21417389055501[/C][/ROW]
[ROW][C]56[/C][C]66.1[/C][C]70.9939270546553[/C][C]-4.89392705465535[/C][/ROW]
[ROW][C]57[/C][C]69[/C][C]71.0177202667293[/C][C]-2.01772026672934[/C][/ROW]
[ROW][C]58[/C][C]75.3[/C][C]78.3374318717658[/C][C]-3.03743187176577[/C][/ROW]
[ROW][C]59[/C][C]58.2[/C][C]52.7152871705872[/C][C]5.48471282941276[/C][/ROW]
[ROW][C]60[/C][C]59.7[/C][C]54.8946688215962[/C][C]4.80533117840379[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5465&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5465&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
1106.7104.1388942760992.56110572390075
2100.6103.349697122394-2.74969712239422
3101.296.46627542341164.7337245765884
493.189.59844090412213.50155909587789
584.288.5341086834592-4.33410868345921
685.889.5125835905136-3.7125835905136
791.888.8189398931742.98106010682603
892.483.59848526195488.80151473804521
980.378.83217709485281.46782290514721
1079.786.6599297552564-6.95992975525638
1162.564.1223200330927-1.62232003309268
1257.164.2332488158211-7.13324881582111
13100.895.94291375441474.85708624558527
14100.792.39577944300218.30422055699788
1586.285.8752442121390.324755787861091
1683.283.434624603906-0.234624603905994
1771.771.084523224730.615476775269983
1877.575.80072875341411.69927124658586
1989.888.071923192641.72807680735990
2080.380.09353140371350.206468596286468
2178.776.70619181546521.99380818453478
2293.888.81600479967764.98399520032236
2357.661.488293698338-3.88829369833796
2460.663.050768353544-2.45076835354396
259193.9983717090869-2.99837170908686
2685.387.4392797122833-2.1392797122833
2777.484.7653410434857-7.36534104348565
2877.382.3247214352527-5.02472143525272
2968.370.446372464632-2.14637246463196
3069.972.6586613632923-2.75866136329226
3181.784.2766601599033-2.57666015990331
3275.177.894968830702-2.79496883070208
3369.975.9228864681194-6.02288646811939
348483.24259807315580.757401926844173
3554.354.28189786527890.0181021347211149
366059.07406208674750.925937913252518
3789.990.0216654422904-0.121665442290369
387782.4464913347525-5.44649133475252
3985.381.29667583205634.00332416794368
4077.674.21110943189523.38889056810483
4169.267.70348018944141.49651981055859
4275.571.5850468414513.91495315854907
4385.784.61830286372761.08169713627240
4472.273.5190874489743-1.31908744897426
4579.975.32102435483334.57897564516673
4685.381.04403550014444.25596449985562
4752.252.19220123270320.00779876729676343
4861.257.34725192229123.85274807770877
4982.486.6981548181088-4.2981548181088
5085.483.36875238756782.03124761243216
5178.279.8964634889075-1.69646348890752
5270.271.831103624824-1.63110362482401
5370.265.83151543773744.36848456226259
5469.368.4429794513290.85702054867094
5577.580.714173890555-3.21417389055501
5666.170.9939270546553-4.89392705465535
576971.0177202667293-2.01772026672934
5875.378.3374318717658-3.03743187176577
5958.252.71528717058725.48471282941276
6059.754.89466882159624.80533117840379



Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 2 ; 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')