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:17:09 -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/t1198533470cyk50dhutpuwga9.htm/, Retrieved Sun, 05 May 2024 20:03:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4864, Retrieved Sun, 05 May 2024 20:03:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordss0650062
Estimated Impact272
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:17:09] [85ebbca709d200023cfec93009cd575f] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.0	0
8.1	0
8.3	0
8.2	0
8.1	0
7.7	0
7.6	0
7.7	0
8.2	0
8.4	0
8.4	0
8.6	0
8.4	0
8.5	0
8.7	0
8.7	0
8.6	0
7.4	0
7.3	0
7.4	0
9.0	0
9.2	0
9.2	0
8.5	0
8.3	0
8.3	0
8.6	0
8.6	0
8.5	0
8.1	0
8.1	0
8.0	0
8.6	0
8.7	0
8.7	0
8.6	0
8.4	0
8.4	0
8.7	0
8.7	0
8.5	0
8.3	1
8.3	1
8.3	1
8.1	1
8.2	1
8.1	1
8.1	1
7.9	1
7.7	1
8.1	1
8.0	1
7.7	1
7.8	1
7.6	1
7.4	1
7.7	1
7.8	1
7.5	1
7.2	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=4864&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=4864&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4864&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] = + 8.24455407969638 -0.587855787476284x[t] -0.0593358633776172M1[t] -0.0646299810246668M2[t] + 0.210075901328274M3[t] + 0.164781783681214M4[t] -0.000512333965844012M5[t] -0.308235294117646M6[t] -0.393529411764705M7[t] -0.418823529411764M8[t] + 0.135882352941177M9[t] + 0.270588235294118M10[t] + 0.185294117647059M11[t] + 0.00529411764705896t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  8.24455407969638 -0.587855787476284x[t] -0.0593358633776172M1[t] -0.0646299810246668M2[t] +  0.210075901328274M3[t] +  0.164781783681214M4[t] -0.000512333965844012M5[t] -0.308235294117646M6[t] -0.393529411764705M7[t] -0.418823529411764M8[t] +  0.135882352941177M9[t] +  0.270588235294118M10[t] +  0.185294117647059M11[t] +  0.00529411764705896t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4864&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  8.24455407969638 -0.587855787476284x[t] -0.0593358633776172M1[t] -0.0646299810246668M2[t] +  0.210075901328274M3[t] +  0.164781783681214M4[t] -0.000512333965844012M5[t] -0.308235294117646M6[t] -0.393529411764705M7[t] -0.418823529411764M8[t] +  0.135882352941177M9[t] +  0.270588235294118M10[t] +  0.185294117647059M11[t] +  0.00529411764705896t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4864&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4864&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] = + 8.24455407969638 -0.587855787476284x[t] -0.0593358633776172M1[t] -0.0646299810246668M2[t] + 0.210075901328274M3[t] + 0.164781783681214M4[t] -0.000512333965844012M5[t] -0.308235294117646M6[t] -0.393529411764705M7[t] -0.418823529411764M8[t] + 0.135882352941177M9[t] + 0.270588235294118M10[t] + 0.185294117647059M11[t] + 0.00529411764705896t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.244554079696380.20593540.034800
x-0.5878557874762840.17735-3.31470.0017950.000898
M1-0.05933586337761720.237197-0.25020.8035810.401791
M2-0.06462998102466680.236768-0.2730.78610.39305
M30.2100759013282740.2364340.88850.3788850.189442
M40.1647817836812140.2361950.69770.4889070.244454
M5-0.0005123339658440120.236052-0.00220.9982780.499139
M6-0.3082352941176460.23678-1.30180.1994740.099737
M7-0.3935294117647050.236255-1.66570.1025710.051286
M8-0.4188235294117640.235825-1.7760.0823490.041175
M90.1358823529411770.235490.5770.5667390.28337
M100.2705882352941180.235251.15020.2560.128
M110.1852941176470590.2351060.78810.4346640.217332
t0.005294117647058960.0047511.11440.2709150.135458

