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 computationThu, 27 Nov 2008 06:04:37 -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/27/t1227791732rn6h668h5rc7f0j.htm/, Retrieved Sun, 19 May 2024 11:10:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25800, Retrieved Sun, 19 May 2024 11:10:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact175
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] [blok 11 opdracht ...] [2008-11-27 10:58:21] [6173c35e31b784a490c8cd5476f785d4]
-    D      [Multiple Regression] [blok 11 Q3 eigen ...] [2008-11-27 13:04:37] [1237f4df7e9be807e4c0a07b90c45721] [Current]
F    D        [Multiple Regression] [blok 11 Q3 eigen ...] [2008-11-27 14:25:18] [6173c35e31b784a490c8cd5476f785d4]
Feedback Forum

Post a new message
Dataseries X:
13	0
8	0
7	0
3	0
3	0
4	0
4	0
0	0
-4	0
-14	1
-18	1
-8	1
-1	1
1	1
2	1
0	1
1	1
0	1
-1	1
-3	1
-3	1
-3	1
-4	1
-8	1
-9	1
-13	1
-18	1
-11	1
-9	1
-10	1
-13	1
-11	1
-5	1
-15	1
-6	1
-6	1
-3	1
-1	1
-3	1
-4	1
-6	1
0	1
-4	1
-2	1
-2	1
-6	1
-7	1
-6	1
-6	1
-3	1
-2	1
-5	1
-11	1
-11	1
-11	1
-10	1
-14	1
-8	1
-9	1
-5	1
-1	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25800&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25800&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25800&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 time4 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 3.32137931034485 -8.79827586206899D[t] + 3.8109674329502M1[t] + 2.92837164750959M2[t] + 1.75956896551725M3[t] + 1.19076628352491M4[t] + 0.221963601532572M5[t] + 1.25316091954024M6[t] -0.315641762452104M7[t] -0.484444444444441M8[t] -0.853247126436776M9[t] -2.66239463601532M10[t] -2.23119731800765M11[t] -0.0311973180076629t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  3.32137931034485 -8.79827586206899D[t] +  3.8109674329502M1[t] +  2.92837164750959M2[t] +  1.75956896551725M3[t] +  1.19076628352491M4[t] +  0.221963601532572M5[t] +  1.25316091954024M6[t] -0.315641762452104M7[t] -0.484444444444441M8[t] -0.853247126436776M9[t] -2.66239463601532M10[t] -2.23119731800765M11[t] -0.0311973180076629t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25800&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  3.32137931034485 -8.79827586206899D[t] +  3.8109674329502M1[t] +  2.92837164750959M2[t] +  1.75956896551725M3[t] +  1.19076628352491M4[t] +  0.221963601532572M5[t] +  1.25316091954024M6[t] -0.315641762452104M7[t] -0.484444444444441M8[t] -0.853247126436776M9[t] -2.66239463601532M10[t] -2.23119731800765M11[t] -0.0311973180076629t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25800&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25800&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] = + 3.32137931034485 -8.79827586206899D[t] + 3.8109674329502M1[t] + 2.92837164750959M2[t] + 1.75956896551725M3[t] + 1.19076628352491M4[t] + 0.221963601532572M5[t] + 1.25316091954024M6[t] -0.315641762452104M7[t] -0.484444444444441M8[t] -0.853247126436776M9[t] -2.66239463601532M10[t] -2.23119731800765M11[t] -0.0311973180076629t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3.321379310344852.9951211.10890.2731030.136551
D-8.798275862068992.405891-3.6570.0006430.000322
M13.81096743295023.1234441.22010.2285070.114254
M22.928371647509593.2729310.89470.3754940.187747
M31.759568965517253.2705880.5380.5931170.296559
M41.190766283524913.2689410.36430.7172930.358646
M50.2219636015325723.2679910.06790.9461370.473069
M61.253160919540243.2677380.38350.7030820.351541
M7-0.3156417624521043.268183-0.09660.923470.461735
M8-0.4844444444444413.269326-0.14820.8828360.441418
M9-0.8532471264367763.271166-0.26080.7953560.397678
M10-2.662394636015323.24678-0.820.4163490.208175
M11-2.231197318007653.245726-0.68740.4951930.247596
t-0.03119731800766290.047754-0.65330.516750.258375

