Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 22 Nov 2007 13:02: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/Nov/22/t1195761516oevr0i6sppbh2zr.htm/, Retrieved Thu, 02 May 2024 17:07:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6101, Retrieved Thu, 02 May 2024 17:07:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact173
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Stat Opdr3 Q3-3] [2007-11-22 20:02:35] [67794d83edd3193bd9ea9816803ddb96] [Current]
Feedback Forum

Post a new message
Dataseries X:
3804	0
3491	0
4151	0
4254	1
4717	1
4866	1
4001	1
3758	1
4780	1
5016	1
4296	0
4467	0
3891	0
3872	0
3867	0
3973	1
4640	1
4538	1
3836	1
3770	1
4374	1
4497	1
3945	0
3862	0
3608	0
3301	0
3882	0
3605	0
4305	1
4216	1
3971	1
3988	1
4317	1
4484	1
4247	0
3520	0
3686	0
3403	0
3990	0
4053	0
4548	1
4559	1
3922	1
4209	1
4517	1
4386	1
3221	0
3127	0
3777	0
3322	0
3899	0
4033	1
4463	1
4819	1
4246	1
4255	1
4760	1
4581	0
4309	0
4016	0
3601	0
3257	0
3823	0
3940	1
4534	1
4575	1
3953	1
4206	1
4649	1
4353	1
3835	0
3944	0
	
	
	
	
	
	









Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6101&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]4 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=6101&T=0

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







Multiple Linear Regression - Estimated Regression Equation
O[t] = + 3905.27517025584 + 106.659856432909T[t] -116.468893797163M1[t] -401.335357997423M2[t] + 94.9648444689857M3[t] + 66.8251426467886M4[t] + 591.405392968894M5[t] + 654.37226210197M6[t] + 49.005797901712M7[t] + 93.8060003681218M8[t] + 630.939536167863M9[t] + 637.349714706424M10[t] + 150.866464200258M11[t] -1.96686913307567t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
O[t] =  +  3905.27517025584 +  106.659856432909T[t] -116.468893797163M1[t] -401.335357997423M2[t] +  94.9648444689857M3[t] +  66.8251426467886M4[t] +  591.405392968894M5[t] +  654.37226210197M6[t] +  49.005797901712M7[t] +  93.8060003681218M8[t] +  630.939536167863M9[t] +  637.349714706424M10[t] +  150.866464200258M11[t] -1.96686913307567t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6101&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]O[t] =  +  3905.27517025584 +  106.659856432909T[t] -116.468893797163M1[t] -401.335357997423M2[t] +  94.9648444689857M3[t] +  66.8251426467886M4[t] +  591.405392968894M5[t] +  654.37226210197M6[t] +  49.005797901712M7[t] +  93.8060003681218M8[t] +  630.939536167863M9[t] +  637.349714706424M10[t] +  150.866464200258M11[t] -1.96686913307567t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6101&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6101&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
O[t] = + 3905.27517025584 + 106.659856432909T[t] -116.468893797163M1[t] -401.335357997423M2[t] + 94.9648444689857M3[t] + 66.8251426467886M4[t] + 591.405392968894M5[t] + 654.37226210197M6[t] + 49.005797901712M7[t] + 93.8060003681218M8[t] + 630.939536167863M9[t] + 637.349714706424M10[t] + 150.866464200258M11[t] -1.96686913307567t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3905.27517025584118.30642933.009800
T106.659856432909169.7531750.62830.5322590.266129
M1-116.468893797163144.770732-0.80450.424390.212195
M2-401.335357997423144.620908-2.77510.0074150.003707
M394.9648444689857144.485220.65730.5136110.256806
M466.8251426467886182.9346710.36530.716220.35811
M5591.405392968894222.2294222.66120.0100540.005027
M6654.37226210197222.2462162.94440.004650.002325
M749.005797901712222.2722980.22050.8262740.413137
M893.8060003681218222.3076640.4220.6746110.337305
M9630.939536167863222.352312.83760.0062540.003127
M10637.349714706424201.6706093.16040.0025040.001252
M11150.866464200258143.9124971.04830.298840.14942
t-1.966869133075671.436888-1.36880.1763280.088164

