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 computationMon, 01 Dec 2008 15:29:17 -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/Dec/01/t122817062917i4ugtwfo3nsfy.htm/, Retrieved Sun, 05 May 2024 18:30:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27464, Retrieved Sun, 05 May 2024 18:30:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact234
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [] [2007-11-19 19:55:31] [b731da8b544846036771bbf9bf2f34ce]
-   PD  [Multiple Regression] [Q3 Seatbelt law z...] [2008-11-24 16:42:23] [7d3039e6253bb5fb3b26df1537d500b4]
F    D    [Multiple Regression] [Q3 seatbelt no tr...] [2008-11-24 19:28:46] [c993f605b206b366f754f7f8c1fcc291]
-    D      [Multiple Regression] [Q3 seatbelt law] [2008-12-01 22:13:30] [c993f605b206b366f754f7f8c1fcc291]
-   P         [Multiple Regression] [Q3 seatbelt law d...] [2008-12-01 22:25:22] [c993f605b206b366f754f7f8c1fcc291]
-   P             [Multiple Regression] [Q3 seatbelt law d+L] [2008-12-01 22:29:17] [70ba55c7ff8e068610dc28fc16e6d1e2] [Current]
Feedback Forum

Post a new message
Dataseries X:
7.8	0
7.6	0
7.5	0
7.6	0
7.5	0
7.3	0
7.6	0
7.5	0
7.6	0
7.9	0
7.9	0
8.1	0
8.2	0
8.0	0
7.5	0
6.8	0
6.5	0
6.6	0
7.6	0
8.0	0
8.0	0
7.7	0
7.5	0
7.6	0
7.7	0
7.9	0
7.8	0
7.5	0
7.5	0
7.1	0
7.5	0
7.5	0
7.6	0
7.7	1
7.9	1
8.1	1
8.2	1
8.2	1
8.1	1
7.9	1
7.3	1
6.9	1
6.6	1
6.7	1
6.9	1
7.0	1
7.1	1
7.2	1
7.1	1
6.9	1
7.0	1
6.8	1
6.4	1
6.7	1
6.7	1
6.4	1
6.3	1
6.2	1
6.5	1
6.8	1
6.8	1
6.5	1
6.3	1
5.9	1
5.9	1
6.4	1
6.4	1




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

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

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 8.38947368421052 + 0.262061403508772x[t] -0.0375036549707602M1[t] -0.126761695906432M2[t] -0.249353070175439M3[t] -0.505277777777778M4[t] -0.711202485380117M5[t] -0.70046052631579M6[t] -0.439718567251462M7[t] -0.397222222222222M8[t] -0.309813596491228M9[t] -0.314817251461988M10[t] -0.207408625730994M11[t] -0.0274086257309942t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  8.38947368421052 +  0.262061403508772x[t] -0.0375036549707602M1[t] -0.126761695906432M2[t] -0.249353070175439M3[t] -0.505277777777778M4[t] -0.711202485380117M5[t] -0.70046052631579M6[t] -0.439718567251462M7[t] -0.397222222222222M8[t] -0.309813596491228M9[t] -0.314817251461988M10[t] -0.207408625730994M11[t] -0.0274086257309942t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27464&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  8.38947368421052 +  0.262061403508772x[t] -0.0375036549707602M1[t] -0.126761695906432M2[t] -0.249353070175439M3[t] -0.505277777777778M4[t] -0.711202485380117M5[t] -0.70046052631579M6[t] -0.439718567251462M7[t] -0.397222222222222M8[t] -0.309813596491228M9[t] -0.314817251461988M10[t] -0.207408625730994M11[t] -0.0274086257309942t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27464&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27464&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] = + 8.38947368421052 + 0.262061403508772x[t] -0.0375036549707602M1[t] -0.126761695906432M2[t] -0.249353070175439M3[t] -0.505277777777778M4[t] -0.711202485380117M5[t] -0.70046052631579M6[t] -0.439718567251462M7[t] -0.397222222222222M8[t] -0.309813596491228M9[t] -0.314817251461988M10[t] -0.207408625730994M11[t] -0.0274086257309942t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.389473684210520.21653538.744100
x0.2620614035087720.2119761.23630.2218070.110903
M1-0.03750365497076020.255961-0.14650.8840660.442033
M2-0.1267616959064320.255831-0.49550.6223020.311151
M3-0.2493530701754390.255817-0.97470.3341210.167061
M4-0.5052777777777780.25592-1.97440.0535620.026781
M5-0.7112024853801170.256139-2.77660.0075760.003788
M6-0.700460526315790.256475-2.73110.0085530.004277
M7-0.4397185672514620.256926-1.71150.0928440.046422
M8-0.3972222222222220.268196-1.48110.1445040.072252
M9-0.3098135964912280.268559-1.15360.2538340.126917
M10-0.3148172514619880.267186-1.17830.2439530.121976
M11-0.2074086257309940.267019-0.77680.4407550.220378
t-0.02740862573099420.005463-5.01696e-063e-06

