Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 16 Nov 2007 06:56:08 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/16/t119522116200xlituqm1o85lv.htm/, Retrieved Mon, 06 May 2024 08:54:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5491, Retrieved Mon, 06 May 2024 08:54:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact300
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2007-11-16 13:56:08] [a1fadf46580e43815db2830b4560d35f] [Current]
F    D    [Multiple Regression] [Q3] [2008-11-23 22:11:33] [6816386b1f3c2f6c0c9f2aa1e5bc9362]
F    D    [Multiple Regression] [] [2008-11-24 21:52:44] [74be16979710d4c4e7c6647856088456]
Feedback Forum

Post a new message
Dataseries X:
102,3	0
105,8	0
106,7	0
109,6	0
111,9	0
113,3	0
114,6	0
115,7	0
117,3	0
119,8	0
120,6	0
121,4	0
123,5	0
125,2	0
126	0
126,8	0
128,1	0
128,2	0
129,3	0
130,6	0
131,4	0
131,1	0
131,2	0
131,2	0
131,5	0
133,5	0
133,7	0
133,5	0
134	0
135,9	0
135,9	0
137,2	0
138,4	0
140,9	0
143	0
144,1	0
146,8	0
149,1	0
149,6	0
151,2	0
153,3	0
156,9	0
157,2	0
158,5	0
160	0
162,5	0
162,9	0
164,7	0
165	0
167,2	0
168,6	0
169,5	0
169,8	0
171,9	0
172	0
173,7	0
173,9	0
175,9	0
175,6	0
176,1	0
176,3	0
179,4	0
179,7	0
179,9	0
180,4	0
182,5	0
183,6	0
183,9	0
184,5	0
187,6	0
188	0
188,5	0
188,6	0
191,9	0
193,5	0
194,9	0
194,9	0
196,2	0
196,2	0
198	0
198,6	0
201,3	0
203,5	0
204,1	0
204,8	1
206,5	1
207,8	1
208,6	1
209,7	1
210	1
211,7	1
212,4	1
213,7	1
214,8	1
216,4	1
217,5	1
218,6	1
220,4	1
221,8	1
222,5	1
223,4	1
225,5	1
226,5	1
227,8	1
228,5	1
229,1	1
229,9	1




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

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

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5491&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5491&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 155.132142857143 + 62.6026397515528X[t] + e[t]

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)155.1321428571432.81543855.100500
X62.60263975155286.07258910.309100

\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) & 155.132142857143 & 2.815438 & 55.1005 & 0 & 0 \tabularnewline
X & 62.6026397515528 & 6.072589 & 10.3091 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5491&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]155.132142857143[/C][C]2.815438[/C][C]55.1005[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]62.6026397515528[/C][C]6.072589[/C][C]10.3091[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5491&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5491&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)155.1321428571432.81543855.100500
X62.60263975155286.07258910.309100







