Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 14 Dec 2007 02:45:59 -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/2007/Dec/14/t1197624679hm0n0wpdw5icgzl.htm/, Retrieved Fri, 03 May 2024 02:15:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3777, Retrieved Fri, 03 May 2024 02:15:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact236
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple linear r...] [2007-12-14 09:45:59] [6d733e25d8b268fcf0c6dc243bab13ab] [Current]
Feedback Forum

Post a new message
Dataseries X:
3926	0
3517	0
4142	0
4353	0
5029	0
4755	0
3862	0
4406	0
4567	0
4863	0
4121	0
3626	0
3804	0
3491	0
4151	0
4254	0
4717	0
4866	0
4001	0
3758	0
4780	0
5016	0
4296	0
4467	0
3891	1
3872	1
3867	1
3973	1
4640	1
4538	1
3836	1
3770	1
4374	1
4497	1
3945	1
3862	1
3608	1
3301	1
3882	1
3605	1
4305	1
4216	1
3971	1
3988	1
4317	1
4484	1
4247	1
3520	1
3687	1
3405	1
3990	1
4047	1
4549	1
4559	1
3926	1
4206	1
4517	1
4387	1
3219	1
3129	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

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

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







Multiple Linear Regression - Estimated Regression Equation
Verkeersongevallen[t] = + 3949.18333333333 -176.138888888889Dummy[t] + 24.9083333333338M1[t] -237.683333333333M2[t] + 254.925M3[t] + 298.333333333333M4[t] + 903.341666666667M5[t] + 845.55M6[t] + 181.358333333334M7[t] + 291.166666666668M8[t] + 779.975M9[t] + 921.783333333334M10[t] + 241.391666666667M11[t] -3.40833333333334t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Verkeersongevallen[t] =  +  3949.18333333333 -176.138888888889Dummy[t] +  24.9083333333338M1[t] -237.683333333333M2[t] +  254.925M3[t] +  298.333333333333M4[t] +  903.341666666667M5[t] +  845.55M6[t] +  181.358333333334M7[t] +  291.166666666668M8[t] +  779.975M9[t] +  921.783333333334M10[t] +  241.391666666667M11[t] -3.40833333333334t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3777&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Verkeersongevallen[t] =  +  3949.18333333333 -176.138888888889Dummy[t] +  24.9083333333338M1[t] -237.683333333333M2[t] +  254.925M3[t] +  298.333333333333M4[t] +  903.341666666667M5[t] +  845.55M6[t] +  181.358333333334M7[t] +  291.166666666668M8[t] +  779.975M9[t] +  921.783333333334M10[t] +  241.391666666667M11[t] -3.40833333333334t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3777&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3777&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
Verkeersongevallen[t] = + 3949.18333333333 -176.138888888889Dummy[t] + 24.9083333333338M1[t] -237.683333333333M2[t] + 254.925M3[t] + 298.333333333333M4[t] + 903.341666666667M5[t] + 845.55M6[t] + 181.358333333334M7[t] + 291.166666666668M8[t] + 779.975M9[t] + 921.783333333334M10[t] + 241.391666666667M11[t] -3.40833333333334t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3949.18333333333128.74302830.674900
Dummy-176.138888888889123.883037-1.42180.1618250.080912
M124.9083333333338153.7763950.1620.8720330.436016
M2-237.683333333333152.900644-1.55450.126920.06346
M3254.925152.1039541.6760.1005250.050262
M4298.333333333333151.3875711.97070.0547980.027399
M5903.341666666667150.7526425.992200
M6845.55150.20025.62951e-061e-06
M7181.358333333334149.7311561.21120.2319950.115997
M8291.166666666668149.3462971.94960.0573340.028667
M9779.975149.0462765.23314e-062e-06
M10921.783333333334148.8316046.193500
M11241.391666666667148.7026531.62330.1113560.055678
t-3.408333333333343.576195-0.95310.345540.17277

