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, 19 Nov 2009 07:34:50 -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/2009/Nov/19/t1258641489rmib54lyj8h6tri.htm/, Retrieved Wed, 24 Apr 2024 17:18:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57747, Retrieved Wed, 24 Apr 2024 17:18:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWS 7
Estimated Impact118
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]
-  M D    [Multiple Regression] [WS 7] [2009-11-19 14:34:50] [52b85b290d6f50b0921ad6729b8a5af2] [Current]
Feedback Forum

Post a new message
Dataseries X:
286602	0
283042	0
276687	0
277915	0
277128	0
277103	0
275037	0
270150	0
267140	0
264993	0
287259	0
291186	0
292300	0
288186	0
281477	0
282656	0
280190	0
280408	0
276836	0
275216	0
274352	0
271311	0
289802	0
290726	0
292300	0
278506	0
269826	0
265861	0
269034	0
264176	0
255198	0
253353	0
246057	0
235372	0
258556	0
260993	0
254663	0
250643	0
243422	0
247105	0
248541	0
245039	0
237080	0
237085	0
225554	0
226839	0
247934	0
248333	1
246969	1
245098	1
246263	1
255765	1
264319	1
268347	1
273046	1
273963	1
267430	1
271993	1
292710	1
295881	1




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57747&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57747&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57747&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

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







Multiple Linear Regression - Estimated Regression Equation
nwwmb[t] = + 301925.215652174 + 27102.0695652174dummy_variable[t] -8235.60492753617M1[t] -12725.675942029M2[t] -17303.9469565217M3[t] -13996.8179710145M4[t] -11033.0889855073M5[t] -10879.1600000000M6[t] -13472.6310144928M7[t] -13976.9020289855M8[t] -18841.9730434783M9[t] -19865.2440579710M10[t] + 2267.08492753623M11[t] -981.728985507247t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
nwwmb[t] =  +  301925.215652174 +  27102.0695652174dummy_variable[t] -8235.60492753617M1[t] -12725.675942029M2[t] -17303.9469565217M3[t] -13996.8179710145M4[t] -11033.0889855073M5[t] -10879.1600000000M6[t] -13472.6310144928M7[t] -13976.9020289855M8[t] -18841.9730434783M9[t] -19865.2440579710M10[t] +  2267.08492753623M11[t] -981.728985507247t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57747&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]nwwmb[t] =  +  301925.215652174 +  27102.0695652174dummy_variable[t] -8235.60492753617M1[t] -12725.675942029M2[t] -17303.9469565217M3[t] -13996.8179710145M4[t] -11033.0889855073M5[t] -10879.1600000000M6[t] -13472.6310144928M7[t] -13976.9020289855M8[t] -18841.9730434783M9[t] -19865.2440579710M10[t] +  2267.08492753623M11[t] -981.728985507247t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57747&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57747&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
nwwmb[t] = + 301925.215652174 + 27102.0695652174dummy_variable[t] -8235.60492753617M1[t] -12725.675942029M2[t] -17303.9469565217M3[t] -13996.8179710145M4[t] -11033.0889855073M5[t] -10879.1600000000M6[t] -13472.6310144928M7[t] -13976.9020289855M8[t] -18841.9730434783M9[t] -19865.2440579710M10[t] + 2267.08492753623M11[t] -981.728985507247t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)301925.2156521747126.65937442.365600
dummy_variable27102.06956521746092.4229914.44855.4e-052.7e-05
M1-8235.604927536178508.262135-0.9680.3381290.169065
M2-12725.6759420298496.893764-1.49770.1410460.070523
M3-17303.94695652178488.041171-2.03860.0472590.023629
M4-13996.81797101458481.712233-1.65020.1057080.052854
M5-11033.08898550738477.912602-1.30140.1996050.099802
M6-10879.16000000008476.64568-1.28340.205770.102885
M7-13472.63101449288477.912602-1.58910.1188780.059439
M8-13976.90202898558481.712233-1.64790.1061910.053095
M9-18841.97304347838488.041171-2.21980.03140.0157
M10-19865.24405797108496.893764-2.33790.0237950.011897
M112267.084927536238508.2621350.26650.7910780.395539
t-981.728985507247146.560919-6.698400