\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) & 3.32137931034485 & 2.995121 & 1.1089 & 0.273103 & 0.136551 \tabularnewline
D & -8.79827586206899 & 2.405891 & -3.657 & 0.000643 & 0.000322 \tabularnewline
M1 & 3.8109674329502 & 3.123444 & 1.2201 & 0.228507 & 0.114254 \tabularnewline
M2 & 2.92837164750959 & 3.272931 & 0.8947 & 0.375494 & 0.187747 \tabularnewline
M3 & 1.75956896551725 & 3.270588 & 0.538 & 0.593117 & 0.296559 \tabularnewline
M4 & 1.19076628352491 & 3.268941 & 0.3643 & 0.717293 & 0.358646 \tabularnewline
M5 & 0.221963601532572 & 3.267991 & 0.0679 & 0.946137 & 0.473069 \tabularnewline
M6 & 1.25316091954024 & 3.267738 & 0.3835 & 0.703082 & 0.351541 \tabularnewline
M7 & -0.315641762452104 & 3.268183 & -0.0966 & 0.92347 & 0.461735 \tabularnewline
M8 & -0.484444444444441 & 3.269326 & -0.1482 & 0.882836 & 0.441418 \tabularnewline
M9 & -0.853247126436776 & 3.271166 & -0.2608 & 0.795356 & 0.397678 \tabularnewline
M10 & -2.66239463601532 & 3.24678 & -0.82 & 0.416349 & 0.208175 \tabularnewline
M11 & -2.23119731800765 & 3.245726 & -0.6874 & 0.495193 & 0.247596 \tabularnewline
t & -0.0311973180076629 & 0.047754 & -0.6533 & 0.51675 & 0.258375 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25800&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]3.32137931034485[/C][C]2.995121[/C][C]1.1089[/C][C]0.273103[/C][C]0.136551[/C][/ROW]
[ROW][C]D[/C][C]-8.79827586206899[/C][C]2.405891[/C][C]-3.657[/C][C]0.000643[/C][C]0.000322[/C][/ROW]
[ROW][C]M1[/C][C]3.8109674329502[/C][C]3.123444[/C][C]1.2201[/C][C]0.228507[/C][C]0.114254[/C][/ROW]
[ROW][C]M2[/C][C]2.92837164750959[/C][C]3.272931[/C][C]0.8947[/C][C]0.375494[/C][C]0.187747[/C][/ROW]
[ROW][C]M3[/C][C]1.75956896551725[/C][C]3.270588[/C][C]0.538[/C][C]0.593117[/C][C]0.296559[/C][/ROW]
[ROW][C]M4[/C][C]1.19076628352491[/C][C]3.268941[/C][C]0.3643[/C][C]0.717293[/C][C]0.358646[/C][/ROW]
[ROW][C]M5[/C][C]0.221963601532572[/C][C]3.267991[/C][C]0.0679[/C][C]0.946137[/C][C]0.473069[/C][/ROW]
[ROW][C]M6[/C][C]1.25316091954024[/C][C]3.267738[/C][C]0.3835[/C][C]0.703082[/C][C]0.351541[/C][/ROW]
[ROW][C]M7[/C][C]-0.315641762452104[/C][C]3.268183[/C][C]-0.0966[/C][C]0.92347[/C][C]0.461735[/C][/ROW]
[ROW][C]M8[/C][C]-0.484444444444441[/C][C]3.269326[/C][C]-0.1482[/C][C]0.882836[/C][C]0.441418[/C][/ROW]
[ROW][C]M9[/C][C]-0.853247126436776[/C][C]3.271166[/C][C]-0.2608[/C][C]0.795356[/C][C]0.397678[/C][/ROW]
[ROW][C]M10[/C][C]-2.66239463601532[/C][C]3.24678[/C][C]-0.82[/C][C]0.416349[/C][C]0.208175[/C][/ROW]
[ROW][C]M11[/C][C]-2.23119731800765[/C][C]3.245726[/C][C]-0.6874[/C][C]0.495193[/C][C]0.247596[/C][/ROW]
[ROW][C]t[/C][C]-0.0311973180076629[/C][C]0.047754[/C][C]-0.6533[/C][C]0.51675[/C][C]0.258375[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25800&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25800&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)3.321379310344852.9951211.10890.2731030.136551
D-8.798275862068992.405891-3.6570.0006430.000322
M13.81096743295023.1234441.22010.2285070.114254
M22.928371647509593.2729310.89470.3754940.187747
M31.759568965517253.2705880.5380.5931170.296559
M41.190766283524913.2689410.36430.7172930.358646
M50.2219636015325723.2679910.06790.9461370.473069
M61.253160919540243.2677380.38350.7030820.351541
M7-0.3156417624521043.268183-0.09660.923470.461735
M8-0.4844444444444413.269326-0.14820.8828360.441418
M9-0.8532471264367763.271166-0.26080.7953560.397678
M10-2.662394636015323.24678-0.820.4163490.208175
M11-2.231197318007653.245726-0.68740.4951930.247596
t-0.03119731800766290.047754-0.65330.516750.258375