\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) & 3905.27517025584 & 118.306429 & 33.0098 & 0 & 0 \tabularnewline
T & 106.659856432909 & 169.753175 & 0.6283 & 0.532259 & 0.266129 \tabularnewline
M1 & -116.468893797163 & 144.770732 & -0.8045 & 0.42439 & 0.212195 \tabularnewline
M2 & -401.335357997423 & 144.620908 & -2.7751 & 0.007415 & 0.003707 \tabularnewline
M3 & 94.9648444689857 & 144.48522 & 0.6573 & 0.513611 & 0.256806 \tabularnewline
M4 & 66.8251426467886 & 182.934671 & 0.3653 & 0.71622 & 0.35811 \tabularnewline
M5 & 591.405392968894 & 222.229422 & 2.6612 & 0.010054 & 0.005027 \tabularnewline
M6 & 654.37226210197 & 222.246216 & 2.9444 & 0.00465 & 0.002325 \tabularnewline
M7 & 49.005797901712 & 222.272298 & 0.2205 & 0.826274 & 0.413137 \tabularnewline
M8 & 93.8060003681218 & 222.307664 & 0.422 & 0.674611 & 0.337305 \tabularnewline
M9 & 630.939536167863 & 222.35231 & 2.8376 & 0.006254 & 0.003127 \tabularnewline
M10 & 637.349714706424 & 201.670609 & 3.1604 & 0.002504 & 0.001252 \tabularnewline
M11 & 150.866464200258 & 143.912497 & 1.0483 & 0.29884 & 0.14942 \tabularnewline
t & -1.96686913307567 & 1.436888 & -1.3688 & 0.176328 & 0.088164 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6101&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]3905.27517025584[/C][C]118.306429[/C][C]33.0098[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]T[/C][C]106.659856432909[/C][C]169.753175[/C][C]0.6283[/C][C]0.532259[/C][C]0.266129[/C][/ROW]
[ROW][C]M1[/C][C]-116.468893797163[/C][C]144.770732[/C][C]-0.8045[/C][C]0.42439[/C][C]0.212195[/C][/ROW]
[ROW][C]M2[/C][C]-401.335357997423[/C][C]144.620908[/C][C]-2.7751[/C][C]0.007415[/C][C]0.003707[/C][/ROW]
[ROW][C]M3[/C][C]94.9648444689857[/C][C]144.48522[/C][C]0.6573[/C][C]0.513611[/C][C]0.256806[/C][/ROW]
[ROW][C]M4[/C][C]66.8251426467886[/C][C]182.934671[/C][C]0.3653[/C][C]0.71622[/C][C]0.35811[/C][/ROW]
[ROW][C]M5[/C][C]591.405392968894[/C][C]222.229422[/C][C]2.6612[/C][C]0.010054[/C][C]0.005027[/C][/ROW]
[ROW][C]M6[/C][C]654.37226210197[/C][C]222.246216[/C][C]2.9444[/C][C]0.00465[/C][C]0.002325[/C][/ROW]
[ROW][C]M7[/C][C]49.005797901712[/C][C]222.272298[/C][C]0.2205[/C][C]0.826274[/C][C]0.413137[/C][/ROW]
[ROW][C]M8[/C][C]93.8060003681218[/C][C]222.307664[/C][C]0.422[/C][C]0.674611[/C][C]0.337305[/C][/ROW]
[ROW][C]M9[/C][C]630.939536167863[/C][C]222.35231[/C][C]2.8376[/C][C]0.006254[/C][C]0.003127[/C][/ROW]
[ROW][C]M10[/C][C]637.349714706424[/C][C]201.670609[/C][C]3.1604[/C][C]0.002504[/C][C]0.001252[/C][/ROW]
[ROW][C]M11[/C][C]150.866464200258[/C][C]143.912497[/C][C]1.0483[/C][C]0.29884[/C][C]0.14942[/C][/ROW]
[ROW][C]t[/C][C]-1.96686913307567[/C][C]1.436888[/C][C]-1.3688[/C][C]0.176328[/C][C]0.088164[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6101&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6101&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)3905.27517025584118.30642933.009800
T106.659856432909169.7531750.62830.5322590.266129
M1-116.468893797163144.770732-0.80450.424390.212195
M2-401.335357997423144.620908-2.77510.0074150.003707
M394.9648444689857144.485220.65730.5136110.256806
M466.8251426467886182.9346710.36530.716220.35811
M5591.405392968894222.2294222.66120.0100540.005027
M6654.37226210197222.2462162.94440.004650.002325
M749.005797901712222.2722980.22050.8262740.413137
M893.8060003681218222.3076640.4220.6746110.337305
M9630.939536167863222.352312.83760.0062540.003127
M10637.349714706424201.6706093.16040.0025040.001252
M11150.866464200258143.9124971.04830.298840.14942
t-1.966869133075671.436888-1.36880.1763280.088164







