Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 07 Dec 2007 04:44:30 -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/07/t1197027098h4xy69lbgn32mpv.htm/, Retrieved Mon, 29 Apr 2024 05:48:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2763, Retrieved Mon, 29 Apr 2024 05:48:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact224
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [tijdtreeks3: outl...] [2007-12-07 11:44:30] [c34baf302affc2b9b7cce5b975b1f71e] [Current]
Feedback Forum

Post a new message
Dataseries X:
733.6	0
844.9	0
864.3	0
833.5	0
814.9	0
820.4	0
710.8	0
773.1	0
801.2	0
832.9	0
808.3	0
817.2	0
745.5	0
932.6	0
1057.0	0
879.9	0
1089.5	0
903.0	0
846.1	0
959.1	0
952.0	0
1092.5	0
1188.9	0
996.7	0
1034.3	0
898.2	0
1111.6	0
900.5	0
1049.2	0
1010.9	0
875.9	0
849.9	0
713.4	1
918.6	1
912.5	1
767.0	1
902.2	1
891.9	1
874.0	1
930.9	1
944.2	1
935.9	1
937.1	1
885.1	1
892.4	1
987.3	1
946.3	1
799.6	1
875.4	1
846.2	1
880.6	1
885.7	1
868.9	1
882.5	1
789.6	1
773.3	1
804.3	1
817.8	1
836.7	1
721.8	1





Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2763&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]4 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=2763&T=0

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 773.475 -161.658333333333x[t] + 49.4022222222223M1[t] + 69.9627777777778M2[t] + 140.703333333333M3[t] + 65.3038888888889M4[t] + 128.544444444444M5[t] + 81.745M6[t] -0.894444444444383M7[t] + 11.3061111111112M8[t] + 24.1983333333334M9[t] + 117.358888888889M10[t] + 122.079444444444M11[t] + 3.99944444444444t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  773.475 -161.658333333333x[t] +  49.4022222222223M1[t] +  69.9627777777778M2[t] +  140.703333333333M3[t] +  65.3038888888889M4[t] +  128.544444444444M5[t] +  81.745M6[t] -0.894444444444383M7[t] +  11.3061111111112M8[t] +  24.1983333333334M9[t] +  117.358888888889M10[t] +  122.079444444444M11[t] +  3.99944444444444t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2763&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  773.475 -161.658333333333x[t] +  49.4022222222223M1[t] +  69.9627777777778M2[t] +  140.703333333333M3[t] +  65.3038888888889M4[t] +  128.544444444444M5[t] +  81.745M6[t] -0.894444444444383M7[t] +  11.3061111111112M8[t] +  24.1983333333334M9[t] +  117.358888888889M10[t] +  122.079444444444M11[t] +  3.99944444444444t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2763&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2763&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] = + 773.475 -161.658333333333x[t] + 49.4022222222223M1[t] + 69.9627777777778M2[t] + 140.703333333333M3[t] + 65.3038888888889M4[t] + 128.544444444444M5[t] + 81.745M6[t] -0.894444444444383M7[t] + 11.3061111111112M8[t] + 24.1983333333334M9[t] + 117.358888888889M10[t] + 122.079444444444M11[t] + 3.99944444444444t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)773.47549.91639115.495400
x-161.65833333333348.032069-3.36560.0015490.000775
M149.402222222222358.2522940.84810.4007890.200394
M269.962777777777858.1035851.20410.2347090.117354
M3140.70333333333357.987662.42640.0192260.009613
M465.303888888888957.9047131.12780.265260.13263
M5128.54444444444457.8548892.22180.0312540.015627
M681.74557.8382711.41330.1642880.082144
M7-0.89444444444438357.854889-0.01550.9877320.493866
M811.306111111111257.9047130.19530.8460540.423027
M924.198333333333457.7883890.41870.6773550.338677
M10117.35888888888957.7051562.03380.0477660.023883
M11122.07944444444457.6551592.11740.0396620.019831
t3.999444444444441.3865662.88440.0059480.002974

