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 08:23:20 -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/t1227453932kton2wxzzxhsl52.htm/, Retrieved Sat, 18 May 2024 02:12:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25285, Retrieved Sat, 18 May 2024 02:12:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact167
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [] [2007-11-19 19:55:31] [b731da8b544846036771bbf9bf2f34ce]
-    D    [Multiple Regression] [Q3: Eigen tijdree...] [2008-11-23 15:23:20] [8758b22b4a10c08c31202f233362e983] [Current]
Feedback Forum

Post a new message
Dataseries X:
13698,3	0
12477,6	0
13139,7	0
14532,2	0
15167	0
16071,1	0
14827,5	0
15082	0
14772,7	0
16083	0
14272,5	0
15223,3	0
14897,3	0
13062,6	0
12603,8	0
13629,8	0
14421,1	0
13978,3	0
12927,9	0
13429,9	0
13470,1	0
14785,8	0
14292	0
14308,8	0
14013	0
13240,9	0
12153,4	0
14289,7	0
15669,2	0
14169,5	0
14569,8	0
14469,1	0
14264,9	0
15320,9	0
14433,5	0
13691,5	0
14194,1	0
13519,2	0
11857,9	0
14616	0
15643,4	0
14077,2	0
14887,5	0
14159,9	0
14643	0
17192,5	1
15386,1	1
14287,1	1
17526,6	1
14497	1
14398,3	1
16629,6	1
16670,7	1
16614,8	1
16869,2	1
15663,9	1
16359,9	1
18447,7	1
16889	1
16505	1
18320,9	1
15052,1	1
15699,8	1
18135,3	1
16768,7	1
18883	1
19021	1
18101,9	1
17776,1	1
21489,9	1
17065,3	1
18690	1
18953,1	1
16398,9	1
16895,7	1
18553	1
19270	1
19422,1	1
17579,4	1
18637,3	1
18076,7	1
20438,6	1
18075,2	1
19563	1
19899,2	1
19227,5	1
17789,6	1
19220,8	1
22058,6	1
21230,8	1
19504,4	1
23913,1	1
23165,7	1
23574,3	1
25002	1
22603,9	1
23408,6	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=25285&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=25285&T=0

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

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)14200.8422222222294.38614448.238800
x4287.67508547008402.06989810.66400

\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) & 14200.8422222222 & 294.386144 & 48.2388 & 0 & 0 \tabularnewline
x & 4287.67508547008 & 402.069898 & 10.664 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25285&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]14200.8422222222[/C][C]294.386144[/C][C]48.2388[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]4287.67508547008[/C][C]402.069898[/C][C]10.664[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25285&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25285&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)14200.8422222222294.38614448.238800
x4287.67508547008402.06989810.66400