Multiple Linear Regression - Regression Statistics
Multiple R0.709239800503977
R-squared0.503021094618921
Adjusted R-squared0.49828796218672
F-TEST (value)106.276573035805
F-TEST (DF numerator)1
F-TEST (DF denominator)105
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25.8039117352387
Sum Squared Residuals69913.3953881989

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.709239800503977 \tabularnewline
R-squared & 0.503021094618921 \tabularnewline
Adjusted R-squared & 0.49828796218672 \tabularnewline
F-TEST (value) & 106.276573035805 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 105 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 25.8039117352387 \tabularnewline
Sum Squared Residuals & 69913.3953881989 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5491&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.709239800503977[/C][/ROW]
[ROW][C]R-squared[/C][C]0.503021094618921[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.49828796218672[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]106.276573035805[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]105[/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]25.8039117352387[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]69913.3953881989[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5491&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5491&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.709239800503977
R-squared0.503021094618921
Adjusted R-squared0.49828796218672
F-TEST (value)106.276573035805
F-TEST (DF numerator)1
F-TEST (DF denominator)105
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25.8039117352387
Sum Squared Residuals69913.3953881989







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1102.3155.132142857144-52.8321428571437
2105.8155.132142857143-49.332142857143
3106.7155.132142857143-48.4321428571428
4109.6155.132142857143-45.5321428571429
5111.9155.132142857143-43.2321428571428
6113.3155.132142857143-41.8321428571429
7114.6155.132142857143-40.5321428571429
8115.7155.132142857143-39.4321428571428
9117.3155.132142857143-37.8321428571429
10119.8155.132142857143-35.3321428571428
11120.6155.132142857143-34.5321428571429
12121.4155.132142857143-33.7321428571428
13123.5155.132142857143-31.6321428571428
14125.2155.132142857143-29.9321428571428
15126155.132142857143-29.1321428571428
16126.8155.132142857143-28.3321428571429
17128.1155.132142857143-27.0321428571429
18128.2155.132142857143-26.9321428571429
19129.3155.132142857143-25.8321428571428
20130.6155.132142857143-24.5321428571429
21131.4155.132142857143-23.7321428571428
22131.1155.132142857143-24.0321428571429
23131.2155.132142857143-23.9321428571429
24131.2155.132142857143-23.9321428571429
25131.5155.132142857143-23.6321428571428
26133.5155.132142857143-21.6321428571429
27133.7155.132142857143-21.4321428571429
28133.5155.132142857143-21.6321428571429
29134155.132142857143-21.1321428571429
30135.9155.132142857143-19.2321428571428
31135.9155.132142857143-19.2321428571428
32137.2155.132142857143-17.9321428571429
33138.4155.132142857143-16.7321428571428
34140.9155.132142857143-14.2321428571428
35143155.132142857143-12.1321428571428
36144.1155.132142857143-11.0321428571429
37146.8155.132142857143-8.33214285714284
38149.1155.132142857143-6.03214285714286
39149.6155.132142857143-5.53214285714286
40151.2155.132142857143-3.93214285714286
41153.3155.132142857143-1.83214285714284
42156.9155.1321428571431.76785714285716
43157.2155.1321428571432.06785714285714
44158.5155.1321428571433.36785714285715
45160155.1321428571434.86785714285715
46162.5155.1321428571437.36785714285715
47162.9155.1321428571437.76785714285716
48164.7155.1321428571439.56785714285714
49165155.1321428571439.86785714285715
50167.2155.13214285714312.0678571428571
51168.6155.13214285714313.4678571428571
52169.5155.13214285714314.3678571428572
53169.8155.13214285714314.6678571428572
54171.9155.13214285714316.7678571428572
55172155.13214285714316.8678571428572
56173.7155.13214285714318.5678571428571
57173.9155.13214285714318.7678571428572
58175.9155.13214285714320.7678571428572
59175.6155.13214285714320.4678571428571
60176.1155.13214285714320.9678571428571
61176.3155.13214285714321.1678571428572
62179.4155.13214285714324.2678571428572
63179.7155.13214285714324.5678571428571
64179.9155.13214285714324.7678571428572
65180.4155.13214285714325.2678571428572
66182.5155.13214285714327.3678571428571
67183.6155.13214285714328.4678571428571
68183.9155.13214285714328.7678571428572
69184.5155.13214285714329.3678571428571
70187.6155.13214285714332.4678571428571
71188155.13214285714332.8678571428571
72188.5155.13214285714333.3678571428571
73188.6155.13214285714333.4678571428571
74191.9155.13214285714336.7678571428572
75193.5155.13214285714338.3678571428571
76194.9155.13214285714339.7678571428572
77194.9155.13214285714339.7678571428572
78196.2155.13214285714341.0678571428571
79196.2155.13214285714341.0678571428571
80198155.13214285714342.8678571428571
81198.6155.13214285714343.4678571428571
82201.3155.13214285714346.1678571428572
83203.5155.13214285714348.3678571428571
84204.1155.13214285714348.9678571428571
85204.8217.734782608696-12.9347826086956
86206.5217.734782608696-11.2347826086957
87207.8217.734782608696-9.93478260869565
88208.6217.734782608696-9.13478260869566
89209.7217.734782608696-8.03478260869567
90210217.734782608696-7.73478260869566
91211.7217.734782608696-6.03478260869567
92212.4217.734782608696-5.33478260869565
93213.7217.734782608696-4.03478260869567
94214.8217.734782608696-2.93478260869565
95216.4217.734782608696-1.33478260869565
96217.5217.734782608696-0.234782608695657
97218.6217.7347826086960.865217391304337
98220.4217.7347826086962.66521739130435
99221.8217.7347826086964.06521739130435
100222.5217.7347826086964.76521739130434
101223.4217.7347826086965.66521739130435
102225.5217.7347826086967.76521739130434
103226.5217.7347826086968.76521739130434
104227.8217.73478260869610.0652173913044
105228.5217.73478260869610.7652173913043
106229.1217.73478260869611.3652173913043
107229.9217.73478260869612.1652173913043

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 102.3 & 155.132142857144 & -52.8321428571437 \tabularnewline
2 & 105.8 & 155.132142857143 & -49.332142857143 \tabularnewline
3 & 106.7 & 155.132142857143 & -48.4321428571428 \tabularnewline
4 & 109.6 & 155.132142857143 & -45.5321428571429 \tabularnewline
5 & 111.9 & 155.132142857143 & -43.2321428571428 \tabularnewline
6 & 113.3 & 155.132142857143 & -41.8321428571429 \tabularnewline
7 & 114.6 & 155.132142857143 & -40.5321428571429 \tabularnewline
8 & 115.7 & 155.132142857143 & -39.4321428571428 \tabularnewline
9 & 117.3 & 155.132142857143 & -37.8321428571429 \tabularnewline
10 & 119.8 & 155.132142857143 & -35.3321428571428 \tabularnewline
11 & 120.6 & 155.132142857143 & -34.5321428571429 \tabularnewline
12 & 121.4 & 155.132142857143 & -33.7321428571428 \tabularnewline
13 & 123.5 & 155.132142857143 & -31.6321428571428 \tabularnewline
14 & 125.2 & 155.132142857143 & -29.9321428571428 \tabularnewline
15 & 126 & 155.132142857143 & -29.1321428571428 \tabularnewline
16 & 126.8 & 155.132142857143 & -28.3321428571429 \tabularnewline
17 & 128.1 & 155.132142857143 & -27.0321428571429 \tabularnewline
18 & 128.2 & 155.132142857143 & -26.9321428571429 \tabularnewline
19 & 129.3 & 155.132142857143 & -25.8321428571428 \tabularnewline
20 & 130.6 & 155.132142857143 & -24.5321428571429 \tabularnewline
21 & 131.4 & 155.132142857143 & -23.7321428571428 \tabularnewline
22 & 131.1 & 155.132142857143 & -24.0321428571429 \tabularnewline
23 & 131.2 & 155.132142857143 & -23.9321428571429 \tabularnewline
24 & 131.2 & 155.132142857143 & -23.9321428571429 \tabularnewline
25 & 131.5 & 155.132142857143 & -23.6321428571428 \tabularnewline
26 & 133.5 & 155.132142857143 & -21.6321428571429 \tabularnewline
27 & 133.7 & 155.132142857143 & -21.4321428571429 \tabularnewline
28 & 133.5 & 155.132142857143 & -21.6321428571429 \tabularnewline
29 & 134 & 155.132142857143 & -21.1321428571429 \tabularnewline
30 & 135.9 & 155.132142857143 & -19.2321428571428 \tabularnewline
31 & 135.9 & 155.132142857143 & -19.2321428571428 \tabularnewline
32 & 137.2 & 155.132142857143 & -17.9321428571429 \tabularnewline
33 & 138.4 & 155.132142857143 & -16.7321428571428 \tabularnewline
34 & 140.9 & 155.132142857143 & -14.2321428571428 \tabularnewline
35 & 143 & 155.132142857143 & -12.1321428571428 \tabularnewline
36 & 144.1 & 155.132142857143 & -11.0321428571429 \tabularnewline
37 & 146.8 & 155.132142857143 & -8.33214285714284 \tabularnewline
38 & 149.1 & 155.132142857143 & -6.03214285714286 \tabularnewline
39 & 149.6 & 155.132142857143 & -5.53214285714286 \tabularnewline
40 & 151.2 & 155.132142857143 & -3.93214285714286 \tabularnewline
41 & 153.3 & 155.132142857143 & -1.83214285714284 \tabularnewline
42 & 156.9 & 155.132142857143 & 1.76785714285716 \tabularnewline
43 & 157.2 & 155.132142857143 & 2.06785714285714 \tabularnewline
44 & 158.5 & 155.132142857143 & 3.36785714285715 \tabularnewline
45 & 160 & 155.132142857143 & 4.86785714285715 \tabularnewline
46 & 162.5 & 155.132142857143 & 7.36785714285715 \tabularnewline
47 & 162.9 & 155.132142857143 & 7.76785714285716 \tabularnewline
48 & 164.7 & 155.132142857143 & 9.56785714285714 \tabularnewline
49 & 165 & 155.132142857143 & 9.86785714285715 \tabularnewline
50 & 167.2 & 155.132142857143 & 12.0678571428571 \tabularnewline
51 & 168.6 & 155.132142857143 & 13.4678571428571 \tabularnewline
52 & 169.5 & 155.132142857143 & 14.3678571428572 \tabularnewline
53 & 169.8 & 155.132142857143 & 14.6678571428572 \tabularnewline
54 & 171.9 & 155.132142857143 & 16.7678571428572 \tabularnewline
55 & 172 & 155.132142857143 & 16.8678571428572 \tabularnewline
56 & 173.7 & 155.132142857143 & 18.5678571428571 \tabularnewline
57 & 173.9 & 155.132142857143 & 18.7678571428572 \tabularnewline
58 & 175.9 & 155.132142857143 & 20.7678571428572 \tabularnewline
59 & 175.6 & 155.132142857143 & 20.4678571428571 \tabularnewline
60 & 176.1 & 155.132142857143 & 20.9678571428571 \tabularnewline
61 & 176.3 & 155.132142857143 & 21.1678571428572 \tabularnewline
62 & 179.4 & 155.132142857143 & 24.2678571428572 \tabularnewline
63 & 179.7 & 155.132142857143 & 24.5678571428571 \tabularnewline
64 & 179.9 & 155.132142857143 & 24.7678571428572 \tabularnewline
65 & 180.4 & 155.132142857143 & 25.2678571428572 \tabularnewline
66 & 182.5 & 155.132142857143 & 27.3678571428571 \tabularnewline
67 & 183.6 & 155.132142857143 & 28.4678571428571 \tabularnewline
68 & 183.9 & 155.132142857143 & 28.7678571428572 \tabularnewline
69 & 184.5 & 155.132142857143 & 29.3678571428571 \tabularnewline
70 & 187.6 & 155.132142857143 & 32.4678571428571 \tabularnewline
71 & 188 & 155.132142857143 & 32.8678571428571 \tabularnewline
72 & 188.5 & 155.132142857143 & 33.3678571428571 \tabularnewline
73 & 188.6 & 155.132142857143 & 33.4678571428571 \tabularnewline
74 & 191.9 & 155.132142857143 & 36.7678571428572 \tabularnewline
75 & 193.5 & 155.132142857143 & 38.3678571428571 \tabularnewline
76 & 194.9 & 155.132142857143 & 39.7678571428572 \tabularnewline
77 & 194.9 & 155.132142857143 & 39.7678571428572 \tabularnewline
78 & 196.2 & 155.132142857143 & 41.0678571428571 \tabularnewline
79 & 196.2 & 155.132142857143 & 41.0678571428571 \tabularnewline
80 & 198 & 155.132142857143 & 42.8678571428571 \tabularnewline
81 & 198.6 & 155.132142857143 & 43.4678571428571 \tabularnewline
82 & 201.3 & 155.132142857143 & 46.1678571428572 \tabularnewline
83 & 203.5 & 155.132142857143 & 48.3678571428571 \tabularnewline
84 & 204.1 & 155.132142857143 & 48.9678571428571 \tabularnewline
85 & 204.8 & 217.734782608696 & -12.9347826086956 \tabularnewline
86 & 206.5 & 217.734782608696 & -11.2347826086957 \tabularnewline
87 & 207.8 & 217.734782608696 & -9.93478260869565 \tabularnewline
88 & 208.6 & 217.734782608696 & -9.13478260869566 \tabularnewline
89 & 209.7 & 217.734782608696 & -8.03478260869567 \tabularnewline
90 & 210 & 217.734782608696 & -7.73478260869566 \tabularnewline
91 & 211.7 & 217.734782608696 & -6.03478260869567 \tabularnewline
92 & 212.4 & 217.734782608696 & -5.33478260869565 \tabularnewline
93 & 213.7 & 217.734782608696 & -4.03478260869567 \tabularnewline
94 & 214.8 & 217.734782608696 & -2.93478260869565 \tabularnewline
95 & 216.4 & 217.734782608696 & -1.33478260869565 \tabularnewline
96 & 217.5 & 217.734782608696 & -0.234782608695657 \tabularnewline
97 & 218.6 & 217.734782608696 & 0.865217391304337 \tabularnewline
98 & 220.4 & 217.734782608696 & 2.66521739130435 \tabularnewline
99 & 221.8 & 217.734782608696 & 4.06521739130435 \tabularnewline
100 & 222.5 & 217.734782608696 & 4.76521739130434 \tabularnewline
101 & 223.4 & 217.734782608696 & 5.66521739130435 \tabularnewline
102 & 225.5 & 217.734782608696 & 7.76521739130434 \tabularnewline
103 & 226.5 & 217.734782608696 & 8.76521739130434 \tabularnewline
104 & 227.8 & 217.734782608696 & 10.0652173913044 \tabularnewline
105 & 228.5 & 217.734782608696 & 10.7652173913043 \tabularnewline
106 & 229.1 & 217.734782608696 & 11.3652173913043 \tabularnewline
107 & 229.9 & 217.734782608696 & 12.1652173913043 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5491&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]102.3[/C][C]155.132142857144[/C][C]-52.8321428571437[/C][/ROW]
[ROW][C]2[/C][C]105.8[/C][C]155.132142857143[/C][C]-49.332142857143[/C][/ROW]
[ROW][C]3[/C][C]106.7[/C][C]155.132142857143[/C][C]-48.4321428571428[/C][/ROW]
[ROW][C]4[/C][C]109.6[/C][C]155.132142857143[/C][C]-45.5321428571429[/C][/ROW]
[ROW][C]5[/C][C]111.9[/C][C]155.132142857143[/C][C]-43.2321428571428[/C][/ROW]
[ROW][C]6[/C][C]113.3[/C][C]155.132142857143[/C][C]-41.8321428571429[/C][/ROW]
[ROW][C]7[/C][C]114.6[/C][C]155.132142857143[/C][C]-40.5321428571429[/C][/ROW]
[ROW][C]8[/C][C]115.7[/C][C]155.132142857143[/C][C]-39.4321428571428[/C][/ROW]
[ROW][C]9[/C][C]117.3[/C][C]155.132142857143[/C][C]-37.8321428571429[/C][/ROW]
[ROW][C]10[/C][C]119.8[/C][C]155.132142857143[/C][C]-35.3321428571428[/C][/ROW]
[ROW][C]11[/C][C]120.6[/C][C]155.132142857143[/C][C]-34.5321428571429[/C][/ROW]
[ROW][C]12[/C][C]121.4[/C][C]155.132142857143[/C][C]-33.7321428571428[/C][/ROW]
[ROW][C]13[/C][C]123.5[/C][C]155.132142857143[/C][C]-31.6321428571428[/C][/ROW]
[ROW][C]14[/C][C]125.2[/C][C]155.132142857143[/C][C]-29.9321428571428[/C][/ROW]
[ROW][C]15[/C][C]126[/C][C]155.132142857143[/C][C]-29.1321428571428[/C][/ROW]
[ROW][C]16[/C][C]126.8[/C][C]155.132142857143[/C][C]-28.3321428571429[/C][/ROW]
[ROW][C]17[/C][C]128.1[/C][C]155.132142857143[/C][C]-27.0321428571429[/C][/ROW]
[ROW][C]18[/C][C]128.2[/C][C]155.132142857143[/C][C]-26.9321428571429[/C][/ROW]
[ROW][C]19[/C][C]129.3[/C][C]155.132142857143[/C][C]-25.8321428571428[/C][/ROW]
[ROW][C]20[/C][C]130.6[/C][C]155.132142857143[/C][C]-24.5321428571429[/C][/ROW]
[ROW][C]21[/C][C]131.4[/C][C]155.132142857143[/C][C]-23.7321428571428[/C][/ROW]
[ROW][C]22[/C][C]131.1[/C][C]155.132142857143[/C][C]-24.0321428571429[/C][/ROW]
[ROW][C]23[/C][C]131.2[/C][C]155.132142857143[/C][C]-23.9321428571429[/C][/ROW]
[ROW][C]24[/C][C]131.2[/C][C]155.132142857143[/C][C]-23.9321428571429[/C][/ROW]
[ROW][C]25[/C][C]131.5[/C][C]155.132142857143[/C][C]-23.6321428571428[/C][/ROW]
[ROW][C]26[/C][C]133.5[/C][C]155.132142857143[/C][C]-21.6321428571429[/C][/ROW]
[ROW][C]27[/C][C]133.7[/C][C]155.132142857143[/C][C]-21.4321428571429[/C][/ROW]
[ROW][C]28[/C][C]133.5[/C][C]155.132142857143[/C][C]-21.6321428571429[/C][/ROW]
[ROW][C]29[/C][C]134[/C][C]155.132142857143[/C][C]-21.1321428571429[/C][/ROW]
[ROW][C]30[/C][C]135.9[/C][C]155.132142857143[/C][C]-19.2321428571428[/C][/ROW]
[ROW][C]31[/C][C]135.9[/C][C]155.132142857143[/C][C]-19.2321428571428[/C][/ROW]
[ROW][C]32[/C][C]137.2[/C][C]155.132142857143[/C][C]-17.9321428571429[/C][/ROW]
[ROW][C]33[/C][C]138.4[/C][C]155.132142857143[/C][C]-16.7321428571428[/C][/ROW]
[ROW][C]34[/C][C]140.9[/C][C]155.132142857143[/C][C]-14.2321428571428[/C][/ROW]
[ROW][C]35[/C][C]143[/C][C]155.132142857143[/C][C]-12.1321428571428[/C][/ROW]
[ROW][C]36[/C][C]144.1[/C][C]155.132142857143[/C][C]-11.0321428571429[/C][/ROW]
[ROW][C]37[/C][C]146.8[/C][C]155.132142857143[/C][C]-8.33214285714284[/C][/ROW]
[ROW][C]38[/C][C]149.1[/C][C]155.132142857143[/C][C]-6.03214285714286[/C][/ROW]
[ROW][C]39[/C][C]149.6[/C][C]155.132142857143[/C][C]-5.53214285714286[/C][/ROW]
[ROW][C]40[/C][C]151.2[/C][C]155.132142857143[/C][C]-3.93214285714286[/C][/ROW]
[ROW][C]41[/C][C]153.3[/C][C]155.132142857143[/C][C]-1.83214285714284[/C][/ROW]
[ROW][C]42[/C][C]156.9[/C][C]155.132142857143[/C][C]1.76785714285716[/C][/ROW]
[ROW][C]43[/C][C]157.2[/C][C]155.132142857143[/C][C]2.06785714285714[/C][/ROW]
[ROW][C]44[/C][C]158.5[/C][C]155.132142857143[/C][C]3.36785714285715[/C][/ROW]
[ROW][C]45[/C][C]160[/C][C]155.132142857143[/C][C]4.86785714285715[/C][/ROW]
[ROW][C]46[/C][C]162.5[/C][C]155.132142857143[/C][C]7.36785714285715[/C][/ROW]
[ROW][C]47[/C][C]162.9[/C][C]155.132142857143[/C][C]7.76785714285716[/C][/ROW]
[ROW][C]48[/C][C]164.7[/C][C]155.132142857143[/C][C]9.56785714285714[/C][/ROW]
[ROW][C]49[/C][C]165[/C][C]155.132142857143[/C][C]9.86785714285715[/C][/ROW]
[ROW][C]50[/C][C]167.2[/C][C]155.132142857143[/C][C]12.0678571428571[/C][/ROW]
[ROW][C]51[/C][C]168.6[/C][C]155.132142857143[/C][C]13.4678571428571[/C][/ROW]
[ROW][C]52[/C][C]169.5[/C][C]155.132142857143[/C][C]14.3678571428572[/C][/ROW]
[ROW][C]53[/C][C]169.8[/C][C]155.132142857143[/C][C]14.6678571428572[/C][/ROW]
[ROW][C]54[/C][C]171.9[/C][C]155.132142857143[/C][C]16.7678571428572[/C][/ROW]
[ROW][C]55[/C][C]172[/C][C]155.132142857143[/C][C]16.8678571428572[/C][/ROW]
[ROW][C]56[/C][C]173.7[/C][C]155.132142857143[/C][C]18.5678571428571[/C][/ROW]
[ROW][C]57[/C][C]173.9[/C][C]155.132142857143[/C][C]18.7678571428572[/C][/ROW]
[ROW][C]58[/C][C]175.9[/C][C]155.132142857143[/C][C]20.7678571428572[/C][/ROW]
[ROW][C]59[/C][C]175.6[/C][C]155.132142857143[/C][C]20.4678571428571[/C][/ROW]
[ROW][C]60[/C][C]176.1[/C][C]155.132142857143[/C][C]20.9678571428571[/C][/ROW]
[ROW][C]61[/C][C]176.3[/C][C]155.132142857143[/C][C]21.1678571428572[/C][/ROW]
[ROW][C]62[/C][C]179.4[/C][C]155.132142857143[/C][C]24.2678571428572[/C][/ROW]
[ROW][C]63[/C][C]179.7[/C][C]155.132142857143[/C][C]24.5678571428571[/C][/ROW]
[ROW][C]64[/C][C]179.9[/C][C]155.132142857143[/C][C]24.7678571428572[/C][/ROW]
[ROW][C]65[/C][C]180.4[/C][C]155.132142857143[/C][C]25.2678571428572[/C][/ROW]
[ROW][C]66[/C][C]182.5[/C][C]155.132142857143[/C][C]27.3678571428571[/C][/ROW]
[ROW][C]67[/C][C]183.6[/C][C]155.132142857143[/C][C]28.4678571428571[/C][/ROW]
[ROW][C]68[/C][C]183.9[/C][C]155.132142857143[/C][C]28.7678571428572[/C][/ROW]
[ROW][C]69[/C][C]184.5[/C][C]155.132142857143[/C][C]29.3678571428571[/C][/ROW]
[ROW][C]70[/C][C]187.6[/C][C]155.132142857143[/C][C]32.4678571428571[/C][/ROW]
[ROW][C]71[/C][C]188[/C][C]155.132142857143[/C][C]32.8678571428571[/C][/ROW]
[ROW][C]72[/C][C]188.5[/C][C]155.132142857143[/C][C]33.3678571428571[/C][/ROW]
[ROW][C]73[/C][C]188.6[/C][C]155.132142857143[/C][C]33.4678571428571[/C][/ROW]
[ROW][C]74[/C][C]191.9[/C][C]155.132142857143[/C][C]36.7678571428572[/C][/ROW]
[ROW][C]75[/C][C]193.5[/C][C]155.132142857143[/C][C]38.3678571428571[/C][/ROW]
[ROW][C]76[/C][C]194.9[/C][C]155.132142857143[/C][C]39.7678571428572[/C][/ROW]
[ROW][C]77[/C][C]194.9[/C][C]155.132142857143[/C][C]39.7678571428572[/C][/ROW]
[ROW][C]78[/C][C]196.2[/C][C]155.132142857143[/C][C]41.0678571428571[/C][/ROW]
[ROW][C]79[/C][C]196.2[/C][C]155.132142857143[/C][C]41.0678571428571[/C][/ROW]
[ROW][C]80[/C][C]198[/C][C]155.132142857143[/C][C]42.8678571428571[/C][/ROW]
[ROW][C]81[/C][C]198.6[/C][C]155.132142857143[/C][C]43.4678571428571[/C][/ROW]
[ROW][C]82[/C][C]201.3[/C][C]155.132142857143[/C][C]46.1678571428572[/C][/ROW]
[ROW][C]83[/C][C]203.5[/C][C]155.132142857143[/C][C]48.3678571428571[/C][/ROW]
[ROW][C]84[/C][C]204.1[/C][C]155.132142857143[/C][C]48.9678571428571[/C][/ROW]
[ROW][C]85[/C][C]204.8[/C][C]217.734782608696[/C][C]-12.9347826086956[/C][/ROW]
[ROW][C]86[/C][C]206.5[/C][C]217.734782608696[/C][C]-11.2347826086957[/C][/ROW]
[ROW][C]87[/C][C]207.8[/C][C]217.734782608696[/C][C]-9.93478260869565[/C][/ROW]
[ROW][C]88[/C][C]208.6[/C][C]217.734782608696[/C][C]-9.13478260869566[/C][/ROW]
[ROW][C]89[/C][C]209.7[/C][C]217.734782608696[/C][C]-8.03478260869567[/C][/ROW]
[ROW][C]90[/C][C]210[/C][C]217.734782608696[/C][C]-7.73478260869566[/C][/ROW]
[ROW][C]91[/C][C]211.7[/C][C]217.734782608696[/C][C]-6.03478260869567[/C][/ROW]
[ROW][C]92[/C][C]212.4[/C][C]217.734782608696[/C][C]-5.33478260869565[/C][/ROW]
[ROW][C]93[/C][C]213.7[/C][C]217.734782608696[/C][C]-4.03478260869567[/C][/ROW]
[ROW][C]94[/C][C]214.8[/C][C]217.734782608696[/C][C]-2.93478260869565[/C][/ROW]
[ROW][C]95[/C][C]216.4[/C][C]217.734782608696[/C][C]-1.33478260869565[/C][/ROW]
[ROW][C]96[/C][C]217.5[/C][C]217.734782608696[/C][C]-0.234782608695657[/C][/ROW]
[ROW][C]97[/C][C]218.6[/C][C]217.734782608696[/C][C]0.865217391304337[/C][/ROW]
[ROW][C]98[/C][C]220.4[/C][C]217.734782608696[/C][C]2.66521739130435[/C][/ROW]
[ROW][C]99[/C][C]221.8[/C][C]217.734782608696[/C][C]4.06521739130435[/C][/ROW]
[ROW][C]100[/C][C]222.5[/C][C]217.734782608696[/C][C]4.76521739130434[/C][/ROW]
[ROW][C]101[/C][C]223.4[/C][C]217.734782608696[/C][C]5.66521739130435[/C][/ROW]
[ROW][C]102[/C][C]225.5[/C][C]217.734782608696[/C][C]7.76521739130434[/C][/ROW]
[ROW][C]103[/C][C]226.5[/C][C]217.734782608696[/C][C]8.76521739130434[/C][/ROW]
[ROW][C]104[/C][C]227.8[/C][C]217.734782608696[/C][C]10.0652173913044[/C][/ROW]
[ROW][C]105[/C][C]228.5[/C][C]217.734782608696[/C][C]10.7652173913043[/C][/ROW]
[ROW][C]106[/C][C]229.1[/C][C]217.734782608696[/C][C]11.3652173913043[/C][/ROW]
[ROW][C]107[/C][C]229.9[/C][C]217.734782608696[/C][C]12.1652173913043[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5491&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5491&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
1102.3155.132142857144-52.8321428571437
2105.8155.132142857143-49.332142857143
3106.7155.132142857143-48.4321428571428
4109.6155.132142857143-45.5321428571429
5111.9155.132142857143-43.2321428571428
6113.3155.132142857143-41.8321428571429
7114.6155.132142857143-40.5321428571429
8115.7155.132142857143-39.4321428571428
9117.3155.132142857143-37.8321428571429
10119.8155.132142857143-35.3321428571428
11120.6155.132142857143-34.5321428571429
12121.4155.132142857143-33.7321428571428
13123.5155.132142857143-31.6321428571428
14125.2155.132142857143-29.9321428571428
15126155.132142857143-29.1321428571428
16126.8155.132142857143-28.3321428571429
17128.1155.132142857143-27.0321428571429
18128.2155.132142857143-26.9321428571429
19129.3155.132142857143-25.8321428571428
20130.6155.132142857143-24.5321428571429
21131.4155.132142857143-23.7321428571428
22131.1155.132142857143-24.0321428571429
23131.2155.132142857143-23.9321428571429
24131.2155.132142857143-23.9321428571429
25131.5155.132142857143-23.6321428571428
26133.5155.132142857143-21.6321428571429
27133.7155.132142857143-21.4321428571429
28133.5155.132142857143-21.6321428571429
29134155.132142857143-21.1321428571429
30135.9155.132142857143-19.2321428571428
31135.9155.132142857143-19.2321428571428
32137.2155.132142857143-17.9321428571429
33138.4155.132142857143-16.7321428571428
34140.9155.132142857143-14.2321428571428
35143155.132142857143-12.1321428571428
36144.1155.132142857143-11.0321428571429
37146.8155.132142857143-8.33214285714284
38149.1155.132142857143-6.03214285714286
39149.6155.132142857143-5.53214285714286
40151.2155.132142857143-3.93214285714286
41153.3155.132142857143-1.83214285714284
42156.9155.1321428571431.76785714285716
43157.2155.1321428571432.06785714285714
44158.5155.1321428571433.36785714285715
45160155.1321428571434.86785714285715
46162.5155.1321428571437.36785714285715
47162.9155.1321428571437.76785714285716
48164.7155.1321428571439.56785714285714
49165155.1321428571439.86785714285715
50167.2155.13214285714312.0678571428571
51168.6155.13214285714313.4678571428571
52169.5155.13214285714314.3678571428572
53169.8155.13214285714314.6678571428572
54171.9155.13214285714316.7678571428572
55172155.13214285714316.8678571428572
56173.7155.13214285714318.5678571428571
57173.9155.13214285714318.7678571428572
58175.9155.13214285714320.7678571428572
59175.6155.13214285714320.4678571428571
60176.1155.13214285714320.9678571428571
61176.3155.13214285714321.1678571428572
62179.4155.13214285714324.2678571428572
63179.7155.13214285714324.5678571428571
64179.9155.13214285714324.7678571428572
65180.4155.13214285714325.2678571428572
66182.5155.13214285714327.3678571428571
67183.6155.13214285714328.4678571428571
68183.9155.13214285714328.7678571428572
69184.5155.13214285714329.3678571428571
70187.6155.13214285714332.4678571428571
71188155.13214285714332.8678571428571
72188.5155.13214285714333.3678571428571
73188.6155.13214285714333.4678571428571
74191.9155.13214285714336.7678571428572
75193.5155.13214285714338.3678571428571
76194.9155.13214285714339.7678571428572
77194.9155.13214285714339.7678571428572
78196.2155.13214285714341.0678571428571
79196.2155.13214285714341.0678571428571
80198155.13214285714342.8678571428571
81198.6155.13214285714343.4678571428571
82201.3155.13214285714346.1678571428572
83203.5155.13214285714348.3678571428571
84204.1155.13214285714348.9678571428571
85204.8217.734782608696-12.9347826086956
86206.5217.734782608696-11.2347826086957
87207.8217.734782608696-9.93478260869565
88208.6217.734782608696-9.13478260869566
89209.7217.734782608696-8.03478260869567
90210217.734782608696-7.73478260869566
91211.7217.734782608696-6.03478260869567
92212.4217.734782608696-5.33478260869565
93213.7217.734782608696-4.03478260869567
94214.8217.734782608696-2.93478260869565
95216.4217.734782608696-1.33478260869565
96217.5217.734782608696-0.234782608695657
97218.6217.7347826086960.865217391304337
98220.4217.7347826086962.66521739130435
99221.8217.7347826086964.06521739130435
100222.5217.7347826086964.76521739130434
101223.4217.7347826086965.66521739130435
102225.5217.7347826086967.76521739130434
103226.5217.7347826086968.76521739130434
104227.8217.73478260869610.0652173913044
105228.5217.73478260869610.7652173913043
106229.1217.73478260869611.3652173913043
107229.9217.73478260869612.1652173913043



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