\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) & 773.475 & 49.916391 & 15.4954 & 0 & 0 \tabularnewline
x & -161.658333333333 & 48.032069 & -3.3656 & 0.001549 & 0.000775 \tabularnewline
M1 & 49.4022222222223 & 58.252294 & 0.8481 & 0.400789 & 0.200394 \tabularnewline
M2 & 69.9627777777778 & 58.103585 & 1.2041 & 0.234709 & 0.117354 \tabularnewline
M3 & 140.703333333333 & 57.98766 & 2.4264 & 0.019226 & 0.009613 \tabularnewline
M4 & 65.3038888888889 & 57.904713 & 1.1278 & 0.26526 & 0.13263 \tabularnewline
M5 & 128.544444444444 & 57.854889 & 2.2218 & 0.031254 & 0.015627 \tabularnewline
M6 & 81.745 & 57.838271 & 1.4133 & 0.164288 & 0.082144 \tabularnewline
M7 & -0.894444444444383 & 57.854889 & -0.0155 & 0.987732 & 0.493866 \tabularnewline
M8 & 11.3061111111112 & 57.904713 & 0.1953 & 0.846054 & 0.423027 \tabularnewline
M9 & 24.1983333333334 & 57.788389 & 0.4187 & 0.677355 & 0.338677 \tabularnewline
M10 & 117.358888888889 & 57.705156 & 2.0338 & 0.047766 & 0.023883 \tabularnewline
M11 & 122.079444444444 & 57.655159 & 2.1174 & 0.039662 & 0.019831 \tabularnewline
t & 3.99944444444444 & 1.386566 & 2.8844 & 0.005948 & 0.002974 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2763&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]773.475[/C][C]49.916391[/C][C]15.4954[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-161.658333333333[/C][C]48.032069[/C][C]-3.3656[/C][C]0.001549[/C][C]0.000775[/C][/ROW]
[ROW][C]M1[/C][C]49.4022222222223[/C][C]58.252294[/C][C]0.8481[/C][C]0.400789[/C][C]0.200394[/C][/ROW]
[ROW][C]M2[/C][C]69.9627777777778[/C][C]58.103585[/C][C]1.2041[/C][C]0.234709[/C][C]0.117354[/C][/ROW]
[ROW][C]M3[/C][C]140.703333333333[/C][C]57.98766[/C][C]2.4264[/C][C]0.019226[/C][C]0.009613[/C][/ROW]
[ROW][C]M4[/C][C]65.3038888888889[/C][C]57.904713[/C][C]1.1278[/C][C]0.26526[/C][C]0.13263[/C][/ROW]
[ROW][C]M5[/C][C]128.544444444444[/C][C]57.854889[/C][C]2.2218[/C][C]0.031254[/C][C]0.015627[/C][/ROW]
[ROW][C]M6[/C][C]81.745[/C][C]57.838271[/C][C]1.4133[/C][C]0.164288[/C][C]0.082144[/C][/ROW]
[ROW][C]M7[/C][C]-0.894444444444383[/C][C]57.854889[/C][C]-0.0155[/C][C]0.987732[/C][C]0.493866[/C][/ROW]
[ROW][C]M8[/C][C]11.3061111111112[/C][C]57.904713[/C][C]0.1953[/C][C]0.846054[/C][C]0.423027[/C][/ROW]
[ROW][C]M9[/C][C]24.1983333333334[/C][C]57.788389[/C][C]0.4187[/C][C]0.677355[/C][C]0.338677[/C][/ROW]
[ROW][C]M10[/C][C]117.358888888889[/C][C]57.705156[/C][C]2.0338[/C][C]0.047766[/C][C]0.023883[/C][/ROW]
[ROW][C]M11[/C][C]122.079444444444[/C][C]57.655159[/C][C]2.1174[/C][C]0.039662[/C][C]0.019831[/C][/ROW]
[ROW][C]t[/C][C]3.99944444444444[/C][C]1.386566[/C][C]2.8844[/C][C]0.005948[/C][C]0.002974[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2763&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2763&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)773.47549.91639115.495400
x-161.65833333333348.032069-3.36560.0015490.000775
M149.402222222222358.2522940.84810.4007890.200394
M269.962777777777858.1035851.20410.2347090.117354
M3140.70333333333357.987662.42640.0192260.009613
M465.303888888888957.9047131.12780.265260.13263
M5128.54444444444457.8548892.22180.0312540.015627
M681.74557.8382711.41330.1642880.082144
M7-0.89444444444438357.854889-0.01550.9877320.493866
M811.306111111111257.9047130.19530.8460540.423027
M924.198333333333457.7883890.41870.6773550.338677
M10117.35888888888957.7051562.03380.0477660.023883
M11122.07944444444457.6551592.11740.0396620.019831
t3.999444444444441.3865662.88440.0059480.002974







Multiple Linear Regression - Regression Statistics
Multiple R0.613064454026335
R-squared0.375848024790609
Adjusted R-squared0.199457249187955
F-TEST (value)2.1307691601587
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.0301294115603821
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation91.1344441240363
Sum Squared Residuals382052.397666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.613064454026335 \tabularnewline
R-squared & 0.375848024790609 \tabularnewline
Adjusted R-squared & 0.199457249187955 \tabularnewline
F-TEST (value) & 2.1307691601587 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.0301294115603821 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 91.1344441240363 \tabularnewline
Sum Squared Residuals & 382052.397666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2763&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.613064454026335[/C][/ROW]
[ROW][C]R-squared[/C][C]0.375848024790609[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.199457249187955[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.1307691601587[/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.0301294115603821[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]91.1344441240363[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]382052.397666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2763&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2763&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.613064454026335
R-squared0.375848024790609
Adjusted R-squared0.199457249187955
F-TEST (value)2.1307691601587
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.0301294115603821
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation91.1344441240363
Sum Squared Residuals382052.397666667







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1733.6826.876666666667-93.2766666666665
2844.9851.436666666667-6.53666666666667
3864.3926.176666666667-61.8766666666668
4833.5854.776666666667-21.2766666666667
5814.9922.016666666667-107.116666666667
6820.4879.216666666667-58.8166666666668
7710.8800.576666666666-89.7766666666665
8773.1816.776666666667-43.6766666666666
9801.2833.668333333333-32.4683333333333
10832.9930.828333333333-97.9283333333333
11808.3939.548333333333-131.248333333333
12817.2821.468333333333-4.26833333333322
13745.5874.87-129.37
14932.6899.4333.1700000000000
151057974.1782.83
16879.9902.77-22.87
171089.5970.01119.49
18903927.21-24.2100000000000
19846.1848.57-2.47000000000004
20959.1864.7794.33
21952881.66166666666770.3383333333334
221092.5978.821666666667113.678333333333
231188.9987.541666666667201.358333333333
24996.7869.461666666667127.238333333333
251034.3922.863333333333111.436666666667
26898.2947.423333333333-49.2233333333333
271111.61022.1633333333389.4366666666666
28900.5950.763333333333-50.2633333333333
291049.21018.0033333333331.1966666666666
301010.9975.20333333333335.6966666666667
31875.9896.563333333333-20.6633333333334
32849.9912.763333333333-62.8633333333334
33713.4767.996666666667-54.5966666666667
34918.6865.15666666666753.4433333333334
35912.5873.87666666666738.6233333333334
36767755.79666666666711.2033333333334
37902.2809.19833333333393.0016666666667
38891.9833.75833333333358.1416666666666
39874908.498333333333-34.4983333333333
40930.9837.09833333333393.8016666666666
41944.2904.33833333333339.8616666666667
42935.9861.53833333333374.3616666666667
43937.1782.898333333333154.201666666667
44885.1799.09833333333386.0016666666666
45892.4815.9976.41
46987.3913.1574.15
47946.3921.8724.43
48799.6803.79-4.18999999999996
49875.4857.19166666666718.2083333333333
50846.2881.751666666667-35.5516666666667
51880.6956.491666666667-75.8916666666666
52885.7885.0916666666670.608333333333409
53868.9952.331666666667-83.4316666666668
54882.5909.531666666667-27.0316666666666
55789.6830.891666666667-41.2916666666667
56773.3847.091666666667-73.7916666666667
57804.3863.983333333333-59.6833333333334
58817.8961.143333333333-143.343333333333
59836.7969.863333333333-133.163333333333
60721.8851.783333333333-129.983333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 733.6 & 826.876666666667 & -93.2766666666665 \tabularnewline
2 & 844.9 & 851.436666666667 & -6.53666666666667 \tabularnewline
3 & 864.3 & 926.176666666667 & -61.8766666666668 \tabularnewline
4 & 833.5 & 854.776666666667 & -21.2766666666667 \tabularnewline
5 & 814.9 & 922.016666666667 & -107.116666666667 \tabularnewline
6 & 820.4 & 879.216666666667 & -58.8166666666668 \tabularnewline
7 & 710.8 & 800.576666666666 & -89.7766666666665 \tabularnewline
8 & 773.1 & 816.776666666667 & -43.6766666666666 \tabularnewline
9 & 801.2 & 833.668333333333 & -32.4683333333333 \tabularnewline
10 & 832.9 & 930.828333333333 & -97.9283333333333 \tabularnewline
11 & 808.3 & 939.548333333333 & -131.248333333333 \tabularnewline
12 & 817.2 & 821.468333333333 & -4.26833333333322 \tabularnewline
13 & 745.5 & 874.87 & -129.37 \tabularnewline
14 & 932.6 & 899.43 & 33.1700000000000 \tabularnewline
15 & 1057 & 974.17 & 82.83 \tabularnewline
16 & 879.9 & 902.77 & -22.87 \tabularnewline
17 & 1089.5 & 970.01 & 119.49 \tabularnewline
18 & 903 & 927.21 & -24.2100000000000 \tabularnewline
19 & 846.1 & 848.57 & -2.47000000000004 \tabularnewline
20 & 959.1 & 864.77 & 94.33 \tabularnewline
21 & 952 & 881.661666666667 & 70.3383333333334 \tabularnewline
22 & 1092.5 & 978.821666666667 & 113.678333333333 \tabularnewline
23 & 1188.9 & 987.541666666667 & 201.358333333333 \tabularnewline
24 & 996.7 & 869.461666666667 & 127.238333333333 \tabularnewline
25 & 1034.3 & 922.863333333333 & 111.436666666667 \tabularnewline
26 & 898.2 & 947.423333333333 & -49.2233333333333 \tabularnewline
27 & 1111.6 & 1022.16333333333 & 89.4366666666666 \tabularnewline
28 & 900.5 & 950.763333333333 & -50.2633333333333 \tabularnewline
29 & 1049.2 & 1018.00333333333 & 31.1966666666666 \tabularnewline
30 & 1010.9 & 975.203333333333 & 35.6966666666667 \tabularnewline
31 & 875.9 & 896.563333333333 & -20.6633333333334 \tabularnewline
32 & 849.9 & 912.763333333333 & -62.8633333333334 \tabularnewline
33 & 713.4 & 767.996666666667 & -54.5966666666667 \tabularnewline
34 & 918.6 & 865.156666666667 & 53.4433333333334 \tabularnewline
35 & 912.5 & 873.876666666667 & 38.6233333333334 \tabularnewline
36 & 767 & 755.796666666667 & 11.2033333333334 \tabularnewline
37 & 902.2 & 809.198333333333 & 93.0016666666667 \tabularnewline
38 & 891.9 & 833.758333333333 & 58.1416666666666 \tabularnewline
39 & 874 & 908.498333333333 & -34.4983333333333 \tabularnewline
40 & 930.9 & 837.098333333333 & 93.8016666666666 \tabularnewline
41 & 944.2 & 904.338333333333 & 39.8616666666667 \tabularnewline
42 & 935.9 & 861.538333333333 & 74.3616666666667 \tabularnewline
43 & 937.1 & 782.898333333333 & 154.201666666667 \tabularnewline
44 & 885.1 & 799.098333333333 & 86.0016666666666 \tabularnewline
45 & 892.4 & 815.99 & 76.41 \tabularnewline
46 & 987.3 & 913.15 & 74.15 \tabularnewline
47 & 946.3 & 921.87 & 24.43 \tabularnewline
48 & 799.6 & 803.79 & -4.18999999999996 \tabularnewline
49 & 875.4 & 857.191666666667 & 18.2083333333333 \tabularnewline
50 & 846.2 & 881.751666666667 & -35.5516666666667 \tabularnewline
51 & 880.6 & 956.491666666667 & -75.8916666666666 \tabularnewline
52 & 885.7 & 885.091666666667 & 0.608333333333409 \tabularnewline
53 & 868.9 & 952.331666666667 & -83.4316666666668 \tabularnewline
54 & 882.5 & 909.531666666667 & -27.0316666666666 \tabularnewline
55 & 789.6 & 830.891666666667 & -41.2916666666667 \tabularnewline
56 & 773.3 & 847.091666666667 & -73.7916666666667 \tabularnewline
57 & 804.3 & 863.983333333333 & -59.6833333333334 \tabularnewline
58 & 817.8 & 961.143333333333 & -143.343333333333 \tabularnewline
59 & 836.7 & 969.863333333333 & -133.163333333333 \tabularnewline
60 & 721.8 & 851.783333333333 & -129.983333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2763&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]733.6[/C][C]826.876666666667[/C][C]-93.2766666666665[/C][/ROW]
[ROW][C]2[/C][C]844.9[/C][C]851.436666666667[/C][C]-6.53666666666667[/C][/ROW]
[ROW][C]3[/C][C]864.3[/C][C]926.176666666667[/C][C]-61.8766666666668[/C][/ROW]
[ROW][C]4[/C][C]833.5[/C][C]854.776666666667[/C][C]-21.2766666666667[/C][/ROW]
[ROW][C]5[/C][C]814.9[/C][C]922.016666666667[/C][C]-107.116666666667[/C][/ROW]
[ROW][C]6[/C][C]820.4[/C][C]879.216666666667[/C][C]-58.8166666666668[/C][/ROW]
[ROW][C]7[/C][C]710.8[/C][C]800.576666666666[/C][C]-89.7766666666665[/C][/ROW]
[ROW][C]8[/C][C]773.1[/C][C]816.776666666667[/C][C]-43.6766666666666[/C][/ROW]
[ROW][C]9[/C][C]801.2[/C][C]833.668333333333[/C][C]-32.4683333333333[/C][/ROW]
[ROW][C]10[/C][C]832.9[/C][C]930.828333333333[/C][C]-97.9283333333333[/C][/ROW]
[ROW][C]11[/C][C]808.3[/C][C]939.548333333333[/C][C]-131.248333333333[/C][/ROW]
[ROW][C]12[/C][C]817.2[/C][C]821.468333333333[/C][C]-4.26833333333322[/C][/ROW]
[ROW][C]13[/C][C]745.5[/C][C]874.87[/C][C]-129.37[/C][/ROW]
[ROW][C]14[/C][C]932.6[/C][C]899.43[/C][C]33.1700000000000[/C][/ROW]
[ROW][C]15[/C][C]1057[/C][C]974.17[/C][C]82.83[/C][/ROW]
[ROW][C]16[/C][C]879.9[/C][C]902.77[/C][C]-22.87[/C][/ROW]
[ROW][C]17[/C][C]1089.5[/C][C]970.01[/C][C]119.49[/C][/ROW]
[ROW][C]18[/C][C]903[/C][C]927.21[/C][C]-24.2100000000000[/C][/ROW]
[ROW][C]19[/C][C]846.1[/C][C]848.57[/C][C]-2.47000000000004[/C][/ROW]
[ROW][C]20[/C][C]959.1[/C][C]864.77[/C][C]94.33[/C][/ROW]
[ROW][C]21[/C][C]952[/C][C]881.661666666667[/C][C]70.3383333333334[/C][/ROW]
[ROW][C]22[/C][C]1092.5[/C][C]978.821666666667[/C][C]113.678333333333[/C][/ROW]
[ROW][C]23[/C][C]1188.9[/C][C]987.541666666667[/C][C]201.358333333333[/C][/ROW]
[ROW][C]24[/C][C]996.7[/C][C]869.461666666667[/C][C]127.238333333333[/C][/ROW]
[ROW][C]25[/C][C]1034.3[/C][C]922.863333333333[/C][C]111.436666666667[/C][/ROW]
[ROW][C]26[/C][C]898.2[/C][C]947.423333333333[/C][C]-49.2233333333333[/C][/ROW]
[ROW][C]27[/C][C]1111.6[/C][C]1022.16333333333[/C][C]89.4366666666666[/C][/ROW]
[ROW][C]28[/C][C]900.5[/C][C]950.763333333333[/C][C]-50.2633333333333[/C][/ROW]
[ROW][C]29[/C][C]1049.2[/C][C]1018.00333333333[/C][C]31.1966666666666[/C][/ROW]
[ROW][C]30[/C][C]1010.9[/C][C]975.203333333333[/C][C]35.6966666666667[/C][/ROW]
[ROW][C]31[/C][C]875.9[/C][C]896.563333333333[/C][C]-20.6633333333334[/C][/ROW]
[ROW][C]32[/C][C]849.9[/C][C]912.763333333333[/C][C]-62.8633333333334[/C][/ROW]
[ROW][C]33[/C][C]713.4[/C][C]767.996666666667[/C][C]-54.5966666666667[/C][/ROW]
[ROW][C]34[/C][C]918.6[/C][C]865.156666666667[/C][C]53.4433333333334[/C][/ROW]
[ROW][C]35[/C][C]912.5[/C][C]873.876666666667[/C][C]38.6233333333334[/C][/ROW]
[ROW][C]36[/C][C]767[/C][C]755.796666666667[/C][C]11.2033333333334[/C][/ROW]
[ROW][C]37[/C][C]902.2[/C][C]809.198333333333[/C][C]93.0016666666667[/C][/ROW]
[ROW][C]38[/C][C]891.9[/C][C]833.758333333333[/C][C]58.1416666666666[/C][/ROW]
[ROW][C]39[/C][C]874[/C][C]908.498333333333[/C][C]-34.4983333333333[/C][/ROW]
[ROW][C]40[/C][C]930.9[/C][C]837.098333333333[/C][C]93.8016666666666[/C][/ROW]
[ROW][C]41[/C][C]944.2[/C][C]904.338333333333[/C][C]39.8616666666667[/C][/ROW]
[ROW][C]42[/C][C]935.9[/C][C]861.538333333333[/C][C]74.3616666666667[/C][/ROW]
[ROW][C]43[/C][C]937.1[/C][C]782.898333333333[/C][C]154.201666666667[/C][/ROW]
[ROW][C]44[/C][C]885.1[/C][C]799.098333333333[/C][C]86.0016666666666[/C][/ROW]
[ROW][C]45[/C][C]892.4[/C][C]815.99[/C][C]76.41[/C][/ROW]
[ROW][C]46[/C][C]987.3[/C][C]913.15[/C][C]74.15[/C][/ROW]
[ROW][C]47[/C][C]946.3[/C][C]921.87[/C][C]24.43[/C][/ROW]
[ROW][C]48[/C][C]799.6[/C][C]803.79[/C][C]-4.18999999999996[/C][/ROW]
[ROW][C]49[/C][C]875.4[/C][C]857.191666666667[/C][C]18.2083333333333[/C][/ROW]
[ROW][C]50[/C][C]846.2[/C][C]881.751666666667[/C][C]-35.5516666666667[/C][/ROW]
[ROW][C]51[/C][C]880.6[/C][C]956.491666666667[/C][C]-75.8916666666666[/C][/ROW]
[ROW][C]52[/C][C]885.7[/C][C]885.091666666667[/C][C]0.608333333333409[/C][/ROW]
[ROW][C]53[/C][C]868.9[/C][C]952.331666666667[/C][C]-83.4316666666668[/C][/ROW]
[ROW][C]54[/C][C]882.5[/C][C]909.531666666667[/C][C]-27.0316666666666[/C][/ROW]
[ROW][C]55[/C][C]789.6[/C][C]830.891666666667[/C][C]-41.2916666666667[/C][/ROW]
[ROW][C]56[/C][C]773.3[/C][C]847.091666666667[/C][C]-73.7916666666667[/C][/ROW]
[ROW][C]57[/C][C]804.3[/C][C]863.983333333333[/C][C]-59.6833333333334[/C][/ROW]
[ROW][C]58[/C][C]817.8[/C][C]961.143333333333[/C][C]-143.343333333333[/C][/ROW]
[ROW][C]59[/C][C]836.7[/C][C]969.863333333333[/C][C]-133.163333333333[/C][/ROW]
[ROW][C]60[/C][C]721.8[/C][C]851.783333333333[/C][C]-129.983333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2763&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2763&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
1733.6826.876666666667-93.2766666666665
2844.9851.436666666667-6.53666666666667
3864.3926.176666666667-61.8766666666668
4833.5854.776666666667-21.2766666666667
5814.9922.016666666667-107.116666666667
6820.4879.216666666667-58.8166666666668
7710.8800.576666666666-89.7766666666665
8773.1816.776666666667-43.6766666666666
9801.2833.668333333333-32.4683333333333
10832.9930.828333333333-97.9283333333333
11808.3939.548333333333-131.248333333333
12817.2821.468333333333-4.26833333333322
13745.5874.87-129.37
14932.6899.4333.1700000000000
151057974.1782.83
16879.9902.77-22.87
171089.5970.01119.49
18903927.21-24.2100000000000
19846.1848.57-2.47000000000004
20959.1864.7794.33
21952881.66166666666770.3383333333334
221092.5978.821666666667113.678333333333
231188.9987.541666666667201.358333333333
24996.7869.461666666667127.238333333333
251034.3922.863333333333111.436666666667
26898.2947.423333333333-49.2233333333333
271111.61022.1633333333389.4366666666666
28900.5950.763333333333-50.2633333333333
291049.21018.0033333333331.1966666666666
301010.9975.20333333333335.6966666666667
31875.9896.563333333333-20.6633333333334
32849.9912.763333333333-62.8633333333334
33713.4767.996666666667-54.5966666666667
34918.6865.15666666666753.4433333333334
35912.5873.87666666666738.6233333333334
36767755.79666666666711.2033333333334
37902.2809.19833333333393.0016666666667
38891.9833.75833333333358.1416666666666
39874908.498333333333-34.4983333333333
40930.9837.09833333333393.8016666666666
41944.2904.33833333333339.8616666666667
42935.9861.53833333333374.3616666666667
43937.1782.898333333333154.201666666667
44885.1799.09833333333386.0016666666666
45892.4815.9976.41
46987.3913.1574.15
47946.3921.8724.43
48799.6803.79-4.18999999999996
49875.4857.19166666666718.2083333333333
50846.2881.751666666667-35.5516666666667
51880.6956.491666666667-75.8916666666666
52885.7885.0916666666670.608333333333409
53868.9952.331666666667-83.4316666666668
54882.5909.531666666667-27.0316666666666
55789.6830.891666666667-41.2916666666667
56773.3847.091666666667-73.7916666666667
57804.3863.983333333333-59.6833333333334
58817.8961.143333333333-143.343333333333
59836.7969.863333333333-133.163333333333
60721.8851.783333333333-129.983333333333



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