Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 24 Nov 2008 13:53:46 -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/Nov/24/t1227560133raywgv0ka9yixyr.htm/, Retrieved Tue, 14 May 2024 10:09:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25530, Retrieved Tue, 14 May 2024 10:09:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact181
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [] [2007-11-19 20:22:41] [3a1956effdcb54c39e5044435310d6c8]
-   PD    [Multiple Regression] [Q3 - omzet ind pr...] [2008-11-24 20:53:46] [4b953869c7238aca4b6e0cfb0c5cddd6] [Current]
F   P       [Multiple Regression] [Q3 - omzet ind pr...] [2008-11-24 21:04:57] [b82ef11dce0545f3fd4676ec3ebed828]
Feedback Forum

Post a new message
Dataseries X:
104.2	0
103.2	0
112.7	0
106.4	0
102.6	0
110.6	0
95.2	0
89.0	0
112.5	0
116.8	0
107.2	0
113.6	0
101.8	0
102.6	0
122.7	0
110.3	0
110.5	0
121.6	0
100.3	0
100.7	0
123.4	0
127.1	0
124.1	0
131.2	0
111.6	0
114.2	0
130.1	0
125.9	0
119.0	0
133.8	0
107.5	0
113.5	0
134.4	0
126.8	0
135.6	0
139.9	0
129.8	0
131.0	0
153.1	0
134.1	1
144.1	1
155.9	1
123.3	1
128.1	1
144.3	1
153.0	1
149.9	1
150.9	1
141.0	1
138.9	1
157.4	1
142.9	1
151.7	1
161.0	1
138.5	1
135.9	1
151.5	1
164.0	1
159.1	1
157.0	1
142.1	1
144.8	1
152.1	1
154.6	1
148.7	1
157.7	1
146.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=25530&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=25530&T=0

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

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  116.833333333333 +  30.6380952380952x[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25530&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  116.833333333333 +  30.6380952380952x[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25530&T=1

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)116.8333333333331.97684559.100900
x30.63809523809523.05795410.019100

\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) & 116.833333333333 & 1.976845 & 59.1009 & 0 & 0 \tabularnewline
x & 30.6380952380952 & 3.057954 & 10.0191 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25530&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]116.833333333333[/C][C]1.976845[/C][C]59.1009[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]30.6380952380952[/C][C]3.057954[/C][C]10.0191[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25530&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25530&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)116.8333333333331.97684559.100900
x30.63809523809523.05795410.019100







