Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 24 Dec 2007 15:50:20 -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/24/t1198535475hnwsarq8pjmm04s.htm/, Retrieved Sun, 05 May 2024 20:06:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4865, Retrieved Sun, 05 May 2024 20:06:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordss0650062
Estimated Impact254
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [verklaring verloo...] [2007-12-24 22:50:20] [85ebbca709d200023cfec93009cd575f] [Current]
Feedback Forum

Post a new message
Dataseries X:
1,3	0
1,2	0
1,6	0
1,7	0
1,5	0
0,9	0
1,5	0
1,4	0
1,6	0
1,7	0
1,4	0
1,8	0
1,7	0
1,4	0
1,2	0
1,0	0
1,7	0
2,4	0
2,0	0
2,1	0
2,0	0
1,8	0
2,7	0
2,3	0
1,9	0
2,0	0
2,3	0
2,8	0
2,4	0
2,3	0
2,7	0
2,7	0
2,9	0
3,0	1
2,2	0
2,3	0
2,8	0
2,8	0
2,8	0
2,2	0
2,6	0
2,8	0
2,5	0
2,4	0
2,3	0
1,9	0
1,7	0
2,0	0
2,1	0
1,7	0
1,8	0
1,8	0
1,8	0
1,3	0
1,3	0
1,3	0
1,2	0
1,4	0
2,2	1
2,9	1




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

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

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 1.87529411764706 + 0.622058823529412x[t] -0.0960539215686275M1[t] -0.243284313725489M2[t] -0.130514705882352M3[t] -0.177745098039214M4[t] -0.0849754901960776M5[t] -0.15220588235294M6[t] -0.099436274509803M7[t] -0.126666666666666M8[t] -0.113897058823529M9[t] -0.285539215686274M10[t] -0.212769607843136M11[t] + 0.00723039215686277t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  1.87529411764706 +  0.622058823529412x[t] -0.0960539215686275M1[t] -0.243284313725489M2[t] -0.130514705882352M3[t] -0.177745098039214M4[t] -0.0849754901960776M5[t] -0.15220588235294M6[t] -0.099436274509803M7[t] -0.126666666666666M8[t] -0.113897058823529M9[t] -0.285539215686274M10[t] -0.212769607843136M11[t] +  0.00723039215686277t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4865&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  1.87529411764706 +  0.622058823529412x[t] -0.0960539215686275M1[t] -0.243284313725489M2[t] -0.130514705882352M3[t] -0.177745098039214M4[t] -0.0849754901960776M5[t] -0.15220588235294M6[t] -0.099436274509803M7[t] -0.126666666666666M8[t] -0.113897058823529M9[t] -0.285539215686274M10[t] -0.212769607843136M11[t] +  0.00723039215686277t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4865&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4865&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] = + 1.87529411764706 + 0.622058823529412x[t] -0.0960539215686275M1[t] -0.243284313725489M2[t] -0.130514705882352M3[t] -0.177745098039214M4[t] -0.0849754901960776M5[t] -0.15220588235294M6[t] -0.099436274509803M7[t] -0.126666666666666M8[t] -0.113897058823529M9[t] -0.285539215686274M10[t] -0.212769607843136M11[t] + 0.00723039215686277t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.875294117647060.3038966.170800
x0.6220588235294120.3818641.6290.1101420.055071
M1-0.09605392156862750.372439-0.25790.7976310.398815
M2-0.2432843137254890.372086-0.65380.5164710.258235
M3-0.1305147058823520.371786-0.3510.7271550.363578
M4-0.1777450980392140.371541-0.47840.6346320.317316
M5-0.08497549019607760.37135-0.22880.8200170.410008
M6-0.152205882352940.371214-0.410.6836930.341847
M7-0.0994362745098030.371132-0.26790.7899530.394977
M8-0.1266666666666660.371105-0.34130.7344150.367207
M9-0.1138970588235290.371132-0.30690.7603110.380156
M10-0.2855392156862740.363718-0.78510.4364450.218223
M11-0.2127696078431360.363635-0.58510.5613270.280664
t0.007230392156862770.00451.60660.1149760.057488

