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:12:33 -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/t11957620317gkwyuy9n1e1pak.htm/, Retrieved Thu, 02 May 2024 22:48:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6102, Retrieved Thu, 02 May 2024 22:48:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsgrond, Holly
Estimated Impact181
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Bouwgrond duurder] [2007-11-22 20:12:33] [bd0e3b74339db15b9ec76abfe0d5b55e] [Current]
Feedback Forum

Post a new message
Dataseries X:
4159	0
3497	0
4404	0
3849	0
3734	0
3060	0
3507	0
3287	0
3215	0
3764	0
2734	0
2837	0
2766	0
3851	0
3289	0
3848	0
3348	0
3682	0
4058	0
3655	0
3811	0
3341	0
3032	0
3475	0
3353	0
3186	0
3902	0
4164	0
3499	0
4145	0
3796	0
3711	0
3949	0
3740	0
3243	0
4407	0
4814	0
3908	0
5250	0
3937	0
4004	0
5560	0
3922	0
3759	1
4138	1
4634	1
3996	1
4307	1
4142	1
4429	1
5219	1
4929	1
5754	1
5588	1
4162	1
4947	1
5208	1
4752	1
4487	1
5612	1
5719	1
4994	1
6051	1
4897	1
5337	1
5570	1
4634	1
4733	1
4987	1
5326	1
4186	1
4679	1
4775	1
4266	1
4999	1
4273	1
4137	1
5115	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6102&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6102&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6102&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 time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 3326.69620534298 + 509.736341138397x[t] + 139.711598663197M1[t] -103.620201910322M2[t] + 593.047997516158M3[t] + 118.287625514067M4[t] + 91.0986820834048M5[t] + 491.195452938457M6[t] -45.4325593236219M7[t] -143.410892944017M8[t] + 44.066830291987M9[t] + 70.3778868613246M10[t] -591.311056569338M11[t] + 15.1889434306624t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  3326.69620534298 +  509.736341138397x[t] +  139.711598663197M1[t] -103.620201910322M2[t] +  593.047997516158M3[t] +  118.287625514067M4[t] +  91.0986820834048M5[t] +  491.195452938457M6[t] -45.4325593236219M7[t] -143.410892944017M8[t] +  44.066830291987M9[t] +  70.3778868613246M10[t] -591.311056569338M11[t] +  15.1889434306624t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6102&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  3326.69620534298 +  509.736341138397x[t] +  139.711598663197M1[t] -103.620201910322M2[t] +  593.047997516158M3[t] +  118.287625514067M4[t] +  91.0986820834048M5[t] +  491.195452938457M6[t] -45.4325593236219M7[t] -143.410892944017M8[t] +  44.066830291987M9[t] +  70.3778868613246M10[t] -591.311056569338M11[t] +  15.1889434306624t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6102&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6102&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] = + 3326.69620534298 + 509.736341138397x[t] + 139.711598663197M1[t] -103.620201910322M2[t] + 593.047997516158M3[t] + 118.287625514067M4[t] + 91.0986820834048M5[t] + 491.195452938457M6[t] -45.4325593236219M7[t] -143.410892944017M8[t] + 44.066830291987M9[t] + 70.3778868613246M10[t] -591.311056569338M11[t] + 15.1889434306624t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3326.69620534298241.72272713.762400
x509.736341138397229.6023382.22010.0299620.014981
M1139.711598663197280.5078090.49810.6201440.310072
M2-103.620201910322280.352568-0.36960.7128960.356448
M3593.047997516158280.2887272.11580.0382540.019127
M4118.287625514067280.3163490.4220.6744540.337227
M591.0986820834048280.4354080.32480.7463560.373178
M6491.195452938457280.6457871.75020.0848710.042435
M7-45.4325593236219291.479174-0.15590.8766270.438313
M8-143.410892944017291.446804-0.49210.6243570.312178
M944.066830291987291.1387460.15140.8801680.440084
M1070.3778868613246290.9185050.24190.8096190.404809
M11-591.311056569338290.78628-2.03350.0461540.023077
t15.18894343066245.0634542.99970.0038470.001924

