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, 11 Dec 2008 05:01:46 -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/11/t1228996963nn6ro2z8iu0ihqc.htm/, Retrieved Sun, 19 May 2024 05:35:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32177, Retrieved Sun, 19 May 2024 05:35:11 +0000
QR Codes:

Original text written by user:In samenwerking met Katrien Bourdiaudhy, Stéphanie Claes en Kevin Engels
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact230
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] [Q1 Case: the Seat...] [2008-11-19 13:07:53] [c993f605b206b366f754f7f8c1fcc291]
-   PD    [Multiple Regression] [Q3 seatbelt case] [2008-11-30 21:48:04] [7173087adebe3e3a714c80ea2417b3eb]
-    D      [Multiple Regression] [Multiple Linear R...] [2008-12-11 11:30:21] [c993f605b206b366f754f7f8c1fcc291]
-   P           [Multiple Regression] [Multiple regressi...] [2008-12-11 12:01:46] [70ba55c7ff8e068610dc28fc16e6d1e2] [Current]
Feedback Forum

Post a new message
Dataseries X:
5.014	0
6.153	0
6.441	0
5.584	0
6.427	0
6.062	0
5.589	0
6.216	0
5.809	0
4.989	0
6.706	0
7.174	0
6.122	0
8.075	0
6.292	0
6.337	0
8.576	0
6.077	0
5.931	0
6.288	0
7.167	0
6.054	0
6.468	0
6.401	0
6.927	0
7.914	0
7.728	0
8.699	0
8.522	0
6.481	0
7.502	0
7.778	0
7.424	0
6.941	0
8.574	0
9.169	0
7.701	0
9.035	0
7.158	0
8.195	0
8.124	1
7.073	1
7.017	1
7.390	1
7.776	1
6.197	1
6.889	1
7.087	1
6.485	1
7.654	1
6.501	1
6.313	1
7.826	1
6.589	1
6.729	1
5.684	1
8.105	1
6.391	1
5.901	1
6.758	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32177&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]2 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=32177&T=0

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 5.95530625 -1.693859375x[t] -0.583427083333335M1[t] + 0.676305208333333M2[t] -0.322562500000001M3[t] -0.177630208333334M4[t] + 0.973873958333332M5[t] -0.52139375M6[t] -0.480861458333333M7[t] -0.419929166666668M8[t] + 0.108403124999999M9[t] -1.09006458333333M10[t] -0.353532291666667M11[t] + 0.0566677083333334t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  5.95530625 -1.693859375x[t] -0.583427083333335M1[t] +  0.676305208333333M2[t] -0.322562500000001M3[t] -0.177630208333334M4[t] +  0.973873958333332M5[t] -0.52139375M6[t] -0.480861458333333M7[t] -0.419929166666668M8[t] +  0.108403124999999M9[t] -1.09006458333333M10[t] -0.353532291666667M11[t] +  0.0566677083333334t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32177&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  5.95530625 -1.693859375x[t] -0.583427083333335M1[t] +  0.676305208333333M2[t] -0.322562500000001M3[t] -0.177630208333334M4[t] +  0.973873958333332M5[t] -0.52139375M6[t] -0.480861458333333M7[t] -0.419929166666668M8[t] +  0.108403124999999M9[t] -1.09006458333333M10[t] -0.353532291666667M11[t] +  0.0566677083333334t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32177&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32177&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] = + 5.95530625 -1.693859375x[t] -0.583427083333335M1[t] + 0.676305208333333M2[t] -0.322562500000001M3[t] -0.177630208333334M4[t] + 0.973873958333332M5[t] -0.52139375M6[t] -0.480861458333333M7[t] -0.419929166666668M8[t] + 0.108403124999999M9[t] -1.09006458333333M10[t] -0.353532291666667M11[t] + 0.0566677083333334t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5.955306250.38338915.533300
x-1.6938593750.332025-5.10166e-063e-06
M1-0.5834270833333350.437784-1.33270.18920.0946
M20.6763052083333330.4369441.54780.1285220.064261
M3-0.3225625000000010.436289-0.73930.4634620.231731
M4-0.1776302083333340.435821-0.40760.6854760.342738
M50.9738739583333320.4383432.22170.0312630.015631
M6-0.521393750.437131-1.19280.2390780.119539
M7-0.4808614583333330.436102-1.10260.2759210.137961
M8-0.4199291666666680.435259-0.96480.3396990.16985
M90.1084031249999990.4346010.24940.8041380.402069
M10-1.090064583333330.434131-2.51090.0156190.00781
M11-0.3535322916666670.433849-0.81490.4193440.209672
t0.05666770833333340.0090376.270900