Multiple Linear Regression - Regression Statistics
Multiple R0.779085188861268
R-squared0.606973731502998
Adjusted R-squared0.600927173526121
F-TEST (value)100.383347654015
F-TEST (DF numerator)1
F-TEST (DF denominator)65
p-value8.21565038222616e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12.3453907995119
Sum Squared Residuals9906.56380952382

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.779085188861268 \tabularnewline
R-squared & 0.606973731502998 \tabularnewline
Adjusted R-squared & 0.600927173526121 \tabularnewline
F-TEST (value) & 100.383347654015 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 65 \tabularnewline
p-value & 8.21565038222616e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 12.3453907995119 \tabularnewline
Sum Squared Residuals & 9906.56380952382 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25530&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.779085188861268[/C][/ROW]
[ROW][C]R-squared[/C][C]0.606973731502998[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.600927173526121[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]100.383347654015[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]65[/C][/ROW]
[ROW][C]p-value[/C][C]8.21565038222616e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]12.3453907995119[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]9906.56380952382[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25530&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25530&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.779085188861268
R-squared0.606973731502998
Adjusted R-squared0.600927173526121
F-TEST (value)100.383347654015
F-TEST (DF numerator)1
F-TEST (DF denominator)65
p-value8.21565038222616e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation12.3453907995119
Sum Squared Residuals9906.56380952382







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1104.2116.833333333334-12.6333333333336
2103.2116.833333333333-13.6333333333333
3112.7116.833333333333-4.13333333333332
4106.4116.833333333333-10.4333333333333
5102.6116.833333333333-14.2333333333333
6110.6116.833333333333-6.23333333333333
795.2116.833333333333-21.6333333333333
889116.833333333333-27.8333333333333
9112.5116.833333333333-4.33333333333333
10116.8116.833333333333-0.0333333333333279
11107.2116.833333333333-9.63333333333332
12113.6116.833333333333-3.23333333333333
13101.8116.833333333333-15.0333333333333
14102.6116.833333333333-14.2333333333333
15122.7116.8333333333335.86666666666668
16110.3116.833333333333-6.53333333333333
17110.5116.833333333333-6.33333333333333
18121.6116.8333333333334.76666666666667
19100.3116.833333333333-16.5333333333333
20100.7116.833333333333-16.1333333333333
21123.4116.8333333333336.56666666666668
22127.1116.83333333333310.2666666666667
23124.1116.8333333333337.26666666666667
24131.2116.83333333333314.3666666666667
25111.6116.833333333333-5.23333333333333
26114.2116.833333333333-2.63333333333332
27130.1116.83333333333313.2666666666667
28125.9116.8333333333339.06666666666668
29119116.8333333333332.16666666666667
30133.8116.83333333333316.9666666666667
31107.5116.833333333333-9.33333333333333
32113.5116.833333333333-3.33333333333333
33134.4116.83333333333317.5666666666667
34126.8116.8333333333339.96666666666667
35135.6116.83333333333318.7666666666667
36139.9116.83333333333323.0666666666667
37129.8116.83333333333312.9666666666667
38131116.83333333333314.1666666666667
39153.1116.83333333333336.2666666666667
40134.1147.471428571429-13.3714285714286
41144.1147.471428571429-3.37142857142858
42155.9147.4714285714298.42857142857143
43123.3147.471428571429-24.1714285714286
44128.1147.471428571429-19.3714285714286
45144.3147.471428571429-3.17142857142856
46153147.4714285714295.52857142857143
47149.9147.4714285714292.42857142857143
48150.9147.4714285714293.42857142857143
49141147.471428571429-6.47142857142857
50138.9147.471428571429-8.57142857142857
51157.4147.4714285714299.92857142857143
52142.9147.471428571429-4.57142857142857
53151.7147.4714285714294.22857142857142
54161147.47142857142913.5285714285714
55138.5147.471428571429-8.97142857142857
56135.9147.471428571429-11.5714285714286
57151.5147.4714285714294.02857142857143
58164147.47142857142916.5285714285714
59159.1147.47142857142911.6285714285714
60157147.4714285714299.52857142857143
61142.1147.471428571429-5.37142857142858
62144.8147.471428571429-2.67142857142856
63152.1147.4714285714294.62857142857142
64154.6147.4714285714297.12857142857142
65148.7147.4714285714291.22857142857142
66157.7147.47142857142910.2285714285714
67146.7147.471428571429-0.771428571428583

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 104.2 & 116.833333333334 & -12.6333333333336 \tabularnewline
2 & 103.2 & 116.833333333333 & -13.6333333333333 \tabularnewline
3 & 112.7 & 116.833333333333 & -4.13333333333332 \tabularnewline
4 & 106.4 & 116.833333333333 & -10.4333333333333 \tabularnewline
5 & 102.6 & 116.833333333333 & -14.2333333333333 \tabularnewline
6 & 110.6 & 116.833333333333 & -6.23333333333333 \tabularnewline
7 & 95.2 & 116.833333333333 & -21.6333333333333 \tabularnewline
8 & 89 & 116.833333333333 & -27.8333333333333 \tabularnewline
9 & 112.5 & 116.833333333333 & -4.33333333333333 \tabularnewline
10 & 116.8 & 116.833333333333 & -0.0333333333333279 \tabularnewline
11 & 107.2 & 116.833333333333 & -9.63333333333332 \tabularnewline
12 & 113.6 & 116.833333333333 & -3.23333333333333 \tabularnewline
13 & 101.8 & 116.833333333333 & -15.0333333333333 \tabularnewline
14 & 102.6 & 116.833333333333 & -14.2333333333333 \tabularnewline
15 & 122.7 & 116.833333333333 & 5.86666666666668 \tabularnewline
16 & 110.3 & 116.833333333333 & -6.53333333333333 \tabularnewline
17 & 110.5 & 116.833333333333 & -6.33333333333333 \tabularnewline
18 & 121.6 & 116.833333333333 & 4.76666666666667 \tabularnewline
19 & 100.3 & 116.833333333333 & -16.5333333333333 \tabularnewline
20 & 100.7 & 116.833333333333 & -16.1333333333333 \tabularnewline
21 & 123.4 & 116.833333333333 & 6.56666666666668 \tabularnewline
22 & 127.1 & 116.833333333333 & 10.2666666666667 \tabularnewline
23 & 124.1 & 116.833333333333 & 7.26666666666667 \tabularnewline
24 & 131.2 & 116.833333333333 & 14.3666666666667 \tabularnewline
25 & 111.6 & 116.833333333333 & -5.23333333333333 \tabularnewline
26 & 114.2 & 116.833333333333 & -2.63333333333332 \tabularnewline
27 & 130.1 & 116.833333333333 & 13.2666666666667 \tabularnewline
28 & 125.9 & 116.833333333333 & 9.06666666666668 \tabularnewline
29 & 119 & 116.833333333333 & 2.16666666666667 \tabularnewline
30 & 133.8 & 116.833333333333 & 16.9666666666667 \tabularnewline
31 & 107.5 & 116.833333333333 & -9.33333333333333 \tabularnewline
32 & 113.5 & 116.833333333333 & -3.33333333333333 \tabularnewline
33 & 134.4 & 116.833333333333 & 17.5666666666667 \tabularnewline
34 & 126.8 & 116.833333333333 & 9.96666666666667 \tabularnewline
35 & 135.6 & 116.833333333333 & 18.7666666666667 \tabularnewline
36 & 139.9 & 116.833333333333 & 23.0666666666667 \tabularnewline
37 & 129.8 & 116.833333333333 & 12.9666666666667 \tabularnewline
38 & 131 & 116.833333333333 & 14.1666666666667 \tabularnewline
39 & 153.1 & 116.833333333333 & 36.2666666666667 \tabularnewline
40 & 134.1 & 147.471428571429 & -13.3714285714286 \tabularnewline
41 & 144.1 & 147.471428571429 & -3.37142857142858 \tabularnewline
42 & 155.9 & 147.471428571429 & 8.42857142857143 \tabularnewline
43 & 123.3 & 147.471428571429 & -24.1714285714286 \tabularnewline
44 & 128.1 & 147.471428571429 & -19.3714285714286 \tabularnewline
45 & 144.3 & 147.471428571429 & -3.17142857142856 \tabularnewline
46 & 153 & 147.471428571429 & 5.52857142857143 \tabularnewline
47 & 149.9 & 147.471428571429 & 2.42857142857143 \tabularnewline
48 & 150.9 & 147.471428571429 & 3.42857142857143 \tabularnewline
49 & 141 & 147.471428571429 & -6.47142857142857 \tabularnewline
50 & 138.9 & 147.471428571429 & -8.57142857142857 \tabularnewline
51 & 157.4 & 147.471428571429 & 9.92857142857143 \tabularnewline
52 & 142.9 & 147.471428571429 & -4.57142857142857 \tabularnewline
53 & 151.7 & 147.471428571429 & 4.22857142857142 \tabularnewline
54 & 161 & 147.471428571429 & 13.5285714285714 \tabularnewline
55 & 138.5 & 147.471428571429 & -8.97142857142857 \tabularnewline
56 & 135.9 & 147.471428571429 & -11.5714285714286 \tabularnewline
57 & 151.5 & 147.471428571429 & 4.02857142857143 \tabularnewline
58 & 164 & 147.471428571429 & 16.5285714285714 \tabularnewline
59 & 159.1 & 147.471428571429 & 11.6285714285714 \tabularnewline
60 & 157 & 147.471428571429 & 9.52857142857143 \tabularnewline
61 & 142.1 & 147.471428571429 & -5.37142857142858 \tabularnewline
62 & 144.8 & 147.471428571429 & -2.67142857142856 \tabularnewline
63 & 152.1 & 147.471428571429 & 4.62857142857142 \tabularnewline
64 & 154.6 & 147.471428571429 & 7.12857142857142 \tabularnewline
65 & 148.7 & 147.471428571429 & 1.22857142857142 \tabularnewline
66 & 157.7 & 147.471428571429 & 10.2285714285714 \tabularnewline
67 & 146.7 & 147.471428571429 & -0.771428571428583 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25530&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]104.2[/C][C]116.833333333334[/C][C]-12.6333333333336[/C][/ROW]
[ROW][C]2[/C][C]103.2[/C][C]116.833333333333[/C][C]-13.6333333333333[/C][/ROW]
[ROW][C]3[/C][C]112.7[/C][C]116.833333333333[/C][C]-4.13333333333332[/C][/ROW]
[ROW][C]4[/C][C]106.4[/C][C]116.833333333333[/C][C]-10.4333333333333[/C][/ROW]
[ROW][C]5[/C][C]102.6[/C][C]116.833333333333[/C][C]-14.2333333333333[/C][/ROW]
[ROW][C]6[/C][C]110.6[/C][C]116.833333333333[/C][C]-6.23333333333333[/C][/ROW]
[ROW][C]7[/C][C]95.2[/C][C]116.833333333333[/C][C]-21.6333333333333[/C][/ROW]
[ROW][C]8[/C][C]89[/C][C]116.833333333333[/C][C]-27.8333333333333[/C][/ROW]
[ROW][C]9[/C][C]112.5[/C][C]116.833333333333[/C][C]-4.33333333333333[/C][/ROW]
[ROW][C]10[/C][C]116.8[/C][C]116.833333333333[/C][C]-0.0333333333333279[/C][/ROW]
[ROW][C]11[/C][C]107.2[/C][C]116.833333333333[/C][C]-9.63333333333332[/C][/ROW]
[ROW][C]12[/C][C]113.6[/C][C]116.833333333333[/C][C]-3.23333333333333[/C][/ROW]
[ROW][C]13[/C][C]101.8[/C][C]116.833333333333[/C][C]-15.0333333333333[/C][/ROW]
[ROW][C]14[/C][C]102.6[/C][C]116.833333333333[/C][C]-14.2333333333333[/C][/ROW]
[ROW][C]15[/C][C]122.7[/C][C]116.833333333333[/C][C]5.86666666666668[/C][/ROW]
[ROW][C]16[/C][C]110.3[/C][C]116.833333333333[/C][C]-6.53333333333333[/C][/ROW]
[ROW][C]17[/C][C]110.5[/C][C]116.833333333333[/C][C]-6.33333333333333[/C][/ROW]
[ROW][C]18[/C][C]121.6[/C][C]116.833333333333[/C][C]4.76666666666667[/C][/ROW]
[ROW][C]19[/C][C]100.3[/C][C]116.833333333333[/C][C]-16.5333333333333[/C][/ROW]
[ROW][C]20[/C][C]100.7[/C][C]116.833333333333[/C][C]-16.1333333333333[/C][/ROW]
[ROW][C]21[/C][C]123.4[/C][C]116.833333333333[/C][C]6.56666666666668[/C][/ROW]
[ROW][C]22[/C][C]127.1[/C][C]116.833333333333[/C][C]10.2666666666667[/C][/ROW]
[ROW][C]23[/C][C]124.1[/C][C]116.833333333333[/C][C]7.26666666666667[/C][/ROW]
[ROW][C]24[/C][C]131.2[/C][C]116.833333333333[/C][C]14.3666666666667[/C][/ROW]
[ROW][C]25[/C][C]111.6[/C][C]116.833333333333[/C][C]-5.23333333333333[/C][/ROW]
[ROW][C]26[/C][C]114.2[/C][C]116.833333333333[/C][C]-2.63333333333332[/C][/ROW]
[ROW][C]27[/C][C]130.1[/C][C]116.833333333333[/C][C]13.2666666666667[/C][/ROW]
[ROW][C]28[/C][C]125.9[/C][C]116.833333333333[/C][C]9.06666666666668[/C][/ROW]
[ROW][C]29[/C][C]119[/C][C]116.833333333333[/C][C]2.16666666666667[/C][/ROW]
[ROW][C]30[/C][C]133.8[/C][C]116.833333333333[/C][C]16.9666666666667[/C][/ROW]
[ROW][C]31[/C][C]107.5[/C][C]116.833333333333[/C][C]-9.33333333333333[/C][/ROW]
[ROW][C]32[/C][C]113.5[/C][C]116.833333333333[/C][C]-3.33333333333333[/C][/ROW]
[ROW][C]33[/C][C]134.4[/C][C]116.833333333333[/C][C]17.5666666666667[/C][/ROW]
[ROW][C]34[/C][C]126.8[/C][C]116.833333333333[/C][C]9.96666666666667[/C][/ROW]
[ROW][C]35[/C][C]135.6[/C][C]116.833333333333[/C][C]18.7666666666667[/C][/ROW]
[ROW][C]36[/C][C]139.9[/C][C]116.833333333333[/C][C]23.0666666666667[/C][/ROW]
[ROW][C]37[/C][C]129.8[/C][C]116.833333333333[/C][C]12.9666666666667[/C][/ROW]
[ROW][C]38[/C][C]131[/C][C]116.833333333333[/C][C]14.1666666666667[/C][/ROW]
[ROW][C]39[/C][C]153.1[/C][C]116.833333333333[/C][C]36.2666666666667[/C][/ROW]
[ROW][C]40[/C][C]134.1[/C][C]147.471428571429[/C][C]-13.3714285714286[/C][/ROW]
[ROW][C]41[/C][C]144.1[/C][C]147.471428571429[/C][C]-3.37142857142858[/C][/ROW]
[ROW][C]42[/C][C]155.9[/C][C]147.471428571429[/C][C]8.42857142857143[/C][/ROW]
[ROW][C]43[/C][C]123.3[/C][C]147.471428571429[/C][C]-24.1714285714286[/C][/ROW]
[ROW][C]44[/C][C]128.1[/C][C]147.471428571429[/C][C]-19.3714285714286[/C][/ROW]
[ROW][C]45[/C][C]144.3[/C][C]147.471428571429[/C][C]-3.17142857142856[/C][/ROW]
[ROW][C]46[/C][C]153[/C][C]147.471428571429[/C][C]5.52857142857143[/C][/ROW]
[ROW][C]47[/C][C]149.9[/C][C]147.471428571429[/C][C]2.42857142857143[/C][/ROW]
[ROW][C]48[/C][C]150.9[/C][C]147.471428571429[/C][C]3.42857142857143[/C][/ROW]
[ROW][C]49[/C][C]141[/C][C]147.471428571429[/C][C]-6.47142857142857[/C][/ROW]
[ROW][C]50[/C][C]138.9[/C][C]147.471428571429[/C][C]-8.57142857142857[/C][/ROW]
[ROW][C]51[/C][C]157.4[/C][C]147.471428571429[/C][C]9.92857142857143[/C][/ROW]
[ROW][C]52[/C][C]142.9[/C][C]147.471428571429[/C][C]-4.57142857142857[/C][/ROW]
[ROW][C]53[/C][C]151.7[/C][C]147.471428571429[/C][C]4.22857142857142[/C][/ROW]
[ROW][C]54[/C][C]161[/C][C]147.471428571429[/C][C]13.5285714285714[/C][/ROW]
[ROW][C]55[/C][C]138.5[/C][C]147.471428571429[/C][C]-8.97142857142857[/C][/ROW]
[ROW][C]56[/C][C]135.9[/C][C]147.471428571429[/C][C]-11.5714285714286[/C][/ROW]
[ROW][C]57[/C][C]151.5[/C][C]147.471428571429[/C][C]4.02857142857143[/C][/ROW]
[ROW][C]58[/C][C]164[/C][C]147.471428571429[/C][C]16.5285714285714[/C][/ROW]
[ROW][C]59[/C][C]159.1[/C][C]147.471428571429[/C][C]11.6285714285714[/C][/ROW]
[ROW][C]60[/C][C]157[/C][C]147.471428571429[/C][C]9.52857142857143[/C][/ROW]
[ROW][C]61[/C][C]142.1[/C][C]147.471428571429[/C][C]-5.37142857142858[/C][/ROW]
[ROW][C]62[/C][C]144.8[/C][C]147.471428571429[/C][C]-2.67142857142856[/C][/ROW]
[ROW][C]63[/C][C]152.1[/C][C]147.471428571429[/C][C]4.62857142857142[/C][/ROW]
[ROW][C]64[/C][C]154.6[/C][C]147.471428571429[/C][C]7.12857142857142[/C][/ROW]
[ROW][C]65[/C][C]148.7[/C][C]147.471428571429[/C][C]1.22857142857142[/C][/ROW]
[ROW][C]66[/C][C]157.7[/C][C]147.471428571429[/C][C]10.2285714285714[/C][/ROW]
[ROW][C]67[/C][C]146.7[/C][C]147.471428571429[/C][C]-0.771428571428583[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25530&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25530&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
1104.2116.833333333334-12.6333333333336
2103.2116.833333333333-13.6333333333333
3112.7116.833333333333-4.13333333333332
4106.4116.833333333333-10.4333333333333
5102.6116.833333333333-14.2333333333333
6110.6116.833333333333-6.23333333333333
795.2116.833333333333-21.6333333333333
889116.833333333333-27.8333333333333
9112.5116.833333333333-4.33333333333333
10116.8116.833333333333-0.0333333333333279
11107.2116.833333333333-9.63333333333332
12113.6116.833333333333-3.23333333333333
13101.8116.833333333333-15.0333333333333
14102.6116.833333333333-14.2333333333333
15122.7116.8333333333335.86666666666668
16110.3116.833333333333-6.53333333333333
17110.5116.833333333333-6.33333333333333
18121.6116.8333333333334.76666666666667
19100.3116.833333333333-16.5333333333333
20100.7116.833333333333-16.1333333333333
21123.4116.8333333333336.56666666666668
22127.1116.83333333333310.2666666666667
23124.1116.8333333333337.26666666666667
24131.2116.83333333333314.3666666666667
25111.6116.833333333333-5.23333333333333
26114.2116.833333333333-2.63333333333332
27130.1116.83333333333313.2666666666667
28125.9116.8333333333339.06666666666668
29119116.8333333333332.16666666666667
30133.8116.83333333333316.9666666666667
31107.5116.833333333333-9.33333333333333
32113.5116.833333333333-3.33333333333333
33134.4116.83333333333317.5666666666667
34126.8116.8333333333339.96666666666667
35135.6116.83333333333318.7666666666667
36139.9116.83333333333323.0666666666667
37129.8116.83333333333312.9666666666667
38131116.83333333333314.1666666666667
39153.1116.83333333333336.2666666666667
40134.1147.471428571429-13.3714285714286
41144.1147.471428571429-3.37142857142858
42155.9147.4714285714298.42857142857143
43123.3147.471428571429-24.1714285714286
44128.1147.471428571429-19.3714285714286
45144.3147.471428571429-3.17142857142856
46153147.4714285714295.52857142857143
47149.9147.4714285714292.42857142857143
48150.9147.4714285714293.42857142857143
49141147.471428571429-6.47142857142857
50138.9147.471428571429-8.57142857142857
51157.4147.4714285714299.92857142857143
52142.9147.471428571429-4.57142857142857
53151.7147.4714285714294.22857142857142
54161147.47142857142913.5285714285714
55138.5147.471428571429-8.97142857142857
56135.9147.471428571429-11.5714285714286
57151.5147.4714285714294.02857142857143
58164147.47142857142916.5285714285714
59159.1147.47142857142911.6285714285714
60157147.4714285714299.52857142857143
61142.1147.471428571429-5.37142857142858
62144.8147.471428571429-2.67142857142856
63152.1147.4714285714294.62857142857142
64154.6147.4714285714297.12857142857142
65148.7147.4714285714291.22857142857142
66157.7147.47142857142910.2285714285714
67146.7147.471428571429-0.771428571428583



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