\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) & 8.24455407969638 & 0.205935 & 40.0348 & 0 & 0 \tabularnewline
x & -0.587855787476284 & 0.17735 & -3.3147 & 0.001795 & 0.000898 \tabularnewline
M1 & -0.0593358633776172 & 0.237197 & -0.2502 & 0.803581 & 0.401791 \tabularnewline
M2 & -0.0646299810246668 & 0.236768 & -0.273 & 0.7861 & 0.39305 \tabularnewline
M3 & 0.210075901328274 & 0.236434 & 0.8885 & 0.378885 & 0.189442 \tabularnewline
M4 & 0.164781783681214 & 0.236195 & 0.6977 & 0.488907 & 0.244454 \tabularnewline
M5 & -0.000512333965844012 & 0.236052 & -0.0022 & 0.998278 & 0.499139 \tabularnewline
M6 & -0.308235294117646 & 0.23678 & -1.3018 & 0.199474 & 0.099737 \tabularnewline
M7 & -0.393529411764705 & 0.236255 & -1.6657 & 0.102571 & 0.051286 \tabularnewline
M8 & -0.418823529411764 & 0.235825 & -1.776 & 0.082349 & 0.041175 \tabularnewline
M9 & 0.135882352941177 & 0.23549 & 0.577 & 0.566739 & 0.28337 \tabularnewline
M10 & 0.270588235294118 & 0.23525 & 1.1502 & 0.256 & 0.128 \tabularnewline
M11 & 0.185294117647059 & 0.235106 & 0.7881 & 0.434664 & 0.217332 \tabularnewline
t & 0.00529411764705896 & 0.004751 & 1.1144 & 0.270915 & 0.135458 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4864&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]8.24455407969638[/C][C]0.205935[/C][C]40.0348[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-0.587855787476284[/C][C]0.17735[/C][C]-3.3147[/C][C]0.001795[/C][C]0.000898[/C][/ROW]
[ROW][C]M1[/C][C]-0.0593358633776172[/C][C]0.237197[/C][C]-0.2502[/C][C]0.803581[/C][C]0.401791[/C][/ROW]
[ROW][C]M2[/C][C]-0.0646299810246668[/C][C]0.236768[/C][C]-0.273[/C][C]0.7861[/C][C]0.39305[/C][/ROW]
[ROW][C]M3[/C][C]0.210075901328274[/C][C]0.236434[/C][C]0.8885[/C][C]0.378885[/C][C]0.189442[/C][/ROW]
[ROW][C]M4[/C][C]0.164781783681214[/C][C]0.236195[/C][C]0.6977[/C][C]0.488907[/C][C]0.244454[/C][/ROW]
[ROW][C]M5[/C][C]-0.000512333965844012[/C][C]0.236052[/C][C]-0.0022[/C][C]0.998278[/C][C]0.499139[/C][/ROW]
[ROW][C]M6[/C][C]-0.308235294117646[/C][C]0.23678[/C][C]-1.3018[/C][C]0.199474[/C][C]0.099737[/C][/ROW]
[ROW][C]M7[/C][C]-0.393529411764705[/C][C]0.236255[/C][C]-1.6657[/C][C]0.102571[/C][C]0.051286[/C][/ROW]
[ROW][C]M8[/C][C]-0.418823529411764[/C][C]0.235825[/C][C]-1.776[/C][C]0.082349[/C][C]0.041175[/C][/ROW]
[ROW][C]M9[/C][C]0.135882352941177[/C][C]0.23549[/C][C]0.577[/C][C]0.566739[/C][C]0.28337[/C][/ROW]
[ROW][C]M10[/C][C]0.270588235294118[/C][C]0.23525[/C][C]1.1502[/C][C]0.256[/C][C]0.128[/C][/ROW]
[ROW][C]M11[/C][C]0.185294117647059[/C][C]0.235106[/C][C]0.7881[/C][C]0.434664[/C][C]0.217332[/C][/ROW]
[ROW][C]t[/C][C]0.00529411764705896[/C][C]0.004751[/C][C]1.1144[/C][C]0.270915[/C][C]0.135458[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4864&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4864&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)8.244554079696380.20593540.034800
x-0.5878557874762840.17735-3.31470.0017950.000898
M1-0.05933586337761720.237197-0.25020.8035810.401791
M2-0.06462998102466680.236768-0.2730.78610.39305
M30.2100759013282740.2364340.88850.3788850.189442
M40.1647817836812140.2361950.69770.4889070.244454
M5-0.0005123339658440120.236052-0.00220.9982780.499139
M6-0.3082352941176460.23678-1.30180.1994740.099737
M7-0.3935294117647050.236255-1.66570.1025710.051286
M8-0.4188235294117640.235825-1.7760.0823490.041175
M90.1358823529411770.235490.5770.5667390.28337
M100.2705882352941180.235251.15020.2560.128
M110.1852941176470590.2351060.78810.4346640.217332
t0.005294117647058960.0047511.11440.2709150.135458







Multiple Linear Regression - Regression Statistics
Multiple R0.701757416636056
R-squared0.492463471803710
Adjusted R-squared0.349029235574324
F-TEST (value)3.43337465830781
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.000966121413879861
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.371659585225281
Sum Squared Residuals6.35401897533209

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.701757416636056 \tabularnewline
R-squared & 0.492463471803710 \tabularnewline
Adjusted R-squared & 0.349029235574324 \tabularnewline
F-TEST (value) & 3.43337465830781 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.000966121413879861 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.371659585225281 \tabularnewline
Sum Squared Residuals & 6.35401897533209 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4864&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.701757416636056[/C][/ROW]
[ROW][C]R-squared[/C][C]0.492463471803710[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.349029235574324[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.43337465830781[/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.000966121413879861[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.371659585225281[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]6.35401897533209[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4864&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4864&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.701757416636056
R-squared0.492463471803710
Adjusted R-squared0.349029235574324
F-TEST (value)3.43337465830781
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.000966121413879861
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.371659585225281
Sum Squared Residuals6.35401897533209







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
188.19051233396588-0.190512333965881
28.18.19051233396584-0.0905123339658426
38.38.47051233396584-0.170512333965841
48.28.43051233396584-0.230512333965842
58.18.27051233396584-0.170512333965842
67.77.9680834914611-0.268083491461098
77.67.8880834914611-0.288083491461098
87.77.8680834914611-0.168083491461099
98.28.4280834914611-0.228083491461098
108.48.5680834914611-0.168083491461098
118.48.4880834914611-0.0880834914610977
128.68.30808349146110.291916508538901
138.48.254041745730540.145958254269460
148.58.254041745730550.245958254269451
158.78.534041745730550.165958254269450
168.78.494041745730550.205958254269450
178.68.334041745730550.265958254269450
187.48.0316129032258-0.631612903225806
197.37.9516129032258-0.651612903225806
207.47.9316129032258-0.531612903225806
2198.49161290322580.508387096774194
229.28.63161290322580.568387096774194
239.28.55161290322580.648387096774194
248.58.37161290322580.128387096774194
258.38.31757115749525-0.0175711574952469
268.38.31757115749526-0.0175711574952562
278.68.597571157495260.00242884250474315
288.68.557571157495260.0424288425047433
298.58.397571157495260.102428842504743
308.18.095142314990510.00485768500948562
318.18.015142314990510.0848576850094862
3287.995142314990510.00485768500948614
338.68.555142314990510.0448576850094861
348.78.695142314990510.00485768500948601
358.78.615142314990510.0848576850094858
368.68.435142314990510.164857685009486
378.48.381100569259950.0188994307400452
388.48.381100569259960.0188994307400359
398.78.661100569259960.0388994307400352
408.78.621100569259960.0788994307400353
418.58.461100569259960.0388994307400358
428.37.570815939278940.729184060721063
438.37.490815939278940.809184060721064
448.37.470815939278940.829184060721063
458.18.030815939278940.0691840607210626
468.28.170815939278940.0291840607210625
478.18.090815939278940.00918406072106273
488.17.910815939278940.189184060721063
497.97.856774193548380.0432258064516217
507.77.85677419354839-0.156774193548388
518.18.13677419354839-0.036774193548388
5288.09677419354839-0.0967741935483874
537.77.93677419354839-0.236774193548388
547.87.634345351043650.165654648956355
557.67.554345351043640.045654648956355
567.47.53434535104364-0.134345351043645
577.78.09434535104364-0.394345351043644
587.88.23434535104365-0.434345351043644
597.58.15434535104364-0.654345351043644
607.27.97434535104364-0.774345351043644

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8 & 8.19051233396588 & -0.190512333965881 \tabularnewline
2 & 8.1 & 8.19051233396584 & -0.0905123339658426 \tabularnewline
3 & 8.3 & 8.47051233396584 & -0.170512333965841 \tabularnewline
4 & 8.2 & 8.43051233396584 & -0.230512333965842 \tabularnewline
5 & 8.1 & 8.27051233396584 & -0.170512333965842 \tabularnewline
6 & 7.7 & 7.9680834914611 & -0.268083491461098 \tabularnewline
7 & 7.6 & 7.8880834914611 & -0.288083491461098 \tabularnewline
8 & 7.7 & 7.8680834914611 & -0.168083491461099 \tabularnewline
9 & 8.2 & 8.4280834914611 & -0.228083491461098 \tabularnewline
10 & 8.4 & 8.5680834914611 & -0.168083491461098 \tabularnewline
11 & 8.4 & 8.4880834914611 & -0.0880834914610977 \tabularnewline
12 & 8.6 & 8.3080834914611 & 0.291916508538901 \tabularnewline
13 & 8.4 & 8.25404174573054 & 0.145958254269460 \tabularnewline
14 & 8.5 & 8.25404174573055 & 0.245958254269451 \tabularnewline
15 & 8.7 & 8.53404174573055 & 0.165958254269450 \tabularnewline
16 & 8.7 & 8.49404174573055 & 0.205958254269450 \tabularnewline
17 & 8.6 & 8.33404174573055 & 0.265958254269450 \tabularnewline
18 & 7.4 & 8.0316129032258 & -0.631612903225806 \tabularnewline
19 & 7.3 & 7.9516129032258 & -0.651612903225806 \tabularnewline
20 & 7.4 & 7.9316129032258 & -0.531612903225806 \tabularnewline
21 & 9 & 8.4916129032258 & 0.508387096774194 \tabularnewline
22 & 9.2 & 8.6316129032258 & 0.568387096774194 \tabularnewline
23 & 9.2 & 8.5516129032258 & 0.648387096774194 \tabularnewline
24 & 8.5 & 8.3716129032258 & 0.128387096774194 \tabularnewline
25 & 8.3 & 8.31757115749525 & -0.0175711574952469 \tabularnewline
26 & 8.3 & 8.31757115749526 & -0.0175711574952562 \tabularnewline
27 & 8.6 & 8.59757115749526 & 0.00242884250474315 \tabularnewline
28 & 8.6 & 8.55757115749526 & 0.0424288425047433 \tabularnewline
29 & 8.5 & 8.39757115749526 & 0.102428842504743 \tabularnewline
30 & 8.1 & 8.09514231499051 & 0.00485768500948562 \tabularnewline
31 & 8.1 & 8.01514231499051 & 0.0848576850094862 \tabularnewline
32 & 8 & 7.99514231499051 & 0.00485768500948614 \tabularnewline
33 & 8.6 & 8.55514231499051 & 0.0448576850094861 \tabularnewline
34 & 8.7 & 8.69514231499051 & 0.00485768500948601 \tabularnewline
35 & 8.7 & 8.61514231499051 & 0.0848576850094858 \tabularnewline
36 & 8.6 & 8.43514231499051 & 0.164857685009486 \tabularnewline
37 & 8.4 & 8.38110056925995 & 0.0188994307400452 \tabularnewline
38 & 8.4 & 8.38110056925996 & 0.0188994307400359 \tabularnewline
39 & 8.7 & 8.66110056925996 & 0.0388994307400352 \tabularnewline
40 & 8.7 & 8.62110056925996 & 0.0788994307400353 \tabularnewline
41 & 8.5 & 8.46110056925996 & 0.0388994307400358 \tabularnewline
42 & 8.3 & 7.57081593927894 & 0.729184060721063 \tabularnewline
43 & 8.3 & 7.49081593927894 & 0.809184060721064 \tabularnewline
44 & 8.3 & 7.47081593927894 & 0.829184060721063 \tabularnewline
45 & 8.1 & 8.03081593927894 & 0.0691840607210626 \tabularnewline
46 & 8.2 & 8.17081593927894 & 0.0291840607210625 \tabularnewline
47 & 8.1 & 8.09081593927894 & 0.00918406072106273 \tabularnewline
48 & 8.1 & 7.91081593927894 & 0.189184060721063 \tabularnewline
49 & 7.9 & 7.85677419354838 & 0.0432258064516217 \tabularnewline
50 & 7.7 & 7.85677419354839 & -0.156774193548388 \tabularnewline
51 & 8.1 & 8.13677419354839 & -0.036774193548388 \tabularnewline
52 & 8 & 8.09677419354839 & -0.0967741935483874 \tabularnewline
53 & 7.7 & 7.93677419354839 & -0.236774193548388 \tabularnewline
54 & 7.8 & 7.63434535104365 & 0.165654648956355 \tabularnewline
55 & 7.6 & 7.55434535104364 & 0.045654648956355 \tabularnewline
56 & 7.4 & 7.53434535104364 & -0.134345351043645 \tabularnewline
57 & 7.7 & 8.09434535104364 & -0.394345351043644 \tabularnewline
58 & 7.8 & 8.23434535104365 & -0.434345351043644 \tabularnewline
59 & 7.5 & 8.15434535104364 & -0.654345351043644 \tabularnewline
60 & 7.2 & 7.97434535104364 & -0.774345351043644 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4864&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]8[/C][C]8.19051233396588[/C][C]-0.190512333965881[/C][/ROW]
[ROW][C]2[/C][C]8.1[/C][C]8.19051233396584[/C][C]-0.0905123339658426[/C][/ROW]
[ROW][C]3[/C][C]8.3[/C][C]8.47051233396584[/C][C]-0.170512333965841[/C][/ROW]
[ROW][C]4[/C][C]8.2[/C][C]8.43051233396584[/C][C]-0.230512333965842[/C][/ROW]
[ROW][C]5[/C][C]8.1[/C][C]8.27051233396584[/C][C]-0.170512333965842[/C][/ROW]
[ROW][C]6[/C][C]7.7[/C][C]7.9680834914611[/C][C]-0.268083491461098[/C][/ROW]
[ROW][C]7[/C][C]7.6[/C][C]7.8880834914611[/C][C]-0.288083491461098[/C][/ROW]
[ROW][C]8[/C][C]7.7[/C][C]7.8680834914611[/C][C]-0.168083491461099[/C][/ROW]
[ROW][C]9[/C][C]8.2[/C][C]8.4280834914611[/C][C]-0.228083491461098[/C][/ROW]
[ROW][C]10[/C][C]8.4[/C][C]8.5680834914611[/C][C]-0.168083491461098[/C][/ROW]
[ROW][C]11[/C][C]8.4[/C][C]8.4880834914611[/C][C]-0.0880834914610977[/C][/ROW]
[ROW][C]12[/C][C]8.6[/C][C]8.3080834914611[/C][C]0.291916508538901[/C][/ROW]
[ROW][C]13[/C][C]8.4[/C][C]8.25404174573054[/C][C]0.145958254269460[/C][/ROW]
[ROW][C]14[/C][C]8.5[/C][C]8.25404174573055[/C][C]0.245958254269451[/C][/ROW]
[ROW][C]15[/C][C]8.7[/C][C]8.53404174573055[/C][C]0.165958254269450[/C][/ROW]
[ROW][C]16[/C][C]8.7[/C][C]8.49404174573055[/C][C]0.205958254269450[/C][/ROW]
[ROW][C]17[/C][C]8.6[/C][C]8.33404174573055[/C][C]0.265958254269450[/C][/ROW]
[ROW][C]18[/C][C]7.4[/C][C]8.0316129032258[/C][C]-0.631612903225806[/C][/ROW]
[ROW][C]19[/C][C]7.3[/C][C]7.9516129032258[/C][C]-0.651612903225806[/C][/ROW]
[ROW][C]20[/C][C]7.4[/C][C]7.9316129032258[/C][C]-0.531612903225806[/C][/ROW]
[ROW][C]21[/C][C]9[/C][C]8.4916129032258[/C][C]0.508387096774194[/C][/ROW]
[ROW][C]22[/C][C]9.2[/C][C]8.6316129032258[/C][C]0.568387096774194[/C][/ROW]
[ROW][C]23[/C][C]9.2[/C][C]8.5516129032258[/C][C]0.648387096774194[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]8.3716129032258[/C][C]0.128387096774194[/C][/ROW]
[ROW][C]25[/C][C]8.3[/C][C]8.31757115749525[/C][C]-0.0175711574952469[/C][/ROW]
[ROW][C]26[/C][C]8.3[/C][C]8.31757115749526[/C][C]-0.0175711574952562[/C][/ROW]
[ROW][C]27[/C][C]8.6[/C][C]8.59757115749526[/C][C]0.00242884250474315[/C][/ROW]
[ROW][C]28[/C][C]8.6[/C][C]8.55757115749526[/C][C]0.0424288425047433[/C][/ROW]
[ROW][C]29[/C][C]8.5[/C][C]8.39757115749526[/C][C]0.102428842504743[/C][/ROW]
[ROW][C]30[/C][C]8.1[/C][C]8.09514231499051[/C][C]0.00485768500948562[/C][/ROW]
[ROW][C]31[/C][C]8.1[/C][C]8.01514231499051[/C][C]0.0848576850094862[/C][/ROW]
[ROW][C]32[/C][C]8[/C][C]7.99514231499051[/C][C]0.00485768500948614[/C][/ROW]
[ROW][C]33[/C][C]8.6[/C][C]8.55514231499051[/C][C]0.0448576850094861[/C][/ROW]
[ROW][C]34[/C][C]8.7[/C][C]8.69514231499051[/C][C]0.00485768500948601[/C][/ROW]
[ROW][C]35[/C][C]8.7[/C][C]8.61514231499051[/C][C]0.0848576850094858[/C][/ROW]
[ROW][C]36[/C][C]8.6[/C][C]8.43514231499051[/C][C]0.164857685009486[/C][/ROW]
[ROW][C]37[/C][C]8.4[/C][C]8.38110056925995[/C][C]0.0188994307400452[/C][/ROW]
[ROW][C]38[/C][C]8.4[/C][C]8.38110056925996[/C][C]0.0188994307400359[/C][/ROW]
[ROW][C]39[/C][C]8.7[/C][C]8.66110056925996[/C][C]0.0388994307400352[/C][/ROW]
[ROW][C]40[/C][C]8.7[/C][C]8.62110056925996[/C][C]0.0788994307400353[/C][/ROW]
[ROW][C]41[/C][C]8.5[/C][C]8.46110056925996[/C][C]0.0388994307400358[/C][/ROW]
[ROW][C]42[/C][C]8.3[/C][C]7.57081593927894[/C][C]0.729184060721063[/C][/ROW]
[ROW][C]43[/C][C]8.3[/C][C]7.49081593927894[/C][C]0.809184060721064[/C][/ROW]
[ROW][C]44[/C][C]8.3[/C][C]7.47081593927894[/C][C]0.829184060721063[/C][/ROW]
[ROW][C]45[/C][C]8.1[/C][C]8.03081593927894[/C][C]0.0691840607210626[/C][/ROW]
[ROW][C]46[/C][C]8.2[/C][C]8.17081593927894[/C][C]0.0291840607210625[/C][/ROW]
[ROW][C]47[/C][C]8.1[/C][C]8.09081593927894[/C][C]0.00918406072106273[/C][/ROW]
[ROW][C]48[/C][C]8.1[/C][C]7.91081593927894[/C][C]0.189184060721063[/C][/ROW]
[ROW][C]49[/C][C]7.9[/C][C]7.85677419354838[/C][C]0.0432258064516217[/C][/ROW]
[ROW][C]50[/C][C]7.7[/C][C]7.85677419354839[/C][C]-0.156774193548388[/C][/ROW]
[ROW][C]51[/C][C]8.1[/C][C]8.13677419354839[/C][C]-0.036774193548388[/C][/ROW]
[ROW][C]52[/C][C]8[/C][C]8.09677419354839[/C][C]-0.0967741935483874[/C][/ROW]
[ROW][C]53[/C][C]7.7[/C][C]7.93677419354839[/C][C]-0.236774193548388[/C][/ROW]
[ROW][C]54[/C][C]7.8[/C][C]7.63434535104365[/C][C]0.165654648956355[/C][/ROW]
[ROW][C]55[/C][C]7.6[/C][C]7.55434535104364[/C][C]0.045654648956355[/C][/ROW]
[ROW][C]56[/C][C]7.4[/C][C]7.53434535104364[/C][C]-0.134345351043645[/C][/ROW]
[ROW][C]57[/C][C]7.7[/C][C]8.09434535104364[/C][C]-0.394345351043644[/C][/ROW]
[ROW][C]58[/C][C]7.8[/C][C]8.23434535104365[/C][C]-0.434345351043644[/C][/ROW]
[ROW][C]59[/C][C]7.5[/C][C]8.15434535104364[/C][C]-0.654345351043644[/C][/ROW]
[ROW][C]60[/C][C]7.2[/C][C]7.97434535104364[/C][C]-0.774345351043644[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4864&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4864&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
188.19051233396588-0.190512333965881
28.18.19051233396584-0.0905123339658426
38.38.47051233396584-0.170512333965841
48.28.43051233396584-0.230512333965842
58.18.27051233396584-0.170512333965842
67.77.9680834914611-0.268083491461098
77.67.8880834914611-0.288083491461098
87.77.8680834914611-0.168083491461099
98.28.4280834914611-0.228083491461098
108.48.5680834914611-0.168083491461098
118.48.4880834914611-0.0880834914610977
128.68.30808349146110.291916508538901
138.48.254041745730540.145958254269460
148.58.254041745730550.245958254269451
158.78.534041745730550.165958254269450
168.78.494041745730550.205958254269450
178.68.334041745730550.265958254269450
187.48.0316129032258-0.631612903225806
197.37.9516129032258-0.651612903225806
207.47.9316129032258-0.531612903225806
2198.49161290322580.508387096774194
229.28.63161290322580.568387096774194
239.28.55161290322580.648387096774194
248.58.37161290322580.128387096774194
258.38.31757115749525-0.0175711574952469
268.38.31757115749526-0.0175711574952562
278.68.597571157495260.00242884250474315
288.68.557571157495260.0424288425047433
298.58.397571157495260.102428842504743
308.18.095142314990510.00485768500948562
318.18.015142314990510.0848576850094862
3287.995142314990510.00485768500948614
338.68.555142314990510.0448576850094861
348.78.695142314990510.00485768500948601
358.78.615142314990510.0848576850094858
368.68.435142314990510.164857685009486
378.48.381100569259950.0188994307400452
388.48.381100569259960.0188994307400359
398.78.661100569259960.0388994307400352
408.78.621100569259960.0788994307400353
418.58.461100569259960.0388994307400358
428.37.570815939278940.729184060721063
438.37.490815939278940.809184060721064
448.37.470815939278940.829184060721063
458.18.030815939278940.0691840607210626
468.28.170815939278940.0291840607210625
478.18.090815939278940.00918406072106273
488.17.910815939278940.189184060721063
497.97.856774193548380.0432258064516217
507.77.85677419354839-0.156774193548388
518.18.13677419354839-0.036774193548388
5288.09677419354839-0.0967741935483874
537.77.93677419354839-0.236774193548388
547.87.634345351043650.165654648956355
557.67.554345351043640.045654648956355
567.47.53434535104364-0.134345351043645
577.78.09434535104364-0.394345351043644
587.88.23434535104365-0.434345351043644
597.58.15434535104364-0.654345351043644
607.27.97434535104364-0.774345351043644



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