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 12:51:08 -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/t12281611046iv9aax9p550qja.htm/, Retrieved Sun, 05 May 2024 18:09:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27271, Retrieved Sun, 05 May 2024 18:09:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact250
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]
-    D    [Multiple Regression] [Q3 Multiple regre...] [2008-12-01 19:44:44] [7d3039e6253bb5fb3b26df1537d500b4]
-   PD        [Multiple Regression] [Q3 Multiple Regre...] [2008-12-01 19:51:08] [35348cd8592af0baf5f138bd59921307] [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	0
7.7	0
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27271&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]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=27271&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27271&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 8.217 + 0.135000000000000x[t] + 0.0876666666666688M1[t] + 0.0781666666666671M2[t] -0.0979999999999992M3[t] -0.2575M4[t] -0.433666666666666M5[t] -0.659833333333333M6[t] -0.286000000000000M7[t] -0.262166666666666M8[t] -0.224499999999999M9[t] -0.160666666666666M10[t] -0.176833333333333M11[t] -0.0238333333333334t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  8.217 +  0.135000000000000x[t] +  0.0876666666666688M1[t] +  0.0781666666666671M2[t] -0.0979999999999992M3[t] -0.2575M4[t] -0.433666666666666M5[t] -0.659833333333333M6[t] -0.286000000000000M7[t] -0.262166666666666M8[t] -0.224499999999999M9[t] -0.160666666666666M10[t] -0.176833333333333M11[t] -0.0238333333333334t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27271&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  8.217 +  0.135000000000000x[t] +  0.0876666666666688M1[t] +  0.0781666666666671M2[t] -0.0979999999999992M3[t] -0.2575M4[t] -0.433666666666666M5[t] -0.659833333333333M6[t] -0.286000000000000M7[t] -0.262166666666666M8[t] -0.224499999999999M9[t] -0.160666666666666M10[t] -0.176833333333333M11[t] -0.0238333333333334t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27271&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27271&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.217 + 0.135000000000000x[t] + 0.0876666666666688M1[t] + 0.0781666666666671M2[t] -0.0979999999999992M3[t] -0.2575M4[t] -0.433666666666666M5[t] -0.659833333333333M6[t] -0.286000000000000M7[t] -0.262166666666666M8[t] -0.224499999999999M9[t] -0.160666666666666M10[t] -0.176833333333333M11[t] -0.0238333333333334t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.2170.22541336.45300
x0.1350000000000000.2210360.61080.5439210.27196
M10.08766666666666880.2680510.32710.7448930.372446
M20.07816666666666710.2679240.29170.7715960.385798
M3-0.09799999999999920.267916-0.36580.7159540.357977
M4-0.25750.268026-0.96070.3409710.170485
M5-0.4336666666666660.268254-1.61660.1117860.055893
M6-0.6598333333333330.268599-2.45660.0172720.008636
M7-0.2860000000000000.269062-1.0630.2925340.146267
M8-0.2621666666666660.269641-0.97230.3352470.167623
M9-0.2244999999999990.281261-0.79820.4282550.214128
M10-0.1606666666666660.281751-0.57020.5708770.285439
M11-0.1768333333333330.282352-0.62630.5337660.266883
t-0.02383333333333340.005627-4.23538.9e-054.5e-05

