Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 19 Dec 2007 07:16:32 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Dec/19/t1198073003x5msm8hvb9nryjq.htm/, Retrieved Tue, 07 May 2024 02:09:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4661, Retrieved Tue, 07 May 2024 02:09:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact218
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple Regression] [2007-12-19 14:16:32] [6d644d07a16de69cd360f404f1ea3fa3] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.8833	18.33	0
0.87	22.6	0
0.8758	24.9	0
0.8858	24.8	0
0.917	23.8	0
0.9554	25.1	0
0.9922	26	0
0.9778	27.4	0
0.9808	27.3	0
0.9811	24.3	0
1.0014	28.4	0
1.0183	24.4	0
1.0622	30.3	0
1.0773	31.5	0
1.0807	29.8	0
1.0848	25.3	0
1.1582	25.6	1
1.1663	26.7	1
1.1372	27.4	1
1.1139	28.6	1
1.1222	26.3	1
1.1692	28.5	1
1.1702	28.4	1
1.2286	29.4	1
1.2613	30.3	1
1.2646	29.6	1
1.2262	32.1	1
1.1985	32.4	1
1.2007	36.3	1
1.2138	34.6	1
1.2266	36.3	1
1.2176	40.3	1
1.2218	40.4	1
1.249	45.4	1
1.2991	39	1
1.3408	35.7	1
1.3119	40.2	1
1.3014	41.7	1
1.3201	49.1	1
1.2938	49.6	1
1.2694	47	1
1.2165	52	1
1.2037	53.1	1
1.2292	57.8	1
1.2256	57.9	1
1.2015	54.6	1
1.1786	51.3	1
1.1856	52.7	1
1.2103	58.5	1
1.1938	56.6	1
1.202	57.9	1
1.2271	64.4	1
1.277	65.1	1
1.265	64.6	1
1.2684	68.9	1
1.2811	68.8	1
1.2727	59.3	1
1.2611	55	1
1.2881	55.4	1
1.3213	58	1
1.2999	50.8	1
1.3074	54.6	1
1.3242	58.6	1
1.3516	63.6	1
1.3511	64.5	1
1.3419	66.9	1
1.3716	71.9	1
1.3622	68.7	1
1.3896	74.2	1
1.4227	75.8	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=4661&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=4661&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4661&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
Dollarkoers[t] = + 0.921040858135407 + 0.00340081831326493Olieprijs[t] + 0.202137970751832Inval_in_IraK_mei2003[t] -0.0137909931864788M1[t] -0.0208217741230416M2[t] -0.027360595681306M3[t] -0.0296249791833293M4[t] -0.0425949410234984M5[t] -0.0493193108869674M6[t] -0.0502845127022556M7[t] -0.0578022704532755M8[t] -0.0491380915295684M9[t] -0.0361345127022555M10[t] -0.0330043764241018M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Dollarkoers[t] =  +  0.921040858135407 +  0.00340081831326493Olieprijs[t] +  0.202137970751832Inval_in_IraK_mei2003[t] -0.0137909931864788M1[t] -0.0208217741230416M2[t] -0.027360595681306M3[t] -0.0296249791833293M4[t] -0.0425949410234984M5[t] -0.0493193108869674M6[t] -0.0502845127022556M7[t] -0.0578022704532755M8[t] -0.0491380915295684M9[t] -0.0361345127022555M10[t] -0.0330043764241018M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4661&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Dollarkoers[t] =  +  0.921040858135407 +  0.00340081831326493Olieprijs[t] +  0.202137970751832Inval_in_IraK_mei2003[t] -0.0137909931864788M1[t] -0.0208217741230416M2[t] -0.027360595681306M3[t] -0.0296249791833293M4[t] -0.0425949410234984M5[t] -0.0493193108869674M6[t] -0.0502845127022556M7[t] -0.0578022704532755M8[t] -0.0491380915295684M9[t] -0.0361345127022555M10[t] -0.0330043764241018M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4661&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4661&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
Dollarkoers[t] = + 0.921040858135407 + 0.00340081831326493Olieprijs[t] + 0.202137970751832Inval_in_IraK_mei2003[t] -0.0137909931864788M1[t] -0.0208217741230416M2[t] -0.027360595681306M3[t] -0.0296249791833293M4[t] -0.0425949410234984M5[t] -0.0493193108869674M6[t] -0.0502845127022556M7[t] -0.0578022704532755M8[t] -0.0491380915295684M9[t] -0.0361345127022555M10[t] -0.0330043764241018M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.9210408581354070.03304327.87400
Olieprijs0.003400818313264930.0005745.924100
Inval_in_IraK_mei20030.2021379707518320.0218979.231300
M1-0.01379099318647880.03684-0.37440.7095560.354778
M2-0.02082177412304160.036861-0.56490.5744150.287207
M3-0.0273605956813060.036949-0.74050.4620910.231046
M4-0.02962497918332930.037014-0.80040.4268790.213439
M5-0.04259494102349840.036803-1.15740.2520270.126014
M6-0.04931931088696740.036843-1.33860.1860980.093049
M7-0.05028451270225560.036952-1.36080.1790220.089511
M8-0.05780227045327550.037036-1.56070.1242310.062115
M9-0.04913809152956840.036969-1.32920.1891850.094593
M10-0.03613451270225550.036952-0.97790.3323350.166168
M11-0.03300437642410180.038395-0.85960.3936780.196839

