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:14:24 -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/t1197025348wpmr57pguufnnpo.htm/, Retrieved Mon, 29 Apr 2024 06:29:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2750, Retrieved Mon, 29 Apr 2024 06:29:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsseatbelt law zonder seasonal dummy
Estimated Impact241
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper olieprijzen] [2007-12-07 11:14:24] [e24e91da8d334fb8882bf413603fde71] [Current]
Feedback Forum

Post a new message
Dataseries X:
87,0	0
96,3	0
107,1	0
115,2	0
106,1	1
89,5	1
91,3	1
97,6	1
100,7	1
104,6	1
94,7	1
101,8	1
102,5	1
105,3	1
110,3	1
109,8	1
117,3	1
118,8	1
131,3	1
125,9	1
133,1	1
147,0	1
145,8	1
164,4	1
149,8	1
137,7	1
151,7	1
156,8	1
180,0	1
180,4	1
170,4	1
191,6	1
199,5	1
218,2	1
217,5	1
205,0	1
194,0	1
199,3	1
219,3	1
211,1	1
215,2	1
240,2	1
242,2	1
240,7	1
255,4	1
253,0	1
218,2	1
203,7	1
205,6	1
215,6	1
188,5	1
202,9	1
214,0	1
230,3	1
230,0	1
241,0	1
259,6	1
247,8	1
270,3	1
289,7	1




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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2750&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
prijs/olie[t] = + 101.4 + 76.1714285714286`war? `[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
prijs/olie[t] =  +  101.4 +  76.1714285714286`war?
`[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2750&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]prijs/olie[t] =  +  101.4 +  76.1714285714286`war?
`[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2750&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2750&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
prijs/olie[t] = + 101.4 + 76.1714285714286`war? `[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)101.427.3125773.71260.0004620.000231
`war? `76.171428571428628.2712032.69430.009210.004605

\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) & 101.4 & 27.312577 & 3.7126 & 0.000462 & 0.000231 \tabularnewline
`war?
` & 76.1714285714286 & 28.271203 & 2.6943 & 0.00921 & 0.004605 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2750&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]101.4[/C][C]27.312577[/C][C]3.7126[/C][C]0.000462[/C][C]0.000231[/C][/ROW]
[ROW][C]`war?
`[/C][C]76.1714285714286[/C][C]28.271203[/C][C]2.6943[/C][C]0.00921[/C][C]0.004605[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2750&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2750&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)101.427.3125773.71260.0004620.000231
`war? `76.171428571428628.2712032.69430.009210.004605