\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.217 & 0.225413 & 36.453 & 0 & 0 \tabularnewline
x & 0.135000000000000 & 0.221036 & 0.6108 & 0.543921 & 0.27196 \tabularnewline
M1 & 0.0876666666666688 & 0.268051 & 0.3271 & 0.744893 & 0.372446 \tabularnewline
M2 & 0.0781666666666671 & 0.267924 & 0.2917 & 0.771596 & 0.385798 \tabularnewline
M3 & -0.0979999999999992 & 0.267916 & -0.3658 & 0.715954 & 0.357977 \tabularnewline
M4 & -0.2575 & 0.268026 & -0.9607 & 0.340971 & 0.170485 \tabularnewline
M5 & -0.433666666666666 & 0.268254 & -1.6166 & 0.111786 & 0.055893 \tabularnewline
M6 & -0.659833333333333 & 0.268599 & -2.4566 & 0.017272 & 0.008636 \tabularnewline
M7 & -0.286000000000000 & 0.269062 & -1.063 & 0.292534 & 0.146267 \tabularnewline
M8 & -0.262166666666666 & 0.269641 & -0.9723 & 0.335247 & 0.167623 \tabularnewline
M9 & -0.224499999999999 & 0.281261 & -0.7982 & 0.428255 & 0.214128 \tabularnewline
M10 & -0.160666666666666 & 0.281751 & -0.5702 & 0.570877 & 0.285439 \tabularnewline
M11 & -0.176833333333333 & 0.282352 & -0.6263 & 0.533766 & 0.266883 \tabularnewline
t & -0.0238333333333334 & 0.005627 & -4.2353 & 8.9e-05 & 4.5e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27271&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.217[/C][C]0.225413[/C][C]36.453[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]0.135000000000000[/C][C]0.221036[/C][C]0.6108[/C][C]0.543921[/C][C]0.27196[/C][/ROW]
[ROW][C]M1[/C][C]0.0876666666666688[/C][C]0.268051[/C][C]0.3271[/C][C]0.744893[/C][C]0.372446[/C][/ROW]
[ROW][C]M2[/C][C]0.0781666666666671[/C][C]0.267924[/C][C]0.2917[/C][C]0.771596[/C][C]0.385798[/C][/ROW]
[ROW][C]M3[/C][C]-0.0979999999999992[/C][C]0.267916[/C][C]-0.3658[/C][C]0.715954[/C][C]0.357977[/C][/ROW]
[ROW][C]M4[/C][C]-0.2575[/C][C]0.268026[/C][C]-0.9607[/C][C]0.340971[/C][C]0.170485[/C][/ROW]
[ROW][C]M5[/C][C]-0.433666666666666[/C][C]0.268254[/C][C]-1.6166[/C][C]0.111786[/C][C]0.055893[/C][/ROW]
[ROW][C]M6[/C][C]-0.659833333333333[/C][C]0.268599[/C][C]-2.4566[/C][C]0.017272[/C][C]0.008636[/C][/ROW]
[ROW][C]M7[/C][C]-0.286000000000000[/C][C]0.269062[/C][C]-1.063[/C][C]0.292534[/C][C]0.146267[/C][/ROW]
[ROW][C]M8[/C][C]-0.262166666666666[/C][C]0.269641[/C][C]-0.9723[/C][C]0.335247[/C][C]0.167623[/C][/ROW]
[ROW][C]M9[/C][C]-0.224499999999999[/C][C]0.281261[/C][C]-0.7982[/C][C]0.428255[/C][C]0.214128[/C][/ROW]
[ROW][C]M10[/C][C]-0.160666666666666[/C][C]0.281751[/C][C]-0.5702[/C][C]0.570877[/C][C]0.285439[/C][/ROW]
[ROW][C]M11[/C][C]-0.176833333333333[/C][C]0.282352[/C][C]-0.6263[/C][C]0.533766[/C][C]0.266883[/C][/ROW]
[ROW][C]t[/C][C]-0.0238333333333334[/C][C]0.005627[/C][C]-4.2353[/C][C]8.9e-05[/C][C]4.5e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27271&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27271&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.2170.22541336.45300
x0.1350000000000000.2210360.61080.5439210.27196
M10.08766666666666880.2680510.32710.7448930.372446
M20.07816666666666710.2679240.29170.7715960.385798
M3-0.09799999999999920.267916-0.36580.7159540.357977
M4-0.25750.268026-0.96070.3409710.170485
M5-0.4336666666666660.268254-1.61660.1117860.055893
M6-0.6598333333333330.268599-2.45660.0172720.008636
M7-0.2860000000000000.269062-1.0630.2925340.146267
M8-0.2621666666666660.269641-0.97230.3352470.167623
M9-0.2244999999999990.281261-0.79820.4282550.214128
M10-0.1606666666666660.281751-0.57020.5708770.285439
M11-0.1768333333333330.282352-0.62630.5337660.266883
t-0.02383333333333340.005627-4.23538.9e-054.5e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.768394761499566
R-squared0.590430509499974
Adjusted R-squared0.491830446972191
F-TEST (value)5.98813524416986
F-TEST (DF numerator)13
F-TEST (DF denominator)54
p-value1.04081999896533e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.442072140920209
Sum Squared Residuals10.5531000000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.768394761499566 \tabularnewline
R-squared & 0.590430509499974 \tabularnewline
Adjusted R-squared & 0.491830446972191 \tabularnewline
F-TEST (value) & 5.98813524416986 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 54 \tabularnewline
p-value & 1.04081999896533e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.442072140920209 \tabularnewline
Sum Squared Residuals & 10.5531000000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27271&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.768394761499566[/C][/ROW]
[ROW][C]R-squared[/C][C]0.590430509499974[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.491830446972191[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.98813524416986[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]54[/C][/ROW]
[ROW][C]p-value[/C][C]1.04081999896533e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.442072140920209[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]10.5531000000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27271&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27271&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.768394761499566
R-squared0.590430509499974
Adjusted R-squared0.491830446972191
F-TEST (value)5.98813524416986
F-TEST (DF numerator)13
F-TEST (DF denominator)54
p-value1.04081999896533e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.442072140920209
Sum Squared Residuals10.5531000000000







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
17.88.28083333333332-0.480833333333324
27.68.2475-0.6475
37.58.0475-0.547500000000001
47.67.86416666666667-0.264166666666666
57.57.66416666666667-0.164166666666668
67.37.41416666666667-0.114166666666667
77.67.76416666666667-0.164166666666668
87.57.76416666666667-0.264166666666667
97.67.778-0.178
107.97.8180.0819999999999997
117.97.7780.122000000000000
128.17.9310.169000000000000
138.27.994833333333340.205166666666664
1487.96150.0385000000000004
157.57.7615-0.2615
166.87.57816666666667-0.778166666666667
176.57.37816666666667-0.878166666666667
186.67.12816666666667-0.528166666666667
197.67.478166666666670.121833333333333
2087.478166666666670.521833333333333
2187.4920.508
227.77.5320.168
237.57.4920.00799999999999969
247.67.645-0.0449999999999998
257.77.70883333333333-0.0088333333333347
267.97.67550.2245
277.87.47550.3245
287.57.292166666666670.207833333333334
297.57.092166666666670.407833333333333
307.16.842166666666670.257833333333333
317.57.192166666666670.307833333333334
327.57.192166666666670.307833333333333
337.67.2060.394
347.77.2460.454
357.77.2060.494
367.97.4940.406000000000001
378.17.557833333333330.542166666666665
388.27.52450.675499999999999
398.27.32450.8755
408.17.141166666666670.958833333333333
417.96.941166666666670.958833333333334
427.36.691166666666670.608833333333333
436.97.04116666666667-0.141166666666666
446.67.04116666666667-0.441166666666667
456.77.055-0.355
466.97.095-0.195000000000000
4777.055-0.0550000000000002
487.17.208-0.108000000000000
497.27.27183333333333-0.0718333333333345
507.17.2385-0.138500000000000
516.97.0385-0.138499999999999
5276.855166666666670.144833333333334
536.86.655166666666670.144833333333333
546.46.40516666666667-0.00516666666666602
556.76.75516666666667-0.0551666666666663
566.76.75516666666667-0.0551666666666664
576.46.769-0.368999999999999
586.36.809-0.509
596.26.769-0.569
606.56.922-0.421999999999999
616.86.98583333333333-0.185833333333335
626.86.9525-0.152500000000000
636.56.7525-0.252500000000000
646.36.56916666666667-0.269166666666666
655.96.36916666666667-0.469166666666666
665.96.11916666666667-0.219166666666666
676.46.46916666666667-0.069166666666666
686.46.46916666666667-0.069166666666666

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 7.8 & 8.28083333333332 & -0.480833333333324 \tabularnewline
2 & 7.6 & 8.2475 & -0.6475 \tabularnewline
3 & 7.5 & 8.0475 & -0.547500000000001 \tabularnewline
4 & 7.6 & 7.86416666666667 & -0.264166666666666 \tabularnewline
5 & 7.5 & 7.66416666666667 & -0.164166666666668 \tabularnewline
6 & 7.3 & 7.41416666666667 & -0.114166666666667 \tabularnewline
7 & 7.6 & 7.76416666666667 & -0.164166666666668 \tabularnewline
8 & 7.5 & 7.76416666666667 & -0.264166666666667 \tabularnewline
9 & 7.6 & 7.778 & -0.178 \tabularnewline
10 & 7.9 & 7.818 & 0.0819999999999997 \tabularnewline
11 & 7.9 & 7.778 & 0.122000000000000 \tabularnewline
12 & 8.1 & 7.931 & 0.169000000000000 \tabularnewline
13 & 8.2 & 7.99483333333334 & 0.205166666666664 \tabularnewline
14 & 8 & 7.9615 & 0.0385000000000004 \tabularnewline
15 & 7.5 & 7.7615 & -0.2615 \tabularnewline
16 & 6.8 & 7.57816666666667 & -0.778166666666667 \tabularnewline
17 & 6.5 & 7.37816666666667 & -0.878166666666667 \tabularnewline
18 & 6.6 & 7.12816666666667 & -0.528166666666667 \tabularnewline
19 & 7.6 & 7.47816666666667 & 0.121833333333333 \tabularnewline
20 & 8 & 7.47816666666667 & 0.521833333333333 \tabularnewline
21 & 8 & 7.492 & 0.508 \tabularnewline
22 & 7.7 & 7.532 & 0.168 \tabularnewline
23 & 7.5 & 7.492 & 0.00799999999999969 \tabularnewline
24 & 7.6 & 7.645 & -0.0449999999999998 \tabularnewline
25 & 7.7 & 7.70883333333333 & -0.0088333333333347 \tabularnewline
26 & 7.9 & 7.6755 & 0.2245 \tabularnewline
27 & 7.8 & 7.4755 & 0.3245 \tabularnewline
28 & 7.5 & 7.29216666666667 & 0.207833333333334 \tabularnewline
29 & 7.5 & 7.09216666666667 & 0.407833333333333 \tabularnewline
30 & 7.1 & 6.84216666666667 & 0.257833333333333 \tabularnewline
31 & 7.5 & 7.19216666666667 & 0.307833333333334 \tabularnewline
32 & 7.5 & 7.19216666666667 & 0.307833333333333 \tabularnewline
33 & 7.6 & 7.206 & 0.394 \tabularnewline
34 & 7.7 & 7.246 & 0.454 \tabularnewline
35 & 7.7 & 7.206 & 0.494 \tabularnewline
36 & 7.9 & 7.494 & 0.406000000000001 \tabularnewline
37 & 8.1 & 7.55783333333333 & 0.542166666666665 \tabularnewline
38 & 8.2 & 7.5245 & 0.675499999999999 \tabularnewline
39 & 8.2 & 7.3245 & 0.8755 \tabularnewline
40 & 8.1 & 7.14116666666667 & 0.958833333333333 \tabularnewline
41 & 7.9 & 6.94116666666667 & 0.958833333333334 \tabularnewline
42 & 7.3 & 6.69116666666667 & 0.608833333333333 \tabularnewline
43 & 6.9 & 7.04116666666667 & -0.141166666666666 \tabularnewline
44 & 6.6 & 7.04116666666667 & -0.441166666666667 \tabularnewline
45 & 6.7 & 7.055 & -0.355 \tabularnewline
46 & 6.9 & 7.095 & -0.195000000000000 \tabularnewline
47 & 7 & 7.055 & -0.0550000000000002 \tabularnewline
48 & 7.1 & 7.208 & -0.108000000000000 \tabularnewline
49 & 7.2 & 7.27183333333333 & -0.0718333333333345 \tabularnewline
50 & 7.1 & 7.2385 & -0.138500000000000 \tabularnewline
51 & 6.9 & 7.0385 & -0.138499999999999 \tabularnewline
52 & 7 & 6.85516666666667 & 0.144833333333334 \tabularnewline
53 & 6.8 & 6.65516666666667 & 0.144833333333333 \tabularnewline
54 & 6.4 & 6.40516666666667 & -0.00516666666666602 \tabularnewline
55 & 6.7 & 6.75516666666667 & -0.0551666666666663 \tabularnewline
56 & 6.7 & 6.75516666666667 & -0.0551666666666664 \tabularnewline
57 & 6.4 & 6.769 & -0.368999999999999 \tabularnewline
58 & 6.3 & 6.809 & -0.509 \tabularnewline
59 & 6.2 & 6.769 & -0.569 \tabularnewline
60 & 6.5 & 6.922 & -0.421999999999999 \tabularnewline
61 & 6.8 & 6.98583333333333 & -0.185833333333335 \tabularnewline
62 & 6.8 & 6.9525 & -0.152500000000000 \tabularnewline
63 & 6.5 & 6.7525 & -0.252500000000000 \tabularnewline
64 & 6.3 & 6.56916666666667 & -0.269166666666666 \tabularnewline
65 & 5.9 & 6.36916666666667 & -0.469166666666666 \tabularnewline
66 & 5.9 & 6.11916666666667 & -0.219166666666666 \tabularnewline
67 & 6.4 & 6.46916666666667 & -0.069166666666666 \tabularnewline
68 & 6.4 & 6.46916666666667 & -0.069166666666666 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27271&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.28083333333332[/C][C]-0.480833333333324[/C][/ROW]
[ROW][C]2[/C][C]7.6[/C][C]8.2475[/C][C]-0.6475[/C][/ROW]
[ROW][C]3[/C][C]7.5[/C][C]8.0475[/C][C]-0.547500000000001[/C][/ROW]
[ROW][C]4[/C][C]7.6[/C][C]7.86416666666667[/C][C]-0.264166666666666[/C][/ROW]
[ROW][C]5[/C][C]7.5[/C][C]7.66416666666667[/C][C]-0.164166666666668[/C][/ROW]
[ROW][C]6[/C][C]7.3[/C][C]7.41416666666667[/C][C]-0.114166666666667[/C][/ROW]
[ROW][C]7[/C][C]7.6[/C][C]7.76416666666667[/C][C]-0.164166666666668[/C][/ROW]
[ROW][C]8[/C][C]7.5[/C][C]7.76416666666667[/C][C]-0.264166666666667[/C][/ROW]
[ROW][C]9[/C][C]7.6[/C][C]7.778[/C][C]-0.178[/C][/ROW]
[ROW][C]10[/C][C]7.9[/C][C]7.818[/C][C]0.0819999999999997[/C][/ROW]
[ROW][C]11[/C][C]7.9[/C][C]7.778[/C][C]0.122000000000000[/C][/ROW]
[ROW][C]12[/C][C]8.1[/C][C]7.931[/C][C]0.169000000000000[/C][/ROW]
[ROW][C]13[/C][C]8.2[/C][C]7.99483333333334[/C][C]0.205166666666664[/C][/ROW]
[ROW][C]14[/C][C]8[/C][C]7.9615[/C][C]0.0385000000000004[/C][/ROW]
[ROW][C]15[/C][C]7.5[/C][C]7.7615[/C][C]-0.2615[/C][/ROW]
[ROW][C]16[/C][C]6.8[/C][C]7.57816666666667[/C][C]-0.778166666666667[/C][/ROW]
[ROW][C]17[/C][C]6.5[/C][C]7.37816666666667[/C][C]-0.878166666666667[/C][/ROW]
[ROW][C]18[/C][C]6.6[/C][C]7.12816666666667[/C][C]-0.528166666666667[/C][/ROW]
[ROW][C]19[/C][C]7.6[/C][C]7.47816666666667[/C][C]0.121833333333333[/C][/ROW]
[ROW][C]20[/C][C]8[/C][C]7.47816666666667[/C][C]0.521833333333333[/C][/ROW]
[ROW][C]21[/C][C]8[/C][C]7.492[/C][C]0.508[/C][/ROW]
[ROW][C]22[/C][C]7.7[/C][C]7.532[/C][C]0.168[/C][/ROW]
[ROW][C]23[/C][C]7.5[/C][C]7.492[/C][C]0.00799999999999969[/C][/ROW]
[ROW][C]24[/C][C]7.6[/C][C]7.645[/C][C]-0.0449999999999998[/C][/ROW]
[ROW][C]25[/C][C]7.7[/C][C]7.70883333333333[/C][C]-0.0088333333333347[/C][/ROW]
[ROW][C]26[/C][C]7.9[/C][C]7.6755[/C][C]0.2245[/C][/ROW]
[ROW][C]27[/C][C]7.8[/C][C]7.4755[/C][C]0.3245[/C][/ROW]
[ROW][C]28[/C][C]7.5[/C][C]7.29216666666667[/C][C]0.207833333333334[/C][/ROW]
[ROW][C]29[/C][C]7.5[/C][C]7.09216666666667[/C][C]0.407833333333333[/C][/ROW]
[ROW][C]30[/C][C]7.1[/C][C]6.84216666666667[/C][C]0.257833333333333[/C][/ROW]
[ROW][C]31[/C][C]7.5[/C][C]7.19216666666667[/C][C]0.307833333333334[/C][/ROW]
[ROW][C]32[/C][C]7.5[/C][C]7.19216666666667[/C][C]0.307833333333333[/C][/ROW]
[ROW][C]33[/C][C]7.6[/C][C]7.206[/C][C]0.394[/C][/ROW]
[ROW][C]34[/C][C]7.7[/C][C]7.246[/C][C]0.454[/C][/ROW]
[ROW][C]35[/C][C]7.7[/C][C]7.206[/C][C]0.494[/C][/ROW]
[ROW][C]36[/C][C]7.9[/C][C]7.494[/C][C]0.406000000000001[/C][/ROW]
[ROW][C]37[/C][C]8.1[/C][C]7.55783333333333[/C][C]0.542166666666665[/C][/ROW]
[ROW][C]38[/C][C]8.2[/C][C]7.5245[/C][C]0.675499999999999[/C][/ROW]
[ROW][C]39[/C][C]8.2[/C][C]7.3245[/C][C]0.8755[/C][/ROW]
[ROW][C]40[/C][C]8.1[/C][C]7.14116666666667[/C][C]0.958833333333333[/C][/ROW]
[ROW][C]41[/C][C]7.9[/C][C]6.94116666666667[/C][C]0.958833333333334[/C][/ROW]
[ROW][C]42[/C][C]7.3[/C][C]6.69116666666667[/C][C]0.608833333333333[/C][/ROW]
[ROW][C]43[/C][C]6.9[/C][C]7.04116666666667[/C][C]-0.141166666666666[/C][/ROW]
[ROW][C]44[/C][C]6.6[/C][C]7.04116666666667[/C][C]-0.441166666666667[/C][/ROW]
[ROW][C]45[/C][C]6.7[/C][C]7.055[/C][C]-0.355[/C][/ROW]
[ROW][C]46[/C][C]6.9[/C][C]7.095[/C][C]-0.195000000000000[/C][/ROW]
[ROW][C]47[/C][C]7[/C][C]7.055[/C][C]-0.0550000000000002[/C][/ROW]
[ROW][C]48[/C][C]7.1[/C][C]7.208[/C][C]-0.108000000000000[/C][/ROW]
[ROW][C]49[/C][C]7.2[/C][C]7.27183333333333[/C][C]-0.0718333333333345[/C][/ROW]
[ROW][C]50[/C][C]7.1[/C][C]7.2385[/C][C]-0.138500000000000[/C][/ROW]
[ROW][C]51[/C][C]6.9[/C][C]7.0385[/C][C]-0.138499999999999[/C][/ROW]
[ROW][C]52[/C][C]7[/C][C]6.85516666666667[/C][C]0.144833333333334[/C][/ROW]
[ROW][C]53[/C][C]6.8[/C][C]6.65516666666667[/C][C]0.144833333333333[/C][/ROW]
[ROW][C]54[/C][C]6.4[/C][C]6.40516666666667[/C][C]-0.00516666666666602[/C][/ROW]
[ROW][C]55[/C][C]6.7[/C][C]6.75516666666667[/C][C]-0.0551666666666663[/C][/ROW]
[ROW][C]56[/C][C]6.7[/C][C]6.75516666666667[/C][C]-0.0551666666666664[/C][/ROW]
[ROW][C]57[/C][C]6.4[/C][C]6.769[/C][C]-0.368999999999999[/C][/ROW]
[ROW][C]58[/C][C]6.3[/C][C]6.809[/C][C]-0.509[/C][/ROW]
[ROW][C]59[/C][C]6.2[/C][C]6.769[/C][C]-0.569[/C][/ROW]
[ROW][C]60[/C][C]6.5[/C][C]6.922[/C][C]-0.421999999999999[/C][/ROW]
[ROW][C]61[/C][C]6.8[/C][C]6.98583333333333[/C][C]-0.185833333333335[/C][/ROW]
[ROW][C]62[/C][C]6.8[/C][C]6.9525[/C][C]-0.152500000000000[/C][/ROW]
[ROW][C]63[/C][C]6.5[/C][C]6.7525[/C][C]-0.252500000000000[/C][/ROW]
[ROW][C]64[/C][C]6.3[/C][C]6.56916666666667[/C][C]-0.269166666666666[/C][/ROW]
[ROW][C]65[/C][C]5.9[/C][C]6.36916666666667[/C][C]-0.469166666666666[/C][/ROW]
[ROW][C]66[/C][C]5.9[/C][C]6.11916666666667[/C][C]-0.219166666666666[/C][/ROW]
[ROW][C]67[/C][C]6.4[/C][C]6.46916666666667[/C][C]-0.069166666666666[/C][/ROW]
[ROW][C]68[/C][C]6.4[/C][C]6.46916666666667[/C][C]-0.069166666666666[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27271&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27271&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.28083333333332-0.480833333333324
27.68.2475-0.6475
37.58.0475-0.547500000000001
47.67.86416666666667-0.264166666666666
57.57.66416666666667-0.164166666666668
67.37.41416666666667-0.114166666666667
77.67.76416666666667-0.164166666666668
87.57.76416666666667-0.264166666666667
97.67.778-0.178
107.97.8180.0819999999999997
117.97.7780.122000000000000
128.17.9310.169000000000000
138.27.994833333333340.205166666666664
1487.96150.0385000000000004
157.57.7615-0.2615
166.87.57816666666667-0.778166666666667
176.57.37816666666667-0.878166666666667
186.67.12816666666667-0.528166666666667
197.67.478166666666670.121833333333333
2087.478166666666670.521833333333333
2187.4920.508
227.77.5320.168
237.57.4920.00799999999999969
247.67.645-0.0449999999999998
257.77.70883333333333-0.0088333333333347
267.97.67550.2245
277.87.47550.3245
287.57.292166666666670.207833333333334
297.57.092166666666670.407833333333333
307.16.842166666666670.257833333333333
317.57.192166666666670.307833333333334
327.57.192166666666670.307833333333333
337.67.2060.394
347.77.2460.454
357.77.2060.494
367.97.4940.406000000000001
378.17.557833333333330.542166666666665
388.27.52450.675499999999999
398.27.32450.8755
408.17.141166666666670.958833333333333
417.96.941166666666670.958833333333334
427.36.691166666666670.608833333333333
436.97.04116666666667-0.141166666666666
446.67.04116666666667-0.441166666666667
456.77.055-0.355
466.97.095-0.195000000000000
4777.055-0.0550000000000002
487.17.208-0.108000000000000
497.27.27183333333333-0.0718333333333345
507.17.2385-0.138500000000000
516.97.0385-0.138499999999999
5276.855166666666670.144833333333334
536.86.655166666666670.144833333333333
546.46.40516666666667-0.00516666666666602
556.76.75516666666667-0.0551666666666663
566.76.75516666666667-0.0551666666666664
576.46.769-0.368999999999999
586.36.809-0.509
596.26.769-0.569
606.56.922-0.421999999999999
616.86.98583333333333-0.185833333333335
626.86.9525-0.152500000000000
636.56.7525-0.252500000000000
646.36.56916666666667-0.269166666666666
655.96.36916666666667-0.469166666666666
665.96.11916666666667-0.219166666666666
676.46.46916666666667-0.069166666666666
686.46.46916666666667-0.069166666666666



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