Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 21 Dec 2007 07:36:54 -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/21/t11982467305rqjhs0a3hudrvn.htm/, Retrieved Wed, 08 May 2024 00:47:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4806, Retrieved Wed, 08 May 2024 00:47:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact221
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Case Paper] [2007-12-21 14:36:54] [b02e81bf795a9093262ef8ec9108b703] [Current]
Feedback Forum

Post a new message
Dataseries X:
7.9	0
8.9	0
21.1	0
-10.0	0
0.3	0
7.8	0
0.2	0
4.0	0
15.8	0
2.6	0
6.6	0
4.5	1
-3.8	1
6.8	1
6.8	1
8.1	1
1.2	1
-0.6	1
3.8	1
7.7	1
-5.5	1
-10.0	1
-1.1	1
-1.1	1
-3.9	1
0.3	1
-12.5	1
2.3	1
6.9	1
10.8	1
-2.2	1
8.2	1
3.8	1
4.1	1
5.1	1
0.7	1
12.4	1
6.0	1
3.3	1
4.7	1
1.2	1
-0.9	1
2.9	1
-2.0	1
3.1	1
11.3	1
0.5	1
-6.3	1




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

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







Multiple Linear Regression - Estimated Regression Equation
S.Diff[t] = + 2.73383838383838 -4.56161616161616Reg[t] + 3.02811447811448M1[t] + 5.33552188552189M2[t] + 4.46792929292929M3[t] + 1.02533670033670M4[t] + 2.10774410774411M5[t] + 3.94015151515152M6[t] + 0.797558922558923M7[t] + 4.05496632996633M8[t] + 3.83737373737374M9[t] + 1.49478114478115M10[t] + 2.22718855218855M11[t] + 0.0425925925925926t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
S.Diff[t] =  +  2.73383838383838 -4.56161616161616Reg[t] +  3.02811447811448M1[t] +  5.33552188552189M2[t] +  4.46792929292929M3[t] +  1.02533670033670M4[t] +  2.10774410774411M5[t] +  3.94015151515152M6[t] +  0.797558922558923M7[t] +  4.05496632996633M8[t] +  3.83737373737374M9[t] +  1.49478114478115M10[t] +  2.22718855218855M11[t] +  0.0425925925925926t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4806&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]S.Diff[t] =  +  2.73383838383838 -4.56161616161616Reg[t] +  3.02811447811448M1[t] +  5.33552188552189M2[t] +  4.46792929292929M3[t] +  1.02533670033670M4[t] +  2.10774410774411M5[t] +  3.94015151515152M6[t] +  0.797558922558923M7[t] +  4.05496632996633M8[t] +  3.83737373737374M9[t] +  1.49478114478115M10[t] +  2.22718855218855M11[t] +  0.0425925925925926t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4806&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4806&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
S.Diff[t] = + 2.73383838383838 -4.56161616161616Reg[t] + 3.02811447811448M1[t] + 5.33552188552189M2[t] + 4.46792929292929M3[t] + 1.02533670033670M4[t] + 2.10774410774411M5[t] + 3.94015151515152M6[t] + 0.797558922558923M7[t] + 4.05496632996633M8[t] + 3.83737373737374M9[t] + 1.49478114478115M10[t] + 2.22718855218855M11[t] + 0.0425925925925926t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.733838383838384.3378580.63020.5327590.266379
Reg-4.561616161616163.649901-1.24980.219910.109955
M13.028114478114485.0419480.60060.55210.27605
M25.335521885521895.0305821.06060.296340.14817
M34.467929292929295.0217240.88970.3798680.189934
M41.025336700336705.0153870.20440.839230.419615
M52.107744107744115.0115810.42060.6767120.338356
M63.940151515151525.0103120.78640.4370750.218538
M70.7975589225589235.0115810.15910.8744980.437249
M84.054966329966335.0153870.80850.4244210.212211
M93.837373737373745.0217240.76420.4500460.225023
M101.494781144781155.0305820.29710.7681680.384084
M112.227188552188555.0419480.44170.661480.33074
t0.04259259259259260.1127850.37760.7080420.354021