\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) & 0.921040858135407 & 0.033043 & 27.874 & 0 & 0 \tabularnewline
Olieprijs & 0.00340081831326493 & 0.000574 & 5.9241 & 0 & 0 \tabularnewline
Inval_in_IraK_mei2003 & 0.202137970751832 & 0.021897 & 9.2313 & 0 & 0 \tabularnewline
M1 & -0.0137909931864788 & 0.03684 & -0.3744 & 0.709556 & 0.354778 \tabularnewline
M2 & -0.0208217741230416 & 0.036861 & -0.5649 & 0.574415 & 0.287207 \tabularnewline
M3 & -0.027360595681306 & 0.036949 & -0.7405 & 0.462091 & 0.231046 \tabularnewline
M4 & -0.0296249791833293 & 0.037014 & -0.8004 & 0.426879 & 0.213439 \tabularnewline
M5 & -0.0425949410234984 & 0.036803 & -1.1574 & 0.252027 & 0.126014 \tabularnewline
M6 & -0.0493193108869674 & 0.036843 & -1.3386 & 0.186098 & 0.093049 \tabularnewline
M7 & -0.0502845127022556 & 0.036952 & -1.3608 & 0.179022 & 0.089511 \tabularnewline
M8 & -0.0578022704532755 & 0.037036 & -1.5607 & 0.124231 & 0.062115 \tabularnewline
M9 & -0.0491380915295684 & 0.036969 & -1.3292 & 0.189185 & 0.094593 \tabularnewline
M10 & -0.0361345127022555 & 0.036952 & -0.9779 & 0.332335 & 0.166168 \tabularnewline
M11 & -0.0330043764241018 & 0.038395 & -0.8596 & 0.393678 & 0.196839 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4661&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]0.921040858135407[/C][C]0.033043[/C][C]27.874[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Olieprijs[/C][C]0.00340081831326493[/C][C]0.000574[/C][C]5.9241[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Inval_in_IraK_mei2003[/C][C]0.202137970751832[/C][C]0.021897[/C][C]9.2313[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.0137909931864788[/C][C]0.03684[/C][C]-0.3744[/C][C]0.709556[/C][C]0.354778[/C][/ROW]
[ROW][C]M2[/C][C]-0.0208217741230416[/C][C]0.036861[/C][C]-0.5649[/C][C]0.574415[/C][C]0.287207[/C][/ROW]
[ROW][C]M3[/C][C]-0.027360595681306[/C][C]0.036949[/C][C]-0.7405[/C][C]0.462091[/C][C]0.231046[/C][/ROW]
[ROW][C]M4[/C][C]-0.0296249791833293[/C][C]0.037014[/C][C]-0.8004[/C][C]0.426879[/C][C]0.213439[/C][/ROW]
[ROW][C]M5[/C][C]-0.0425949410234984[/C][C]0.036803[/C][C]-1.1574[/C][C]0.252027[/C][C]0.126014[/C][/ROW]
[ROW][C]M6[/C][C]-0.0493193108869674[/C][C]0.036843[/C][C]-1.3386[/C][C]0.186098[/C][C]0.093049[/C][/ROW]
[ROW][C]M7[/C][C]-0.0502845127022556[/C][C]0.036952[/C][C]-1.3608[/C][C]0.179022[/C][C]0.089511[/C][/ROW]
[ROW][C]M8[/C][C]-0.0578022704532755[/C][C]0.037036[/C][C]-1.5607[/C][C]0.124231[/C][C]0.062115[/C][/ROW]
[ROW][C]M9[/C][C]-0.0491380915295684[/C][C]0.036969[/C][C]-1.3292[/C][C]0.189185[/C][C]0.094593[/C][/ROW]
[ROW][C]M10[/C][C]-0.0361345127022555[/C][C]0.036952[/C][C]-0.9779[/C][C]0.332335[/C][C]0.166168[/C][/ROW]
[ROW][C]M11[/C][C]-0.0330043764241018[/C][C]0.038395[/C][C]-0.8596[/C][C]0.393678[/C][C]0.196839[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4661&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4661&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)0.9210408581354070.03304327.87400
Olieprijs0.003400818313264930.0005745.924100
Inval_in_IraK_mei20030.2021379707518320.0218979.231300
M1-0.01379099318647880.03684-0.37440.7095560.354778
M2-0.02082177412304160.036861-0.56490.5744150.287207
M3-0.0273605956813060.036949-0.74050.4620910.231046
M4-0.02962497918332930.037014-0.80040.4268790.213439
M5-0.04259494102349840.036803-1.15740.2520270.126014
M6-0.04931931088696740.036843-1.33860.1860980.093049
M7-0.05028451270225560.036952-1.36080.1790220.089511
M8-0.05780227045327550.037036-1.56070.1242310.062115
M9-0.04913809152956840.036969-1.32920.1891850.094593
M10-0.03613451270225550.036952-0.97790.3323350.166168
M11-0.03300437642410180.038395-0.85960.3936780.196839







Multiple Linear Regression - Regression Statistics
Multiple R0.91626217604825
R-squared0.839536375256675
Adjusted R-squared0.80228589094126
F-TEST (value)22.5375962403061
F-TEST (DF numerator)13
F-TEST (DF denominator)56
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0607069438626921
Sum Squared Residuals0.206378649856291

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.91626217604825 \tabularnewline
R-squared & 0.839536375256675 \tabularnewline
Adjusted R-squared & 0.80228589094126 \tabularnewline
F-TEST (value) & 22.5375962403061 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 56 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.0607069438626921 \tabularnewline
Sum Squared Residuals & 0.206378649856291 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4661&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.91626217604825[/C][/ROW]
[ROW][C]R-squared[/C][C]0.839536375256675[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.80228589094126[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]22.5375962403061[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]56[/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]0.0607069438626921[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.206378649856291[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4661&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4661&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.91626217604825
R-squared0.839536375256675
Adjusted R-squared0.80228589094126
F-TEST (value)22.5375962403061
F-TEST (DF numerator)13
F-TEST (DF denominator)56
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0607069438626921
Sum Squared Residuals0.206378649856291







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.88330.969586864631072-0.0862868646310719
20.870.977077577892152-0.107077577892152
30.87580.978360638454397-0.102560638454397
40.88580.975756173121047-0.0899561731210474
50.9170.959385392967613-0.0423853929676134
60.95540.957082086911389-0.00168208691138883
70.99220.9591776215780390.0330223784219609
80.97780.956421009465590.0213789905344099
90.98080.964745106557970.0160548934420293
100.98110.9675462304454890.0135537695545112
111.00140.984619721808030.0167802781919713
121.01831.004020824979070.0142791750209292
131.06221.010294659840860.051905340159145
141.07731.007344860880210.0699551391197897
151.08070.9950246481893960.0856753518106045
161.08480.977456582277680.10734341772232
171.15821.16764483668332-0.00944483668332232
181.16631.164661366964440.00163863303555519
191.13721.16607673796844-0.0288767379684419
201.11391.16263996219334-0.04873996219334
211.12221.16348225899654-0.0412822589965376
221.16921.18396763811303-0.0147676381130334
231.17021.18675769255986-0.0165576925598607
241.22861.223162887297230.00543711270277254
251.26131.212432630592690.0488673694073131
261.26461.203021276836840.0615787231631612
271.22621.204984501061740.0212154989382632
281.19851.20374036305369-0.00524036305369301
291.20071.20403359263526-0.00333359263525694
301.21381.191527831639240.0222721683607622
311.22661.19634402095650.0302559790435001
321.21761.202429536458540.0151704635414604
331.22181.211433797213570.0103662027864267
341.2491.241441467607210.00755853239278926
351.29911.222806366680470.0762936333195309
361.34081.244588042670800.0962119573292035
371.31191.246100731894010.0657992681059902
381.30141.244171178427340.0572288215726554
391.32011.262798412387240.0573015876127594
401.29381.262234438041850.0315655619581502
411.26941.240422348587190.0289776514128082
421.21651.25070207029005-0.0342020702900477
431.20371.25347776861935-0.0497777686193508
441.22921.26194385694068-0.032743856940676
451.22561.27094811769571-0.0453481176957097
461.20151.27272899608925-0.0712289960892482
471.17861.26463643193363-0.0860364319336276
481.18561.3024019539963-0.116801953996300
491.21031.30833570702676-0.0980357070267583
501.19381.29484337129499-0.101043371294992
511.2021.29272561354397-0.0907256135439722
521.22711.31256654907817-0.0854665490781708
531.2771.30197716005729-0.0249771600572873
541.2651.29355238103719-0.0285523810371859
551.26841.30721069796894-0.0388106979689368
561.28111.29935285838659-0.0182528583865905
571.27271.27570926333428-0.00300926333428065
581.26111.27408932341455-0.0129893234145541
591.28811.278579787018010.00952021298198607
601.32131.320426291056600.000873708943395337
611.29991.282149406014620.0177505939853819
621.30741.288041734668460.0193582653315377
631.32421.295106186363260.0290938136367424
641.35161.309845894427560.041754105572441
651.35111.299936669069330.0511633309306717
661.34191.301374263157700.0405257368423049
671.37161.317413152908730.0541868470912684
681.36221.299012776555260.0631872234447362
691.38961.326381456201930.0632185437980718
701.42271.344826344330460.0778736556695352

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.8833 & 0.969586864631072 & -0.0862868646310719 \tabularnewline
2 & 0.87 & 0.977077577892152 & -0.107077577892152 \tabularnewline
3 & 0.8758 & 0.978360638454397 & -0.102560638454397 \tabularnewline
4 & 0.8858 & 0.975756173121047 & -0.0899561731210474 \tabularnewline
5 & 0.917 & 0.959385392967613 & -0.0423853929676134 \tabularnewline
6 & 0.9554 & 0.957082086911389 & -0.00168208691138883 \tabularnewline
7 & 0.9922 & 0.959177621578039 & 0.0330223784219609 \tabularnewline
8 & 0.9778 & 0.95642100946559 & 0.0213789905344099 \tabularnewline
9 & 0.9808 & 0.96474510655797 & 0.0160548934420293 \tabularnewline
10 & 0.9811 & 0.967546230445489 & 0.0135537695545112 \tabularnewline
11 & 1.0014 & 0.98461972180803 & 0.0167802781919713 \tabularnewline
12 & 1.0183 & 1.00402082497907 & 0.0142791750209292 \tabularnewline
13 & 1.0622 & 1.01029465984086 & 0.051905340159145 \tabularnewline
14 & 1.0773 & 1.00734486088021 & 0.0699551391197897 \tabularnewline
15 & 1.0807 & 0.995024648189396 & 0.0856753518106045 \tabularnewline
16 & 1.0848 & 0.97745658227768 & 0.10734341772232 \tabularnewline
17 & 1.1582 & 1.16764483668332 & -0.00944483668332232 \tabularnewline
18 & 1.1663 & 1.16466136696444 & 0.00163863303555519 \tabularnewline
19 & 1.1372 & 1.16607673796844 & -0.0288767379684419 \tabularnewline
20 & 1.1139 & 1.16263996219334 & -0.04873996219334 \tabularnewline
21 & 1.1222 & 1.16348225899654 & -0.0412822589965376 \tabularnewline
22 & 1.1692 & 1.18396763811303 & -0.0147676381130334 \tabularnewline
23 & 1.1702 & 1.18675769255986 & -0.0165576925598607 \tabularnewline
24 & 1.2286 & 1.22316288729723 & 0.00543711270277254 \tabularnewline
25 & 1.2613 & 1.21243263059269 & 0.0488673694073131 \tabularnewline
26 & 1.2646 & 1.20302127683684 & 0.0615787231631612 \tabularnewline
27 & 1.2262 & 1.20498450106174 & 0.0212154989382632 \tabularnewline
28 & 1.1985 & 1.20374036305369 & -0.00524036305369301 \tabularnewline
29 & 1.2007 & 1.20403359263526 & -0.00333359263525694 \tabularnewline
30 & 1.2138 & 1.19152783163924 & 0.0222721683607622 \tabularnewline
31 & 1.2266 & 1.1963440209565 & 0.0302559790435001 \tabularnewline
32 & 1.2176 & 1.20242953645854 & 0.0151704635414604 \tabularnewline
33 & 1.2218 & 1.21143379721357 & 0.0103662027864267 \tabularnewline
34 & 1.249 & 1.24144146760721 & 0.00755853239278926 \tabularnewline
35 & 1.2991 & 1.22280636668047 & 0.0762936333195309 \tabularnewline
36 & 1.3408 & 1.24458804267080 & 0.0962119573292035 \tabularnewline
37 & 1.3119 & 1.24610073189401 & 0.0657992681059902 \tabularnewline
38 & 1.3014 & 1.24417117842734 & 0.0572288215726554 \tabularnewline
39 & 1.3201 & 1.26279841238724 & 0.0573015876127594 \tabularnewline
40 & 1.2938 & 1.26223443804185 & 0.0315655619581502 \tabularnewline
41 & 1.2694 & 1.24042234858719 & 0.0289776514128082 \tabularnewline
42 & 1.2165 & 1.25070207029005 & -0.0342020702900477 \tabularnewline
43 & 1.2037 & 1.25347776861935 & -0.0497777686193508 \tabularnewline
44 & 1.2292 & 1.26194385694068 & -0.032743856940676 \tabularnewline
45 & 1.2256 & 1.27094811769571 & -0.0453481176957097 \tabularnewline
46 & 1.2015 & 1.27272899608925 & -0.0712289960892482 \tabularnewline
47 & 1.1786 & 1.26463643193363 & -0.0860364319336276 \tabularnewline
48 & 1.1856 & 1.3024019539963 & -0.116801953996300 \tabularnewline
49 & 1.2103 & 1.30833570702676 & -0.0980357070267583 \tabularnewline
50 & 1.1938 & 1.29484337129499 & -0.101043371294992 \tabularnewline
51 & 1.202 & 1.29272561354397 & -0.0907256135439722 \tabularnewline
52 & 1.2271 & 1.31256654907817 & -0.0854665490781708 \tabularnewline
53 & 1.277 & 1.30197716005729 & -0.0249771600572873 \tabularnewline
54 & 1.265 & 1.29355238103719 & -0.0285523810371859 \tabularnewline
55 & 1.2684 & 1.30721069796894 & -0.0388106979689368 \tabularnewline
56 & 1.2811 & 1.29935285838659 & -0.0182528583865905 \tabularnewline
57 & 1.2727 & 1.27570926333428 & -0.00300926333428065 \tabularnewline
58 & 1.2611 & 1.27408932341455 & -0.0129893234145541 \tabularnewline
59 & 1.2881 & 1.27857978701801 & 0.00952021298198607 \tabularnewline
60 & 1.3213 & 1.32042629105660 & 0.000873708943395337 \tabularnewline
61 & 1.2999 & 1.28214940601462 & 0.0177505939853819 \tabularnewline
62 & 1.3074 & 1.28804173466846 & 0.0193582653315377 \tabularnewline
63 & 1.3242 & 1.29510618636326 & 0.0290938136367424 \tabularnewline
64 & 1.3516 & 1.30984589442756 & 0.041754105572441 \tabularnewline
65 & 1.3511 & 1.29993666906933 & 0.0511633309306717 \tabularnewline
66 & 1.3419 & 1.30137426315770 & 0.0405257368423049 \tabularnewline
67 & 1.3716 & 1.31741315290873 & 0.0541868470912684 \tabularnewline
68 & 1.3622 & 1.29901277655526 & 0.0631872234447362 \tabularnewline
69 & 1.3896 & 1.32638145620193 & 0.0632185437980718 \tabularnewline
70 & 1.4227 & 1.34482634433046 & 0.0778736556695352 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4661&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]0.8833[/C][C]0.969586864631072[/C][C]-0.0862868646310719[/C][/ROW]
[ROW][C]2[/C][C]0.87[/C][C]0.977077577892152[/C][C]-0.107077577892152[/C][/ROW]
[ROW][C]3[/C][C]0.8758[/C][C]0.978360638454397[/C][C]-0.102560638454397[/C][/ROW]
[ROW][C]4[/C][C]0.8858[/C][C]0.975756173121047[/C][C]-0.0899561731210474[/C][/ROW]
[ROW][C]5[/C][C]0.917[/C][C]0.959385392967613[/C][C]-0.0423853929676134[/C][/ROW]
[ROW][C]6[/C][C]0.9554[/C][C]0.957082086911389[/C][C]-0.00168208691138883[/C][/ROW]
[ROW][C]7[/C][C]0.9922[/C][C]0.959177621578039[/C][C]0.0330223784219609[/C][/ROW]
[ROW][C]8[/C][C]0.9778[/C][C]0.95642100946559[/C][C]0.0213789905344099[/C][/ROW]
[ROW][C]9[/C][C]0.9808[/C][C]0.96474510655797[/C][C]0.0160548934420293[/C][/ROW]
[ROW][C]10[/C][C]0.9811[/C][C]0.967546230445489[/C][C]0.0135537695545112[/C][/ROW]
[ROW][C]11[/C][C]1.0014[/C][C]0.98461972180803[/C][C]0.0167802781919713[/C][/ROW]
[ROW][C]12[/C][C]1.0183[/C][C]1.00402082497907[/C][C]0.0142791750209292[/C][/ROW]
[ROW][C]13[/C][C]1.0622[/C][C]1.01029465984086[/C][C]0.051905340159145[/C][/ROW]
[ROW][C]14[/C][C]1.0773[/C][C]1.00734486088021[/C][C]0.0699551391197897[/C][/ROW]
[ROW][C]15[/C][C]1.0807[/C][C]0.995024648189396[/C][C]0.0856753518106045[/C][/ROW]
[ROW][C]16[/C][C]1.0848[/C][C]0.97745658227768[/C][C]0.10734341772232[/C][/ROW]
[ROW][C]17[/C][C]1.1582[/C][C]1.16764483668332[/C][C]-0.00944483668332232[/C][/ROW]
[ROW][C]18[/C][C]1.1663[/C][C]1.16466136696444[/C][C]0.00163863303555519[/C][/ROW]
[ROW][C]19[/C][C]1.1372[/C][C]1.16607673796844[/C][C]-0.0288767379684419[/C][/ROW]
[ROW][C]20[/C][C]1.1139[/C][C]1.16263996219334[/C][C]-0.04873996219334[/C][/ROW]
[ROW][C]21[/C][C]1.1222[/C][C]1.16348225899654[/C][C]-0.0412822589965376[/C][/ROW]
[ROW][C]22[/C][C]1.1692[/C][C]1.18396763811303[/C][C]-0.0147676381130334[/C][/ROW]
[ROW][C]23[/C][C]1.1702[/C][C]1.18675769255986[/C][C]-0.0165576925598607[/C][/ROW]
[ROW][C]24[/C][C]1.2286[/C][C]1.22316288729723[/C][C]0.00543711270277254[/C][/ROW]
[ROW][C]25[/C][C]1.2613[/C][C]1.21243263059269[/C][C]0.0488673694073131[/C][/ROW]
[ROW][C]26[/C][C]1.2646[/C][C]1.20302127683684[/C][C]0.0615787231631612[/C][/ROW]
[ROW][C]27[/C][C]1.2262[/C][C]1.20498450106174[/C][C]0.0212154989382632[/C][/ROW]
[ROW][C]28[/C][C]1.1985[/C][C]1.20374036305369[/C][C]-0.00524036305369301[/C][/ROW]
[ROW][C]29[/C][C]1.2007[/C][C]1.20403359263526[/C][C]-0.00333359263525694[/C][/ROW]
[ROW][C]30[/C][C]1.2138[/C][C]1.19152783163924[/C][C]0.0222721683607622[/C][/ROW]
[ROW][C]31[/C][C]1.2266[/C][C]1.1963440209565[/C][C]0.0302559790435001[/C][/ROW]
[ROW][C]32[/C][C]1.2176[/C][C]1.20242953645854[/C][C]0.0151704635414604[/C][/ROW]
[ROW][C]33[/C][C]1.2218[/C][C]1.21143379721357[/C][C]0.0103662027864267[/C][/ROW]
[ROW][C]34[/C][C]1.249[/C][C]1.24144146760721[/C][C]0.00755853239278926[/C][/ROW]
[ROW][C]35[/C][C]1.2991[/C][C]1.22280636668047[/C][C]0.0762936333195309[/C][/ROW]
[ROW][C]36[/C][C]1.3408[/C][C]1.24458804267080[/C][C]0.0962119573292035[/C][/ROW]
[ROW][C]37[/C][C]1.3119[/C][C]1.24610073189401[/C][C]0.0657992681059902[/C][/ROW]
[ROW][C]38[/C][C]1.3014[/C][C]1.24417117842734[/C][C]0.0572288215726554[/C][/ROW]
[ROW][C]39[/C][C]1.3201[/C][C]1.26279841238724[/C][C]0.0573015876127594[/C][/ROW]
[ROW][C]40[/C][C]1.2938[/C][C]1.26223443804185[/C][C]0.0315655619581502[/C][/ROW]
[ROW][C]41[/C][C]1.2694[/C][C]1.24042234858719[/C][C]0.0289776514128082[/C][/ROW]
[ROW][C]42[/C][C]1.2165[/C][C]1.25070207029005[/C][C]-0.0342020702900477[/C][/ROW]
[ROW][C]43[/C][C]1.2037[/C][C]1.25347776861935[/C][C]-0.0497777686193508[/C][/ROW]
[ROW][C]44[/C][C]1.2292[/C][C]1.26194385694068[/C][C]-0.032743856940676[/C][/ROW]
[ROW][C]45[/C][C]1.2256[/C][C]1.27094811769571[/C][C]-0.0453481176957097[/C][/ROW]
[ROW][C]46[/C][C]1.2015[/C][C]1.27272899608925[/C][C]-0.0712289960892482[/C][/ROW]
[ROW][C]47[/C][C]1.1786[/C][C]1.26463643193363[/C][C]-0.0860364319336276[/C][/ROW]
[ROW][C]48[/C][C]1.1856[/C][C]1.3024019539963[/C][C]-0.116801953996300[/C][/ROW]
[ROW][C]49[/C][C]1.2103[/C][C]1.30833570702676[/C][C]-0.0980357070267583[/C][/ROW]
[ROW][C]50[/C][C]1.1938[/C][C]1.29484337129499[/C][C]-0.101043371294992[/C][/ROW]
[ROW][C]51[/C][C]1.202[/C][C]1.29272561354397[/C][C]-0.0907256135439722[/C][/ROW]
[ROW][C]52[/C][C]1.2271[/C][C]1.31256654907817[/C][C]-0.0854665490781708[/C][/ROW]
[ROW][C]53[/C][C]1.277[/C][C]1.30197716005729[/C][C]-0.0249771600572873[/C][/ROW]
[ROW][C]54[/C][C]1.265[/C][C]1.29355238103719[/C][C]-0.0285523810371859[/C][/ROW]
[ROW][C]55[/C][C]1.2684[/C][C]1.30721069796894[/C][C]-0.0388106979689368[/C][/ROW]
[ROW][C]56[/C][C]1.2811[/C][C]1.29935285838659[/C][C]-0.0182528583865905[/C][/ROW]
[ROW][C]57[/C][C]1.2727[/C][C]1.27570926333428[/C][C]-0.00300926333428065[/C][/ROW]
[ROW][C]58[/C][C]1.2611[/C][C]1.27408932341455[/C][C]-0.0129893234145541[/C][/ROW]
[ROW][C]59[/C][C]1.2881[/C][C]1.27857978701801[/C][C]0.00952021298198607[/C][/ROW]
[ROW][C]60[/C][C]1.3213[/C][C]1.32042629105660[/C][C]0.000873708943395337[/C][/ROW]
[ROW][C]61[/C][C]1.2999[/C][C]1.28214940601462[/C][C]0.0177505939853819[/C][/ROW]
[ROW][C]62[/C][C]1.3074[/C][C]1.28804173466846[/C][C]0.0193582653315377[/C][/ROW]
[ROW][C]63[/C][C]1.3242[/C][C]1.29510618636326[/C][C]0.0290938136367424[/C][/ROW]
[ROW][C]64[/C][C]1.3516[/C][C]1.30984589442756[/C][C]0.041754105572441[/C][/ROW]
[ROW][C]65[/C][C]1.3511[/C][C]1.29993666906933[/C][C]0.0511633309306717[/C][/ROW]
[ROW][C]66[/C][C]1.3419[/C][C]1.30137426315770[/C][C]0.0405257368423049[/C][/ROW]
[ROW][C]67[/C][C]1.3716[/C][C]1.31741315290873[/C][C]0.0541868470912684[/C][/ROW]
[ROW][C]68[/C][C]1.3622[/C][C]1.29901277655526[/C][C]0.0631872234447362[/C][/ROW]
[ROW][C]69[/C][C]1.3896[/C][C]1.32638145620193[/C][C]0.0632185437980718[/C][/ROW]
[ROW][C]70[/C][C]1.4227[/C][C]1.34482634433046[/C][C]0.0778736556695352[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4661&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4661&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
10.88330.969586864631072-0.0862868646310719
20.870.977077577892152-0.107077577892152
30.87580.978360638454397-0.102560638454397
40.88580.975756173121047-0.0899561731210474
50.9170.959385392967613-0.0423853929676134
60.95540.957082086911389-0.00168208691138883
70.99220.9591776215780390.0330223784219609
80.97780.956421009465590.0213789905344099
90.98080.964745106557970.0160548934420293
100.98110.9675462304454890.0135537695545112
111.00140.984619721808030.0167802781919713
121.01831.004020824979070.0142791750209292
131.06221.010294659840860.051905340159145
141.07731.007344860880210.0699551391197897
151.08070.9950246481893960.0856753518106045
161.08480.977456582277680.10734341772232
171.15821.16764483668332-0.00944483668332232
181.16631.164661366964440.00163863303555519
191.13721.16607673796844-0.0288767379684419
201.11391.16263996219334-0.04873996219334
211.12221.16348225899654-0.0412822589965376
221.16921.18396763811303-0.0147676381130334
231.17021.18675769255986-0.0165576925598607
241.22861.223162887297230.00543711270277254
251.26131.212432630592690.0488673694073131
261.26461.203021276836840.0615787231631612
271.22621.204984501061740.0212154989382632
281.19851.20374036305369-0.00524036305369301
291.20071.20403359263526-0.00333359263525694
301.21381.191527831639240.0222721683607622
311.22661.19634402095650.0302559790435001
321.21761.202429536458540.0151704635414604
331.22181.211433797213570.0103662027864267
341.2491.241441467607210.00755853239278926
351.29911.222806366680470.0762936333195309
361.34081.244588042670800.0962119573292035
371.31191.246100731894010.0657992681059902
381.30141.244171178427340.0572288215726554
391.32011.262798412387240.0573015876127594
401.29381.262234438041850.0315655619581502
411.26941.240422348587190.0289776514128082
421.21651.25070207029005-0.0342020702900477
431.20371.25347776861935-0.0497777686193508
441.22921.26194385694068-0.032743856940676
451.22561.27094811769571-0.0453481176957097
461.20151.27272899608925-0.0712289960892482
471.17861.26463643193363-0.0860364319336276
481.18561.3024019539963-0.116801953996300
491.21031.30833570702676-0.0980357070267583
501.19381.29484337129499-0.101043371294992
511.2021.29272561354397-0.0907256135439722
521.22711.31256654907817-0.0854665490781708
531.2771.30197716005729-0.0249771600572873
541.2651.29355238103719-0.0285523810371859
551.26841.30721069796894-0.0388106979689368
561.28111.29935285838659-0.0182528583865905
571.27271.27570926333428-0.00300926333428065
581.26111.27408932341455-0.0129893234145541
591.28811.278579787018010.00952021298198607
601.32131.320426291056600.000873708943395337
611.29991.282149406014620.0177505939853819
621.30741.288041734668460.0193582653315377
631.32421.295106186363260.0290938136367424
641.35161.309845894427560.041754105572441
651.35111.299936669069330.0511633309306717
661.34191.301374263157700.0405257368423049
671.37161.317413152908730.0541868470912684
681.36221.299012776555260.0631872234447362
691.38961.326381456201930.0632185437980718
701.42271.344826344330460.0778736556695352



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