Multiple Linear Regression - Regression Statistics
Multiple R0.853144229923228
R-squared0.727855077051297
Adjusted R-squared0.666857077080036
F-TEST (value)11.9324416766816
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value5.19650988906051e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation249.251332461467
Sum Squared Residuals3603321.15056138

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.853144229923228 \tabularnewline
R-squared & 0.727855077051297 \tabularnewline
Adjusted R-squared & 0.666857077080036 \tabularnewline
F-TEST (value) & 11.9324416766816 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 5.19650988906051e-12 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 249.251332461467 \tabularnewline
Sum Squared Residuals & 3603321.15056138 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6101&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.853144229923228[/C][/ROW]
[ROW][C]R-squared[/C][C]0.727855077051297[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.666857077080036[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]11.9324416766816[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]5.19650988906051e-12[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]249.251332461467[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3603321.15056138[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6101&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6101&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.853144229923228
R-squared0.727855077051297
Adjusted R-squared0.666857077080036
F-TEST (value)11.9324416766816
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value5.19650988906051e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation249.251332461467
Sum Squared Residuals3603321.15056138







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
138043786.8394073255917.1605926744128
234913500.00607399227-9.00607399226925
341513994.3394073256156.660592674397
442544070.89269280324183.10730719676
547174593.50607399227123.493926007730
648664654.50607399227211.493926007729
740014047.17274065894-46.1727406589373
837584090.00607399227-332.00607399227
947804625.17274065894154.827259341064
1050164629.61605006442386.383949935578
1142964034.50607399227261.49392600773
1244673881.67274065894585.327259341063
1338913763.2369777287127.763022271301
1438723476.40364439536395.596355604638
1538673970.7369777287-103.736977728695
1639734047.29026320633-74.2902632063318
1746404569.9036443953670.096355604638
1845384630.90364439536-92.903644395362
1938364023.57031106203-187.570311062028
2037704066.40364439536-296.403644395362
2143744601.57031106203-227.570311062029
2244974606.01362046751-109.013620467514
2339454010.90364439536-65.903644395362
2438623858.070311062033.9296889379713
2536083739.63454813179-131.634548131790
2633013452.80121479845-151.801214798454
2738823947.13454813179-65.1345481317873
2836053917.02797717651-312.027977176514
2943054546.30121479845-241.301214798454
3042164607.30121479845-391.301214798454
3139713999.96788146512-28.9678814651206
3239884042.80121479845-54.8012147984541
3343174577.96788146512-260.967881465121
3444844582.41119087061-98.4111908706055
3542473987.30121479845259.698785201546
3635203834.46788146512-314.467881465121
3736863716.03211853488-30.0321185348824
3834033429.19878520155-26.1987852015461
3939903923.5321185348866.4678814651207
4040533893.42554757961159.574452420394
4145484522.6987852015525.3012147984541
4245594583.69878520155-24.698785201546
4339223976.36545186821-54.3654518682126
4442094019.19878520155189.801214798454
4545174554.36545186821-37.3654518682127
4643864558.8087612737-172.808761273697
4732213963.69878520155-742.698785201546
4831273810.86545186821-683.865451868213
4937773692.4296889379784.5703110620255
5033223405.59635560464-83.5963556046381
5138993899.92968893797-0.929688937971274
5240333976.4829744156156.5170255843923
5344634499.09635560464-36.0963556046379
5448194560.09635560464258.903644395362
5542463952.76302227130293.236977728695
5642553995.59635560464259.403644395362
5747604530.76302227131229.236977728695
5845814428.54647524388152.453524756120
5943093940.09635560464368.903644395362
6040163787.26302227130228.736977728695
6136013668.82725934107-67.8272593410664
6232573381.99392600773-124.99392600773
6338233876.32725934106-53.3272593410632
6439403952.8805448187-12.8805448186997
6545344475.4939260077358.5060739922701
6645754536.4939260077338.5060739922701
6739533929.1605926744023.8394073256035
6842063971.99392600773234.00607399227
6946494507.16059267440141.839407325603
7043534511.60390207988-158.603902079881
7138353916.49392600773-81.4939260077299
7239443763.6605926744180.339407325603

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3804 & 3786.83940732559 & 17.1605926744128 \tabularnewline
2 & 3491 & 3500.00607399227 & -9.00607399226925 \tabularnewline
3 & 4151 & 3994.3394073256 & 156.660592674397 \tabularnewline
4 & 4254 & 4070.89269280324 & 183.10730719676 \tabularnewline
5 & 4717 & 4593.50607399227 & 123.493926007730 \tabularnewline
6 & 4866 & 4654.50607399227 & 211.493926007729 \tabularnewline
7 & 4001 & 4047.17274065894 & -46.1727406589373 \tabularnewline
8 & 3758 & 4090.00607399227 & -332.00607399227 \tabularnewline
9 & 4780 & 4625.17274065894 & 154.827259341064 \tabularnewline
10 & 5016 & 4629.61605006442 & 386.383949935578 \tabularnewline
11 & 4296 & 4034.50607399227 & 261.49392600773 \tabularnewline
12 & 4467 & 3881.67274065894 & 585.327259341063 \tabularnewline
13 & 3891 & 3763.2369777287 & 127.763022271301 \tabularnewline
14 & 3872 & 3476.40364439536 & 395.596355604638 \tabularnewline
15 & 3867 & 3970.7369777287 & -103.736977728695 \tabularnewline
16 & 3973 & 4047.29026320633 & -74.2902632063318 \tabularnewline
17 & 4640 & 4569.90364439536 & 70.096355604638 \tabularnewline
18 & 4538 & 4630.90364439536 & -92.903644395362 \tabularnewline
19 & 3836 & 4023.57031106203 & -187.570311062028 \tabularnewline
20 & 3770 & 4066.40364439536 & -296.403644395362 \tabularnewline
21 & 4374 & 4601.57031106203 & -227.570311062029 \tabularnewline
22 & 4497 & 4606.01362046751 & -109.013620467514 \tabularnewline
23 & 3945 & 4010.90364439536 & -65.903644395362 \tabularnewline
24 & 3862 & 3858.07031106203 & 3.9296889379713 \tabularnewline
25 & 3608 & 3739.63454813179 & -131.634548131790 \tabularnewline
26 & 3301 & 3452.80121479845 & -151.801214798454 \tabularnewline
27 & 3882 & 3947.13454813179 & -65.1345481317873 \tabularnewline
28 & 3605 & 3917.02797717651 & -312.027977176514 \tabularnewline
29 & 4305 & 4546.30121479845 & -241.301214798454 \tabularnewline
30 & 4216 & 4607.30121479845 & -391.301214798454 \tabularnewline
31 & 3971 & 3999.96788146512 & -28.9678814651206 \tabularnewline
32 & 3988 & 4042.80121479845 & -54.8012147984541 \tabularnewline
33 & 4317 & 4577.96788146512 & -260.967881465121 \tabularnewline
34 & 4484 & 4582.41119087061 & -98.4111908706055 \tabularnewline
35 & 4247 & 3987.30121479845 & 259.698785201546 \tabularnewline
36 & 3520 & 3834.46788146512 & -314.467881465121 \tabularnewline
37 & 3686 & 3716.03211853488 & -30.0321185348824 \tabularnewline
38 & 3403 & 3429.19878520155 & -26.1987852015461 \tabularnewline
39 & 3990 & 3923.53211853488 & 66.4678814651207 \tabularnewline
40 & 4053 & 3893.42554757961 & 159.574452420394 \tabularnewline
41 & 4548 & 4522.69878520155 & 25.3012147984541 \tabularnewline
42 & 4559 & 4583.69878520155 & -24.698785201546 \tabularnewline
43 & 3922 & 3976.36545186821 & -54.3654518682126 \tabularnewline
44 & 4209 & 4019.19878520155 & 189.801214798454 \tabularnewline
45 & 4517 & 4554.36545186821 & -37.3654518682127 \tabularnewline
46 & 4386 & 4558.8087612737 & -172.808761273697 \tabularnewline
47 & 3221 & 3963.69878520155 & -742.698785201546 \tabularnewline
48 & 3127 & 3810.86545186821 & -683.865451868213 \tabularnewline
49 & 3777 & 3692.42968893797 & 84.5703110620255 \tabularnewline
50 & 3322 & 3405.59635560464 & -83.5963556046381 \tabularnewline
51 & 3899 & 3899.92968893797 & -0.929688937971274 \tabularnewline
52 & 4033 & 3976.48297441561 & 56.5170255843923 \tabularnewline
53 & 4463 & 4499.09635560464 & -36.0963556046379 \tabularnewline
54 & 4819 & 4560.09635560464 & 258.903644395362 \tabularnewline
55 & 4246 & 3952.76302227130 & 293.236977728695 \tabularnewline
56 & 4255 & 3995.59635560464 & 259.403644395362 \tabularnewline
57 & 4760 & 4530.76302227131 & 229.236977728695 \tabularnewline
58 & 4581 & 4428.54647524388 & 152.453524756120 \tabularnewline
59 & 4309 & 3940.09635560464 & 368.903644395362 \tabularnewline
60 & 4016 & 3787.26302227130 & 228.736977728695 \tabularnewline
61 & 3601 & 3668.82725934107 & -67.8272593410664 \tabularnewline
62 & 3257 & 3381.99392600773 & -124.99392600773 \tabularnewline
63 & 3823 & 3876.32725934106 & -53.3272593410632 \tabularnewline
64 & 3940 & 3952.8805448187 & -12.8805448186997 \tabularnewline
65 & 4534 & 4475.49392600773 & 58.5060739922701 \tabularnewline
66 & 4575 & 4536.49392600773 & 38.5060739922701 \tabularnewline
67 & 3953 & 3929.16059267440 & 23.8394073256035 \tabularnewline
68 & 4206 & 3971.99392600773 & 234.00607399227 \tabularnewline
69 & 4649 & 4507.16059267440 & 141.839407325603 \tabularnewline
70 & 4353 & 4511.60390207988 & -158.603902079881 \tabularnewline
71 & 3835 & 3916.49392600773 & -81.4939260077299 \tabularnewline
72 & 3944 & 3763.6605926744 & 180.339407325603 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6101&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]3804[/C][C]3786.83940732559[/C][C]17.1605926744128[/C][/ROW]
[ROW][C]2[/C][C]3491[/C][C]3500.00607399227[/C][C]-9.00607399226925[/C][/ROW]
[ROW][C]3[/C][C]4151[/C][C]3994.3394073256[/C][C]156.660592674397[/C][/ROW]
[ROW][C]4[/C][C]4254[/C][C]4070.89269280324[/C][C]183.10730719676[/C][/ROW]
[ROW][C]5[/C][C]4717[/C][C]4593.50607399227[/C][C]123.493926007730[/C][/ROW]
[ROW][C]6[/C][C]4866[/C][C]4654.50607399227[/C][C]211.493926007729[/C][/ROW]
[ROW][C]7[/C][C]4001[/C][C]4047.17274065894[/C][C]-46.1727406589373[/C][/ROW]
[ROW][C]8[/C][C]3758[/C][C]4090.00607399227[/C][C]-332.00607399227[/C][/ROW]
[ROW][C]9[/C][C]4780[/C][C]4625.17274065894[/C][C]154.827259341064[/C][/ROW]
[ROW][C]10[/C][C]5016[/C][C]4629.61605006442[/C][C]386.383949935578[/C][/ROW]
[ROW][C]11[/C][C]4296[/C][C]4034.50607399227[/C][C]261.49392600773[/C][/ROW]
[ROW][C]12[/C][C]4467[/C][C]3881.67274065894[/C][C]585.327259341063[/C][/ROW]
[ROW][C]13[/C][C]3891[/C][C]3763.2369777287[/C][C]127.763022271301[/C][/ROW]
[ROW][C]14[/C][C]3872[/C][C]3476.40364439536[/C][C]395.596355604638[/C][/ROW]
[ROW][C]15[/C][C]3867[/C][C]3970.7369777287[/C][C]-103.736977728695[/C][/ROW]
[ROW][C]16[/C][C]3973[/C][C]4047.29026320633[/C][C]-74.2902632063318[/C][/ROW]
[ROW][C]17[/C][C]4640[/C][C]4569.90364439536[/C][C]70.096355604638[/C][/ROW]
[ROW][C]18[/C][C]4538[/C][C]4630.90364439536[/C][C]-92.903644395362[/C][/ROW]
[ROW][C]19[/C][C]3836[/C][C]4023.57031106203[/C][C]-187.570311062028[/C][/ROW]
[ROW][C]20[/C][C]3770[/C][C]4066.40364439536[/C][C]-296.403644395362[/C][/ROW]
[ROW][C]21[/C][C]4374[/C][C]4601.57031106203[/C][C]-227.570311062029[/C][/ROW]
[ROW][C]22[/C][C]4497[/C][C]4606.01362046751[/C][C]-109.013620467514[/C][/ROW]
[ROW][C]23[/C][C]3945[/C][C]4010.90364439536[/C][C]-65.903644395362[/C][/ROW]
[ROW][C]24[/C][C]3862[/C][C]3858.07031106203[/C][C]3.9296889379713[/C][/ROW]
[ROW][C]25[/C][C]3608[/C][C]3739.63454813179[/C][C]-131.634548131790[/C][/ROW]
[ROW][C]26[/C][C]3301[/C][C]3452.80121479845[/C][C]-151.801214798454[/C][/ROW]
[ROW][C]27[/C][C]3882[/C][C]3947.13454813179[/C][C]-65.1345481317873[/C][/ROW]
[ROW][C]28[/C][C]3605[/C][C]3917.02797717651[/C][C]-312.027977176514[/C][/ROW]
[ROW][C]29[/C][C]4305[/C][C]4546.30121479845[/C][C]-241.301214798454[/C][/ROW]
[ROW][C]30[/C][C]4216[/C][C]4607.30121479845[/C][C]-391.301214798454[/C][/ROW]
[ROW][C]31[/C][C]3971[/C][C]3999.96788146512[/C][C]-28.9678814651206[/C][/ROW]
[ROW][C]32[/C][C]3988[/C][C]4042.80121479845[/C][C]-54.8012147984541[/C][/ROW]
[ROW][C]33[/C][C]4317[/C][C]4577.96788146512[/C][C]-260.967881465121[/C][/ROW]
[ROW][C]34[/C][C]4484[/C][C]4582.41119087061[/C][C]-98.4111908706055[/C][/ROW]
[ROW][C]35[/C][C]4247[/C][C]3987.30121479845[/C][C]259.698785201546[/C][/ROW]
[ROW][C]36[/C][C]3520[/C][C]3834.46788146512[/C][C]-314.467881465121[/C][/ROW]
[ROW][C]37[/C][C]3686[/C][C]3716.03211853488[/C][C]-30.0321185348824[/C][/ROW]
[ROW][C]38[/C][C]3403[/C][C]3429.19878520155[/C][C]-26.1987852015461[/C][/ROW]
[ROW][C]39[/C][C]3990[/C][C]3923.53211853488[/C][C]66.4678814651207[/C][/ROW]
[ROW][C]40[/C][C]4053[/C][C]3893.42554757961[/C][C]159.574452420394[/C][/ROW]
[ROW][C]41[/C][C]4548[/C][C]4522.69878520155[/C][C]25.3012147984541[/C][/ROW]
[ROW][C]42[/C][C]4559[/C][C]4583.69878520155[/C][C]-24.698785201546[/C][/ROW]
[ROW][C]43[/C][C]3922[/C][C]3976.36545186821[/C][C]-54.3654518682126[/C][/ROW]
[ROW][C]44[/C][C]4209[/C][C]4019.19878520155[/C][C]189.801214798454[/C][/ROW]
[ROW][C]45[/C][C]4517[/C][C]4554.36545186821[/C][C]-37.3654518682127[/C][/ROW]
[ROW][C]46[/C][C]4386[/C][C]4558.8087612737[/C][C]-172.808761273697[/C][/ROW]
[ROW][C]47[/C][C]3221[/C][C]3963.69878520155[/C][C]-742.698785201546[/C][/ROW]
[ROW][C]48[/C][C]3127[/C][C]3810.86545186821[/C][C]-683.865451868213[/C][/ROW]
[ROW][C]49[/C][C]3777[/C][C]3692.42968893797[/C][C]84.5703110620255[/C][/ROW]
[ROW][C]50[/C][C]3322[/C][C]3405.59635560464[/C][C]-83.5963556046381[/C][/ROW]
[ROW][C]51[/C][C]3899[/C][C]3899.92968893797[/C][C]-0.929688937971274[/C][/ROW]
[ROW][C]52[/C][C]4033[/C][C]3976.48297441561[/C][C]56.5170255843923[/C][/ROW]
[ROW][C]53[/C][C]4463[/C][C]4499.09635560464[/C][C]-36.0963556046379[/C][/ROW]
[ROW][C]54[/C][C]4819[/C][C]4560.09635560464[/C][C]258.903644395362[/C][/ROW]
[ROW][C]55[/C][C]4246[/C][C]3952.76302227130[/C][C]293.236977728695[/C][/ROW]
[ROW][C]56[/C][C]4255[/C][C]3995.59635560464[/C][C]259.403644395362[/C][/ROW]
[ROW][C]57[/C][C]4760[/C][C]4530.76302227131[/C][C]229.236977728695[/C][/ROW]
[ROW][C]58[/C][C]4581[/C][C]4428.54647524388[/C][C]152.453524756120[/C][/ROW]
[ROW][C]59[/C][C]4309[/C][C]3940.09635560464[/C][C]368.903644395362[/C][/ROW]
[ROW][C]60[/C][C]4016[/C][C]3787.26302227130[/C][C]228.736977728695[/C][/ROW]
[ROW][C]61[/C][C]3601[/C][C]3668.82725934107[/C][C]-67.8272593410664[/C][/ROW]
[ROW][C]62[/C][C]3257[/C][C]3381.99392600773[/C][C]-124.99392600773[/C][/ROW]
[ROW][C]63[/C][C]3823[/C][C]3876.32725934106[/C][C]-53.3272593410632[/C][/ROW]
[ROW][C]64[/C][C]3940[/C][C]3952.8805448187[/C][C]-12.8805448186997[/C][/ROW]
[ROW][C]65[/C][C]4534[/C][C]4475.49392600773[/C][C]58.5060739922701[/C][/ROW]
[ROW][C]66[/C][C]4575[/C][C]4536.49392600773[/C][C]38.5060739922701[/C][/ROW]
[ROW][C]67[/C][C]3953[/C][C]3929.16059267440[/C][C]23.8394073256035[/C][/ROW]
[ROW][C]68[/C][C]4206[/C][C]3971.99392600773[/C][C]234.00607399227[/C][/ROW]
[ROW][C]69[/C][C]4649[/C][C]4507.16059267440[/C][C]141.839407325603[/C][/ROW]
[ROW][C]70[/C][C]4353[/C][C]4511.60390207988[/C][C]-158.603902079881[/C][/ROW]
[ROW][C]71[/C][C]3835[/C][C]3916.49392600773[/C][C]-81.4939260077299[/C][/ROW]
[ROW][C]72[/C][C]3944[/C][C]3763.6605926744[/C][C]180.339407325603[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6101&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6101&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
138043786.8394073255917.1605926744128
234913500.00607399227-9.00607399226925
341513994.3394073256156.660592674397
442544070.89269280324183.10730719676
547174593.50607399227123.493926007730
648664654.50607399227211.493926007729
740014047.17274065894-46.1727406589373
837584090.00607399227-332.00607399227
947804625.17274065894154.827259341064
1050164629.61605006442386.383949935578
1142964034.50607399227261.49392600773
1244673881.67274065894585.327259341063
1338913763.2369777287127.763022271301
1438723476.40364439536395.596355604638
1538673970.7369777287-103.736977728695
1639734047.29026320633-74.2902632063318
1746404569.9036443953670.096355604638
1845384630.90364439536-92.903644395362
1938364023.57031106203-187.570311062028
2037704066.40364439536-296.403644395362
2143744601.57031106203-227.570311062029
2244974606.01362046751-109.013620467514
2339454010.90364439536-65.903644395362
2438623858.070311062033.9296889379713
2536083739.63454813179-131.634548131790
2633013452.80121479845-151.801214798454
2738823947.13454813179-65.1345481317873
2836053917.02797717651-312.027977176514
2943054546.30121479845-241.301214798454
3042164607.30121479845-391.301214798454
3139713999.96788146512-28.9678814651206
3239884042.80121479845-54.8012147984541
3343174577.96788146512-260.967881465121
3444844582.41119087061-98.4111908706055
3542473987.30121479845259.698785201546
3635203834.46788146512-314.467881465121
3736863716.03211853488-30.0321185348824
3834033429.19878520155-26.1987852015461
3939903923.5321185348866.4678814651207
4040533893.42554757961159.574452420394
4145484522.6987852015525.3012147984541
4245594583.69878520155-24.698785201546
4339223976.36545186821-54.3654518682126
4442094019.19878520155189.801214798454
4545174554.36545186821-37.3654518682127
4643864558.8087612737-172.808761273697
4732213963.69878520155-742.698785201546
4831273810.86545186821-683.865451868213
4937773692.4296889379784.5703110620255
5033223405.59635560464-83.5963556046381
5138993899.92968893797-0.929688937971274
5240333976.4829744156156.5170255843923
5344634499.09635560464-36.0963556046379
5448194560.09635560464258.903644395362
5542463952.76302227130293.236977728695
5642553995.59635560464259.403644395362
5747604530.76302227131229.236977728695
5845814428.54647524388152.453524756120
5943093940.09635560464368.903644395362
6040163787.26302227130228.736977728695
6136013668.82725934107-67.8272593410664
6232573381.99392600773-124.99392600773
6338233876.32725934106-53.3272593410632
6439403952.8805448187-12.8805448186997
6545344475.4939260077358.5060739922701
6645754536.4939260077338.5060739922701
6739533929.1605926744023.8394073256035
6842063971.99392600773234.00607399227
6946494507.16059267440141.839407325603
7043534511.60390207988-158.603902079881
7138353916.49392600773-81.4939260077299
7239443763.6605926744180.339407325603



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
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')