Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 16 Jan 2008 02:30:43 -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/Jan/16/t12004755936zcsjoanwt8hhze.htm/, Retrieved Wed, 15 May 2024 08:14:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7973, Retrieved Wed, 15 May 2024 08:14:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact248
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [met seizoenale du...] [2008-01-16 09:30:43] [887c58ec85a2f7f96f5a0ba18e7ae311] [Current]
Feedback Forum

Post a new message
Dataseries X:
332	0	0
182	0	0
-303	0	0
-443	0	0
908	0	0
4011	1	0
-2862	0	1
-1126	0	0
-50	0	0
3012	1	0
434	0	0
-273	0	0
-439	0	0
-1203	0	0
137	0	0
-102	0	0
1152	0	0
260	0	0
-1150	0	0
-299	0	0
-922	0	0
-1509	0	0
1152	0	0
-3	0	0
156	0	0
-1131	0	0
-1033	0	0
-130	0	0
-599	0	0
-1633	0	0
527	0	0
112	0	0
-895	0	0
669	0	0
-2126	0	1
-1779	0	0
-129	0	0
1922	0	0
674	0	0
185	0	0
-788	0	0
-696	0	0
-748	0	0
893	0	0
458	0	0
-78	0	0
-280	0	0
-1865	0	0
788	0	0
-916	0	0
1286	0	0
883	0	0
193	0	0
-2527	0	1
-1792	0	0
370	0	0
-2952	0	1
-403	0	0
-1478	0	0




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

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7973&T=0

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7973&T=0

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







Multiple Linear Regression - Estimated Regression Equation
diff[t] = -980 + 3976.99212598425pos[t] -2193.06299212598neg[t] + 1121.6M1[t] + 750.8M2[t] + 1132.2M3[t] + 1058.6M4[t] + 1153.2M5[t] + 506.214173228346M6[t] + 213.612598425197M7[t] + 970M8[t] + 546.412598425197M9[t] + 522.80157480315M10[t] + 959.012598425197M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
diff[t] =  -980 +  3976.99212598425pos[t] -2193.06299212598neg[t] +  1121.6M1[t] +  750.8M2[t] +  1132.2M3[t] +  1058.6M4[t] +  1153.2M5[t] +  506.214173228346M6[t] +  213.612598425197M7[t] +  970M8[t] +  546.412598425197M9[t] +  522.80157480315M10[t] +  959.012598425197M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7973&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]diff[t] =  -980 +  3976.99212598425pos[t] -2193.06299212598neg[t] +  1121.6M1[t] +  750.8M2[t] +  1132.2M3[t] +  1058.6M4[t] +  1153.2M5[t] +  506.214173228346M6[t] +  213.612598425197M7[t] +  970M8[t] +  546.412598425197M9[t] +  522.80157480315M10[t] +  959.012598425197M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7973&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7973&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
diff[t] = -980 + 3976.99212598425pos[t] -2193.06299212598neg[t] + 1121.6M1[t] + 750.8M2[t] + 1132.2M3[t] + 1058.6M4[t] + 1153.2M5[t] + 506.214173228346M6[t] + 213.612598425197M7[t] + 970M8[t] + 546.412598425197M9[t] + 522.80157480315M10[t] + 959.012598425197M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-980430.885759-2.27440.027760.01388
pos3976.99212598425683.9671915.81461e-060
neg-2193.06299212598483.637839-4.53454.3e-052.1e-05
M11121.6578.0939091.94020.0586410.029321
M2750.8578.0939091.29880.2006450.100323
M31132.2578.0939091.95850.0563860.028193
M41058.6578.0939091.83120.0736980.036849
M51153.2578.0939091.99480.0521390.026069
M6506.214173228346603.8214060.83840.4062650.203132
M7213.612598425197586.1303530.36440.7172320.358616
M8970578.0939091.67790.1002940.050147
M9546.412598425197586.1303530.93220.3561890.178094
M10522.80157480315594.0580890.88010.3835070.191754
M11959.012598425197586.1303531.63620.1087790.054389

