Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 13 Dec 2007 13:14: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/Dec/13/t1197575972mzdre6z2i4riwqz.htm/, Retrieved Sun, 05 May 2024 12:49:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3707, Retrieved Sun, 05 May 2024 12:49:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsmultiplie
Estimated Impact175
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper] [2007-12-13 20:14:08] [8ce1ad2ac57e06e10fb37a1292ae8cb6] [Current]
Feedback Forum

Post a new message
Dataseries X:
98,6	0
98	0
106,8	0
96,6	0
100,1	0
107,7	0
91,5	0
97,8	0
107,4	0
117,5	0
105,6	0
97,4	0
99,5	1
98	1
104,3	1
100,6	1
101,1	1
103,9	1
96,9	1
95,5	1
108,4	1
117	1
103,8	1
100,8	1
110,6	1
104	1
112,6	1
107,3	1
98,9	1
109,8	1
104,9	1
102,2	1
123,9	1
124,9	1
112,7	1
121,9	1
100,6	1
104,3	1
120,4	1
107,5	1
102,9	1
125,6	1
107,5	1
108,8	1
128,4	1
121,1	1
119,5	1
128,7	1
108,7	1
105,5	1
119,8	1
111,3	1
110,6	1
120,1	1
97,5	1
107,7	1
127,3	1
117,2	1
119,8	1
116,2	1
111	1
112,4	1
130,6	1
109,1	1
118,8	1
123,9	1
101,6	1
112,8	1
128	1
129,6	1
125,8	1
119,5	1
115,7	1
113,6	1
129,7	1
112	1
116,8	1
126,3	1
112,9	1
115,9	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 7 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3707&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3707&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3707&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 time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Totaal[t] = + 102.481594202899 -0.137608695652164`Invoering-euro`[t] -6.29953157349899M1[t] -7.84992236024845M2[t] + 4.49968685300207M3[t] -7.17927536231885M4[t] -6.77252329192547M5[t] + 2.67708592132505M6[t] -12.5304477225673M7[t] -8.82369565217391M8[t] + 7.32021997929607M9[t] + 7.69125776397515M10[t] + 0.728962215320908M11[t] + 0.278962215320911t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Totaal[t] =  +  102.481594202899 -0.137608695652164`Invoering-euro`[t] -6.29953157349899M1[t] -7.84992236024845M2[t] +  4.49968685300207M3[t] -7.17927536231885M4[t] -6.77252329192547M5[t] +  2.67708592132505M6[t] -12.5304477225673M7[t] -8.82369565217391M8[t] +  7.32021997929607M9[t] +  7.69125776397515M10[t] +  0.728962215320908M11[t] +  0.278962215320911t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3707&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Totaal[t] =  +  102.481594202899 -0.137608695652164`Invoering-euro`[t] -6.29953157349899M1[t] -7.84992236024845M2[t] +  4.49968685300207M3[t] -7.17927536231885M4[t] -6.77252329192547M5[t] +  2.67708592132505M6[t] -12.5304477225673M7[t] -8.82369565217391M8[t] +  7.32021997929607M9[t] +  7.69125776397515M10[t] +  0.728962215320908M11[t] +  0.278962215320911t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3707&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3707&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
Totaal[t] = + 102.481594202899 -0.137608695652164`Invoering-euro`[t] -6.29953157349899M1[t] -7.84992236024845M2[t] + 4.49968685300207M3[t] -7.17927536231885M4[t] -6.77252329192547M5[t] + 2.67708592132505M6[t] -12.5304477225673M7[t] -8.82369565217391M8[t] + 7.32021997929607M9[t] + 7.69125776397515M10[t] + 0.728962215320908M11[t] + 0.278962215320911t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)102.4815942028992.28226544.903500
`Invoering-euro`-0.1376086956521641.871257-0.07350.94160.4708
M1-6.299531573498992.61041-2.41320.0185960.009298
M2-7.849922360248452.608649-3.00920.0037070.001853
M34.499686853002072.607211.72590.0890510.044526
M4-7.179275362318852.606093-2.75480.0075820.003791
M5-6.772523291925472.605299-2.59950.0115070.005753
M62.677085921325052.6048291.02770.3078240.153912
M7-12.53044772256732.604683-4.81079e-065e-06
M8-8.823695652173912.604859-3.38740.0011930.000597
M97.320219979296072.7041672.7070.0086340.004317
M107.691257763975152.7033872.8450.0059080.002954
M110.7289622153209082.702920.26970.7882370.394118
t0.2789622153209110.0290329.608800

