Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 23 Nov 2008 05:07:59 -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/2008/Nov/23/t1227442175u5eddhk5j4pey8a.htm/, Retrieved Sun, 19 May 2024 10:43:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25224, Retrieved Sun, 19 May 2024 10:43:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact205
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
F    D  [Multiple Regression] [The Seatbelt Law ...] [2008-11-19 13:41:18] [a57f5cc542637534b8bb5bcb4d37eab1]
-    D      [Multiple Regression] [The Seatbelt Law ...] [2008-11-23 12:07:59] [0f30549460cf4ec26d9cf94b1fcf7789] [Current]
Feedback Forum

Post a new message
Dataseries X:
106,60
106,80
107,00
107,10
107,30
107,40
107,60
107,70
107,90
108,20
108,30
108,50
108,92
109,23
109,41
109,65
109,91
110,01
110,20
110,49
110,57
110,72
110,94
111,09
111,28
111,41
111,62
111,76
111,89
112,04
112,12
112,30
112,47
112,59
112,78
112,73
112,99
113,10
113,33
113,38
113,68
113,65
113,81
113,88
114,02
114,25
114,28
114,38
114,73
114,97
115,05
115,29
115,37
115,54
115,76
115,92
116,02
116,21
116,26
116,51




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 6 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=25224&T=0

[TABLE]
[ROW][C]Summary of computational 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]6 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=25224&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25224&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 computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 106.69025 + 0.0805902777777558M1[t] + 0.113263888888887M2[t] + 0.127937499999999M3[t] + 0.116611111111112M4[t] + 0.145284722222223M5[t] + 0.0779583333333382M6[t] + 0.0826319444444455M7[t] + 0.0773055555555525M8[t] + 0.0499791666666631M9[t] + 0.0826527777777762M10[t] + 0.0353263888888877M11[t] + 0.165326388888889t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  106.69025 +  0.0805902777777558M1[t] +  0.113263888888887M2[t] +  0.127937499999999M3[t] +  0.116611111111112M4[t] +  0.145284722222223M5[t] +  0.0779583333333382M6[t] +  0.0826319444444455M7[t] +  0.0773055555555525M8[t] +  0.0499791666666631M9[t] +  0.0826527777777762M10[t] +  0.0353263888888877M11[t] +  0.165326388888889t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25224&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  106.69025 +  0.0805902777777558M1[t] +  0.113263888888887M2[t] +  0.127937499999999M3[t] +  0.116611111111112M4[t] +  0.145284722222223M5[t] +  0.0779583333333382M6[t] +  0.0826319444444455M7[t] +  0.0773055555555525M8[t] +  0.0499791666666631M9[t] +  0.0826527777777762M10[t] +  0.0353263888888877M11[t] +  0.165326388888889t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25224&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25224&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] = + 106.69025 + 0.0805902777777558M1[t] + 0.113263888888887M2[t] + 0.127937499999999M3[t] + 0.116611111111112M4[t] + 0.145284722222223M5[t] + 0.0779583333333382M6[t] + 0.0826319444444455M7[t] + 0.0773055555555525M8[t] + 0.0499791666666631M9[t] + 0.0826527777777762M10[t] + 0.0353263888888877M11[t] + 0.165326388888889t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)106.690250.146726727.141400
M10.08059027777775580.17850.45150.6537160.326858
M20.1132638888888870.1782330.63550.5281970.264098
M30.1279374999999990.1779920.71880.4758320.237916
M40.1166111111111120.1777750.65590.5150560.257528
M50.1452847222222230.1775840.81810.4174180.208709
M60.07795833333333820.1774180.43940.6623820.331191
M70.08263194444444550.1772770.46610.6432850.321643
M80.07730555555555250.1771620.43640.6645780.332289
M90.04997916666666310.1770730.28230.778990.389495
M100.08265277777777620.1770090.46690.6426990.32135
M110.03532638888888770.1769710.19960.8426410.42132
t0.1653263888888890.00212877.673800

