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 computationSun, 23 Nov 2008 06:50:37 -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/23/t1227448262ku64jdn4nd8xylf.htm/, Retrieved Sun, 19 May 2024 12:16:36 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25253, Retrieved Sun, 19 May 2024 12:16:36 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact187
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]
F    D  [Multiple Regression] [q2] [2008-11-23 12:42:19] [988ab43f527fc78aae41c84649095267]
-   PD      [Multiple Regression] [q3a] [2008-11-23 13:50:37] [5d823194959040fa9b19b8c8302177e6] [Current]
Feedback Forum

Post a new message
Dataseries X:
3258.1	0
3140.1	0
3627.4	0
3279.4	0
3204.0	0
3515.6	0
3146.6	0
2271.7	0
3627.9	0
3553.4	0
3018.3	0
3355.4	0
3242.0	0
3311.1	0
4125.2	0
3423.0	0
3120.3	0
3863.0	0
3240.8	0
2837.4	0
3945.0	0
3684.1	0
3659.6	0
3769.6	0
3592.7	0
3754.0	0
4507.8	0
3853.2	0
3817.2	0
3958.4	0
3428.9	1
3125.7	1
3977.0	1
3983.3	1
4299.6	1
4306.9	1
4259.5	1
3986.0	1
4755.6	1
3925.6	1
4206.5	1
4323.4	1
3816.1	1
3410.7	1
4227.4	1
4296.9	1
4351.7	1
3800.0	1
4277.0	1
4100.2	1
4672.5	1
4189.9	1
4231.9	1
4654.9	1
4298.5	1
3635.9	1
4505.1	1
4910.1	1
4908.7	1
4101.4	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25253&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25253&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25253&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'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 3490.07666666667 + 675.486666666667x[t] + e[t]

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3490.0766666666777.70736944.913100
x675.486666666667109.8948156.146700

\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) & 3490.07666666667 & 77.707369 & 44.9131 & 0 & 0 \tabularnewline
x & 675.486666666667 & 109.894815 & 6.1467 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25253&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]3490.07666666667[/C][C]77.707369[/C][C]44.9131[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]675.486666666667[/C][C]109.894815[/C][C]6.1467[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25253&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25253&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)3490.0766666666777.70736944.913100
x675.486666666667109.8948156.146700







