Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 14 Dec 2007 05:03:05 -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/14/t119763285393v3mppalu6hlto.htm/, Retrieved Thu, 02 May 2024 15:20:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14372, Retrieved Thu, 02 May 2024 15:20:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [olieindex met dum...] [2007-12-14 12:03:05] [0add715e42a808532682a9dfe2a83579] [Current]
Feedback Forum

Post a new message
Dataseries X:
90.8	1
96.4	1
90	1
92.1	1
97.2	1
95.1	1
88.5	1
91	1
90.5	1
75	1
66.3	1
66	1
68.4	1
70.6	1
83.9	1
90.1	1
90.6	1
87.1	1
90.8	1
94.1	1
99.8	1
96.8	1
87	1
96.3	1
107.1	1
115.2	1
106.1	0
89.5	0
91.3	0
97.6	0
100.7	0
104.6	0
94.7	0
101.8	0
102.5	0
105.3	0
110.3	0
109.8	0
117.3	0
118.8	0
131.3	0
125.9	0
133.1	0
147	0
145.8	0
164.4	0
149.8	0
137.7	0
151.7	0
156.8	0
180	0
180.4	0
170.4	0
191.6	0
199.5	0
218.2	0
217.5	0
205	0
194	0
199.3	0




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=14372&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=14372&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14372&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
olieindex[t] = -0.955555555555545 + 36.3138888888889`nietoorlog/oorlog`[t] + 10.2786111111111M1[t] + 11.3966666666667M2[t] + 21.3775000000000M3[t] + 17.1155555555555M4[t] + 16.1136111111111M5[t] + 16.4316666666666M6[t] + 16.5097222222222M7[t] + 21.9877777777778M8[t] + 17.6858333333333M9[t] + 13.6438888888889M10[t] + 1.98194444444447M11[t] + 2.98194444444444t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
olieindex[t] =  -0.955555555555545 +  36.3138888888889`nietoorlog/oorlog`[t] +  10.2786111111111M1[t] +  11.3966666666667M2[t] +  21.3775000000000M3[t] +  17.1155555555555M4[t] +  16.1136111111111M5[t] +  16.4316666666666M6[t] +  16.5097222222222M7[t] +  21.9877777777778M8[t] +  17.6858333333333M9[t] +  13.6438888888889M10[t] +  1.98194444444447M11[t] +  2.98194444444444t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14372&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]olieindex[t] =  -0.955555555555545 +  36.3138888888889`nietoorlog/oorlog`[t] +  10.2786111111111M1[t] +  11.3966666666667M2[t] +  21.3775000000000M3[t] +  17.1155555555555M4[t] +  16.1136111111111M5[t] +  16.4316666666666M6[t] +  16.5097222222222M7[t] +  21.9877777777778M8[t] +  17.6858333333333M9[t] +  13.6438888888889M10[t] +  1.98194444444447M11[t] +  2.98194444444444t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14372&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14372&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
olieindex[t] = -0.955555555555545 + 36.3138888888889`nietoorlog/oorlog`[t] + 10.2786111111111M1[t] + 11.3966666666667M2[t] + 21.3775000000000M3[t] + 17.1155555555555M4[t] + 16.1136111111111M5[t] + 16.4316666666666M6[t] + 16.5097222222222M7[t] + 21.9877777777778M8[t] + 17.6858333333333M9[t] + 13.6438888888889M10[t] + 1.98194444444447M11[t] + 2.98194444444444t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-0.95555555555554516.707092-0.05720.9546380.477319
`nietoorlog/oorlog`36.313888888888910.205483.55830.0008790.00044
M110.278611111111112.3769940.83050.4105680.205284
M211.396666666666712.3453980.92320.3607460.180373
M321.377500000000012.5303191.70610.0947410.04737
M417.115555555555512.4713031.37240.1765960.088298
M516.113611111111112.4189981.29750.200930.100465
M616.431666666666612.3734871.3280.1907390.095369
M716.509722222222212.3348481.33850.1873240.093662
M821.987777777777812.3031431.78720.08050.04025
M917.685833333333312.2784271.44040.1565270.078263
M1013.643888888888912.2607431.11280.2715710.135786
M111.9819444444444712.250120.16180.872180.43609
t2.981944444444440.29460710.121800

