Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 25 Nov 2007 07:01:10 -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/Nov/25/t11959987516nmheary2el29v3.htm/, Retrieved Sat, 04 May 2024 07:00:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6455, Retrieved Sat, 04 May 2024 07:00:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact199
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Workshop 3 Q3 ass...] [2007-11-25 14:01:10] [44cf2be50bc8700e14714598feda9df9] [Current]
Feedback Forum

Post a new message
Dataseries X:
15761.3	0
16943.0	0
15070.3	0
13659.6	0
14768.9	0
14725.1	0
15998.1	0
15370.6	0
14956.9	0
15469.7	0
15101.8	0
11703.7	0
16283.6	0
16726.5	0
14968.9	0
14861.0	1
14583.3	1
15305.8	1
17903.9	1
16379.4	0
15420.3	0
17870.5	1
15912.8	1
13866.5	1
17823.2	1
17872.0	1
17420.4	1
16704.4	1
15991.2	1
16583.6	1
19123.5	1
17838.7	1
17209.4	1
18586.5	1
16258.1	1
15141.6	1
19202.1	1
17746.5	1
19090.1	0
18040.3	0
17515.5	1
17751.8	0
21072.4	0
17170.0	1
19439.5	1
19795.4	1
17574.9	1
16165.4	1
19464.6	1
19932.1	1
19961.2	1
17343.4	1
18924.2	1
18574.1	1
21350.6	1
18840.1	1
20304.8	1
21132.4	1
19753.9	1
18009.9	1
20390.4	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 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 & 6 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=6455&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]6 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=6455&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6455&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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 11592.6852004111 -182.921377183966x[t] + 3642.81713600548M1[t] + 3810.86903048989M2[t] + 3134.35942446043M3[t] + 1892.41836930456M4[t] + 2065.79731414868M5[t] + 2162.58770811922M6[t] + 4566.12237752655M7[t] + 2498.09704693388M8[t] + 2746.43171634121M9[t] + 3789.65066118534M10[t] + 2040.96533059267M11[t] + 98.0853305926687t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  11592.6852004111 -182.921377183966x[t] +  3642.81713600548M1[t] +  3810.86903048989M2[t] +  3134.35942446043M3[t] +  1892.41836930456M4[t] +  2065.79731414868M5[t] +  2162.58770811922M6[t] +  4566.12237752655M7[t] +  2498.09704693388M8[t] +  2746.43171634121M9[t] +  3789.65066118534M10[t] +  2040.96533059267M11[t] +  98.0853305926687t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6455&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  11592.6852004111 -182.921377183966x[t] +  3642.81713600548M1[t] +  3810.86903048989M2[t] +  3134.35942446043M3[t] +  1892.41836930456M4[t] +  2065.79731414868M5[t] +  2162.58770811922M6[t] +  4566.12237752655M7[t] +  2498.09704693388M8[t] +  2746.43171634121M9[t] +  3789.65066118534M10[t] +  2040.96533059267M11[t] +  98.0853305926687t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6455&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
y[t] = + 11592.6852004111 -182.921377183966x[t] + 3642.81713600548M1[t] + 3810.86903048989M2[t] + 3134.35942446043M3[t] + 1892.41836930456M4[t] + 2065.79731414868M5[t] + 2162.58770811922M6[t] + 4566.12237752655M7[t] + 2498.09704693388M8[t] + 2746.43171634121M9[t] + 3789.65066118534M10[t] + 2040.96533059267M11[t] + 98.0853305926687t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)11592.6852004111336.13403734.488300
x-182.921377183966231.932867-0.78870.4342580.217129
M13642.81713600548388.8526249.368100
M23810.86903048989408.0316939.339600
M33134.35942446043411.4606017.617600
M41892.41836930456407.2554554.64682.7e-051.4e-05
M52065.79731414868407.5071755.06947e-063e-06
M62162.58770811922406.8504575.31543e-061e-06
M74566.12237752655406.7875611.224800
M82498.09704693388406.817816.140600
M92746.43171634121406.9411856.74900
M103789.65066118534405.4095469.347700
M112040.96533059267405.2693185.03617e-064e-06
t98.08533059266876.15575315.933900