\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) & -980 & 430.885759 & -2.2744 & 0.02776 & 0.01388 \tabularnewline
pos & 3976.99212598425 & 683.967191 & 5.8146 & 1e-06 & 0 \tabularnewline
neg & -2193.06299212598 & 483.637839 & -4.5345 & 4.3e-05 & 2.1e-05 \tabularnewline
M1 & 1121.6 & 578.093909 & 1.9402 & 0.058641 & 0.029321 \tabularnewline
M2 & 750.8 & 578.093909 & 1.2988 & 0.200645 & 0.100323 \tabularnewline
M3 & 1132.2 & 578.093909 & 1.9585 & 0.056386 & 0.028193 \tabularnewline
M4 & 1058.6 & 578.093909 & 1.8312 & 0.073698 & 0.036849 \tabularnewline
M5 & 1153.2 & 578.093909 & 1.9948 & 0.052139 & 0.026069 \tabularnewline
M6 & 506.214173228346 & 603.821406 & 0.8384 & 0.406265 & 0.203132 \tabularnewline
M7 & 213.612598425197 & 586.130353 & 0.3644 & 0.717232 & 0.358616 \tabularnewline
M8 & 970 & 578.093909 & 1.6779 & 0.100294 & 0.050147 \tabularnewline
M9 & 546.412598425197 & 586.130353 & 0.9322 & 0.356189 & 0.178094 \tabularnewline
M10 & 522.80157480315 & 594.058089 & 0.8801 & 0.383507 & 0.191754 \tabularnewline
M11 & 959.012598425197 & 586.130353 & 1.6362 & 0.108779 & 0.054389 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7973&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]-980[/C][C]430.885759[/C][C]-2.2744[/C][C]0.02776[/C][C]0.01388[/C][/ROW]
[ROW][C]pos[/C][C]3976.99212598425[/C][C]683.967191[/C][C]5.8146[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]neg[/C][C]-2193.06299212598[/C][C]483.637839[/C][C]-4.5345[/C][C]4.3e-05[/C][C]2.1e-05[/C][/ROW]
[ROW][C]M1[/C][C]1121.6[/C][C]578.093909[/C][C]1.9402[/C][C]0.058641[/C][C]0.029321[/C][/ROW]
[ROW][C]M2[/C][C]750.8[/C][C]578.093909[/C][C]1.2988[/C][C]0.200645[/C][C]0.100323[/C][/ROW]
[ROW][C]M3[/C][C]1132.2[/C][C]578.093909[/C][C]1.9585[/C][C]0.056386[/C][C]0.028193[/C][/ROW]
[ROW][C]M4[/C][C]1058.6[/C][C]578.093909[/C][C]1.8312[/C][C]0.073698[/C][C]0.036849[/C][/ROW]
[ROW][C]M5[/C][C]1153.2[/C][C]578.093909[/C][C]1.9948[/C][C]0.052139[/C][C]0.026069[/C][/ROW]
[ROW][C]M6[/C][C]506.214173228346[/C][C]603.821406[/C][C]0.8384[/C][C]0.406265[/C][C]0.203132[/C][/ROW]
[ROW][C]M7[/C][C]213.612598425197[/C][C]586.130353[/C][C]0.3644[/C][C]0.717232[/C][C]0.358616[/C][/ROW]
[ROW][C]M8[/C][C]970[/C][C]578.093909[/C][C]1.6779[/C][C]0.100294[/C][C]0.050147[/C][/ROW]
[ROW][C]M9[/C][C]546.412598425197[/C][C]586.130353[/C][C]0.9322[/C][C]0.356189[/C][C]0.178094[/C][/ROW]
[ROW][C]M10[/C][C]522.80157480315[/C][C]594.058089[/C][C]0.8801[/C][C]0.383507[/C][C]0.191754[/C][/ROW]
[ROW][C]M11[/C][C]959.012598425197[/C][C]586.130353[/C][C]1.6362[/C][C]0.108779[/C][C]0.054389[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7973&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7973&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)-980430.885759-2.27440.027760.01388
pos3976.99212598425683.9671915.81461e-060
neg-2193.06299212598483.637839-4.53454.3e-052.1e-05
M11121.6578.0939091.94020.0586410.029321
M2750.8578.0939091.29880.2006450.100323
M31132.2578.0939091.95850.0563860.028193
M41058.6578.0939091.83120.0736980.036849
M51153.2578.0939091.99480.0521390.026069
M6506.214173228346603.8214060.83840.4062650.203132
M7213.612598425197586.1303530.36440.7172320.358616
M8970578.0939091.67790.1002940.050147
M9546.412598425197586.1303530.93220.3561890.178094
M10522.80157480315594.0580890.88010.3835070.191754
M11959.012598425197586.1303531.63620.1087790.054389