\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) & 1.87529411764706 & 0.303896 & 6.1708 & 0 & 0 \tabularnewline
x & 0.622058823529412 & 0.381864 & 1.629 & 0.110142 & 0.055071 \tabularnewline
M1 & -0.0960539215686275 & 0.372439 & -0.2579 & 0.797631 & 0.398815 \tabularnewline
M2 & -0.243284313725489 & 0.372086 & -0.6538 & 0.516471 & 0.258235 \tabularnewline
M3 & -0.130514705882352 & 0.371786 & -0.351 & 0.727155 & 0.363578 \tabularnewline
M4 & -0.177745098039214 & 0.371541 & -0.4784 & 0.634632 & 0.317316 \tabularnewline
M5 & -0.0849754901960776 & 0.37135 & -0.2288 & 0.820017 & 0.410008 \tabularnewline
M6 & -0.15220588235294 & 0.371214 & -0.41 & 0.683693 & 0.341847 \tabularnewline
M7 & -0.099436274509803 & 0.371132 & -0.2679 & 0.789953 & 0.394977 \tabularnewline
M8 & -0.126666666666666 & 0.371105 & -0.3413 & 0.734415 & 0.367207 \tabularnewline
M9 & -0.113897058823529 & 0.371132 & -0.3069 & 0.760311 & 0.380156 \tabularnewline
M10 & -0.285539215686274 & 0.363718 & -0.7851 & 0.436445 & 0.218223 \tabularnewline
M11 & -0.212769607843136 & 0.363635 & -0.5851 & 0.561327 & 0.280664 \tabularnewline
t & 0.00723039215686277 & 0.0045 & 1.6066 & 0.114976 & 0.057488 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4865&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]1.87529411764706[/C][C]0.303896[/C][C]6.1708[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]0.622058823529412[/C][C]0.381864[/C][C]1.629[/C][C]0.110142[/C][C]0.055071[/C][/ROW]
[ROW][C]M1[/C][C]-0.0960539215686275[/C][C]0.372439[/C][C]-0.2579[/C][C]0.797631[/C][C]0.398815[/C][/ROW]
[ROW][C]M2[/C][C]-0.243284313725489[/C][C]0.372086[/C][C]-0.6538[/C][C]0.516471[/C][C]0.258235[/C][/ROW]
[ROW][C]M3[/C][C]-0.130514705882352[/C][C]0.371786[/C][C]-0.351[/C][C]0.727155[/C][C]0.363578[/C][/ROW]
[ROW][C]M4[/C][C]-0.177745098039214[/C][C]0.371541[/C][C]-0.4784[/C][C]0.634632[/C][C]0.317316[/C][/ROW]
[ROW][C]M5[/C][C]-0.0849754901960776[/C][C]0.37135[/C][C]-0.2288[/C][C]0.820017[/C][C]0.410008[/C][/ROW]
[ROW][C]M6[/C][C]-0.15220588235294[/C][C]0.371214[/C][C]-0.41[/C][C]0.683693[/C][C]0.341847[/C][/ROW]
[ROW][C]M7[/C][C]-0.099436274509803[/C][C]0.371132[/C][C]-0.2679[/C][C]0.789953[/C][C]0.394977[/C][/ROW]
[ROW][C]M8[/C][C]-0.126666666666666[/C][C]0.371105[/C][C]-0.3413[/C][C]0.734415[/C][C]0.367207[/C][/ROW]
[ROW][C]M9[/C][C]-0.113897058823529[/C][C]0.371132[/C][C]-0.3069[/C][C]0.760311[/C][C]0.380156[/C][/ROW]
[ROW][C]M10[/C][C]-0.285539215686274[/C][C]0.363718[/C][C]-0.7851[/C][C]0.436445[/C][C]0.218223[/C][/ROW]
[ROW][C]M11[/C][C]-0.212769607843136[/C][C]0.363635[/C][C]-0.5851[/C][C]0.561327[/C][C]0.280664[/C][/ROW]
[ROW][C]t[/C][C]0.00723039215686277[/C][C]0.0045[/C][C]1.6066[/C][C]0.114976[/C][C]0.057488[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4865&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4865&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)1.875294117647060.3038966.170800
x0.6220588235294120.3818641.6290.1101420.055071
M1-0.09605392156862750.372439-0.25790.7976310.398815
M2-0.2432843137254890.372086-0.65380.5164710.258235
M3-0.1305147058823520.371786-0.3510.7271550.363578
M4-0.1777450980392140.371541-0.47840.6346320.317316
M5-0.08497549019607760.37135-0.22880.8200170.410008
M6-0.152205882352940.371214-0.410.6836930.341847
M7-0.0994362745098030.371132-0.26790.7899530.394977
M8-0.1266666666666660.371105-0.34130.7344150.367207
M9-0.1138970588235290.371132-0.30690.7603110.380156
M10-0.2855392156862740.363718-0.78510.4364450.218223
M11-0.2127696078431360.363635-0.58510.5613270.280664
t0.007230392156862770.00451.60660.1149760.057488







