Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 13 Dec 2007 02:49:16 -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/13/t1197538476kghvifgah3rkzwo.htm/, Retrieved Sun, 05 May 2024 09:41:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3357, Retrieved Sun, 05 May 2024 09:41:58 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact210
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [outliers deleten] [2007-12-13 09:49:16] [c40c597932a04e0e43159741c7e63e4c] [Current]
Feedback Forum

Post a new message
Dataseries X:
12398.4	0
13882.3	0
15861.5	0
13286.1	0
15634.9	0
14211	0
13646.8	0
12224.6	0
15916.4	0
16535.9	0
15796	0
14418.6	0
15044.5	0
14944.2	0
16754.8	0
14254	0
15454.9	0
15644.8	0
14568.3	0
12520.2	0
14803	0
15873.2	0
14755.3	0
12875.1	0
14291.1	1
14205.3	1
15859.4	1
15258.9	1
15498.6	1
14106.5	1
15023.6	1
15761.3	1
16943	1
15070.3	1
13659.6	1
14768.9	1
14725.1	1
15998.1	1
15370.6	1
14956.9	1
15469.7	1
15101.8	1
16283.6	1
16726.5	1
14968.9	1
14861	1
14583.3	1
15305.8	1
17903.9	1
16379.4	1
15420.3	1
17870.5	1
15912.8	1
13866.5	1
17823.2	1
17872	1
17420.4	1
16704.4	1
15991.2	1
16583.6	1
17838.7	1
17209.4	1




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 14637.7 + 1141.09210526316x[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  14637.7 +  1141.09210526316x[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3357&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  14637.7 +  1141.09210526316x[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3357&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3357&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] = + 14637.7 + 1141.09210526316x[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)14637.7255.55206757.278700
x1141.09210526316326.4250233.49570.0008960.000448

\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) & 14637.7 & 255.552067 & 57.2787 & 0 & 0 \tabularnewline
x & 1141.09210526316 & 326.425023 & 3.4957 & 0.000896 & 0.000448 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3357&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]14637.7[/C][C]255.552067[/C][C]57.2787[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]1141.09210526316[/C][C]326.425023[/C][C]3.4957[/C][C]0.000896[/C][C]0.000448[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3357&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3357&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)14637.7255.55206757.278700
x1141.09210526316326.4250233.49570.0008960.000448