\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) & 102.481594202899 & 2.282265 & 44.9035 & 0 & 0 \tabularnewline
`Invoering-euro` & -0.137608695652164 & 1.871257 & -0.0735 & 0.9416 & 0.4708 \tabularnewline
M1 & -6.29953157349899 & 2.61041 & -2.4132 & 0.018596 & 0.009298 \tabularnewline
M2 & -7.84992236024845 & 2.608649 & -3.0092 & 0.003707 & 0.001853 \tabularnewline
M3 & 4.49968685300207 & 2.60721 & 1.7259 & 0.089051 & 0.044526 \tabularnewline
M4 & -7.17927536231885 & 2.606093 & -2.7548 & 0.007582 & 0.003791 \tabularnewline
M5 & -6.77252329192547 & 2.605299 & -2.5995 & 0.011507 & 0.005753 \tabularnewline
M6 & 2.67708592132505 & 2.604829 & 1.0277 & 0.307824 & 0.153912 \tabularnewline
M7 & -12.5304477225673 & 2.604683 & -4.8107 & 9e-06 & 5e-06 \tabularnewline
M8 & -8.82369565217391 & 2.604859 & -3.3874 & 0.001193 & 0.000597 \tabularnewline
M9 & 7.32021997929607 & 2.704167 & 2.707 & 0.008634 & 0.004317 \tabularnewline
M10 & 7.69125776397515 & 2.703387 & 2.845 & 0.005908 & 0.002954 \tabularnewline
M11 & 0.728962215320908 & 2.70292 & 0.2697 & 0.788237 & 0.394118 \tabularnewline
t & 0.278962215320911 & 0.029032 & 9.6088 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3707&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]102.481594202899[/C][C]2.282265[/C][C]44.9035[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`Invoering-euro`[/C][C]-0.137608695652164[/C][C]1.871257[/C][C]-0.0735[/C][C]0.9416[/C][C]0.4708[/C][/ROW]
[ROW][C]M1[/C][C]-6.29953157349899[/C][C]2.61041[/C][C]-2.4132[/C][C]0.018596[/C][C]0.009298[/C][/ROW]
[ROW][C]M2[/C][C]-7.84992236024845[/C][C]2.608649[/C][C]-3.0092[/C][C]0.003707[/C][C]0.001853[/C][/ROW]
[ROW][C]M3[/C][C]4.49968685300207[/C][C]2.60721[/C][C]1.7259[/C][C]0.089051[/C][C]0.044526[/C][/ROW]
[ROW][C]M4[/C][C]-7.17927536231885[/C][C]2.606093[/C][C]-2.7548[/C][C]0.007582[/C][C]0.003791[/C][/ROW]
[ROW][C]M5[/C][C]-6.77252329192547[/C][C]2.605299[/C][C]-2.5995[/C][C]0.011507[/C][C]0.005753[/C][/ROW]
[ROW][C]M6[/C][C]2.67708592132505[/C][C]2.604829[/C][C]1.0277[/C][C]0.307824[/C][C]0.153912[/C][/ROW]
[ROW][C]M7[/C][C]-12.5304477225673[/C][C]2.604683[/C][C]-4.8107[/C][C]9e-06[/C][C]5e-06[/C][/ROW]
[ROW][C]M8[/C][C]-8.82369565217391[/C][C]2.604859[/C][C]-3.3874[/C][C]0.001193[/C][C]0.000597[/C][/ROW]
[ROW][C]M9[/C][C]7.32021997929607[/C][C]2.704167[/C][C]2.707[/C][C]0.008634[/C][C]0.004317[/C][/ROW]
[ROW][C]M10[/C][C]7.69125776397515[/C][C]2.703387[/C][C]2.845[/C][C]0.005908[/C][C]0.002954[/C][/ROW]
[ROW][C]M11[/C][C]0.728962215320908[/C][C]2.70292[/C][C]0.2697[/C][C]0.788237[/C][C]0.394118[/C][/ROW]
[ROW][C]t[/C][C]0.278962215320911[/C][C]0.029032[/C][C]9.6088[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3707&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3707&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)102.4815942028992.28226544.903500
`Invoering-euro`-0.1376086956521641.871257-0.07350.94160.4708
M1-6.299531573498992.61041-2.41320.0185960.009298
M2-7.849922360248452.608649-3.00920.0037070.001853
M34.499686853002072.607211.72590.0890510.044526
M4-7.179275362318852.606093-2.75480.0075820.003791
M5-6.772523291925472.605299-2.59950.0115070.005753
M62.677085921325052.6048291.02770.3078240.153912
M7-12.53044772256732.604683-4.81079e-065e-06
M8-8.823695652173912.604859-3.38740.0011930.000597
M97.320219979296072.7041672.7070.0086340.004317
M107.691257763975152.7033872.8450.0059080.002954
M110.7289622153209082.702920.26970.7882370.394118
t0.2789622153209110.0290329.608800







Multiple Linear Regression - Regression Statistics
Multiple R0.905056056983445
R-squared0.819126466282421
Adjusted R-squared0.783499861156231
F-TEST (value)22.9919876839532
F-TEST (DF numerator)13
F-TEST (DF denominator)66
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.68132387382237
Sum Squared Residuals1446.37635196687

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.905056056983445 \tabularnewline
R-squared & 0.819126466282421 \tabularnewline
Adjusted R-squared & 0.783499861156231 \tabularnewline
F-TEST (value) & 22.9919876839532 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 66 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.68132387382237 \tabularnewline
Sum Squared Residuals & 1446.37635196687 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3707&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.905056056983445[/C][/ROW]
[ROW][C]R-squared[/C][C]0.819126466282421[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.783499861156231[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]22.9919876839532[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]66[/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]4.68132387382237[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1446.37635196687[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3707&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3707&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.905056056983445
R-squared0.819126466282421
Adjusted R-squared0.783499861156231
F-TEST (value)22.9919876839532
F-TEST (DF numerator)13
F-TEST (DF denominator)66
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.68132387382237
Sum Squared Residuals1446.37635196687







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
198.696.46102484472062.13897515527940
29895.1895962732922.81040372670809
3106.8107.818167701863-1.01816770186334
496.696.41816770186330.181832298136651
5100.197.10388198757762.99611801242237
6107.7106.8324534161490.867546583850943
791.591.9038819875776-0.403881987577632
897.895.8895962732921.91040372670808
9107.4112.312474120083-4.91247412008281
10117.5112.9624741200834.53752587991719
11105.6106.279140786749-0.679140786749476
1297.4105.829140786749-8.42914078674947
1399.599.6709627329192-0.170962732919236
149898.3995341614907-0.399534161490687
15104.3111.028105590062-6.72810559006211
16100.699.62810559006210.971894409937882
17101.1100.3138198757760.786180124223593
18103.9110.042391304348-6.14239130434782
1996.995.11381987577641.78618012422361
2095.599.0995341614907-3.59953416149068
21108.4115.522412008282-7.12241200828158
22117116.1724120082820.827587991718423
23103.8109.489078674948-5.68907867494824
24100.8109.039078674948-8.23907867494825
25110.6103.0185093167707.58149068322982
26104101.7470807453422.25291925465838
27112.6114.375652173913-1.77565217391305
28107.3102.9756521739134.32434782608695
2998.9103.661366459627-4.76136645962732
30109.8113.389937888199-3.58993788819876
31104.998.46136645962736.43863354037267
32102.2102.447080745342-0.247080745341614
33123.9118.8699585921335.0300414078675
34124.9119.5199585921335.3800414078675
35112.7112.836625258799-0.136625258799168
36121.9112.3866252587999.51337474120083
37100.6106.366055900621-5.76605590062111
38104.3105.094627329193-0.794627329192551
39120.4117.7231987577642.67680124223603
40107.5106.3231987577641.17680124223603
41102.9107.008913043478-4.10891304347825
42125.6116.7374844720508.8625155279503
43107.5101.8089130434785.69108695652174
44108.8105.7946273291933.00537267080745
45128.4122.2175051759836.18249482401657
46121.1122.867505175983-1.76750517598344
47119.5116.184171842653.31582815734989
48128.7115.7341718426512.9658281573499
49108.7109.713602484472-1.01360248447203
50105.5108.442173913043-2.94217391304348
51119.8121.070745341615-1.27074534161491
52111.3109.6707453416151.62925465838509
53110.6110.3564596273290.243540372670804
54120.1120.0850310559010.0149689440993698
5597.5105.156459627329-7.6564596273292
56107.7109.142173913043-1.44217391304348
57127.3125.5650517598341.73494824016562
58117.2126.215051759834-9.01505175983436
59119.8119.5317184265010.268281573498962
60116.2119.081718426501-2.88171842650104
61111113.061149068323-2.06114906832296
62112.4111.7897204968940.610279503105595
63130.6124.4182919254666.18170807453416
64109.1113.018291925466-3.91829192546584
65118.8113.7040062111805.09599378881987
66123.9123.4325776397520.467422360248452
67101.6108.504006211180-6.90400621118014
68112.8112.4897204968940.310279503105583
69128128.912598343685-0.912598343685306
70129.6129.5625983436850.0374016563146953
71125.8122.8792650103522.92073498964803
72119.5122.429265010352-2.92926501035197
73115.7116.408695652174-0.708695652173893
74113.6115.137267080745-1.53726708074535
75129.7127.7658385093171.93416149068322
76112116.365838509317-4.36583850931677
77116.8117.051552795031-0.251552795031058
78126.3126.780124223602-0.480124223602485
79112.9111.8515527950311.04844720496895
80115.9115.8372670807450.0627329192546639

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 98.6 & 96.4610248447206 & 2.13897515527940 \tabularnewline
2 & 98 & 95.189596273292 & 2.81040372670809 \tabularnewline
3 & 106.8 & 107.818167701863 & -1.01816770186334 \tabularnewline
4 & 96.6 & 96.4181677018633 & 0.181832298136651 \tabularnewline
5 & 100.1 & 97.1038819875776 & 2.99611801242237 \tabularnewline
6 & 107.7 & 106.832453416149 & 0.867546583850943 \tabularnewline
7 & 91.5 & 91.9038819875776 & -0.403881987577632 \tabularnewline
8 & 97.8 & 95.889596273292 & 1.91040372670808 \tabularnewline
9 & 107.4 & 112.312474120083 & -4.91247412008281 \tabularnewline
10 & 117.5 & 112.962474120083 & 4.53752587991719 \tabularnewline
11 & 105.6 & 106.279140786749 & -0.679140786749476 \tabularnewline
12 & 97.4 & 105.829140786749 & -8.42914078674947 \tabularnewline
13 & 99.5 & 99.6709627329192 & -0.170962732919236 \tabularnewline
14 & 98 & 98.3995341614907 & -0.399534161490687 \tabularnewline
15 & 104.3 & 111.028105590062 & -6.72810559006211 \tabularnewline
16 & 100.6 & 99.6281055900621 & 0.971894409937882 \tabularnewline
17 & 101.1 & 100.313819875776 & 0.786180124223593 \tabularnewline
18 & 103.9 & 110.042391304348 & -6.14239130434782 \tabularnewline
19 & 96.9 & 95.1138198757764 & 1.78618012422361 \tabularnewline
20 & 95.5 & 99.0995341614907 & -3.59953416149068 \tabularnewline
21 & 108.4 & 115.522412008282 & -7.12241200828158 \tabularnewline
22 & 117 & 116.172412008282 & 0.827587991718423 \tabularnewline
23 & 103.8 & 109.489078674948 & -5.68907867494824 \tabularnewline
24 & 100.8 & 109.039078674948 & -8.23907867494825 \tabularnewline
25 & 110.6 & 103.018509316770 & 7.58149068322982 \tabularnewline
26 & 104 & 101.747080745342 & 2.25291925465838 \tabularnewline
27 & 112.6 & 114.375652173913 & -1.77565217391305 \tabularnewline
28 & 107.3 & 102.975652173913 & 4.32434782608695 \tabularnewline
29 & 98.9 & 103.661366459627 & -4.76136645962732 \tabularnewline
30 & 109.8 & 113.389937888199 & -3.58993788819876 \tabularnewline
31 & 104.9 & 98.4613664596273 & 6.43863354037267 \tabularnewline
32 & 102.2 & 102.447080745342 & -0.247080745341614 \tabularnewline
33 & 123.9 & 118.869958592133 & 5.0300414078675 \tabularnewline
34 & 124.9 & 119.519958592133 & 5.3800414078675 \tabularnewline
35 & 112.7 & 112.836625258799 & -0.136625258799168 \tabularnewline
36 & 121.9 & 112.386625258799 & 9.51337474120083 \tabularnewline
37 & 100.6 & 106.366055900621 & -5.76605590062111 \tabularnewline
38 & 104.3 & 105.094627329193 & -0.794627329192551 \tabularnewline
39 & 120.4 & 117.723198757764 & 2.67680124223603 \tabularnewline
40 & 107.5 & 106.323198757764 & 1.17680124223603 \tabularnewline
41 & 102.9 & 107.008913043478 & -4.10891304347825 \tabularnewline
42 & 125.6 & 116.737484472050 & 8.8625155279503 \tabularnewline
43 & 107.5 & 101.808913043478 & 5.69108695652174 \tabularnewline
44 & 108.8 & 105.794627329193 & 3.00537267080745 \tabularnewline
45 & 128.4 & 122.217505175983 & 6.18249482401657 \tabularnewline
46 & 121.1 & 122.867505175983 & -1.76750517598344 \tabularnewline
47 & 119.5 & 116.18417184265 & 3.31582815734989 \tabularnewline
48 & 128.7 & 115.73417184265 & 12.9658281573499 \tabularnewline
49 & 108.7 & 109.713602484472 & -1.01360248447203 \tabularnewline
50 & 105.5 & 108.442173913043 & -2.94217391304348 \tabularnewline
51 & 119.8 & 121.070745341615 & -1.27074534161491 \tabularnewline
52 & 111.3 & 109.670745341615 & 1.62925465838509 \tabularnewline
53 & 110.6 & 110.356459627329 & 0.243540372670804 \tabularnewline
54 & 120.1 & 120.085031055901 & 0.0149689440993698 \tabularnewline
55 & 97.5 & 105.156459627329 & -7.6564596273292 \tabularnewline
56 & 107.7 & 109.142173913043 & -1.44217391304348 \tabularnewline
57 & 127.3 & 125.565051759834 & 1.73494824016562 \tabularnewline
58 & 117.2 & 126.215051759834 & -9.01505175983436 \tabularnewline
59 & 119.8 & 119.531718426501 & 0.268281573498962 \tabularnewline
60 & 116.2 & 119.081718426501 & -2.88171842650104 \tabularnewline
61 & 111 & 113.061149068323 & -2.06114906832296 \tabularnewline
62 & 112.4 & 111.789720496894 & 0.610279503105595 \tabularnewline
63 & 130.6 & 124.418291925466 & 6.18170807453416 \tabularnewline
64 & 109.1 & 113.018291925466 & -3.91829192546584 \tabularnewline
65 & 118.8 & 113.704006211180 & 5.09599378881987 \tabularnewline
66 & 123.9 & 123.432577639752 & 0.467422360248452 \tabularnewline
67 & 101.6 & 108.504006211180 & -6.90400621118014 \tabularnewline
68 & 112.8 & 112.489720496894 & 0.310279503105583 \tabularnewline
69 & 128 & 128.912598343685 & -0.912598343685306 \tabularnewline
70 & 129.6 & 129.562598343685 & 0.0374016563146953 \tabularnewline
71 & 125.8 & 122.879265010352 & 2.92073498964803 \tabularnewline
72 & 119.5 & 122.429265010352 & -2.92926501035197 \tabularnewline
73 & 115.7 & 116.408695652174 & -0.708695652173893 \tabularnewline
74 & 113.6 & 115.137267080745 & -1.53726708074535 \tabularnewline
75 & 129.7 & 127.765838509317 & 1.93416149068322 \tabularnewline
76 & 112 & 116.365838509317 & -4.36583850931677 \tabularnewline
77 & 116.8 & 117.051552795031 & -0.251552795031058 \tabularnewline
78 & 126.3 & 126.780124223602 & -0.480124223602485 \tabularnewline
79 & 112.9 & 111.851552795031 & 1.04844720496895 \tabularnewline
80 & 115.9 & 115.837267080745 & 0.0627329192546639 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3707&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]98.6[/C][C]96.4610248447206[/C][C]2.13897515527940[/C][/ROW]
[ROW][C]2[/C][C]98[/C][C]95.189596273292[/C][C]2.81040372670809[/C][/ROW]
[ROW][C]3[/C][C]106.8[/C][C]107.818167701863[/C][C]-1.01816770186334[/C][/ROW]
[ROW][C]4[/C][C]96.6[/C][C]96.4181677018633[/C][C]0.181832298136651[/C][/ROW]
[ROW][C]5[/C][C]100.1[/C][C]97.1038819875776[/C][C]2.99611801242237[/C][/ROW]
[ROW][C]6[/C][C]107.7[/C][C]106.832453416149[/C][C]0.867546583850943[/C][/ROW]
[ROW][C]7[/C][C]91.5[/C][C]91.9038819875776[/C][C]-0.403881987577632[/C][/ROW]
[ROW][C]8[/C][C]97.8[/C][C]95.889596273292[/C][C]1.91040372670808[/C][/ROW]
[ROW][C]9[/C][C]107.4[/C][C]112.312474120083[/C][C]-4.91247412008281[/C][/ROW]
[ROW][C]10[/C][C]117.5[/C][C]112.962474120083[/C][C]4.53752587991719[/C][/ROW]
[ROW][C]11[/C][C]105.6[/C][C]106.279140786749[/C][C]-0.679140786749476[/C][/ROW]
[ROW][C]12[/C][C]97.4[/C][C]105.829140786749[/C][C]-8.42914078674947[/C][/ROW]
[ROW][C]13[/C][C]99.5[/C][C]99.6709627329192[/C][C]-0.170962732919236[/C][/ROW]
[ROW][C]14[/C][C]98[/C][C]98.3995341614907[/C][C]-0.399534161490687[/C][/ROW]
[ROW][C]15[/C][C]104.3[/C][C]111.028105590062[/C][C]-6.72810559006211[/C][/ROW]
[ROW][C]16[/C][C]100.6[/C][C]99.6281055900621[/C][C]0.971894409937882[/C][/ROW]
[ROW][C]17[/C][C]101.1[/C][C]100.313819875776[/C][C]0.786180124223593[/C][/ROW]
[ROW][C]18[/C][C]103.9[/C][C]110.042391304348[/C][C]-6.14239130434782[/C][/ROW]
[ROW][C]19[/C][C]96.9[/C][C]95.1138198757764[/C][C]1.78618012422361[/C][/ROW]
[ROW][C]20[/C][C]95.5[/C][C]99.0995341614907[/C][C]-3.59953416149068[/C][/ROW]
[ROW][C]21[/C][C]108.4[/C][C]115.522412008282[/C][C]-7.12241200828158[/C][/ROW]
[ROW][C]22[/C][C]117[/C][C]116.172412008282[/C][C]0.827587991718423[/C][/ROW]
[ROW][C]23[/C][C]103.8[/C][C]109.489078674948[/C][C]-5.68907867494824[/C][/ROW]
[ROW][C]24[/C][C]100.8[/C][C]109.039078674948[/C][C]-8.23907867494825[/C][/ROW]
[ROW][C]25[/C][C]110.6[/C][C]103.018509316770[/C][C]7.58149068322982[/C][/ROW]
[ROW][C]26[/C][C]104[/C][C]101.747080745342[/C][C]2.25291925465838[/C][/ROW]
[ROW][C]27[/C][C]112.6[/C][C]114.375652173913[/C][C]-1.77565217391305[/C][/ROW]
[ROW][C]28[/C][C]107.3[/C][C]102.975652173913[/C][C]4.32434782608695[/C][/ROW]
[ROW][C]29[/C][C]98.9[/C][C]103.661366459627[/C][C]-4.76136645962732[/C][/ROW]
[ROW][C]30[/C][C]109.8[/C][C]113.389937888199[/C][C]-3.58993788819876[/C][/ROW]
[ROW][C]31[/C][C]104.9[/C][C]98.4613664596273[/C][C]6.43863354037267[/C][/ROW]
[ROW][C]32[/C][C]102.2[/C][C]102.447080745342[/C][C]-0.247080745341614[/C][/ROW]
[ROW][C]33[/C][C]123.9[/C][C]118.869958592133[/C][C]5.0300414078675[/C][/ROW]
[ROW][C]34[/C][C]124.9[/C][C]119.519958592133[/C][C]5.3800414078675[/C][/ROW]
[ROW][C]35[/C][C]112.7[/C][C]112.836625258799[/C][C]-0.136625258799168[/C][/ROW]
[ROW][C]36[/C][C]121.9[/C][C]112.386625258799[/C][C]9.51337474120083[/C][/ROW]
[ROW][C]37[/C][C]100.6[/C][C]106.366055900621[/C][C]-5.76605590062111[/C][/ROW]
[ROW][C]38[/C][C]104.3[/C][C]105.094627329193[/C][C]-0.794627329192551[/C][/ROW]
[ROW][C]39[/C][C]120.4[/C][C]117.723198757764[/C][C]2.67680124223603[/C][/ROW]
[ROW][C]40[/C][C]107.5[/C][C]106.323198757764[/C][C]1.17680124223603[/C][/ROW]
[ROW][C]41[/C][C]102.9[/C][C]107.008913043478[/C][C]-4.10891304347825[/C][/ROW]
[ROW][C]42[/C][C]125.6[/C][C]116.737484472050[/C][C]8.8625155279503[/C][/ROW]
[ROW][C]43[/C][C]107.5[/C][C]101.808913043478[/C][C]5.69108695652174[/C][/ROW]
[ROW][C]44[/C][C]108.8[/C][C]105.794627329193[/C][C]3.00537267080745[/C][/ROW]
[ROW][C]45[/C][C]128.4[/C][C]122.217505175983[/C][C]6.18249482401657[/C][/ROW]
[ROW][C]46[/C][C]121.1[/C][C]122.867505175983[/C][C]-1.76750517598344[/C][/ROW]
[ROW][C]47[/C][C]119.5[/C][C]116.18417184265[/C][C]3.31582815734989[/C][/ROW]
[ROW][C]48[/C][C]128.7[/C][C]115.73417184265[/C][C]12.9658281573499[/C][/ROW]
[ROW][C]49[/C][C]108.7[/C][C]109.713602484472[/C][C]-1.01360248447203[/C][/ROW]
[ROW][C]50[/C][C]105.5[/C][C]108.442173913043[/C][C]-2.94217391304348[/C][/ROW]
[ROW][C]51[/C][C]119.8[/C][C]121.070745341615[/C][C]-1.27074534161491[/C][/ROW]
[ROW][C]52[/C][C]111.3[/C][C]109.670745341615[/C][C]1.62925465838509[/C][/ROW]
[ROW][C]53[/C][C]110.6[/C][C]110.356459627329[/C][C]0.243540372670804[/C][/ROW]
[ROW][C]54[/C][C]120.1[/C][C]120.085031055901[/C][C]0.0149689440993698[/C][/ROW]
[ROW][C]55[/C][C]97.5[/C][C]105.156459627329[/C][C]-7.6564596273292[/C][/ROW]
[ROW][C]56[/C][C]107.7[/C][C]109.142173913043[/C][C]-1.44217391304348[/C][/ROW]
[ROW][C]57[/C][C]127.3[/C][C]125.565051759834[/C][C]1.73494824016562[/C][/ROW]
[ROW][C]58[/C][C]117.2[/C][C]126.215051759834[/C][C]-9.01505175983436[/C][/ROW]
[ROW][C]59[/C][C]119.8[/C][C]119.531718426501[/C][C]0.268281573498962[/C][/ROW]
[ROW][C]60[/C][C]116.2[/C][C]119.081718426501[/C][C]-2.88171842650104[/C][/ROW]
[ROW][C]61[/C][C]111[/C][C]113.061149068323[/C][C]-2.06114906832296[/C][/ROW]
[ROW][C]62[/C][C]112.4[/C][C]111.789720496894[/C][C]0.610279503105595[/C][/ROW]
[ROW][C]63[/C][C]130.6[/C][C]124.418291925466[/C][C]6.18170807453416[/C][/ROW]
[ROW][C]64[/C][C]109.1[/C][C]113.018291925466[/C][C]-3.91829192546584[/C][/ROW]
[ROW][C]65[/C][C]118.8[/C][C]113.704006211180[/C][C]5.09599378881987[/C][/ROW]
[ROW][C]66[/C][C]123.9[/C][C]123.432577639752[/C][C]0.467422360248452[/C][/ROW]
[ROW][C]67[/C][C]101.6[/C][C]108.504006211180[/C][C]-6.90400621118014[/C][/ROW]
[ROW][C]68[/C][C]112.8[/C][C]112.489720496894[/C][C]0.310279503105583[/C][/ROW]
[ROW][C]69[/C][C]128[/C][C]128.912598343685[/C][C]-0.912598343685306[/C][/ROW]
[ROW][C]70[/C][C]129.6[/C][C]129.562598343685[/C][C]0.0374016563146953[/C][/ROW]
[ROW][C]71[/C][C]125.8[/C][C]122.879265010352[/C][C]2.92073498964803[/C][/ROW]
[ROW][C]72[/C][C]119.5[/C][C]122.429265010352[/C][C]-2.92926501035197[/C][/ROW]
[ROW][C]73[/C][C]115.7[/C][C]116.408695652174[/C][C]-0.708695652173893[/C][/ROW]
[ROW][C]74[/C][C]113.6[/C][C]115.137267080745[/C][C]-1.53726708074535[/C][/ROW]
[ROW][C]75[/C][C]129.7[/C][C]127.765838509317[/C][C]1.93416149068322[/C][/ROW]
[ROW][C]76[/C][C]112[/C][C]116.365838509317[/C][C]-4.36583850931677[/C][/ROW]
[ROW][C]77[/C][C]116.8[/C][C]117.051552795031[/C][C]-0.251552795031058[/C][/ROW]
[ROW][C]78[/C][C]126.3[/C][C]126.780124223602[/C][C]-0.480124223602485[/C][/ROW]
[ROW][C]79[/C][C]112.9[/C][C]111.851552795031[/C][C]1.04844720496895[/C][/ROW]
[ROW][C]80[/C][C]115.9[/C][C]115.837267080745[/C][C]0.0627329192546639[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3707&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3707&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
198.696.46102484472062.13897515527940
29895.1895962732922.81040372670809
3106.8107.818167701863-1.01816770186334
496.696.41816770186330.181832298136651
5100.197.10388198757762.99611801242237
6107.7106.8324534161490.867546583850943
791.591.9038819875776-0.403881987577632
897.895.8895962732921.91040372670808
9107.4112.312474120083-4.91247412008281
10117.5112.9624741200834.53752587991719
11105.6106.279140786749-0.679140786749476
1297.4105.829140786749-8.42914078674947
1399.599.6709627329192-0.170962732919236
149898.3995341614907-0.399534161490687
15104.3111.028105590062-6.72810559006211
16100.699.62810559006210.971894409937882
17101.1100.3138198757760.786180124223593
18103.9110.042391304348-6.14239130434782
1996.995.11381987577641.78618012422361
2095.599.0995341614907-3.59953416149068
21108.4115.522412008282-7.12241200828158
22117116.1724120082820.827587991718423
23103.8109.489078674948-5.68907867494824
24100.8109.039078674948-8.23907867494825
25110.6103.0185093167707.58149068322982
26104101.7470807453422.25291925465838
27112.6114.375652173913-1.77565217391305
28107.3102.9756521739134.32434782608695
2998.9103.661366459627-4.76136645962732
30109.8113.389937888199-3.58993788819876
31104.998.46136645962736.43863354037267
32102.2102.447080745342-0.247080745341614
33123.9118.8699585921335.0300414078675
34124.9119.5199585921335.3800414078675
35112.7112.836625258799-0.136625258799168
36121.9112.3866252587999.51337474120083
37100.6106.366055900621-5.76605590062111
38104.3105.094627329193-0.794627329192551
39120.4117.7231987577642.67680124223603
40107.5106.3231987577641.17680124223603
41102.9107.008913043478-4.10891304347825
42125.6116.7374844720508.8625155279503
43107.5101.8089130434785.69108695652174
44108.8105.7946273291933.00537267080745
45128.4122.2175051759836.18249482401657
46121.1122.867505175983-1.76750517598344
47119.5116.184171842653.31582815734989
48128.7115.7341718426512.9658281573499
49108.7109.713602484472-1.01360248447203
50105.5108.442173913043-2.94217391304348
51119.8121.070745341615-1.27074534161491
52111.3109.6707453416151.62925465838509
53110.6110.3564596273290.243540372670804
54120.1120.0850310559010.0149689440993698
5597.5105.156459627329-7.6564596273292
56107.7109.142173913043-1.44217391304348
57127.3125.5650517598341.73494824016562
58117.2126.215051759834-9.01505175983436
59119.8119.5317184265010.268281573498962
60116.2119.081718426501-2.88171842650104
61111113.061149068323-2.06114906832296
62112.4111.7897204968940.610279503105595
63130.6124.4182919254666.18170807453416
64109.1113.018291925466-3.91829192546584
65118.8113.7040062111805.09599378881987
66123.9123.4325776397520.467422360248452
67101.6108.504006211180-6.90400621118014
68112.8112.4897204968940.310279503105583
69128128.912598343685-0.912598343685306
70129.6129.5625983436850.0374016563146953
71125.8122.8792650103522.92073498964803
72119.5122.429265010352-2.92926501035197
73115.7116.408695652174-0.708695652173893
74113.6115.137267080745-1.53726708074535
75129.7127.7658385093171.93416149068322
76112116.365838509317-4.36583850931677
77116.8117.051552795031-0.251552795031058
78126.3126.780124223602-0.480124223602485
79112.9111.8515527950311.04844720496895
80115.9115.8372670807450.0627329192546639



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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')