Multiple Linear Regression - Regression Statistics
Multiple R0.796872095357794
R-squared0.635005136359921
Adjusted R-squared0.529562175752787
F-TEST (value)6.02226201449202
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value2.64875575006762e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation861.77151892549
Sum Squared Residuals33419256.7874016

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.796872095357794 \tabularnewline
R-squared & 0.635005136359921 \tabularnewline
Adjusted R-squared & 0.529562175752787 \tabularnewline
F-TEST (value) & 6.02226201449202 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 2.64875575006762e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 861.77151892549 \tabularnewline
Sum Squared Residuals & 33419256.7874016 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7973&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.796872095357794[/C][/ROW]
[ROW][C]R-squared[/C][C]0.635005136359921[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.529562175752787[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.02226201449202[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]2.64875575006762e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]861.77151892549[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]33419256.7874016[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7973&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7973&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.796872095357794
R-squared0.635005136359921
Adjusted R-squared0.529562175752787
F-TEST (value)6.02226201449202
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value2.64875575006762e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation861.77151892549
Sum Squared Residuals33419256.7874016







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1332141.600000000002190.399999999998
2182-229.200000000001411.200000000001
3-303152.199999999999-455.199999999999
4-44378.6-521.6
5908173.200000000001734.8
640113503.2062992126507.793700787402
7-2862-2959.4503937007997.4503937007874
8-1126-9.99999999999955-1116
9-50-433.587401574803383.587401574803
1030123519.7937007874-507.793700787402
11434-20.987401574803454.987401574803
12-273-980707
13-439141.600000000000-580.6
14-1203-229.2-973.8
15137152.200000000000-15.2000000000002
16-10278.6-180.6
171152173.2978.8
18260-473.785826771654733.785826771654
19-1150-766.387401574803-383.612598425197
20-299-10-289
21-922-433.587401574803-488.412598425197
22-1509-457.19842519685-1051.80157480315
231152-20.98740157480351172.98740157480
24-3-980977
25156141.60000000000014.4000000000004
26-1131-229.2-901.8
27-1033152.2-1185.2
28-13078.6-208.6
29-599173.2-772.2
30-1633-473.785826771654-1159.21417322835
31527-766.3874015748031293.38740157480
32112-10.0000000000001122.000000000000
33-895-433.587401574803-461.412598425197
34669-457.1984251968511126.19842519685
35-2126-2214.0503937007988.0503937007875
36-1779-980-799
37-129141.600000000000-270.600000000000
381922-229.1999999999982151.2
39674152.200000000000521.8
4018578.6106.4
41-788173.200000000000-961.2
42-696-473.785826771654-222.214173228346
43-748-766.38740157480318.3874015748032
44893-10.0000000000003903
45458-433.587401574803891.587401574803
46-78-457.19842519685379.19842519685
47-280-20.9874015748031-259.012598425197
48-1865-980-885
49788141.600000000000646.4
50-916-229.200000000000-686.8
511286152.2000000000001133.8
5288378.5999999999999804.4
53193173.20000000000019.8000000000002
54-2527-2666.84881889764139.848818897638
55-1792-766.387401574804-1025.61259842520
56370-10380
57-2952-2626.65039370079-325.349606299213
58-403-457.1984251968554.1984251968504
59-1478-20.9874015748032-1457.01259842520

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 332 & 141.600000000002 & 190.399999999998 \tabularnewline
2 & 182 & -229.200000000001 & 411.200000000001 \tabularnewline
3 & -303 & 152.199999999999 & -455.199999999999 \tabularnewline
4 & -443 & 78.6 & -521.6 \tabularnewline
5 & 908 & 173.200000000001 & 734.8 \tabularnewline
6 & 4011 & 3503.2062992126 & 507.793700787402 \tabularnewline
7 & -2862 & -2959.45039370079 & 97.4503937007874 \tabularnewline
8 & -1126 & -9.99999999999955 & -1116 \tabularnewline
9 & -50 & -433.587401574803 & 383.587401574803 \tabularnewline
10 & 3012 & 3519.7937007874 & -507.793700787402 \tabularnewline
11 & 434 & -20.987401574803 & 454.987401574803 \tabularnewline
12 & -273 & -980 & 707 \tabularnewline
13 & -439 & 141.600000000000 & -580.6 \tabularnewline
14 & -1203 & -229.2 & -973.8 \tabularnewline
15 & 137 & 152.200000000000 & -15.2000000000002 \tabularnewline
16 & -102 & 78.6 & -180.6 \tabularnewline
17 & 1152 & 173.2 & 978.8 \tabularnewline
18 & 260 & -473.785826771654 & 733.785826771654 \tabularnewline
19 & -1150 & -766.387401574803 & -383.612598425197 \tabularnewline
20 & -299 & -10 & -289 \tabularnewline
21 & -922 & -433.587401574803 & -488.412598425197 \tabularnewline
22 & -1509 & -457.19842519685 & -1051.80157480315 \tabularnewline
23 & 1152 & -20.9874015748035 & 1172.98740157480 \tabularnewline
24 & -3 & -980 & 977 \tabularnewline
25 & 156 & 141.600000000000 & 14.4000000000004 \tabularnewline
26 & -1131 & -229.2 & -901.8 \tabularnewline
27 & -1033 & 152.2 & -1185.2 \tabularnewline
28 & -130 & 78.6 & -208.6 \tabularnewline
29 & -599 & 173.2 & -772.2 \tabularnewline
30 & -1633 & -473.785826771654 & -1159.21417322835 \tabularnewline
31 & 527 & -766.387401574803 & 1293.38740157480 \tabularnewline
32 & 112 & -10.0000000000001 & 122.000000000000 \tabularnewline
33 & -895 & -433.587401574803 & -461.412598425197 \tabularnewline
34 & 669 & -457.198425196851 & 1126.19842519685 \tabularnewline
35 & -2126 & -2214.05039370079 & 88.0503937007875 \tabularnewline
36 & -1779 & -980 & -799 \tabularnewline
37 & -129 & 141.600000000000 & -270.600000000000 \tabularnewline
38 & 1922 & -229.199999999998 & 2151.2 \tabularnewline
39 & 674 & 152.200000000000 & 521.8 \tabularnewline
40 & 185 & 78.6 & 106.4 \tabularnewline
41 & -788 & 173.200000000000 & -961.2 \tabularnewline
42 & -696 & -473.785826771654 & -222.214173228346 \tabularnewline
43 & -748 & -766.387401574803 & 18.3874015748032 \tabularnewline
44 & 893 & -10.0000000000003 & 903 \tabularnewline
45 & 458 & -433.587401574803 & 891.587401574803 \tabularnewline
46 & -78 & -457.19842519685 & 379.19842519685 \tabularnewline
47 & -280 & -20.9874015748031 & -259.012598425197 \tabularnewline
48 & -1865 & -980 & -885 \tabularnewline
49 & 788 & 141.600000000000 & 646.4 \tabularnewline
50 & -916 & -229.200000000000 & -686.8 \tabularnewline
51 & 1286 & 152.200000000000 & 1133.8 \tabularnewline
52 & 883 & 78.5999999999999 & 804.4 \tabularnewline
53 & 193 & 173.200000000000 & 19.8000000000002 \tabularnewline
54 & -2527 & -2666.84881889764 & 139.848818897638 \tabularnewline
55 & -1792 & -766.387401574804 & -1025.61259842520 \tabularnewline
56 & 370 & -10 & 380 \tabularnewline
57 & -2952 & -2626.65039370079 & -325.349606299213 \tabularnewline
58 & -403 & -457.19842519685 & 54.1984251968504 \tabularnewline
59 & -1478 & -20.9874015748032 & -1457.01259842520 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7973&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]332[/C][C]141.600000000002[/C][C]190.399999999998[/C][/ROW]
[ROW][C]2[/C][C]182[/C][C]-229.200000000001[/C][C]411.200000000001[/C][/ROW]
[ROW][C]3[/C][C]-303[/C][C]152.199999999999[/C][C]-455.199999999999[/C][/ROW]
[ROW][C]4[/C][C]-443[/C][C]78.6[/C][C]-521.6[/C][/ROW]
[ROW][C]5[/C][C]908[/C][C]173.200000000001[/C][C]734.8[/C][/ROW]
[ROW][C]6[/C][C]4011[/C][C]3503.2062992126[/C][C]507.793700787402[/C][/ROW]
[ROW][C]7[/C][C]-2862[/C][C]-2959.45039370079[/C][C]97.4503937007874[/C][/ROW]
[ROW][C]8[/C][C]-1126[/C][C]-9.99999999999955[/C][C]-1116[/C][/ROW]
[ROW][C]9[/C][C]-50[/C][C]-433.587401574803[/C][C]383.587401574803[/C][/ROW]
[ROW][C]10[/C][C]3012[/C][C]3519.7937007874[/C][C]-507.793700787402[/C][/ROW]
[ROW][C]11[/C][C]434[/C][C]-20.987401574803[/C][C]454.987401574803[/C][/ROW]
[ROW][C]12[/C][C]-273[/C][C]-980[/C][C]707[/C][/ROW]
[ROW][C]13[/C][C]-439[/C][C]141.600000000000[/C][C]-580.6[/C][/ROW]
[ROW][C]14[/C][C]-1203[/C][C]-229.2[/C][C]-973.8[/C][/ROW]
[ROW][C]15[/C][C]137[/C][C]152.200000000000[/C][C]-15.2000000000002[/C][/ROW]
[ROW][C]16[/C][C]-102[/C][C]78.6[/C][C]-180.6[/C][/ROW]
[ROW][C]17[/C][C]1152[/C][C]173.2[/C][C]978.8[/C][/ROW]
[ROW][C]18[/C][C]260[/C][C]-473.785826771654[/C][C]733.785826771654[/C][/ROW]
[ROW][C]19[/C][C]-1150[/C][C]-766.387401574803[/C][C]-383.612598425197[/C][/ROW]
[ROW][C]20[/C][C]-299[/C][C]-10[/C][C]-289[/C][/ROW]
[ROW][C]21[/C][C]-922[/C][C]-433.587401574803[/C][C]-488.412598425197[/C][/ROW]
[ROW][C]22[/C][C]-1509[/C][C]-457.19842519685[/C][C]-1051.80157480315[/C][/ROW]
[ROW][C]23[/C][C]1152[/C][C]-20.9874015748035[/C][C]1172.98740157480[/C][/ROW]
[ROW][C]24[/C][C]-3[/C][C]-980[/C][C]977[/C][/ROW]
[ROW][C]25[/C][C]156[/C][C]141.600000000000[/C][C]14.4000000000004[/C][/ROW]
[ROW][C]26[/C][C]-1131[/C][C]-229.2[/C][C]-901.8[/C][/ROW]
[ROW][C]27[/C][C]-1033[/C][C]152.2[/C][C]-1185.2[/C][/ROW]
[ROW][C]28[/C][C]-130[/C][C]78.6[/C][C]-208.6[/C][/ROW]
[ROW][C]29[/C][C]-599[/C][C]173.2[/C][C]-772.2[/C][/ROW]
[ROW][C]30[/C][C]-1633[/C][C]-473.785826771654[/C][C]-1159.21417322835[/C][/ROW]
[ROW][C]31[/C][C]527[/C][C]-766.387401574803[/C][C]1293.38740157480[/C][/ROW]
[ROW][C]32[/C][C]112[/C][C]-10.0000000000001[/C][C]122.000000000000[/C][/ROW]
[ROW][C]33[/C][C]-895[/C][C]-433.587401574803[/C][C]-461.412598425197[/C][/ROW]
[ROW][C]34[/C][C]669[/C][C]-457.198425196851[/C][C]1126.19842519685[/C][/ROW]
[ROW][C]35[/C][C]-2126[/C][C]-2214.05039370079[/C][C]88.0503937007875[/C][/ROW]
[ROW][C]36[/C][C]-1779[/C][C]-980[/C][C]-799[/C][/ROW]
[ROW][C]37[/C][C]-129[/C][C]141.600000000000[/C][C]-270.600000000000[/C][/ROW]
[ROW][C]38[/C][C]1922[/C][C]-229.199999999998[/C][C]2151.2[/C][/ROW]
[ROW][C]39[/C][C]674[/C][C]152.200000000000[/C][C]521.8[/C][/ROW]
[ROW][C]40[/C][C]185[/C][C]78.6[/C][C]106.4[/C][/ROW]
[ROW][C]41[/C][C]-788[/C][C]173.200000000000[/C][C]-961.2[/C][/ROW]
[ROW][C]42[/C][C]-696[/C][C]-473.785826771654[/C][C]-222.214173228346[/C][/ROW]
[ROW][C]43[/C][C]-748[/C][C]-766.387401574803[/C][C]18.3874015748032[/C][/ROW]
[ROW][C]44[/C][C]893[/C][C]-10.0000000000003[/C][C]903[/C][/ROW]
[ROW][C]45[/C][C]458[/C][C]-433.587401574803[/C][C]891.587401574803[/C][/ROW]
[ROW][C]46[/C][C]-78[/C][C]-457.19842519685[/C][C]379.19842519685[/C][/ROW]
[ROW][C]47[/C][C]-280[/C][C]-20.9874015748031[/C][C]-259.012598425197[/C][/ROW]
[ROW][C]48[/C][C]-1865[/C][C]-980[/C][C]-885[/C][/ROW]
[ROW][C]49[/C][C]788[/C][C]141.600000000000[/C][C]646.4[/C][/ROW]
[ROW][C]50[/C][C]-916[/C][C]-229.200000000000[/C][C]-686.8[/C][/ROW]
[ROW][C]51[/C][C]1286[/C][C]152.200000000000[/C][C]1133.8[/C][/ROW]
[ROW][C]52[/C][C]883[/C][C]78.5999999999999[/C][C]804.4[/C][/ROW]
[ROW][C]53[/C][C]193[/C][C]173.200000000000[/C][C]19.8000000000002[/C][/ROW]
[ROW][C]54[/C][C]-2527[/C][C]-2666.84881889764[/C][C]139.848818897638[/C][/ROW]
[ROW][C]55[/C][C]-1792[/C][C]-766.387401574804[/C][C]-1025.61259842520[/C][/ROW]
[ROW][C]56[/C][C]370[/C][C]-10[/C][C]380[/C][/ROW]
[ROW][C]57[/C][C]-2952[/C][C]-2626.65039370079[/C][C]-325.349606299213[/C][/ROW]
[ROW][C]58[/C][C]-403[/C][C]-457.19842519685[/C][C]54.1984251968504[/C][/ROW]
[ROW][C]59[/C][C]-1478[/C][C]-20.9874015748032[/C][C]-1457.01259842520[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7973&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7973&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
1332141.600000000002190.399999999998
2182-229.200000000001411.200000000001
3-303152.199999999999-455.199999999999
4-44378.6-521.6
5908173.200000000001734.8
640113503.2062992126507.793700787402
7-2862-2959.4503937007997.4503937007874
8-1126-9.99999999999955-1116
9-50-433.587401574803383.587401574803
1030123519.7937007874-507.793700787402
11434-20.987401574803454.987401574803
12-273-980707
13-439141.600000000000-580.6
14-1203-229.2-973.8
15137152.200000000000-15.2000000000002
16-10278.6-180.6
171152173.2978.8
18260-473.785826771654733.785826771654
19-1150-766.387401574803-383.612598425197
20-299-10-289
21-922-433.587401574803-488.412598425197
22-1509-457.19842519685-1051.80157480315
231152-20.98740157480351172.98740157480
24-3-980977
25156141.60000000000014.4000000000004
26-1131-229.2-901.8
27-1033152.2-1185.2
28-13078.6-208.6
29-599173.2-772.2
30-1633-473.785826771654-1159.21417322835
31527-766.3874015748031293.38740157480
32112-10.0000000000001122.000000000000
33-895-433.587401574803-461.412598425197
34669-457.1984251968511126.19842519685
35-2126-2214.0503937007988.0503937007875
36-1779-980-799
37-129141.600000000000-270.600000000000
381922-229.1999999999982151.2
39674152.200000000000521.8
4018578.6106.4
41-788173.200000000000-961.2
42-696-473.785826771654-222.214173228346
43-748-766.38740157480318.3874015748032
44893-10.0000000000003903
45458-433.587401574803891.587401574803
46-78-457.19842519685379.19842519685
47-280-20.9874015748031-259.012598425197
48-1865-980-885
49788141.600000000000646.4
50-916-229.200000000000-686.8
511286152.2000000000001133.8
5288378.5999999999999804.4
53193173.20000000000019.8000000000002
54-2527-2666.84881889764139.848818897638
55-1792-766.387401574804-1025.61259842520
56370-10380
57-2952-2626.65039370079-325.349606299213
58-403-457.1984251968554.1984251968504
59-1478-20.9874015748032-1457.01259842520



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