Multiple Linear Regression - Regression Statistics
Multiple R0.411346905972832
R-squared0.169206277053422
Adjusted R-squared0.155359715004313
F-TEST (value)12.2200930782167
F-TEST (DF numerator)1
F-TEST (DF denominator)60
p-value0.000895738337137186
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1251.94433161404
Sum Squared Residuals94041876.5676315

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.411346905972832 \tabularnewline
R-squared & 0.169206277053422 \tabularnewline
Adjusted R-squared & 0.155359715004313 \tabularnewline
F-TEST (value) & 12.2200930782167 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 60 \tabularnewline
p-value & 0.000895738337137186 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1251.94433161404 \tabularnewline
Sum Squared Residuals & 94041876.5676315 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3357&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.411346905972832[/C][/ROW]
[ROW][C]R-squared[/C][C]0.169206277053422[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.155359715004313[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]12.2200930782167[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]60[/C][/ROW]
[ROW][C]p-value[/C][C]0.000895738337137186[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1251.94433161404[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]94041876.5676315[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3357&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3357&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.411346905972832
R-squared0.169206277053422
Adjusted R-squared0.155359715004313
F-TEST (value)12.2200930782167
F-TEST (DF numerator)1
F-TEST (DF denominator)60
p-value0.000895738337137186
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1251.94433161404
Sum Squared Residuals94041876.5676315







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112398.414637.7000000000-2239.29999999998
213882.314637.7-755.400000000007
315861.514637.71223.8
413286.114637.7-1351.6
515634.914637.7997.199999999999
61421114637.7-426.700000000001
713646.814637.7-990.900000000001
812224.614637.7-2413.1
915916.414637.71278.7
1016535.914637.71898.2
111579614637.71158.3
1214418.614637.7-219.100000000000
1315044.514637.7406.799999999999
1414944.214637.7306.5
1516754.814637.72117.10000000000
161425414637.7-383.700000000001
1715454.914637.7817.199999999999
1815644.814637.71007.10000000000
1914568.314637.7-69.4000000000015
2012520.214637.7-2117.5
211480314637.7165.299999999999
2215873.214637.71235.5
2314755.314637.7117.599999999999
2412875.114637.7-1762.6
2514291.115778.7921052632-1487.69210526316
2614205.315778.7921052632-1573.49210526316
2715859.415778.792105263280.6078947368418
2815258.915778.7921052632-519.892105263158
2915498.615778.7921052632-280.192105263157
3014106.515778.7921052632-1672.29210526316
3115023.615778.7921052632-755.192105263157
3215761.315778.7921052632-17.4921052631586
331694315778.79210526321164.20789473684
3415070.315778.7921052632-708.492105263159
3513659.615778.7921052632-2119.19210526316
3614768.915778.7921052632-1009.89210526316
3714725.115778.7921052632-1053.69210526316
3815998.115778.7921052632219.307894736842
3915370.615778.7921052632-408.192105263157
4014956.915778.7921052632-821.892105263158
4115469.715778.7921052632-309.092105263157
4215101.815778.7921052632-676.992105263159
4316283.615778.7921052632504.807894736843
4416726.515778.7921052632947.707894736842
4514968.915778.7921052632-809.892105263158
461486115778.7921052632-917.792105263158
4714583.315778.7921052632-1195.49210526316
4815305.815778.7921052632-472.992105263159
4917903.915778.79210526322125.10789473684
5016379.415778.7921052632600.607894736842
5115420.315778.7921052632-358.492105263159
5217870.515778.79210526322091.70789473684
5315912.815778.7921052632134.007894736841
5413866.515778.7921052632-1912.29210526316
5517823.215778.79210526322044.40789473684
561787215778.79210526322093.20789473684
5717420.415778.79210526321641.60789473684
5816704.415778.7921052632925.607894736844
5915991.215778.7921052632212.407894736843
6016583.615778.7921052632804.80789473684
6117838.715778.79210526322059.90789473684
6217209.415778.79210526321430.60789473684

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 12398.4 & 14637.7000000000 & -2239.29999999998 \tabularnewline
2 & 13882.3 & 14637.7 & -755.400000000007 \tabularnewline
3 & 15861.5 & 14637.7 & 1223.8 \tabularnewline
4 & 13286.1 & 14637.7 & -1351.6 \tabularnewline
5 & 15634.9 & 14637.7 & 997.199999999999 \tabularnewline
6 & 14211 & 14637.7 & -426.700000000001 \tabularnewline
7 & 13646.8 & 14637.7 & -990.900000000001 \tabularnewline
8 & 12224.6 & 14637.7 & -2413.1 \tabularnewline
9 & 15916.4 & 14637.7 & 1278.7 \tabularnewline
10 & 16535.9 & 14637.7 & 1898.2 \tabularnewline
11 & 15796 & 14637.7 & 1158.3 \tabularnewline
12 & 14418.6 & 14637.7 & -219.100000000000 \tabularnewline
13 & 15044.5 & 14637.7 & 406.799999999999 \tabularnewline
14 & 14944.2 & 14637.7 & 306.5 \tabularnewline
15 & 16754.8 & 14637.7 & 2117.10000000000 \tabularnewline
16 & 14254 & 14637.7 & -383.700000000001 \tabularnewline
17 & 15454.9 & 14637.7 & 817.199999999999 \tabularnewline
18 & 15644.8 & 14637.7 & 1007.10000000000 \tabularnewline
19 & 14568.3 & 14637.7 & -69.4000000000015 \tabularnewline
20 & 12520.2 & 14637.7 & -2117.5 \tabularnewline
21 & 14803 & 14637.7 & 165.299999999999 \tabularnewline
22 & 15873.2 & 14637.7 & 1235.5 \tabularnewline
23 & 14755.3 & 14637.7 & 117.599999999999 \tabularnewline
24 & 12875.1 & 14637.7 & -1762.6 \tabularnewline
25 & 14291.1 & 15778.7921052632 & -1487.69210526316 \tabularnewline
26 & 14205.3 & 15778.7921052632 & -1573.49210526316 \tabularnewline
27 & 15859.4 & 15778.7921052632 & 80.6078947368418 \tabularnewline
28 & 15258.9 & 15778.7921052632 & -519.892105263158 \tabularnewline
29 & 15498.6 & 15778.7921052632 & -280.192105263157 \tabularnewline
30 & 14106.5 & 15778.7921052632 & -1672.29210526316 \tabularnewline
31 & 15023.6 & 15778.7921052632 & -755.192105263157 \tabularnewline
32 & 15761.3 & 15778.7921052632 & -17.4921052631586 \tabularnewline
33 & 16943 & 15778.7921052632 & 1164.20789473684 \tabularnewline
34 & 15070.3 & 15778.7921052632 & -708.492105263159 \tabularnewline
35 & 13659.6 & 15778.7921052632 & -2119.19210526316 \tabularnewline
36 & 14768.9 & 15778.7921052632 & -1009.89210526316 \tabularnewline
37 & 14725.1 & 15778.7921052632 & -1053.69210526316 \tabularnewline
38 & 15998.1 & 15778.7921052632 & 219.307894736842 \tabularnewline
39 & 15370.6 & 15778.7921052632 & -408.192105263157 \tabularnewline
40 & 14956.9 & 15778.7921052632 & -821.892105263158 \tabularnewline
41 & 15469.7 & 15778.7921052632 & -309.092105263157 \tabularnewline
42 & 15101.8 & 15778.7921052632 & -676.992105263159 \tabularnewline
43 & 16283.6 & 15778.7921052632 & 504.807894736843 \tabularnewline
44 & 16726.5 & 15778.7921052632 & 947.707894736842 \tabularnewline
45 & 14968.9 & 15778.7921052632 & -809.892105263158 \tabularnewline
46 & 14861 & 15778.7921052632 & -917.792105263158 \tabularnewline
47 & 14583.3 & 15778.7921052632 & -1195.49210526316 \tabularnewline
48 & 15305.8 & 15778.7921052632 & -472.992105263159 \tabularnewline
49 & 17903.9 & 15778.7921052632 & 2125.10789473684 \tabularnewline
50 & 16379.4 & 15778.7921052632 & 600.607894736842 \tabularnewline
51 & 15420.3 & 15778.7921052632 & -358.492105263159 \tabularnewline
52 & 17870.5 & 15778.7921052632 & 2091.70789473684 \tabularnewline
53 & 15912.8 & 15778.7921052632 & 134.007894736841 \tabularnewline
54 & 13866.5 & 15778.7921052632 & -1912.29210526316 \tabularnewline
55 & 17823.2 & 15778.7921052632 & 2044.40789473684 \tabularnewline
56 & 17872 & 15778.7921052632 & 2093.20789473684 \tabularnewline
57 & 17420.4 & 15778.7921052632 & 1641.60789473684 \tabularnewline
58 & 16704.4 & 15778.7921052632 & 925.607894736844 \tabularnewline
59 & 15991.2 & 15778.7921052632 & 212.407894736843 \tabularnewline
60 & 16583.6 & 15778.7921052632 & 804.80789473684 \tabularnewline
61 & 17838.7 & 15778.7921052632 & 2059.90789473684 \tabularnewline
62 & 17209.4 & 15778.7921052632 & 1430.60789473684 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3357&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]12398.4[/C][C]14637.7000000000[/C][C]-2239.29999999998[/C][/ROW]
[ROW][C]2[/C][C]13882.3[/C][C]14637.7[/C][C]-755.400000000007[/C][/ROW]
[ROW][C]3[/C][C]15861.5[/C][C]14637.7[/C][C]1223.8[/C][/ROW]
[ROW][C]4[/C][C]13286.1[/C][C]14637.7[/C][C]-1351.6[/C][/ROW]
[ROW][C]5[/C][C]15634.9[/C][C]14637.7[/C][C]997.199999999999[/C][/ROW]
[ROW][C]6[/C][C]14211[/C][C]14637.7[/C][C]-426.700000000001[/C][/ROW]
[ROW][C]7[/C][C]13646.8[/C][C]14637.7[/C][C]-990.900000000001[/C][/ROW]
[ROW][C]8[/C][C]12224.6[/C][C]14637.7[/C][C]-2413.1[/C][/ROW]
[ROW][C]9[/C][C]15916.4[/C][C]14637.7[/C][C]1278.7[/C][/ROW]
[ROW][C]10[/C][C]16535.9[/C][C]14637.7[/C][C]1898.2[/C][/ROW]
[ROW][C]11[/C][C]15796[/C][C]14637.7[/C][C]1158.3[/C][/ROW]
[ROW][C]12[/C][C]14418.6[/C][C]14637.7[/C][C]-219.100000000000[/C][/ROW]
[ROW][C]13[/C][C]15044.5[/C][C]14637.7[/C][C]406.799999999999[/C][/ROW]
[ROW][C]14[/C][C]14944.2[/C][C]14637.7[/C][C]306.5[/C][/ROW]
[ROW][C]15[/C][C]16754.8[/C][C]14637.7[/C][C]2117.10000000000[/C][/ROW]
[ROW][C]16[/C][C]14254[/C][C]14637.7[/C][C]-383.700000000001[/C][/ROW]
[ROW][C]17[/C][C]15454.9[/C][C]14637.7[/C][C]817.199999999999[/C][/ROW]
[ROW][C]18[/C][C]15644.8[/C][C]14637.7[/C][C]1007.10000000000[/C][/ROW]
[ROW][C]19[/C][C]14568.3[/C][C]14637.7[/C][C]-69.4000000000015[/C][/ROW]
[ROW][C]20[/C][C]12520.2[/C][C]14637.7[/C][C]-2117.5[/C][/ROW]
[ROW][C]21[/C][C]14803[/C][C]14637.7[/C][C]165.299999999999[/C][/ROW]
[ROW][C]22[/C][C]15873.2[/C][C]14637.7[/C][C]1235.5[/C][/ROW]
[ROW][C]23[/C][C]14755.3[/C][C]14637.7[/C][C]117.599999999999[/C][/ROW]
[ROW][C]24[/C][C]12875.1[/C][C]14637.7[/C][C]-1762.6[/C][/ROW]
[ROW][C]25[/C][C]14291.1[/C][C]15778.7921052632[/C][C]-1487.69210526316[/C][/ROW]
[ROW][C]26[/C][C]14205.3[/C][C]15778.7921052632[/C][C]-1573.49210526316[/C][/ROW]
[ROW][C]27[/C][C]15859.4[/C][C]15778.7921052632[/C][C]80.6078947368418[/C][/ROW]
[ROW][C]28[/C][C]15258.9[/C][C]15778.7921052632[/C][C]-519.892105263158[/C][/ROW]
[ROW][C]29[/C][C]15498.6[/C][C]15778.7921052632[/C][C]-280.192105263157[/C][/ROW]
[ROW][C]30[/C][C]14106.5[/C][C]15778.7921052632[/C][C]-1672.29210526316[/C][/ROW]
[ROW][C]31[/C][C]15023.6[/C][C]15778.7921052632[/C][C]-755.192105263157[/C][/ROW]
[ROW][C]32[/C][C]15761.3[/C][C]15778.7921052632[/C][C]-17.4921052631586[/C][/ROW]
[ROW][C]33[/C][C]16943[/C][C]15778.7921052632[/C][C]1164.20789473684[/C][/ROW]
[ROW][C]34[/C][C]15070.3[/C][C]15778.7921052632[/C][C]-708.492105263159[/C][/ROW]
[ROW][C]35[/C][C]13659.6[/C][C]15778.7921052632[/C][C]-2119.19210526316[/C][/ROW]
[ROW][C]36[/C][C]14768.9[/C][C]15778.7921052632[/C][C]-1009.89210526316[/C][/ROW]
[ROW][C]37[/C][C]14725.1[/C][C]15778.7921052632[/C][C]-1053.69210526316[/C][/ROW]
[ROW][C]38[/C][C]15998.1[/C][C]15778.7921052632[/C][C]219.307894736842[/C][/ROW]
[ROW][C]39[/C][C]15370.6[/C][C]15778.7921052632[/C][C]-408.192105263157[/C][/ROW]
[ROW][C]40[/C][C]14956.9[/C][C]15778.7921052632[/C][C]-821.892105263158[/C][/ROW]
[ROW][C]41[/C][C]15469.7[/C][C]15778.7921052632[/C][C]-309.092105263157[/C][/ROW]
[ROW][C]42[/C][C]15101.8[/C][C]15778.7921052632[/C][C]-676.992105263159[/C][/ROW]
[ROW][C]43[/C][C]16283.6[/C][C]15778.7921052632[/C][C]504.807894736843[/C][/ROW]
[ROW][C]44[/C][C]16726.5[/C][C]15778.7921052632[/C][C]947.707894736842[/C][/ROW]
[ROW][C]45[/C][C]14968.9[/C][C]15778.7921052632[/C][C]-809.892105263158[/C][/ROW]
[ROW][C]46[/C][C]14861[/C][C]15778.7921052632[/C][C]-917.792105263158[/C][/ROW]
[ROW][C]47[/C][C]14583.3[/C][C]15778.7921052632[/C][C]-1195.49210526316[/C][/ROW]
[ROW][C]48[/C][C]15305.8[/C][C]15778.7921052632[/C][C]-472.992105263159[/C][/ROW]
[ROW][C]49[/C][C]17903.9[/C][C]15778.7921052632[/C][C]2125.10789473684[/C][/ROW]
[ROW][C]50[/C][C]16379.4[/C][C]15778.7921052632[/C][C]600.607894736842[/C][/ROW]
[ROW][C]51[/C][C]15420.3[/C][C]15778.7921052632[/C][C]-358.492105263159[/C][/ROW]
[ROW][C]52[/C][C]17870.5[/C][C]15778.7921052632[/C][C]2091.70789473684[/C][/ROW]
[ROW][C]53[/C][C]15912.8[/C][C]15778.7921052632[/C][C]134.007894736841[/C][/ROW]
[ROW][C]54[/C][C]13866.5[/C][C]15778.7921052632[/C][C]-1912.29210526316[/C][/ROW]
[ROW][C]55[/C][C]17823.2[/C][C]15778.7921052632[/C][C]2044.40789473684[/C][/ROW]
[ROW][C]56[/C][C]17872[/C][C]15778.7921052632[/C][C]2093.20789473684[/C][/ROW]
[ROW][C]57[/C][C]17420.4[/C][C]15778.7921052632[/C][C]1641.60789473684[/C][/ROW]
[ROW][C]58[/C][C]16704.4[/C][C]15778.7921052632[/C][C]925.607894736844[/C][/ROW]
[ROW][C]59[/C][C]15991.2[/C][C]15778.7921052632[/C][C]212.407894736843[/C][/ROW]
[ROW][C]60[/C][C]16583.6[/C][C]15778.7921052632[/C][C]804.80789473684[/C][/ROW]
[ROW][C]61[/C][C]17838.7[/C][C]15778.7921052632[/C][C]2059.90789473684[/C][/ROW]
[ROW][C]62[/C][C]17209.4[/C][C]15778.7921052632[/C][C]1430.60789473684[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3357&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3357&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
112398.414637.7000000000-2239.29999999998
213882.314637.7-755.400000000007
315861.514637.71223.8
413286.114637.7-1351.6
515634.914637.7997.199999999999
61421114637.7-426.700000000001
713646.814637.7-990.900000000001
812224.614637.7-2413.1
915916.414637.71278.7
1016535.914637.71898.2
111579614637.71158.3
1214418.614637.7-219.100000000000
1315044.514637.7406.799999999999
1414944.214637.7306.5
1516754.814637.72117.10000000000
161425414637.7-383.700000000001
1715454.914637.7817.199999999999
1815644.814637.71007.10000000000
1914568.314637.7-69.4000000000015
2012520.214637.7-2117.5
211480314637.7165.299999999999
2215873.214637.71235.5
2314755.314637.7117.599999999999
2412875.114637.7-1762.6
2514291.115778.7921052632-1487.69210526316
2614205.315778.7921052632-1573.49210526316
2715859.415778.792105263280.6078947368418
2815258.915778.7921052632-519.892105263158
2915498.615778.7921052632-280.192105263157
3014106.515778.7921052632-1672.29210526316
3115023.615778.7921052632-755.192105263157
3215761.315778.7921052632-17.4921052631586
331694315778.79210526321164.20789473684
3415070.315778.7921052632-708.492105263159
3513659.615778.7921052632-2119.19210526316
3614768.915778.7921052632-1009.89210526316
3714725.115778.7921052632-1053.69210526316
3815998.115778.7921052632219.307894736842
3915370.615778.7921052632-408.192105263157
4014956.915778.7921052632-821.892105263158
4115469.715778.7921052632-309.092105263157
4215101.815778.7921052632-676.992105263159
4316283.615778.7921052632504.807894736843
4416726.515778.7921052632947.707894736842
4514968.915778.7921052632-809.892105263158
461486115778.7921052632-917.792105263158
4714583.315778.7921052632-1195.49210526316
4815305.815778.7921052632-472.992105263159
4917903.915778.79210526322125.10789473684
5016379.415778.7921052632600.607894736842
5115420.315778.7921052632-358.492105263159
5217870.515778.79210526322091.70789473684
5315912.815778.7921052632134.007894736841
5413866.515778.7921052632-1912.29210526316
5517823.215778.79210526322044.40789473684
561787215778.79210526322093.20789473684
5717420.415778.79210526321641.60789473684
5816704.415778.7921052632925.607894736844
5915991.215778.7921052632212.407894736843
6016583.615778.7921052632804.80789473684
6117838.715778.79210526322059.90789473684
6217209.415778.79210526321430.60789473684



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No 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')