Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 13 Dec 2007 01:08:50 -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/13/t1197532433ae428haf5a6ws01.htm/, Retrieved Sun, 05 May 2024 09:52:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3288, Retrieved Sun, 05 May 2024 09:52:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsfredje
Estimated Impact227
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [dummy 3] [2007-12-13 08:08:50] [c40c597932a04e0e43159741c7e63e4c] [Current]
Feedback Forum

Post a new message
Dataseries X:
12398.4	0
13882.3	0
15861.5	0
13286.1	0
15634.9	0
14211	0
13646.8	0
12224.6	0
15916.4	0
16535.9	0
15796	0
14418.6	0
15044.5	0
14944.2	0
16754.8	0
14254	0
15454.9	0
15644.8	0
14568.3	0
12520.2	0
14803	0
15873.2	0
14755.3	0
12875.1	0
14291.1	1
14205.3	1
15859.4	1
15258.9	1
15498.6	1
14106.5	1
15023.6	1
12083	1
15761.3	1
16943	1
15070.3	1
13659.6	1
14768.9	1
14725.1	1
15998.1	1
15370.6	1
14956.9	1
15469.7	1
15101.8	1
11703.7	1
16283.6	1
16726.5	1
14968.9	1
14861	1
14583.3	1
15305.8	1
17903.9	1
16379.4	1
15420.3	1
17870.5	1
15912.8	1
13866.5	1
17823.2	1
17872	1
17420.4	1
16704.4	1
15991.2	1
16583.6	1
19123.5	1
17838.7	1
17209.4	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=3288&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=3288&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3288&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 12815.4593063584 -1141.77225433526x[t] + 414.909267822725M1[t] + 777.13304431599M2[t] + 2687.02348747591M3[t] + 1102.1805973025M4[t] + 1334.13770712909M5[t] + 1352.31734104046M6[t] + 676.551117533716M7[t] -1760.43510597303M8[t] + 1811.53867052023M9[t] + 2418.23244701349M10[t] + 1164.36622350674M11[t] + 65.9262235067438t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  12815.4593063584 -1141.77225433526x[t] +  414.909267822725M1[t] +  777.13304431599M2[t] +  2687.02348747591M3[t] +  1102.1805973025M4[t] +  1334.13770712909M5[t] +  1352.31734104046M6[t] +  676.551117533716M7[t] -1760.43510597303M8[t] +  1811.53867052023M9[t] +  2418.23244701349M10[t] +  1164.36622350674M11[t] +  65.9262235067438t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3288&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  12815.4593063584 -1141.77225433526x[t] +  414.909267822725M1[t] +  777.13304431599M2[t] +  2687.02348747591M3[t] +  1102.1805973025M4[t] +  1334.13770712909M5[t] +  1352.31734104046M6[t] +  676.551117533716M7[t] -1760.43510597303M8[t] +  1811.53867052023M9[t] +  2418.23244701349M10[t] +  1164.36622350674M11[t] +  65.9262235067438t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3288&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3288&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] = + 12815.4593063584 -1141.77225433526x[t] + 414.909267822725M1[t] + 777.13304431599M2[t] + 2687.02348747591M3[t] + 1102.1805973025M4[t] + 1334.13770712909M5[t] + 1352.31734104046M6[t] + 676.551117533716M7[t] -1760.43510597303M8[t] + 1811.53867052023M9[t] + 2418.23244701349M10[t] + 1164.36622350674M11[t] + 65.9262235067438t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)12815.4593063584373.43949934.317400
x-1141.77225433526346.35093-3.29660.0017860.000893
M1414.909267822725444.4263730.93360.3549180.177459
M2777.13304431599443.2274981.75340.0855510.042775
M32687.02348747591442.2056196.076400
M41102.1805973025441.3619672.49720.0157860.007893
M51334.13770712909440.6975643.02730.0038630.001931
M61352.31734104046462.2683032.92540.0051240.002562
M7676.551117533716461.3191821.46660.1486360.074318
M8-1760.43510597303460.541174-3.82250.0003610.00018
M91811.53867052023459.9351463.93870.000250.000125
M102418.23244701349459.501785.26273e-061e-06
M111164.36622350674459.2415642.53540.014340.00717
t65.92622350674388.9269577.385100