\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) & 2.73383838383838 & 4.337858 & 0.6302 & 0.532759 & 0.266379 \tabularnewline
Reg & -4.56161616161616 & 3.649901 & -1.2498 & 0.21991 & 0.109955 \tabularnewline
M1 & 3.02811447811448 & 5.041948 & 0.6006 & 0.5521 & 0.27605 \tabularnewline
M2 & 5.33552188552189 & 5.030582 & 1.0606 & 0.29634 & 0.14817 \tabularnewline
M3 & 4.46792929292929 & 5.021724 & 0.8897 & 0.379868 & 0.189934 \tabularnewline
M4 & 1.02533670033670 & 5.015387 & 0.2044 & 0.83923 & 0.419615 \tabularnewline
M5 & 2.10774410774411 & 5.011581 & 0.4206 & 0.676712 & 0.338356 \tabularnewline
M6 & 3.94015151515152 & 5.010312 & 0.7864 & 0.437075 & 0.218538 \tabularnewline
M7 & 0.797558922558923 & 5.011581 & 0.1591 & 0.874498 & 0.437249 \tabularnewline
M8 & 4.05496632996633 & 5.015387 & 0.8085 & 0.424421 & 0.212211 \tabularnewline
M9 & 3.83737373737374 & 5.021724 & 0.7642 & 0.450046 & 0.225023 \tabularnewline
M10 & 1.49478114478115 & 5.030582 & 0.2971 & 0.768168 & 0.384084 \tabularnewline
M11 & 2.22718855218855 & 5.041948 & 0.4417 & 0.66148 & 0.33074 \tabularnewline
t & 0.0425925925925926 & 0.112785 & 0.3776 & 0.708042 & 0.354021 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4806&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]2.73383838383838[/C][C]4.337858[/C][C]0.6302[/C][C]0.532759[/C][C]0.266379[/C][/ROW]
[ROW][C]Reg[/C][C]-4.56161616161616[/C][C]3.649901[/C][C]-1.2498[/C][C]0.21991[/C][C]0.109955[/C][/ROW]
[ROW][C]M1[/C][C]3.02811447811448[/C][C]5.041948[/C][C]0.6006[/C][C]0.5521[/C][C]0.27605[/C][/ROW]
[ROW][C]M2[/C][C]5.33552188552189[/C][C]5.030582[/C][C]1.0606[/C][C]0.29634[/C][C]0.14817[/C][/ROW]
[ROW][C]M3[/C][C]4.46792929292929[/C][C]5.021724[/C][C]0.8897[/C][C]0.379868[/C][C]0.189934[/C][/ROW]
[ROW][C]M4[/C][C]1.02533670033670[/C][C]5.015387[/C][C]0.2044[/C][C]0.83923[/C][C]0.419615[/C][/ROW]
[ROW][C]M5[/C][C]2.10774410774411[/C][C]5.011581[/C][C]0.4206[/C][C]0.676712[/C][C]0.338356[/C][/ROW]
[ROW][C]M6[/C][C]3.94015151515152[/C][C]5.010312[/C][C]0.7864[/C][C]0.437075[/C][C]0.218538[/C][/ROW]
[ROW][C]M7[/C][C]0.797558922558923[/C][C]5.011581[/C][C]0.1591[/C][C]0.874498[/C][C]0.437249[/C][/ROW]
[ROW][C]M8[/C][C]4.05496632996633[/C][C]5.015387[/C][C]0.8085[/C][C]0.424421[/C][C]0.212211[/C][/ROW]
[ROW][C]M9[/C][C]3.83737373737374[/C][C]5.021724[/C][C]0.7642[/C][C]0.450046[/C][C]0.225023[/C][/ROW]
[ROW][C]M10[/C][C]1.49478114478115[/C][C]5.030582[/C][C]0.2971[/C][C]0.768168[/C][C]0.384084[/C][/ROW]
[ROW][C]M11[/C][C]2.22718855218855[/C][C]5.041948[/C][C]0.4417[/C][C]0.66148[/C][C]0.33074[/C][/ROW]
[ROW][C]t[/C][C]0.0425925925925926[/C][C]0.112785[/C][C]0.3776[/C][C]0.708042[/C][C]0.354021[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4806&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4806&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)2.733838383838384.3378580.63020.5327590.266379
Reg-4.561616161616163.649901-1.24980.219910.109955
M13.028114478114485.0419480.60060.55210.27605
M25.335521885521895.0305821.06060.296340.14817
M34.467929292929295.0217240.88970.3798680.189934
M41.025336700336705.0153870.20440.839230.419615
M52.107744107744115.0115810.42060.6767120.338356
M63.940151515151525.0103120.78640.4370750.218538
M70.7975589225589235.0115810.15910.8744980.437249
M84.054966329966335.0153870.80850.4244210.212211
M93.837373737373745.0217240.76420.4500460.225023
M101.494781144781155.0305820.29710.7681680.384084
M112.227188552188555.0419480.44170.661480.33074
t0.04259259259259260.1127850.37760.7080420.354021