\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) & 11592.6852004111 & 336.134037 & 34.4883 & 0 & 0 \tabularnewline
x & -182.921377183966 & 231.932867 & -0.7887 & 0.434258 & 0.217129 \tabularnewline
M1 & 3642.81713600548 & 388.852624 & 9.3681 & 0 & 0 \tabularnewline
M2 & 3810.86903048989 & 408.031693 & 9.3396 & 0 & 0 \tabularnewline
M3 & 3134.35942446043 & 411.460601 & 7.6176 & 0 & 0 \tabularnewline
M4 & 1892.41836930456 & 407.255455 & 4.6468 & 2.7e-05 & 1.4e-05 \tabularnewline
M5 & 2065.79731414868 & 407.507175 & 5.0694 & 7e-06 & 3e-06 \tabularnewline
M6 & 2162.58770811922 & 406.850457 & 5.3154 & 3e-06 & 1e-06 \tabularnewline
M7 & 4566.12237752655 & 406.78756 & 11.2248 & 0 & 0 \tabularnewline
M8 & 2498.09704693388 & 406.81781 & 6.1406 & 0 & 0 \tabularnewline
M9 & 2746.43171634121 & 406.941185 & 6.749 & 0 & 0 \tabularnewline
M10 & 3789.65066118534 & 405.409546 & 9.3477 & 0 & 0 \tabularnewline
M11 & 2040.96533059267 & 405.269318 & 5.0361 & 7e-06 & 4e-06 \tabularnewline
t & 98.0853305926687 & 6.155753 & 15.9339 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6455&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]11592.6852004111[/C][C]336.134037[/C][C]34.4883[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-182.921377183966[/C][C]231.932867[/C][C]-0.7887[/C][C]0.434258[/C][C]0.217129[/C][/ROW]
[ROW][C]M1[/C][C]3642.81713600548[/C][C]388.852624[/C][C]9.3681[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M2[/C][C]3810.86903048989[/C][C]408.031693[/C][C]9.3396[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]3134.35942446043[/C][C]411.460601[/C][C]7.6176[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]1892.41836930456[/C][C]407.255455[/C][C]4.6468[/C][C]2.7e-05[/C][C]1.4e-05[/C][/ROW]
[ROW][C]M5[/C][C]2065.79731414868[/C][C]407.507175[/C][C]5.0694[/C][C]7e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M6[/C][C]2162.58770811922[/C][C]406.850457[/C][C]5.3154[/C][C]3e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M7[/C][C]4566.12237752655[/C][C]406.78756[/C][C]11.2248[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]2498.09704693388[/C][C]406.81781[/C][C]6.1406[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]2746.43171634121[/C][C]406.941185[/C][C]6.749[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]3789.65066118534[/C][C]405.409546[/C][C]9.3477[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]2040.96533059267[/C][C]405.269318[/C][C]5.0361[/C][C]7e-06[/C][C]4e-06[/C][/ROW]
[ROW][C]t[/C][C]98.0853305926687[/C][C]6.155753[/C][C]15.9339[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6455&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6455&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)11592.6852004111336.13403734.488300
x-182.921377183966231.932867-0.78870.4342580.217129
M13642.81713600548388.8526249.368100
M23810.86903048989408.0316939.339600
M33134.35942446043411.4606017.617600
M41892.41836930456407.2554554.64682.7e-051.4e-05
M52065.79731414868407.5071755.06947e-063e-06
M62162.58770811922406.8504575.31543e-061e-06
M74566.12237752655406.7875611.224800
M82498.09704693388406.817816.140600
M92746.43171634121406.9411856.74900
M103789.65066118534405.4095469.347700
M112040.96533059267405.2693185.03617e-064e-06
t98.08533059266876.15575315.933900







Multiple Linear Regression - Regression Statistics
Multiple R0.961683359108548
R-squared0.9248348831863
Adjusted R-squared0.904044531727191
F-TEST (value)44.4838503574751
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation640.713130962519
Sum Squared Residuals19294125.8608263

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.961683359108548 \tabularnewline
R-squared & 0.9248348831863 \tabularnewline
Adjusted R-squared & 0.904044531727191 \tabularnewline
F-TEST (value) & 44.4838503574751 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 640.713130962519 \tabularnewline
Sum Squared Residuals & 19294125.8608263 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6455&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.961683359108548[/C][/ROW]
[ROW][C]R-squared[/C][C]0.9248348831863[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.904044531727191[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]44.4838503574751[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]640.713130962519[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]19294125.8608263[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6455&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6455&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.961683359108548
R-squared0.9248348831863
Adjusted R-squared0.904044531727191
F-TEST (value)44.4838503574751
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation640.713130962519
Sum Squared Residuals19294125.8608263







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
115761.315333.5876670093427.712332990746
21694315599.72489208631343.27510791367
315070.315021.300616649548.9993833504616
413659.613877.4448920863-217.844892086332
514768.914148.9091675231619.990832476877
614725.114343.7848920863381.315107913671
715998.116845.4048920863-847.304892086332
815370.614875.4648920863495.13510791367
914956.915221.8848920863-264.984892086331
1015469.716363.1891675231-893.489167523125
1115101.814712.5891675231389.210832476875
1211703.712769.7091675231-1066.00916752312
1316283.616510.6116341213-227.011634121272
1416726.516776.7488591984-50.2488591983559
1514968.916198.3245837616-1229.42458376156
161486114871.5474820144-10.5474820143891
1714583.315143.0117574512-559.711757451184
1815305.815337.8874820144-32.0874820143884
1917903.917839.507482014464.3925179856128
2016379.416052.4888591984326.911140801645
2115420.316398.9088591984-978.608859198355
2217870.517357.2917574512513.208242548818
2315912.815706.6917574512206.108242548818
2413866.513763.8117574512102.688242548817
2517823.217504.7142240493318.48577595067
261787217770.8514491264101.148550873587
2717420.417192.4271736896227.972826310382
2816704.416048.5714491264655.828550873588
2915991.216320.0357245632-328.835724563206
3016583.616514.911449126468.6885508735854
3119123.519016.5314491264106.968550873586
3217838.717046.5914491264792.108550873588
3317209.417393.0114491264-183.611449126411
3418586.518534.315724563252.1842754367934
3516258.116883.7157245632-625.615724563206
3615141.614940.8357245632200.764275436793
3719202.118681.7381911614520.361808838642
3817746.518947.8754162384-1201.37541623844
3919090.118552.3725179856537.727482014388
4018040.317408.5167934224631.783206577595
4117515.517497.059691675218.4403083247685
4217751.817874.8567934224-123.056793422405
4321072.420376.4767934224695.923206577597
441717018223.6154162384-1053.61541623844
4519439.518570.0354162384869.464583761562
4619795.419711.339691675284.0603083247689
4717574.918060.7396916752-485.83969167523
4816165.416117.859691675247.5403083247679
4919464.619858.7621582734-394.162158273382
5019932.120124.8993833505-192.799383350464
5119961.219546.4751079137414.724892086332
5217343.418402.6193833505-1059.21938335046
5318924.218674.0836587873250.116341212744
5418574.118868.9593833505-294.859383350464
5521350.621370.5793833505-19.9793833504646
5618840.119400.6393833505-560.539383350464
5720304.819747.0593833505557.740616649536
5821132.420888.3636587873244.036341212745
5919753.919237.7636587873516.136341212744
6018009.917294.8836587873715.016341212745
6120390.421035.7861253854-645.386125385404

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 15761.3 & 15333.5876670093 & 427.712332990746 \tabularnewline
2 & 16943 & 15599.7248920863 & 1343.27510791367 \tabularnewline
3 & 15070.3 & 15021.3006166495 & 48.9993833504616 \tabularnewline
4 & 13659.6 & 13877.4448920863 & -217.844892086332 \tabularnewline
5 & 14768.9 & 14148.9091675231 & 619.990832476877 \tabularnewline
6 & 14725.1 & 14343.7848920863 & 381.315107913671 \tabularnewline
7 & 15998.1 & 16845.4048920863 & -847.304892086332 \tabularnewline
8 & 15370.6 & 14875.4648920863 & 495.13510791367 \tabularnewline
9 & 14956.9 & 15221.8848920863 & -264.984892086331 \tabularnewline
10 & 15469.7 & 16363.1891675231 & -893.489167523125 \tabularnewline
11 & 15101.8 & 14712.5891675231 & 389.210832476875 \tabularnewline
12 & 11703.7 & 12769.7091675231 & -1066.00916752312 \tabularnewline
13 & 16283.6 & 16510.6116341213 & -227.011634121272 \tabularnewline
14 & 16726.5 & 16776.7488591984 & -50.2488591983559 \tabularnewline
15 & 14968.9 & 16198.3245837616 & -1229.42458376156 \tabularnewline
16 & 14861 & 14871.5474820144 & -10.5474820143891 \tabularnewline
17 & 14583.3 & 15143.0117574512 & -559.711757451184 \tabularnewline
18 & 15305.8 & 15337.8874820144 & -32.0874820143884 \tabularnewline
19 & 17903.9 & 17839.5074820144 & 64.3925179856128 \tabularnewline
20 & 16379.4 & 16052.4888591984 & 326.911140801645 \tabularnewline
21 & 15420.3 & 16398.9088591984 & -978.608859198355 \tabularnewline
22 & 17870.5 & 17357.2917574512 & 513.208242548818 \tabularnewline
23 & 15912.8 & 15706.6917574512 & 206.108242548818 \tabularnewline
24 & 13866.5 & 13763.8117574512 & 102.688242548817 \tabularnewline
25 & 17823.2 & 17504.7142240493 & 318.48577595067 \tabularnewline
26 & 17872 & 17770.8514491264 & 101.148550873587 \tabularnewline
27 & 17420.4 & 17192.4271736896 & 227.972826310382 \tabularnewline
28 & 16704.4 & 16048.5714491264 & 655.828550873588 \tabularnewline
29 & 15991.2 & 16320.0357245632 & -328.835724563206 \tabularnewline
30 & 16583.6 & 16514.9114491264 & 68.6885508735854 \tabularnewline
31 & 19123.5 & 19016.5314491264 & 106.968550873586 \tabularnewline
32 & 17838.7 & 17046.5914491264 & 792.108550873588 \tabularnewline
33 & 17209.4 & 17393.0114491264 & -183.611449126411 \tabularnewline
34 & 18586.5 & 18534.3157245632 & 52.1842754367934 \tabularnewline
35 & 16258.1 & 16883.7157245632 & -625.615724563206 \tabularnewline
36 & 15141.6 & 14940.8357245632 & 200.764275436793 \tabularnewline
37 & 19202.1 & 18681.7381911614 & 520.361808838642 \tabularnewline
38 & 17746.5 & 18947.8754162384 & -1201.37541623844 \tabularnewline
39 & 19090.1 & 18552.3725179856 & 537.727482014388 \tabularnewline
40 & 18040.3 & 17408.5167934224 & 631.783206577595 \tabularnewline
41 & 17515.5 & 17497.0596916752 & 18.4403083247685 \tabularnewline
42 & 17751.8 & 17874.8567934224 & -123.056793422405 \tabularnewline
43 & 21072.4 & 20376.4767934224 & 695.923206577597 \tabularnewline
44 & 17170 & 18223.6154162384 & -1053.61541623844 \tabularnewline
45 & 19439.5 & 18570.0354162384 & 869.464583761562 \tabularnewline
46 & 19795.4 & 19711.3396916752 & 84.0603083247689 \tabularnewline
47 & 17574.9 & 18060.7396916752 & -485.83969167523 \tabularnewline
48 & 16165.4 & 16117.8596916752 & 47.5403083247679 \tabularnewline
49 & 19464.6 & 19858.7621582734 & -394.162158273382 \tabularnewline
50 & 19932.1 & 20124.8993833505 & -192.799383350464 \tabularnewline
51 & 19961.2 & 19546.4751079137 & 414.724892086332 \tabularnewline
52 & 17343.4 & 18402.6193833505 & -1059.21938335046 \tabularnewline
53 & 18924.2 & 18674.0836587873 & 250.116341212744 \tabularnewline
54 & 18574.1 & 18868.9593833505 & -294.859383350464 \tabularnewline
55 & 21350.6 & 21370.5793833505 & -19.9793833504646 \tabularnewline
56 & 18840.1 & 19400.6393833505 & -560.539383350464 \tabularnewline
57 & 20304.8 & 19747.0593833505 & 557.740616649536 \tabularnewline
58 & 21132.4 & 20888.3636587873 & 244.036341212745 \tabularnewline
59 & 19753.9 & 19237.7636587873 & 516.136341212744 \tabularnewline
60 & 18009.9 & 17294.8836587873 & 715.016341212745 \tabularnewline
61 & 20390.4 & 21035.7861253854 & -645.386125385404 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6455&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]15761.3[/C][C]15333.5876670093[/C][C]427.712332990746[/C][/ROW]
[ROW][C]2[/C][C]16943[/C][C]15599.7248920863[/C][C]1343.27510791367[/C][/ROW]
[ROW][C]3[/C][C]15070.3[/C][C]15021.3006166495[/C][C]48.9993833504616[/C][/ROW]
[ROW][C]4[/C][C]13659.6[/C][C]13877.4448920863[/C][C]-217.844892086332[/C][/ROW]
[ROW][C]5[/C][C]14768.9[/C][C]14148.9091675231[/C][C]619.990832476877[/C][/ROW]
[ROW][C]6[/C][C]14725.1[/C][C]14343.7848920863[/C][C]381.315107913671[/C][/ROW]
[ROW][C]7[/C][C]15998.1[/C][C]16845.4048920863[/C][C]-847.304892086332[/C][/ROW]
[ROW][C]8[/C][C]15370.6[/C][C]14875.4648920863[/C][C]495.13510791367[/C][/ROW]
[ROW][C]9[/C][C]14956.9[/C][C]15221.8848920863[/C][C]-264.984892086331[/C][/ROW]
[ROW][C]10[/C][C]15469.7[/C][C]16363.1891675231[/C][C]-893.489167523125[/C][/ROW]
[ROW][C]11[/C][C]15101.8[/C][C]14712.5891675231[/C][C]389.210832476875[/C][/ROW]
[ROW][C]12[/C][C]11703.7[/C][C]12769.7091675231[/C][C]-1066.00916752312[/C][/ROW]
[ROW][C]13[/C][C]16283.6[/C][C]16510.6116341213[/C][C]-227.011634121272[/C][/ROW]
[ROW][C]14[/C][C]16726.5[/C][C]16776.7488591984[/C][C]-50.2488591983559[/C][/ROW]
[ROW][C]15[/C][C]14968.9[/C][C]16198.3245837616[/C][C]-1229.42458376156[/C][/ROW]
[ROW][C]16[/C][C]14861[/C][C]14871.5474820144[/C][C]-10.5474820143891[/C][/ROW]
[ROW][C]17[/C][C]14583.3[/C][C]15143.0117574512[/C][C]-559.711757451184[/C][/ROW]
[ROW][C]18[/C][C]15305.8[/C][C]15337.8874820144[/C][C]-32.0874820143884[/C][/ROW]
[ROW][C]19[/C][C]17903.9[/C][C]17839.5074820144[/C][C]64.3925179856128[/C][/ROW]
[ROW][C]20[/C][C]16379.4[/C][C]16052.4888591984[/C][C]326.911140801645[/C][/ROW]
[ROW][C]21[/C][C]15420.3[/C][C]16398.9088591984[/C][C]-978.608859198355[/C][/ROW]
[ROW][C]22[/C][C]17870.5[/C][C]17357.2917574512[/C][C]513.208242548818[/C][/ROW]
[ROW][C]23[/C][C]15912.8[/C][C]15706.6917574512[/C][C]206.108242548818[/C][/ROW]
[ROW][C]24[/C][C]13866.5[/C][C]13763.8117574512[/C][C]102.688242548817[/C][/ROW]
[ROW][C]25[/C][C]17823.2[/C][C]17504.7142240493[/C][C]318.48577595067[/C][/ROW]
[ROW][C]26[/C][C]17872[/C][C]17770.8514491264[/C][C]101.148550873587[/C][/ROW]
[ROW][C]27[/C][C]17420.4[/C][C]17192.4271736896[/C][C]227.972826310382[/C][/ROW]
[ROW][C]28[/C][C]16704.4[/C][C]16048.5714491264[/C][C]655.828550873588[/C][/ROW]
[ROW][C]29[/C][C]15991.2[/C][C]16320.0357245632[/C][C]-328.835724563206[/C][/ROW]
[ROW][C]30[/C][C]16583.6[/C][C]16514.9114491264[/C][C]68.6885508735854[/C][/ROW]
[ROW][C]31[/C][C]19123.5[/C][C]19016.5314491264[/C][C]106.968550873586[/C][/ROW]
[ROW][C]32[/C][C]17838.7[/C][C]17046.5914491264[/C][C]792.108550873588[/C][/ROW]
[ROW][C]33[/C][C]17209.4[/C][C]17393.0114491264[/C][C]-183.611449126411[/C][/ROW]
[ROW][C]34[/C][C]18586.5[/C][C]18534.3157245632[/C][C]52.1842754367934[/C][/ROW]
[ROW][C]35[/C][C]16258.1[/C][C]16883.7157245632[/C][C]-625.615724563206[/C][/ROW]
[ROW][C]36[/C][C]15141.6[/C][C]14940.8357245632[/C][C]200.764275436793[/C][/ROW]
[ROW][C]37[/C][C]19202.1[/C][C]18681.7381911614[/C][C]520.361808838642[/C][/ROW]
[ROW][C]38[/C][C]17746.5[/C][C]18947.8754162384[/C][C]-1201.37541623844[/C][/ROW]
[ROW][C]39[/C][C]19090.1[/C][C]18552.3725179856[/C][C]537.727482014388[/C][/ROW]
[ROW][C]40[/C][C]18040.3[/C][C]17408.5167934224[/C][C]631.783206577595[/C][/ROW]
[ROW][C]41[/C][C]17515.5[/C][C]17497.0596916752[/C][C]18.4403083247685[/C][/ROW]
[ROW][C]42[/C][C]17751.8[/C][C]17874.8567934224[/C][C]-123.056793422405[/C][/ROW]
[ROW][C]43[/C][C]21072.4[/C][C]20376.4767934224[/C][C]695.923206577597[/C][/ROW]
[ROW][C]44[/C][C]17170[/C][C]18223.6154162384[/C][C]-1053.61541623844[/C][/ROW]
[ROW][C]45[/C][C]19439.5[/C][C]18570.0354162384[/C][C]869.464583761562[/C][/ROW]
[ROW][C]46[/C][C]19795.4[/C][C]19711.3396916752[/C][C]84.0603083247689[/C][/ROW]
[ROW][C]47[/C][C]17574.9[/C][C]18060.7396916752[/C][C]-485.83969167523[/C][/ROW]
[ROW][C]48[/C][C]16165.4[/C][C]16117.8596916752[/C][C]47.5403083247679[/C][/ROW]
[ROW][C]49[/C][C]19464.6[/C][C]19858.7621582734[/C][C]-394.162158273382[/C][/ROW]
[ROW][C]50[/C][C]19932.1[/C][C]20124.8993833505[/C][C]-192.799383350464[/C][/ROW]
[ROW][C]51[/C][C]19961.2[/C][C]19546.4751079137[/C][C]414.724892086332[/C][/ROW]
[ROW][C]52[/C][C]17343.4[/C][C]18402.6193833505[/C][C]-1059.21938335046[/C][/ROW]
[ROW][C]53[/C][C]18924.2[/C][C]18674.0836587873[/C][C]250.116341212744[/C][/ROW]
[ROW][C]54[/C][C]18574.1[/C][C]18868.9593833505[/C][C]-294.859383350464[/C][/ROW]
[ROW][C]55[/C][C]21350.6[/C][C]21370.5793833505[/C][C]-19.9793833504646[/C][/ROW]
[ROW][C]56[/C][C]18840.1[/C][C]19400.6393833505[/C][C]-560.539383350464[/C][/ROW]
[ROW][C]57[/C][C]20304.8[/C][C]19747.0593833505[/C][C]557.740616649536[/C][/ROW]
[ROW][C]58[/C][C]21132.4[/C][C]20888.3636587873[/C][C]244.036341212745[/C][/ROW]
[ROW][C]59[/C][C]19753.9[/C][C]19237.7636587873[/C][C]516.136341212744[/C][/ROW]
[ROW][C]60[/C][C]18009.9[/C][C]17294.8836587873[/C][C]715.016341212745[/C][/ROW]
[ROW][C]61[/C][C]20390.4[/C][C]21035.7861253854[/C][C]-645.386125385404[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6455&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6455&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
115761.315333.5876670093427.712332990746
21694315599.72489208631343.27510791367
315070.315021.300616649548.9993833504616
413659.613877.4448920863-217.844892086332
514768.914148.9091675231619.990832476877
614725.114343.7848920863381.315107913671
715998.116845.4048920863-847.304892086332
815370.614875.4648920863495.13510791367
914956.915221.8848920863-264.984892086331
1015469.716363.1891675231-893.489167523125
1115101.814712.5891675231389.210832476875
1211703.712769.7091675231-1066.00916752312
1316283.616510.6116341213-227.011634121272
1416726.516776.7488591984-50.2488591983559
1514968.916198.3245837616-1229.42458376156
161486114871.5474820144-10.5474820143891
1714583.315143.0117574512-559.711757451184
1815305.815337.8874820144-32.0874820143884
1917903.917839.507482014464.3925179856128
2016379.416052.4888591984326.911140801645
2115420.316398.9088591984-978.608859198355
2217870.517357.2917574512513.208242548818
2315912.815706.6917574512206.108242548818
2413866.513763.8117574512102.688242548817
2517823.217504.7142240493318.48577595067
261787217770.8514491264101.148550873587
2717420.417192.4271736896227.972826310382
2816704.416048.5714491264655.828550873588
2915991.216320.0357245632-328.835724563206
3016583.616514.911449126468.6885508735854
3119123.519016.5314491264106.968550873586
3217838.717046.5914491264792.108550873588
3317209.417393.0114491264-183.611449126411
3418586.518534.315724563252.1842754367934
3516258.116883.7157245632-625.615724563206
3615141.614940.8357245632200.764275436793
3719202.118681.7381911614520.361808838642
3817746.518947.8754162384-1201.37541623844
3919090.118552.3725179856537.727482014388
4018040.317408.5167934224631.783206577595
4117515.517497.059691675218.4403083247685
4217751.817874.8567934224-123.056793422405
4321072.420376.4767934224695.923206577597
441717018223.6154162384-1053.61541623844
4519439.518570.0354162384869.464583761562
4619795.419711.339691675284.0603083247689
4717574.918060.7396916752-485.83969167523
4816165.416117.859691675247.5403083247679
4919464.619858.7621582734-394.162158273382
5019932.120124.8993833505-192.799383350464
5119961.219546.4751079137414.724892086332
5217343.418402.6193833505-1059.21938335046
5318924.218674.0836587873250.116341212744
5418574.118868.9593833505-294.859383350464
5521350.621370.5793833505-19.9793833504646
5618840.119400.6393833505-560.539383350464
5720304.819747.0593833505557.740616649536
5821132.420888.3636587873244.036341212745
5919753.919237.7636587873516.136341212744
6018009.917294.8836587873715.016341212745
6120390.421035.7861253854-645.386125385404



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