Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 16 Dec 2008 12:24:42 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/16/t1229455729funcko41ygtlh5f.htm/, Retrieved Wed, 15 May 2024 14:45:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34142, Retrieved Wed, 15 May 2024 14:45:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact258
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
-   PD    [Multiple Regression] [Paper] [2008-12-16 19:24:42] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
87.0	0
96.3	0
107.1	0
115.2	0
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	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 computational 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 computational 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=34142&T=0

[TABLE]
[ROW][C]Summary of computational 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=34142&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34142&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 computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 99.9785714285712 + 94.5844720496897X[t] + e[t]

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34142&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] = + 99.9785714285712 + 94.5844720496897X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)99.978571428571211.0253279.068100
X94.584472049689712.5918117.511600

\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) & 99.9785714285712 & 11.025327 & 9.0681 & 0 & 0 \tabularnewline
X & 94.5844720496897 & 12.591811 & 7.5116 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34142&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]99.9785714285712[/C][C]11.025327[/C][C]9.0681[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]94.5844720496897[/C][C]12.591811[/C][C]7.5116[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34142&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34142&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)99.978571428571211.0253279.068100
X94.584472049689712.5918117.511600







Multiple Linear Regression - Regression Statistics
Multiple R0.702220043617216
R-squared0.493112989657765
Adjusted R-squared0.484373558444968
F-TEST (value)56.4239225243513
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value4.04714484147917e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation41.2529979569597
Sum Squared Residuals98704.9707453416

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.702220043617216 \tabularnewline
R-squared & 0.493112989657765 \tabularnewline
Adjusted R-squared & 0.484373558444968 \tabularnewline
F-TEST (value) & 56.4239225243513 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 4.04714484147917e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 41.2529979569597 \tabularnewline
Sum Squared Residuals & 98704.9707453416 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34142&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.702220043617216[/C][/ROW]
[ROW][C]R-squared[/C][C]0.493112989657765[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.484373558444968[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]56.4239225243513[/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]4.04714484147917e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]41.2529979569597[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]98704.9707453416[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34142&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34142&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.702220043617216
R-squared0.493112989657765
Adjusted R-squared0.484373558444968
F-TEST (value)56.4239225243513
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value4.04714484147917e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation41.2529979569597
Sum Squared Residuals98704.9707453416







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18799.9785714285716-12.9785714285716
296.399.978571428572-3.67857142857201
3107.199.97857142857147.12142857142861
4115.299.978571428571415.2214285714286
5106.199.97857142857146.12142857142861
689.599.9785714285714-10.4785714285714
791.399.9785714285714-8.67857142857139
897.699.9785714285714-2.37857142857139
9100.799.97857142857140.721428571428619
10104.699.97857142857144.62142857142861
1194.799.9785714285714-5.27857142857138
12101.899.97857142857141.82142857142861
13102.599.97857142857142.52142857142862
14105.399.97857142857145.32142857142861
15110.3194.563043478261-84.2630434782609
16109.8194.563043478261-84.7630434782609
17117.3194.563043478261-77.2630434782609
18118.8194.563043478261-75.7630434782609
19131.3194.563043478261-63.2630434782609
20125.9194.563043478261-68.6630434782609
21133.1194.563043478261-61.4630434782609
22147194.563043478261-47.5630434782609
23145.8194.563043478261-48.7630434782609
24164.4194.563043478261-30.1630434782609
25149.8194.563043478261-44.7630434782609
26137.7194.563043478261-56.8630434782609
27151.7194.563043478261-42.8630434782609
28156.8194.563043478261-37.7630434782609
29180194.563043478261-14.5630434782609
30180.4194.563043478261-14.1630434782609
31170.4194.563043478261-24.1630434782609
32191.6194.563043478261-2.96304347826088
33199.5194.5630434782614.93695652173913
34218.2194.56304347826123.6369565217391
35217.5194.56304347826122.9369565217391
36205194.56304347826110.4369565217391
37194194.563043478261-0.563043478260869
38199.3194.5630434782614.73695652173914
39219.3194.56304347826124.7369565217391
40211.1194.56304347826116.5369565217391
41215.2194.56304347826120.6369565217391
42240.2194.56304347826145.6369565217391
43242.2194.56304347826147.6369565217391
44240.7194.56304347826146.1369565217391
45255.4194.56304347826160.8369565217391
46253194.56304347826158.4369565217391
47218.2194.56304347826123.6369565217391
48203.7194.5630434782619.13695652173912
49205.6194.56304347826111.0369565217391
50215.6194.56304347826121.0369565217391
51188.5194.563043478261-6.06304347826087
52202.9194.5630434782618.33695652173914
53214194.56304347826119.4369565217391
54230.3194.56304347826135.7369565217391
55230194.56304347826135.4369565217391
56241194.56304347826146.4369565217391
57259.6194.56304347826165.0369565217392
58247.8194.56304347826153.2369565217391
59270.3194.56304347826175.7369565217391
60289.7194.56304347826195.136956521739

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 87 & 99.9785714285716 & -12.9785714285716 \tabularnewline
2 & 96.3 & 99.978571428572 & -3.67857142857201 \tabularnewline
3 & 107.1 & 99.9785714285714 & 7.12142857142861 \tabularnewline
4 & 115.2 & 99.9785714285714 & 15.2214285714286 \tabularnewline
5 & 106.1 & 99.9785714285714 & 6.12142857142861 \tabularnewline
6 & 89.5 & 99.9785714285714 & -10.4785714285714 \tabularnewline
7 & 91.3 & 99.9785714285714 & -8.67857142857139 \tabularnewline
8 & 97.6 & 99.9785714285714 & -2.37857142857139 \tabularnewline
9 & 100.7 & 99.9785714285714 & 0.721428571428619 \tabularnewline
10 & 104.6 & 99.9785714285714 & 4.62142857142861 \tabularnewline
11 & 94.7 & 99.9785714285714 & -5.27857142857138 \tabularnewline
12 & 101.8 & 99.9785714285714 & 1.82142857142861 \tabularnewline
13 & 102.5 & 99.9785714285714 & 2.52142857142862 \tabularnewline
14 & 105.3 & 99.9785714285714 & 5.32142857142861 \tabularnewline
15 & 110.3 & 194.563043478261 & -84.2630434782609 \tabularnewline
16 & 109.8 & 194.563043478261 & -84.7630434782609 \tabularnewline
17 & 117.3 & 194.563043478261 & -77.2630434782609 \tabularnewline
18 & 118.8 & 194.563043478261 & -75.7630434782609 \tabularnewline
19 & 131.3 & 194.563043478261 & -63.2630434782609 \tabularnewline
20 & 125.9 & 194.563043478261 & -68.6630434782609 \tabularnewline
21 & 133.1 & 194.563043478261 & -61.4630434782609 \tabularnewline
22 & 147 & 194.563043478261 & -47.5630434782609 \tabularnewline
23 & 145.8 & 194.563043478261 & -48.7630434782609 \tabularnewline
24 & 164.4 & 194.563043478261 & -30.1630434782609 \tabularnewline
25 & 149.8 & 194.563043478261 & -44.7630434782609 \tabularnewline
26 & 137.7 & 194.563043478261 & -56.8630434782609 \tabularnewline
27 & 151.7 & 194.563043478261 & -42.8630434782609 \tabularnewline
28 & 156.8 & 194.563043478261 & -37.7630434782609 \tabularnewline
29 & 180 & 194.563043478261 & -14.5630434782609 \tabularnewline
30 & 180.4 & 194.563043478261 & -14.1630434782609 \tabularnewline
31 & 170.4 & 194.563043478261 & -24.1630434782609 \tabularnewline
32 & 191.6 & 194.563043478261 & -2.96304347826088 \tabularnewline
33 & 199.5 & 194.563043478261 & 4.93695652173913 \tabularnewline
34 & 218.2 & 194.563043478261 & 23.6369565217391 \tabularnewline
35 & 217.5 & 194.563043478261 & 22.9369565217391 \tabularnewline
36 & 205 & 194.563043478261 & 10.4369565217391 \tabularnewline
37 & 194 & 194.563043478261 & -0.563043478260869 \tabularnewline
38 & 199.3 & 194.563043478261 & 4.73695652173914 \tabularnewline
39 & 219.3 & 194.563043478261 & 24.7369565217391 \tabularnewline
40 & 211.1 & 194.563043478261 & 16.5369565217391 \tabularnewline
41 & 215.2 & 194.563043478261 & 20.6369565217391 \tabularnewline
42 & 240.2 & 194.563043478261 & 45.6369565217391 \tabularnewline
43 & 242.2 & 194.563043478261 & 47.6369565217391 \tabularnewline
44 & 240.7 & 194.563043478261 & 46.1369565217391 \tabularnewline
45 & 255.4 & 194.563043478261 & 60.8369565217391 \tabularnewline
46 & 253 & 194.563043478261 & 58.4369565217391 \tabularnewline
47 & 218.2 & 194.563043478261 & 23.6369565217391 \tabularnewline
48 & 203.7 & 194.563043478261 & 9.13695652173912 \tabularnewline
49 & 205.6 & 194.563043478261 & 11.0369565217391 \tabularnewline
50 & 215.6 & 194.563043478261 & 21.0369565217391 \tabularnewline
51 & 188.5 & 194.563043478261 & -6.06304347826087 \tabularnewline
52 & 202.9 & 194.563043478261 & 8.33695652173914 \tabularnewline
53 & 214 & 194.563043478261 & 19.4369565217391 \tabularnewline
54 & 230.3 & 194.563043478261 & 35.7369565217391 \tabularnewline
55 & 230 & 194.563043478261 & 35.4369565217391 \tabularnewline
56 & 241 & 194.563043478261 & 46.4369565217391 \tabularnewline
57 & 259.6 & 194.563043478261 & 65.0369565217392 \tabularnewline
58 & 247.8 & 194.563043478261 & 53.2369565217391 \tabularnewline
59 & 270.3 & 194.563043478261 & 75.7369565217391 \tabularnewline
60 & 289.7 & 194.563043478261 & 95.136956521739 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34142&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]99.9785714285716[/C][C]-12.9785714285716[/C][/ROW]
[ROW][C]2[/C][C]96.3[/C][C]99.978571428572[/C][C]-3.67857142857201[/C][/ROW]
[ROW][C]3[/C][C]107.1[/C][C]99.9785714285714[/C][C]7.12142857142861[/C][/ROW]
[ROW][C]4[/C][C]115.2[/C][C]99.9785714285714[/C][C]15.2214285714286[/C][/ROW]
[ROW][C]5[/C][C]106.1[/C][C]99.9785714285714[/C][C]6.12142857142861[/C][/ROW]
[ROW][C]6[/C][C]89.5[/C][C]99.9785714285714[/C][C]-10.4785714285714[/C][/ROW]
[ROW][C]7[/C][C]91.3[/C][C]99.9785714285714[/C][C]-8.67857142857139[/C][/ROW]
[ROW][C]8[/C][C]97.6[/C][C]99.9785714285714[/C][C]-2.37857142857139[/C][/ROW]
[ROW][C]9[/C][C]100.7[/C][C]99.9785714285714[/C][C]0.721428571428619[/C][/ROW]
[ROW][C]10[/C][C]104.6[/C][C]99.9785714285714[/C][C]4.62142857142861[/C][/ROW]
[ROW][C]11[/C][C]94.7[/C][C]99.9785714285714[/C][C]-5.27857142857138[/C][/ROW]
[ROW][C]12[/C][C]101.8[/C][C]99.9785714285714[/C][C]1.82142857142861[/C][/ROW]
[ROW][C]13[/C][C]102.5[/C][C]99.9785714285714[/C][C]2.52142857142862[/C][/ROW]
[ROW][C]14[/C][C]105.3[/C][C]99.9785714285714[/C][C]5.32142857142861[/C][/ROW]
[ROW][C]15[/C][C]110.3[/C][C]194.563043478261[/C][C]-84.2630434782609[/C][/ROW]
[ROW][C]16[/C][C]109.8[/C][C]194.563043478261[/C][C]-84.7630434782609[/C][/ROW]
[ROW][C]17[/C][C]117.3[/C][C]194.563043478261[/C][C]-77.2630434782609[/C][/ROW]
[ROW][C]18[/C][C]118.8[/C][C]194.563043478261[/C][C]-75.7630434782609[/C][/ROW]
[ROW][C]19[/C][C]131.3[/C][C]194.563043478261[/C][C]-63.2630434782609[/C][/ROW]
[ROW][C]20[/C][C]125.9[/C][C]194.563043478261[/C][C]-68.6630434782609[/C][/ROW]
[ROW][C]21[/C][C]133.1[/C][C]194.563043478261[/C][C]-61.4630434782609[/C][/ROW]
[ROW][C]22[/C][C]147[/C][C]194.563043478261[/C][C]-47.5630434782609[/C][/ROW]
[ROW][C]23[/C][C]145.8[/C][C]194.563043478261[/C][C]-48.7630434782609[/C][/ROW]
[ROW][C]24[/C][C]164.4[/C][C]194.563043478261[/C][C]-30.1630434782609[/C][/ROW]
[ROW][C]25[/C][C]149.8[/C][C]194.563043478261[/C][C]-44.7630434782609[/C][/ROW]
[ROW][C]26[/C][C]137.7[/C][C]194.563043478261[/C][C]-56.8630434782609[/C][/ROW]
[ROW][C]27[/C][C]151.7[/C][C]194.563043478261[/C][C]-42.8630434782609[/C][/ROW]
[ROW][C]28[/C][C]156.8[/C][C]194.563043478261[/C][C]-37.7630434782609[/C][/ROW]
[ROW][C]29[/C][C]180[/C][C]194.563043478261[/C][C]-14.5630434782609[/C][/ROW]
[ROW][C]30[/C][C]180.4[/C][C]194.563043478261[/C][C]-14.1630434782609[/C][/ROW]
[ROW][C]31[/C][C]170.4[/C][C]194.563043478261[/C][C]-24.1630434782609[/C][/ROW]
[ROW][C]32[/C][C]191.6[/C][C]194.563043478261[/C][C]-2.96304347826088[/C][/ROW]
[ROW][C]33[/C][C]199.5[/C][C]194.563043478261[/C][C]4.93695652173913[/C][/ROW]
[ROW][C]34[/C][C]218.2[/C][C]194.563043478261[/C][C]23.6369565217391[/C][/ROW]
[ROW][C]35[/C][C]217.5[/C][C]194.563043478261[/C][C]22.9369565217391[/C][/ROW]
[ROW][C]36[/C][C]205[/C][C]194.563043478261[/C][C]10.4369565217391[/C][/ROW]
[ROW][C]37[/C][C]194[/C][C]194.563043478261[/C][C]-0.563043478260869[/C][/ROW]
[ROW][C]38[/C][C]199.3[/C][C]194.563043478261[/C][C]4.73695652173914[/C][/ROW]
[ROW][C]39[/C][C]219.3[/C][C]194.563043478261[/C][C]24.7369565217391[/C][/ROW]
[ROW][C]40[/C][C]211.1[/C][C]194.563043478261[/C][C]16.5369565217391[/C][/ROW]
[ROW][C]41[/C][C]215.2[/C][C]194.563043478261[/C][C]20.6369565217391[/C][/ROW]
[ROW][C]42[/C][C]240.2[/C][C]194.563043478261[/C][C]45.6369565217391[/C][/ROW]
[ROW][C]43[/C][C]242.2[/C][C]194.563043478261[/C][C]47.6369565217391[/C][/ROW]
[ROW][C]44[/C][C]240.7[/C][C]194.563043478261[/C][C]46.1369565217391[/C][/ROW]
[ROW][C]45[/C][C]255.4[/C][C]194.563043478261[/C][C]60.8369565217391[/C][/ROW]
[ROW][C]46[/C][C]253[/C][C]194.563043478261[/C][C]58.4369565217391[/C][/ROW]
[ROW][C]47[/C][C]218.2[/C][C]194.563043478261[/C][C]23.6369565217391[/C][/ROW]
[ROW][C]48[/C][C]203.7[/C][C]194.563043478261[/C][C]9.13695652173912[/C][/ROW]
[ROW][C]49[/C][C]205.6[/C][C]194.563043478261[/C][C]11.0369565217391[/C][/ROW]
[ROW][C]50[/C][C]215.6[/C][C]194.563043478261[/C][C]21.0369565217391[/C][/ROW]
[ROW][C]51[/C][C]188.5[/C][C]194.563043478261[/C][C]-6.06304347826087[/C][/ROW]
[ROW][C]52[/C][C]202.9[/C][C]194.563043478261[/C][C]8.33695652173914[/C][/ROW]
[ROW][C]53[/C][C]214[/C][C]194.563043478261[/C][C]19.4369565217391[/C][/ROW]
[ROW][C]54[/C][C]230.3[/C][C]194.563043478261[/C][C]35.7369565217391[/C][/ROW]
[ROW][C]55[/C][C]230[/C][C]194.563043478261[/C][C]35.4369565217391[/C][/ROW]
[ROW][C]56[/C][C]241[/C][C]194.563043478261[/C][C]46.4369565217391[/C][/ROW]
[ROW][C]57[/C][C]259.6[/C][C]194.563043478261[/C][C]65.0369565217392[/C][/ROW]
[ROW][C]58[/C][C]247.8[/C][C]194.563043478261[/C][C]53.2369565217391[/C][/ROW]
[ROW][C]59[/C][C]270.3[/C][C]194.563043478261[/C][C]75.7369565217391[/C][/ROW]
[ROW][C]60[/C][C]289.7[/C][C]194.563043478261[/C][C]95.136956521739[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34142&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34142&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
18799.9785714285716-12.9785714285716
296.399.978571428572-3.67857142857201
3107.199.97857142857147.12142857142861
4115.299.978571428571415.2214285714286
5106.199.97857142857146.12142857142861
689.599.9785714285714-10.4785714285714
791.399.9785714285714-8.67857142857139
897.699.9785714285714-2.37857142857139
9100.799.97857142857140.721428571428619
10104.699.97857142857144.62142857142861
1194.799.9785714285714-5.27857142857138
12101.899.97857142857141.82142857142861
13102.599.97857142857142.52142857142862
14105.399.97857142857145.32142857142861
15110.3194.563043478261-84.2630434782609
16109.8194.563043478261-84.7630434782609
17117.3194.563043478261-77.2630434782609
18118.8194.563043478261-75.7630434782609
19131.3194.563043478261-63.2630434782609
20125.9194.563043478261-68.6630434782609
21133.1194.563043478261-61.4630434782609
22147194.563043478261-47.5630434782609
23145.8194.563043478261-48.7630434782609
24164.4194.563043478261-30.1630434782609
25149.8194.563043478261-44.7630434782609
26137.7194.563043478261-56.8630434782609
27151.7194.563043478261-42.8630434782609
28156.8194.563043478261-37.7630434782609
29180194.563043478261-14.5630434782609
30180.4194.563043478261-14.1630434782609
31170.4194.563043478261-24.1630434782609
32191.6194.563043478261-2.96304347826088
33199.5194.5630434782614.93695652173913
34218.2194.56304347826123.6369565217391
35217.5194.56304347826122.9369565217391
36205194.56304347826110.4369565217391
37194194.563043478261-0.563043478260869
38199.3194.5630434782614.73695652173914
39219.3194.56304347826124.7369565217391
40211.1194.56304347826116.5369565217391
41215.2194.56304347826120.6369565217391
42240.2194.56304347826145.6369565217391
43242.2194.56304347826147.6369565217391
44240.7194.56304347826146.1369565217391
45255.4194.56304347826160.8369565217391
46253194.56304347826158.4369565217391
47218.2194.56304347826123.6369565217391
48203.7194.5630434782619.13695652173912
49205.6194.56304347826111.0369565217391
50215.6194.56304347826121.0369565217391
51188.5194.563043478261-6.06304347826087
52202.9194.5630434782618.33695652173914
53214194.56304347826119.4369565217391
54230.3194.56304347826135.7369565217391
55230194.56304347826135.4369565217391
56241194.56304347826146.4369565217391
57259.6194.56304347826165.0369565217392
58247.8194.56304347826153.2369565217391
59270.3194.56304347826175.7369565217391
60289.7194.56304347826195.136956521739



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