\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) & -0.955555555555545 & 16.707092 & -0.0572 & 0.954638 & 0.477319 \tabularnewline
`nietoorlog/oorlog` & 36.3138888888889 & 10.20548 & 3.5583 & 0.000879 & 0.00044 \tabularnewline
M1 & 10.2786111111111 & 12.376994 & 0.8305 & 0.410568 & 0.205284 \tabularnewline
M2 & 11.3966666666667 & 12.345398 & 0.9232 & 0.360746 & 0.180373 \tabularnewline
M3 & 21.3775000000000 & 12.530319 & 1.7061 & 0.094741 & 0.04737 \tabularnewline
M4 & 17.1155555555555 & 12.471303 & 1.3724 & 0.176596 & 0.088298 \tabularnewline
M5 & 16.1136111111111 & 12.418998 & 1.2975 & 0.20093 & 0.100465 \tabularnewline
M6 & 16.4316666666666 & 12.373487 & 1.328 & 0.190739 & 0.095369 \tabularnewline
M7 & 16.5097222222222 & 12.334848 & 1.3385 & 0.187324 & 0.093662 \tabularnewline
M8 & 21.9877777777778 & 12.303143 & 1.7872 & 0.0805 & 0.04025 \tabularnewline
M9 & 17.6858333333333 & 12.278427 & 1.4404 & 0.156527 & 0.078263 \tabularnewline
M10 & 13.6438888888889 & 12.260743 & 1.1128 & 0.271571 & 0.135786 \tabularnewline
M11 & 1.98194444444447 & 12.25012 & 0.1618 & 0.87218 & 0.43609 \tabularnewline
t & 2.98194444444444 & 0.294607 & 10.1218 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14372&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]-0.955555555555545[/C][C]16.707092[/C][C]-0.0572[/C][C]0.954638[/C][C]0.477319[/C][/ROW]
[ROW][C]`nietoorlog/oorlog`[/C][C]36.3138888888889[/C][C]10.20548[/C][C]3.5583[/C][C]0.000879[/C][C]0.00044[/C][/ROW]
[ROW][C]M1[/C][C]10.2786111111111[/C][C]12.376994[/C][C]0.8305[/C][C]0.410568[/C][C]0.205284[/C][/ROW]
[ROW][C]M2[/C][C]11.3966666666667[/C][C]12.345398[/C][C]0.9232[/C][C]0.360746[/C][C]0.180373[/C][/ROW]
[ROW][C]M3[/C][C]21.3775000000000[/C][C]12.530319[/C][C]1.7061[/C][C]0.094741[/C][C]0.04737[/C][/ROW]
[ROW][C]M4[/C][C]17.1155555555555[/C][C]12.471303[/C][C]1.3724[/C][C]0.176596[/C][C]0.088298[/C][/ROW]
[ROW][C]M5[/C][C]16.1136111111111[/C][C]12.418998[/C][C]1.2975[/C][C]0.20093[/C][C]0.100465[/C][/ROW]
[ROW][C]M6[/C][C]16.4316666666666[/C][C]12.373487[/C][C]1.328[/C][C]0.190739[/C][C]0.095369[/C][/ROW]
[ROW][C]M7[/C][C]16.5097222222222[/C][C]12.334848[/C][C]1.3385[/C][C]0.187324[/C][C]0.093662[/C][/ROW]
[ROW][C]M8[/C][C]21.9877777777778[/C][C]12.303143[/C][C]1.7872[/C][C]0.0805[/C][C]0.04025[/C][/ROW]
[ROW][C]M9[/C][C]17.6858333333333[/C][C]12.278427[/C][C]1.4404[/C][C]0.156527[/C][C]0.078263[/C][/ROW]
[ROW][C]M10[/C][C]13.6438888888889[/C][C]12.260743[/C][C]1.1128[/C][C]0.271571[/C][C]0.135786[/C][/ROW]
[ROW][C]M11[/C][C]1.98194444444447[/C][C]12.25012[/C][C]0.1618[/C][C]0.87218[/C][C]0.43609[/C][/ROW]
[ROW][C]t[/C][C]2.98194444444444[/C][C]0.294607[/C][C]10.1218[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14372&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14372&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)-0.95555555555554516.707092-0.05720.9546380.477319
`nietoorlog/oorlog`36.313888888888910.205483.55830.0008790.00044
M110.278611111111112.3769940.83050.4105680.205284
M211.396666666666712.3453980.92320.3607460.180373
M321.377500000000012.5303191.70610.0947410.04737
M417.115555555555512.4713031.37240.1765960.088298
M516.113611111111112.4189981.29750.200930.100465
M616.431666666666612.3734871.3280.1907390.095369
M716.509722222222212.3348481.33850.1873240.093662
M821.987777777777812.3031431.78720.08050.04025
M917.685833333333312.2784271.44040.1565270.078263
M1013.643888888888912.2607431.11280.2715710.135786
M111.9819444444444712.250120.16180.872180.43609
t2.981944444444440.29460710.121800