\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) & 8.38947368421052 & 0.216535 & 38.7441 & 0 & 0 \tabularnewline
x & 0.262061403508772 & 0.211976 & 1.2363 & 0.221807 & 0.110903 \tabularnewline
M1 & -0.0375036549707602 & 0.255961 & -0.1465 & 0.884066 & 0.442033 \tabularnewline
M2 & -0.126761695906432 & 0.255831 & -0.4955 & 0.622302 & 0.311151 \tabularnewline
M3 & -0.249353070175439 & 0.255817 & -0.9747 & 0.334121 & 0.167061 \tabularnewline
M4 & -0.505277777777778 & 0.25592 & -1.9744 & 0.053562 & 0.026781 \tabularnewline
M5 & -0.711202485380117 & 0.256139 & -2.7766 & 0.007576 & 0.003788 \tabularnewline
M6 & -0.70046052631579 & 0.256475 & -2.7311 & 0.008553 & 0.004277 \tabularnewline
M7 & -0.439718567251462 & 0.256926 & -1.7115 & 0.092844 & 0.046422 \tabularnewline
M8 & -0.397222222222222 & 0.268196 & -1.4811 & 0.144504 & 0.072252 \tabularnewline
M9 & -0.309813596491228 & 0.268559 & -1.1536 & 0.253834 & 0.126917 \tabularnewline
M10 & -0.314817251461988 & 0.267186 & -1.1783 & 0.243953 & 0.121976 \tabularnewline
M11 & -0.207408625730994 & 0.267019 & -0.7768 & 0.440755 & 0.220378 \tabularnewline
t & -0.0274086257309942 & 0.005463 & -5.0169 & 6e-06 & 3e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27464&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]8.38947368421052[/C][C]0.216535[/C][C]38.7441[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]0.262061403508772[/C][C]0.211976[/C][C]1.2363[/C][C]0.221807[/C][C]0.110903[/C][/ROW]
[ROW][C]M1[/C][C]-0.0375036549707602[/C][C]0.255961[/C][C]-0.1465[/C][C]0.884066[/C][C]0.442033[/C][/ROW]
[ROW][C]M2[/C][C]-0.126761695906432[/C][C]0.255831[/C][C]-0.4955[/C][C]0.622302[/C][C]0.311151[/C][/ROW]
[ROW][C]M3[/C][C]-0.249353070175439[/C][C]0.255817[/C][C]-0.9747[/C][C]0.334121[/C][C]0.167061[/C][/ROW]
[ROW][C]M4[/C][C]-0.505277777777778[/C][C]0.25592[/C][C]-1.9744[/C][C]0.053562[/C][C]0.026781[/C][/ROW]
[ROW][C]M5[/C][C]-0.711202485380117[/C][C]0.256139[/C][C]-2.7766[/C][C]0.007576[/C][C]0.003788[/C][/ROW]
[ROW][C]M6[/C][C]-0.70046052631579[/C][C]0.256475[/C][C]-2.7311[/C][C]0.008553[/C][C]0.004277[/C][/ROW]
[ROW][C]M7[/C][C]-0.439718567251462[/C][C]0.256926[/C][C]-1.7115[/C][C]0.092844[/C][C]0.046422[/C][/ROW]
[ROW][C]M8[/C][C]-0.397222222222222[/C][C]0.268196[/C][C]-1.4811[/C][C]0.144504[/C][C]0.072252[/C][/ROW]
[ROW][C]M9[/C][C]-0.309813596491228[/C][C]0.268559[/C][C]-1.1536[/C][C]0.253834[/C][C]0.126917[/C][/ROW]
[ROW][C]M10[/C][C]-0.314817251461988[/C][C]0.267186[/C][C]-1.1783[/C][C]0.243953[/C][C]0.121976[/C][/ROW]
[ROW][C]M11[/C][C]-0.207408625730994[/C][C]0.267019[/C][C]-0.7768[/C][C]0.440755[/C][C]0.220378[/C][/ROW]
[ROW][C]t[/C][C]-0.0274086257309942[/C][C]0.005463[/C][C]-5.0169[/C][C]6e-06[/C][C]3e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27464&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27464&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)8.389473684210520.21653538.744100
x0.2620614035087720.2119761.23630.2218070.110903
M1-0.03750365497076020.255961-0.14650.8840660.442033
M2-0.1267616959064320.255831-0.49550.6223020.311151
M3-0.2493530701754390.255817-0.97470.3341210.167061
M4-0.5052777777777780.25592-1.97440.0535620.026781
M5-0.7112024853801170.256139-2.77660.0075760.003788
M6-0.700460526315790.256475-2.73110.0085530.004277
M7-0.4397185672514620.256926-1.71150.0928440.046422
M8-0.3972222222222220.268196-1.48110.1445040.072252
M9-0.3098135964912280.268559-1.15360.2538340.126917
M10-0.3148172514619880.267186-1.17830.2439530.121976
M11-0.2074086257309940.267019-0.77680.4407550.220378
t-0.02740862573099420.005463-5.01696e-063e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.794139183421726
R-squared0.630657042645726
Adjusted R-squared0.540063487068263
F-TEST (value)6.96138967750829
F-TEST (DF numerator)13
F-TEST (DF denominator)53
p-value1.34900312365183e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.422105286890354
Sum Squared Residuals9.44316228070175

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.794139183421726 \tabularnewline
R-squared & 0.630657042645726 \tabularnewline
Adjusted R-squared & 0.540063487068263 \tabularnewline
F-TEST (value) & 6.96138967750829 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 53 \tabularnewline
p-value & 1.34900312365183e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.422105286890354 \tabularnewline
Sum Squared Residuals & 9.44316228070175 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27464&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.794139183421726[/C][/ROW]
[ROW][C]R-squared[/C][C]0.630657042645726[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.540063487068263[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.96138967750829[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]53[/C][/ROW]
[ROW][C]p-value[/C][C]1.34900312365183e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.422105286890354[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]9.44316228070175[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27464&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27464&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.794139183421726
R-squared0.630657042645726
Adjusted R-squared0.540063487068263
F-TEST (value)6.96138967750829
F-TEST (DF numerator)13
F-TEST (DF denominator)53
p-value1.34900312365183e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.422105286890354
Sum Squared Residuals9.44316228070175







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
17.88.32456140350877-0.524561403508772
27.68.2078947368421-0.607894736842105
37.58.0578947368421-0.557894736842105
47.67.77456140350877-0.174561403508772
57.57.54122807017544-0.0412280701754385
67.37.52456140350877-0.224561403508772
77.67.7578947368421-0.157894736842106
87.57.77298245614035-0.272982456140351
97.67.83298245614035-0.232982456140351
107.97.80057017543860.0994298245614037
117.97.88057017543860.0194298245614038
128.18.06057017543860.0394298245614034
138.27.995657894736840.204342105263157
1487.878991228070180.121008771929825
157.57.72899122807017-0.228991228070175
166.87.44565789473684-0.645657894736842
176.57.21232456140351-0.712324561403509
186.67.19565789473684-0.595657894736842
197.67.428991228070180.171008771929824
2087.444078947368420.555921052631579
2187.504078947368420.495921052631579
227.77.471666666666670.228333333333333
237.57.55166666666667-0.0516666666666667
247.67.73166666666667-0.131666666666667
257.77.666754385964910.0332456140350881
267.97.550087719298250.349912280701755
277.87.400087719298250.399912280701754
287.57.116754385964910.383245614035088
297.56.883421052631580.616578947368421
307.16.866754385964910.233245614035088
317.57.100087719298250.399912280701755
327.57.115175438596490.384824561403509
337.67.175175438596490.424824561403509
347.77.404824561403510.295175438596491
357.97.484824561403510.415175438596492
368.17.664824561403510.435175438596491
378.27.599912280701750.600087719298245
388.27.483245614035090.716754385964911
398.17.333245614035090.766754385964912
407.97.049912280701750.850087719298246
417.36.816578947368420.483421052631579
426.96.799912280701750.100087719298246
436.67.03324561403509-0.433245614035088
446.77.04833333333333-0.348333333333333
456.97.10833333333333-0.208333333333333
4677.07592105263158-0.0759210526315792
477.17.15592105263158-0.0559210526315794
487.27.33592105263158-0.135921052631579
497.17.27100877192982-0.171008771929825
506.97.15434210526316-0.254342105263158
5177.00434210526316-0.00434210526315777
526.86.721008771929820.0789912280701753
536.46.48767543859649-0.0876754385964908
546.76.471008771929820.228991228070176
556.76.70434210526316-0.00434210526315763
566.46.7194298245614-0.319429824561403
576.36.7794298245614-0.479429824561404
586.26.74701754385965-0.54701754385965
596.56.82701754385965-0.327017543859649
606.87.00701754385965-0.207017543859649
616.86.9421052631579-0.142105263157895
626.56.82543859649123-0.325438596491228
636.36.67543859649123-0.375438596491228
645.96.3921052631579-0.492105263157895
655.96.15877192982456-0.258771929824562
666.46.14210526315790.257894736842105
676.46.375438596491230.0245614035087722

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 7.8 & 8.32456140350877 & -0.524561403508772 \tabularnewline
2 & 7.6 & 8.2078947368421 & -0.607894736842105 \tabularnewline
3 & 7.5 & 8.0578947368421 & -0.557894736842105 \tabularnewline
4 & 7.6 & 7.77456140350877 & -0.174561403508772 \tabularnewline
5 & 7.5 & 7.54122807017544 & -0.0412280701754385 \tabularnewline
6 & 7.3 & 7.52456140350877 & -0.224561403508772 \tabularnewline
7 & 7.6 & 7.7578947368421 & -0.157894736842106 \tabularnewline
8 & 7.5 & 7.77298245614035 & -0.272982456140351 \tabularnewline
9 & 7.6 & 7.83298245614035 & -0.232982456140351 \tabularnewline
10 & 7.9 & 7.8005701754386 & 0.0994298245614037 \tabularnewline
11 & 7.9 & 7.8805701754386 & 0.0194298245614038 \tabularnewline
12 & 8.1 & 8.0605701754386 & 0.0394298245614034 \tabularnewline
13 & 8.2 & 7.99565789473684 & 0.204342105263157 \tabularnewline
14 & 8 & 7.87899122807018 & 0.121008771929825 \tabularnewline
15 & 7.5 & 7.72899122807017 & -0.228991228070175 \tabularnewline
16 & 6.8 & 7.44565789473684 & -0.645657894736842 \tabularnewline
17 & 6.5 & 7.21232456140351 & -0.712324561403509 \tabularnewline
18 & 6.6 & 7.19565789473684 & -0.595657894736842 \tabularnewline
19 & 7.6 & 7.42899122807018 & 0.171008771929824 \tabularnewline
20 & 8 & 7.44407894736842 & 0.555921052631579 \tabularnewline
21 & 8 & 7.50407894736842 & 0.495921052631579 \tabularnewline
22 & 7.7 & 7.47166666666667 & 0.228333333333333 \tabularnewline
23 & 7.5 & 7.55166666666667 & -0.0516666666666667 \tabularnewline
24 & 7.6 & 7.73166666666667 & -0.131666666666667 \tabularnewline
25 & 7.7 & 7.66675438596491 & 0.0332456140350881 \tabularnewline
26 & 7.9 & 7.55008771929825 & 0.349912280701755 \tabularnewline
27 & 7.8 & 7.40008771929825 & 0.399912280701754 \tabularnewline
28 & 7.5 & 7.11675438596491 & 0.383245614035088 \tabularnewline
29 & 7.5 & 6.88342105263158 & 0.616578947368421 \tabularnewline
30 & 7.1 & 6.86675438596491 & 0.233245614035088 \tabularnewline
31 & 7.5 & 7.10008771929825 & 0.399912280701755 \tabularnewline
32 & 7.5 & 7.11517543859649 & 0.384824561403509 \tabularnewline
33 & 7.6 & 7.17517543859649 & 0.424824561403509 \tabularnewline
34 & 7.7 & 7.40482456140351 & 0.295175438596491 \tabularnewline
35 & 7.9 & 7.48482456140351 & 0.415175438596492 \tabularnewline
36 & 8.1 & 7.66482456140351 & 0.435175438596491 \tabularnewline
37 & 8.2 & 7.59991228070175 & 0.600087719298245 \tabularnewline
38 & 8.2 & 7.48324561403509 & 0.716754385964911 \tabularnewline
39 & 8.1 & 7.33324561403509 & 0.766754385964912 \tabularnewline
40 & 7.9 & 7.04991228070175 & 0.850087719298246 \tabularnewline
41 & 7.3 & 6.81657894736842 & 0.483421052631579 \tabularnewline
42 & 6.9 & 6.79991228070175 & 0.100087719298246 \tabularnewline
43 & 6.6 & 7.03324561403509 & -0.433245614035088 \tabularnewline
44 & 6.7 & 7.04833333333333 & -0.348333333333333 \tabularnewline
45 & 6.9 & 7.10833333333333 & -0.208333333333333 \tabularnewline
46 & 7 & 7.07592105263158 & -0.0759210526315792 \tabularnewline
47 & 7.1 & 7.15592105263158 & -0.0559210526315794 \tabularnewline
48 & 7.2 & 7.33592105263158 & -0.135921052631579 \tabularnewline
49 & 7.1 & 7.27100877192982 & -0.171008771929825 \tabularnewline
50 & 6.9 & 7.15434210526316 & -0.254342105263158 \tabularnewline
51 & 7 & 7.00434210526316 & -0.00434210526315777 \tabularnewline
52 & 6.8 & 6.72100877192982 & 0.0789912280701753 \tabularnewline
53 & 6.4 & 6.48767543859649 & -0.0876754385964908 \tabularnewline
54 & 6.7 & 6.47100877192982 & 0.228991228070176 \tabularnewline
55 & 6.7 & 6.70434210526316 & -0.00434210526315763 \tabularnewline
56 & 6.4 & 6.7194298245614 & -0.319429824561403 \tabularnewline
57 & 6.3 & 6.7794298245614 & -0.479429824561404 \tabularnewline
58 & 6.2 & 6.74701754385965 & -0.54701754385965 \tabularnewline
59 & 6.5 & 6.82701754385965 & -0.327017543859649 \tabularnewline
60 & 6.8 & 7.00701754385965 & -0.207017543859649 \tabularnewline
61 & 6.8 & 6.9421052631579 & -0.142105263157895 \tabularnewline
62 & 6.5 & 6.82543859649123 & -0.325438596491228 \tabularnewline
63 & 6.3 & 6.67543859649123 & -0.375438596491228 \tabularnewline
64 & 5.9 & 6.3921052631579 & -0.492105263157895 \tabularnewline
65 & 5.9 & 6.15877192982456 & -0.258771929824562 \tabularnewline
66 & 6.4 & 6.1421052631579 & 0.257894736842105 \tabularnewline
67 & 6.4 & 6.37543859649123 & 0.0245614035087722 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27464&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]7.8[/C][C]8.32456140350877[/C][C]-0.524561403508772[/C][/ROW]
[ROW][C]2[/C][C]7.6[/C][C]8.2078947368421[/C][C]-0.607894736842105[/C][/ROW]
[ROW][C]3[/C][C]7.5[/C][C]8.0578947368421[/C][C]-0.557894736842105[/C][/ROW]
[ROW][C]4[/C][C]7.6[/C][C]7.77456140350877[/C][C]-0.174561403508772[/C][/ROW]
[ROW][C]5[/C][C]7.5[/C][C]7.54122807017544[/C][C]-0.0412280701754385[/C][/ROW]
[ROW][C]6[/C][C]7.3[/C][C]7.52456140350877[/C][C]-0.224561403508772[/C][/ROW]
[ROW][C]7[/C][C]7.6[/C][C]7.7578947368421[/C][C]-0.157894736842106[/C][/ROW]
[ROW][C]8[/C][C]7.5[/C][C]7.77298245614035[/C][C]-0.272982456140351[/C][/ROW]
[ROW][C]9[/C][C]7.6[/C][C]7.83298245614035[/C][C]-0.232982456140351[/C][/ROW]
[ROW][C]10[/C][C]7.9[/C][C]7.8005701754386[/C][C]0.0994298245614037[/C][/ROW]
[ROW][C]11[/C][C]7.9[/C][C]7.8805701754386[/C][C]0.0194298245614038[/C][/ROW]
[ROW][C]12[/C][C]8.1[/C][C]8.0605701754386[/C][C]0.0394298245614034[/C][/ROW]
[ROW][C]13[/C][C]8.2[/C][C]7.99565789473684[/C][C]0.204342105263157[/C][/ROW]
[ROW][C]14[/C][C]8[/C][C]7.87899122807018[/C][C]0.121008771929825[/C][/ROW]
[ROW][C]15[/C][C]7.5[/C][C]7.72899122807017[/C][C]-0.228991228070175[/C][/ROW]
[ROW][C]16[/C][C]6.8[/C][C]7.44565789473684[/C][C]-0.645657894736842[/C][/ROW]
[ROW][C]17[/C][C]6.5[/C][C]7.21232456140351[/C][C]-0.712324561403509[/C][/ROW]
[ROW][C]18[/C][C]6.6[/C][C]7.19565789473684[/C][C]-0.595657894736842[/C][/ROW]
[ROW][C]19[/C][C]7.6[/C][C]7.42899122807018[/C][C]0.171008771929824[/C][/ROW]
[ROW][C]20[/C][C]8[/C][C]7.44407894736842[/C][C]0.555921052631579[/C][/ROW]
[ROW][C]21[/C][C]8[/C][C]7.50407894736842[/C][C]0.495921052631579[/C][/ROW]
[ROW][C]22[/C][C]7.7[/C][C]7.47166666666667[/C][C]0.228333333333333[/C][/ROW]
[ROW][C]23[/C][C]7.5[/C][C]7.55166666666667[/C][C]-0.0516666666666667[/C][/ROW]
[ROW][C]24[/C][C]7.6[/C][C]7.73166666666667[/C][C]-0.131666666666667[/C][/ROW]
[ROW][C]25[/C][C]7.7[/C][C]7.66675438596491[/C][C]0.0332456140350881[/C][/ROW]
[ROW][C]26[/C][C]7.9[/C][C]7.55008771929825[/C][C]0.349912280701755[/C][/ROW]
[ROW][C]27[/C][C]7.8[/C][C]7.40008771929825[/C][C]0.399912280701754[/C][/ROW]
[ROW][C]28[/C][C]7.5[/C][C]7.11675438596491[/C][C]0.383245614035088[/C][/ROW]
[ROW][C]29[/C][C]7.5[/C][C]6.88342105263158[/C][C]0.616578947368421[/C][/ROW]
[ROW][C]30[/C][C]7.1[/C][C]6.86675438596491[/C][C]0.233245614035088[/C][/ROW]
[ROW][C]31[/C][C]7.5[/C][C]7.10008771929825[/C][C]0.399912280701755[/C][/ROW]
[ROW][C]32[/C][C]7.5[/C][C]7.11517543859649[/C][C]0.384824561403509[/C][/ROW]
[ROW][C]33[/C][C]7.6[/C][C]7.17517543859649[/C][C]0.424824561403509[/C][/ROW]
[ROW][C]34[/C][C]7.7[/C][C]7.40482456140351[/C][C]0.295175438596491[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]7.48482456140351[/C][C]0.415175438596492[/C][/ROW]
[ROW][C]36[/C][C]8.1[/C][C]7.66482456140351[/C][C]0.435175438596491[/C][/ROW]
[ROW][C]37[/C][C]8.2[/C][C]7.59991228070175[/C][C]0.600087719298245[/C][/ROW]
[ROW][C]38[/C][C]8.2[/C][C]7.48324561403509[/C][C]0.716754385964911[/C][/ROW]
[ROW][C]39[/C][C]8.1[/C][C]7.33324561403509[/C][C]0.766754385964912[/C][/ROW]
[ROW][C]40[/C][C]7.9[/C][C]7.04991228070175[/C][C]0.850087719298246[/C][/ROW]
[ROW][C]41[/C][C]7.3[/C][C]6.81657894736842[/C][C]0.483421052631579[/C][/ROW]
[ROW][C]42[/C][C]6.9[/C][C]6.79991228070175[/C][C]0.100087719298246[/C][/ROW]
[ROW][C]43[/C][C]6.6[/C][C]7.03324561403509[/C][C]-0.433245614035088[/C][/ROW]
[ROW][C]44[/C][C]6.7[/C][C]7.04833333333333[/C][C]-0.348333333333333[/C][/ROW]
[ROW][C]45[/C][C]6.9[/C][C]7.10833333333333[/C][C]-0.208333333333333[/C][/ROW]
[ROW][C]46[/C][C]7[/C][C]7.07592105263158[/C][C]-0.0759210526315792[/C][/ROW]
[ROW][C]47[/C][C]7.1[/C][C]7.15592105263158[/C][C]-0.0559210526315794[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]7.33592105263158[/C][C]-0.135921052631579[/C][/ROW]
[ROW][C]49[/C][C]7.1[/C][C]7.27100877192982[/C][C]-0.171008771929825[/C][/ROW]
[ROW][C]50[/C][C]6.9[/C][C]7.15434210526316[/C][C]-0.254342105263158[/C][/ROW]
[ROW][C]51[/C][C]7[/C][C]7.00434210526316[/C][C]-0.00434210526315777[/C][/ROW]
[ROW][C]52[/C][C]6.8[/C][C]6.72100877192982[/C][C]0.0789912280701753[/C][/ROW]
[ROW][C]53[/C][C]6.4[/C][C]6.48767543859649[/C][C]-0.0876754385964908[/C][/ROW]
[ROW][C]54[/C][C]6.7[/C][C]6.47100877192982[/C][C]0.228991228070176[/C][/ROW]
[ROW][C]55[/C][C]6.7[/C][C]6.70434210526316[/C][C]-0.00434210526315763[/C][/ROW]
[ROW][C]56[/C][C]6.4[/C][C]6.7194298245614[/C][C]-0.319429824561403[/C][/ROW]
[ROW][C]57[/C][C]6.3[/C][C]6.7794298245614[/C][C]-0.479429824561404[/C][/ROW]
[ROW][C]58[/C][C]6.2[/C][C]6.74701754385965[/C][C]-0.54701754385965[/C][/ROW]
[ROW][C]59[/C][C]6.5[/C][C]6.82701754385965[/C][C]-0.327017543859649[/C][/ROW]
[ROW][C]60[/C][C]6.8[/C][C]7.00701754385965[/C][C]-0.207017543859649[/C][/ROW]
[ROW][C]61[/C][C]6.8[/C][C]6.9421052631579[/C][C]-0.142105263157895[/C][/ROW]
[ROW][C]62[/C][C]6.5[/C][C]6.82543859649123[/C][C]-0.325438596491228[/C][/ROW]
[ROW][C]63[/C][C]6.3[/C][C]6.67543859649123[/C][C]-0.375438596491228[/C][/ROW]
[ROW][C]64[/C][C]5.9[/C][C]6.3921052631579[/C][C]-0.492105263157895[/C][/ROW]
[ROW][C]65[/C][C]5.9[/C][C]6.15877192982456[/C][C]-0.258771929824562[/C][/ROW]
[ROW][C]66[/C][C]6.4[/C][C]6.1421052631579[/C][C]0.257894736842105[/C][/ROW]
[ROW][C]67[/C][C]6.4[/C][C]6.37543859649123[/C][C]0.0245614035087722[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27464&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27464&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
17.88.32456140350877-0.524561403508772
27.68.2078947368421-0.607894736842105
37.58.0578947368421-0.557894736842105
47.67.77456140350877-0.174561403508772
57.57.54122807017544-0.0412280701754385
67.37.52456140350877-0.224561403508772
77.67.7578947368421-0.157894736842106
87.57.77298245614035-0.272982456140351
97.67.83298245614035-0.232982456140351
107.97.80057017543860.0994298245614037
117.97.88057017543860.0194298245614038
128.18.06057017543860.0394298245614034
138.27.995657894736840.204342105263157
1487.878991228070180.121008771929825
157.57.72899122807017-0.228991228070175
166.87.44565789473684-0.645657894736842
176.57.21232456140351-0.712324561403509
186.67.19565789473684-0.595657894736842
197.67.428991228070180.171008771929824
2087.444078947368420.555921052631579
2187.504078947368420.495921052631579
227.77.471666666666670.228333333333333
237.57.55166666666667-0.0516666666666667
247.67.73166666666667-0.131666666666667
257.77.666754385964910.0332456140350881
267.97.550087719298250.349912280701755
277.87.400087719298250.399912280701754
287.57.116754385964910.383245614035088
297.56.883421052631580.616578947368421
307.16.866754385964910.233245614035088
317.57.100087719298250.399912280701755
327.57.115175438596490.384824561403509
337.67.175175438596490.424824561403509
347.77.404824561403510.295175438596491
357.97.484824561403510.415175438596492
368.17.664824561403510.435175438596491
378.27.599912280701750.600087719298245
388.27.483245614035090.716754385964911
398.17.333245614035090.766754385964912
407.97.049912280701750.850087719298246
417.36.816578947368420.483421052631579
426.96.799912280701750.100087719298246
436.67.03324561403509-0.433245614035088
446.77.04833333333333-0.348333333333333
456.97.10833333333333-0.208333333333333
4677.07592105263158-0.0759210526315792
477.17.15592105263158-0.0559210526315794
487.27.33592105263158-0.135921052631579
497.17.27100877192982-0.171008771929825
506.97.15434210526316-0.254342105263158
5177.00434210526316-0.00434210526315777
526.86.721008771929820.0789912280701753
536.46.48767543859649-0.0876754385964908
546.76.471008771929820.228991228070176
556.76.70434210526316-0.00434210526315763
566.46.7194298245614-0.319429824561403
576.36.7794298245614-0.479429824561404
586.26.74701754385965-0.54701754385965
596.56.82701754385965-0.327017543859649
606.87.00701754385965-0.207017543859649
616.86.9421052631579-0.142105263157895
626.56.82543859649123-0.325438596491228
636.36.67543859649123-0.375438596491228
645.96.3921052631579-0.492105263157895
655.96.15877192982456-0.258771929824562
666.46.14210526315790.257894736842105
676.46.375438596491230.0245614035087722



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