\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) & 3949.18333333333 & 128.743028 & 30.6749 & 0 & 0 \tabularnewline
Dummy & -176.138888888889 & 123.883037 & -1.4218 & 0.161825 & 0.080912 \tabularnewline
M1 & 24.9083333333338 & 153.776395 & 0.162 & 0.872033 & 0.436016 \tabularnewline
M2 & -237.683333333333 & 152.900644 & -1.5545 & 0.12692 & 0.06346 \tabularnewline
M3 & 254.925 & 152.103954 & 1.676 & 0.100525 & 0.050262 \tabularnewline
M4 & 298.333333333333 & 151.387571 & 1.9707 & 0.054798 & 0.027399 \tabularnewline
M5 & 903.341666666667 & 150.752642 & 5.9922 & 0 & 0 \tabularnewline
M6 & 845.55 & 150.2002 & 5.6295 & 1e-06 & 1e-06 \tabularnewline
M7 & 181.358333333334 & 149.731156 & 1.2112 & 0.231995 & 0.115997 \tabularnewline
M8 & 291.166666666668 & 149.346297 & 1.9496 & 0.057334 & 0.028667 \tabularnewline
M9 & 779.975 & 149.046276 & 5.2331 & 4e-06 & 2e-06 \tabularnewline
M10 & 921.783333333334 & 148.831604 & 6.1935 & 0 & 0 \tabularnewline
M11 & 241.391666666667 & 148.702653 & 1.6233 & 0.111356 & 0.055678 \tabularnewline
t & -3.40833333333334 & 3.576195 & -0.9531 & 0.34554 & 0.17277 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3777&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]3949.18333333333[/C][C]128.743028[/C][C]30.6749[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-176.138888888889[/C][C]123.883037[/C][C]-1.4218[/C][C]0.161825[/C][C]0.080912[/C][/ROW]
[ROW][C]M1[/C][C]24.9083333333338[/C][C]153.776395[/C][C]0.162[/C][C]0.872033[/C][C]0.436016[/C][/ROW]
[ROW][C]M2[/C][C]-237.683333333333[/C][C]152.900644[/C][C]-1.5545[/C][C]0.12692[/C][C]0.06346[/C][/ROW]
[ROW][C]M3[/C][C]254.925[/C][C]152.103954[/C][C]1.676[/C][C]0.100525[/C][C]0.050262[/C][/ROW]
[ROW][C]M4[/C][C]298.333333333333[/C][C]151.387571[/C][C]1.9707[/C][C]0.054798[/C][C]0.027399[/C][/ROW]
[ROW][C]M5[/C][C]903.341666666667[/C][C]150.752642[/C][C]5.9922[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]845.55[/C][C]150.2002[/C][C]5.6295[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M7[/C][C]181.358333333334[/C][C]149.731156[/C][C]1.2112[/C][C]0.231995[/C][C]0.115997[/C][/ROW]
[ROW][C]M8[/C][C]291.166666666668[/C][C]149.346297[/C][C]1.9496[/C][C]0.057334[/C][C]0.028667[/C][/ROW]
[ROW][C]M9[/C][C]779.975[/C][C]149.046276[/C][C]5.2331[/C][C]4e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M10[/C][C]921.783333333334[/C][C]148.831604[/C][C]6.1935[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]241.391666666667[/C][C]148.702653[/C][C]1.6233[/C][C]0.111356[/C][C]0.055678[/C][/ROW]
[ROW][C]t[/C][C]-3.40833333333334[/C][C]3.576195[/C][C]-0.9531[/C][C]0.34554[/C][C]0.17277[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3777&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3777&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)3949.18333333333128.74302830.674900
Dummy-176.138888888889123.883037-1.42180.1618250.080912
M124.9083333333338153.7763950.1620.8720330.436016
M2-237.683333333333152.900644-1.55450.126920.06346
M3254.925152.1039541.6760.1005250.050262
M4298.333333333333151.3875711.97070.0547980.027399
M5903.341666666667150.7526425.992200
M6845.55150.20025.62951e-061e-06
M7181.358333333334149.7311561.21120.2319950.115997
M8291.166666666668149.3462971.94960.0573340.028667
M9779.975149.0462765.23314e-062e-06
M10921.783333333334148.8316046.193500
M11241.391666666667148.7026531.62330.1113560.055678
t-3.408333333333343.576195-0.95310.345540.17277







Multiple Linear Regression - Regression Statistics
Multiple R0.887743747935325
R-squared0.788088961998258
Adjusted R-squared0.728201059954288
F-TEST (value)13.1594017339200
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.00300886987748e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation235.051535617480
Sum Squared Residuals2541464.32222222

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.887743747935325 \tabularnewline
R-squared & 0.788088961998258 \tabularnewline
Adjusted R-squared & 0.728201059954288 \tabularnewline
F-TEST (value) & 13.1594017339200 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 2.00300886987748e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 235.051535617480 \tabularnewline
Sum Squared Residuals & 2541464.32222222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3777&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.887743747935325[/C][/ROW]
[ROW][C]R-squared[/C][C]0.788088961998258[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.728201059954288[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]13.1594017339200[/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]2.00300886987748e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]235.051535617480[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2541464.32222222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3777&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3777&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.887743747935325
R-squared0.788088961998258
Adjusted R-squared0.728201059954288
F-TEST (value)13.1594017339200
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.00300886987748e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation235.051535617480
Sum Squared Residuals2541464.32222222







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
139263970.68333333333-44.6833333333322
235173704.68333333333-187.683333333333
341424193.88333333333-51.8833333333332
443534233.88333333333119.116666666667
550294835.48333333333193.516666666668
647554774.28333333333-19.2833333333327
738624106.68333333333-244.683333333333
844064213.08333333333192.916666666666
945674698.48333333333-131.483333333334
1048634836.8833333333326.1166666666657
1141214153.08333333333-32.0833333333343
1236263908.28333333333-282.283333333333
1338043929.78333333333-125.783333333334
1434913663.78333333333-172.783333333333
1541514152.98333333333-1.98333333333345
1642544192.9833333333361.0166666666666
1747174794.58333333333-77.5833333333334
1848664733.38333333333132.616666666666
1940014065.78333333333-64.7833333333333
2037584172.18333333333-414.183333333333
2147804657.58333333333122.416666666667
2250164795.98333333333220.016666666667
2342964112.18333333333183.816666666667
2444673867.38333333333599.616666666667
2538913712.74444444444178.255555555555
2638723446.74444444444425.255555555555
2738673935.94444444444-68.9444444444447
2839733975.94444444444-2.94444444444459
2946404577.5444444444462.4555555555553
3045384516.3444444444421.6555555555554
3138363848.74444444444-12.7444444444446
3237703955.14444444444-185.144444444445
3343744440.54444444444-66.5444444444443
3444974578.94444444444-81.9444444444442
3539453895.1444444444449.8555555555557
3638623650.34444444444211.655555555556
3736083671.84444444444-63.8444444444447
3833013405.84444444444-104.844444444444
3938823895.04444444444-13.0444444444447
4036053935.04444444444-330.044444444445
4143054536.64444444445-231.644444444445
4242164475.44444444444-259.444444444445
4339713807.84444444444163.155555555555
4439883914.2444444444473.7555555555556
4543174399.64444444444-82.6444444444442
4644844538.04444444444-54.0444444444442
4742473854.24444444444392.755555555556
4835203609.44444444444-89.4444444444442
4936873630.9444444444456.0555555555553
5034053364.9444444444440.0555555555555
5139903854.14444444444135.855555555555
5240473894.14444444444152.855555555555
5345494495.7444444444453.2555555555554
5445594434.54444444444124.455555555555
5539263766.94444444444159.055555555555
5642063873.34444444444332.655555555556
5745174358.74444444444158.255555555556
5843874497.14444444444-110.144444444444
5932193813.34444444444-594.344444444444
6031293568.54444444444-439.544444444444

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3926 & 3970.68333333333 & -44.6833333333322 \tabularnewline
2 & 3517 & 3704.68333333333 & -187.683333333333 \tabularnewline
3 & 4142 & 4193.88333333333 & -51.8833333333332 \tabularnewline
4 & 4353 & 4233.88333333333 & 119.116666666667 \tabularnewline
5 & 5029 & 4835.48333333333 & 193.516666666668 \tabularnewline
6 & 4755 & 4774.28333333333 & -19.2833333333327 \tabularnewline
7 & 3862 & 4106.68333333333 & -244.683333333333 \tabularnewline
8 & 4406 & 4213.08333333333 & 192.916666666666 \tabularnewline
9 & 4567 & 4698.48333333333 & -131.483333333334 \tabularnewline
10 & 4863 & 4836.88333333333 & 26.1166666666657 \tabularnewline
11 & 4121 & 4153.08333333333 & -32.0833333333343 \tabularnewline
12 & 3626 & 3908.28333333333 & -282.283333333333 \tabularnewline
13 & 3804 & 3929.78333333333 & -125.783333333334 \tabularnewline
14 & 3491 & 3663.78333333333 & -172.783333333333 \tabularnewline
15 & 4151 & 4152.98333333333 & -1.98333333333345 \tabularnewline
16 & 4254 & 4192.98333333333 & 61.0166666666666 \tabularnewline
17 & 4717 & 4794.58333333333 & -77.5833333333334 \tabularnewline
18 & 4866 & 4733.38333333333 & 132.616666666666 \tabularnewline
19 & 4001 & 4065.78333333333 & -64.7833333333333 \tabularnewline
20 & 3758 & 4172.18333333333 & -414.183333333333 \tabularnewline
21 & 4780 & 4657.58333333333 & 122.416666666667 \tabularnewline
22 & 5016 & 4795.98333333333 & 220.016666666667 \tabularnewline
23 & 4296 & 4112.18333333333 & 183.816666666667 \tabularnewline
24 & 4467 & 3867.38333333333 & 599.616666666667 \tabularnewline
25 & 3891 & 3712.74444444444 & 178.255555555555 \tabularnewline
26 & 3872 & 3446.74444444444 & 425.255555555555 \tabularnewline
27 & 3867 & 3935.94444444444 & -68.9444444444447 \tabularnewline
28 & 3973 & 3975.94444444444 & -2.94444444444459 \tabularnewline
29 & 4640 & 4577.54444444444 & 62.4555555555553 \tabularnewline
30 & 4538 & 4516.34444444444 & 21.6555555555554 \tabularnewline
31 & 3836 & 3848.74444444444 & -12.7444444444446 \tabularnewline
32 & 3770 & 3955.14444444444 & -185.144444444445 \tabularnewline
33 & 4374 & 4440.54444444444 & -66.5444444444443 \tabularnewline
34 & 4497 & 4578.94444444444 & -81.9444444444442 \tabularnewline
35 & 3945 & 3895.14444444444 & 49.8555555555557 \tabularnewline
36 & 3862 & 3650.34444444444 & 211.655555555556 \tabularnewline
37 & 3608 & 3671.84444444444 & -63.8444444444447 \tabularnewline
38 & 3301 & 3405.84444444444 & -104.844444444444 \tabularnewline
39 & 3882 & 3895.04444444444 & -13.0444444444447 \tabularnewline
40 & 3605 & 3935.04444444444 & -330.044444444445 \tabularnewline
41 & 4305 & 4536.64444444445 & -231.644444444445 \tabularnewline
42 & 4216 & 4475.44444444444 & -259.444444444445 \tabularnewline
43 & 3971 & 3807.84444444444 & 163.155555555555 \tabularnewline
44 & 3988 & 3914.24444444444 & 73.7555555555556 \tabularnewline
45 & 4317 & 4399.64444444444 & -82.6444444444442 \tabularnewline
46 & 4484 & 4538.04444444444 & -54.0444444444442 \tabularnewline
47 & 4247 & 3854.24444444444 & 392.755555555556 \tabularnewline
48 & 3520 & 3609.44444444444 & -89.4444444444442 \tabularnewline
49 & 3687 & 3630.94444444444 & 56.0555555555553 \tabularnewline
50 & 3405 & 3364.94444444444 & 40.0555555555555 \tabularnewline
51 & 3990 & 3854.14444444444 & 135.855555555555 \tabularnewline
52 & 4047 & 3894.14444444444 & 152.855555555555 \tabularnewline
53 & 4549 & 4495.74444444444 & 53.2555555555554 \tabularnewline
54 & 4559 & 4434.54444444444 & 124.455555555555 \tabularnewline
55 & 3926 & 3766.94444444444 & 159.055555555555 \tabularnewline
56 & 4206 & 3873.34444444444 & 332.655555555556 \tabularnewline
57 & 4517 & 4358.74444444444 & 158.255555555556 \tabularnewline
58 & 4387 & 4497.14444444444 & -110.144444444444 \tabularnewline
59 & 3219 & 3813.34444444444 & -594.344444444444 \tabularnewline
60 & 3129 & 3568.54444444444 & -439.544444444444 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3777&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]3926[/C][C]3970.68333333333[/C][C]-44.6833333333322[/C][/ROW]
[ROW][C]2[/C][C]3517[/C][C]3704.68333333333[/C][C]-187.683333333333[/C][/ROW]
[ROW][C]3[/C][C]4142[/C][C]4193.88333333333[/C][C]-51.8833333333332[/C][/ROW]
[ROW][C]4[/C][C]4353[/C][C]4233.88333333333[/C][C]119.116666666667[/C][/ROW]
[ROW][C]5[/C][C]5029[/C][C]4835.48333333333[/C][C]193.516666666668[/C][/ROW]
[ROW][C]6[/C][C]4755[/C][C]4774.28333333333[/C][C]-19.2833333333327[/C][/ROW]
[ROW][C]7[/C][C]3862[/C][C]4106.68333333333[/C][C]-244.683333333333[/C][/ROW]
[ROW][C]8[/C][C]4406[/C][C]4213.08333333333[/C][C]192.916666666666[/C][/ROW]
[ROW][C]9[/C][C]4567[/C][C]4698.48333333333[/C][C]-131.483333333334[/C][/ROW]
[ROW][C]10[/C][C]4863[/C][C]4836.88333333333[/C][C]26.1166666666657[/C][/ROW]
[ROW][C]11[/C][C]4121[/C][C]4153.08333333333[/C][C]-32.0833333333343[/C][/ROW]
[ROW][C]12[/C][C]3626[/C][C]3908.28333333333[/C][C]-282.283333333333[/C][/ROW]
[ROW][C]13[/C][C]3804[/C][C]3929.78333333333[/C][C]-125.783333333334[/C][/ROW]
[ROW][C]14[/C][C]3491[/C][C]3663.78333333333[/C][C]-172.783333333333[/C][/ROW]
[ROW][C]15[/C][C]4151[/C][C]4152.98333333333[/C][C]-1.98333333333345[/C][/ROW]
[ROW][C]16[/C][C]4254[/C][C]4192.98333333333[/C][C]61.0166666666666[/C][/ROW]
[ROW][C]17[/C][C]4717[/C][C]4794.58333333333[/C][C]-77.5833333333334[/C][/ROW]
[ROW][C]18[/C][C]4866[/C][C]4733.38333333333[/C][C]132.616666666666[/C][/ROW]
[ROW][C]19[/C][C]4001[/C][C]4065.78333333333[/C][C]-64.7833333333333[/C][/ROW]
[ROW][C]20[/C][C]3758[/C][C]4172.18333333333[/C][C]-414.183333333333[/C][/ROW]
[ROW][C]21[/C][C]4780[/C][C]4657.58333333333[/C][C]122.416666666667[/C][/ROW]
[ROW][C]22[/C][C]5016[/C][C]4795.98333333333[/C][C]220.016666666667[/C][/ROW]
[ROW][C]23[/C][C]4296[/C][C]4112.18333333333[/C][C]183.816666666667[/C][/ROW]
[ROW][C]24[/C][C]4467[/C][C]3867.38333333333[/C][C]599.616666666667[/C][/ROW]
[ROW][C]25[/C][C]3891[/C][C]3712.74444444444[/C][C]178.255555555555[/C][/ROW]
[ROW][C]26[/C][C]3872[/C][C]3446.74444444444[/C][C]425.255555555555[/C][/ROW]
[ROW][C]27[/C][C]3867[/C][C]3935.94444444444[/C][C]-68.9444444444447[/C][/ROW]
[ROW][C]28[/C][C]3973[/C][C]3975.94444444444[/C][C]-2.94444444444459[/C][/ROW]
[ROW][C]29[/C][C]4640[/C][C]4577.54444444444[/C][C]62.4555555555553[/C][/ROW]
[ROW][C]30[/C][C]4538[/C][C]4516.34444444444[/C][C]21.6555555555554[/C][/ROW]
[ROW][C]31[/C][C]3836[/C][C]3848.74444444444[/C][C]-12.7444444444446[/C][/ROW]
[ROW][C]32[/C][C]3770[/C][C]3955.14444444444[/C][C]-185.144444444445[/C][/ROW]
[ROW][C]33[/C][C]4374[/C][C]4440.54444444444[/C][C]-66.5444444444443[/C][/ROW]
[ROW][C]34[/C][C]4497[/C][C]4578.94444444444[/C][C]-81.9444444444442[/C][/ROW]
[ROW][C]35[/C][C]3945[/C][C]3895.14444444444[/C][C]49.8555555555557[/C][/ROW]
[ROW][C]36[/C][C]3862[/C][C]3650.34444444444[/C][C]211.655555555556[/C][/ROW]
[ROW][C]37[/C][C]3608[/C][C]3671.84444444444[/C][C]-63.8444444444447[/C][/ROW]
[ROW][C]38[/C][C]3301[/C][C]3405.84444444444[/C][C]-104.844444444444[/C][/ROW]
[ROW][C]39[/C][C]3882[/C][C]3895.04444444444[/C][C]-13.0444444444447[/C][/ROW]
[ROW][C]40[/C][C]3605[/C][C]3935.04444444444[/C][C]-330.044444444445[/C][/ROW]
[ROW][C]41[/C][C]4305[/C][C]4536.64444444445[/C][C]-231.644444444445[/C][/ROW]
[ROW][C]42[/C][C]4216[/C][C]4475.44444444444[/C][C]-259.444444444445[/C][/ROW]
[ROW][C]43[/C][C]3971[/C][C]3807.84444444444[/C][C]163.155555555555[/C][/ROW]
[ROW][C]44[/C][C]3988[/C][C]3914.24444444444[/C][C]73.7555555555556[/C][/ROW]
[ROW][C]45[/C][C]4317[/C][C]4399.64444444444[/C][C]-82.6444444444442[/C][/ROW]
[ROW][C]46[/C][C]4484[/C][C]4538.04444444444[/C][C]-54.0444444444442[/C][/ROW]
[ROW][C]47[/C][C]4247[/C][C]3854.24444444444[/C][C]392.755555555556[/C][/ROW]
[ROW][C]48[/C][C]3520[/C][C]3609.44444444444[/C][C]-89.4444444444442[/C][/ROW]
[ROW][C]49[/C][C]3687[/C][C]3630.94444444444[/C][C]56.0555555555553[/C][/ROW]
[ROW][C]50[/C][C]3405[/C][C]3364.94444444444[/C][C]40.0555555555555[/C][/ROW]
[ROW][C]51[/C][C]3990[/C][C]3854.14444444444[/C][C]135.855555555555[/C][/ROW]
[ROW][C]52[/C][C]4047[/C][C]3894.14444444444[/C][C]152.855555555555[/C][/ROW]
[ROW][C]53[/C][C]4549[/C][C]4495.74444444444[/C][C]53.2555555555554[/C][/ROW]
[ROW][C]54[/C][C]4559[/C][C]4434.54444444444[/C][C]124.455555555555[/C][/ROW]
[ROW][C]55[/C][C]3926[/C][C]3766.94444444444[/C][C]159.055555555555[/C][/ROW]
[ROW][C]56[/C][C]4206[/C][C]3873.34444444444[/C][C]332.655555555556[/C][/ROW]
[ROW][C]57[/C][C]4517[/C][C]4358.74444444444[/C][C]158.255555555556[/C][/ROW]
[ROW][C]58[/C][C]4387[/C][C]4497.14444444444[/C][C]-110.144444444444[/C][/ROW]
[ROW][C]59[/C][C]3219[/C][C]3813.34444444444[/C][C]-594.344444444444[/C][/ROW]
[ROW][C]60[/C][C]3129[/C][C]3568.54444444444[/C][C]-439.544444444444[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3777&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3777&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
139263970.68333333333-44.6833333333322
235173704.68333333333-187.683333333333
341424193.88333333333-51.8833333333332
443534233.88333333333119.116666666667
550294835.48333333333193.516666666668
647554774.28333333333-19.2833333333327
738624106.68333333333-244.683333333333
844064213.08333333333192.916666666666
945674698.48333333333-131.483333333334
1048634836.8833333333326.1166666666657
1141214153.08333333333-32.0833333333343
1236263908.28333333333-282.283333333333
1338043929.78333333333-125.783333333334
1434913663.78333333333-172.783333333333
1541514152.98333333333-1.98333333333345
1642544192.9833333333361.0166666666666
1747174794.58333333333-77.5833333333334
1848664733.38333333333132.616666666666
1940014065.78333333333-64.7833333333333
2037584172.18333333333-414.183333333333
2147804657.58333333333122.416666666667
2250164795.98333333333220.016666666667
2342964112.18333333333183.816666666667
2444673867.38333333333599.616666666667
2538913712.74444444444178.255555555555
2638723446.74444444444425.255555555555
2738673935.94444444444-68.9444444444447
2839733975.94444444444-2.94444444444459
2946404577.5444444444462.4555555555553
3045384516.3444444444421.6555555555554
3138363848.74444444444-12.7444444444446
3237703955.14444444444-185.144444444445
3343744440.54444444444-66.5444444444443
3444974578.94444444444-81.9444444444442
3539453895.1444444444449.8555555555557
3638623650.34444444444211.655555555556
3736083671.84444444444-63.8444444444447
3833013405.84444444444-104.844444444444
3938823895.04444444444-13.0444444444447
4036053935.04444444444-330.044444444445
4143054536.64444444445-231.644444444445
4242164475.44444444444-259.444444444445
4339713807.84444444444163.155555555555
4439883914.2444444444473.7555555555556
4543174399.64444444444-82.6444444444442
4644844538.04444444444-54.0444444444442
4742473854.24444444444392.755555555556
4835203609.44444444444-89.4444444444442
4936873630.9444444444456.0555555555553
5034053364.9444444444440.0555555555555
5139903854.14444444444135.855555555555
5240473894.14444444444152.855555555555
5345494495.7444444444453.2555555555554
5445594434.54444444444124.455555555555
5539263766.94444444444159.055555555555
5642063873.34444444444332.655555555556
5745174358.74444444444158.255555555556
5843874497.14444444444-110.144444444444
5932193813.34444444444-594.344444444444
6031293568.54444444444-439.544444444444



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