Multiple Linear Regression - Regression Statistics
Multiple R0.909386818326685
R-squared0.82698438534633
Adjusted R-squared0.778088668161598
F-TEST (value)16.9132274350718
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.42694753183059e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.3635376878152
Sum Squared Residuals17247.5432222222

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.909386818326685 \tabularnewline
R-squared & 0.82698438534633 \tabularnewline
Adjusted R-squared & 0.778088668161598 \tabularnewline
F-TEST (value) & 16.9132274350718 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 2.42694753183059e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19.3635376878152 \tabularnewline
Sum Squared Residuals & 17247.5432222222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14372&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.909386818326685[/C][/ROW]
[ROW][C]R-squared[/C][C]0.82698438534633[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.778088668161598[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]16.9132274350718[/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]2.42694753183059e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19.3635376878152[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]17247.5432222222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14372&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14372&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.909386818326685
R-squared0.82698438534633
Adjusted R-squared0.778088668161598
F-TEST (value)16.9132274350718
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.42694753183059e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.3635376878152
Sum Squared Residuals17247.5432222222







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
190.848.618888888889142.1811111111109
296.452.718888888888743.6811111111113
39065.681666666666724.3183333333333
492.164.401666666666727.6983333333333
597.266.381666666666730.8183333333333
695.169.681666666666625.4183333333333
788.572.741666666666615.7583333333334
89181.20166666666669.79833333333337
990.579.881666666666710.6183333333333
107578.8216666666667-3.82166666666665
1166.370.1416666666667-3.84166666666666
126671.1416666666667-5.14166666666666
1368.484.4022222222222-16.0022222222222
1470.688.5022222222223-17.9022222222223
1583.9101.465-17.565
1690.1100.185-10.085
1790.6102.165-11.565
1887.1105.465-18.365
1990.8108.525-17.725
2094.1116.985-22.885
2199.8115.665-15.865
2296.8114.605-17.805
2387105.925-18.925
2496.3106.925-10.6250000000000
25107.1120.185555555555-13.0855555555555
26115.2124.285555555556-9.08555555555556
27106.1100.9344444444445.16555555555553
2889.599.6544444444445-10.1544444444444
2991.3101.634444444444-10.3344444444445
3097.6104.934444444444-7.33444444444446
31100.7107.994444444444-7.29444444444446
32104.6116.454444444444-11.8544444444445
3394.7115.134444444444-20.4344444444445
34101.8114.074444444444-12.2744444444445
35102.5105.394444444444-2.89444444444446
36105.3106.394444444444-1.09444444444443
37110.3119.655-9.35499999999996
38109.8123.755-13.9550000000000
39117.3136.717777777778-19.4177777777778
40118.8135.437777777778-16.6377777777778
41131.3137.417777777778-6.11777777777777
42125.9140.717777777778-14.8177777777778
43133.1143.777777777778-10.6777777777778
44147152.237777777778-5.23777777777778
45145.8150.917777777778-5.11777777777777
46164.4149.85777777777814.5422222222222
47149.8141.1777777777788.62222222222223
48137.7142.177777777778-4.47777777777777
49151.7155.438333333333-3.73833333333329
50156.8159.538333333333-2.73833333333335
51180172.5011111111117.4988888888889
52180.4171.2211111111119.1788888888889
53170.4173.201111111111-2.80111111111110
54191.6176.50111111111115.0988888888889
55199.5179.56111111111119.9388888888889
56218.2188.02111111111130.1788888888889
57217.5186.70111111111130.7988888888889
58205185.64111111111119.3588888888889
59194176.96111111111117.0388888888889
60199.3177.96111111111121.3388888888889

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 90.8 & 48.6188888888891 & 42.1811111111109 \tabularnewline
2 & 96.4 & 52.7188888888887 & 43.6811111111113 \tabularnewline
3 & 90 & 65.6816666666667 & 24.3183333333333 \tabularnewline
4 & 92.1 & 64.4016666666667 & 27.6983333333333 \tabularnewline
5 & 97.2 & 66.3816666666667 & 30.8183333333333 \tabularnewline
6 & 95.1 & 69.6816666666666 & 25.4183333333333 \tabularnewline
7 & 88.5 & 72.7416666666666 & 15.7583333333334 \tabularnewline
8 & 91 & 81.2016666666666 & 9.79833333333337 \tabularnewline
9 & 90.5 & 79.8816666666667 & 10.6183333333333 \tabularnewline
10 & 75 & 78.8216666666667 & -3.82166666666665 \tabularnewline
11 & 66.3 & 70.1416666666667 & -3.84166666666666 \tabularnewline
12 & 66 & 71.1416666666667 & -5.14166666666666 \tabularnewline
13 & 68.4 & 84.4022222222222 & -16.0022222222222 \tabularnewline
14 & 70.6 & 88.5022222222223 & -17.9022222222223 \tabularnewline
15 & 83.9 & 101.465 & -17.565 \tabularnewline
16 & 90.1 & 100.185 & -10.085 \tabularnewline
17 & 90.6 & 102.165 & -11.565 \tabularnewline
18 & 87.1 & 105.465 & -18.365 \tabularnewline
19 & 90.8 & 108.525 & -17.725 \tabularnewline
20 & 94.1 & 116.985 & -22.885 \tabularnewline
21 & 99.8 & 115.665 & -15.865 \tabularnewline
22 & 96.8 & 114.605 & -17.805 \tabularnewline
23 & 87 & 105.925 & -18.925 \tabularnewline
24 & 96.3 & 106.925 & -10.6250000000000 \tabularnewline
25 & 107.1 & 120.185555555555 & -13.0855555555555 \tabularnewline
26 & 115.2 & 124.285555555556 & -9.08555555555556 \tabularnewline
27 & 106.1 & 100.934444444444 & 5.16555555555553 \tabularnewline
28 & 89.5 & 99.6544444444445 & -10.1544444444444 \tabularnewline
29 & 91.3 & 101.634444444444 & -10.3344444444445 \tabularnewline
30 & 97.6 & 104.934444444444 & -7.33444444444446 \tabularnewline
31 & 100.7 & 107.994444444444 & -7.29444444444446 \tabularnewline
32 & 104.6 & 116.454444444444 & -11.8544444444445 \tabularnewline
33 & 94.7 & 115.134444444444 & -20.4344444444445 \tabularnewline
34 & 101.8 & 114.074444444444 & -12.2744444444445 \tabularnewline
35 & 102.5 & 105.394444444444 & -2.89444444444446 \tabularnewline
36 & 105.3 & 106.394444444444 & -1.09444444444443 \tabularnewline
37 & 110.3 & 119.655 & -9.35499999999996 \tabularnewline
38 & 109.8 & 123.755 & -13.9550000000000 \tabularnewline
39 & 117.3 & 136.717777777778 & -19.4177777777778 \tabularnewline
40 & 118.8 & 135.437777777778 & -16.6377777777778 \tabularnewline
41 & 131.3 & 137.417777777778 & -6.11777777777777 \tabularnewline
42 & 125.9 & 140.717777777778 & -14.8177777777778 \tabularnewline
43 & 133.1 & 143.777777777778 & -10.6777777777778 \tabularnewline
44 & 147 & 152.237777777778 & -5.23777777777778 \tabularnewline
45 & 145.8 & 150.917777777778 & -5.11777777777777 \tabularnewline
46 & 164.4 & 149.857777777778 & 14.5422222222222 \tabularnewline
47 & 149.8 & 141.177777777778 & 8.62222222222223 \tabularnewline
48 & 137.7 & 142.177777777778 & -4.47777777777777 \tabularnewline
49 & 151.7 & 155.438333333333 & -3.73833333333329 \tabularnewline
50 & 156.8 & 159.538333333333 & -2.73833333333335 \tabularnewline
51 & 180 & 172.501111111111 & 7.4988888888889 \tabularnewline
52 & 180.4 & 171.221111111111 & 9.1788888888889 \tabularnewline
53 & 170.4 & 173.201111111111 & -2.80111111111110 \tabularnewline
54 & 191.6 & 176.501111111111 & 15.0988888888889 \tabularnewline
55 & 199.5 & 179.561111111111 & 19.9388888888889 \tabularnewline
56 & 218.2 & 188.021111111111 & 30.1788888888889 \tabularnewline
57 & 217.5 & 186.701111111111 & 30.7988888888889 \tabularnewline
58 & 205 & 185.641111111111 & 19.3588888888889 \tabularnewline
59 & 194 & 176.961111111111 & 17.0388888888889 \tabularnewline
60 & 199.3 & 177.961111111111 & 21.3388888888889 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14372&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]90.8[/C][C]48.6188888888891[/C][C]42.1811111111109[/C][/ROW]
[ROW][C]2[/C][C]96.4[/C][C]52.7188888888887[/C][C]43.6811111111113[/C][/ROW]
[ROW][C]3[/C][C]90[/C][C]65.6816666666667[/C][C]24.3183333333333[/C][/ROW]
[ROW][C]4[/C][C]92.1[/C][C]64.4016666666667[/C][C]27.6983333333333[/C][/ROW]
[ROW][C]5[/C][C]97.2[/C][C]66.3816666666667[/C][C]30.8183333333333[/C][/ROW]
[ROW][C]6[/C][C]95.1[/C][C]69.6816666666666[/C][C]25.4183333333333[/C][/ROW]
[ROW][C]7[/C][C]88.5[/C][C]72.7416666666666[/C][C]15.7583333333334[/C][/ROW]
[ROW][C]8[/C][C]91[/C][C]81.2016666666666[/C][C]9.79833333333337[/C][/ROW]
[ROW][C]9[/C][C]90.5[/C][C]79.8816666666667[/C][C]10.6183333333333[/C][/ROW]
[ROW][C]10[/C][C]75[/C][C]78.8216666666667[/C][C]-3.82166666666665[/C][/ROW]
[ROW][C]11[/C][C]66.3[/C][C]70.1416666666667[/C][C]-3.84166666666666[/C][/ROW]
[ROW][C]12[/C][C]66[/C][C]71.1416666666667[/C][C]-5.14166666666666[/C][/ROW]
[ROW][C]13[/C][C]68.4[/C][C]84.4022222222222[/C][C]-16.0022222222222[/C][/ROW]
[ROW][C]14[/C][C]70.6[/C][C]88.5022222222223[/C][C]-17.9022222222223[/C][/ROW]
[ROW][C]15[/C][C]83.9[/C][C]101.465[/C][C]-17.565[/C][/ROW]
[ROW][C]16[/C][C]90.1[/C][C]100.185[/C][C]-10.085[/C][/ROW]
[ROW][C]17[/C][C]90.6[/C][C]102.165[/C][C]-11.565[/C][/ROW]
[ROW][C]18[/C][C]87.1[/C][C]105.465[/C][C]-18.365[/C][/ROW]
[ROW][C]19[/C][C]90.8[/C][C]108.525[/C][C]-17.725[/C][/ROW]
[ROW][C]20[/C][C]94.1[/C][C]116.985[/C][C]-22.885[/C][/ROW]
[ROW][C]21[/C][C]99.8[/C][C]115.665[/C][C]-15.865[/C][/ROW]
[ROW][C]22[/C][C]96.8[/C][C]114.605[/C][C]-17.805[/C][/ROW]
[ROW][C]23[/C][C]87[/C][C]105.925[/C][C]-18.925[/C][/ROW]
[ROW][C]24[/C][C]96.3[/C][C]106.925[/C][C]-10.6250000000000[/C][/ROW]
[ROW][C]25[/C][C]107.1[/C][C]120.185555555555[/C][C]-13.0855555555555[/C][/ROW]
[ROW][C]26[/C][C]115.2[/C][C]124.285555555556[/C][C]-9.08555555555556[/C][/ROW]
[ROW][C]27[/C][C]106.1[/C][C]100.934444444444[/C][C]5.16555555555553[/C][/ROW]
[ROW][C]28[/C][C]89.5[/C][C]99.6544444444445[/C][C]-10.1544444444444[/C][/ROW]
[ROW][C]29[/C][C]91.3[/C][C]101.634444444444[/C][C]-10.3344444444445[/C][/ROW]
[ROW][C]30[/C][C]97.6[/C][C]104.934444444444[/C][C]-7.33444444444446[/C][/ROW]
[ROW][C]31[/C][C]100.7[/C][C]107.994444444444[/C][C]-7.29444444444446[/C][/ROW]
[ROW][C]32[/C][C]104.6[/C][C]116.454444444444[/C][C]-11.8544444444445[/C][/ROW]
[ROW][C]33[/C][C]94.7[/C][C]115.134444444444[/C][C]-20.4344444444445[/C][/ROW]
[ROW][C]34[/C][C]101.8[/C][C]114.074444444444[/C][C]-12.2744444444445[/C][/ROW]
[ROW][C]35[/C][C]102.5[/C][C]105.394444444444[/C][C]-2.89444444444446[/C][/ROW]
[ROW][C]36[/C][C]105.3[/C][C]106.394444444444[/C][C]-1.09444444444443[/C][/ROW]
[ROW][C]37[/C][C]110.3[/C][C]119.655[/C][C]-9.35499999999996[/C][/ROW]
[ROW][C]38[/C][C]109.8[/C][C]123.755[/C][C]-13.9550000000000[/C][/ROW]
[ROW][C]39[/C][C]117.3[/C][C]136.717777777778[/C][C]-19.4177777777778[/C][/ROW]
[ROW][C]40[/C][C]118.8[/C][C]135.437777777778[/C][C]-16.6377777777778[/C][/ROW]
[ROW][C]41[/C][C]131.3[/C][C]137.417777777778[/C][C]-6.11777777777777[/C][/ROW]
[ROW][C]42[/C][C]125.9[/C][C]140.717777777778[/C][C]-14.8177777777778[/C][/ROW]
[ROW][C]43[/C][C]133.1[/C][C]143.777777777778[/C][C]-10.6777777777778[/C][/ROW]
[ROW][C]44[/C][C]147[/C][C]152.237777777778[/C][C]-5.23777777777778[/C][/ROW]
[ROW][C]45[/C][C]145.8[/C][C]150.917777777778[/C][C]-5.11777777777777[/C][/ROW]
[ROW][C]46[/C][C]164.4[/C][C]149.857777777778[/C][C]14.5422222222222[/C][/ROW]
[ROW][C]47[/C][C]149.8[/C][C]141.177777777778[/C][C]8.62222222222223[/C][/ROW]
[ROW][C]48[/C][C]137.7[/C][C]142.177777777778[/C][C]-4.47777777777777[/C][/ROW]
[ROW][C]49[/C][C]151.7[/C][C]155.438333333333[/C][C]-3.73833333333329[/C][/ROW]
[ROW][C]50[/C][C]156.8[/C][C]159.538333333333[/C][C]-2.73833333333335[/C][/ROW]
[ROW][C]51[/C][C]180[/C][C]172.501111111111[/C][C]7.4988888888889[/C][/ROW]
[ROW][C]52[/C][C]180.4[/C][C]171.221111111111[/C][C]9.1788888888889[/C][/ROW]
[ROW][C]53[/C][C]170.4[/C][C]173.201111111111[/C][C]-2.80111111111110[/C][/ROW]
[ROW][C]54[/C][C]191.6[/C][C]176.501111111111[/C][C]15.0988888888889[/C][/ROW]
[ROW][C]55[/C][C]199.5[/C][C]179.561111111111[/C][C]19.9388888888889[/C][/ROW]
[ROW][C]56[/C][C]218.2[/C][C]188.021111111111[/C][C]30.1788888888889[/C][/ROW]
[ROW][C]57[/C][C]217.5[/C][C]186.701111111111[/C][C]30.7988888888889[/C][/ROW]
[ROW][C]58[/C][C]205[/C][C]185.641111111111[/C][C]19.3588888888889[/C][/ROW]
[ROW][C]59[/C][C]194[/C][C]176.961111111111[/C][C]17.0388888888889[/C][/ROW]
[ROW][C]60[/C][C]199.3[/C][C]177.961111111111[/C][C]21.3388888888889[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14372&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14372&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
190.848.618888888889142.1811111111109
296.452.718888888888743.6811111111113
39065.681666666666724.3183333333333
492.164.401666666666727.6983333333333
597.266.381666666666730.8183333333333
695.169.681666666666625.4183333333333
788.572.741666666666615.7583333333334
89181.20166666666669.79833333333337
990.579.881666666666710.6183333333333
107578.8216666666667-3.82166666666665
1166.370.1416666666667-3.84166666666666
126671.1416666666667-5.14166666666666
1368.484.4022222222222-16.0022222222222
1470.688.5022222222223-17.9022222222223
1583.9101.465-17.565
1690.1100.185-10.085
1790.6102.165-11.565
1887.1105.465-18.365
1990.8108.525-17.725
2094.1116.985-22.885
2199.8115.665-15.865
2296.8114.605-17.805
2387105.925-18.925
2496.3106.925-10.6250000000000
25107.1120.185555555555-13.0855555555555
26115.2124.285555555556-9.08555555555556
27106.1100.9344444444445.16555555555553
2889.599.6544444444445-10.1544444444444
2991.3101.634444444444-10.3344444444445
3097.6104.934444444444-7.33444444444446
31100.7107.994444444444-7.29444444444446
32104.6116.454444444444-11.8544444444445
3394.7115.134444444444-20.4344444444445
34101.8114.074444444444-12.2744444444445
35102.5105.394444444444-2.89444444444446
36105.3106.394444444444-1.09444444444443
37110.3119.655-9.35499999999996
38109.8123.755-13.9550000000000
39117.3136.717777777778-19.4177777777778
40118.8135.437777777778-16.6377777777778
41131.3137.417777777778-6.11777777777777
42125.9140.717777777778-14.8177777777778
43133.1143.777777777778-10.6777777777778
44147152.237777777778-5.23777777777778
45145.8150.917777777778-5.11777777777777
46164.4149.85777777777814.5422222222222
47149.8141.1777777777788.62222222222223
48137.7142.177777777778-4.47777777777777
49151.7155.438333333333-3.73833333333329
50156.8159.538333333333-2.73833333333335
51180172.5011111111117.4988888888889
52180.4171.2211111111119.1788888888889
53170.4173.201111111111-2.80111111111110
54191.6176.50111111111115.0988888888889
55199.5179.56111111111119.9388888888889
56218.2188.02111111111130.1788888888889
57217.5186.70111111111130.7988888888889
58205185.64111111111119.3588888888889
59194176.96111111111117.0388888888889
60199.3177.96111111111121.3388888888889



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