\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) & 106.69025 & 0.146726 & 727.1414 & 0 & 0 \tabularnewline
M1 & 0.0805902777777558 & 0.1785 & 0.4515 & 0.653716 & 0.326858 \tabularnewline
M2 & 0.113263888888887 & 0.178233 & 0.6355 & 0.528197 & 0.264098 \tabularnewline
M3 & 0.127937499999999 & 0.177992 & 0.7188 & 0.475832 & 0.237916 \tabularnewline
M4 & 0.116611111111112 & 0.177775 & 0.6559 & 0.515056 & 0.257528 \tabularnewline
M5 & 0.145284722222223 & 0.177584 & 0.8181 & 0.417418 & 0.208709 \tabularnewline
M6 & 0.0779583333333382 & 0.177418 & 0.4394 & 0.662382 & 0.331191 \tabularnewline
M7 & 0.0826319444444455 & 0.177277 & 0.4661 & 0.643285 & 0.321643 \tabularnewline
M8 & 0.0773055555555525 & 0.177162 & 0.4364 & 0.664578 & 0.332289 \tabularnewline
M9 & 0.0499791666666631 & 0.177073 & 0.2823 & 0.77899 & 0.389495 \tabularnewline
M10 & 0.0826527777777762 & 0.177009 & 0.4669 & 0.642699 & 0.32135 \tabularnewline
M11 & 0.0353263888888877 & 0.176971 & 0.1996 & 0.842641 & 0.42132 \tabularnewline
t & 0.165326388888889 & 0.002128 & 77.6738 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25224&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]106.69025[/C][C]0.146726[/C][C]727.1414[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.0805902777777558[/C][C]0.1785[/C][C]0.4515[/C][C]0.653716[/C][C]0.326858[/C][/ROW]
[ROW][C]M2[/C][C]0.113263888888887[/C][C]0.178233[/C][C]0.6355[/C][C]0.528197[/C][C]0.264098[/C][/ROW]
[ROW][C]M3[/C][C]0.127937499999999[/C][C]0.177992[/C][C]0.7188[/C][C]0.475832[/C][C]0.237916[/C][/ROW]
[ROW][C]M4[/C][C]0.116611111111112[/C][C]0.177775[/C][C]0.6559[/C][C]0.515056[/C][C]0.257528[/C][/ROW]
[ROW][C]M5[/C][C]0.145284722222223[/C][C]0.177584[/C][C]0.8181[/C][C]0.417418[/C][C]0.208709[/C][/ROW]
[ROW][C]M6[/C][C]0.0779583333333382[/C][C]0.177418[/C][C]0.4394[/C][C]0.662382[/C][C]0.331191[/C][/ROW]
[ROW][C]M7[/C][C]0.0826319444444455[/C][C]0.177277[/C][C]0.4661[/C][C]0.643285[/C][C]0.321643[/C][/ROW]
[ROW][C]M8[/C][C]0.0773055555555525[/C][C]0.177162[/C][C]0.4364[/C][C]0.664578[/C][C]0.332289[/C][/ROW]
[ROW][C]M9[/C][C]0.0499791666666631[/C][C]0.177073[/C][C]0.2823[/C][C]0.77899[/C][C]0.389495[/C][/ROW]
[ROW][C]M10[/C][C]0.0826527777777762[/C][C]0.177009[/C][C]0.4669[/C][C]0.642699[/C][C]0.32135[/C][/ROW]
[ROW][C]M11[/C][C]0.0353263888888877[/C][C]0.176971[/C][C]0.1996[/C][C]0.842641[/C][C]0.42132[/C][/ROW]
[ROW][C]t[/C][C]0.165326388888889[/C][C]0.002128[/C][C]77.6738[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25224&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25224&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)106.690250.146726727.141400
M10.08059027777775580.17850.45150.6537160.326858
M20.1132638888888870.1782330.63550.5281970.264098
M30.1279374999999990.1779920.71880.4758320.237916
M40.1166111111111120.1777750.65590.5150560.257528
M50.1452847222222230.1775840.81810.4174180.208709
M60.07795833333333820.1774180.43940.6623820.331191
M70.08263194444444550.1772770.46610.6432850.321643
M80.07730555555555250.1771620.43640.6645780.332289
M90.04997916666666310.1770730.28230.778990.389495
M100.08265277777777620.1770090.46690.6426990.32135
M110.03532638888888770.1769710.19960.8426410.42132
t0.1653263888888890.00212877.673800







Multiple Linear Regression - Regression Statistics
Multiple R0.996265997226037
R-squared0.992545937228791
Adjusted R-squared0.99064277226593
F-TEST (value)521.52385977948
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.279794725919707
Sum Squared Residuals3.67939916666675

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.996265997226037 \tabularnewline
R-squared & 0.992545937228791 \tabularnewline
Adjusted R-squared & 0.99064277226593 \tabularnewline
F-TEST (value) & 521.52385977948 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.279794725919707 \tabularnewline
Sum Squared Residuals & 3.67939916666675 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25224&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.996265997226037[/C][/ROW]
[ROW][C]R-squared[/C][C]0.992545937228791[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.99064277226593[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]521.52385977948[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/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.279794725919707[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3.67939916666675[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25224&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25224&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.996265997226037
R-squared0.992545937228791
Adjusted R-squared0.99064277226593
F-TEST (value)521.52385977948
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.279794725919707
Sum Squared Residuals3.67939916666675







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1106.6106.936166666667-0.336166666666753
2106.8107.134166666667-0.334166666666665
3107107.314166666667-0.314166666666663
4107.1107.468166666667-0.36816666666667
5107.3107.662166666667-0.362166666666666
6107.4107.760166666667-0.360166666666663
7107.6107.930166666667-0.33016666666667
8107.7108.090166666667-0.390166666666657
9107.9108.228166666667-0.328166666666654
10108.2108.426166666667-0.226166666666658
11108.3108.544166666667-0.244166666666665
12108.5108.674166666667-0.174166666666663
13108.92108.920083333333-8.33333333072222e-05
14109.23109.1180833333330.111916666666674
15109.41109.2980833333330.111916666666667
16109.65109.4520833333330.197916666666674
17109.91109.6460833333330.263916666666664
18110.01109.7440833333330.265916666666668
19110.2109.9140833333330.285916666666669
20110.49110.0740833333330.415916666666665
21110.57110.2120833333330.357916666666663
22110.72110.4100833333330.309916666666667
23110.94110.5280833333330.411916666666666
24111.09110.6580833333330.43191666666667
25111.28110.9040.376000000000023
26111.41111.1020.307999999999999
27111.62111.2820.338000000000005
28111.76111.4360.324000000000004
29111.89111.630.26
30112.04111.7280.312000000000000
31112.12111.8980.222000000000002
32112.3112.0580.241999999999998
33112.47112.1960.274
34112.59112.3940.196000000000004
35112.78112.5120.268000000000001
36112.73112.6420.0880000000000035
37112.99112.8879166666670.102083333333349
38113.1113.0859166666670.0140833333333279
39113.33113.2659166666670.0640833333333307
40113.38113.419916666667-0.0399166666666738
41113.68113.6139166666670.0660833333333379
42113.65113.711916666667-0.0619166666666684
43113.81113.881916666667-0.0719166666666679
44113.88114.041916666667-0.161916666666670
45114.02114.179916666667-0.159916666666670
46114.25114.377916666667-0.127916666666667
47114.28114.495916666667-0.215916666666667
48114.38114.625916666667-0.245916666666674
49114.73114.871833333333-0.141833333333312
50114.97115.069833333333-0.0998333333333364
51115.05115.249833333333-0.19983333333334
52115.29115.403833333333-0.113833333333334
53115.37115.597833333333-0.227833333333335
54115.54115.695833333333-0.155833333333337
55115.76115.865833333333-0.105833333333334
56115.92116.025833333333-0.105833333333336
57116.02116.163833333333-0.143833333333339
58116.21116.361833333333-0.151833333333345
59116.26116.479833333333-0.219833333333336
60116.51116.609833333333-0.0998333333333365

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 106.6 & 106.936166666667 & -0.336166666666753 \tabularnewline
2 & 106.8 & 107.134166666667 & -0.334166666666665 \tabularnewline
3 & 107 & 107.314166666667 & -0.314166666666663 \tabularnewline
4 & 107.1 & 107.468166666667 & -0.36816666666667 \tabularnewline
5 & 107.3 & 107.662166666667 & -0.362166666666666 \tabularnewline
6 & 107.4 & 107.760166666667 & -0.360166666666663 \tabularnewline
7 & 107.6 & 107.930166666667 & -0.33016666666667 \tabularnewline
8 & 107.7 & 108.090166666667 & -0.390166666666657 \tabularnewline
9 & 107.9 & 108.228166666667 & -0.328166666666654 \tabularnewline
10 & 108.2 & 108.426166666667 & -0.226166666666658 \tabularnewline
11 & 108.3 & 108.544166666667 & -0.244166666666665 \tabularnewline
12 & 108.5 & 108.674166666667 & -0.174166666666663 \tabularnewline
13 & 108.92 & 108.920083333333 & -8.33333333072222e-05 \tabularnewline
14 & 109.23 & 109.118083333333 & 0.111916666666674 \tabularnewline
15 & 109.41 & 109.298083333333 & 0.111916666666667 \tabularnewline
16 & 109.65 & 109.452083333333 & 0.197916666666674 \tabularnewline
17 & 109.91 & 109.646083333333 & 0.263916666666664 \tabularnewline
18 & 110.01 & 109.744083333333 & 0.265916666666668 \tabularnewline
19 & 110.2 & 109.914083333333 & 0.285916666666669 \tabularnewline
20 & 110.49 & 110.074083333333 & 0.415916666666665 \tabularnewline
21 & 110.57 & 110.212083333333 & 0.357916666666663 \tabularnewline
22 & 110.72 & 110.410083333333 & 0.309916666666667 \tabularnewline
23 & 110.94 & 110.528083333333 & 0.411916666666666 \tabularnewline
24 & 111.09 & 110.658083333333 & 0.43191666666667 \tabularnewline
25 & 111.28 & 110.904 & 0.376000000000023 \tabularnewline
26 & 111.41 & 111.102 & 0.307999999999999 \tabularnewline
27 & 111.62 & 111.282 & 0.338000000000005 \tabularnewline
28 & 111.76 & 111.436 & 0.324000000000004 \tabularnewline
29 & 111.89 & 111.63 & 0.26 \tabularnewline
30 & 112.04 & 111.728 & 0.312000000000000 \tabularnewline
31 & 112.12 & 111.898 & 0.222000000000002 \tabularnewline
32 & 112.3 & 112.058 & 0.241999999999998 \tabularnewline
33 & 112.47 & 112.196 & 0.274 \tabularnewline
34 & 112.59 & 112.394 & 0.196000000000004 \tabularnewline
35 & 112.78 & 112.512 & 0.268000000000001 \tabularnewline
36 & 112.73 & 112.642 & 0.0880000000000035 \tabularnewline
37 & 112.99 & 112.887916666667 & 0.102083333333349 \tabularnewline
38 & 113.1 & 113.085916666667 & 0.0140833333333279 \tabularnewline
39 & 113.33 & 113.265916666667 & 0.0640833333333307 \tabularnewline
40 & 113.38 & 113.419916666667 & -0.0399166666666738 \tabularnewline
41 & 113.68 & 113.613916666667 & 0.0660833333333379 \tabularnewline
42 & 113.65 & 113.711916666667 & -0.0619166666666684 \tabularnewline
43 & 113.81 & 113.881916666667 & -0.0719166666666679 \tabularnewline
44 & 113.88 & 114.041916666667 & -0.161916666666670 \tabularnewline
45 & 114.02 & 114.179916666667 & -0.159916666666670 \tabularnewline
46 & 114.25 & 114.377916666667 & -0.127916666666667 \tabularnewline
47 & 114.28 & 114.495916666667 & -0.215916666666667 \tabularnewline
48 & 114.38 & 114.625916666667 & -0.245916666666674 \tabularnewline
49 & 114.73 & 114.871833333333 & -0.141833333333312 \tabularnewline
50 & 114.97 & 115.069833333333 & -0.0998333333333364 \tabularnewline
51 & 115.05 & 115.249833333333 & -0.19983333333334 \tabularnewline
52 & 115.29 & 115.403833333333 & -0.113833333333334 \tabularnewline
53 & 115.37 & 115.597833333333 & -0.227833333333335 \tabularnewline
54 & 115.54 & 115.695833333333 & -0.155833333333337 \tabularnewline
55 & 115.76 & 115.865833333333 & -0.105833333333334 \tabularnewline
56 & 115.92 & 116.025833333333 & -0.105833333333336 \tabularnewline
57 & 116.02 & 116.163833333333 & -0.143833333333339 \tabularnewline
58 & 116.21 & 116.361833333333 & -0.151833333333345 \tabularnewline
59 & 116.26 & 116.479833333333 & -0.219833333333336 \tabularnewline
60 & 116.51 & 116.609833333333 & -0.0998333333333365 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25224&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]106.6[/C][C]106.936166666667[/C][C]-0.336166666666753[/C][/ROW]
[ROW][C]2[/C][C]106.8[/C][C]107.134166666667[/C][C]-0.334166666666665[/C][/ROW]
[ROW][C]3[/C][C]107[/C][C]107.314166666667[/C][C]-0.314166666666663[/C][/ROW]
[ROW][C]4[/C][C]107.1[/C][C]107.468166666667[/C][C]-0.36816666666667[/C][/ROW]
[ROW][C]5[/C][C]107.3[/C][C]107.662166666667[/C][C]-0.362166666666666[/C][/ROW]
[ROW][C]6[/C][C]107.4[/C][C]107.760166666667[/C][C]-0.360166666666663[/C][/ROW]
[ROW][C]7[/C][C]107.6[/C][C]107.930166666667[/C][C]-0.33016666666667[/C][/ROW]
[ROW][C]8[/C][C]107.7[/C][C]108.090166666667[/C][C]-0.390166666666657[/C][/ROW]
[ROW][C]9[/C][C]107.9[/C][C]108.228166666667[/C][C]-0.328166666666654[/C][/ROW]
[ROW][C]10[/C][C]108.2[/C][C]108.426166666667[/C][C]-0.226166666666658[/C][/ROW]
[ROW][C]11[/C][C]108.3[/C][C]108.544166666667[/C][C]-0.244166666666665[/C][/ROW]
[ROW][C]12[/C][C]108.5[/C][C]108.674166666667[/C][C]-0.174166666666663[/C][/ROW]
[ROW][C]13[/C][C]108.92[/C][C]108.920083333333[/C][C]-8.33333333072222e-05[/C][/ROW]
[ROW][C]14[/C][C]109.23[/C][C]109.118083333333[/C][C]0.111916666666674[/C][/ROW]
[ROW][C]15[/C][C]109.41[/C][C]109.298083333333[/C][C]0.111916666666667[/C][/ROW]
[ROW][C]16[/C][C]109.65[/C][C]109.452083333333[/C][C]0.197916666666674[/C][/ROW]
[ROW][C]17[/C][C]109.91[/C][C]109.646083333333[/C][C]0.263916666666664[/C][/ROW]
[ROW][C]18[/C][C]110.01[/C][C]109.744083333333[/C][C]0.265916666666668[/C][/ROW]
[ROW][C]19[/C][C]110.2[/C][C]109.914083333333[/C][C]0.285916666666669[/C][/ROW]
[ROW][C]20[/C][C]110.49[/C][C]110.074083333333[/C][C]0.415916666666665[/C][/ROW]
[ROW][C]21[/C][C]110.57[/C][C]110.212083333333[/C][C]0.357916666666663[/C][/ROW]
[ROW][C]22[/C][C]110.72[/C][C]110.410083333333[/C][C]0.309916666666667[/C][/ROW]
[ROW][C]23[/C][C]110.94[/C][C]110.528083333333[/C][C]0.411916666666666[/C][/ROW]
[ROW][C]24[/C][C]111.09[/C][C]110.658083333333[/C][C]0.43191666666667[/C][/ROW]
[ROW][C]25[/C][C]111.28[/C][C]110.904[/C][C]0.376000000000023[/C][/ROW]
[ROW][C]26[/C][C]111.41[/C][C]111.102[/C][C]0.307999999999999[/C][/ROW]
[ROW][C]27[/C][C]111.62[/C][C]111.282[/C][C]0.338000000000005[/C][/ROW]
[ROW][C]28[/C][C]111.76[/C][C]111.436[/C][C]0.324000000000004[/C][/ROW]
[ROW][C]29[/C][C]111.89[/C][C]111.63[/C][C]0.26[/C][/ROW]
[ROW][C]30[/C][C]112.04[/C][C]111.728[/C][C]0.312000000000000[/C][/ROW]
[ROW][C]31[/C][C]112.12[/C][C]111.898[/C][C]0.222000000000002[/C][/ROW]
[ROW][C]32[/C][C]112.3[/C][C]112.058[/C][C]0.241999999999998[/C][/ROW]
[ROW][C]33[/C][C]112.47[/C][C]112.196[/C][C]0.274[/C][/ROW]
[ROW][C]34[/C][C]112.59[/C][C]112.394[/C][C]0.196000000000004[/C][/ROW]
[ROW][C]35[/C][C]112.78[/C][C]112.512[/C][C]0.268000000000001[/C][/ROW]
[ROW][C]36[/C][C]112.73[/C][C]112.642[/C][C]0.0880000000000035[/C][/ROW]
[ROW][C]37[/C][C]112.99[/C][C]112.887916666667[/C][C]0.102083333333349[/C][/ROW]
[ROW][C]38[/C][C]113.1[/C][C]113.085916666667[/C][C]0.0140833333333279[/C][/ROW]
[ROW][C]39[/C][C]113.33[/C][C]113.265916666667[/C][C]0.0640833333333307[/C][/ROW]
[ROW][C]40[/C][C]113.38[/C][C]113.419916666667[/C][C]-0.0399166666666738[/C][/ROW]
[ROW][C]41[/C][C]113.68[/C][C]113.613916666667[/C][C]0.0660833333333379[/C][/ROW]
[ROW][C]42[/C][C]113.65[/C][C]113.711916666667[/C][C]-0.0619166666666684[/C][/ROW]
[ROW][C]43[/C][C]113.81[/C][C]113.881916666667[/C][C]-0.0719166666666679[/C][/ROW]
[ROW][C]44[/C][C]113.88[/C][C]114.041916666667[/C][C]-0.161916666666670[/C][/ROW]
[ROW][C]45[/C][C]114.02[/C][C]114.179916666667[/C][C]-0.159916666666670[/C][/ROW]
[ROW][C]46[/C][C]114.25[/C][C]114.377916666667[/C][C]-0.127916666666667[/C][/ROW]
[ROW][C]47[/C][C]114.28[/C][C]114.495916666667[/C][C]-0.215916666666667[/C][/ROW]
[ROW][C]48[/C][C]114.38[/C][C]114.625916666667[/C][C]-0.245916666666674[/C][/ROW]
[ROW][C]49[/C][C]114.73[/C][C]114.871833333333[/C][C]-0.141833333333312[/C][/ROW]
[ROW][C]50[/C][C]114.97[/C][C]115.069833333333[/C][C]-0.0998333333333364[/C][/ROW]
[ROW][C]51[/C][C]115.05[/C][C]115.249833333333[/C][C]-0.19983333333334[/C][/ROW]
[ROW][C]52[/C][C]115.29[/C][C]115.403833333333[/C][C]-0.113833333333334[/C][/ROW]
[ROW][C]53[/C][C]115.37[/C][C]115.597833333333[/C][C]-0.227833333333335[/C][/ROW]
[ROW][C]54[/C][C]115.54[/C][C]115.695833333333[/C][C]-0.155833333333337[/C][/ROW]
[ROW][C]55[/C][C]115.76[/C][C]115.865833333333[/C][C]-0.105833333333334[/C][/ROW]
[ROW][C]56[/C][C]115.92[/C][C]116.025833333333[/C][C]-0.105833333333336[/C][/ROW]
[ROW][C]57[/C][C]116.02[/C][C]116.163833333333[/C][C]-0.143833333333339[/C][/ROW]
[ROW][C]58[/C][C]116.21[/C][C]116.361833333333[/C][C]-0.151833333333345[/C][/ROW]
[ROW][C]59[/C][C]116.26[/C][C]116.479833333333[/C][C]-0.219833333333336[/C][/ROW]
[ROW][C]60[/C][C]116.51[/C][C]116.609833333333[/C][C]-0.0998333333333365[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25224&T=4

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1106.6106.936166666667-0.336166666666753
2106.8107.134166666667-0.334166666666665
3107107.314166666667-0.314166666666663
4107.1107.468166666667-0.36816666666667
5107.3107.662166666667-0.362166666666666
6107.4107.760166666667-0.360166666666663
7107.6107.930166666667-0.33016666666667
8107.7108.090166666667-0.390166666666657
9107.9108.228166666667-0.328166666666654
10108.2108.426166666667-0.226166666666658
11108.3108.544166666667-0.244166666666665
12108.5108.674166666667-0.174166666666663
13108.92108.920083333333-8.33333333072222e-05
14109.23109.1180833333330.111916666666674
15109.41109.2980833333330.111916666666667
16109.65109.4520833333330.197916666666674
17109.91109.6460833333330.263916666666664
18110.01109.7440833333330.265916666666668
19110.2109.9140833333330.285916666666669
20110.49110.0740833333330.415916666666665
21110.57110.2120833333330.357916666666663
22110.72110.4100833333330.309916666666667
23110.94110.5280833333330.411916666666666
24111.09110.6580833333330.43191666666667
25111.28110.9040.376000000000023
26111.41111.1020.307999999999999
27111.62111.2820.338000000000005
28111.76111.4360.324000000000004
29111.89111.630.26
30112.04111.7280.312000000000000
31112.12111.8980.222000000000002
32112.3112.0580.241999999999998
33112.47112.1960.274
34112.59112.3940.196000000000004
35112.78112.5120.268000000000001
36112.73112.6420.0880000000000035
37112.99112.8879166666670.102083333333349
38113.1113.0859166666670.0140833333333279
39113.33113.2659166666670.0640833333333307
40113.38113.419916666667-0.0399166666666738
41113.68113.6139166666670.0660833333333379
42113.65113.711916666667-0.0619166666666684
43113.81113.881916666667-0.0719166666666679
44113.88114.041916666667-0.161916666666670
45114.02114.179916666667-0.159916666666670
46114.25114.377916666667-0.127916666666667
47114.28114.495916666667-0.215916666666667
48114.38114.625916666667-0.245916666666674
49114.73114.871833333333-0.141833333333312
50114.97115.069833333333-0.0998333333333364
51115.05115.249833333333-0.19983333333334
52115.29115.403833333333-0.113833333333334
53115.37115.597833333333-0.227833333333335
54115.54115.695833333333-0.155833333333337
55115.76115.865833333333-0.105833333333334
56115.92116.025833333333-0.105833333333336
57116.02116.163833333333-0.143833333333339
58116.21116.361833333333-0.151833333333345
59116.26116.479833333333-0.219833333333336
60116.51116.609833333333-0.0998333333333365



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