\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) & 301925.215652174 & 7126.659374 & 42.3656 & 0 & 0 \tabularnewline
dummy_variable & 27102.0695652174 & 6092.422991 & 4.4485 & 5.4e-05 & 2.7e-05 \tabularnewline
M1 & -8235.60492753617 & 8508.262135 & -0.968 & 0.338129 & 0.169065 \tabularnewline
M2 & -12725.675942029 & 8496.893764 & -1.4977 & 0.141046 & 0.070523 \tabularnewline
M3 & -17303.9469565217 & 8488.041171 & -2.0386 & 0.047259 & 0.023629 \tabularnewline
M4 & -13996.8179710145 & 8481.712233 & -1.6502 & 0.105708 & 0.052854 \tabularnewline
M5 & -11033.0889855073 & 8477.912602 & -1.3014 & 0.199605 & 0.099802 \tabularnewline
M6 & -10879.1600000000 & 8476.64568 & -1.2834 & 0.20577 & 0.102885 \tabularnewline
M7 & -13472.6310144928 & 8477.912602 & -1.5891 & 0.118878 & 0.059439 \tabularnewline
M8 & -13976.9020289855 & 8481.712233 & -1.6479 & 0.106191 & 0.053095 \tabularnewline
M9 & -18841.9730434783 & 8488.041171 & -2.2198 & 0.0314 & 0.0157 \tabularnewline
M10 & -19865.2440579710 & 8496.893764 & -2.3379 & 0.023795 & 0.011897 \tabularnewline
M11 & 2267.08492753623 & 8508.262135 & 0.2665 & 0.791078 & 0.395539 \tabularnewline
t & -981.728985507247 & 146.560919 & -6.6984 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57747&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]301925.215652174[/C][C]7126.659374[/C][C]42.3656[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummy_variable[/C][C]27102.0695652174[/C][C]6092.422991[/C][C]4.4485[/C][C]5.4e-05[/C][C]2.7e-05[/C][/ROW]
[ROW][C]M1[/C][C]-8235.60492753617[/C][C]8508.262135[/C][C]-0.968[/C][C]0.338129[/C][C]0.169065[/C][/ROW]
[ROW][C]M2[/C][C]-12725.675942029[/C][C]8496.893764[/C][C]-1.4977[/C][C]0.141046[/C][C]0.070523[/C][/ROW]
[ROW][C]M3[/C][C]-17303.9469565217[/C][C]8488.041171[/C][C]-2.0386[/C][C]0.047259[/C][C]0.023629[/C][/ROW]
[ROW][C]M4[/C][C]-13996.8179710145[/C][C]8481.712233[/C][C]-1.6502[/C][C]0.105708[/C][C]0.052854[/C][/ROW]
[ROW][C]M5[/C][C]-11033.0889855073[/C][C]8477.912602[/C][C]-1.3014[/C][C]0.199605[/C][C]0.099802[/C][/ROW]
[ROW][C]M6[/C][C]-10879.1600000000[/C][C]8476.64568[/C][C]-1.2834[/C][C]0.20577[/C][C]0.102885[/C][/ROW]
[ROW][C]M7[/C][C]-13472.6310144928[/C][C]8477.912602[/C][C]-1.5891[/C][C]0.118878[/C][C]0.059439[/C][/ROW]
[ROW][C]M8[/C][C]-13976.9020289855[/C][C]8481.712233[/C][C]-1.6479[/C][C]0.106191[/C][C]0.053095[/C][/ROW]
[ROW][C]M9[/C][C]-18841.9730434783[/C][C]8488.041171[/C][C]-2.2198[/C][C]0.0314[/C][C]0.0157[/C][/ROW]
[ROW][C]M10[/C][C]-19865.2440579710[/C][C]8496.893764[/C][C]-2.3379[/C][C]0.023795[/C][C]0.011897[/C][/ROW]
[ROW][C]M11[/C][C]2267.08492753623[/C][C]8508.262135[/C][C]0.2665[/C][C]0.791078[/C][C]0.395539[/C][/ROW]
[ROW][C]t[/C][C]-981.728985507247[/C][C]146.560919[/C][C]-6.6984[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57747&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57747&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)301925.2156521747126.65937442.365600
dummy_variable27102.06956521746092.4229914.44855.4e-052.7e-05
M1-8235.604927536178508.262135-0.9680.3381290.169065
M2-12725.6759420298496.893764-1.49770.1410460.070523
M3-17303.94695652178488.041171-2.03860.0472590.023629
M4-13996.81797101458481.712233-1.65020.1057080.052854
M5-11033.08898550738477.912602-1.30140.1996050.099802
M6-10879.16000000008476.64568-1.28340.205770.102885
M7-13472.63101449288477.912602-1.58910.1188780.059439
M8-13976.90202898558481.712233-1.64790.1061910.053095
M9-18841.97304347838488.041171-2.21980.03140.0157
M10-19865.24405797108496.893764-2.33790.0237950.011897
M112267.084927536238508.2621350.26650.7910780.395539
t-981.728985507247146.560919-6.698400







Multiple Linear Regression - Regression Statistics
Multiple R0.755624544566562
R-squared0.570968452351425
Adjusted R-squared0.449720406276828
F-TEST (value)4.70909405006114
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.2543697165609e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13336.2383167097
Sum Squared Residuals8181341612.24347

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.755624544566562 \tabularnewline
R-squared & 0.570968452351425 \tabularnewline
Adjusted R-squared & 0.449720406276828 \tabularnewline
F-TEST (value) & 4.70909405006114 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 4.2543697165609e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 13336.2383167097 \tabularnewline
Sum Squared Residuals & 8181341612.24347 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57747&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.755624544566562[/C][/ROW]
[ROW][C]R-squared[/C][C]0.570968452351425[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.449720406276828[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.70909405006114[/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.2543697165609e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]13336.2383167097[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8181341612.24347[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57747&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57747&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.755624544566562
R-squared0.570968452351425
Adjusted R-squared0.449720406276828
F-TEST (value)4.70909405006114
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.2543697165609e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13336.2383167097
Sum Squared Residuals8181341612.24347







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1286602292707.88173913-6105.88173913017
2283042287236.081739130-4194.08173913043
3276687281676.081739130-4989.08173913046
4277915284001.481739130-6086.48173913043
5277128285983.481739130-8855.48173913047
6277103285155.681739130-8052.68173913045
7275037281580.481739130-6543.48173913046
8270150280094.481739130-9944.48173913043
9267140274247.681739130-7107.68173913044
10264993272242.681739130-7249.68173913046
11287259293393.281739130-6134.28173913044
12291186290144.4678260871041.53217391303
13292300280927.13391304411372.8660869565
14288186275455.33391304312730.6660869565
15281477269895.33391304311581.6660869565
16282656272220.73391304410435.2660869565
17280190274202.7339130435987.26608695652
18280408273374.9339130437033.06608695651
19276836269799.7339130447036.26608695651
20275216268313.7339130446902.26608695651
21274352262466.93391304311885.0660869565
22271311260461.93391304310849.0660869565
23289802281612.5339130448189.46608695652
24290726278363.7212362.28
25292300269146.38608695723153.6139130434
26278506263674.58608695614831.4139130435
27269826258114.58608695711711.4139130435
28265861260439.9860869575421.01391304348
29269034262421.9860869576612.01391304349
30264176261594.1860869572581.81391304349
31255198258018.986086957-2820.98608695652
32253353256532.986086957-3179.98608695652
33246057250686.186086957-4629.18608695652
34235372248681.186086957-13309.1860869565
35258556269831.786086957-11275.7860869565
36260993266582.972173913-5589.97217391304
37254663257365.638260870-2702.63826086963
38250643251893.838260870-1250.83826086955
39243422246333.838260870-2911.83826086955
40247105248659.238260870-1554.23826086955
41248541250641.238260870-2100.23826086954
42245039249813.438260870-4774.43826086955
43237080246238.238260870-9158.23826086955
44237085244752.238260870-7667.23826086955
45225554238905.438260870-13351.4382608696
46226839236900.438260870-10061.4382608696
47247934258051.038260870-10117.0382608696
48248333281904.293913043-33571.2939130435
49246969272686.96-25717.9600000001
50245098267215.16-22117.16
51246263261655.16-15392.16
52255765263980.56-8215.56
53264319265962.56-1643.55999999999
54268347265134.763212.24000000001
55273046261559.5611486.44
56273963260073.5613889.44
57267430254226.7613203.24
58271993252221.7619771.24
59292710273372.3619337.64
60295881270123.54608695725757.4539130435

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 286602 & 292707.88173913 & -6105.88173913017 \tabularnewline
2 & 283042 & 287236.081739130 & -4194.08173913043 \tabularnewline
3 & 276687 & 281676.081739130 & -4989.08173913046 \tabularnewline
4 & 277915 & 284001.481739130 & -6086.48173913043 \tabularnewline
5 & 277128 & 285983.481739130 & -8855.48173913047 \tabularnewline
6 & 277103 & 285155.681739130 & -8052.68173913045 \tabularnewline
7 & 275037 & 281580.481739130 & -6543.48173913046 \tabularnewline
8 & 270150 & 280094.481739130 & -9944.48173913043 \tabularnewline
9 & 267140 & 274247.681739130 & -7107.68173913044 \tabularnewline
10 & 264993 & 272242.681739130 & -7249.68173913046 \tabularnewline
11 & 287259 & 293393.281739130 & -6134.28173913044 \tabularnewline
12 & 291186 & 290144.467826087 & 1041.53217391303 \tabularnewline
13 & 292300 & 280927.133913044 & 11372.8660869565 \tabularnewline
14 & 288186 & 275455.333913043 & 12730.6660869565 \tabularnewline
15 & 281477 & 269895.333913043 & 11581.6660869565 \tabularnewline
16 & 282656 & 272220.733913044 & 10435.2660869565 \tabularnewline
17 & 280190 & 274202.733913043 & 5987.26608695652 \tabularnewline
18 & 280408 & 273374.933913043 & 7033.06608695651 \tabularnewline
19 & 276836 & 269799.733913044 & 7036.26608695651 \tabularnewline
20 & 275216 & 268313.733913044 & 6902.26608695651 \tabularnewline
21 & 274352 & 262466.933913043 & 11885.0660869565 \tabularnewline
22 & 271311 & 260461.933913043 & 10849.0660869565 \tabularnewline
23 & 289802 & 281612.533913044 & 8189.46608695652 \tabularnewline
24 & 290726 & 278363.72 & 12362.28 \tabularnewline
25 & 292300 & 269146.386086957 & 23153.6139130434 \tabularnewline
26 & 278506 & 263674.586086956 & 14831.4139130435 \tabularnewline
27 & 269826 & 258114.586086957 & 11711.4139130435 \tabularnewline
28 & 265861 & 260439.986086957 & 5421.01391304348 \tabularnewline
29 & 269034 & 262421.986086957 & 6612.01391304349 \tabularnewline
30 & 264176 & 261594.186086957 & 2581.81391304349 \tabularnewline
31 & 255198 & 258018.986086957 & -2820.98608695652 \tabularnewline
32 & 253353 & 256532.986086957 & -3179.98608695652 \tabularnewline
33 & 246057 & 250686.186086957 & -4629.18608695652 \tabularnewline
34 & 235372 & 248681.186086957 & -13309.1860869565 \tabularnewline
35 & 258556 & 269831.786086957 & -11275.7860869565 \tabularnewline
36 & 260993 & 266582.972173913 & -5589.97217391304 \tabularnewline
37 & 254663 & 257365.638260870 & -2702.63826086963 \tabularnewline
38 & 250643 & 251893.838260870 & -1250.83826086955 \tabularnewline
39 & 243422 & 246333.838260870 & -2911.83826086955 \tabularnewline
40 & 247105 & 248659.238260870 & -1554.23826086955 \tabularnewline
41 & 248541 & 250641.238260870 & -2100.23826086954 \tabularnewline
42 & 245039 & 249813.438260870 & -4774.43826086955 \tabularnewline
43 & 237080 & 246238.238260870 & -9158.23826086955 \tabularnewline
44 & 237085 & 244752.238260870 & -7667.23826086955 \tabularnewline
45 & 225554 & 238905.438260870 & -13351.4382608696 \tabularnewline
46 & 226839 & 236900.438260870 & -10061.4382608696 \tabularnewline
47 & 247934 & 258051.038260870 & -10117.0382608696 \tabularnewline
48 & 248333 & 281904.293913043 & -33571.2939130435 \tabularnewline
49 & 246969 & 272686.96 & -25717.9600000001 \tabularnewline
50 & 245098 & 267215.16 & -22117.16 \tabularnewline
51 & 246263 & 261655.16 & -15392.16 \tabularnewline
52 & 255765 & 263980.56 & -8215.56 \tabularnewline
53 & 264319 & 265962.56 & -1643.55999999999 \tabularnewline
54 & 268347 & 265134.76 & 3212.24000000001 \tabularnewline
55 & 273046 & 261559.56 & 11486.44 \tabularnewline
56 & 273963 & 260073.56 & 13889.44 \tabularnewline
57 & 267430 & 254226.76 & 13203.24 \tabularnewline
58 & 271993 & 252221.76 & 19771.24 \tabularnewline
59 & 292710 & 273372.36 & 19337.64 \tabularnewline
60 & 295881 & 270123.546086957 & 25757.4539130435 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57747&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]286602[/C][C]292707.88173913[/C][C]-6105.88173913017[/C][/ROW]
[ROW][C]2[/C][C]283042[/C][C]287236.081739130[/C][C]-4194.08173913043[/C][/ROW]
[ROW][C]3[/C][C]276687[/C][C]281676.081739130[/C][C]-4989.08173913046[/C][/ROW]
[ROW][C]4[/C][C]277915[/C][C]284001.481739130[/C][C]-6086.48173913043[/C][/ROW]
[ROW][C]5[/C][C]277128[/C][C]285983.481739130[/C][C]-8855.48173913047[/C][/ROW]
[ROW][C]6[/C][C]277103[/C][C]285155.681739130[/C][C]-8052.68173913045[/C][/ROW]
[ROW][C]7[/C][C]275037[/C][C]281580.481739130[/C][C]-6543.48173913046[/C][/ROW]
[ROW][C]8[/C][C]270150[/C][C]280094.481739130[/C][C]-9944.48173913043[/C][/ROW]
[ROW][C]9[/C][C]267140[/C][C]274247.681739130[/C][C]-7107.68173913044[/C][/ROW]
[ROW][C]10[/C][C]264993[/C][C]272242.681739130[/C][C]-7249.68173913046[/C][/ROW]
[ROW][C]11[/C][C]287259[/C][C]293393.281739130[/C][C]-6134.28173913044[/C][/ROW]
[ROW][C]12[/C][C]291186[/C][C]290144.467826087[/C][C]1041.53217391303[/C][/ROW]
[ROW][C]13[/C][C]292300[/C][C]280927.133913044[/C][C]11372.8660869565[/C][/ROW]
[ROW][C]14[/C][C]288186[/C][C]275455.333913043[/C][C]12730.6660869565[/C][/ROW]
[ROW][C]15[/C][C]281477[/C][C]269895.333913043[/C][C]11581.6660869565[/C][/ROW]
[ROW][C]16[/C][C]282656[/C][C]272220.733913044[/C][C]10435.2660869565[/C][/ROW]
[ROW][C]17[/C][C]280190[/C][C]274202.733913043[/C][C]5987.26608695652[/C][/ROW]
[ROW][C]18[/C][C]280408[/C][C]273374.933913043[/C][C]7033.06608695651[/C][/ROW]
[ROW][C]19[/C][C]276836[/C][C]269799.733913044[/C][C]7036.26608695651[/C][/ROW]
[ROW][C]20[/C][C]275216[/C][C]268313.733913044[/C][C]6902.26608695651[/C][/ROW]
[ROW][C]21[/C][C]274352[/C][C]262466.933913043[/C][C]11885.0660869565[/C][/ROW]
[ROW][C]22[/C][C]271311[/C][C]260461.933913043[/C][C]10849.0660869565[/C][/ROW]
[ROW][C]23[/C][C]289802[/C][C]281612.533913044[/C][C]8189.46608695652[/C][/ROW]
[ROW][C]24[/C][C]290726[/C][C]278363.72[/C][C]12362.28[/C][/ROW]
[ROW][C]25[/C][C]292300[/C][C]269146.386086957[/C][C]23153.6139130434[/C][/ROW]
[ROW][C]26[/C][C]278506[/C][C]263674.586086956[/C][C]14831.4139130435[/C][/ROW]
[ROW][C]27[/C][C]269826[/C][C]258114.586086957[/C][C]11711.4139130435[/C][/ROW]
[ROW][C]28[/C][C]265861[/C][C]260439.986086957[/C][C]5421.01391304348[/C][/ROW]
[ROW][C]29[/C][C]269034[/C][C]262421.986086957[/C][C]6612.01391304349[/C][/ROW]
[ROW][C]30[/C][C]264176[/C][C]261594.186086957[/C][C]2581.81391304349[/C][/ROW]
[ROW][C]31[/C][C]255198[/C][C]258018.986086957[/C][C]-2820.98608695652[/C][/ROW]
[ROW][C]32[/C][C]253353[/C][C]256532.986086957[/C][C]-3179.98608695652[/C][/ROW]
[ROW][C]33[/C][C]246057[/C][C]250686.186086957[/C][C]-4629.18608695652[/C][/ROW]
[ROW][C]34[/C][C]235372[/C][C]248681.186086957[/C][C]-13309.1860869565[/C][/ROW]
[ROW][C]35[/C][C]258556[/C][C]269831.786086957[/C][C]-11275.7860869565[/C][/ROW]
[ROW][C]36[/C][C]260993[/C][C]266582.972173913[/C][C]-5589.97217391304[/C][/ROW]
[ROW][C]37[/C][C]254663[/C][C]257365.638260870[/C][C]-2702.63826086963[/C][/ROW]
[ROW][C]38[/C][C]250643[/C][C]251893.838260870[/C][C]-1250.83826086955[/C][/ROW]
[ROW][C]39[/C][C]243422[/C][C]246333.838260870[/C][C]-2911.83826086955[/C][/ROW]
[ROW][C]40[/C][C]247105[/C][C]248659.238260870[/C][C]-1554.23826086955[/C][/ROW]
[ROW][C]41[/C][C]248541[/C][C]250641.238260870[/C][C]-2100.23826086954[/C][/ROW]
[ROW][C]42[/C][C]245039[/C][C]249813.438260870[/C][C]-4774.43826086955[/C][/ROW]
[ROW][C]43[/C][C]237080[/C][C]246238.238260870[/C][C]-9158.23826086955[/C][/ROW]
[ROW][C]44[/C][C]237085[/C][C]244752.238260870[/C][C]-7667.23826086955[/C][/ROW]
[ROW][C]45[/C][C]225554[/C][C]238905.438260870[/C][C]-13351.4382608696[/C][/ROW]
[ROW][C]46[/C][C]226839[/C][C]236900.438260870[/C][C]-10061.4382608696[/C][/ROW]
[ROW][C]47[/C][C]247934[/C][C]258051.038260870[/C][C]-10117.0382608696[/C][/ROW]
[ROW][C]48[/C][C]248333[/C][C]281904.293913043[/C][C]-33571.2939130435[/C][/ROW]
[ROW][C]49[/C][C]246969[/C][C]272686.96[/C][C]-25717.9600000001[/C][/ROW]
[ROW][C]50[/C][C]245098[/C][C]267215.16[/C][C]-22117.16[/C][/ROW]
[ROW][C]51[/C][C]246263[/C][C]261655.16[/C][C]-15392.16[/C][/ROW]
[ROW][C]52[/C][C]255765[/C][C]263980.56[/C][C]-8215.56[/C][/ROW]
[ROW][C]53[/C][C]264319[/C][C]265962.56[/C][C]-1643.55999999999[/C][/ROW]
[ROW][C]54[/C][C]268347[/C][C]265134.76[/C][C]3212.24000000001[/C][/ROW]
[ROW][C]55[/C][C]273046[/C][C]261559.56[/C][C]11486.44[/C][/ROW]
[ROW][C]56[/C][C]273963[/C][C]260073.56[/C][C]13889.44[/C][/ROW]
[ROW][C]57[/C][C]267430[/C][C]254226.76[/C][C]13203.24[/C][/ROW]
[ROW][C]58[/C][C]271993[/C][C]252221.76[/C][C]19771.24[/C][/ROW]
[ROW][C]59[/C][C]292710[/C][C]273372.36[/C][C]19337.64[/C][/ROW]
[ROW][C]60[/C][C]295881[/C][C]270123.546086957[/C][C]25757.4539130435[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57747&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57747&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
1286602292707.88173913-6105.88173913017
2283042287236.081739130-4194.08173913043
3276687281676.081739130-4989.08173913046
4277915284001.481739130-6086.48173913043
5277128285983.481739130-8855.48173913047
6277103285155.681739130-8052.68173913045
7275037281580.481739130-6543.48173913046
8270150280094.481739130-9944.48173913043
9267140274247.681739130-7107.68173913044
10264993272242.681739130-7249.68173913046
11287259293393.281739130-6134.28173913044
12291186290144.4678260871041.53217391303
13292300280927.13391304411372.8660869565
14288186275455.33391304312730.6660869565
15281477269895.33391304311581.6660869565
16282656272220.73391304410435.2660869565
17280190274202.7339130435987.26608695652
18280408273374.9339130437033.06608695651
19276836269799.7339130447036.26608695651
20275216268313.7339130446902.26608695651
21274352262466.93391304311885.0660869565
22271311260461.93391304310849.0660869565
23289802281612.5339130448189.46608695652
24290726278363.7212362.28
25292300269146.38608695723153.6139130434
26278506263674.58608695614831.4139130435
27269826258114.58608695711711.4139130435
28265861260439.9860869575421.01391304348
29269034262421.9860869576612.01391304349
30264176261594.1860869572581.81391304349
31255198258018.986086957-2820.98608695652
32253353256532.986086957-3179.98608695652
33246057250686.186086957-4629.18608695652
34235372248681.186086957-13309.1860869565
35258556269831.786086957-11275.7860869565
36260993266582.972173913-5589.97217391304
37254663257365.638260870-2702.63826086963
38250643251893.838260870-1250.83826086955
39243422246333.838260870-2911.83826086955
40247105248659.238260870-1554.23826086955
41248541250641.238260870-2100.23826086954
42245039249813.438260870-4774.43826086955
43237080246238.238260870-9158.23826086955
44237085244752.238260870-7667.23826086955
45225554238905.438260870-13351.4382608696
46226839236900.438260870-10061.4382608696
47247934258051.038260870-10117.0382608696
48248333281904.293913043-33571.2939130435
49246969272686.96-25717.9600000001
50245098267215.16-22117.16
51246263261655.16-15392.16
52255765263980.56-8215.56
53264319265962.56-1643.55999999999
54268347265134.763212.24000000001
55273046261559.5611486.44
56273963260073.5613889.44
57267430254226.7613203.24
58271993252221.7619771.24
59292710273372.3619337.64
60295881270123.54608695725757.4539130435



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