\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) & 3326.69620534298 & 241.722727 & 13.7624 & 0 & 0 \tabularnewline
x & 509.736341138397 & 229.602338 & 2.2201 & 0.029962 & 0.014981 \tabularnewline
M1 & 139.711598663197 & 280.507809 & 0.4981 & 0.620144 & 0.310072 \tabularnewline
M2 & -103.620201910322 & 280.352568 & -0.3696 & 0.712896 & 0.356448 \tabularnewline
M3 & 593.047997516158 & 280.288727 & 2.1158 & 0.038254 & 0.019127 \tabularnewline
M4 & 118.287625514067 & 280.316349 & 0.422 & 0.674454 & 0.337227 \tabularnewline
M5 & 91.0986820834048 & 280.435408 & 0.3248 & 0.746356 & 0.373178 \tabularnewline
M6 & 491.195452938457 & 280.645787 & 1.7502 & 0.084871 & 0.042435 \tabularnewline
M7 & -45.4325593236219 & 291.479174 & -0.1559 & 0.876627 & 0.438313 \tabularnewline
M8 & -143.410892944017 & 291.446804 & -0.4921 & 0.624357 & 0.312178 \tabularnewline
M9 & 44.066830291987 & 291.138746 & 0.1514 & 0.880168 & 0.440084 \tabularnewline
M10 & 70.3778868613246 & 290.918505 & 0.2419 & 0.809619 & 0.404809 \tabularnewline
M11 & -591.311056569338 & 290.78628 & -2.0335 & 0.046154 & 0.023077 \tabularnewline
t & 15.1889434306624 & 5.063454 & 2.9997 & 0.003847 & 0.001924 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6102&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]3326.69620534298[/C][C]241.722727[/C][C]13.7624[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]509.736341138397[/C][C]229.602338[/C][C]2.2201[/C][C]0.029962[/C][C]0.014981[/C][/ROW]
[ROW][C]M1[/C][C]139.711598663197[/C][C]280.507809[/C][C]0.4981[/C][C]0.620144[/C][C]0.310072[/C][/ROW]
[ROW][C]M2[/C][C]-103.620201910322[/C][C]280.352568[/C][C]-0.3696[/C][C]0.712896[/C][C]0.356448[/C][/ROW]
[ROW][C]M3[/C][C]593.047997516158[/C][C]280.288727[/C][C]2.1158[/C][C]0.038254[/C][C]0.019127[/C][/ROW]
[ROW][C]M4[/C][C]118.287625514067[/C][C]280.316349[/C][C]0.422[/C][C]0.674454[/C][C]0.337227[/C][/ROW]
[ROW][C]M5[/C][C]91.0986820834048[/C][C]280.435408[/C][C]0.3248[/C][C]0.746356[/C][C]0.373178[/C][/ROW]
[ROW][C]M6[/C][C]491.195452938457[/C][C]280.645787[/C][C]1.7502[/C][C]0.084871[/C][C]0.042435[/C][/ROW]
[ROW][C]M7[/C][C]-45.4325593236219[/C][C]291.479174[/C][C]-0.1559[/C][C]0.876627[/C][C]0.438313[/C][/ROW]
[ROW][C]M8[/C][C]-143.410892944017[/C][C]291.446804[/C][C]-0.4921[/C][C]0.624357[/C][C]0.312178[/C][/ROW]
[ROW][C]M9[/C][C]44.066830291987[/C][C]291.138746[/C][C]0.1514[/C][C]0.880168[/C][C]0.440084[/C][/ROW]
[ROW][C]M10[/C][C]70.3778868613246[/C][C]290.918505[/C][C]0.2419[/C][C]0.809619[/C][C]0.404809[/C][/ROW]
[ROW][C]M11[/C][C]-591.311056569338[/C][C]290.78628[/C][C]-2.0335[/C][C]0.046154[/C][C]0.023077[/C][/ROW]
[ROW][C]t[/C][C]15.1889434306624[/C][C]5.063454[/C][C]2.9997[/C][C]0.003847[/C][C]0.001924[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6102&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6102&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)3326.69620534298241.72272713.762400
x509.736341138397229.6023382.22010.0299620.014981
M1139.711598663197280.5078090.49810.6201440.310072
M2-103.620201910322280.352568-0.36960.7128960.356448
M3593.047997516158280.2887272.11580.0382540.019127
M4118.287625514067280.3163490.4220.6744540.337227
M591.0986820834048280.4354080.32480.7463560.373178
M6491.195452938457280.6457871.75020.0848710.042435
M7-45.4325593236219291.479174-0.15590.8766270.438313
M8-143.410892944017291.446804-0.49210.6243570.312178
M944.066830291987291.1387460.15140.8801680.440084
M1070.3778868613246290.9185050.24190.8096190.404809
M11-591.311056569338290.78628-2.03350.0461540.023077
t15.18894343066245.0634542.99970.0038470.001924