\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) & 5.95530625 & 0.383389 & 15.5333 & 0 & 0 \tabularnewline
x & -1.693859375 & 0.332025 & -5.1016 & 6e-06 & 3e-06 \tabularnewline
M1 & -0.583427083333335 & 0.437784 & -1.3327 & 0.1892 & 0.0946 \tabularnewline
M2 & 0.676305208333333 & 0.436944 & 1.5478 & 0.128522 & 0.064261 \tabularnewline
M3 & -0.322562500000001 & 0.436289 & -0.7393 & 0.463462 & 0.231731 \tabularnewline
M4 & -0.177630208333334 & 0.435821 & -0.4076 & 0.685476 & 0.342738 \tabularnewline
M5 & 0.973873958333332 & 0.438343 & 2.2217 & 0.031263 & 0.015631 \tabularnewline
M6 & -0.52139375 & 0.437131 & -1.1928 & 0.239078 & 0.119539 \tabularnewline
M7 & -0.480861458333333 & 0.436102 & -1.1026 & 0.275921 & 0.137961 \tabularnewline
M8 & -0.419929166666668 & 0.435259 & -0.9648 & 0.339699 & 0.16985 \tabularnewline
M9 & 0.108403124999999 & 0.434601 & 0.2494 & 0.804138 & 0.402069 \tabularnewline
M10 & -1.09006458333333 & 0.434131 & -2.5109 & 0.015619 & 0.00781 \tabularnewline
M11 & -0.353532291666667 & 0.433849 & -0.8149 & 0.419344 & 0.209672 \tabularnewline
t & 0.0566677083333334 & 0.009037 & 6.2709 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32177&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]5.95530625[/C][C]0.383389[/C][C]15.5333[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-1.693859375[/C][C]0.332025[/C][C]-5.1016[/C][C]6e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M1[/C][C]-0.583427083333335[/C][C]0.437784[/C][C]-1.3327[/C][C]0.1892[/C][C]0.0946[/C][/ROW]
[ROW][C]M2[/C][C]0.676305208333333[/C][C]0.436944[/C][C]1.5478[/C][C]0.128522[/C][C]0.064261[/C][/ROW]
[ROW][C]M3[/C][C]-0.322562500000001[/C][C]0.436289[/C][C]-0.7393[/C][C]0.463462[/C][C]0.231731[/C][/ROW]
[ROW][C]M4[/C][C]-0.177630208333334[/C][C]0.435821[/C][C]-0.4076[/C][C]0.685476[/C][C]0.342738[/C][/ROW]
[ROW][C]M5[/C][C]0.973873958333332[/C][C]0.438343[/C][C]2.2217[/C][C]0.031263[/C][C]0.015631[/C][/ROW]
[ROW][C]M6[/C][C]-0.52139375[/C][C]0.437131[/C][C]-1.1928[/C][C]0.239078[/C][C]0.119539[/C][/ROW]
[ROW][C]M7[/C][C]-0.480861458333333[/C][C]0.436102[/C][C]-1.1026[/C][C]0.275921[/C][C]0.137961[/C][/ROW]
[ROW][C]M8[/C][C]-0.419929166666668[/C][C]0.435259[/C][C]-0.9648[/C][C]0.339699[/C][C]0.16985[/C][/ROW]
[ROW][C]M9[/C][C]0.108403124999999[/C][C]0.434601[/C][C]0.2494[/C][C]0.804138[/C][C]0.402069[/C][/ROW]
[ROW][C]M10[/C][C]-1.09006458333333[/C][C]0.434131[/C][C]-2.5109[/C][C]0.015619[/C][C]0.00781[/C][/ROW]
[ROW][C]M11[/C][C]-0.353532291666667[/C][C]0.433849[/C][C]-0.8149[/C][C]0.419344[/C][C]0.209672[/C][/ROW]
[ROW][C]t[/C][C]0.0566677083333334[/C][C]0.009037[/C][C]6.2709[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32177&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32177&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)5.955306250.38338915.533300
x-1.6938593750.332025-5.10166e-063e-06
M1-0.5834270833333350.437784-1.33270.18920.0946
M20.6763052083333330.4369441.54780.1285220.064261
M3-0.3225625000000010.436289-0.73930.4634620.231731
M4-0.1776302083333340.435821-0.40760.6854760.342738
M50.9738739583333320.4383432.22170.0312630.015631
M6-0.521393750.437131-1.19280.2390780.119539
M7-0.4808614583333330.436102-1.10260.2759210.137961
M8-0.4199291666666680.435259-0.96480.3396990.16985
M90.1084031249999990.4346010.24940.8041380.402069
M10-1.090064583333330.434131-2.51090.0156190.00781
M11-0.3535322916666670.433849-0.81490.4193440.209672
t0.05666770833333340.0090376.270900







Multiple Linear Regression - Regression Statistics
Multiple R0.784728342047574
R-squared0.615798570812734
Adjusted R-squared0.50721990604242
F-TEST (value)5.67145094402648
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.93350161678840e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.685827085819758
Sum Squared Residuals21.636504415625

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.784728342047574 \tabularnewline
R-squared & 0.615798570812734 \tabularnewline
Adjusted R-squared & 0.50721990604242 \tabularnewline
F-TEST (value) & 5.67145094402648 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 4.93350161678840e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.685827085819758 \tabularnewline
Sum Squared Residuals & 21.636504415625 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32177&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.784728342047574[/C][/ROW]
[ROW][C]R-squared[/C][C]0.615798570812734[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.50721990604242[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.67145094402648[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]4.93350161678840e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.685827085819758[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]21.636504415625[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32177&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32177&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.784728342047574
R-squared0.615798570812734
Adjusted R-squared0.50721990604242
F-TEST (value)5.67145094402648
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.93350161678840e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.685827085819758
Sum Squared Residuals21.636504415625







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
15.0145.428546875-0.414546875000003
26.1536.744946875-0.591946874999999
36.4415.8027468750.638253125
45.5846.004346875-0.420346875
56.4277.21251875-0.785518750000001
66.0625.773918750.288081250000001
75.5895.87111875-0.282118749999999
86.2165.988718750.22728125
95.8096.57371875-0.76471875
104.9895.43191875-0.442918749999999
116.7066.225118750.48088125
127.1746.635318750.538681250000001
136.1226.1085593750.0134406250000012
148.0757.4249593750.650040624999998
156.2926.482759375-0.190759375000000
166.3376.684359375-0.347359375
178.5767.892531250.68346875
186.0776.45393125-0.376931250000000
195.9316.55113125-0.62013125
206.2886.66873125-0.380731249999999
217.1677.25373125-0.0867312500000002
226.0546.11193125-0.0579312499999998
236.4686.90513125-0.43713125
246.4017.31533125-0.91433125
256.9276.7885718750.138428125000001
267.9148.104971875-0.190971875000000
277.7287.1627718750.565228125
288.6997.3643718751.334628125
298.5228.57254375-0.0505437499999997
306.4817.13394375-0.65294375
317.5027.231143750.270856249999999
327.7787.348743750.429256249999999
337.4247.93374375-0.50974375
346.9416.791943750.149056249999999
358.5747.585143750.98885625
369.1697.995343751.17365625
377.7017.4685843750.232415625000001
389.0358.7849843750.250015625000001
397.1587.842784375-0.684784375
408.1958.0443843750.150615625
418.1247.5586968750.565303125000001
427.0736.1200968750.952903125
437.0176.2172968750.799703125
447.396.3348968751.055103125
457.7766.9198968750.856103125
466.1975.7780968750.418903125
476.8896.5712968750.317703125
487.0876.9814968750.105503124999999
496.4856.45473750.0302625000000014
507.6547.7711375-0.117137500000000
516.5016.8289375-0.327937499999999
526.3137.0305375-0.7175375
537.8268.238709375-0.412709375000001
546.5896.800109375-0.211109375
556.7296.897309375-0.168309375000000
565.6847.014909375-1.330909375
578.1057.5999093750.505090625000001
586.3916.458109375-0.0671093750000004
595.9017.251309375-1.350309375
606.7587.661509375-0.903509375

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 5.014 & 5.428546875 & -0.414546875000003 \tabularnewline
2 & 6.153 & 6.744946875 & -0.591946874999999 \tabularnewline
3 & 6.441 & 5.802746875 & 0.638253125 \tabularnewline
4 & 5.584 & 6.004346875 & -0.420346875 \tabularnewline
5 & 6.427 & 7.21251875 & -0.785518750000001 \tabularnewline
6 & 6.062 & 5.77391875 & 0.288081250000001 \tabularnewline
7 & 5.589 & 5.87111875 & -0.282118749999999 \tabularnewline
8 & 6.216 & 5.98871875 & 0.22728125 \tabularnewline
9 & 5.809 & 6.57371875 & -0.76471875 \tabularnewline
10 & 4.989 & 5.43191875 & -0.442918749999999 \tabularnewline
11 & 6.706 & 6.22511875 & 0.48088125 \tabularnewline
12 & 7.174 & 6.63531875 & 0.538681250000001 \tabularnewline
13 & 6.122 & 6.108559375 & 0.0134406250000012 \tabularnewline
14 & 8.075 & 7.424959375 & 0.650040624999998 \tabularnewline
15 & 6.292 & 6.482759375 & -0.190759375000000 \tabularnewline
16 & 6.337 & 6.684359375 & -0.347359375 \tabularnewline
17 & 8.576 & 7.89253125 & 0.68346875 \tabularnewline
18 & 6.077 & 6.45393125 & -0.376931250000000 \tabularnewline
19 & 5.931 & 6.55113125 & -0.62013125 \tabularnewline
20 & 6.288 & 6.66873125 & -0.380731249999999 \tabularnewline
21 & 7.167 & 7.25373125 & -0.0867312500000002 \tabularnewline
22 & 6.054 & 6.11193125 & -0.0579312499999998 \tabularnewline
23 & 6.468 & 6.90513125 & -0.43713125 \tabularnewline
24 & 6.401 & 7.31533125 & -0.91433125 \tabularnewline
25 & 6.927 & 6.788571875 & 0.138428125000001 \tabularnewline
26 & 7.914 & 8.104971875 & -0.190971875000000 \tabularnewline
27 & 7.728 & 7.162771875 & 0.565228125 \tabularnewline
28 & 8.699 & 7.364371875 & 1.334628125 \tabularnewline
29 & 8.522 & 8.57254375 & -0.0505437499999997 \tabularnewline
30 & 6.481 & 7.13394375 & -0.65294375 \tabularnewline
31 & 7.502 & 7.23114375 & 0.270856249999999 \tabularnewline
32 & 7.778 & 7.34874375 & 0.429256249999999 \tabularnewline
33 & 7.424 & 7.93374375 & -0.50974375 \tabularnewline
34 & 6.941 & 6.79194375 & 0.149056249999999 \tabularnewline
35 & 8.574 & 7.58514375 & 0.98885625 \tabularnewline
36 & 9.169 & 7.99534375 & 1.17365625 \tabularnewline
37 & 7.701 & 7.468584375 & 0.232415625000001 \tabularnewline
38 & 9.035 & 8.784984375 & 0.250015625000001 \tabularnewline
39 & 7.158 & 7.842784375 & -0.684784375 \tabularnewline
40 & 8.195 & 8.044384375 & 0.150615625 \tabularnewline
41 & 8.124 & 7.558696875 & 0.565303125000001 \tabularnewline
42 & 7.073 & 6.120096875 & 0.952903125 \tabularnewline
43 & 7.017 & 6.217296875 & 0.799703125 \tabularnewline
44 & 7.39 & 6.334896875 & 1.055103125 \tabularnewline
45 & 7.776 & 6.919896875 & 0.856103125 \tabularnewline
46 & 6.197 & 5.778096875 & 0.418903125 \tabularnewline
47 & 6.889 & 6.571296875 & 0.317703125 \tabularnewline
48 & 7.087 & 6.981496875 & 0.105503124999999 \tabularnewline
49 & 6.485 & 6.4547375 & 0.0302625000000014 \tabularnewline
50 & 7.654 & 7.7711375 & -0.117137500000000 \tabularnewline
51 & 6.501 & 6.8289375 & -0.327937499999999 \tabularnewline
52 & 6.313 & 7.0305375 & -0.7175375 \tabularnewline
53 & 7.826 & 8.238709375 & -0.412709375000001 \tabularnewline
54 & 6.589 & 6.800109375 & -0.211109375 \tabularnewline
55 & 6.729 & 6.897309375 & -0.168309375000000 \tabularnewline
56 & 5.684 & 7.014909375 & -1.330909375 \tabularnewline
57 & 8.105 & 7.599909375 & 0.505090625000001 \tabularnewline
58 & 6.391 & 6.458109375 & -0.0671093750000004 \tabularnewline
59 & 5.901 & 7.251309375 & -1.350309375 \tabularnewline
60 & 6.758 & 7.661509375 & -0.903509375 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32177&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]5.014[/C][C]5.428546875[/C][C]-0.414546875000003[/C][/ROW]
[ROW][C]2[/C][C]6.153[/C][C]6.744946875[/C][C]-0.591946874999999[/C][/ROW]
[ROW][C]3[/C][C]6.441[/C][C]5.802746875[/C][C]0.638253125[/C][/ROW]
[ROW][C]4[/C][C]5.584[/C][C]6.004346875[/C][C]-0.420346875[/C][/ROW]
[ROW][C]5[/C][C]6.427[/C][C]7.21251875[/C][C]-0.785518750000001[/C][/ROW]
[ROW][C]6[/C][C]6.062[/C][C]5.77391875[/C][C]0.288081250000001[/C][/ROW]
[ROW][C]7[/C][C]5.589[/C][C]5.87111875[/C][C]-0.282118749999999[/C][/ROW]
[ROW][C]8[/C][C]6.216[/C][C]5.98871875[/C][C]0.22728125[/C][/ROW]
[ROW][C]9[/C][C]5.809[/C][C]6.57371875[/C][C]-0.76471875[/C][/ROW]
[ROW][C]10[/C][C]4.989[/C][C]5.43191875[/C][C]-0.442918749999999[/C][/ROW]
[ROW][C]11[/C][C]6.706[/C][C]6.22511875[/C][C]0.48088125[/C][/ROW]
[ROW][C]12[/C][C]7.174[/C][C]6.63531875[/C][C]0.538681250000001[/C][/ROW]
[ROW][C]13[/C][C]6.122[/C][C]6.108559375[/C][C]0.0134406250000012[/C][/ROW]
[ROW][C]14[/C][C]8.075[/C][C]7.424959375[/C][C]0.650040624999998[/C][/ROW]
[ROW][C]15[/C][C]6.292[/C][C]6.482759375[/C][C]-0.190759375000000[/C][/ROW]
[ROW][C]16[/C][C]6.337[/C][C]6.684359375[/C][C]-0.347359375[/C][/ROW]
[ROW][C]17[/C][C]8.576[/C][C]7.89253125[/C][C]0.68346875[/C][/ROW]
[ROW][C]18[/C][C]6.077[/C][C]6.45393125[/C][C]-0.376931250000000[/C][/ROW]
[ROW][C]19[/C][C]5.931[/C][C]6.55113125[/C][C]-0.62013125[/C][/ROW]
[ROW][C]20[/C][C]6.288[/C][C]6.66873125[/C][C]-0.380731249999999[/C][/ROW]
[ROW][C]21[/C][C]7.167[/C][C]7.25373125[/C][C]-0.0867312500000002[/C][/ROW]
[ROW][C]22[/C][C]6.054[/C][C]6.11193125[/C][C]-0.0579312499999998[/C][/ROW]
[ROW][C]23[/C][C]6.468[/C][C]6.90513125[/C][C]-0.43713125[/C][/ROW]
[ROW][C]24[/C][C]6.401[/C][C]7.31533125[/C][C]-0.91433125[/C][/ROW]
[ROW][C]25[/C][C]6.927[/C][C]6.788571875[/C][C]0.138428125000001[/C][/ROW]
[ROW][C]26[/C][C]7.914[/C][C]8.104971875[/C][C]-0.190971875000000[/C][/ROW]
[ROW][C]27[/C][C]7.728[/C][C]7.162771875[/C][C]0.565228125[/C][/ROW]
[ROW][C]28[/C][C]8.699[/C][C]7.364371875[/C][C]1.334628125[/C][/ROW]
[ROW][C]29[/C][C]8.522[/C][C]8.57254375[/C][C]-0.0505437499999997[/C][/ROW]
[ROW][C]30[/C][C]6.481[/C][C]7.13394375[/C][C]-0.65294375[/C][/ROW]
[ROW][C]31[/C][C]7.502[/C][C]7.23114375[/C][C]0.270856249999999[/C][/ROW]
[ROW][C]32[/C][C]7.778[/C][C]7.34874375[/C][C]0.429256249999999[/C][/ROW]
[ROW][C]33[/C][C]7.424[/C][C]7.93374375[/C][C]-0.50974375[/C][/ROW]
[ROW][C]34[/C][C]6.941[/C][C]6.79194375[/C][C]0.149056249999999[/C][/ROW]
[ROW][C]35[/C][C]8.574[/C][C]7.58514375[/C][C]0.98885625[/C][/ROW]
[ROW][C]36[/C][C]9.169[/C][C]7.99534375[/C][C]1.17365625[/C][/ROW]
[ROW][C]37[/C][C]7.701[/C][C]7.468584375[/C][C]0.232415625000001[/C][/ROW]
[ROW][C]38[/C][C]9.035[/C][C]8.784984375[/C][C]0.250015625000001[/C][/ROW]
[ROW][C]39[/C][C]7.158[/C][C]7.842784375[/C][C]-0.684784375[/C][/ROW]
[ROW][C]40[/C][C]8.195[/C][C]8.044384375[/C][C]0.150615625[/C][/ROW]
[ROW][C]41[/C][C]8.124[/C][C]7.558696875[/C][C]0.565303125000001[/C][/ROW]
[ROW][C]42[/C][C]7.073[/C][C]6.120096875[/C][C]0.952903125[/C][/ROW]
[ROW][C]43[/C][C]7.017[/C][C]6.217296875[/C][C]0.799703125[/C][/ROW]
[ROW][C]44[/C][C]7.39[/C][C]6.334896875[/C][C]1.055103125[/C][/ROW]
[ROW][C]45[/C][C]7.776[/C][C]6.919896875[/C][C]0.856103125[/C][/ROW]
[ROW][C]46[/C][C]6.197[/C][C]5.778096875[/C][C]0.418903125[/C][/ROW]
[ROW][C]47[/C][C]6.889[/C][C]6.571296875[/C][C]0.317703125[/C][/ROW]
[ROW][C]48[/C][C]7.087[/C][C]6.981496875[/C][C]0.105503124999999[/C][/ROW]
[ROW][C]49[/C][C]6.485[/C][C]6.4547375[/C][C]0.0302625000000014[/C][/ROW]
[ROW][C]50[/C][C]7.654[/C][C]7.7711375[/C][C]-0.117137500000000[/C][/ROW]
[ROW][C]51[/C][C]6.501[/C][C]6.8289375[/C][C]-0.327937499999999[/C][/ROW]
[ROW][C]52[/C][C]6.313[/C][C]7.0305375[/C][C]-0.7175375[/C][/ROW]
[ROW][C]53[/C][C]7.826[/C][C]8.238709375[/C][C]-0.412709375000001[/C][/ROW]
[ROW][C]54[/C][C]6.589[/C][C]6.800109375[/C][C]-0.211109375[/C][/ROW]
[ROW][C]55[/C][C]6.729[/C][C]6.897309375[/C][C]-0.168309375000000[/C][/ROW]
[ROW][C]56[/C][C]5.684[/C][C]7.014909375[/C][C]-1.330909375[/C][/ROW]
[ROW][C]57[/C][C]8.105[/C][C]7.599909375[/C][C]0.505090625000001[/C][/ROW]
[ROW][C]58[/C][C]6.391[/C][C]6.458109375[/C][C]-0.0671093750000004[/C][/ROW]
[ROW][C]59[/C][C]5.901[/C][C]7.251309375[/C][C]-1.350309375[/C][/ROW]
[ROW][C]60[/C][C]6.758[/C][C]7.661509375[/C][C]-0.903509375[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32177&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32177&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
15.0145.428546875-0.414546875000003
26.1536.744946875-0.591946874999999
36.4415.8027468750.638253125
45.5846.004346875-0.420346875
56.4277.21251875-0.785518750000001
66.0625.773918750.288081250000001
75.5895.87111875-0.282118749999999
86.2165.988718750.22728125
95.8096.57371875-0.76471875
104.9895.43191875-0.442918749999999
116.7066.225118750.48088125
127.1746.635318750.538681250000001
136.1226.1085593750.0134406250000012
148.0757.4249593750.650040624999998
156.2926.482759375-0.190759375000000
166.3376.684359375-0.347359375
178.5767.892531250.68346875
186.0776.45393125-0.376931250000000
195.9316.55113125-0.62013125
206.2886.66873125-0.380731249999999
217.1677.25373125-0.0867312500000002
226.0546.11193125-0.0579312499999998
236.4686.90513125-0.43713125
246.4017.31533125-0.91433125
256.9276.7885718750.138428125000001
267.9148.104971875-0.190971875000000
277.7287.1627718750.565228125
288.6997.3643718751.334628125
298.5228.57254375-0.0505437499999997
306.4817.13394375-0.65294375
317.5027.231143750.270856249999999
327.7787.348743750.429256249999999
337.4247.93374375-0.50974375
346.9416.791943750.149056249999999
358.5747.585143750.98885625
369.1697.995343751.17365625
377.7017.4685843750.232415625000001
389.0358.7849843750.250015625000001
397.1587.842784375-0.684784375
408.1958.0443843750.150615625
418.1247.5586968750.565303125000001
427.0736.1200968750.952903125
437.0176.2172968750.799703125
447.396.3348968751.055103125
457.7766.9198968750.856103125
466.1975.7780968750.418903125
476.8896.5712968750.317703125
487.0876.9814968750.105503124999999
496.4856.45473750.0302625000000014
507.6547.7711375-0.117137500000000
516.5016.8289375-0.327937499999999
526.3137.0305375-0.7175375
537.8268.238709375-0.412709375000001
546.5896.800109375-0.211109375
556.7296.897309375-0.168309375000000
565.6847.014909375-1.330909375
578.1057.5999093750.505090625000001
586.3916.458109375-0.0671093750000004
595.9017.251309375-1.350309375
606.7587.661509375-0.903509375



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