Multiple Linear Regression - Regression Statistics
Multiple R0.333523587547577
R-squared0.111237983450606
Adjusted R-squared0.0959145004066514
F-TEST (value)7.25931455214998
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.00921039593892092
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation54.6251543492989
Sum Squared Residuals173066.634285714

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.333523587547577 \tabularnewline
R-squared & 0.111237983450606 \tabularnewline
Adjusted R-squared & 0.0959145004066514 \tabularnewline
F-TEST (value) & 7.25931455214998 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.00921039593892092 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 54.6251543492989 \tabularnewline
Sum Squared Residuals & 173066.634285714 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2750&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.333523587547577[/C][/ROW]
[ROW][C]R-squared[/C][C]0.111237983450606[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0959145004066514[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.25931455214998[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.00921039593892092[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]54.6251543492989[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]173066.634285714[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2750&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2750&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.333523587547577
R-squared0.111237983450606
Adjusted R-squared0.0959145004066514
F-TEST (value)7.25931455214998
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.00921039593892092
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation54.6251543492989
Sum Squared Residuals173066.634285714







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
187101.400000000000-14.4000000000003
296.3101.400000000000-5.09999999999988
3107.1101.45.70000000000007
4115.2101.413.8000000000001
5106.1177.571428571429-71.4714285714286
689.5177.571428571429-88.0714285714286
791.3177.571428571429-86.2714285714286
897.6177.571428571429-79.9714285714286
9100.7177.571428571429-76.8714285714286
10104.6177.571428571429-72.9714285714286
1194.7177.571428571429-82.8714285714286
12101.8177.571428571429-75.7714285714286
13102.5177.571428571429-75.0714285714286
14105.3177.571428571429-72.2714285714286
15110.3177.571428571429-67.2714285714286
16109.8177.571428571429-67.7714285714286
17117.3177.571428571429-60.2714285714286
18118.8177.571428571429-58.7714285714286
19131.3177.571428571429-46.2714285714286
20125.9177.571428571429-51.6714285714286
21133.1177.571428571429-44.4714285714286
22147177.571428571429-30.5714285714286
23145.8177.571428571429-31.7714285714286
24164.4177.571428571429-13.1714285714286
25149.8177.571428571429-27.7714285714286
26137.7177.571428571429-39.8714285714286
27151.7177.571428571429-25.8714285714286
28156.8177.571428571429-20.7714285714286
29180177.5714285714292.42857142857143
30180.4177.5714285714292.82857142857144
31170.4177.571428571429-7.17142857142856
32191.6177.57142857142914.0285714285714
33199.5177.57142857142921.9285714285714
34218.2177.57142857142940.6285714285714
35217.5177.57142857142939.9285714285714
36205177.57142857142927.4285714285714
37194177.57142857142916.4285714285714
38199.3177.57142857142921.7285714285714
39219.3177.57142857142941.7285714285714
40211.1177.57142857142933.5285714285714
41215.2177.57142857142937.6285714285714
42240.2177.57142857142962.6285714285714
43242.2177.57142857142964.6285714285714
44240.7177.57142857142963.1285714285714
45255.4177.57142857142977.8285714285714
46253177.57142857142975.4285714285714
47218.2177.57142857142940.6285714285714
48203.7177.57142857142926.1285714285714
49205.6177.57142857142928.0285714285714
50215.6177.57142857142938.0285714285714
51188.5177.57142857142910.9285714285714
52202.9177.57142857142925.3285714285714
53214177.57142857142936.4285714285714
54230.3177.57142857142952.7285714285714
55230177.57142857142952.4285714285714
56241177.57142857142963.4285714285714
57259.6177.57142857142982.0285714285715
58247.8177.57142857142970.2285714285714
59270.3177.57142857142992.7285714285714
60289.7177.571428571429112.128571428571

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 87 & 101.400000000000 & -14.4000000000003 \tabularnewline
2 & 96.3 & 101.400000000000 & -5.09999999999988 \tabularnewline
3 & 107.1 & 101.4 & 5.70000000000007 \tabularnewline
4 & 115.2 & 101.4 & 13.8000000000001 \tabularnewline
5 & 106.1 & 177.571428571429 & -71.4714285714286 \tabularnewline
6 & 89.5 & 177.571428571429 & -88.0714285714286 \tabularnewline
7 & 91.3 & 177.571428571429 & -86.2714285714286 \tabularnewline
8 & 97.6 & 177.571428571429 & -79.9714285714286 \tabularnewline
9 & 100.7 & 177.571428571429 & -76.8714285714286 \tabularnewline
10 & 104.6 & 177.571428571429 & -72.9714285714286 \tabularnewline
11 & 94.7 & 177.571428571429 & -82.8714285714286 \tabularnewline
12 & 101.8 & 177.571428571429 & -75.7714285714286 \tabularnewline
13 & 102.5 & 177.571428571429 & -75.0714285714286 \tabularnewline
14 & 105.3 & 177.571428571429 & -72.2714285714286 \tabularnewline
15 & 110.3 & 177.571428571429 & -67.2714285714286 \tabularnewline
16 & 109.8 & 177.571428571429 & -67.7714285714286 \tabularnewline
17 & 117.3 & 177.571428571429 & -60.2714285714286 \tabularnewline
18 & 118.8 & 177.571428571429 & -58.7714285714286 \tabularnewline
19 & 131.3 & 177.571428571429 & -46.2714285714286 \tabularnewline
20 & 125.9 & 177.571428571429 & -51.6714285714286 \tabularnewline
21 & 133.1 & 177.571428571429 & -44.4714285714286 \tabularnewline
22 & 147 & 177.571428571429 & -30.5714285714286 \tabularnewline
23 & 145.8 & 177.571428571429 & -31.7714285714286 \tabularnewline
24 & 164.4 & 177.571428571429 & -13.1714285714286 \tabularnewline
25 & 149.8 & 177.571428571429 & -27.7714285714286 \tabularnewline
26 & 137.7 & 177.571428571429 & -39.8714285714286 \tabularnewline
27 & 151.7 & 177.571428571429 & -25.8714285714286 \tabularnewline
28 & 156.8 & 177.571428571429 & -20.7714285714286 \tabularnewline
29 & 180 & 177.571428571429 & 2.42857142857143 \tabularnewline
30 & 180.4 & 177.571428571429 & 2.82857142857144 \tabularnewline
31 & 170.4 & 177.571428571429 & -7.17142857142856 \tabularnewline
32 & 191.6 & 177.571428571429 & 14.0285714285714 \tabularnewline
33 & 199.5 & 177.571428571429 & 21.9285714285714 \tabularnewline
34 & 218.2 & 177.571428571429 & 40.6285714285714 \tabularnewline
35 & 217.5 & 177.571428571429 & 39.9285714285714 \tabularnewline
36 & 205 & 177.571428571429 & 27.4285714285714 \tabularnewline
37 & 194 & 177.571428571429 & 16.4285714285714 \tabularnewline
38 & 199.3 & 177.571428571429 & 21.7285714285714 \tabularnewline
39 & 219.3 & 177.571428571429 & 41.7285714285714 \tabularnewline
40 & 211.1 & 177.571428571429 & 33.5285714285714 \tabularnewline
41 & 215.2 & 177.571428571429 & 37.6285714285714 \tabularnewline
42 & 240.2 & 177.571428571429 & 62.6285714285714 \tabularnewline
43 & 242.2 & 177.571428571429 & 64.6285714285714 \tabularnewline
44 & 240.7 & 177.571428571429 & 63.1285714285714 \tabularnewline
45 & 255.4 & 177.571428571429 & 77.8285714285714 \tabularnewline
46 & 253 & 177.571428571429 & 75.4285714285714 \tabularnewline
47 & 218.2 & 177.571428571429 & 40.6285714285714 \tabularnewline
48 & 203.7 & 177.571428571429 & 26.1285714285714 \tabularnewline
49 & 205.6 & 177.571428571429 & 28.0285714285714 \tabularnewline
50 & 215.6 & 177.571428571429 & 38.0285714285714 \tabularnewline
51 & 188.5 & 177.571428571429 & 10.9285714285714 \tabularnewline
52 & 202.9 & 177.571428571429 & 25.3285714285714 \tabularnewline
53 & 214 & 177.571428571429 & 36.4285714285714 \tabularnewline
54 & 230.3 & 177.571428571429 & 52.7285714285714 \tabularnewline
55 & 230 & 177.571428571429 & 52.4285714285714 \tabularnewline
56 & 241 & 177.571428571429 & 63.4285714285714 \tabularnewline
57 & 259.6 & 177.571428571429 & 82.0285714285715 \tabularnewline
58 & 247.8 & 177.571428571429 & 70.2285714285714 \tabularnewline
59 & 270.3 & 177.571428571429 & 92.7285714285714 \tabularnewline
60 & 289.7 & 177.571428571429 & 112.128571428571 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2750&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]87[/C][C]101.400000000000[/C][C]-14.4000000000003[/C][/ROW]
[ROW][C]2[/C][C]96.3[/C][C]101.400000000000[/C][C]-5.09999999999988[/C][/ROW]
[ROW][C]3[/C][C]107.1[/C][C]101.4[/C][C]5.70000000000007[/C][/ROW]
[ROW][C]4[/C][C]115.2[/C][C]101.4[/C][C]13.8000000000001[/C][/ROW]
[ROW][C]5[/C][C]106.1[/C][C]177.571428571429[/C][C]-71.4714285714286[/C][/ROW]
[ROW][C]6[/C][C]89.5[/C][C]177.571428571429[/C][C]-88.0714285714286[/C][/ROW]
[ROW][C]7[/C][C]91.3[/C][C]177.571428571429[/C][C]-86.2714285714286[/C][/ROW]
[ROW][C]8[/C][C]97.6[/C][C]177.571428571429[/C][C]-79.9714285714286[/C][/ROW]
[ROW][C]9[/C][C]100.7[/C][C]177.571428571429[/C][C]-76.8714285714286[/C][/ROW]
[ROW][C]10[/C][C]104.6[/C][C]177.571428571429[/C][C]-72.9714285714286[/C][/ROW]
[ROW][C]11[/C][C]94.7[/C][C]177.571428571429[/C][C]-82.8714285714286[/C][/ROW]
[ROW][C]12[/C][C]101.8[/C][C]177.571428571429[/C][C]-75.7714285714286[/C][/ROW]
[ROW][C]13[/C][C]102.5[/C][C]177.571428571429[/C][C]-75.0714285714286[/C][/ROW]
[ROW][C]14[/C][C]105.3[/C][C]177.571428571429[/C][C]-72.2714285714286[/C][/ROW]
[ROW][C]15[/C][C]110.3[/C][C]177.571428571429[/C][C]-67.2714285714286[/C][/ROW]
[ROW][C]16[/C][C]109.8[/C][C]177.571428571429[/C][C]-67.7714285714286[/C][/ROW]
[ROW][C]17[/C][C]117.3[/C][C]177.571428571429[/C][C]-60.2714285714286[/C][/ROW]
[ROW][C]18[/C][C]118.8[/C][C]177.571428571429[/C][C]-58.7714285714286[/C][/ROW]
[ROW][C]19[/C][C]131.3[/C][C]177.571428571429[/C][C]-46.2714285714286[/C][/ROW]
[ROW][C]20[/C][C]125.9[/C][C]177.571428571429[/C][C]-51.6714285714286[/C][/ROW]
[ROW][C]21[/C][C]133.1[/C][C]177.571428571429[/C][C]-44.4714285714286[/C][/ROW]
[ROW][C]22[/C][C]147[/C][C]177.571428571429[/C][C]-30.5714285714286[/C][/ROW]
[ROW][C]23[/C][C]145.8[/C][C]177.571428571429[/C][C]-31.7714285714286[/C][/ROW]
[ROW][C]24[/C][C]164.4[/C][C]177.571428571429[/C][C]-13.1714285714286[/C][/ROW]
[ROW][C]25[/C][C]149.8[/C][C]177.571428571429[/C][C]-27.7714285714286[/C][/ROW]
[ROW][C]26[/C][C]137.7[/C][C]177.571428571429[/C][C]-39.8714285714286[/C][/ROW]
[ROW][C]27[/C][C]151.7[/C][C]177.571428571429[/C][C]-25.8714285714286[/C][/ROW]
[ROW][C]28[/C][C]156.8[/C][C]177.571428571429[/C][C]-20.7714285714286[/C][/ROW]
[ROW][C]29[/C][C]180[/C][C]177.571428571429[/C][C]2.42857142857143[/C][/ROW]
[ROW][C]30[/C][C]180.4[/C][C]177.571428571429[/C][C]2.82857142857144[/C][/ROW]
[ROW][C]31[/C][C]170.4[/C][C]177.571428571429[/C][C]-7.17142857142856[/C][/ROW]
[ROW][C]32[/C][C]191.6[/C][C]177.571428571429[/C][C]14.0285714285714[/C][/ROW]
[ROW][C]33[/C][C]199.5[/C][C]177.571428571429[/C][C]21.9285714285714[/C][/ROW]
[ROW][C]34[/C][C]218.2[/C][C]177.571428571429[/C][C]40.6285714285714[/C][/ROW]
[ROW][C]35[/C][C]217.5[/C][C]177.571428571429[/C][C]39.9285714285714[/C][/ROW]
[ROW][C]36[/C][C]205[/C][C]177.571428571429[/C][C]27.4285714285714[/C][/ROW]
[ROW][C]37[/C][C]194[/C][C]177.571428571429[/C][C]16.4285714285714[/C][/ROW]
[ROW][C]38[/C][C]199.3[/C][C]177.571428571429[/C][C]21.7285714285714[/C][/ROW]
[ROW][C]39[/C][C]219.3[/C][C]177.571428571429[/C][C]41.7285714285714[/C][/ROW]
[ROW][C]40[/C][C]211.1[/C][C]177.571428571429[/C][C]33.5285714285714[/C][/ROW]
[ROW][C]41[/C][C]215.2[/C][C]177.571428571429[/C][C]37.6285714285714[/C][/ROW]
[ROW][C]42[/C][C]240.2[/C][C]177.571428571429[/C][C]62.6285714285714[/C][/ROW]
[ROW][C]43[/C][C]242.2[/C][C]177.571428571429[/C][C]64.6285714285714[/C][/ROW]
[ROW][C]44[/C][C]240.7[/C][C]177.571428571429[/C][C]63.1285714285714[/C][/ROW]
[ROW][C]45[/C][C]255.4[/C][C]177.571428571429[/C][C]77.8285714285714[/C][/ROW]
[ROW][C]46[/C][C]253[/C][C]177.571428571429[/C][C]75.4285714285714[/C][/ROW]
[ROW][C]47[/C][C]218.2[/C][C]177.571428571429[/C][C]40.6285714285714[/C][/ROW]
[ROW][C]48[/C][C]203.7[/C][C]177.571428571429[/C][C]26.1285714285714[/C][/ROW]
[ROW][C]49[/C][C]205.6[/C][C]177.571428571429[/C][C]28.0285714285714[/C][/ROW]
[ROW][C]50[/C][C]215.6[/C][C]177.571428571429[/C][C]38.0285714285714[/C][/ROW]
[ROW][C]51[/C][C]188.5[/C][C]177.571428571429[/C][C]10.9285714285714[/C][/ROW]
[ROW][C]52[/C][C]202.9[/C][C]177.571428571429[/C][C]25.3285714285714[/C][/ROW]
[ROW][C]53[/C][C]214[/C][C]177.571428571429[/C][C]36.4285714285714[/C][/ROW]
[ROW][C]54[/C][C]230.3[/C][C]177.571428571429[/C][C]52.7285714285714[/C][/ROW]
[ROW][C]55[/C][C]230[/C][C]177.571428571429[/C][C]52.4285714285714[/C][/ROW]
[ROW][C]56[/C][C]241[/C][C]177.571428571429[/C][C]63.4285714285714[/C][/ROW]
[ROW][C]57[/C][C]259.6[/C][C]177.571428571429[/C][C]82.0285714285715[/C][/ROW]
[ROW][C]58[/C][C]247.8[/C][C]177.571428571429[/C][C]70.2285714285714[/C][/ROW]
[ROW][C]59[/C][C]270.3[/C][C]177.571428571429[/C][C]92.7285714285714[/C][/ROW]
[ROW][C]60[/C][C]289.7[/C][C]177.571428571429[/C][C]112.128571428571[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2750&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2750&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
187101.400000000000-14.4000000000003
296.3101.400000000000-5.09999999999988
3107.1101.45.70000000000007
4115.2101.413.8000000000001
5106.1177.571428571429-71.4714285714286
689.5177.571428571429-88.0714285714286
791.3177.571428571429-86.2714285714286
897.6177.571428571429-79.9714285714286
9100.7177.571428571429-76.8714285714286
10104.6177.571428571429-72.9714285714286
1194.7177.571428571429-82.8714285714286
12101.8177.571428571429-75.7714285714286
13102.5177.571428571429-75.0714285714286
14105.3177.571428571429-72.2714285714286
15110.3177.571428571429-67.2714285714286
16109.8177.571428571429-67.7714285714286
17117.3177.571428571429-60.2714285714286
18118.8177.571428571429-58.7714285714286
19131.3177.571428571429-46.2714285714286
20125.9177.571428571429-51.6714285714286
21133.1177.571428571429-44.4714285714286
22147177.571428571429-30.5714285714286
23145.8177.571428571429-31.7714285714286
24164.4177.571428571429-13.1714285714286
25149.8177.571428571429-27.7714285714286
26137.7177.571428571429-39.8714285714286
27151.7177.571428571429-25.8714285714286
28156.8177.571428571429-20.7714285714286
29180177.5714285714292.42857142857143
30180.4177.5714285714292.82857142857144
31170.4177.571428571429-7.17142857142856
32191.6177.57142857142914.0285714285714
33199.5177.57142857142921.9285714285714
34218.2177.57142857142940.6285714285714
35217.5177.57142857142939.9285714285714
36205177.57142857142927.4285714285714
37194177.57142857142916.4285714285714
38199.3177.57142857142921.7285714285714
39219.3177.57142857142941.7285714285714
40211.1177.57142857142933.5285714285714
41215.2177.57142857142937.6285714285714
42240.2177.57142857142962.6285714285714
43242.2177.57142857142964.6285714285714
44240.7177.57142857142963.1285714285714
45255.4177.57142857142977.8285714285714
46253177.57142857142975.4285714285714
47218.2177.57142857142940.6285714285714
48203.7177.57142857142926.1285714285714
49205.6177.57142857142928.0285714285714
50215.6177.57142857142938.0285714285714
51188.5177.57142857142910.9285714285714
52202.9177.57142857142925.3285714285714
53214177.57142857142936.4285714285714
54230.3177.57142857142952.7285714285714
55230177.57142857142952.4285714285714
56241177.57142857142963.4285714285714
57259.6177.57142857142982.0285714285715
58247.8177.57142857142970.2285714285714
59270.3177.57142857142992.7285714285714
60289.7177.571428571429112.128571428571



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