Multiple Linear Regression - Regression Statistics
Multiple R0.628056578228752
R-squared0.394455065456408
Adjusted R-squared0.384014635550484
F-TEST (value)37.7814964528032
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value7.80014348666924e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation425.62078927652
Sum Squared Residuals10506877.2633333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.628056578228752 \tabularnewline
R-squared & 0.394455065456408 \tabularnewline
Adjusted R-squared & 0.384014635550484 \tabularnewline
F-TEST (value) & 37.7814964528032 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 7.80014348666924e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 425.62078927652 \tabularnewline
Sum Squared Residuals & 10506877.2633333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25253&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.628056578228752[/C][/ROW]
[ROW][C]R-squared[/C][C]0.394455065456408[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.384014635550484[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]37.7814964528032[/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]7.80014348666924e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]425.62078927652[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]10506877.2633333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25253&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25253&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.628056578228752
R-squared0.394455065456408
Adjusted R-squared0.384014635550484
F-TEST (value)37.7814964528032
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value7.80014348666924e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation425.62078927652
Sum Squared Residuals10506877.2633333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13258.13490.07666666667-231.976666666671
23140.13490.07666666667-349.976666666666
33627.43490.07666666667137.323333333334
43279.43490.07666666667-210.676666666666
532043490.07666666667-286.076666666666
63515.63490.0766666666725.5233333333334
73146.63490.07666666667-343.476666666667
82271.73490.07666666667-1218.37666666667
93627.93490.07666666667137.823333333334
103553.43490.0766666666763.3233333333336
113018.33490.07666666667-471.776666666666
123355.43490.07666666667-134.676666666666
1332423490.07666666667-248.076666666666
143311.13490.07666666667-178.976666666667
154125.23490.07666666667635.123333333333
1634233490.07666666667-67.0766666666665
173120.33490.07666666667-369.776666666666
1838633490.07666666667372.923333333334
193240.83490.07666666667-249.276666666666
202837.43490.07666666667-652.676666666666
2139453490.07666666667454.923333333334
223684.13490.07666666667194.023333333333
233659.63490.07666666667169.523333333333
243769.63490.07666666667279.523333333333
253592.73490.07666666667102.623333333333
2637543490.07666666667263.923333333334
274507.83490.076666666671017.72333333333
283853.23490.07666666667363.123333333333
293817.23490.07666666667327.123333333333
303958.43490.07666666667468.323333333334
313428.94165.56333333333-736.663333333333
323125.74165.56333333333-1039.86333333333
3339774165.56333333333-188.563333333333
343983.34165.56333333333-182.263333333333
354299.64165.56333333333134.036666666667
364306.94165.56333333333141.336666666666
374259.54165.5633333333393.9366666666667
3839864165.56333333333-179.563333333333
394755.64165.56333333333590.036666666667
403925.64165.56333333333-239.963333333333
414206.54165.5633333333340.9366666666667
424323.44165.56333333333157.836666666666
433816.14165.56333333333-349.463333333333
443410.74165.56333333333-754.863333333333
454227.44165.5633333333361.8366666666664
464296.94165.56333333333131.336666666666
474351.74165.56333333333186.136666666667
4838004165.56333333333-365.563333333333
4942774165.56333333333111.436666666667
504100.24165.56333333333-65.3633333333335
514672.54165.56333333333506.936666666667
524189.94165.5633333333324.3366666666664
534231.94165.5633333333366.3366666666664
544654.94165.56333333333489.336666666666
554298.54165.56333333333132.936666666667
563635.94165.56333333333-529.663333333333
574505.14165.56333333333339.536666666667
584910.14165.56333333333744.536666666667
594908.74165.56333333333743.136666666667
604101.44165.56333333333-64.1633333333336

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3258.1 & 3490.07666666667 & -231.976666666671 \tabularnewline
2 & 3140.1 & 3490.07666666667 & -349.976666666666 \tabularnewline
3 & 3627.4 & 3490.07666666667 & 137.323333333334 \tabularnewline
4 & 3279.4 & 3490.07666666667 & -210.676666666666 \tabularnewline
5 & 3204 & 3490.07666666667 & -286.076666666666 \tabularnewline
6 & 3515.6 & 3490.07666666667 & 25.5233333333334 \tabularnewline
7 & 3146.6 & 3490.07666666667 & -343.476666666667 \tabularnewline
8 & 2271.7 & 3490.07666666667 & -1218.37666666667 \tabularnewline
9 & 3627.9 & 3490.07666666667 & 137.823333333334 \tabularnewline
10 & 3553.4 & 3490.07666666667 & 63.3233333333336 \tabularnewline
11 & 3018.3 & 3490.07666666667 & -471.776666666666 \tabularnewline
12 & 3355.4 & 3490.07666666667 & -134.676666666666 \tabularnewline
13 & 3242 & 3490.07666666667 & -248.076666666666 \tabularnewline
14 & 3311.1 & 3490.07666666667 & -178.976666666667 \tabularnewline
15 & 4125.2 & 3490.07666666667 & 635.123333333333 \tabularnewline
16 & 3423 & 3490.07666666667 & -67.0766666666665 \tabularnewline
17 & 3120.3 & 3490.07666666667 & -369.776666666666 \tabularnewline
18 & 3863 & 3490.07666666667 & 372.923333333334 \tabularnewline
19 & 3240.8 & 3490.07666666667 & -249.276666666666 \tabularnewline
20 & 2837.4 & 3490.07666666667 & -652.676666666666 \tabularnewline
21 & 3945 & 3490.07666666667 & 454.923333333334 \tabularnewline
22 & 3684.1 & 3490.07666666667 & 194.023333333333 \tabularnewline
23 & 3659.6 & 3490.07666666667 & 169.523333333333 \tabularnewline
24 & 3769.6 & 3490.07666666667 & 279.523333333333 \tabularnewline
25 & 3592.7 & 3490.07666666667 & 102.623333333333 \tabularnewline
26 & 3754 & 3490.07666666667 & 263.923333333334 \tabularnewline
27 & 4507.8 & 3490.07666666667 & 1017.72333333333 \tabularnewline
28 & 3853.2 & 3490.07666666667 & 363.123333333333 \tabularnewline
29 & 3817.2 & 3490.07666666667 & 327.123333333333 \tabularnewline
30 & 3958.4 & 3490.07666666667 & 468.323333333334 \tabularnewline
31 & 3428.9 & 4165.56333333333 & -736.663333333333 \tabularnewline
32 & 3125.7 & 4165.56333333333 & -1039.86333333333 \tabularnewline
33 & 3977 & 4165.56333333333 & -188.563333333333 \tabularnewline
34 & 3983.3 & 4165.56333333333 & -182.263333333333 \tabularnewline
35 & 4299.6 & 4165.56333333333 & 134.036666666667 \tabularnewline
36 & 4306.9 & 4165.56333333333 & 141.336666666666 \tabularnewline
37 & 4259.5 & 4165.56333333333 & 93.9366666666667 \tabularnewline
38 & 3986 & 4165.56333333333 & -179.563333333333 \tabularnewline
39 & 4755.6 & 4165.56333333333 & 590.036666666667 \tabularnewline
40 & 3925.6 & 4165.56333333333 & -239.963333333333 \tabularnewline
41 & 4206.5 & 4165.56333333333 & 40.9366666666667 \tabularnewline
42 & 4323.4 & 4165.56333333333 & 157.836666666666 \tabularnewline
43 & 3816.1 & 4165.56333333333 & -349.463333333333 \tabularnewline
44 & 3410.7 & 4165.56333333333 & -754.863333333333 \tabularnewline
45 & 4227.4 & 4165.56333333333 & 61.8366666666664 \tabularnewline
46 & 4296.9 & 4165.56333333333 & 131.336666666666 \tabularnewline
47 & 4351.7 & 4165.56333333333 & 186.136666666667 \tabularnewline
48 & 3800 & 4165.56333333333 & -365.563333333333 \tabularnewline
49 & 4277 & 4165.56333333333 & 111.436666666667 \tabularnewline
50 & 4100.2 & 4165.56333333333 & -65.3633333333335 \tabularnewline
51 & 4672.5 & 4165.56333333333 & 506.936666666667 \tabularnewline
52 & 4189.9 & 4165.56333333333 & 24.3366666666664 \tabularnewline
53 & 4231.9 & 4165.56333333333 & 66.3366666666664 \tabularnewline
54 & 4654.9 & 4165.56333333333 & 489.336666666666 \tabularnewline
55 & 4298.5 & 4165.56333333333 & 132.936666666667 \tabularnewline
56 & 3635.9 & 4165.56333333333 & -529.663333333333 \tabularnewline
57 & 4505.1 & 4165.56333333333 & 339.536666666667 \tabularnewline
58 & 4910.1 & 4165.56333333333 & 744.536666666667 \tabularnewline
59 & 4908.7 & 4165.56333333333 & 743.136666666667 \tabularnewline
60 & 4101.4 & 4165.56333333333 & -64.1633333333336 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25253&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]3258.1[/C][C]3490.07666666667[/C][C]-231.976666666671[/C][/ROW]
[ROW][C]2[/C][C]3140.1[/C][C]3490.07666666667[/C][C]-349.976666666666[/C][/ROW]
[ROW][C]3[/C][C]3627.4[/C][C]3490.07666666667[/C][C]137.323333333334[/C][/ROW]
[ROW][C]4[/C][C]3279.4[/C][C]3490.07666666667[/C][C]-210.676666666666[/C][/ROW]
[ROW][C]5[/C][C]3204[/C][C]3490.07666666667[/C][C]-286.076666666666[/C][/ROW]
[ROW][C]6[/C][C]3515.6[/C][C]3490.07666666667[/C][C]25.5233333333334[/C][/ROW]
[ROW][C]7[/C][C]3146.6[/C][C]3490.07666666667[/C][C]-343.476666666667[/C][/ROW]
[ROW][C]8[/C][C]2271.7[/C][C]3490.07666666667[/C][C]-1218.37666666667[/C][/ROW]
[ROW][C]9[/C][C]3627.9[/C][C]3490.07666666667[/C][C]137.823333333334[/C][/ROW]
[ROW][C]10[/C][C]3553.4[/C][C]3490.07666666667[/C][C]63.3233333333336[/C][/ROW]
[ROW][C]11[/C][C]3018.3[/C][C]3490.07666666667[/C][C]-471.776666666666[/C][/ROW]
[ROW][C]12[/C][C]3355.4[/C][C]3490.07666666667[/C][C]-134.676666666666[/C][/ROW]
[ROW][C]13[/C][C]3242[/C][C]3490.07666666667[/C][C]-248.076666666666[/C][/ROW]
[ROW][C]14[/C][C]3311.1[/C][C]3490.07666666667[/C][C]-178.976666666667[/C][/ROW]
[ROW][C]15[/C][C]4125.2[/C][C]3490.07666666667[/C][C]635.123333333333[/C][/ROW]
[ROW][C]16[/C][C]3423[/C][C]3490.07666666667[/C][C]-67.0766666666665[/C][/ROW]
[ROW][C]17[/C][C]3120.3[/C][C]3490.07666666667[/C][C]-369.776666666666[/C][/ROW]
[ROW][C]18[/C][C]3863[/C][C]3490.07666666667[/C][C]372.923333333334[/C][/ROW]
[ROW][C]19[/C][C]3240.8[/C][C]3490.07666666667[/C][C]-249.276666666666[/C][/ROW]
[ROW][C]20[/C][C]2837.4[/C][C]3490.07666666667[/C][C]-652.676666666666[/C][/ROW]
[ROW][C]21[/C][C]3945[/C][C]3490.07666666667[/C][C]454.923333333334[/C][/ROW]
[ROW][C]22[/C][C]3684.1[/C][C]3490.07666666667[/C][C]194.023333333333[/C][/ROW]
[ROW][C]23[/C][C]3659.6[/C][C]3490.07666666667[/C][C]169.523333333333[/C][/ROW]
[ROW][C]24[/C][C]3769.6[/C][C]3490.07666666667[/C][C]279.523333333333[/C][/ROW]
[ROW][C]25[/C][C]3592.7[/C][C]3490.07666666667[/C][C]102.623333333333[/C][/ROW]
[ROW][C]26[/C][C]3754[/C][C]3490.07666666667[/C][C]263.923333333334[/C][/ROW]
[ROW][C]27[/C][C]4507.8[/C][C]3490.07666666667[/C][C]1017.72333333333[/C][/ROW]
[ROW][C]28[/C][C]3853.2[/C][C]3490.07666666667[/C][C]363.123333333333[/C][/ROW]
[ROW][C]29[/C][C]3817.2[/C][C]3490.07666666667[/C][C]327.123333333333[/C][/ROW]
[ROW][C]30[/C][C]3958.4[/C][C]3490.07666666667[/C][C]468.323333333334[/C][/ROW]
[ROW][C]31[/C][C]3428.9[/C][C]4165.56333333333[/C][C]-736.663333333333[/C][/ROW]
[ROW][C]32[/C][C]3125.7[/C][C]4165.56333333333[/C][C]-1039.86333333333[/C][/ROW]
[ROW][C]33[/C][C]3977[/C][C]4165.56333333333[/C][C]-188.563333333333[/C][/ROW]
[ROW][C]34[/C][C]3983.3[/C][C]4165.56333333333[/C][C]-182.263333333333[/C][/ROW]
[ROW][C]35[/C][C]4299.6[/C][C]4165.56333333333[/C][C]134.036666666667[/C][/ROW]
[ROW][C]36[/C][C]4306.9[/C][C]4165.56333333333[/C][C]141.336666666666[/C][/ROW]
[ROW][C]37[/C][C]4259.5[/C][C]4165.56333333333[/C][C]93.9366666666667[/C][/ROW]
[ROW][C]38[/C][C]3986[/C][C]4165.56333333333[/C][C]-179.563333333333[/C][/ROW]
[ROW][C]39[/C][C]4755.6[/C][C]4165.56333333333[/C][C]590.036666666667[/C][/ROW]
[ROW][C]40[/C][C]3925.6[/C][C]4165.56333333333[/C][C]-239.963333333333[/C][/ROW]
[ROW][C]41[/C][C]4206.5[/C][C]4165.56333333333[/C][C]40.9366666666667[/C][/ROW]
[ROW][C]42[/C][C]4323.4[/C][C]4165.56333333333[/C][C]157.836666666666[/C][/ROW]
[ROW][C]43[/C][C]3816.1[/C][C]4165.56333333333[/C][C]-349.463333333333[/C][/ROW]
[ROW][C]44[/C][C]3410.7[/C][C]4165.56333333333[/C][C]-754.863333333333[/C][/ROW]
[ROW][C]45[/C][C]4227.4[/C][C]4165.56333333333[/C][C]61.8366666666664[/C][/ROW]
[ROW][C]46[/C][C]4296.9[/C][C]4165.56333333333[/C][C]131.336666666666[/C][/ROW]
[ROW][C]47[/C][C]4351.7[/C][C]4165.56333333333[/C][C]186.136666666667[/C][/ROW]
[ROW][C]48[/C][C]3800[/C][C]4165.56333333333[/C][C]-365.563333333333[/C][/ROW]
[ROW][C]49[/C][C]4277[/C][C]4165.56333333333[/C][C]111.436666666667[/C][/ROW]
[ROW][C]50[/C][C]4100.2[/C][C]4165.56333333333[/C][C]-65.3633333333335[/C][/ROW]
[ROW][C]51[/C][C]4672.5[/C][C]4165.56333333333[/C][C]506.936666666667[/C][/ROW]
[ROW][C]52[/C][C]4189.9[/C][C]4165.56333333333[/C][C]24.3366666666664[/C][/ROW]
[ROW][C]53[/C][C]4231.9[/C][C]4165.56333333333[/C][C]66.3366666666664[/C][/ROW]
[ROW][C]54[/C][C]4654.9[/C][C]4165.56333333333[/C][C]489.336666666666[/C][/ROW]
[ROW][C]55[/C][C]4298.5[/C][C]4165.56333333333[/C][C]132.936666666667[/C][/ROW]
[ROW][C]56[/C][C]3635.9[/C][C]4165.56333333333[/C][C]-529.663333333333[/C][/ROW]
[ROW][C]57[/C][C]4505.1[/C][C]4165.56333333333[/C][C]339.536666666667[/C][/ROW]
[ROW][C]58[/C][C]4910.1[/C][C]4165.56333333333[/C][C]744.536666666667[/C][/ROW]
[ROW][C]59[/C][C]4908.7[/C][C]4165.56333333333[/C][C]743.136666666667[/C][/ROW]
[ROW][C]60[/C][C]4101.4[/C][C]4165.56333333333[/C][C]-64.1633333333336[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25253&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25253&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
13258.13490.07666666667-231.976666666671
23140.13490.07666666667-349.976666666666
33627.43490.07666666667137.323333333334
43279.43490.07666666667-210.676666666666
532043490.07666666667-286.076666666666
63515.63490.0766666666725.5233333333334
73146.63490.07666666667-343.476666666667
82271.73490.07666666667-1218.37666666667
93627.93490.07666666667137.823333333334
103553.43490.0766666666763.3233333333336
113018.33490.07666666667-471.776666666666
123355.43490.07666666667-134.676666666666
1332423490.07666666667-248.076666666666
143311.13490.07666666667-178.976666666667
154125.23490.07666666667635.123333333333
1634233490.07666666667-67.0766666666665
173120.33490.07666666667-369.776666666666
1838633490.07666666667372.923333333334
193240.83490.07666666667-249.276666666666
202837.43490.07666666667-652.676666666666
2139453490.07666666667454.923333333334
223684.13490.07666666667194.023333333333
233659.63490.07666666667169.523333333333
243769.63490.07666666667279.523333333333
253592.73490.07666666667102.623333333333
2637543490.07666666667263.923333333334
274507.83490.076666666671017.72333333333
283853.23490.07666666667363.123333333333
293817.23490.07666666667327.123333333333
303958.43490.07666666667468.323333333334
313428.94165.56333333333-736.663333333333
323125.74165.56333333333-1039.86333333333
3339774165.56333333333-188.563333333333
343983.34165.56333333333-182.263333333333
354299.64165.56333333333134.036666666667
364306.94165.56333333333141.336666666666
374259.54165.5633333333393.9366666666667
3839864165.56333333333-179.563333333333
394755.64165.56333333333590.036666666667
403925.64165.56333333333-239.963333333333
414206.54165.5633333333340.9366666666667
424323.44165.56333333333157.836666666666
433816.14165.56333333333-349.463333333333
443410.74165.56333333333-754.863333333333
454227.44165.5633333333361.8366666666664
464296.94165.56333333333131.336666666666
474351.74165.56333333333186.136666666667
4838004165.56333333333-365.563333333333
4942774165.56333333333111.436666666667
504100.24165.56333333333-65.3633333333335
514672.54165.56333333333506.936666666667
524189.94165.5633333333324.3366666666664
534231.94165.5633333333366.3366666666664
544654.94165.56333333333489.336666666666
554298.54165.56333333333132.936666666667
563635.94165.56333333333-529.663333333333
574505.14165.56333333333339.536666666667
584910.14165.56333333333744.536666666667
594908.74165.56333333333743.136666666667
604101.44165.56333333333-64.1633333333336



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