Multiple Linear Regression - Regression Statistics
Multiple R0.680458196061591
R-squared0.463023356587394
Adjusted R-squared0.31449790202646
F-TEST (value)3.1174680323731
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00210479876690073
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.13138840663048
Sum Squared Residuals1237.56390804598

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.680458196061591 \tabularnewline
R-squared & 0.463023356587394 \tabularnewline
Adjusted R-squared & 0.31449790202646 \tabularnewline
F-TEST (value) & 3.1174680323731 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00210479876690073 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.13138840663048 \tabularnewline
Sum Squared Residuals & 1237.56390804598 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25800&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.680458196061591[/C][/ROW]
[ROW][C]R-squared[/C][C]0.463023356587394[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.31449790202646[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.1174680323731[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00210479876690073[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.13138840663048[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1237.56390804598[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25800&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25800&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.680458196061591
R-squared0.463023356587394
Adjusted R-squared0.31449790202646
F-TEST (value)3.1174680323731
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00210479876690073
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.13138840663048
Sum Squared Residuals1237.56390804598







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1137.101149425287335.89885057471267
286.187356321839051.81264367816095
374.987356321839092.01264367816091
434.38735632183909-1.38735632183909
533.38735632183908-0.387356321839084
644.38735632183908-0.387356321839079
742.787356321839081.21264367816092
802.58735632183908-2.58735632183908
9-42.18735632183908-6.18735632183908
10-14-8.45126436781609-5.54873563218391
11-18-8.05126436781609-9.94873563218391
12-8-5.85126436781609-2.14873563218391
13-1-2.071494252873561.07149425287356
141-2.985287356321823.98528735632182
152-4.185287356321846.18528735632184
160-4.785287356321844.78528735632184
171-5.785287356321846.78528735632184
180-4.785287356321844.78528735632184
19-1-6.385287356321845.38528735632184
20-3-6.585287356321843.58528735632184
21-3-6.985287356321843.98528735632184
22-3-8.825632183908045.82563218390804
23-4-8.425632183908044.42563218390804
24-8-6.22563218390805-1.77436781609195
25-9-2.44586206896551-6.55413793103449
26-13-3.35965517241379-9.64034482758621
27-18-4.55965517241379-13.4403448275862
28-11-5.1596551724138-5.8403448275862
29-9-6.15965517241379-2.84034482758621
30-10-5.15965517241379-4.84034482758621
31-13-6.7596551724138-6.24034482758621
32-11-6.9596551724138-4.0403448275862
33-5-7.35965517241382.35965517241379
34-15-9.2-5.8
35-6-8.82.80000000000000
36-6-6.60.600000000000005
37-3-2.82022988505747-0.179770114942532
38-1-3.734022988505742.73402298850574
39-3-4.934022988505751.93402298850575
40-4-5.534022988505751.53402298850575
41-6-6.534022988505750.534022988505747
420-5.534022988505755.53402298850575
43-4-7.134022988505753.13402298850575
44-2-7.334022988505755.33402298850575
45-2-7.734022988505755.73402298850575
46-6-9.574367816091953.57436781609195
47-7-9.174367816091952.17436781609195
48-6-6.974367816091960.97436781609196
49-6-3.19459770114942-2.80540229885058
50-3-4.108390804597691.10839080459769
51-2-5.30839080459773.30839080459770
52-5-5.90839080459770.908390804597704
53-11-6.9083908045977-4.0916091954023
54-11-5.9083908045977-5.0916091954023
55-11-7.5083908045977-3.49160919540230
56-10-7.7083908045977-2.29160919540230
57-14-8.1083908045977-5.8916091954023
58-8-9.94873563218391.94873563218391
59-9-9.54873563218390.548735632183907
60-5-7.348735632183922.34873563218392
61-1-3.568965517241382.56896551724138

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 13 & 7.10114942528733 & 5.89885057471267 \tabularnewline
2 & 8 & 6.18735632183905 & 1.81264367816095 \tabularnewline
3 & 7 & 4.98735632183909 & 2.01264367816091 \tabularnewline
4 & 3 & 4.38735632183909 & -1.38735632183909 \tabularnewline
5 & 3 & 3.38735632183908 & -0.387356321839084 \tabularnewline
6 & 4 & 4.38735632183908 & -0.387356321839079 \tabularnewline
7 & 4 & 2.78735632183908 & 1.21264367816092 \tabularnewline
8 & 0 & 2.58735632183908 & -2.58735632183908 \tabularnewline
9 & -4 & 2.18735632183908 & -6.18735632183908 \tabularnewline
10 & -14 & -8.45126436781609 & -5.54873563218391 \tabularnewline
11 & -18 & -8.05126436781609 & -9.94873563218391 \tabularnewline
12 & -8 & -5.85126436781609 & -2.14873563218391 \tabularnewline
13 & -1 & -2.07149425287356 & 1.07149425287356 \tabularnewline
14 & 1 & -2.98528735632182 & 3.98528735632182 \tabularnewline
15 & 2 & -4.18528735632184 & 6.18528735632184 \tabularnewline
16 & 0 & -4.78528735632184 & 4.78528735632184 \tabularnewline
17 & 1 & -5.78528735632184 & 6.78528735632184 \tabularnewline
18 & 0 & -4.78528735632184 & 4.78528735632184 \tabularnewline
19 & -1 & -6.38528735632184 & 5.38528735632184 \tabularnewline
20 & -3 & -6.58528735632184 & 3.58528735632184 \tabularnewline
21 & -3 & -6.98528735632184 & 3.98528735632184 \tabularnewline
22 & -3 & -8.82563218390804 & 5.82563218390804 \tabularnewline
23 & -4 & -8.42563218390804 & 4.42563218390804 \tabularnewline
24 & -8 & -6.22563218390805 & -1.77436781609195 \tabularnewline
25 & -9 & -2.44586206896551 & -6.55413793103449 \tabularnewline
26 & -13 & -3.35965517241379 & -9.64034482758621 \tabularnewline
27 & -18 & -4.55965517241379 & -13.4403448275862 \tabularnewline
28 & -11 & -5.1596551724138 & -5.8403448275862 \tabularnewline
29 & -9 & -6.15965517241379 & -2.84034482758621 \tabularnewline
30 & -10 & -5.15965517241379 & -4.84034482758621 \tabularnewline
31 & -13 & -6.7596551724138 & -6.24034482758621 \tabularnewline
32 & -11 & -6.9596551724138 & -4.0403448275862 \tabularnewline
33 & -5 & -7.3596551724138 & 2.35965517241379 \tabularnewline
34 & -15 & -9.2 & -5.8 \tabularnewline
35 & -6 & -8.8 & 2.80000000000000 \tabularnewline
36 & -6 & -6.6 & 0.600000000000005 \tabularnewline
37 & -3 & -2.82022988505747 & -0.179770114942532 \tabularnewline
38 & -1 & -3.73402298850574 & 2.73402298850574 \tabularnewline
39 & -3 & -4.93402298850575 & 1.93402298850575 \tabularnewline
40 & -4 & -5.53402298850575 & 1.53402298850575 \tabularnewline
41 & -6 & -6.53402298850575 & 0.534022988505747 \tabularnewline
42 & 0 & -5.53402298850575 & 5.53402298850575 \tabularnewline
43 & -4 & -7.13402298850575 & 3.13402298850575 \tabularnewline
44 & -2 & -7.33402298850575 & 5.33402298850575 \tabularnewline
45 & -2 & -7.73402298850575 & 5.73402298850575 \tabularnewline
46 & -6 & -9.57436781609195 & 3.57436781609195 \tabularnewline
47 & -7 & -9.17436781609195 & 2.17436781609195 \tabularnewline
48 & -6 & -6.97436781609196 & 0.97436781609196 \tabularnewline
49 & -6 & -3.19459770114942 & -2.80540229885058 \tabularnewline
50 & -3 & -4.10839080459769 & 1.10839080459769 \tabularnewline
51 & -2 & -5.3083908045977 & 3.30839080459770 \tabularnewline
52 & -5 & -5.9083908045977 & 0.908390804597704 \tabularnewline
53 & -11 & -6.9083908045977 & -4.0916091954023 \tabularnewline
54 & -11 & -5.9083908045977 & -5.0916091954023 \tabularnewline
55 & -11 & -7.5083908045977 & -3.49160919540230 \tabularnewline
56 & -10 & -7.7083908045977 & -2.29160919540230 \tabularnewline
57 & -14 & -8.1083908045977 & -5.8916091954023 \tabularnewline
58 & -8 & -9.9487356321839 & 1.94873563218391 \tabularnewline
59 & -9 & -9.5487356321839 & 0.548735632183907 \tabularnewline
60 & -5 & -7.34873563218392 & 2.34873563218392 \tabularnewline
61 & -1 & -3.56896551724138 & 2.56896551724138 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25800&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]13[/C][C]7.10114942528733[/C][C]5.89885057471267[/C][/ROW]
[ROW][C]2[/C][C]8[/C][C]6.18735632183905[/C][C]1.81264367816095[/C][/ROW]
[ROW][C]3[/C][C]7[/C][C]4.98735632183909[/C][C]2.01264367816091[/C][/ROW]
[ROW][C]4[/C][C]3[/C][C]4.38735632183909[/C][C]-1.38735632183909[/C][/ROW]
[ROW][C]5[/C][C]3[/C][C]3.38735632183908[/C][C]-0.387356321839084[/C][/ROW]
[ROW][C]6[/C][C]4[/C][C]4.38735632183908[/C][C]-0.387356321839079[/C][/ROW]
[ROW][C]7[/C][C]4[/C][C]2.78735632183908[/C][C]1.21264367816092[/C][/ROW]
[ROW][C]8[/C][C]0[/C][C]2.58735632183908[/C][C]-2.58735632183908[/C][/ROW]
[ROW][C]9[/C][C]-4[/C][C]2.18735632183908[/C][C]-6.18735632183908[/C][/ROW]
[ROW][C]10[/C][C]-14[/C][C]-8.45126436781609[/C][C]-5.54873563218391[/C][/ROW]
[ROW][C]11[/C][C]-18[/C][C]-8.05126436781609[/C][C]-9.94873563218391[/C][/ROW]
[ROW][C]12[/C][C]-8[/C][C]-5.85126436781609[/C][C]-2.14873563218391[/C][/ROW]
[ROW][C]13[/C][C]-1[/C][C]-2.07149425287356[/C][C]1.07149425287356[/C][/ROW]
[ROW][C]14[/C][C]1[/C][C]-2.98528735632182[/C][C]3.98528735632182[/C][/ROW]
[ROW][C]15[/C][C]2[/C][C]-4.18528735632184[/C][C]6.18528735632184[/C][/ROW]
[ROW][C]16[/C][C]0[/C][C]-4.78528735632184[/C][C]4.78528735632184[/C][/ROW]
[ROW][C]17[/C][C]1[/C][C]-5.78528735632184[/C][C]6.78528735632184[/C][/ROW]
[ROW][C]18[/C][C]0[/C][C]-4.78528735632184[/C][C]4.78528735632184[/C][/ROW]
[ROW][C]19[/C][C]-1[/C][C]-6.38528735632184[/C][C]5.38528735632184[/C][/ROW]
[ROW][C]20[/C][C]-3[/C][C]-6.58528735632184[/C][C]3.58528735632184[/C][/ROW]
[ROW][C]21[/C][C]-3[/C][C]-6.98528735632184[/C][C]3.98528735632184[/C][/ROW]
[ROW][C]22[/C][C]-3[/C][C]-8.82563218390804[/C][C]5.82563218390804[/C][/ROW]
[ROW][C]23[/C][C]-4[/C][C]-8.42563218390804[/C][C]4.42563218390804[/C][/ROW]
[ROW][C]24[/C][C]-8[/C][C]-6.22563218390805[/C][C]-1.77436781609195[/C][/ROW]
[ROW][C]25[/C][C]-9[/C][C]-2.44586206896551[/C][C]-6.55413793103449[/C][/ROW]
[ROW][C]26[/C][C]-13[/C][C]-3.35965517241379[/C][C]-9.64034482758621[/C][/ROW]
[ROW][C]27[/C][C]-18[/C][C]-4.55965517241379[/C][C]-13.4403448275862[/C][/ROW]
[ROW][C]28[/C][C]-11[/C][C]-5.1596551724138[/C][C]-5.8403448275862[/C][/ROW]
[ROW][C]29[/C][C]-9[/C][C]-6.15965517241379[/C][C]-2.84034482758621[/C][/ROW]
[ROW][C]30[/C][C]-10[/C][C]-5.15965517241379[/C][C]-4.84034482758621[/C][/ROW]
[ROW][C]31[/C][C]-13[/C][C]-6.7596551724138[/C][C]-6.24034482758621[/C][/ROW]
[ROW][C]32[/C][C]-11[/C][C]-6.9596551724138[/C][C]-4.0403448275862[/C][/ROW]
[ROW][C]33[/C][C]-5[/C][C]-7.3596551724138[/C][C]2.35965517241379[/C][/ROW]
[ROW][C]34[/C][C]-15[/C][C]-9.2[/C][C]-5.8[/C][/ROW]
[ROW][C]35[/C][C]-6[/C][C]-8.8[/C][C]2.80000000000000[/C][/ROW]
[ROW][C]36[/C][C]-6[/C][C]-6.6[/C][C]0.600000000000005[/C][/ROW]
[ROW][C]37[/C][C]-3[/C][C]-2.82022988505747[/C][C]-0.179770114942532[/C][/ROW]
[ROW][C]38[/C][C]-1[/C][C]-3.73402298850574[/C][C]2.73402298850574[/C][/ROW]
[ROW][C]39[/C][C]-3[/C][C]-4.93402298850575[/C][C]1.93402298850575[/C][/ROW]
[ROW][C]40[/C][C]-4[/C][C]-5.53402298850575[/C][C]1.53402298850575[/C][/ROW]
[ROW][C]41[/C][C]-6[/C][C]-6.53402298850575[/C][C]0.534022988505747[/C][/ROW]
[ROW][C]42[/C][C]0[/C][C]-5.53402298850575[/C][C]5.53402298850575[/C][/ROW]
[ROW][C]43[/C][C]-4[/C][C]-7.13402298850575[/C][C]3.13402298850575[/C][/ROW]
[ROW][C]44[/C][C]-2[/C][C]-7.33402298850575[/C][C]5.33402298850575[/C][/ROW]
[ROW][C]45[/C][C]-2[/C][C]-7.73402298850575[/C][C]5.73402298850575[/C][/ROW]
[ROW][C]46[/C][C]-6[/C][C]-9.57436781609195[/C][C]3.57436781609195[/C][/ROW]
[ROW][C]47[/C][C]-7[/C][C]-9.17436781609195[/C][C]2.17436781609195[/C][/ROW]
[ROW][C]48[/C][C]-6[/C][C]-6.97436781609196[/C][C]0.97436781609196[/C][/ROW]
[ROW][C]49[/C][C]-6[/C][C]-3.19459770114942[/C][C]-2.80540229885058[/C][/ROW]
[ROW][C]50[/C][C]-3[/C][C]-4.10839080459769[/C][C]1.10839080459769[/C][/ROW]
[ROW][C]51[/C][C]-2[/C][C]-5.3083908045977[/C][C]3.30839080459770[/C][/ROW]
[ROW][C]52[/C][C]-5[/C][C]-5.9083908045977[/C][C]0.908390804597704[/C][/ROW]
[ROW][C]53[/C][C]-11[/C][C]-6.9083908045977[/C][C]-4.0916091954023[/C][/ROW]
[ROW][C]54[/C][C]-11[/C][C]-5.9083908045977[/C][C]-5.0916091954023[/C][/ROW]
[ROW][C]55[/C][C]-11[/C][C]-7.5083908045977[/C][C]-3.49160919540230[/C][/ROW]
[ROW][C]56[/C][C]-10[/C][C]-7.7083908045977[/C][C]-2.29160919540230[/C][/ROW]
[ROW][C]57[/C][C]-14[/C][C]-8.1083908045977[/C][C]-5.8916091954023[/C][/ROW]
[ROW][C]58[/C][C]-8[/C][C]-9.9487356321839[/C][C]1.94873563218391[/C][/ROW]
[ROW][C]59[/C][C]-9[/C][C]-9.5487356321839[/C][C]0.548735632183907[/C][/ROW]
[ROW][C]60[/C][C]-5[/C][C]-7.34873563218392[/C][C]2.34873563218392[/C][/ROW]
[ROW][C]61[/C][C]-1[/C][C]-3.56896551724138[/C][C]2.56896551724138[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25800&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25800&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
1137.101149425287335.89885057471267
286.187356321839051.81264367816095
374.987356321839092.01264367816091
434.38735632183909-1.38735632183909
533.38735632183908-0.387356321839084
644.38735632183908-0.387356321839079
742.787356321839081.21264367816092
802.58735632183908-2.58735632183908
9-42.18735632183908-6.18735632183908
10-14-8.45126436781609-5.54873563218391
11-18-8.05126436781609-9.94873563218391
12-8-5.85126436781609-2.14873563218391
13-1-2.071494252873561.07149425287356
141-2.985287356321823.98528735632182
152-4.185287356321846.18528735632184
160-4.785287356321844.78528735632184
171-5.785287356321846.78528735632184
180-4.785287356321844.78528735632184
19-1-6.385287356321845.38528735632184
20-3-6.585287356321843.58528735632184
21-3-6.985287356321843.98528735632184
22-3-8.825632183908045.82563218390804
23-4-8.425632183908044.42563218390804
24-8-6.22563218390805-1.77436781609195
25-9-2.44586206896551-6.55413793103449
26-13-3.35965517241379-9.64034482758621
27-18-4.55965517241379-13.4403448275862
28-11-5.1596551724138-5.8403448275862
29-9-6.15965517241379-2.84034482758621
30-10-5.15965517241379-4.84034482758621
31-13-6.7596551724138-6.24034482758621
32-11-6.9596551724138-4.0403448275862
33-5-7.35965517241382.35965517241379
34-15-9.2-5.8
35-6-8.82.80000000000000
36-6-6.60.600000000000005
37-3-2.82022988505747-0.179770114942532
38-1-3.734022988505742.73402298850574
39-3-4.934022988505751.93402298850575
40-4-5.534022988505751.53402298850575
41-6-6.534022988505750.534022988505747
420-5.534022988505755.53402298850575
43-4-7.134022988505753.13402298850575
44-2-7.334022988505755.33402298850575
45-2-7.734022988505755.73402298850575
46-6-9.574367816091953.57436781609195
47-7-9.174367816091952.17436781609195
48-6-6.974367816091960.97436781609196
49-6-3.19459770114942-2.80540229885058
50-3-4.108390804597691.10839080459769
51-2-5.30839080459773.30839080459770
52-5-5.90839080459770.908390804597704
53-11-6.9083908045977-4.0916091954023
54-11-5.9083908045977-5.0916091954023
55-11-7.5083908045977-3.49160919540230
56-10-7.7083908045977-2.29160919540230
57-14-8.1083908045977-5.8916091954023
58-8-9.94873563218391.94873563218391
59-9-9.54873563218390.548735632183907
60-5-7.348735632183922.34873563218392
61-1-3.568965517241382.56896551724138



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