Multiple Linear Regression - Regression Statistics
Multiple R0.359675154339017
R-squared0.129366216648795
Adjusted R-squared-0.203523171103136
F-TEST (value)0.388616223311988
F-TEST (DF numerator)13
F-TEST (DF denominator)34
p-value0.964215191950452
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.03257413259763
Sum Squared Residuals1681.54136363636

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.359675154339017 \tabularnewline
R-squared & 0.129366216648795 \tabularnewline
Adjusted R-squared & -0.203523171103136 \tabularnewline
F-TEST (value) & 0.388616223311988 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 34 \tabularnewline
p-value & 0.964215191950452 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 7.03257413259763 \tabularnewline
Sum Squared Residuals & 1681.54136363636 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4806&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.359675154339017[/C][/ROW]
[ROW][C]R-squared[/C][C]0.129366216648795[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.203523171103136[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.388616223311988[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]34[/C][/ROW]
[ROW][C]p-value[/C][C]0.964215191950452[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]7.03257413259763[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1681.54136363636[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4806&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4806&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.359675154339017
R-squared0.129366216648795
Adjusted R-squared-0.203523171103136
F-TEST (value)0.388616223311988
F-TEST (DF numerator)13
F-TEST (DF denominator)34
p-value0.964215191950452
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7.03257413259763
Sum Squared Residuals1681.54136363636







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
17.95.804545454545452.09545454545455
28.98.154545454545450.745454545454546
321.17.3295454545454513.7704545454545
4-103.92954545454546-13.9295454545455
50.35.05454545454545-4.75454545454545
67.86.929545454545450.870454545454546
70.23.82954545454546-3.62954545454546
847.12954545454546-3.12954545454546
915.86.954545454545458.84545454545455
102.64.65454545454545-2.05454545454545
116.65.429545454545461.17045454545454
124.5-1.316666666666675.81666666666667
13-3.81.75404040404041-5.5540404040404
146.84.10404040404042.6959595959596
156.83.279040404040403.52095959595960
168.1-0.1209595959595978.2209595959596
171.21.004040404040400.195959595959596
18-0.62.87904040404040-3.47904040404040
193.8-0.2209595959595974.0209595959596
207.73.079040404040404.6209595959596
21-5.52.90404040404041-8.40404040404041
22-100.604040404040406-10.6040404040404
23-1.11.37904040404040-2.47904040404041
24-1.1-0.805555555555557-0.294444444444443
25-3.92.26515151515152-6.16515151515152
260.34.61515151515151-4.31515151515151
27-12.53.79015151515151-16.2901515151515
282.30.3901515151515141.90984848484849
296.91.515151515151515.38484848484849
3010.83.390151515151527.40984848484849
31-2.20.290151515151514-2.49015151515151
328.23.590151515151514.60984848484848
333.83.415151515151510.384848484848485
344.11.115151515151522.98484848484848
355.11.890151515151513.20984848484849
360.7-0.2944444444444450.994444444444445
3712.42.776262626262639.62373737373737
3865.126262626262630.873737373737375
393.34.30126262626263-1.00126262626263
404.70.9012626262626263.79873737373737
411.22.02626262626263-0.826262626262627
42-0.93.90126262626263-4.80126262626263
432.90.8012626262626252.09873737373737
44-24.10126262626263-6.10126262626263
453.13.92626262626263-0.826262626262626
4611.31.626262626262639.67373737373737
470.52.40126262626263-1.90126262626263
48-6.30.216666666666668-6.51666666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 7.9 & 5.80454545454545 & 2.09545454545455 \tabularnewline
2 & 8.9 & 8.15454545454545 & 0.745454545454546 \tabularnewline
3 & 21.1 & 7.32954545454545 & 13.7704545454545 \tabularnewline
4 & -10 & 3.92954545454546 & -13.9295454545455 \tabularnewline
5 & 0.3 & 5.05454545454545 & -4.75454545454545 \tabularnewline
6 & 7.8 & 6.92954545454545 & 0.870454545454546 \tabularnewline
7 & 0.2 & 3.82954545454546 & -3.62954545454546 \tabularnewline
8 & 4 & 7.12954545454546 & -3.12954545454546 \tabularnewline
9 & 15.8 & 6.95454545454545 & 8.84545454545455 \tabularnewline
10 & 2.6 & 4.65454545454545 & -2.05454545454545 \tabularnewline
11 & 6.6 & 5.42954545454546 & 1.17045454545454 \tabularnewline
12 & 4.5 & -1.31666666666667 & 5.81666666666667 \tabularnewline
13 & -3.8 & 1.75404040404041 & -5.5540404040404 \tabularnewline
14 & 6.8 & 4.1040404040404 & 2.6959595959596 \tabularnewline
15 & 6.8 & 3.27904040404040 & 3.52095959595960 \tabularnewline
16 & 8.1 & -0.120959595959597 & 8.2209595959596 \tabularnewline
17 & 1.2 & 1.00404040404040 & 0.195959595959596 \tabularnewline
18 & -0.6 & 2.87904040404040 & -3.47904040404040 \tabularnewline
19 & 3.8 & -0.220959595959597 & 4.0209595959596 \tabularnewline
20 & 7.7 & 3.07904040404040 & 4.6209595959596 \tabularnewline
21 & -5.5 & 2.90404040404041 & -8.40404040404041 \tabularnewline
22 & -10 & 0.604040404040406 & -10.6040404040404 \tabularnewline
23 & -1.1 & 1.37904040404040 & -2.47904040404041 \tabularnewline
24 & -1.1 & -0.805555555555557 & -0.294444444444443 \tabularnewline
25 & -3.9 & 2.26515151515152 & -6.16515151515152 \tabularnewline
26 & 0.3 & 4.61515151515151 & -4.31515151515151 \tabularnewline
27 & -12.5 & 3.79015151515151 & -16.2901515151515 \tabularnewline
28 & 2.3 & 0.390151515151514 & 1.90984848484849 \tabularnewline
29 & 6.9 & 1.51515151515151 & 5.38484848484849 \tabularnewline
30 & 10.8 & 3.39015151515152 & 7.40984848484849 \tabularnewline
31 & -2.2 & 0.290151515151514 & -2.49015151515151 \tabularnewline
32 & 8.2 & 3.59015151515151 & 4.60984848484848 \tabularnewline
33 & 3.8 & 3.41515151515151 & 0.384848484848485 \tabularnewline
34 & 4.1 & 1.11515151515152 & 2.98484848484848 \tabularnewline
35 & 5.1 & 1.89015151515151 & 3.20984848484849 \tabularnewline
36 & 0.7 & -0.294444444444445 & 0.994444444444445 \tabularnewline
37 & 12.4 & 2.77626262626263 & 9.62373737373737 \tabularnewline
38 & 6 & 5.12626262626263 & 0.873737373737375 \tabularnewline
39 & 3.3 & 4.30126262626263 & -1.00126262626263 \tabularnewline
40 & 4.7 & 0.901262626262626 & 3.79873737373737 \tabularnewline
41 & 1.2 & 2.02626262626263 & -0.826262626262627 \tabularnewline
42 & -0.9 & 3.90126262626263 & -4.80126262626263 \tabularnewline
43 & 2.9 & 0.801262626262625 & 2.09873737373737 \tabularnewline
44 & -2 & 4.10126262626263 & -6.10126262626263 \tabularnewline
45 & 3.1 & 3.92626262626263 & -0.826262626262626 \tabularnewline
46 & 11.3 & 1.62626262626263 & 9.67373737373737 \tabularnewline
47 & 0.5 & 2.40126262626263 & -1.90126262626263 \tabularnewline
48 & -6.3 & 0.216666666666668 & -6.51666666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4806&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]7.9[/C][C]5.80454545454545[/C][C]2.09545454545455[/C][/ROW]
[ROW][C]2[/C][C]8.9[/C][C]8.15454545454545[/C][C]0.745454545454546[/C][/ROW]
[ROW][C]3[/C][C]21.1[/C][C]7.32954545454545[/C][C]13.7704545454545[/C][/ROW]
[ROW][C]4[/C][C]-10[/C][C]3.92954545454546[/C][C]-13.9295454545455[/C][/ROW]
[ROW][C]5[/C][C]0.3[/C][C]5.05454545454545[/C][C]-4.75454545454545[/C][/ROW]
[ROW][C]6[/C][C]7.8[/C][C]6.92954545454545[/C][C]0.870454545454546[/C][/ROW]
[ROW][C]7[/C][C]0.2[/C][C]3.82954545454546[/C][C]-3.62954545454546[/C][/ROW]
[ROW][C]8[/C][C]4[/C][C]7.12954545454546[/C][C]-3.12954545454546[/C][/ROW]
[ROW][C]9[/C][C]15.8[/C][C]6.95454545454545[/C][C]8.84545454545455[/C][/ROW]
[ROW][C]10[/C][C]2.6[/C][C]4.65454545454545[/C][C]-2.05454545454545[/C][/ROW]
[ROW][C]11[/C][C]6.6[/C][C]5.42954545454546[/C][C]1.17045454545454[/C][/ROW]
[ROW][C]12[/C][C]4.5[/C][C]-1.31666666666667[/C][C]5.81666666666667[/C][/ROW]
[ROW][C]13[/C][C]-3.8[/C][C]1.75404040404041[/C][C]-5.5540404040404[/C][/ROW]
[ROW][C]14[/C][C]6.8[/C][C]4.1040404040404[/C][C]2.6959595959596[/C][/ROW]
[ROW][C]15[/C][C]6.8[/C][C]3.27904040404040[/C][C]3.52095959595960[/C][/ROW]
[ROW][C]16[/C][C]8.1[/C][C]-0.120959595959597[/C][C]8.2209595959596[/C][/ROW]
[ROW][C]17[/C][C]1.2[/C][C]1.00404040404040[/C][C]0.195959595959596[/C][/ROW]
[ROW][C]18[/C][C]-0.6[/C][C]2.87904040404040[/C][C]-3.47904040404040[/C][/ROW]
[ROW][C]19[/C][C]3.8[/C][C]-0.220959595959597[/C][C]4.0209595959596[/C][/ROW]
[ROW][C]20[/C][C]7.7[/C][C]3.07904040404040[/C][C]4.6209595959596[/C][/ROW]
[ROW][C]21[/C][C]-5.5[/C][C]2.90404040404041[/C][C]-8.40404040404041[/C][/ROW]
[ROW][C]22[/C][C]-10[/C][C]0.604040404040406[/C][C]-10.6040404040404[/C][/ROW]
[ROW][C]23[/C][C]-1.1[/C][C]1.37904040404040[/C][C]-2.47904040404041[/C][/ROW]
[ROW][C]24[/C][C]-1.1[/C][C]-0.805555555555557[/C][C]-0.294444444444443[/C][/ROW]
[ROW][C]25[/C][C]-3.9[/C][C]2.26515151515152[/C][C]-6.16515151515152[/C][/ROW]
[ROW][C]26[/C][C]0.3[/C][C]4.61515151515151[/C][C]-4.31515151515151[/C][/ROW]
[ROW][C]27[/C][C]-12.5[/C][C]3.79015151515151[/C][C]-16.2901515151515[/C][/ROW]
[ROW][C]28[/C][C]2.3[/C][C]0.390151515151514[/C][C]1.90984848484849[/C][/ROW]
[ROW][C]29[/C][C]6.9[/C][C]1.51515151515151[/C][C]5.38484848484849[/C][/ROW]
[ROW][C]30[/C][C]10.8[/C][C]3.39015151515152[/C][C]7.40984848484849[/C][/ROW]
[ROW][C]31[/C][C]-2.2[/C][C]0.290151515151514[/C][C]-2.49015151515151[/C][/ROW]
[ROW][C]32[/C][C]8.2[/C][C]3.59015151515151[/C][C]4.60984848484848[/C][/ROW]
[ROW][C]33[/C][C]3.8[/C][C]3.41515151515151[/C][C]0.384848484848485[/C][/ROW]
[ROW][C]34[/C][C]4.1[/C][C]1.11515151515152[/C][C]2.98484848484848[/C][/ROW]
[ROW][C]35[/C][C]5.1[/C][C]1.89015151515151[/C][C]3.20984848484849[/C][/ROW]
[ROW][C]36[/C][C]0.7[/C][C]-0.294444444444445[/C][C]0.994444444444445[/C][/ROW]
[ROW][C]37[/C][C]12.4[/C][C]2.77626262626263[/C][C]9.62373737373737[/C][/ROW]
[ROW][C]38[/C][C]6[/C][C]5.12626262626263[/C][C]0.873737373737375[/C][/ROW]
[ROW][C]39[/C][C]3.3[/C][C]4.30126262626263[/C][C]-1.00126262626263[/C][/ROW]
[ROW][C]40[/C][C]4.7[/C][C]0.901262626262626[/C][C]3.79873737373737[/C][/ROW]
[ROW][C]41[/C][C]1.2[/C][C]2.02626262626263[/C][C]-0.826262626262627[/C][/ROW]
[ROW][C]42[/C][C]-0.9[/C][C]3.90126262626263[/C][C]-4.80126262626263[/C][/ROW]
[ROW][C]43[/C][C]2.9[/C][C]0.801262626262625[/C][C]2.09873737373737[/C][/ROW]
[ROW][C]44[/C][C]-2[/C][C]4.10126262626263[/C][C]-6.10126262626263[/C][/ROW]
[ROW][C]45[/C][C]3.1[/C][C]3.92626262626263[/C][C]-0.826262626262626[/C][/ROW]
[ROW][C]46[/C][C]11.3[/C][C]1.62626262626263[/C][C]9.67373737373737[/C][/ROW]
[ROW][C]47[/C][C]0.5[/C][C]2.40126262626263[/C][C]-1.90126262626263[/C][/ROW]
[ROW][C]48[/C][C]-6.3[/C][C]0.216666666666668[/C][C]-6.51666666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4806&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4806&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
17.95.804545454545452.09545454545455
28.98.154545454545450.745454545454546
321.17.3295454545454513.7704545454545
4-103.92954545454546-13.9295454545455
50.35.05454545454545-4.75454545454545
67.86.929545454545450.870454545454546
70.23.82954545454546-3.62954545454546
847.12954545454546-3.12954545454546
915.86.954545454545458.84545454545455
102.64.65454545454545-2.05454545454545
116.65.429545454545461.17045454545454
124.5-1.316666666666675.81666666666667
13-3.81.75404040404041-5.5540404040404
146.84.10404040404042.6959595959596
156.83.279040404040403.52095959595960
168.1-0.1209595959595978.2209595959596
171.21.004040404040400.195959595959596
18-0.62.87904040404040-3.47904040404040
193.8-0.2209595959595974.0209595959596
207.73.079040404040404.6209595959596
21-5.52.90404040404041-8.40404040404041
22-100.604040404040406-10.6040404040404
23-1.11.37904040404040-2.47904040404041
24-1.1-0.805555555555557-0.294444444444443
25-3.92.26515151515152-6.16515151515152
260.34.61515151515151-4.31515151515151
27-12.53.79015151515151-16.2901515151515
282.30.3901515151515141.90984848484849
296.91.515151515151515.38484848484849
3010.83.390151515151527.40984848484849
31-2.20.290151515151514-2.49015151515151
328.23.590151515151514.60984848484848
333.83.415151515151510.384848484848485
344.11.115151515151522.98484848484848
355.11.890151515151513.20984848484849
360.7-0.2944444444444450.994444444444445
3712.42.776262626262639.62373737373737
3865.126262626262630.873737373737375
393.34.30126262626263-1.00126262626263
404.70.9012626262626263.79873737373737
411.22.02626262626263-0.826262626262627
42-0.93.90126262626263-4.80126262626263
432.90.8012626262626252.09873737373737
44-24.10126262626263-6.10126262626263
453.13.92626262626263-0.826262626262626
4611.31.626262626262639.67373737373737
470.52.40126262626263-1.90126262626263
48-6.30.216666666666668-6.51666666666667



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