Multiple Linear Regression - Regression Statistics
Multiple R0.738137465151604
R-squared0.544846917460435
Adjusted R-squared0.540055832381072
F-TEST (value)113.720985629581
F-TEST (DF numerator)1
F-TEST (DF denominator)95
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1974.80228778318
Sum Squared Residuals370485187.204201

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.738137465151604 \tabularnewline
R-squared & 0.544846917460435 \tabularnewline
Adjusted R-squared & 0.540055832381072 \tabularnewline
F-TEST (value) & 113.720985629581 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 95 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1974.80228778318 \tabularnewline
Sum Squared Residuals & 370485187.204201 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25285&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.738137465151604[/C][/ROW]
[ROW][C]R-squared[/C][C]0.544846917460435[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.540055832381072[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]113.720985629581[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]95[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1974.80228778318[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]370485187.204201[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25285&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25285&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.738137465151604
R-squared0.544846917460435
Adjusted R-squared0.540055832381072
F-TEST (value)113.720985629581
F-TEST (DF numerator)1
F-TEST (DF denominator)95
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1974.80228778318
Sum Squared Residuals370485187.204201







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
113698.314200.8422222221-502.54222222208
212477.614200.8422222222-1723.24222222221
313139.714200.8422222222-1061.14222222222
414532.214200.8422222222331.357777777775
51516714200.8422222222966.157777777775
616071.114200.84222222221870.25777777777
714827.514200.8422222222626.657777777775
81508214200.8422222222881.157777777775
914772.714200.8422222222571.857777777775
101608314200.84222222221882.15777777777
1114272.514200.842222222271.6577777777745
1215223.314200.84222222221022.45777777777
1314897.314200.8422222222696.457777777774
1413062.614200.8422222222-1138.24222222223
1512603.814200.8422222222-1597.04222222223
1613629.814200.8422222222-571.042222222226
1714421.114200.8422222222220.257777777775
1813978.314200.8422222222-222.542222222226
1912927.914200.8422222222-1272.94222222223
2013429.914200.8422222222-770.942222222226
2113470.114200.8422222222-730.742222222225
2214785.814200.8422222222584.957777777774
231429214200.842222222291.1577777777745
2414308.814200.8422222222107.957777777774
251401314200.8422222222-187.842222222226
2613240.914200.8422222222-959.942222222226
2712153.414200.8422222222-2047.44222222223
2814289.714200.842222222288.8577777777752
2915669.214200.84222222221468.35777777778
3014169.514200.8422222222-31.3422222222255
3114569.814200.8422222222368.957777777774
3214469.114200.8422222222268.257777777775
3314264.914200.842222222264.0577777777741
3415320.914200.84222222221120.05777777777
3514433.514200.8422222222232.657777777774
3613691.514200.8422222222-509.342222222225
3714194.114200.8422222222-6.74222222222514
3813519.214200.8422222222-681.642222222225
3911857.914200.8422222222-2342.94222222223
401461614200.8422222222415.157777777775
4115643.414200.84222222221442.55777777777
4214077.214200.8422222222-123.642222222225
4314887.514200.8422222222686.657777777775
4414159.914200.8422222222-40.9422222222259
451464314200.8422222222442.157777777775
4617192.518488.5173076923-1296.01730769231
4715386.118488.5173076923-3102.41730769231
4814287.118488.5173076923-4201.41730769231
4917526.618488.5173076923-961.91730769231
501449718488.5173076923-3991.51730769231
5114398.318488.5173076923-4090.21730769231
5216629.618488.5173076923-1858.91730769231
5316670.718488.5173076923-1817.81730769231
5416614.818488.5173076923-1873.71730769231
5516869.218488.5173076923-1619.31730769231
5615663.918488.5173076923-2824.61730769231
5716359.918488.5173076923-2128.61730769231
5818447.718488.5173076923-40.8173076923069
591688918488.5173076923-1599.51730769231
601650518488.5173076923-1983.51730769231
6118320.918488.5173076923-167.617307692306
6215052.118488.5173076923-3436.41730769231
6315699.818488.5173076923-2788.71730769231
6418135.318488.5173076923-353.217307692308
6516768.718488.5173076923-1719.81730769231
661888318488.5173076923394.482692307692
671902118488.5173076923532.482692307692
6818101.918488.5173076923-386.617307692306
6917776.118488.5173076923-712.417307692309
7021489.918488.51730769233001.38269230769
7117065.318488.5173076923-1423.21730769231
721869018488.5173076923201.482692307692
7318953.118488.5173076923464.582692307691
7416398.918488.5173076923-2089.61730769231
7516895.718488.5173076923-1592.81730769231
761855318488.517307692364.4826923076923
771927018488.5173076923781.482692307692
7819422.118488.5173076923933.582692307691
7917579.418488.5173076923-909.117307692306
8018637.318488.5173076923148.782692307692
8118076.718488.5173076923-411.817307692307
8220438.618488.51730769231950.08269230769
8318075.218488.5173076923-413.317307692307
841956318488.51730769231074.48269230769
8519899.218488.51730769231410.68269230769
8619227.518488.5173076923738.982692307692
8717789.618488.5173076923-698.917307692309
8819220.818488.5173076923732.282692307692
8922058.618488.51730769233570.08269230769
9021230.818488.51730769232742.28269230769
9119504.418488.51730769231015.88269230769
9223913.118488.51730769235424.58269230769
9323165.718488.51730769234677.18269230769
9423574.318488.51730769235085.78269230769
952500218488.51730769236513.48269230769
9622603.918488.51730769234115.38269230769
9723408.618488.51730769234920.08269230769

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 13698.3 & 14200.8422222221 & -502.54222222208 \tabularnewline
2 & 12477.6 & 14200.8422222222 & -1723.24222222221 \tabularnewline
3 & 13139.7 & 14200.8422222222 & -1061.14222222222 \tabularnewline
4 & 14532.2 & 14200.8422222222 & 331.357777777775 \tabularnewline
5 & 15167 & 14200.8422222222 & 966.157777777775 \tabularnewline
6 & 16071.1 & 14200.8422222222 & 1870.25777777777 \tabularnewline
7 & 14827.5 & 14200.8422222222 & 626.657777777775 \tabularnewline
8 & 15082 & 14200.8422222222 & 881.157777777775 \tabularnewline
9 & 14772.7 & 14200.8422222222 & 571.857777777775 \tabularnewline
10 & 16083 & 14200.8422222222 & 1882.15777777777 \tabularnewline
11 & 14272.5 & 14200.8422222222 & 71.6577777777745 \tabularnewline
12 & 15223.3 & 14200.8422222222 & 1022.45777777777 \tabularnewline
13 & 14897.3 & 14200.8422222222 & 696.457777777774 \tabularnewline
14 & 13062.6 & 14200.8422222222 & -1138.24222222223 \tabularnewline
15 & 12603.8 & 14200.8422222222 & -1597.04222222223 \tabularnewline
16 & 13629.8 & 14200.8422222222 & -571.042222222226 \tabularnewline
17 & 14421.1 & 14200.8422222222 & 220.257777777775 \tabularnewline
18 & 13978.3 & 14200.8422222222 & -222.542222222226 \tabularnewline
19 & 12927.9 & 14200.8422222222 & -1272.94222222223 \tabularnewline
20 & 13429.9 & 14200.8422222222 & -770.942222222226 \tabularnewline
21 & 13470.1 & 14200.8422222222 & -730.742222222225 \tabularnewline
22 & 14785.8 & 14200.8422222222 & 584.957777777774 \tabularnewline
23 & 14292 & 14200.8422222222 & 91.1577777777745 \tabularnewline
24 & 14308.8 & 14200.8422222222 & 107.957777777774 \tabularnewline
25 & 14013 & 14200.8422222222 & -187.842222222226 \tabularnewline
26 & 13240.9 & 14200.8422222222 & -959.942222222226 \tabularnewline
27 & 12153.4 & 14200.8422222222 & -2047.44222222223 \tabularnewline
28 & 14289.7 & 14200.8422222222 & 88.8577777777752 \tabularnewline
29 & 15669.2 & 14200.8422222222 & 1468.35777777778 \tabularnewline
30 & 14169.5 & 14200.8422222222 & -31.3422222222255 \tabularnewline
31 & 14569.8 & 14200.8422222222 & 368.957777777774 \tabularnewline
32 & 14469.1 & 14200.8422222222 & 268.257777777775 \tabularnewline
33 & 14264.9 & 14200.8422222222 & 64.0577777777741 \tabularnewline
34 & 15320.9 & 14200.8422222222 & 1120.05777777777 \tabularnewline
35 & 14433.5 & 14200.8422222222 & 232.657777777774 \tabularnewline
36 & 13691.5 & 14200.8422222222 & -509.342222222225 \tabularnewline
37 & 14194.1 & 14200.8422222222 & -6.74222222222514 \tabularnewline
38 & 13519.2 & 14200.8422222222 & -681.642222222225 \tabularnewline
39 & 11857.9 & 14200.8422222222 & -2342.94222222223 \tabularnewline
40 & 14616 & 14200.8422222222 & 415.157777777775 \tabularnewline
41 & 15643.4 & 14200.8422222222 & 1442.55777777777 \tabularnewline
42 & 14077.2 & 14200.8422222222 & -123.642222222225 \tabularnewline
43 & 14887.5 & 14200.8422222222 & 686.657777777775 \tabularnewline
44 & 14159.9 & 14200.8422222222 & -40.9422222222259 \tabularnewline
45 & 14643 & 14200.8422222222 & 442.157777777775 \tabularnewline
46 & 17192.5 & 18488.5173076923 & -1296.01730769231 \tabularnewline
47 & 15386.1 & 18488.5173076923 & -3102.41730769231 \tabularnewline
48 & 14287.1 & 18488.5173076923 & -4201.41730769231 \tabularnewline
49 & 17526.6 & 18488.5173076923 & -961.91730769231 \tabularnewline
50 & 14497 & 18488.5173076923 & -3991.51730769231 \tabularnewline
51 & 14398.3 & 18488.5173076923 & -4090.21730769231 \tabularnewline
52 & 16629.6 & 18488.5173076923 & -1858.91730769231 \tabularnewline
53 & 16670.7 & 18488.5173076923 & -1817.81730769231 \tabularnewline
54 & 16614.8 & 18488.5173076923 & -1873.71730769231 \tabularnewline
55 & 16869.2 & 18488.5173076923 & -1619.31730769231 \tabularnewline
56 & 15663.9 & 18488.5173076923 & -2824.61730769231 \tabularnewline
57 & 16359.9 & 18488.5173076923 & -2128.61730769231 \tabularnewline
58 & 18447.7 & 18488.5173076923 & -40.8173076923069 \tabularnewline
59 & 16889 & 18488.5173076923 & -1599.51730769231 \tabularnewline
60 & 16505 & 18488.5173076923 & -1983.51730769231 \tabularnewline
61 & 18320.9 & 18488.5173076923 & -167.617307692306 \tabularnewline
62 & 15052.1 & 18488.5173076923 & -3436.41730769231 \tabularnewline
63 & 15699.8 & 18488.5173076923 & -2788.71730769231 \tabularnewline
64 & 18135.3 & 18488.5173076923 & -353.217307692308 \tabularnewline
65 & 16768.7 & 18488.5173076923 & -1719.81730769231 \tabularnewline
66 & 18883 & 18488.5173076923 & 394.482692307692 \tabularnewline
67 & 19021 & 18488.5173076923 & 532.482692307692 \tabularnewline
68 & 18101.9 & 18488.5173076923 & -386.617307692306 \tabularnewline
69 & 17776.1 & 18488.5173076923 & -712.417307692309 \tabularnewline
70 & 21489.9 & 18488.5173076923 & 3001.38269230769 \tabularnewline
71 & 17065.3 & 18488.5173076923 & -1423.21730769231 \tabularnewline
72 & 18690 & 18488.5173076923 & 201.482692307692 \tabularnewline
73 & 18953.1 & 18488.5173076923 & 464.582692307691 \tabularnewline
74 & 16398.9 & 18488.5173076923 & -2089.61730769231 \tabularnewline
75 & 16895.7 & 18488.5173076923 & -1592.81730769231 \tabularnewline
76 & 18553 & 18488.5173076923 & 64.4826923076923 \tabularnewline
77 & 19270 & 18488.5173076923 & 781.482692307692 \tabularnewline
78 & 19422.1 & 18488.5173076923 & 933.582692307691 \tabularnewline
79 & 17579.4 & 18488.5173076923 & -909.117307692306 \tabularnewline
80 & 18637.3 & 18488.5173076923 & 148.782692307692 \tabularnewline
81 & 18076.7 & 18488.5173076923 & -411.817307692307 \tabularnewline
82 & 20438.6 & 18488.5173076923 & 1950.08269230769 \tabularnewline
83 & 18075.2 & 18488.5173076923 & -413.317307692307 \tabularnewline
84 & 19563 & 18488.5173076923 & 1074.48269230769 \tabularnewline
85 & 19899.2 & 18488.5173076923 & 1410.68269230769 \tabularnewline
86 & 19227.5 & 18488.5173076923 & 738.982692307692 \tabularnewline
87 & 17789.6 & 18488.5173076923 & -698.917307692309 \tabularnewline
88 & 19220.8 & 18488.5173076923 & 732.282692307692 \tabularnewline
89 & 22058.6 & 18488.5173076923 & 3570.08269230769 \tabularnewline
90 & 21230.8 & 18488.5173076923 & 2742.28269230769 \tabularnewline
91 & 19504.4 & 18488.5173076923 & 1015.88269230769 \tabularnewline
92 & 23913.1 & 18488.5173076923 & 5424.58269230769 \tabularnewline
93 & 23165.7 & 18488.5173076923 & 4677.18269230769 \tabularnewline
94 & 23574.3 & 18488.5173076923 & 5085.78269230769 \tabularnewline
95 & 25002 & 18488.5173076923 & 6513.48269230769 \tabularnewline
96 & 22603.9 & 18488.5173076923 & 4115.38269230769 \tabularnewline
97 & 23408.6 & 18488.5173076923 & 4920.08269230769 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25285&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]13698.3[/C][C]14200.8422222221[/C][C]-502.54222222208[/C][/ROW]
[ROW][C]2[/C][C]12477.6[/C][C]14200.8422222222[/C][C]-1723.24222222221[/C][/ROW]
[ROW][C]3[/C][C]13139.7[/C][C]14200.8422222222[/C][C]-1061.14222222222[/C][/ROW]
[ROW][C]4[/C][C]14532.2[/C][C]14200.8422222222[/C][C]331.357777777775[/C][/ROW]
[ROW][C]5[/C][C]15167[/C][C]14200.8422222222[/C][C]966.157777777775[/C][/ROW]
[ROW][C]6[/C][C]16071.1[/C][C]14200.8422222222[/C][C]1870.25777777777[/C][/ROW]
[ROW][C]7[/C][C]14827.5[/C][C]14200.8422222222[/C][C]626.657777777775[/C][/ROW]
[ROW][C]8[/C][C]15082[/C][C]14200.8422222222[/C][C]881.157777777775[/C][/ROW]
[ROW][C]9[/C][C]14772.7[/C][C]14200.8422222222[/C][C]571.857777777775[/C][/ROW]
[ROW][C]10[/C][C]16083[/C][C]14200.8422222222[/C][C]1882.15777777777[/C][/ROW]
[ROW][C]11[/C][C]14272.5[/C][C]14200.8422222222[/C][C]71.6577777777745[/C][/ROW]
[ROW][C]12[/C][C]15223.3[/C][C]14200.8422222222[/C][C]1022.45777777777[/C][/ROW]
[ROW][C]13[/C][C]14897.3[/C][C]14200.8422222222[/C][C]696.457777777774[/C][/ROW]
[ROW][C]14[/C][C]13062.6[/C][C]14200.8422222222[/C][C]-1138.24222222223[/C][/ROW]
[ROW][C]15[/C][C]12603.8[/C][C]14200.8422222222[/C][C]-1597.04222222223[/C][/ROW]
[ROW][C]16[/C][C]13629.8[/C][C]14200.8422222222[/C][C]-571.042222222226[/C][/ROW]
[ROW][C]17[/C][C]14421.1[/C][C]14200.8422222222[/C][C]220.257777777775[/C][/ROW]
[ROW][C]18[/C][C]13978.3[/C][C]14200.8422222222[/C][C]-222.542222222226[/C][/ROW]
[ROW][C]19[/C][C]12927.9[/C][C]14200.8422222222[/C][C]-1272.94222222223[/C][/ROW]
[ROW][C]20[/C][C]13429.9[/C][C]14200.8422222222[/C][C]-770.942222222226[/C][/ROW]
[ROW][C]21[/C][C]13470.1[/C][C]14200.8422222222[/C][C]-730.742222222225[/C][/ROW]
[ROW][C]22[/C][C]14785.8[/C][C]14200.8422222222[/C][C]584.957777777774[/C][/ROW]
[ROW][C]23[/C][C]14292[/C][C]14200.8422222222[/C][C]91.1577777777745[/C][/ROW]
[ROW][C]24[/C][C]14308.8[/C][C]14200.8422222222[/C][C]107.957777777774[/C][/ROW]
[ROW][C]25[/C][C]14013[/C][C]14200.8422222222[/C][C]-187.842222222226[/C][/ROW]
[ROW][C]26[/C][C]13240.9[/C][C]14200.8422222222[/C][C]-959.942222222226[/C][/ROW]
[ROW][C]27[/C][C]12153.4[/C][C]14200.8422222222[/C][C]-2047.44222222223[/C][/ROW]
[ROW][C]28[/C][C]14289.7[/C][C]14200.8422222222[/C][C]88.8577777777752[/C][/ROW]
[ROW][C]29[/C][C]15669.2[/C][C]14200.8422222222[/C][C]1468.35777777778[/C][/ROW]
[ROW][C]30[/C][C]14169.5[/C][C]14200.8422222222[/C][C]-31.3422222222255[/C][/ROW]
[ROW][C]31[/C][C]14569.8[/C][C]14200.8422222222[/C][C]368.957777777774[/C][/ROW]
[ROW][C]32[/C][C]14469.1[/C][C]14200.8422222222[/C][C]268.257777777775[/C][/ROW]
[ROW][C]33[/C][C]14264.9[/C][C]14200.8422222222[/C][C]64.0577777777741[/C][/ROW]
[ROW][C]34[/C][C]15320.9[/C][C]14200.8422222222[/C][C]1120.05777777777[/C][/ROW]
[ROW][C]35[/C][C]14433.5[/C][C]14200.8422222222[/C][C]232.657777777774[/C][/ROW]
[ROW][C]36[/C][C]13691.5[/C][C]14200.8422222222[/C][C]-509.342222222225[/C][/ROW]
[ROW][C]37[/C][C]14194.1[/C][C]14200.8422222222[/C][C]-6.74222222222514[/C][/ROW]
[ROW][C]38[/C][C]13519.2[/C][C]14200.8422222222[/C][C]-681.642222222225[/C][/ROW]
[ROW][C]39[/C][C]11857.9[/C][C]14200.8422222222[/C][C]-2342.94222222223[/C][/ROW]
[ROW][C]40[/C][C]14616[/C][C]14200.8422222222[/C][C]415.157777777775[/C][/ROW]
[ROW][C]41[/C][C]15643.4[/C][C]14200.8422222222[/C][C]1442.55777777777[/C][/ROW]
[ROW][C]42[/C][C]14077.2[/C][C]14200.8422222222[/C][C]-123.642222222225[/C][/ROW]
[ROW][C]43[/C][C]14887.5[/C][C]14200.8422222222[/C][C]686.657777777775[/C][/ROW]
[ROW][C]44[/C][C]14159.9[/C][C]14200.8422222222[/C][C]-40.9422222222259[/C][/ROW]
[ROW][C]45[/C][C]14643[/C][C]14200.8422222222[/C][C]442.157777777775[/C][/ROW]
[ROW][C]46[/C][C]17192.5[/C][C]18488.5173076923[/C][C]-1296.01730769231[/C][/ROW]
[ROW][C]47[/C][C]15386.1[/C][C]18488.5173076923[/C][C]-3102.41730769231[/C][/ROW]
[ROW][C]48[/C][C]14287.1[/C][C]18488.5173076923[/C][C]-4201.41730769231[/C][/ROW]
[ROW][C]49[/C][C]17526.6[/C][C]18488.5173076923[/C][C]-961.91730769231[/C][/ROW]
[ROW][C]50[/C][C]14497[/C][C]18488.5173076923[/C][C]-3991.51730769231[/C][/ROW]
[ROW][C]51[/C][C]14398.3[/C][C]18488.5173076923[/C][C]-4090.21730769231[/C][/ROW]
[ROW][C]52[/C][C]16629.6[/C][C]18488.5173076923[/C][C]-1858.91730769231[/C][/ROW]
[ROW][C]53[/C][C]16670.7[/C][C]18488.5173076923[/C][C]-1817.81730769231[/C][/ROW]
[ROW][C]54[/C][C]16614.8[/C][C]18488.5173076923[/C][C]-1873.71730769231[/C][/ROW]
[ROW][C]55[/C][C]16869.2[/C][C]18488.5173076923[/C][C]-1619.31730769231[/C][/ROW]
[ROW][C]56[/C][C]15663.9[/C][C]18488.5173076923[/C][C]-2824.61730769231[/C][/ROW]
[ROW][C]57[/C][C]16359.9[/C][C]18488.5173076923[/C][C]-2128.61730769231[/C][/ROW]
[ROW][C]58[/C][C]18447.7[/C][C]18488.5173076923[/C][C]-40.8173076923069[/C][/ROW]
[ROW][C]59[/C][C]16889[/C][C]18488.5173076923[/C][C]-1599.51730769231[/C][/ROW]
[ROW][C]60[/C][C]16505[/C][C]18488.5173076923[/C][C]-1983.51730769231[/C][/ROW]
[ROW][C]61[/C][C]18320.9[/C][C]18488.5173076923[/C][C]-167.617307692306[/C][/ROW]
[ROW][C]62[/C][C]15052.1[/C][C]18488.5173076923[/C][C]-3436.41730769231[/C][/ROW]
[ROW][C]63[/C][C]15699.8[/C][C]18488.5173076923[/C][C]-2788.71730769231[/C][/ROW]
[ROW][C]64[/C][C]18135.3[/C][C]18488.5173076923[/C][C]-353.217307692308[/C][/ROW]
[ROW][C]65[/C][C]16768.7[/C][C]18488.5173076923[/C][C]-1719.81730769231[/C][/ROW]
[ROW][C]66[/C][C]18883[/C][C]18488.5173076923[/C][C]394.482692307692[/C][/ROW]
[ROW][C]67[/C][C]19021[/C][C]18488.5173076923[/C][C]532.482692307692[/C][/ROW]
[ROW][C]68[/C][C]18101.9[/C][C]18488.5173076923[/C][C]-386.617307692306[/C][/ROW]
[ROW][C]69[/C][C]17776.1[/C][C]18488.5173076923[/C][C]-712.417307692309[/C][/ROW]
[ROW][C]70[/C][C]21489.9[/C][C]18488.5173076923[/C][C]3001.38269230769[/C][/ROW]
[ROW][C]71[/C][C]17065.3[/C][C]18488.5173076923[/C][C]-1423.21730769231[/C][/ROW]
[ROW][C]72[/C][C]18690[/C][C]18488.5173076923[/C][C]201.482692307692[/C][/ROW]
[ROW][C]73[/C][C]18953.1[/C][C]18488.5173076923[/C][C]464.582692307691[/C][/ROW]
[ROW][C]74[/C][C]16398.9[/C][C]18488.5173076923[/C][C]-2089.61730769231[/C][/ROW]
[ROW][C]75[/C][C]16895.7[/C][C]18488.5173076923[/C][C]-1592.81730769231[/C][/ROW]
[ROW][C]76[/C][C]18553[/C][C]18488.5173076923[/C][C]64.4826923076923[/C][/ROW]
[ROW][C]77[/C][C]19270[/C][C]18488.5173076923[/C][C]781.482692307692[/C][/ROW]
[ROW][C]78[/C][C]19422.1[/C][C]18488.5173076923[/C][C]933.582692307691[/C][/ROW]
[ROW][C]79[/C][C]17579.4[/C][C]18488.5173076923[/C][C]-909.117307692306[/C][/ROW]
[ROW][C]80[/C][C]18637.3[/C][C]18488.5173076923[/C][C]148.782692307692[/C][/ROW]
[ROW][C]81[/C][C]18076.7[/C][C]18488.5173076923[/C][C]-411.817307692307[/C][/ROW]
[ROW][C]82[/C][C]20438.6[/C][C]18488.5173076923[/C][C]1950.08269230769[/C][/ROW]
[ROW][C]83[/C][C]18075.2[/C][C]18488.5173076923[/C][C]-413.317307692307[/C][/ROW]
[ROW][C]84[/C][C]19563[/C][C]18488.5173076923[/C][C]1074.48269230769[/C][/ROW]
[ROW][C]85[/C][C]19899.2[/C][C]18488.5173076923[/C][C]1410.68269230769[/C][/ROW]
[ROW][C]86[/C][C]19227.5[/C][C]18488.5173076923[/C][C]738.982692307692[/C][/ROW]
[ROW][C]87[/C][C]17789.6[/C][C]18488.5173076923[/C][C]-698.917307692309[/C][/ROW]
[ROW][C]88[/C][C]19220.8[/C][C]18488.5173076923[/C][C]732.282692307692[/C][/ROW]
[ROW][C]89[/C][C]22058.6[/C][C]18488.5173076923[/C][C]3570.08269230769[/C][/ROW]
[ROW][C]90[/C][C]21230.8[/C][C]18488.5173076923[/C][C]2742.28269230769[/C][/ROW]
[ROW][C]91[/C][C]19504.4[/C][C]18488.5173076923[/C][C]1015.88269230769[/C][/ROW]
[ROW][C]92[/C][C]23913.1[/C][C]18488.5173076923[/C][C]5424.58269230769[/C][/ROW]
[ROW][C]93[/C][C]23165.7[/C][C]18488.5173076923[/C][C]4677.18269230769[/C][/ROW]
[ROW][C]94[/C][C]23574.3[/C][C]18488.5173076923[/C][C]5085.78269230769[/C][/ROW]
[ROW][C]95[/C][C]25002[/C][C]18488.5173076923[/C][C]6513.48269230769[/C][/ROW]
[ROW][C]96[/C][C]22603.9[/C][C]18488.5173076923[/C][C]4115.38269230769[/C][/ROW]
[ROW][C]97[/C][C]23408.6[/C][C]18488.5173076923[/C][C]4920.08269230769[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25285&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25285&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
113698.314200.8422222221-502.54222222208
212477.614200.8422222222-1723.24222222221
313139.714200.8422222222-1061.14222222222
414532.214200.8422222222331.357777777775
51516714200.8422222222966.157777777775
616071.114200.84222222221870.25777777777
714827.514200.8422222222626.657777777775
81508214200.8422222222881.157777777775
914772.714200.8422222222571.857777777775
101608314200.84222222221882.15777777777
1114272.514200.842222222271.6577777777745
1215223.314200.84222222221022.45777777777
1314897.314200.8422222222696.457777777774
1413062.614200.8422222222-1138.24222222223
1512603.814200.8422222222-1597.04222222223
1613629.814200.8422222222-571.042222222226
1714421.114200.8422222222220.257777777775
1813978.314200.8422222222-222.542222222226
1912927.914200.8422222222-1272.94222222223
2013429.914200.8422222222-770.942222222226
2113470.114200.8422222222-730.742222222225
2214785.814200.8422222222584.957777777774
231429214200.842222222291.1577777777745
2414308.814200.8422222222107.957777777774
251401314200.8422222222-187.842222222226
2613240.914200.8422222222-959.942222222226
2712153.414200.8422222222-2047.44222222223
2814289.714200.842222222288.8577777777752
2915669.214200.84222222221468.35777777778
3014169.514200.8422222222-31.3422222222255
3114569.814200.8422222222368.957777777774
3214469.114200.8422222222268.257777777775
3314264.914200.842222222264.0577777777741
3415320.914200.84222222221120.05777777777
3514433.514200.8422222222232.657777777774
3613691.514200.8422222222-509.342222222225
3714194.114200.8422222222-6.74222222222514
3813519.214200.8422222222-681.642222222225
3911857.914200.8422222222-2342.94222222223
401461614200.8422222222415.157777777775
4115643.414200.84222222221442.55777777777
4214077.214200.8422222222-123.642222222225
4314887.514200.8422222222686.657777777775
4414159.914200.8422222222-40.9422222222259
451464314200.8422222222442.157777777775
4617192.518488.5173076923-1296.01730769231
4715386.118488.5173076923-3102.41730769231
4814287.118488.5173076923-4201.41730769231
4917526.618488.5173076923-961.91730769231
501449718488.5173076923-3991.51730769231
5114398.318488.5173076923-4090.21730769231
5216629.618488.5173076923-1858.91730769231
5316670.718488.5173076923-1817.81730769231
5416614.818488.5173076923-1873.71730769231
5516869.218488.5173076923-1619.31730769231
5615663.918488.5173076923-2824.61730769231
5716359.918488.5173076923-2128.61730769231
5818447.718488.5173076923-40.8173076923069
591688918488.5173076923-1599.51730769231
601650518488.5173076923-1983.51730769231
6118320.918488.5173076923-167.617307692306
6215052.118488.5173076923-3436.41730769231
6315699.818488.5173076923-2788.71730769231
6418135.318488.5173076923-353.217307692308
6516768.718488.5173076923-1719.81730769231
661888318488.5173076923394.482692307692
671902118488.5173076923532.482692307692
6818101.918488.5173076923-386.617307692306
6917776.118488.5173076923-712.417307692309
7021489.918488.51730769233001.38269230769
7117065.318488.5173076923-1423.21730769231
721869018488.5173076923201.482692307692
7318953.118488.5173076923464.582692307691
7416398.918488.5173076923-2089.61730769231
7516895.718488.5173076923-1592.81730769231
761855318488.517307692364.4826923076923
771927018488.5173076923781.482692307692
7819422.118488.5173076923933.582692307691
7917579.418488.5173076923-909.117307692306
8018637.318488.5173076923148.782692307692
8118076.718488.5173076923-411.817307692307
8220438.618488.51730769231950.08269230769
8318075.218488.5173076923-413.317307692307
841956318488.51730769231074.48269230769
8519899.218488.51730769231410.68269230769
8619227.518488.5173076923738.982692307692
8717789.618488.5173076923-698.917307692309
8819220.818488.5173076923732.282692307692
8922058.618488.51730769233570.08269230769
9021230.818488.51730769232742.28269230769
9119504.418488.51730769231015.88269230769
9223913.118488.51730769235424.58269230769
9323165.718488.51730769234677.18269230769
9423574.318488.51730769235085.78269230769
952500218488.51730769236513.48269230769
9622603.918488.51730769234115.38269230769
9723408.618488.51730769234920.08269230769



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