Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 15 Jan 2008 08:59:13 -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/2008/Jan/15/t120041285059ltz26f9bhnh6l.htm/, Retrieved Wed, 15 May 2024 03:17:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7959, Retrieved Wed, 15 May 2024 03:17:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact300
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Regressie analyse] [2008-01-15 15:59:13] [e51d7ab0e549b3dc96ac85a81d9bd259] [Current]
Feedback Forum

Post a new message
Dataseries X:
332	0	0
182	0	0
-303	0	0
-443	0	0
908	0	0
4011	1	0
-2862	0	1
-1126	0	0
-50	0	0
3012	1	0
434	0	0
-273	0	0
-439	0	0
-1203	0	0
137	0	0
-102	0	0
1152	0	0
260	0	0
-1150	0	0
-299	0	0
-922	0	0
-1509	0	0
1152	0	0
-3	0	0
156	0	0
-1131	0	0
-1033	0	0
-130	0	0
-599	0	0
-1633	0	0
527	0	0
112	0	0
-895	0	0
669	0	0
-2126	0	1
-1779	0	0
-129	0	0
1922	0	0
674	0	0
185	0	0
-788	0	0
-696	0	0
-748	0	0
893	0	0
458	0	0
-78	0	0
-280	0	0
-1865	0	0
788	0	0
-916	0	0
1286	0	0
883	0	0
193	0	0
-2527	0	1
-1792	0	0
370	0	0
-2952	0	1
-403	0	0
-1478	0	0




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7959&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7959&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7959&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'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
X[t] = -198.528301886792 + 3710.02830188678Y[t] -2418.22169811321Z[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
X[t] =  -198.528301886792 +  3710.02830188678Y[t] -2418.22169811321Z[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7959&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]X[t] =  -198.528301886792 +  3710.02830188678Y[t] -2418.22169811321Z[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7959&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7959&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
X[t] = -198.528301886792 + 3710.02830188678Y[t] -2418.22169811321Z[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-198.528301886792117.141252-1.69480.0956720.047836
Y3710.02830188678614.2939086.039500
Z-2418.22169811321442.198529-5.46861e-061e-06

\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) & -198.528301886792 & 117.141252 & -1.6948 & 0.095672 & 0.047836 \tabularnewline
Y & 3710.02830188678 & 614.293908 & 6.0395 & 0 & 0 \tabularnewline
Z & -2418.22169811321 & 442.198529 & -5.4686 & 1e-06 & 1e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7959&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]-198.528301886792[/C][C]117.141252[/C][C]-1.6948[/C][C]0.095672[/C][C]0.047836[/C][/ROW]
[ROW][C]Y[/C][C]3710.02830188678[/C][C]614.293908[/C][C]6.0395[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Z[/C][C]-2418.22169811321[/C][C]442.198529[/C][C]-5.4686[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7959&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7959&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)-198.528301886792117.141252-1.69480.0956720.047836
Y3710.02830188678614.2939086.039500
Z-2418.22169811321442.198529-5.46861e-061e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.745111387703112
R-squared0.555190980084857
Adjusted R-squared0.539304943659316
F-TEST (value)34.9483637839484
F-TEST (DF numerator)2
F-TEST (DF denominator)56
p-value1.40883527066649e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation852.801187448366
Sum Squared Residuals40727112.4575472

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.745111387703112 \tabularnewline
R-squared & 0.555190980084857 \tabularnewline
Adjusted R-squared & 0.539304943659316 \tabularnewline
F-TEST (value) & 34.9483637839484 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 56 \tabularnewline
p-value & 1.40883527066649e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 852.801187448366 \tabularnewline
Sum Squared Residuals & 40727112.4575472 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7959&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.745111387703112[/C][/ROW]
[ROW][C]R-squared[/C][C]0.555190980084857[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.539304943659316[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]34.9483637839484[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]56[/C][/ROW]
[ROW][C]p-value[/C][C]1.40883527066649e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]852.801187448366[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]40727112.4575472[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7959&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7959&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.745111387703112
R-squared0.555190980084857
Adjusted R-squared0.539304943659316
F-TEST (value)34.9483637839484
F-TEST (DF numerator)2
F-TEST (DF denominator)56
p-value1.40883527066649e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation852.801187448366
Sum Squared Residuals40727112.4575472







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1332-198.528301886789530.528301886789
2182-198.528301886812380.528301886812
3-303-198.528301886794-104.471698113206
4-443-198.528301886792-244.471698113208
5908-198.5283018867921106.52830188679
640113511.5499.500000000001
7-2862-2616.75-245.25
8-1126-198.528301886792-927.471698113208
9-50-198.528301886792148.528301886792
1030123511.5-499.499999999999
11434-198.528301886792632.528301886792
12-273-198.528301886792-74.471698113208
13-439-198.528301886792-240.471698113208
14-1203-198.528301886792-1004.47169811321
15137-198.528301886792335.528301886792
16-102-198.52830188679296.528301886792
171152-198.5283018867921350.52830188679
18260-198.528301886792458.528301886792
19-1150-198.528301886792-951.471698113208
20-299-198.528301886792-100.471698113208
21-922-198.528301886792-723.471698113208
22-1509-198.528301886792-1310.47169811321
231152-198.5283018867921350.52830188679
24-3-198.528301886792195.528301886792
25156-198.528301886792354.528301886792
26-1131-198.528301886792-932.471698113208
27-1033-198.528301886792-834.471698113208
28-130-198.52830188679268.528301886792
29-599-198.528301886792-400.471698113208
30-1633-198.528301886792-1434.47169811321
31527-198.528301886792725.528301886792
32112-198.528301886792310.528301886792
33-895-198.528301886792-696.471698113208
34669-198.528301886792867.528301886792
35-2126-2616.75490.75
36-1779-198.528301886792-1580.47169811321
37-129-198.52830188679269.528301886792
381922-198.5283018867922120.52830188679
39674-198.528301886792872.528301886792
40185-198.528301886792383.528301886792
41-788-198.528301886792-589.471698113208
42-696-198.528301886792-497.471698113208
43-748-198.528301886792-549.471698113208
44893-198.5283018867921091.52830188679
45458-198.528301886792656.528301886792
46-78-198.528301886792120.528301886792
47-280-198.528301886792-81.471698113208
48-1865-198.528301886792-1666.47169811321
49788-198.528301886792986.528301886792
50-916-198.528301886792-717.471698113208
511286-198.5283018867921484.52830188679
52883-198.5283018867921081.52830188679
53193-198.528301886792391.528301886792
54-2527-2616.7589.75
55-1792-198.528301886792-1593.47169811321
56370-198.528301886792568.528301886792
57-2952-2616.75-335.25
58-403-198.528301886792-204.471698113208
59-1478-198.528301886792-1279.47169811321

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 332 & -198.528301886789 & 530.528301886789 \tabularnewline
2 & 182 & -198.528301886812 & 380.528301886812 \tabularnewline
3 & -303 & -198.528301886794 & -104.471698113206 \tabularnewline
4 & -443 & -198.528301886792 & -244.471698113208 \tabularnewline
5 & 908 & -198.528301886792 & 1106.52830188679 \tabularnewline
6 & 4011 & 3511.5 & 499.500000000001 \tabularnewline
7 & -2862 & -2616.75 & -245.25 \tabularnewline
8 & -1126 & -198.528301886792 & -927.471698113208 \tabularnewline
9 & -50 & -198.528301886792 & 148.528301886792 \tabularnewline
10 & 3012 & 3511.5 & -499.499999999999 \tabularnewline
11 & 434 & -198.528301886792 & 632.528301886792 \tabularnewline
12 & -273 & -198.528301886792 & -74.471698113208 \tabularnewline
13 & -439 & -198.528301886792 & -240.471698113208 \tabularnewline
14 & -1203 & -198.528301886792 & -1004.47169811321 \tabularnewline
15 & 137 & -198.528301886792 & 335.528301886792 \tabularnewline
16 & -102 & -198.528301886792 & 96.528301886792 \tabularnewline
17 & 1152 & -198.528301886792 & 1350.52830188679 \tabularnewline
18 & 260 & -198.528301886792 & 458.528301886792 \tabularnewline
19 & -1150 & -198.528301886792 & -951.471698113208 \tabularnewline
20 & -299 & -198.528301886792 & -100.471698113208 \tabularnewline
21 & -922 & -198.528301886792 & -723.471698113208 \tabularnewline
22 & -1509 & -198.528301886792 & -1310.47169811321 \tabularnewline
23 & 1152 & -198.528301886792 & 1350.52830188679 \tabularnewline
24 & -3 & -198.528301886792 & 195.528301886792 \tabularnewline
25 & 156 & -198.528301886792 & 354.528301886792 \tabularnewline
26 & -1131 & -198.528301886792 & -932.471698113208 \tabularnewline
27 & -1033 & -198.528301886792 & -834.471698113208 \tabularnewline
28 & -130 & -198.528301886792 & 68.528301886792 \tabularnewline
29 & -599 & -198.528301886792 & -400.471698113208 \tabularnewline
30 & -1633 & -198.528301886792 & -1434.47169811321 \tabularnewline
31 & 527 & -198.528301886792 & 725.528301886792 \tabularnewline
32 & 112 & -198.528301886792 & 310.528301886792 \tabularnewline
33 & -895 & -198.528301886792 & -696.471698113208 \tabularnewline
34 & 669 & -198.528301886792 & 867.528301886792 \tabularnewline
35 & -2126 & -2616.75 & 490.75 \tabularnewline
36 & -1779 & -198.528301886792 & -1580.47169811321 \tabularnewline
37 & -129 & -198.528301886792 & 69.528301886792 \tabularnewline
38 & 1922 & -198.528301886792 & 2120.52830188679 \tabularnewline
39 & 674 & -198.528301886792 & 872.528301886792 \tabularnewline
40 & 185 & -198.528301886792 & 383.528301886792 \tabularnewline
41 & -788 & -198.528301886792 & -589.471698113208 \tabularnewline
42 & -696 & -198.528301886792 & -497.471698113208 \tabularnewline
43 & -748 & -198.528301886792 & -549.471698113208 \tabularnewline
44 & 893 & -198.528301886792 & 1091.52830188679 \tabularnewline
45 & 458 & -198.528301886792 & 656.528301886792 \tabularnewline
46 & -78 & -198.528301886792 & 120.528301886792 \tabularnewline
47 & -280 & -198.528301886792 & -81.471698113208 \tabularnewline
48 & -1865 & -198.528301886792 & -1666.47169811321 \tabularnewline
49 & 788 & -198.528301886792 & 986.528301886792 \tabularnewline
50 & -916 & -198.528301886792 & -717.471698113208 \tabularnewline
51 & 1286 & -198.528301886792 & 1484.52830188679 \tabularnewline
52 & 883 & -198.528301886792 & 1081.52830188679 \tabularnewline
53 & 193 & -198.528301886792 & 391.528301886792 \tabularnewline
54 & -2527 & -2616.75 & 89.75 \tabularnewline
55 & -1792 & -198.528301886792 & -1593.47169811321 \tabularnewline
56 & 370 & -198.528301886792 & 568.528301886792 \tabularnewline
57 & -2952 & -2616.75 & -335.25 \tabularnewline
58 & -403 & -198.528301886792 & -204.471698113208 \tabularnewline
59 & -1478 & -198.528301886792 & -1279.47169811321 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7959&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]332[/C][C]-198.528301886789[/C][C]530.528301886789[/C][/ROW]
[ROW][C]2[/C][C]182[/C][C]-198.528301886812[/C][C]380.528301886812[/C][/ROW]
[ROW][C]3[/C][C]-303[/C][C]-198.528301886794[/C][C]-104.471698113206[/C][/ROW]
[ROW][C]4[/C][C]-443[/C][C]-198.528301886792[/C][C]-244.471698113208[/C][/ROW]
[ROW][C]5[/C][C]908[/C][C]-198.528301886792[/C][C]1106.52830188679[/C][/ROW]
[ROW][C]6[/C][C]4011[/C][C]3511.5[/C][C]499.500000000001[/C][/ROW]
[ROW][C]7[/C][C]-2862[/C][C]-2616.75[/C][C]-245.25[/C][/ROW]
[ROW][C]8[/C][C]-1126[/C][C]-198.528301886792[/C][C]-927.471698113208[/C][/ROW]
[ROW][C]9[/C][C]-50[/C][C]-198.528301886792[/C][C]148.528301886792[/C][/ROW]
[ROW][C]10[/C][C]3012[/C][C]3511.5[/C][C]-499.499999999999[/C][/ROW]
[ROW][C]11[/C][C]434[/C][C]-198.528301886792[/C][C]632.528301886792[/C][/ROW]
[ROW][C]12[/C][C]-273[/C][C]-198.528301886792[/C][C]-74.471698113208[/C][/ROW]
[ROW][C]13[/C][C]-439[/C][C]-198.528301886792[/C][C]-240.471698113208[/C][/ROW]
[ROW][C]14[/C][C]-1203[/C][C]-198.528301886792[/C][C]-1004.47169811321[/C][/ROW]
[ROW][C]15[/C][C]137[/C][C]-198.528301886792[/C][C]335.528301886792[/C][/ROW]
[ROW][C]16[/C][C]-102[/C][C]-198.528301886792[/C][C]96.528301886792[/C][/ROW]
[ROW][C]17[/C][C]1152[/C][C]-198.528301886792[/C][C]1350.52830188679[/C][/ROW]
[ROW][C]18[/C][C]260[/C][C]-198.528301886792[/C][C]458.528301886792[/C][/ROW]
[ROW][C]19[/C][C]-1150[/C][C]-198.528301886792[/C][C]-951.471698113208[/C][/ROW]
[ROW][C]20[/C][C]-299[/C][C]-198.528301886792[/C][C]-100.471698113208[/C][/ROW]
[ROW][C]21[/C][C]-922[/C][C]-198.528301886792[/C][C]-723.471698113208[/C][/ROW]
[ROW][C]22[/C][C]-1509[/C][C]-198.528301886792[/C][C]-1310.47169811321[/C][/ROW]
[ROW][C]23[/C][C]1152[/C][C]-198.528301886792[/C][C]1350.52830188679[/C][/ROW]
[ROW][C]24[/C][C]-3[/C][C]-198.528301886792[/C][C]195.528301886792[/C][/ROW]
[ROW][C]25[/C][C]156[/C][C]-198.528301886792[/C][C]354.528301886792[/C][/ROW]
[ROW][C]26[/C][C]-1131[/C][C]-198.528301886792[/C][C]-932.471698113208[/C][/ROW]
[ROW][C]27[/C][C]-1033[/C][C]-198.528301886792[/C][C]-834.471698113208[/C][/ROW]
[ROW][C]28[/C][C]-130[/C][C]-198.528301886792[/C][C]68.528301886792[/C][/ROW]
[ROW][C]29[/C][C]-599[/C][C]-198.528301886792[/C][C]-400.471698113208[/C][/ROW]
[ROW][C]30[/C][C]-1633[/C][C]-198.528301886792[/C][C]-1434.47169811321[/C][/ROW]
[ROW][C]31[/C][C]527[/C][C]-198.528301886792[/C][C]725.528301886792[/C][/ROW]
[ROW][C]32[/C][C]112[/C][C]-198.528301886792[/C][C]310.528301886792[/C][/ROW]
[ROW][C]33[/C][C]-895[/C][C]-198.528301886792[/C][C]-696.471698113208[/C][/ROW]
[ROW][C]34[/C][C]669[/C][C]-198.528301886792[/C][C]867.528301886792[/C][/ROW]
[ROW][C]35[/C][C]-2126[/C][C]-2616.75[/C][C]490.75[/C][/ROW]
[ROW][C]36[/C][C]-1779[/C][C]-198.528301886792[/C][C]-1580.47169811321[/C][/ROW]
[ROW][C]37[/C][C]-129[/C][C]-198.528301886792[/C][C]69.528301886792[/C][/ROW]
[ROW][C]38[/C][C]1922[/C][C]-198.528301886792[/C][C]2120.52830188679[/C][/ROW]
[ROW][C]39[/C][C]674[/C][C]-198.528301886792[/C][C]872.528301886792[/C][/ROW]
[ROW][C]40[/C][C]185[/C][C]-198.528301886792[/C][C]383.528301886792[/C][/ROW]
[ROW][C]41[/C][C]-788[/C][C]-198.528301886792[/C][C]-589.471698113208[/C][/ROW]
[ROW][C]42[/C][C]-696[/C][C]-198.528301886792[/C][C]-497.471698113208[/C][/ROW]
[ROW][C]43[/C][C]-748[/C][C]-198.528301886792[/C][C]-549.471698113208[/C][/ROW]
[ROW][C]44[/C][C]893[/C][C]-198.528301886792[/C][C]1091.52830188679[/C][/ROW]
[ROW][C]45[/C][C]458[/C][C]-198.528301886792[/C][C]656.528301886792[/C][/ROW]
[ROW][C]46[/C][C]-78[/C][C]-198.528301886792[/C][C]120.528301886792[/C][/ROW]
[ROW][C]47[/C][C]-280[/C][C]-198.528301886792[/C][C]-81.471698113208[/C][/ROW]
[ROW][C]48[/C][C]-1865[/C][C]-198.528301886792[/C][C]-1666.47169811321[/C][/ROW]
[ROW][C]49[/C][C]788[/C][C]-198.528301886792[/C][C]986.528301886792[/C][/ROW]
[ROW][C]50[/C][C]-916[/C][C]-198.528301886792[/C][C]-717.471698113208[/C][/ROW]
[ROW][C]51[/C][C]1286[/C][C]-198.528301886792[/C][C]1484.52830188679[/C][/ROW]
[ROW][C]52[/C][C]883[/C][C]-198.528301886792[/C][C]1081.52830188679[/C][/ROW]
[ROW][C]53[/C][C]193[/C][C]-198.528301886792[/C][C]391.528301886792[/C][/ROW]
[ROW][C]54[/C][C]-2527[/C][C]-2616.75[/C][C]89.75[/C][/ROW]
[ROW][C]55[/C][C]-1792[/C][C]-198.528301886792[/C][C]-1593.47169811321[/C][/ROW]
[ROW][C]56[/C][C]370[/C][C]-198.528301886792[/C][C]568.528301886792[/C][/ROW]
[ROW][C]57[/C][C]-2952[/C][C]-2616.75[/C][C]-335.25[/C][/ROW]
[ROW][C]58[/C][C]-403[/C][C]-198.528301886792[/C][C]-204.471698113208[/C][/ROW]
[ROW][C]59[/C][C]-1478[/C][C]-198.528301886792[/C][C]-1279.47169811321[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7959&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7959&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
1332-198.528301886789530.528301886789
2182-198.528301886812380.528301886812
3-303-198.528301886794-104.471698113206
4-443-198.528301886792-244.471698113208
5908-198.5283018867921106.52830188679
640113511.5499.500000000001
7-2862-2616.75-245.25
8-1126-198.528301886792-927.471698113208
9-50-198.528301886792148.528301886792
1030123511.5-499.499999999999
11434-198.528301886792632.528301886792
12-273-198.528301886792-74.471698113208
13-439-198.528301886792-240.471698113208
14-1203-198.528301886792-1004.47169811321
15137-198.528301886792335.528301886792
16-102-198.52830188679296.528301886792
171152-198.5283018867921350.52830188679
18260-198.528301886792458.528301886792
19-1150-198.528301886792-951.471698113208
20-299-198.528301886792-100.471698113208
21-922-198.528301886792-723.471698113208
22-1509-198.528301886792-1310.47169811321
231152-198.5283018867921350.52830188679
24-3-198.528301886792195.528301886792
25156-198.528301886792354.528301886792
26-1131-198.528301886792-932.471698113208
27-1033-198.528301886792-834.471698113208
28-130-198.52830188679268.528301886792
29-599-198.528301886792-400.471698113208
30-1633-198.528301886792-1434.47169811321
31527-198.528301886792725.528301886792
32112-198.528301886792310.528301886792
33-895-198.528301886792-696.471698113208
34669-198.528301886792867.528301886792
35-2126-2616.75490.75
36-1779-198.528301886792-1580.47169811321
37-129-198.52830188679269.528301886792
381922-198.5283018867922120.52830188679
39674-198.528301886792872.528301886792
40185-198.528301886792383.528301886792
41-788-198.528301886792-589.471698113208
42-696-198.528301886792-497.471698113208
43-748-198.528301886792-549.471698113208
44893-198.5283018867921091.52830188679
45458-198.528301886792656.528301886792
46-78-198.528301886792120.528301886792
47-280-198.528301886792-81.471698113208
48-1865-198.528301886792-1666.47169811321
49788-198.528301886792986.528301886792
50-916-198.528301886792-717.471698113208
511286-198.5283018867921484.52830188679
52883-198.5283018867921081.52830188679
53193-198.528301886792391.528301886792
54-2527-2616.7589.75
55-1792-198.528301886792-1593.47169811321
56370-198.528301886792568.528301886792
57-2952-2616.75-335.25
58-403-198.528301886792-204.471698113208
59-1478-198.528301886792-1279.47169811321



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