Multiple Linear Regression - Regression Statistics
Multiple R0.397852670050638
R-squared0.158286747066422
Adjusted R-squared-0.0795887374582849
F-TEST (value)0.66541849565831
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.785096539726595
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.574912981294892
Sum Squared Residuals15.2041470588235

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.397852670050638 \tabularnewline
R-squared & 0.158286747066422 \tabularnewline
Adjusted R-squared & -0.0795887374582849 \tabularnewline
F-TEST (value) & 0.66541849565831 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.785096539726595 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.574912981294892 \tabularnewline
Sum Squared Residuals & 15.2041470588235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4865&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.397852670050638[/C][/ROW]
[ROW][C]R-squared[/C][C]0.158286747066422[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0795887374582849[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.66541849565831[/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]0.785096539726595[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.574912981294892[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15.2041470588235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4865&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4865&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.397852670050638
R-squared0.158286747066422
Adjusted R-squared-0.0795887374582849
F-TEST (value)0.66541849565831
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.785096539726595
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.574912981294892
Sum Squared Residuals15.2041470588235







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.31.78647058823530-0.486470588235297
21.21.64647058823529-0.446470588235295
31.61.76647058823529-0.166470588235294
41.71.72647058823529-0.0264705882352946
51.51.82647058823529-0.326470588235294
60.91.76647058823529-0.866470588235295
71.51.82647058823529-0.326470588235294
81.41.80647058823529-0.406470588235294
91.61.82647058823529-0.226470588235294
101.71.662058823529410.0379411764705886
111.41.74205882352941-0.342058823529412
121.81.96205882352941-0.162058823529411
131.71.87323529411765-0.173235294117646
141.41.73323529411765-0.333235294117648
151.21.85323529411765-0.653235294117647
1611.81323529411765-0.813235294117647
171.71.91323529411765-0.213235294117647
182.41.853235294117650.546764705882353
1921.913235294117650.086764705882353
202.11.893235294117650.206764705882353
2121.913235294117650.086764705882353
221.81.748823529411760.0511764705882353
232.71.828823529411760.871176470588236
242.32.048823529411760.251176470588236
251.91.96-0.0599999999999992
2621.820.180000000000001
272.31.940.36
282.81.90.9
292.420.4
302.31.940.36
312.720.7
322.71.980.72
332.920.9
3432.457647058823530.542352941176471
352.21.915588235294120.284411764705882
362.32.135588235294120.164411764705883
372.82.046764705882350.753235294117647
382.81.906764705882350.893235294117647
392.82.026764705882350.773235294117646
402.21.986764705882350.213235294117647
412.62.086764705882350.513235294117647
422.82.026764705882350.773235294117647
432.52.086764705882350.413235294117647
442.42.066764705882350.333235294117647
452.32.086764705882350.213235294117647
461.91.92235294117647-0.0223529411764710
471.72.00235294117647-0.302352941176471
4822.22235294117647-0.22235294117647
492.12.13352941176471-0.0335294117647052
501.71.99352941176471-0.293529411764706
511.82.11352941176471-0.313529411764706
521.82.07352941176471-0.273529411764706
531.82.17352941176471-0.373529411764706
541.32.11352941176471-0.813529411764706
551.32.17352941176471-0.873529411764706
561.32.15352941176471-0.853529411764706
571.22.17352941176471-0.973529411764706
581.42.00911764705882-0.609117647058824
592.22.71117647058824-0.511176470588235
602.92.93117647058823-0.0311764705882348

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.3 & 1.78647058823530 & -0.486470588235297 \tabularnewline
2 & 1.2 & 1.64647058823529 & -0.446470588235295 \tabularnewline
3 & 1.6 & 1.76647058823529 & -0.166470588235294 \tabularnewline
4 & 1.7 & 1.72647058823529 & -0.0264705882352946 \tabularnewline
5 & 1.5 & 1.82647058823529 & -0.326470588235294 \tabularnewline
6 & 0.9 & 1.76647058823529 & -0.866470588235295 \tabularnewline
7 & 1.5 & 1.82647058823529 & -0.326470588235294 \tabularnewline
8 & 1.4 & 1.80647058823529 & -0.406470588235294 \tabularnewline
9 & 1.6 & 1.82647058823529 & -0.226470588235294 \tabularnewline
10 & 1.7 & 1.66205882352941 & 0.0379411764705886 \tabularnewline
11 & 1.4 & 1.74205882352941 & -0.342058823529412 \tabularnewline
12 & 1.8 & 1.96205882352941 & -0.162058823529411 \tabularnewline
13 & 1.7 & 1.87323529411765 & -0.173235294117646 \tabularnewline
14 & 1.4 & 1.73323529411765 & -0.333235294117648 \tabularnewline
15 & 1.2 & 1.85323529411765 & -0.653235294117647 \tabularnewline
16 & 1 & 1.81323529411765 & -0.813235294117647 \tabularnewline
17 & 1.7 & 1.91323529411765 & -0.213235294117647 \tabularnewline
18 & 2.4 & 1.85323529411765 & 0.546764705882353 \tabularnewline
19 & 2 & 1.91323529411765 & 0.086764705882353 \tabularnewline
20 & 2.1 & 1.89323529411765 & 0.206764705882353 \tabularnewline
21 & 2 & 1.91323529411765 & 0.086764705882353 \tabularnewline
22 & 1.8 & 1.74882352941176 & 0.0511764705882353 \tabularnewline
23 & 2.7 & 1.82882352941176 & 0.871176470588236 \tabularnewline
24 & 2.3 & 2.04882352941176 & 0.251176470588236 \tabularnewline
25 & 1.9 & 1.96 & -0.0599999999999992 \tabularnewline
26 & 2 & 1.82 & 0.180000000000001 \tabularnewline
27 & 2.3 & 1.94 & 0.36 \tabularnewline
28 & 2.8 & 1.9 & 0.9 \tabularnewline
29 & 2.4 & 2 & 0.4 \tabularnewline
30 & 2.3 & 1.94 & 0.36 \tabularnewline
31 & 2.7 & 2 & 0.7 \tabularnewline
32 & 2.7 & 1.98 & 0.72 \tabularnewline
33 & 2.9 & 2 & 0.9 \tabularnewline
34 & 3 & 2.45764705882353 & 0.542352941176471 \tabularnewline
35 & 2.2 & 1.91558823529412 & 0.284411764705882 \tabularnewline
36 & 2.3 & 2.13558823529412 & 0.164411764705883 \tabularnewline
37 & 2.8 & 2.04676470588235 & 0.753235294117647 \tabularnewline
38 & 2.8 & 1.90676470588235 & 0.893235294117647 \tabularnewline
39 & 2.8 & 2.02676470588235 & 0.773235294117646 \tabularnewline
40 & 2.2 & 1.98676470588235 & 0.213235294117647 \tabularnewline
41 & 2.6 & 2.08676470588235 & 0.513235294117647 \tabularnewline
42 & 2.8 & 2.02676470588235 & 0.773235294117647 \tabularnewline
43 & 2.5 & 2.08676470588235 & 0.413235294117647 \tabularnewline
44 & 2.4 & 2.06676470588235 & 0.333235294117647 \tabularnewline
45 & 2.3 & 2.08676470588235 & 0.213235294117647 \tabularnewline
46 & 1.9 & 1.92235294117647 & -0.0223529411764710 \tabularnewline
47 & 1.7 & 2.00235294117647 & -0.302352941176471 \tabularnewline
48 & 2 & 2.22235294117647 & -0.22235294117647 \tabularnewline
49 & 2.1 & 2.13352941176471 & -0.0335294117647052 \tabularnewline
50 & 1.7 & 1.99352941176471 & -0.293529411764706 \tabularnewline
51 & 1.8 & 2.11352941176471 & -0.313529411764706 \tabularnewline
52 & 1.8 & 2.07352941176471 & -0.273529411764706 \tabularnewline
53 & 1.8 & 2.17352941176471 & -0.373529411764706 \tabularnewline
54 & 1.3 & 2.11352941176471 & -0.813529411764706 \tabularnewline
55 & 1.3 & 2.17352941176471 & -0.873529411764706 \tabularnewline
56 & 1.3 & 2.15352941176471 & -0.853529411764706 \tabularnewline
57 & 1.2 & 2.17352941176471 & -0.973529411764706 \tabularnewline
58 & 1.4 & 2.00911764705882 & -0.609117647058824 \tabularnewline
59 & 2.2 & 2.71117647058824 & -0.511176470588235 \tabularnewline
60 & 2.9 & 2.93117647058823 & -0.0311764705882348 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4865&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]1.3[/C][C]1.78647058823530[/C][C]-0.486470588235297[/C][/ROW]
[ROW][C]2[/C][C]1.2[/C][C]1.64647058823529[/C][C]-0.446470588235295[/C][/ROW]
[ROW][C]3[/C][C]1.6[/C][C]1.76647058823529[/C][C]-0.166470588235294[/C][/ROW]
[ROW][C]4[/C][C]1.7[/C][C]1.72647058823529[/C][C]-0.0264705882352946[/C][/ROW]
[ROW][C]5[/C][C]1.5[/C][C]1.82647058823529[/C][C]-0.326470588235294[/C][/ROW]
[ROW][C]6[/C][C]0.9[/C][C]1.76647058823529[/C][C]-0.866470588235295[/C][/ROW]
[ROW][C]7[/C][C]1.5[/C][C]1.82647058823529[/C][C]-0.326470588235294[/C][/ROW]
[ROW][C]8[/C][C]1.4[/C][C]1.80647058823529[/C][C]-0.406470588235294[/C][/ROW]
[ROW][C]9[/C][C]1.6[/C][C]1.82647058823529[/C][C]-0.226470588235294[/C][/ROW]
[ROW][C]10[/C][C]1.7[/C][C]1.66205882352941[/C][C]0.0379411764705886[/C][/ROW]
[ROW][C]11[/C][C]1.4[/C][C]1.74205882352941[/C][C]-0.342058823529412[/C][/ROW]
[ROW][C]12[/C][C]1.8[/C][C]1.96205882352941[/C][C]-0.162058823529411[/C][/ROW]
[ROW][C]13[/C][C]1.7[/C][C]1.87323529411765[/C][C]-0.173235294117646[/C][/ROW]
[ROW][C]14[/C][C]1.4[/C][C]1.73323529411765[/C][C]-0.333235294117648[/C][/ROW]
[ROW][C]15[/C][C]1.2[/C][C]1.85323529411765[/C][C]-0.653235294117647[/C][/ROW]
[ROW][C]16[/C][C]1[/C][C]1.81323529411765[/C][C]-0.813235294117647[/C][/ROW]
[ROW][C]17[/C][C]1.7[/C][C]1.91323529411765[/C][C]-0.213235294117647[/C][/ROW]
[ROW][C]18[/C][C]2.4[/C][C]1.85323529411765[/C][C]0.546764705882353[/C][/ROW]
[ROW][C]19[/C][C]2[/C][C]1.91323529411765[/C][C]0.086764705882353[/C][/ROW]
[ROW][C]20[/C][C]2.1[/C][C]1.89323529411765[/C][C]0.206764705882353[/C][/ROW]
[ROW][C]21[/C][C]2[/C][C]1.91323529411765[/C][C]0.086764705882353[/C][/ROW]
[ROW][C]22[/C][C]1.8[/C][C]1.74882352941176[/C][C]0.0511764705882353[/C][/ROW]
[ROW][C]23[/C][C]2.7[/C][C]1.82882352941176[/C][C]0.871176470588236[/C][/ROW]
[ROW][C]24[/C][C]2.3[/C][C]2.04882352941176[/C][C]0.251176470588236[/C][/ROW]
[ROW][C]25[/C][C]1.9[/C][C]1.96[/C][C]-0.0599999999999992[/C][/ROW]
[ROW][C]26[/C][C]2[/C][C]1.82[/C][C]0.180000000000001[/C][/ROW]
[ROW][C]27[/C][C]2.3[/C][C]1.94[/C][C]0.36[/C][/ROW]
[ROW][C]28[/C][C]2.8[/C][C]1.9[/C][C]0.9[/C][/ROW]
[ROW][C]29[/C][C]2.4[/C][C]2[/C][C]0.4[/C][/ROW]
[ROW][C]30[/C][C]2.3[/C][C]1.94[/C][C]0.36[/C][/ROW]
[ROW][C]31[/C][C]2.7[/C][C]2[/C][C]0.7[/C][/ROW]
[ROW][C]32[/C][C]2.7[/C][C]1.98[/C][C]0.72[/C][/ROW]
[ROW][C]33[/C][C]2.9[/C][C]2[/C][C]0.9[/C][/ROW]
[ROW][C]34[/C][C]3[/C][C]2.45764705882353[/C][C]0.542352941176471[/C][/ROW]
[ROW][C]35[/C][C]2.2[/C][C]1.91558823529412[/C][C]0.284411764705882[/C][/ROW]
[ROW][C]36[/C][C]2.3[/C][C]2.13558823529412[/C][C]0.164411764705883[/C][/ROW]
[ROW][C]37[/C][C]2.8[/C][C]2.04676470588235[/C][C]0.753235294117647[/C][/ROW]
[ROW][C]38[/C][C]2.8[/C][C]1.90676470588235[/C][C]0.893235294117647[/C][/ROW]
[ROW][C]39[/C][C]2.8[/C][C]2.02676470588235[/C][C]0.773235294117646[/C][/ROW]
[ROW][C]40[/C][C]2.2[/C][C]1.98676470588235[/C][C]0.213235294117647[/C][/ROW]
[ROW][C]41[/C][C]2.6[/C][C]2.08676470588235[/C][C]0.513235294117647[/C][/ROW]
[ROW][C]42[/C][C]2.8[/C][C]2.02676470588235[/C][C]0.773235294117647[/C][/ROW]
[ROW][C]43[/C][C]2.5[/C][C]2.08676470588235[/C][C]0.413235294117647[/C][/ROW]
[ROW][C]44[/C][C]2.4[/C][C]2.06676470588235[/C][C]0.333235294117647[/C][/ROW]
[ROW][C]45[/C][C]2.3[/C][C]2.08676470588235[/C][C]0.213235294117647[/C][/ROW]
[ROW][C]46[/C][C]1.9[/C][C]1.92235294117647[/C][C]-0.0223529411764710[/C][/ROW]
[ROW][C]47[/C][C]1.7[/C][C]2.00235294117647[/C][C]-0.302352941176471[/C][/ROW]
[ROW][C]48[/C][C]2[/C][C]2.22235294117647[/C][C]-0.22235294117647[/C][/ROW]
[ROW][C]49[/C][C]2.1[/C][C]2.13352941176471[/C][C]-0.0335294117647052[/C][/ROW]
[ROW][C]50[/C][C]1.7[/C][C]1.99352941176471[/C][C]-0.293529411764706[/C][/ROW]
[ROW][C]51[/C][C]1.8[/C][C]2.11352941176471[/C][C]-0.313529411764706[/C][/ROW]
[ROW][C]52[/C][C]1.8[/C][C]2.07352941176471[/C][C]-0.273529411764706[/C][/ROW]
[ROW][C]53[/C][C]1.8[/C][C]2.17352941176471[/C][C]-0.373529411764706[/C][/ROW]
[ROW][C]54[/C][C]1.3[/C][C]2.11352941176471[/C][C]-0.813529411764706[/C][/ROW]
[ROW][C]55[/C][C]1.3[/C][C]2.17352941176471[/C][C]-0.873529411764706[/C][/ROW]
[ROW][C]56[/C][C]1.3[/C][C]2.15352941176471[/C][C]-0.853529411764706[/C][/ROW]
[ROW][C]57[/C][C]1.2[/C][C]2.17352941176471[/C][C]-0.973529411764706[/C][/ROW]
[ROW][C]58[/C][C]1.4[/C][C]2.00911764705882[/C][C]-0.609117647058824[/C][/ROW]
[ROW][C]59[/C][C]2.2[/C][C]2.71117647058824[/C][C]-0.511176470588235[/C][/ROW]
[ROW][C]60[/C][C]2.9[/C][C]2.93117647058823[/C][C]-0.0311764705882348[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4865&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4865&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
11.31.78647058823530-0.486470588235297
21.21.64647058823529-0.446470588235295
31.61.76647058823529-0.166470588235294
41.71.72647058823529-0.0264705882352946
51.51.82647058823529-0.326470588235294
60.91.76647058823529-0.866470588235295
71.51.82647058823529-0.326470588235294
81.41.80647058823529-0.406470588235294
91.61.82647058823529-0.226470588235294
101.71.662058823529410.0379411764705886
111.41.74205882352941-0.342058823529412
121.81.96205882352941-0.162058823529411
131.71.87323529411765-0.173235294117646
141.41.73323529411765-0.333235294117648
151.21.85323529411765-0.653235294117647
1611.81323529411765-0.813235294117647
171.71.91323529411765-0.213235294117647
182.41.853235294117650.546764705882353
1921.913235294117650.086764705882353
202.11.893235294117650.206764705882353
2121.913235294117650.086764705882353
221.81.748823529411760.0511764705882353
232.71.828823529411760.871176470588236
242.32.048823529411760.251176470588236
251.91.96-0.0599999999999992
2621.820.180000000000001
272.31.940.36
282.81.90.9
292.420.4
302.31.940.36
312.720.7
322.71.980.72
332.920.9
3432.457647058823530.542352941176471
352.21.915588235294120.284411764705882
362.32.135588235294120.164411764705883
372.82.046764705882350.753235294117647
382.81.906764705882350.893235294117647
392.82.026764705882350.773235294117646
402.21.986764705882350.213235294117647
412.62.086764705882350.513235294117647
422.82.026764705882350.773235294117647
432.52.086764705882350.413235294117647
442.42.066764705882350.333235294117647
452.32.086764705882350.213235294117647
461.91.92235294117647-0.0223529411764710
471.72.00235294117647-0.302352941176471
4822.22235294117647-0.22235294117647
492.12.13352941176471-0.0335294117647052
501.71.99352941176471-0.293529411764706
511.82.11352941176471-0.313529411764706
521.82.07352941176471-0.273529411764706
531.82.17352941176471-0.373529411764706
541.32.11352941176471-0.813529411764706
551.32.17352941176471-0.873529411764706
561.32.15352941176471-0.853529411764706
571.22.17352941176471-0.973529411764706
581.42.00911764705882-0.609117647058824
592.22.71117647058824-0.511176470588235
602.92.93117647058823-0.0311764705882348



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