\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) & 12815.4593063584 & 373.439499 & 34.3174 & 0 & 0 \tabularnewline
x & -1141.77225433526 & 346.35093 & -3.2966 & 0.001786 & 0.000893 \tabularnewline
M1 & 414.909267822725 & 444.426373 & 0.9336 & 0.354918 & 0.177459 \tabularnewline
M2 & 777.13304431599 & 443.227498 & 1.7534 & 0.085551 & 0.042775 \tabularnewline
M3 & 2687.02348747591 & 442.205619 & 6.0764 & 0 & 0 \tabularnewline
M4 & 1102.1805973025 & 441.361967 & 2.4972 & 0.015786 & 0.007893 \tabularnewline
M5 & 1334.13770712909 & 440.697564 & 3.0273 & 0.003863 & 0.001931 \tabularnewline
M6 & 1352.31734104046 & 462.268303 & 2.9254 & 0.005124 & 0.002562 \tabularnewline
M7 & 676.551117533716 & 461.319182 & 1.4666 & 0.148636 & 0.074318 \tabularnewline
M8 & -1760.43510597303 & 460.541174 & -3.8225 & 0.000361 & 0.00018 \tabularnewline
M9 & 1811.53867052023 & 459.935146 & 3.9387 & 0.00025 & 0.000125 \tabularnewline
M10 & 2418.23244701349 & 459.50178 & 5.2627 & 3e-06 & 1e-06 \tabularnewline
M11 & 1164.36622350674 & 459.241564 & 2.5354 & 0.01434 & 0.00717 \tabularnewline
t & 65.9262235067438 & 8.926957 & 7.3851 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3288&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]12815.4593063584[/C][C]373.439499[/C][C]34.3174[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-1141.77225433526[/C][C]346.35093[/C][C]-3.2966[/C][C]0.001786[/C][C]0.000893[/C][/ROW]
[ROW][C]M1[/C][C]414.909267822725[/C][C]444.426373[/C][C]0.9336[/C][C]0.354918[/C][C]0.177459[/C][/ROW]
[ROW][C]M2[/C][C]777.13304431599[/C][C]443.227498[/C][C]1.7534[/C][C]0.085551[/C][C]0.042775[/C][/ROW]
[ROW][C]M3[/C][C]2687.02348747591[/C][C]442.205619[/C][C]6.0764[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]1102.1805973025[/C][C]441.361967[/C][C]2.4972[/C][C]0.015786[/C][C]0.007893[/C][/ROW]
[ROW][C]M5[/C][C]1334.13770712909[/C][C]440.697564[/C][C]3.0273[/C][C]0.003863[/C][C]0.001931[/C][/ROW]
[ROW][C]M6[/C][C]1352.31734104046[/C][C]462.268303[/C][C]2.9254[/C][C]0.005124[/C][C]0.002562[/C][/ROW]
[ROW][C]M7[/C][C]676.551117533716[/C][C]461.319182[/C][C]1.4666[/C][C]0.148636[/C][C]0.074318[/C][/ROW]
[ROW][C]M8[/C][C]-1760.43510597303[/C][C]460.541174[/C][C]-3.8225[/C][C]0.000361[/C][C]0.00018[/C][/ROW]
[ROW][C]M9[/C][C]1811.53867052023[/C][C]459.935146[/C][C]3.9387[/C][C]0.00025[/C][C]0.000125[/C][/ROW]
[ROW][C]M10[/C][C]2418.23244701349[/C][C]459.50178[/C][C]5.2627[/C][C]3e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M11[/C][C]1164.36622350674[/C][C]459.241564[/C][C]2.5354[/C][C]0.01434[/C][C]0.00717[/C][/ROW]
[ROW][C]t[/C][C]65.9262235067438[/C][C]8.926957[/C][C]7.3851[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3288&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3288&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)12815.4593063584373.43949934.317400
x-1141.77225433526346.35093-3.29660.0017860.000893
M1414.909267822725444.4263730.93360.3549180.177459
M2777.13304431599443.2274981.75340.0855510.042775
M32687.02348747591442.2056196.076400
M41102.1805973025441.3619672.49720.0157860.007893
M51334.13770712909440.6975643.02730.0038630.001931
M61352.31734104046462.2683032.92540.0051240.002562
M7676.551117533716461.3191821.46660.1486360.074318
M8-1760.43510597303460.541174-3.82250.0003610.00018
M91811.53867052023459.9351463.93870.000250.000125
M102418.23244701349459.501785.26273e-061e-06
M111164.36622350674459.2415642.53540.014340.00717
t65.92622350674388.9269577.385100







Multiple Linear Regression - Regression Statistics
Multiple R0.906748503016145
R-squared0.82219284772202
Adjusted R-squared0.776869455964888
F-TEST (value)18.1405851558459
F-TEST (DF numerator)13
F-TEST (DF denominator)51
p-value9.65894031423886e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation725.987471786154
Sum Squared Residuals26879948.2687130

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.906748503016145 \tabularnewline
R-squared & 0.82219284772202 \tabularnewline
Adjusted R-squared & 0.776869455964888 \tabularnewline
F-TEST (value) & 18.1405851558459 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 9.65894031423886e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 725.987471786154 \tabularnewline
Sum Squared Residuals & 26879948.2687130 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3288&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.906748503016145[/C][/ROW]
[ROW][C]R-squared[/C][C]0.82219284772202[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.776869455964888[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]18.1405851558459[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/C][/ROW]
[ROW][C]p-value[/C][C]9.65894031423886e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]725.987471786154[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]26879948.2687130[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3288&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3288&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.906748503016145
R-squared0.82219284772202
Adjusted R-squared0.776869455964888
F-TEST (value)18.1405851558459
F-TEST (DF numerator)13
F-TEST (DF denominator)51
p-value9.65894031423886e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation725.987471786154
Sum Squared Residuals26879948.2687130







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112398.413296.2947976879-897.894797687909
213882.313724.4447976879157.85520231214
315861.515700.2614643545161.238535645470
413286.114181.3447976879-895.244797687861
515634.914479.22813102121155.67186897881
61421114563.3339884393-352.333988439303
713646.813953.4939884393-306.693988439302
812224.611582.4339884393642.166011560695
915916.415220.3339884393696.066011560696
1016535.915892.9539884393642.946011560698
111579614705.01398843931090.98601156070
1214418.613606.5739884393812.026011560695
1315044.514087.4094797688957.090520231225
1414944.214515.5594797688428.640520231217
1516754.816491.3761464355263.423853564549
161425414972.4594797688-718.459479768784
1715454.915270.3428131021184.557186897881
1815644.815354.4486705202290.351329479769
1914568.314744.6086705202-176.308670520231
2012520.212373.5486705202146.651329479771
211480316011.4486705202-1208.44867052023
2215873.216684.0686705202-810.86867052023
2314755.315496.1286705202-740.82867052023
2412875.114397.6886705202-1522.58867052023
2514291.113736.7519075144554.34809248556
2614205.314164.901907514440.3980924855489
2715859.416140.7185741811-281.318574181116
2815258.914621.8019075145637.098092485549
2915498.614919.6852408478578.914759152215
3014106.515003.7910982659-897.291098265896
3115023.614393.9510982659629.648901734103
321208312022.891098265960.1089017341033
3315761.315660.7910982659100.508901734103
341694316333.4110982659609.588901734103
3515070.315145.4710982659-75.1710982658971
3613659.614047.0310982659-387.431098265898
3714768.914527.8665895954241.033410404633
3814725.114956.0165895954-230.916589595376
3915998.116931.8332562620-933.733256262041
4015370.615412.9165895954-42.3165895953756
4114956.915710.7999229287-753.899922928711
4215469.715794.9057803468-325.205780346821
4315101.815185.0657803468-83.2657803468231
4411703.712814.0057803468-1110.30578034682
4516283.616451.9057803468-168.305780346821
4616726.517124.5257803468-398.025780346822
4714968.915936.5857803468-967.685780346822
481486114838.145780346822.8542196531758
4914583.315318.9812716763-735.681271676292
5015305.815747.1312716763-441.331271676302
5117903.917722.9479383430180.952061657034
5216379.416204.0312716763175.368728323698
5315420.316501.9146050096-1081.61460500964
5417870.516586.02046242771284.47953757225
5515912.815976.1804624277-63.3804624277486
5613866.513605.1204624277261.379537572253
5717823.217243.0204624277580.179537572254
581787217915.6404624277-43.6404624277479
5917420.416727.7004624277692.699537572254
6016704.415629.26046242771075.13953757225
6115991.216110.0959537572-118.895953757216
6216583.616538.245953757245.3540462427719
6319123.518514.0626204239609.437379576107
6417838.716995.1459537572843.554046242774
6517209.417293.0292870906-83.6292870905593

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 12398.4 & 13296.2947976879 & -897.894797687909 \tabularnewline
2 & 13882.3 & 13724.4447976879 & 157.85520231214 \tabularnewline
3 & 15861.5 & 15700.2614643545 & 161.238535645470 \tabularnewline
4 & 13286.1 & 14181.3447976879 & -895.244797687861 \tabularnewline
5 & 15634.9 & 14479.2281310212 & 1155.67186897881 \tabularnewline
6 & 14211 & 14563.3339884393 & -352.333988439303 \tabularnewline
7 & 13646.8 & 13953.4939884393 & -306.693988439302 \tabularnewline
8 & 12224.6 & 11582.4339884393 & 642.166011560695 \tabularnewline
9 & 15916.4 & 15220.3339884393 & 696.066011560696 \tabularnewline
10 & 16535.9 & 15892.9539884393 & 642.946011560698 \tabularnewline
11 & 15796 & 14705.0139884393 & 1090.98601156070 \tabularnewline
12 & 14418.6 & 13606.5739884393 & 812.026011560695 \tabularnewline
13 & 15044.5 & 14087.4094797688 & 957.090520231225 \tabularnewline
14 & 14944.2 & 14515.5594797688 & 428.640520231217 \tabularnewline
15 & 16754.8 & 16491.3761464355 & 263.423853564549 \tabularnewline
16 & 14254 & 14972.4594797688 & -718.459479768784 \tabularnewline
17 & 15454.9 & 15270.3428131021 & 184.557186897881 \tabularnewline
18 & 15644.8 & 15354.4486705202 & 290.351329479769 \tabularnewline
19 & 14568.3 & 14744.6086705202 & -176.308670520231 \tabularnewline
20 & 12520.2 & 12373.5486705202 & 146.651329479771 \tabularnewline
21 & 14803 & 16011.4486705202 & -1208.44867052023 \tabularnewline
22 & 15873.2 & 16684.0686705202 & -810.86867052023 \tabularnewline
23 & 14755.3 & 15496.1286705202 & -740.82867052023 \tabularnewline
24 & 12875.1 & 14397.6886705202 & -1522.58867052023 \tabularnewline
25 & 14291.1 & 13736.7519075144 & 554.34809248556 \tabularnewline
26 & 14205.3 & 14164.9019075144 & 40.3980924855489 \tabularnewline
27 & 15859.4 & 16140.7185741811 & -281.318574181116 \tabularnewline
28 & 15258.9 & 14621.8019075145 & 637.098092485549 \tabularnewline
29 & 15498.6 & 14919.6852408478 & 578.914759152215 \tabularnewline
30 & 14106.5 & 15003.7910982659 & -897.291098265896 \tabularnewline
31 & 15023.6 & 14393.9510982659 & 629.648901734103 \tabularnewline
32 & 12083 & 12022.8910982659 & 60.1089017341033 \tabularnewline
33 & 15761.3 & 15660.7910982659 & 100.508901734103 \tabularnewline
34 & 16943 & 16333.4110982659 & 609.588901734103 \tabularnewline
35 & 15070.3 & 15145.4710982659 & -75.1710982658971 \tabularnewline
36 & 13659.6 & 14047.0310982659 & -387.431098265898 \tabularnewline
37 & 14768.9 & 14527.8665895954 & 241.033410404633 \tabularnewline
38 & 14725.1 & 14956.0165895954 & -230.916589595376 \tabularnewline
39 & 15998.1 & 16931.8332562620 & -933.733256262041 \tabularnewline
40 & 15370.6 & 15412.9165895954 & -42.3165895953756 \tabularnewline
41 & 14956.9 & 15710.7999229287 & -753.899922928711 \tabularnewline
42 & 15469.7 & 15794.9057803468 & -325.205780346821 \tabularnewline
43 & 15101.8 & 15185.0657803468 & -83.2657803468231 \tabularnewline
44 & 11703.7 & 12814.0057803468 & -1110.30578034682 \tabularnewline
45 & 16283.6 & 16451.9057803468 & -168.305780346821 \tabularnewline
46 & 16726.5 & 17124.5257803468 & -398.025780346822 \tabularnewline
47 & 14968.9 & 15936.5857803468 & -967.685780346822 \tabularnewline
48 & 14861 & 14838.1457803468 & 22.8542196531758 \tabularnewline
49 & 14583.3 & 15318.9812716763 & -735.681271676292 \tabularnewline
50 & 15305.8 & 15747.1312716763 & -441.331271676302 \tabularnewline
51 & 17903.9 & 17722.9479383430 & 180.952061657034 \tabularnewline
52 & 16379.4 & 16204.0312716763 & 175.368728323698 \tabularnewline
53 & 15420.3 & 16501.9146050096 & -1081.61460500964 \tabularnewline
54 & 17870.5 & 16586.0204624277 & 1284.47953757225 \tabularnewline
55 & 15912.8 & 15976.1804624277 & -63.3804624277486 \tabularnewline
56 & 13866.5 & 13605.1204624277 & 261.379537572253 \tabularnewline
57 & 17823.2 & 17243.0204624277 & 580.179537572254 \tabularnewline
58 & 17872 & 17915.6404624277 & -43.6404624277479 \tabularnewline
59 & 17420.4 & 16727.7004624277 & 692.699537572254 \tabularnewline
60 & 16704.4 & 15629.2604624277 & 1075.13953757225 \tabularnewline
61 & 15991.2 & 16110.0959537572 & -118.895953757216 \tabularnewline
62 & 16583.6 & 16538.2459537572 & 45.3540462427719 \tabularnewline
63 & 19123.5 & 18514.0626204239 & 609.437379576107 \tabularnewline
64 & 17838.7 & 16995.1459537572 & 843.554046242774 \tabularnewline
65 & 17209.4 & 17293.0292870906 & -83.6292870905593 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3288&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]12398.4[/C][C]13296.2947976879[/C][C]-897.894797687909[/C][/ROW]
[ROW][C]2[/C][C]13882.3[/C][C]13724.4447976879[/C][C]157.85520231214[/C][/ROW]
[ROW][C]3[/C][C]15861.5[/C][C]15700.2614643545[/C][C]161.238535645470[/C][/ROW]
[ROW][C]4[/C][C]13286.1[/C][C]14181.3447976879[/C][C]-895.244797687861[/C][/ROW]
[ROW][C]5[/C][C]15634.9[/C][C]14479.2281310212[/C][C]1155.67186897881[/C][/ROW]
[ROW][C]6[/C][C]14211[/C][C]14563.3339884393[/C][C]-352.333988439303[/C][/ROW]
[ROW][C]7[/C][C]13646.8[/C][C]13953.4939884393[/C][C]-306.693988439302[/C][/ROW]
[ROW][C]8[/C][C]12224.6[/C][C]11582.4339884393[/C][C]642.166011560695[/C][/ROW]
[ROW][C]9[/C][C]15916.4[/C][C]15220.3339884393[/C][C]696.066011560696[/C][/ROW]
[ROW][C]10[/C][C]16535.9[/C][C]15892.9539884393[/C][C]642.946011560698[/C][/ROW]
[ROW][C]11[/C][C]15796[/C][C]14705.0139884393[/C][C]1090.98601156070[/C][/ROW]
[ROW][C]12[/C][C]14418.6[/C][C]13606.5739884393[/C][C]812.026011560695[/C][/ROW]
[ROW][C]13[/C][C]15044.5[/C][C]14087.4094797688[/C][C]957.090520231225[/C][/ROW]
[ROW][C]14[/C][C]14944.2[/C][C]14515.5594797688[/C][C]428.640520231217[/C][/ROW]
[ROW][C]15[/C][C]16754.8[/C][C]16491.3761464355[/C][C]263.423853564549[/C][/ROW]
[ROW][C]16[/C][C]14254[/C][C]14972.4594797688[/C][C]-718.459479768784[/C][/ROW]
[ROW][C]17[/C][C]15454.9[/C][C]15270.3428131021[/C][C]184.557186897881[/C][/ROW]
[ROW][C]18[/C][C]15644.8[/C][C]15354.4486705202[/C][C]290.351329479769[/C][/ROW]
[ROW][C]19[/C][C]14568.3[/C][C]14744.6086705202[/C][C]-176.308670520231[/C][/ROW]
[ROW][C]20[/C][C]12520.2[/C][C]12373.5486705202[/C][C]146.651329479771[/C][/ROW]
[ROW][C]21[/C][C]14803[/C][C]16011.4486705202[/C][C]-1208.44867052023[/C][/ROW]
[ROW][C]22[/C][C]15873.2[/C][C]16684.0686705202[/C][C]-810.86867052023[/C][/ROW]
[ROW][C]23[/C][C]14755.3[/C][C]15496.1286705202[/C][C]-740.82867052023[/C][/ROW]
[ROW][C]24[/C][C]12875.1[/C][C]14397.6886705202[/C][C]-1522.58867052023[/C][/ROW]
[ROW][C]25[/C][C]14291.1[/C][C]13736.7519075144[/C][C]554.34809248556[/C][/ROW]
[ROW][C]26[/C][C]14205.3[/C][C]14164.9019075144[/C][C]40.3980924855489[/C][/ROW]
[ROW][C]27[/C][C]15859.4[/C][C]16140.7185741811[/C][C]-281.318574181116[/C][/ROW]
[ROW][C]28[/C][C]15258.9[/C][C]14621.8019075145[/C][C]637.098092485549[/C][/ROW]
[ROW][C]29[/C][C]15498.6[/C][C]14919.6852408478[/C][C]578.914759152215[/C][/ROW]
[ROW][C]30[/C][C]14106.5[/C][C]15003.7910982659[/C][C]-897.291098265896[/C][/ROW]
[ROW][C]31[/C][C]15023.6[/C][C]14393.9510982659[/C][C]629.648901734103[/C][/ROW]
[ROW][C]32[/C][C]12083[/C][C]12022.8910982659[/C][C]60.1089017341033[/C][/ROW]
[ROW][C]33[/C][C]15761.3[/C][C]15660.7910982659[/C][C]100.508901734103[/C][/ROW]
[ROW][C]34[/C][C]16943[/C][C]16333.4110982659[/C][C]609.588901734103[/C][/ROW]
[ROW][C]35[/C][C]15070.3[/C][C]15145.4710982659[/C][C]-75.1710982658971[/C][/ROW]
[ROW][C]36[/C][C]13659.6[/C][C]14047.0310982659[/C][C]-387.431098265898[/C][/ROW]
[ROW][C]37[/C][C]14768.9[/C][C]14527.8665895954[/C][C]241.033410404633[/C][/ROW]
[ROW][C]38[/C][C]14725.1[/C][C]14956.0165895954[/C][C]-230.916589595376[/C][/ROW]
[ROW][C]39[/C][C]15998.1[/C][C]16931.8332562620[/C][C]-933.733256262041[/C][/ROW]
[ROW][C]40[/C][C]15370.6[/C][C]15412.9165895954[/C][C]-42.3165895953756[/C][/ROW]
[ROW][C]41[/C][C]14956.9[/C][C]15710.7999229287[/C][C]-753.899922928711[/C][/ROW]
[ROW][C]42[/C][C]15469.7[/C][C]15794.9057803468[/C][C]-325.205780346821[/C][/ROW]
[ROW][C]43[/C][C]15101.8[/C][C]15185.0657803468[/C][C]-83.2657803468231[/C][/ROW]
[ROW][C]44[/C][C]11703.7[/C][C]12814.0057803468[/C][C]-1110.30578034682[/C][/ROW]
[ROW][C]45[/C][C]16283.6[/C][C]16451.9057803468[/C][C]-168.305780346821[/C][/ROW]
[ROW][C]46[/C][C]16726.5[/C][C]17124.5257803468[/C][C]-398.025780346822[/C][/ROW]
[ROW][C]47[/C][C]14968.9[/C][C]15936.5857803468[/C][C]-967.685780346822[/C][/ROW]
[ROW][C]48[/C][C]14861[/C][C]14838.1457803468[/C][C]22.8542196531758[/C][/ROW]
[ROW][C]49[/C][C]14583.3[/C][C]15318.9812716763[/C][C]-735.681271676292[/C][/ROW]
[ROW][C]50[/C][C]15305.8[/C][C]15747.1312716763[/C][C]-441.331271676302[/C][/ROW]
[ROW][C]51[/C][C]17903.9[/C][C]17722.9479383430[/C][C]180.952061657034[/C][/ROW]
[ROW][C]52[/C][C]16379.4[/C][C]16204.0312716763[/C][C]175.368728323698[/C][/ROW]
[ROW][C]53[/C][C]15420.3[/C][C]16501.9146050096[/C][C]-1081.61460500964[/C][/ROW]
[ROW][C]54[/C][C]17870.5[/C][C]16586.0204624277[/C][C]1284.47953757225[/C][/ROW]
[ROW][C]55[/C][C]15912.8[/C][C]15976.1804624277[/C][C]-63.3804624277486[/C][/ROW]
[ROW][C]56[/C][C]13866.5[/C][C]13605.1204624277[/C][C]261.379537572253[/C][/ROW]
[ROW][C]57[/C][C]17823.2[/C][C]17243.0204624277[/C][C]580.179537572254[/C][/ROW]
[ROW][C]58[/C][C]17872[/C][C]17915.6404624277[/C][C]-43.6404624277479[/C][/ROW]
[ROW][C]59[/C][C]17420.4[/C][C]16727.7004624277[/C][C]692.699537572254[/C][/ROW]
[ROW][C]60[/C][C]16704.4[/C][C]15629.2604624277[/C][C]1075.13953757225[/C][/ROW]
[ROW][C]61[/C][C]15991.2[/C][C]16110.0959537572[/C][C]-118.895953757216[/C][/ROW]
[ROW][C]62[/C][C]16583.6[/C][C]16538.2459537572[/C][C]45.3540462427719[/C][/ROW]
[ROW][C]63[/C][C]19123.5[/C][C]18514.0626204239[/C][C]609.437379576107[/C][/ROW]
[ROW][C]64[/C][C]17838.7[/C][C]16995.1459537572[/C][C]843.554046242774[/C][/ROW]
[ROW][C]65[/C][C]17209.4[/C][C]17293.0292870906[/C][C]-83.6292870905593[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3288&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3288&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
112398.413296.2947976879-897.894797687909
213882.313724.4447976879157.85520231214
315861.515700.2614643545161.238535645470
413286.114181.3447976879-895.244797687861
515634.914479.22813102121155.67186897881
61421114563.3339884393-352.333988439303
713646.813953.4939884393-306.693988439302
812224.611582.4339884393642.166011560695
915916.415220.3339884393696.066011560696
1016535.915892.9539884393642.946011560698
111579614705.01398843931090.98601156070
1214418.613606.5739884393812.026011560695
1315044.514087.4094797688957.090520231225
1414944.214515.5594797688428.640520231217
1516754.816491.3761464355263.423853564549
161425414972.4594797688-718.459479768784
1715454.915270.3428131021184.557186897881
1815644.815354.4486705202290.351329479769
1914568.314744.6086705202-176.308670520231
2012520.212373.5486705202146.651329479771
211480316011.4486705202-1208.44867052023
2215873.216684.0686705202-810.86867052023
2314755.315496.1286705202-740.82867052023
2412875.114397.6886705202-1522.58867052023
2514291.113736.7519075144554.34809248556
2614205.314164.901907514440.3980924855489
2715859.416140.7185741811-281.318574181116
2815258.914621.8019075145637.098092485549
2915498.614919.6852408478578.914759152215
3014106.515003.7910982659-897.291098265896
3115023.614393.9510982659629.648901734103
321208312022.891098265960.1089017341033
3315761.315660.7910982659100.508901734103
341694316333.4110982659609.588901734103
3515070.315145.4710982659-75.1710982658971
3613659.614047.0310982659-387.431098265898
3714768.914527.8665895954241.033410404633
3814725.114956.0165895954-230.916589595376
3915998.116931.8332562620-933.733256262041
4015370.615412.9165895954-42.3165895953756
4114956.915710.7999229287-753.899922928711
4215469.715794.9057803468-325.205780346821
4315101.815185.0657803468-83.2657803468231
4411703.712814.0057803468-1110.30578034682
4516283.616451.9057803468-168.305780346821
4616726.517124.5257803468-398.025780346822
4714968.915936.5857803468-967.685780346822
481486114838.145780346822.8542196531758
4914583.315318.9812716763-735.681271676292
5015305.815747.1312716763-441.331271676302
5117903.917722.9479383430180.952061657034
5216379.416204.0312716763175.368728323698
5315420.316501.9146050096-1081.61460500964
5417870.516586.02046242771284.47953757225
5515912.815976.1804624277-63.3804624277486
5613866.513605.1204624277261.379537572253
5717823.217243.0204624277580.179537572254
581787217915.6404624277-43.6404624277479
5917420.416727.7004624277692.699537572254
6016704.415629.26046242771075.13953757225
6115991.216110.0959537572-118.895953757216
6216583.616538.245953757245.3540462427719
6319123.518514.0626204239609.437379576107
6417838.716995.1459537572843.554046242774
6517209.417293.0292870906-83.6292870905593



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