Multiple Linear Regression - Regression Statistics
Multiple R0.81439666271144
R-squared0.66324192423553
Adjusted R-squared0.594837940095873
F-TEST (value)9.6959545935426
F-TEST (DF numerator)13
F-TEST (DF denominator)64
p-value9.52469214610119e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation503.580248723731
Sum Squared Residuals16229956.2818979

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.81439666271144 \tabularnewline
R-squared & 0.66324192423553 \tabularnewline
Adjusted R-squared & 0.594837940095873 \tabularnewline
F-TEST (value) & 9.6959545935426 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 64 \tabularnewline
p-value & 9.52469214610119e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 503.580248723731 \tabularnewline
Sum Squared Residuals & 16229956.2818979 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6102&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.81439666271144[/C][/ROW]
[ROW][C]R-squared[/C][C]0.66324192423553[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.594837940095873[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.6959545935426[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]64[/C][/ROW]
[ROW][C]p-value[/C][C]9.52469214610119e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]503.580248723731[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]16229956.2818979[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6102&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6102&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.81439666271144
R-squared0.66324192423553
Adjusted R-squared0.594837940095873
F-TEST (value)9.6959545935426
F-TEST (DF numerator)13
F-TEST (DF denominator)64
p-value9.52469214610119e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation503.580248723731
Sum Squared Residuals16229956.2818979







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
141593481.59674743684677.40325256316
234973253.45389029398243.546109706018
344043965.31103315112438.688966848876
438493505.73960457970343.260395420304
537343493.73960457970240.260395420304
630603909.02531886541-849.02531886541
735073387.58625003399119.413749966006
832873304.79685984426-17.7968598442613
932153507.46352651093-292.463526510928
1037643548.96352651093215.036473489072
1127342902.46352651093-168.463526510928
1228373508.96352651093-671.963526510929
1327663663.86406860479-897.864068604788
1438513435.72121146193415.278788538069
1532894147.57835431907-858.578354319074
1638483688.00692574765159.993074252355
1733483676.00692574765-328.006925747645
1836824091.29264003336-409.292640033360
1940583569.85357120194488.146428798056
2036553487.06418101221167.935818987789
2138113689.73084767888121.269152321123
2233413731.23084767888-390.230847678877
2330323084.73084767888-52.7308476788774
2434753691.23084767888-216.230847678878
2533533846.13138977274-493.131389772737
2631863617.98853262988-431.98853262988
2739024329.84567548702-427.845675487023
2841643870.27424691559293.725753084405
2934993858.27424691559-359.274246915595
3041454273.55996120131-128.559961201309
3137963752.1208923698943.8791076301071
3237113669.3315021801641.6684978198397
3339493871.9981688468377.0018311531732
3437403913.49816884683-173.498168846827
3532433266.99816884683-23.9981688468268
3644073873.49816884683533.501831153173
3748144028.39871094069785.601289059314
3839083800.25585379783107.744146202170
3952504512.11299665497737.887003345027
4039374052.54156808354-115.541568083544
4140044040.54156808354-36.5415680835441
4255604455.827282369261104.17271763074
4339223934.38821353784-12.3882135378422
4437594361.33516448651-602.335164486506
4541384564.00183115317-426.001831153173
4646344605.5018311531728.4981688468268
4739963959.0018311531736.9981688468266
4843074565.50183115317-258.501831153174
4941424720.40237324703-578.402373247033
5044294492.25951610418-63.2595161041762
5152195204.1166589613214.8833410386808
5249294744.54523038989184.454769610110
5357544732.545230389891021.45476961011
5455885147.8309446756440.169055324395
5541624626.39187584419-464.391875844189
5649474543.60248565446403.397514345544
5752084746.26915232112461.730847678877
5847524787.76915232112-35.7691523211226
5944874141.26915232112345.730847678877
6056124747.76915232112864.230847678877
6157194902.66969441498816.330305585017
6249944674.52683727213319.473162727874
6360515386.38398012927664.616019870732
6448974926.81255155784-29.8125515578398
6553374914.81255155784422.18744844216
6655705330.09826584355239.901734156446
6746344808.65919701214-174.659197012138
6847334725.869806822407.13019317759478
6949874928.5364734890758.4635265109281
7053264970.03647348907355.963526510928
7141864323.53647348907-137.536473489072
7246794930.03647348907-251.036473489072
7347755084.93701558293-309.937015582932
7442664856.79415844008-590.794158440075
7549995568.65130129722-569.651301297218
7642735109.07987272579-836.079872725789
7741375097.07987272579-960.07987272579
7851155512.3655870115-397.365587011503

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 4159 & 3481.59674743684 & 677.40325256316 \tabularnewline
2 & 3497 & 3253.45389029398 & 243.546109706018 \tabularnewline
3 & 4404 & 3965.31103315112 & 438.688966848876 \tabularnewline
4 & 3849 & 3505.73960457970 & 343.260395420304 \tabularnewline
5 & 3734 & 3493.73960457970 & 240.260395420304 \tabularnewline
6 & 3060 & 3909.02531886541 & -849.02531886541 \tabularnewline
7 & 3507 & 3387.58625003399 & 119.413749966006 \tabularnewline
8 & 3287 & 3304.79685984426 & -17.7968598442613 \tabularnewline
9 & 3215 & 3507.46352651093 & -292.463526510928 \tabularnewline
10 & 3764 & 3548.96352651093 & 215.036473489072 \tabularnewline
11 & 2734 & 2902.46352651093 & -168.463526510928 \tabularnewline
12 & 2837 & 3508.96352651093 & -671.963526510929 \tabularnewline
13 & 2766 & 3663.86406860479 & -897.864068604788 \tabularnewline
14 & 3851 & 3435.72121146193 & 415.278788538069 \tabularnewline
15 & 3289 & 4147.57835431907 & -858.578354319074 \tabularnewline
16 & 3848 & 3688.00692574765 & 159.993074252355 \tabularnewline
17 & 3348 & 3676.00692574765 & -328.006925747645 \tabularnewline
18 & 3682 & 4091.29264003336 & -409.292640033360 \tabularnewline
19 & 4058 & 3569.85357120194 & 488.146428798056 \tabularnewline
20 & 3655 & 3487.06418101221 & 167.935818987789 \tabularnewline
21 & 3811 & 3689.73084767888 & 121.269152321123 \tabularnewline
22 & 3341 & 3731.23084767888 & -390.230847678877 \tabularnewline
23 & 3032 & 3084.73084767888 & -52.7308476788774 \tabularnewline
24 & 3475 & 3691.23084767888 & -216.230847678878 \tabularnewline
25 & 3353 & 3846.13138977274 & -493.131389772737 \tabularnewline
26 & 3186 & 3617.98853262988 & -431.98853262988 \tabularnewline
27 & 3902 & 4329.84567548702 & -427.845675487023 \tabularnewline
28 & 4164 & 3870.27424691559 & 293.725753084405 \tabularnewline
29 & 3499 & 3858.27424691559 & -359.274246915595 \tabularnewline
30 & 4145 & 4273.55996120131 & -128.559961201309 \tabularnewline
31 & 3796 & 3752.12089236989 & 43.8791076301071 \tabularnewline
32 & 3711 & 3669.33150218016 & 41.6684978198397 \tabularnewline
33 & 3949 & 3871.99816884683 & 77.0018311531732 \tabularnewline
34 & 3740 & 3913.49816884683 & -173.498168846827 \tabularnewline
35 & 3243 & 3266.99816884683 & -23.9981688468268 \tabularnewline
36 & 4407 & 3873.49816884683 & 533.501831153173 \tabularnewline
37 & 4814 & 4028.39871094069 & 785.601289059314 \tabularnewline
38 & 3908 & 3800.25585379783 & 107.744146202170 \tabularnewline
39 & 5250 & 4512.11299665497 & 737.887003345027 \tabularnewline
40 & 3937 & 4052.54156808354 & -115.541568083544 \tabularnewline
41 & 4004 & 4040.54156808354 & -36.5415680835441 \tabularnewline
42 & 5560 & 4455.82728236926 & 1104.17271763074 \tabularnewline
43 & 3922 & 3934.38821353784 & -12.3882135378422 \tabularnewline
44 & 3759 & 4361.33516448651 & -602.335164486506 \tabularnewline
45 & 4138 & 4564.00183115317 & -426.001831153173 \tabularnewline
46 & 4634 & 4605.50183115317 & 28.4981688468268 \tabularnewline
47 & 3996 & 3959.00183115317 & 36.9981688468266 \tabularnewline
48 & 4307 & 4565.50183115317 & -258.501831153174 \tabularnewline
49 & 4142 & 4720.40237324703 & -578.402373247033 \tabularnewline
50 & 4429 & 4492.25951610418 & -63.2595161041762 \tabularnewline
51 & 5219 & 5204.11665896132 & 14.8833410386808 \tabularnewline
52 & 4929 & 4744.54523038989 & 184.454769610110 \tabularnewline
53 & 5754 & 4732.54523038989 & 1021.45476961011 \tabularnewline
54 & 5588 & 5147.8309446756 & 440.169055324395 \tabularnewline
55 & 4162 & 4626.39187584419 & -464.391875844189 \tabularnewline
56 & 4947 & 4543.60248565446 & 403.397514345544 \tabularnewline
57 & 5208 & 4746.26915232112 & 461.730847678877 \tabularnewline
58 & 4752 & 4787.76915232112 & -35.7691523211226 \tabularnewline
59 & 4487 & 4141.26915232112 & 345.730847678877 \tabularnewline
60 & 5612 & 4747.76915232112 & 864.230847678877 \tabularnewline
61 & 5719 & 4902.66969441498 & 816.330305585017 \tabularnewline
62 & 4994 & 4674.52683727213 & 319.473162727874 \tabularnewline
63 & 6051 & 5386.38398012927 & 664.616019870732 \tabularnewline
64 & 4897 & 4926.81255155784 & -29.8125515578398 \tabularnewline
65 & 5337 & 4914.81255155784 & 422.18744844216 \tabularnewline
66 & 5570 & 5330.09826584355 & 239.901734156446 \tabularnewline
67 & 4634 & 4808.65919701214 & -174.659197012138 \tabularnewline
68 & 4733 & 4725.86980682240 & 7.13019317759478 \tabularnewline
69 & 4987 & 4928.53647348907 & 58.4635265109281 \tabularnewline
70 & 5326 & 4970.03647348907 & 355.963526510928 \tabularnewline
71 & 4186 & 4323.53647348907 & -137.536473489072 \tabularnewline
72 & 4679 & 4930.03647348907 & -251.036473489072 \tabularnewline
73 & 4775 & 5084.93701558293 & -309.937015582932 \tabularnewline
74 & 4266 & 4856.79415844008 & -590.794158440075 \tabularnewline
75 & 4999 & 5568.65130129722 & -569.651301297218 \tabularnewline
76 & 4273 & 5109.07987272579 & -836.079872725789 \tabularnewline
77 & 4137 & 5097.07987272579 & -960.07987272579 \tabularnewline
78 & 5115 & 5512.3655870115 & -397.365587011503 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6102&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]4159[/C][C]3481.59674743684[/C][C]677.40325256316[/C][/ROW]
[ROW][C]2[/C][C]3497[/C][C]3253.45389029398[/C][C]243.546109706018[/C][/ROW]
[ROW][C]3[/C][C]4404[/C][C]3965.31103315112[/C][C]438.688966848876[/C][/ROW]
[ROW][C]4[/C][C]3849[/C][C]3505.73960457970[/C][C]343.260395420304[/C][/ROW]
[ROW][C]5[/C][C]3734[/C][C]3493.73960457970[/C][C]240.260395420304[/C][/ROW]
[ROW][C]6[/C][C]3060[/C][C]3909.02531886541[/C][C]-849.02531886541[/C][/ROW]
[ROW][C]7[/C][C]3507[/C][C]3387.58625003399[/C][C]119.413749966006[/C][/ROW]
[ROW][C]8[/C][C]3287[/C][C]3304.79685984426[/C][C]-17.7968598442613[/C][/ROW]
[ROW][C]9[/C][C]3215[/C][C]3507.46352651093[/C][C]-292.463526510928[/C][/ROW]
[ROW][C]10[/C][C]3764[/C][C]3548.96352651093[/C][C]215.036473489072[/C][/ROW]
[ROW][C]11[/C][C]2734[/C][C]2902.46352651093[/C][C]-168.463526510928[/C][/ROW]
[ROW][C]12[/C][C]2837[/C][C]3508.96352651093[/C][C]-671.963526510929[/C][/ROW]
[ROW][C]13[/C][C]2766[/C][C]3663.86406860479[/C][C]-897.864068604788[/C][/ROW]
[ROW][C]14[/C][C]3851[/C][C]3435.72121146193[/C][C]415.278788538069[/C][/ROW]
[ROW][C]15[/C][C]3289[/C][C]4147.57835431907[/C][C]-858.578354319074[/C][/ROW]
[ROW][C]16[/C][C]3848[/C][C]3688.00692574765[/C][C]159.993074252355[/C][/ROW]
[ROW][C]17[/C][C]3348[/C][C]3676.00692574765[/C][C]-328.006925747645[/C][/ROW]
[ROW][C]18[/C][C]3682[/C][C]4091.29264003336[/C][C]-409.292640033360[/C][/ROW]
[ROW][C]19[/C][C]4058[/C][C]3569.85357120194[/C][C]488.146428798056[/C][/ROW]
[ROW][C]20[/C][C]3655[/C][C]3487.06418101221[/C][C]167.935818987789[/C][/ROW]
[ROW][C]21[/C][C]3811[/C][C]3689.73084767888[/C][C]121.269152321123[/C][/ROW]
[ROW][C]22[/C][C]3341[/C][C]3731.23084767888[/C][C]-390.230847678877[/C][/ROW]
[ROW][C]23[/C][C]3032[/C][C]3084.73084767888[/C][C]-52.7308476788774[/C][/ROW]
[ROW][C]24[/C][C]3475[/C][C]3691.23084767888[/C][C]-216.230847678878[/C][/ROW]
[ROW][C]25[/C][C]3353[/C][C]3846.13138977274[/C][C]-493.131389772737[/C][/ROW]
[ROW][C]26[/C][C]3186[/C][C]3617.98853262988[/C][C]-431.98853262988[/C][/ROW]
[ROW][C]27[/C][C]3902[/C][C]4329.84567548702[/C][C]-427.845675487023[/C][/ROW]
[ROW][C]28[/C][C]4164[/C][C]3870.27424691559[/C][C]293.725753084405[/C][/ROW]
[ROW][C]29[/C][C]3499[/C][C]3858.27424691559[/C][C]-359.274246915595[/C][/ROW]
[ROW][C]30[/C][C]4145[/C][C]4273.55996120131[/C][C]-128.559961201309[/C][/ROW]
[ROW][C]31[/C][C]3796[/C][C]3752.12089236989[/C][C]43.8791076301071[/C][/ROW]
[ROW][C]32[/C][C]3711[/C][C]3669.33150218016[/C][C]41.6684978198397[/C][/ROW]
[ROW][C]33[/C][C]3949[/C][C]3871.99816884683[/C][C]77.0018311531732[/C][/ROW]
[ROW][C]34[/C][C]3740[/C][C]3913.49816884683[/C][C]-173.498168846827[/C][/ROW]
[ROW][C]35[/C][C]3243[/C][C]3266.99816884683[/C][C]-23.9981688468268[/C][/ROW]
[ROW][C]36[/C][C]4407[/C][C]3873.49816884683[/C][C]533.501831153173[/C][/ROW]
[ROW][C]37[/C][C]4814[/C][C]4028.39871094069[/C][C]785.601289059314[/C][/ROW]
[ROW][C]38[/C][C]3908[/C][C]3800.25585379783[/C][C]107.744146202170[/C][/ROW]
[ROW][C]39[/C][C]5250[/C][C]4512.11299665497[/C][C]737.887003345027[/C][/ROW]
[ROW][C]40[/C][C]3937[/C][C]4052.54156808354[/C][C]-115.541568083544[/C][/ROW]
[ROW][C]41[/C][C]4004[/C][C]4040.54156808354[/C][C]-36.5415680835441[/C][/ROW]
[ROW][C]42[/C][C]5560[/C][C]4455.82728236926[/C][C]1104.17271763074[/C][/ROW]
[ROW][C]43[/C][C]3922[/C][C]3934.38821353784[/C][C]-12.3882135378422[/C][/ROW]
[ROW][C]44[/C][C]3759[/C][C]4361.33516448651[/C][C]-602.335164486506[/C][/ROW]
[ROW][C]45[/C][C]4138[/C][C]4564.00183115317[/C][C]-426.001831153173[/C][/ROW]
[ROW][C]46[/C][C]4634[/C][C]4605.50183115317[/C][C]28.4981688468268[/C][/ROW]
[ROW][C]47[/C][C]3996[/C][C]3959.00183115317[/C][C]36.9981688468266[/C][/ROW]
[ROW][C]48[/C][C]4307[/C][C]4565.50183115317[/C][C]-258.501831153174[/C][/ROW]
[ROW][C]49[/C][C]4142[/C][C]4720.40237324703[/C][C]-578.402373247033[/C][/ROW]
[ROW][C]50[/C][C]4429[/C][C]4492.25951610418[/C][C]-63.2595161041762[/C][/ROW]
[ROW][C]51[/C][C]5219[/C][C]5204.11665896132[/C][C]14.8833410386808[/C][/ROW]
[ROW][C]52[/C][C]4929[/C][C]4744.54523038989[/C][C]184.454769610110[/C][/ROW]
[ROW][C]53[/C][C]5754[/C][C]4732.54523038989[/C][C]1021.45476961011[/C][/ROW]
[ROW][C]54[/C][C]5588[/C][C]5147.8309446756[/C][C]440.169055324395[/C][/ROW]
[ROW][C]55[/C][C]4162[/C][C]4626.39187584419[/C][C]-464.391875844189[/C][/ROW]
[ROW][C]56[/C][C]4947[/C][C]4543.60248565446[/C][C]403.397514345544[/C][/ROW]
[ROW][C]57[/C][C]5208[/C][C]4746.26915232112[/C][C]461.730847678877[/C][/ROW]
[ROW][C]58[/C][C]4752[/C][C]4787.76915232112[/C][C]-35.7691523211226[/C][/ROW]
[ROW][C]59[/C][C]4487[/C][C]4141.26915232112[/C][C]345.730847678877[/C][/ROW]
[ROW][C]60[/C][C]5612[/C][C]4747.76915232112[/C][C]864.230847678877[/C][/ROW]
[ROW][C]61[/C][C]5719[/C][C]4902.66969441498[/C][C]816.330305585017[/C][/ROW]
[ROW][C]62[/C][C]4994[/C][C]4674.52683727213[/C][C]319.473162727874[/C][/ROW]
[ROW][C]63[/C][C]6051[/C][C]5386.38398012927[/C][C]664.616019870732[/C][/ROW]
[ROW][C]64[/C][C]4897[/C][C]4926.81255155784[/C][C]-29.8125515578398[/C][/ROW]
[ROW][C]65[/C][C]5337[/C][C]4914.81255155784[/C][C]422.18744844216[/C][/ROW]
[ROW][C]66[/C][C]5570[/C][C]5330.09826584355[/C][C]239.901734156446[/C][/ROW]
[ROW][C]67[/C][C]4634[/C][C]4808.65919701214[/C][C]-174.659197012138[/C][/ROW]
[ROW][C]68[/C][C]4733[/C][C]4725.86980682240[/C][C]7.13019317759478[/C][/ROW]
[ROW][C]69[/C][C]4987[/C][C]4928.53647348907[/C][C]58.4635265109281[/C][/ROW]
[ROW][C]70[/C][C]5326[/C][C]4970.03647348907[/C][C]355.963526510928[/C][/ROW]
[ROW][C]71[/C][C]4186[/C][C]4323.53647348907[/C][C]-137.536473489072[/C][/ROW]
[ROW][C]72[/C][C]4679[/C][C]4930.03647348907[/C][C]-251.036473489072[/C][/ROW]
[ROW][C]73[/C][C]4775[/C][C]5084.93701558293[/C][C]-309.937015582932[/C][/ROW]
[ROW][C]74[/C][C]4266[/C][C]4856.79415844008[/C][C]-590.794158440075[/C][/ROW]
[ROW][C]75[/C][C]4999[/C][C]5568.65130129722[/C][C]-569.651301297218[/C][/ROW]
[ROW][C]76[/C][C]4273[/C][C]5109.07987272579[/C][C]-836.079872725789[/C][/ROW]
[ROW][C]77[/C][C]4137[/C][C]5097.07987272579[/C][C]-960.07987272579[/C][/ROW]
[ROW][C]78[/C][C]5115[/C][C]5512.3655870115[/C][C]-397.365587011503[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6102&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6102&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
141593481.59674743684677.40325256316
234973253.45389029398243.546109706018
344043965.31103315112438.688966848876
438493505.73960457970343.260395420304
537343493.73960457970240.260395420304
630603909.02531886541-849.02531886541
735073387.58625003399119.413749966006
832873304.79685984426-17.7968598442613
932153507.46352651093-292.463526510928
1037643548.96352651093215.036473489072
1127342902.46352651093-168.463526510928
1228373508.96352651093-671.963526510929
1327663663.86406860479-897.864068604788
1438513435.72121146193415.278788538069
1532894147.57835431907-858.578354319074
1638483688.00692574765159.993074252355
1733483676.00692574765-328.006925747645
1836824091.29264003336-409.292640033360
1940583569.85357120194488.146428798056
2036553487.06418101221167.935818987789
2138113689.73084767888121.269152321123
2233413731.23084767888-390.230847678877
2330323084.73084767888-52.7308476788774
2434753691.23084767888-216.230847678878
2533533846.13138977274-493.131389772737
2631863617.98853262988-431.98853262988
2739024329.84567548702-427.845675487023
2841643870.27424691559293.725753084405
2934993858.27424691559-359.274246915595
3041454273.55996120131-128.559961201309
3137963752.1208923698943.8791076301071
3237113669.3315021801641.6684978198397
3339493871.9981688468377.0018311531732
3437403913.49816884683-173.498168846827
3532433266.99816884683-23.9981688468268
3644073873.49816884683533.501831153173
3748144028.39871094069785.601289059314
3839083800.25585379783107.744146202170
3952504512.11299665497737.887003345027
4039374052.54156808354-115.541568083544
4140044040.54156808354-36.5415680835441
4255604455.827282369261104.17271763074
4339223934.38821353784-12.3882135378422
4437594361.33516448651-602.335164486506
4541384564.00183115317-426.001831153173
4646344605.5018311531728.4981688468268
4739963959.0018311531736.9981688468266
4843074565.50183115317-258.501831153174
4941424720.40237324703-578.402373247033
5044294492.25951610418-63.2595161041762
5152195204.1166589613214.8833410386808
5249294744.54523038989184.454769610110
5357544732.545230389891021.45476961011
5455885147.8309446756440.169055324395
5541624626.39187584419-464.391875844189
5649474543.60248565446403.397514345544
5752084746.26915232112461.730847678877
5847524787.76915232112-35.7691523211226
5944874141.26915232112345.730847678877
6056124747.76915232112864.230847678877
6157194902.66969441498816.330305585017
6249944674.52683727213319.473162727874
6360515386.38398012927664.616019870732
6448974926.81255155784-29.8125515578398
6553374914.81255155784422.18744844216
6655705330.09826584355239.901734156446
6746344808.65919701214-174.659197012138
6847334725.869806822407.13019317759478
6949874928.5364734890758.4635265109281
7053264970.03647348907355.963526510928
7141864323.53647348907-137.536473489072
7246794930.03647348907-251.036473489072
7347755084.93701558293-309.937015582932
7442664856.79415844008-590.794158440075
7549995568.65130129722-569.651301297218
7642735109.07987272579-836.079872725789
7741375097.07987272579-960.07987272579
7851155512.3655870115-397.365587011503



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