Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 14 Dec 2007 06:35:31 -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/14/t1197638495dljo3j6ipxpae6l.htm/, Retrieved Fri, 03 May 2024 02:47:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3876, Retrieved Fri, 03 May 2024 02:47:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordss065921, s0650125
Estimated Impact192
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper_multiple_li...] [2007-12-14 13:35:31] [1232d415564adb2a600743f77b12553a] [Current]
Feedback Forum

Post a new message
Dataseries X:
102,7	0	0
103,2	0	0
105,6	0	0
103,9	0	0
107,2	0	0
100,7	0	0
92,1	0	0
90,3	0	0
93,4	0	0
98,5	0	0
100,8	0	0
102,3	0	0
104,7	0	0
101,1	0	0
101,4	0	0
99,5	0	0
98,4	0	0
96,3	0	0
100,7	0	0
101,2	0	0
100,3	0	0
97,8	0	0
97,4	0	0
98,6	0	0
99,7	0	0
99,0	0	0
98,1	0	0
97,0	0	0
98,5	0	0
103,8	0	0
114,4	0	0
124,5	0	0
134,2	0	0
131,8	0	0
125,6	0	0
119,9	0	0
114,9	0	0
115,5	0	0
112,5	0	0
111,4	0	0
115,3	0	0
110,8	0	0
103,7	0	0
111,1	0	1
113,0	0	1
111,2	0	1
117,6	0	1
121,7	0	1
127,3	0	1
129,8	0	1
137,1	0	1
141,4	0	1
137,4	0	1
130,7	0	1
117,2	0	1
110,8	0	-1
111,4	0	-1
108,2	0	-1
108,8	0	-1
110,2	0	-1
109,5	0	-1
109,5	0	-1
116,0	0	-1
111,2	0	-1
112,1	0	-1
114,0	0	-1
119,1	0	-1
114,1	1	-1
115,1	1	-1
115,4	1	-1
110,8	1	0
116,0	1	0
119,2	1	0
126,5	1	0
127,8	1	0
131,3	1	0
140,3	1	0
137,3	1	0
143,0	1	0
134,5	1	0
139,9	1	0
159,3	1	0
170,4	1	0
175,0	1	0
175,8	1	0
180,9	1	0
180,3	1	0
169,6	1	0
172,3	1	0
184,8	1	0
177,7	1	0
184,6	1	0
211,4	1	0
215,3	1	0
215,9	1	0




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=3876&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=3876&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3876&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
graanprijzen[t] = + 87.782122435839 + 15.6852291055731ontkoppelde_bedrijfstoeslag[t] + 12.9295760919322graanomzet[t] + 0.651272079367334t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
graanprijzen[t] =  +  87.782122435839 +  15.6852291055731ontkoppelde_bedrijfstoeslag[t] +  12.9295760919322graanomzet[t] +  0.651272079367334t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3876&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]graanprijzen[t] =  +  87.782122435839 +  15.6852291055731ontkoppelde_bedrijfstoeslag[t] +  12.9295760919322graanomzet[t] +  0.651272079367334t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3876&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3876&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
graanprijzen[t] = + 87.782122435839 + 15.6852291055731ontkoppelde_bedrijfstoeslag[t] + 12.9295760919322graanomzet[t] + 0.651272079367334t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)87.7821224358393.92843722.345300
ontkoppelde_bedrijfstoeslag15.68522910557315.9577532.63270.0099510.004975
graanomzet12.92957609193223.1666384.08319.5e-054.8e-05
t0.6512720793673340.0997536.528900

\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) & 87.782122435839 & 3.928437 & 22.3453 & 0 & 0 \tabularnewline
ontkoppelde_bedrijfstoeslag & 15.6852291055731 & 5.957753 & 2.6327 & 0.009951 & 0.004975 \tabularnewline
graanomzet & 12.9295760919322 & 3.166638 & 4.0831 & 9.5e-05 & 4.8e-05 \tabularnewline
t & 0.651272079367334 & 0.099753 & 6.5289 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3876&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]87.782122435839[/C][C]3.928437[/C][C]22.3453[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]ontkoppelde_bedrijfstoeslag[/C][C]15.6852291055731[/C][C]5.957753[/C][C]2.6327[/C][C]0.009951[/C][C]0.004975[/C][/ROW]
[ROW][C]graanomzet[/C][C]12.9295760919322[/C][C]3.166638[/C][C]4.0831[/C][C]9.5e-05[/C][C]4.8e-05[/C][/ROW]
[ROW][C]t[/C][C]0.651272079367334[/C][C]0.099753[/C][C]6.5289[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3876&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3876&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)87.7821224358393.92843722.345300
ontkoppelde_bedrijfstoeslag15.68522910557315.9577532.63270.0099510.004975
graanomzet12.92957609193223.1666384.08319.5e-054.8e-05
t0.6512720793673340.0997536.528900







Multiple Linear Regression - Regression Statistics
Multiple R0.833389660968943
R-squared0.694538327009929
Adjusted R-squared0.6844681619663
F-TEST (value)68.969905061224
F-TEST (DF numerator)3
F-TEST (DF denominator)91
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16.2262570785637
Sum Squared Residuals23959.5191089472

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.833389660968943 \tabularnewline
R-squared & 0.694538327009929 \tabularnewline
Adjusted R-squared & 0.6844681619663 \tabularnewline
F-TEST (value) & 68.969905061224 \tabularnewline
F-TEST (DF numerator) & 3 \tabularnewline
F-TEST (DF denominator) & 91 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 16.2262570785637 \tabularnewline
Sum Squared Residuals & 23959.5191089472 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3876&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.833389660968943[/C][/ROW]
[ROW][C]R-squared[/C][C]0.694538327009929[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.6844681619663[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]68.969905061224[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]3[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]91[/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]16.2262570785637[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]23959.5191089472[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3876&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3876&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.833389660968943
R-squared0.694538327009929
Adjusted R-squared0.6844681619663
F-TEST (value)68.969905061224
F-TEST (DF numerator)3
F-TEST (DF denominator)91
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16.2262570785637
Sum Squared Residuals23959.5191089472







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1102.788.433394515206514.2666054847935
2103.289.084666594573614.1153334054264
3105.689.73593867394115.8640613260591
4103.990.387210753308313.5127892466917
5107.291.038482832675716.1615171673243
6100.791.6897549120439.010245087957
792.192.3410269914103-0.241026991410338
890.392.9922990707777-2.69229907077767
993.493.643571150145-0.243571150144992
1098.594.29484322951234.20515677048767
11100.894.94611530887975.85388469112033
12102.395.5973873882476.702612611753
13104.796.24865946761438.45134053238566
14101.196.89993154698174.20006845301832
15101.497.5512036263493.848796373651
1699.598.20247570571631.29752429428366
1798.498.8537477850837-0.453747785083666
1896.399.505019864451-3.20501986445101
19100.7100.1562919438180.543708056181662
20101.2100.8075640231860.392435976814327
21100.3101.458836102553-1.15883610255301
2297.8102.110108181920-4.31010818192035
2397.4102.761380261288-5.36138026128767
2498.6103.412652340655-4.81265234065502
2599.7104.063924420022-4.36392442002235
2699104.715196499390-5.71519649938968
2798.1105.366468578757-7.26646857875702
2897106.017740658124-9.01774065812435
2998.5106.669012737492-8.16901273749168
30103.8107.320284816859-3.52028481685902
31114.4107.9715568962266.42844310377365
32124.5108.62282897559415.8771710244063
33134.2109.27410105496124.9258989450390
34131.8109.92537313432821.8746268656717
35125.6110.57664521369615.0233547863043
36119.9111.2279172930638.67208270693698
37114.9111.8791893724303.02081062756965
38115.5112.5304614517982.96953854820230
39112.5113.181733531165-0.68173353116503
40111.4113.833005610532-2.43300561053236
41115.3114.4842776899000.8157223101003
42110.8115.135549769267-4.33554976926704
43103.7115.786821848634-12.0868218486344
44111.1129.367670019934-18.2676700199340
45113130.018942099301-17.0189420993013
46111.2130.670214178669-19.4702141786686
47117.6131.321486258036-13.7214862580360
48121.7131.972758337403-10.2727583374033
49127.3132.624030416771-5.32403041677062
50129.8133.275302496138-3.47530249613795
51137.1133.9265745755053.17342542449471
52141.4134.5778466548736.82215334512738
53137.4135.229118734242.17088126576005
54130.7135.880390813607-5.18039081360731
55117.2136.531662892975-19.3316628929746
56110.8111.323782788477-0.523782788477468
57111.4111.975054867845-0.575054867844793
58108.2112.626326947212-4.42632694721213
59108.8113.277599026579-4.47759902657947
60110.2113.928871105947-3.7288711059468
61109.5114.580143185314-5.08014318531414
62109.5115.231415264681-5.73141526468147
63116115.8826873440490.117312655951195
64111.2116.533959423416-5.33395942341613
65112.1117.185231502783-5.08523150278348
66114117.836503582151-3.83650358215081
67119.1118.4877756615180.61222433848185
68114.1134.824276846459-20.7242768464586
69115.1135.475548925826-20.3755489258260
70115.4136.126821005193-20.7268210051933
71110.8149.707669176493-38.9076691764929
72116150.358941255860-34.3589412558602
73119.2151.010213335228-31.8102133352275
74126.5151.661485414595-25.1614854145949
75127.8152.312757493962-24.5127574939622
76131.3152.964029573330-21.6640295733295
77140.3153.615301652697-13.3153016526969
78137.3154.266573732064-16.9665737320642
79143154.917845811432-11.9178458114316
80134.5155.569117890799-21.0691178907989
81139.9156.220389970166-16.3203899701662
82159.3156.8716620495342.42833795046645
83170.4157.52293412890112.8770658710991
84175158.17420620826816.8257937917318
85175.8158.82547828763616.9745217123644
86180.9159.47675036700321.4232496329971
87180.3160.12802244637020.1719775536298
88169.6160.7792945257388.82070547426243
89172.3161.43056660510510.8694333948951
90184.8162.08183868447222.7181613155278
91177.7162.73311076384014.9668892361604
92184.6163.38438284320721.2156171567931
93211.4164.03565492257447.3643450774258
94215.3164.68692700194250.6130729980584
95215.9165.33819908130950.5618009186911

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 102.7 & 88.4333945152065 & 14.2666054847935 \tabularnewline
2 & 103.2 & 89.0846665945736 & 14.1153334054264 \tabularnewline
3 & 105.6 & 89.735938673941 & 15.8640613260591 \tabularnewline
4 & 103.9 & 90.3872107533083 & 13.5127892466917 \tabularnewline
5 & 107.2 & 91.0384828326757 & 16.1615171673243 \tabularnewline
6 & 100.7 & 91.689754912043 & 9.010245087957 \tabularnewline
7 & 92.1 & 92.3410269914103 & -0.241026991410338 \tabularnewline
8 & 90.3 & 92.9922990707777 & -2.69229907077767 \tabularnewline
9 & 93.4 & 93.643571150145 & -0.243571150144992 \tabularnewline
10 & 98.5 & 94.2948432295123 & 4.20515677048767 \tabularnewline
11 & 100.8 & 94.9461153088797 & 5.85388469112033 \tabularnewline
12 & 102.3 & 95.597387388247 & 6.702612611753 \tabularnewline
13 & 104.7 & 96.2486594676143 & 8.45134053238566 \tabularnewline
14 & 101.1 & 96.8999315469817 & 4.20006845301832 \tabularnewline
15 & 101.4 & 97.551203626349 & 3.848796373651 \tabularnewline
16 & 99.5 & 98.2024757057163 & 1.29752429428366 \tabularnewline
17 & 98.4 & 98.8537477850837 & -0.453747785083666 \tabularnewline
18 & 96.3 & 99.505019864451 & -3.20501986445101 \tabularnewline
19 & 100.7 & 100.156291943818 & 0.543708056181662 \tabularnewline
20 & 101.2 & 100.807564023186 & 0.392435976814327 \tabularnewline
21 & 100.3 & 101.458836102553 & -1.15883610255301 \tabularnewline
22 & 97.8 & 102.110108181920 & -4.31010818192035 \tabularnewline
23 & 97.4 & 102.761380261288 & -5.36138026128767 \tabularnewline
24 & 98.6 & 103.412652340655 & -4.81265234065502 \tabularnewline
25 & 99.7 & 104.063924420022 & -4.36392442002235 \tabularnewline
26 & 99 & 104.715196499390 & -5.71519649938968 \tabularnewline
27 & 98.1 & 105.366468578757 & -7.26646857875702 \tabularnewline
28 & 97 & 106.017740658124 & -9.01774065812435 \tabularnewline
29 & 98.5 & 106.669012737492 & -8.16901273749168 \tabularnewline
30 & 103.8 & 107.320284816859 & -3.52028481685902 \tabularnewline
31 & 114.4 & 107.971556896226 & 6.42844310377365 \tabularnewline
32 & 124.5 & 108.622828975594 & 15.8771710244063 \tabularnewline
33 & 134.2 & 109.274101054961 & 24.9258989450390 \tabularnewline
34 & 131.8 & 109.925373134328 & 21.8746268656717 \tabularnewline
35 & 125.6 & 110.576645213696 & 15.0233547863043 \tabularnewline
36 & 119.9 & 111.227917293063 & 8.67208270693698 \tabularnewline
37 & 114.9 & 111.879189372430 & 3.02081062756965 \tabularnewline
38 & 115.5 & 112.530461451798 & 2.96953854820230 \tabularnewline
39 & 112.5 & 113.181733531165 & -0.68173353116503 \tabularnewline
40 & 111.4 & 113.833005610532 & -2.43300561053236 \tabularnewline
41 & 115.3 & 114.484277689900 & 0.8157223101003 \tabularnewline
42 & 110.8 & 115.135549769267 & -4.33554976926704 \tabularnewline
43 & 103.7 & 115.786821848634 & -12.0868218486344 \tabularnewline
44 & 111.1 & 129.367670019934 & -18.2676700199340 \tabularnewline
45 & 113 & 130.018942099301 & -17.0189420993013 \tabularnewline
46 & 111.2 & 130.670214178669 & -19.4702141786686 \tabularnewline
47 & 117.6 & 131.321486258036 & -13.7214862580360 \tabularnewline
48 & 121.7 & 131.972758337403 & -10.2727583374033 \tabularnewline
49 & 127.3 & 132.624030416771 & -5.32403041677062 \tabularnewline
50 & 129.8 & 133.275302496138 & -3.47530249613795 \tabularnewline
51 & 137.1 & 133.926574575505 & 3.17342542449471 \tabularnewline
52 & 141.4 & 134.577846654873 & 6.82215334512738 \tabularnewline
53 & 137.4 & 135.22911873424 & 2.17088126576005 \tabularnewline
54 & 130.7 & 135.880390813607 & -5.18039081360731 \tabularnewline
55 & 117.2 & 136.531662892975 & -19.3316628929746 \tabularnewline
56 & 110.8 & 111.323782788477 & -0.523782788477468 \tabularnewline
57 & 111.4 & 111.975054867845 & -0.575054867844793 \tabularnewline
58 & 108.2 & 112.626326947212 & -4.42632694721213 \tabularnewline
59 & 108.8 & 113.277599026579 & -4.47759902657947 \tabularnewline
60 & 110.2 & 113.928871105947 & -3.7288711059468 \tabularnewline
61 & 109.5 & 114.580143185314 & -5.08014318531414 \tabularnewline
62 & 109.5 & 115.231415264681 & -5.73141526468147 \tabularnewline
63 & 116 & 115.882687344049 & 0.117312655951195 \tabularnewline
64 & 111.2 & 116.533959423416 & -5.33395942341613 \tabularnewline
65 & 112.1 & 117.185231502783 & -5.08523150278348 \tabularnewline
66 & 114 & 117.836503582151 & -3.83650358215081 \tabularnewline
67 & 119.1 & 118.487775661518 & 0.61222433848185 \tabularnewline
68 & 114.1 & 134.824276846459 & -20.7242768464586 \tabularnewline
69 & 115.1 & 135.475548925826 & -20.3755489258260 \tabularnewline
70 & 115.4 & 136.126821005193 & -20.7268210051933 \tabularnewline
71 & 110.8 & 149.707669176493 & -38.9076691764929 \tabularnewline
72 & 116 & 150.358941255860 & -34.3589412558602 \tabularnewline
73 & 119.2 & 151.010213335228 & -31.8102133352275 \tabularnewline
74 & 126.5 & 151.661485414595 & -25.1614854145949 \tabularnewline
75 & 127.8 & 152.312757493962 & -24.5127574939622 \tabularnewline
76 & 131.3 & 152.964029573330 & -21.6640295733295 \tabularnewline
77 & 140.3 & 153.615301652697 & -13.3153016526969 \tabularnewline
78 & 137.3 & 154.266573732064 & -16.9665737320642 \tabularnewline
79 & 143 & 154.917845811432 & -11.9178458114316 \tabularnewline
80 & 134.5 & 155.569117890799 & -21.0691178907989 \tabularnewline
81 & 139.9 & 156.220389970166 & -16.3203899701662 \tabularnewline
82 & 159.3 & 156.871662049534 & 2.42833795046645 \tabularnewline
83 & 170.4 & 157.522934128901 & 12.8770658710991 \tabularnewline
84 & 175 & 158.174206208268 & 16.8257937917318 \tabularnewline
85 & 175.8 & 158.825478287636 & 16.9745217123644 \tabularnewline
86 & 180.9 & 159.476750367003 & 21.4232496329971 \tabularnewline
87 & 180.3 & 160.128022446370 & 20.1719775536298 \tabularnewline
88 & 169.6 & 160.779294525738 & 8.82070547426243 \tabularnewline
89 & 172.3 & 161.430566605105 & 10.8694333948951 \tabularnewline
90 & 184.8 & 162.081838684472 & 22.7181613155278 \tabularnewline
91 & 177.7 & 162.733110763840 & 14.9668892361604 \tabularnewline
92 & 184.6 & 163.384382843207 & 21.2156171567931 \tabularnewline
93 & 211.4 & 164.035654922574 & 47.3643450774258 \tabularnewline
94 & 215.3 & 164.686927001942 & 50.6130729980584 \tabularnewline
95 & 215.9 & 165.338199081309 & 50.5618009186911 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3876&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.7[/C][C]88.4333945152065[/C][C]14.2666054847935[/C][/ROW]
[ROW][C]2[/C][C]103.2[/C][C]89.0846665945736[/C][C]14.1153334054264[/C][/ROW]
[ROW][C]3[/C][C]105.6[/C][C]89.735938673941[/C][C]15.8640613260591[/C][/ROW]
[ROW][C]4[/C][C]103.9[/C][C]90.3872107533083[/C][C]13.5127892466917[/C][/ROW]
[ROW][C]5[/C][C]107.2[/C][C]91.0384828326757[/C][C]16.1615171673243[/C][/ROW]
[ROW][C]6[/C][C]100.7[/C][C]91.689754912043[/C][C]9.010245087957[/C][/ROW]
[ROW][C]7[/C][C]92.1[/C][C]92.3410269914103[/C][C]-0.241026991410338[/C][/ROW]
[ROW][C]8[/C][C]90.3[/C][C]92.9922990707777[/C][C]-2.69229907077767[/C][/ROW]
[ROW][C]9[/C][C]93.4[/C][C]93.643571150145[/C][C]-0.243571150144992[/C][/ROW]
[ROW][C]10[/C][C]98.5[/C][C]94.2948432295123[/C][C]4.20515677048767[/C][/ROW]
[ROW][C]11[/C][C]100.8[/C][C]94.9461153088797[/C][C]5.85388469112033[/C][/ROW]
[ROW][C]12[/C][C]102.3[/C][C]95.597387388247[/C][C]6.702612611753[/C][/ROW]
[ROW][C]13[/C][C]104.7[/C][C]96.2486594676143[/C][C]8.45134053238566[/C][/ROW]
[ROW][C]14[/C][C]101.1[/C][C]96.8999315469817[/C][C]4.20006845301832[/C][/ROW]
[ROW][C]15[/C][C]101.4[/C][C]97.551203626349[/C][C]3.848796373651[/C][/ROW]
[ROW][C]16[/C][C]99.5[/C][C]98.2024757057163[/C][C]1.29752429428366[/C][/ROW]
[ROW][C]17[/C][C]98.4[/C][C]98.8537477850837[/C][C]-0.453747785083666[/C][/ROW]
[ROW][C]18[/C][C]96.3[/C][C]99.505019864451[/C][C]-3.20501986445101[/C][/ROW]
[ROW][C]19[/C][C]100.7[/C][C]100.156291943818[/C][C]0.543708056181662[/C][/ROW]
[ROW][C]20[/C][C]101.2[/C][C]100.807564023186[/C][C]0.392435976814327[/C][/ROW]
[ROW][C]21[/C][C]100.3[/C][C]101.458836102553[/C][C]-1.15883610255301[/C][/ROW]
[ROW][C]22[/C][C]97.8[/C][C]102.110108181920[/C][C]-4.31010818192035[/C][/ROW]
[ROW][C]23[/C][C]97.4[/C][C]102.761380261288[/C][C]-5.36138026128767[/C][/ROW]
[ROW][C]24[/C][C]98.6[/C][C]103.412652340655[/C][C]-4.81265234065502[/C][/ROW]
[ROW][C]25[/C][C]99.7[/C][C]104.063924420022[/C][C]-4.36392442002235[/C][/ROW]
[ROW][C]26[/C][C]99[/C][C]104.715196499390[/C][C]-5.71519649938968[/C][/ROW]
[ROW][C]27[/C][C]98.1[/C][C]105.366468578757[/C][C]-7.26646857875702[/C][/ROW]
[ROW][C]28[/C][C]97[/C][C]106.017740658124[/C][C]-9.01774065812435[/C][/ROW]
[ROW][C]29[/C][C]98.5[/C][C]106.669012737492[/C][C]-8.16901273749168[/C][/ROW]
[ROW][C]30[/C][C]103.8[/C][C]107.320284816859[/C][C]-3.52028481685902[/C][/ROW]
[ROW][C]31[/C][C]114.4[/C][C]107.971556896226[/C][C]6.42844310377365[/C][/ROW]
[ROW][C]32[/C][C]124.5[/C][C]108.622828975594[/C][C]15.8771710244063[/C][/ROW]
[ROW][C]33[/C][C]134.2[/C][C]109.274101054961[/C][C]24.9258989450390[/C][/ROW]
[ROW][C]34[/C][C]131.8[/C][C]109.925373134328[/C][C]21.8746268656717[/C][/ROW]
[ROW][C]35[/C][C]125.6[/C][C]110.576645213696[/C][C]15.0233547863043[/C][/ROW]
[ROW][C]36[/C][C]119.9[/C][C]111.227917293063[/C][C]8.67208270693698[/C][/ROW]
[ROW][C]37[/C][C]114.9[/C][C]111.879189372430[/C][C]3.02081062756965[/C][/ROW]
[ROW][C]38[/C][C]115.5[/C][C]112.530461451798[/C][C]2.96953854820230[/C][/ROW]
[ROW][C]39[/C][C]112.5[/C][C]113.181733531165[/C][C]-0.68173353116503[/C][/ROW]
[ROW][C]40[/C][C]111.4[/C][C]113.833005610532[/C][C]-2.43300561053236[/C][/ROW]
[ROW][C]41[/C][C]115.3[/C][C]114.484277689900[/C][C]0.8157223101003[/C][/ROW]
[ROW][C]42[/C][C]110.8[/C][C]115.135549769267[/C][C]-4.33554976926704[/C][/ROW]
[ROW][C]43[/C][C]103.7[/C][C]115.786821848634[/C][C]-12.0868218486344[/C][/ROW]
[ROW][C]44[/C][C]111.1[/C][C]129.367670019934[/C][C]-18.2676700199340[/C][/ROW]
[ROW][C]45[/C][C]113[/C][C]130.018942099301[/C][C]-17.0189420993013[/C][/ROW]
[ROW][C]46[/C][C]111.2[/C][C]130.670214178669[/C][C]-19.4702141786686[/C][/ROW]
[ROW][C]47[/C][C]117.6[/C][C]131.321486258036[/C][C]-13.7214862580360[/C][/ROW]
[ROW][C]48[/C][C]121.7[/C][C]131.972758337403[/C][C]-10.2727583374033[/C][/ROW]
[ROW][C]49[/C][C]127.3[/C][C]132.624030416771[/C][C]-5.32403041677062[/C][/ROW]
[ROW][C]50[/C][C]129.8[/C][C]133.275302496138[/C][C]-3.47530249613795[/C][/ROW]
[ROW][C]51[/C][C]137.1[/C][C]133.926574575505[/C][C]3.17342542449471[/C][/ROW]
[ROW][C]52[/C][C]141.4[/C][C]134.577846654873[/C][C]6.82215334512738[/C][/ROW]
[ROW][C]53[/C][C]137.4[/C][C]135.22911873424[/C][C]2.17088126576005[/C][/ROW]
[ROW][C]54[/C][C]130.7[/C][C]135.880390813607[/C][C]-5.18039081360731[/C][/ROW]
[ROW][C]55[/C][C]117.2[/C][C]136.531662892975[/C][C]-19.3316628929746[/C][/ROW]
[ROW][C]56[/C][C]110.8[/C][C]111.323782788477[/C][C]-0.523782788477468[/C][/ROW]
[ROW][C]57[/C][C]111.4[/C][C]111.975054867845[/C][C]-0.575054867844793[/C][/ROW]
[ROW][C]58[/C][C]108.2[/C][C]112.626326947212[/C][C]-4.42632694721213[/C][/ROW]
[ROW][C]59[/C][C]108.8[/C][C]113.277599026579[/C][C]-4.47759902657947[/C][/ROW]
[ROW][C]60[/C][C]110.2[/C][C]113.928871105947[/C][C]-3.7288711059468[/C][/ROW]
[ROW][C]61[/C][C]109.5[/C][C]114.580143185314[/C][C]-5.08014318531414[/C][/ROW]
[ROW][C]62[/C][C]109.5[/C][C]115.231415264681[/C][C]-5.73141526468147[/C][/ROW]
[ROW][C]63[/C][C]116[/C][C]115.882687344049[/C][C]0.117312655951195[/C][/ROW]
[ROW][C]64[/C][C]111.2[/C][C]116.533959423416[/C][C]-5.33395942341613[/C][/ROW]
[ROW][C]65[/C][C]112.1[/C][C]117.185231502783[/C][C]-5.08523150278348[/C][/ROW]
[ROW][C]66[/C][C]114[/C][C]117.836503582151[/C][C]-3.83650358215081[/C][/ROW]
[ROW][C]67[/C][C]119.1[/C][C]118.487775661518[/C][C]0.61222433848185[/C][/ROW]
[ROW][C]68[/C][C]114.1[/C][C]134.824276846459[/C][C]-20.7242768464586[/C][/ROW]
[ROW][C]69[/C][C]115.1[/C][C]135.475548925826[/C][C]-20.3755489258260[/C][/ROW]
[ROW][C]70[/C][C]115.4[/C][C]136.126821005193[/C][C]-20.7268210051933[/C][/ROW]
[ROW][C]71[/C][C]110.8[/C][C]149.707669176493[/C][C]-38.9076691764929[/C][/ROW]
[ROW][C]72[/C][C]116[/C][C]150.358941255860[/C][C]-34.3589412558602[/C][/ROW]
[ROW][C]73[/C][C]119.2[/C][C]151.010213335228[/C][C]-31.8102133352275[/C][/ROW]
[ROW][C]74[/C][C]126.5[/C][C]151.661485414595[/C][C]-25.1614854145949[/C][/ROW]
[ROW][C]75[/C][C]127.8[/C][C]152.312757493962[/C][C]-24.5127574939622[/C][/ROW]
[ROW][C]76[/C][C]131.3[/C][C]152.964029573330[/C][C]-21.6640295733295[/C][/ROW]
[ROW][C]77[/C][C]140.3[/C][C]153.615301652697[/C][C]-13.3153016526969[/C][/ROW]
[ROW][C]78[/C][C]137.3[/C][C]154.266573732064[/C][C]-16.9665737320642[/C][/ROW]
[ROW][C]79[/C][C]143[/C][C]154.917845811432[/C][C]-11.9178458114316[/C][/ROW]
[ROW][C]80[/C][C]134.5[/C][C]155.569117890799[/C][C]-21.0691178907989[/C][/ROW]
[ROW][C]81[/C][C]139.9[/C][C]156.220389970166[/C][C]-16.3203899701662[/C][/ROW]
[ROW][C]82[/C][C]159.3[/C][C]156.871662049534[/C][C]2.42833795046645[/C][/ROW]
[ROW][C]83[/C][C]170.4[/C][C]157.522934128901[/C][C]12.8770658710991[/C][/ROW]
[ROW][C]84[/C][C]175[/C][C]158.174206208268[/C][C]16.8257937917318[/C][/ROW]
[ROW][C]85[/C][C]175.8[/C][C]158.825478287636[/C][C]16.9745217123644[/C][/ROW]
[ROW][C]86[/C][C]180.9[/C][C]159.476750367003[/C][C]21.4232496329971[/C][/ROW]
[ROW][C]87[/C][C]180.3[/C][C]160.128022446370[/C][C]20.1719775536298[/C][/ROW]
[ROW][C]88[/C][C]169.6[/C][C]160.779294525738[/C][C]8.82070547426243[/C][/ROW]
[ROW][C]89[/C][C]172.3[/C][C]161.430566605105[/C][C]10.8694333948951[/C][/ROW]
[ROW][C]90[/C][C]184.8[/C][C]162.081838684472[/C][C]22.7181613155278[/C][/ROW]
[ROW][C]91[/C][C]177.7[/C][C]162.733110763840[/C][C]14.9668892361604[/C][/ROW]
[ROW][C]92[/C][C]184.6[/C][C]163.384382843207[/C][C]21.2156171567931[/C][/ROW]
[ROW][C]93[/C][C]211.4[/C][C]164.035654922574[/C][C]47.3643450774258[/C][/ROW]
[ROW][C]94[/C][C]215.3[/C][C]164.686927001942[/C][C]50.6130729980584[/C][/ROW]
[ROW][C]95[/C][C]215.9[/C][C]165.338199081309[/C][C]50.5618009186911[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3876&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3876&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.788.433394515206514.2666054847935
2103.289.084666594573614.1153334054264
3105.689.73593867394115.8640613260591
4103.990.387210753308313.5127892466917
5107.291.038482832675716.1615171673243
6100.791.6897549120439.010245087957
792.192.3410269914103-0.241026991410338
890.392.9922990707777-2.69229907077767
993.493.643571150145-0.243571150144992
1098.594.29484322951234.20515677048767
11100.894.94611530887975.85388469112033
12102.395.5973873882476.702612611753
13104.796.24865946761438.45134053238566
14101.196.89993154698174.20006845301832
15101.497.5512036263493.848796373651
1699.598.20247570571631.29752429428366
1798.498.8537477850837-0.453747785083666
1896.399.505019864451-3.20501986445101
19100.7100.1562919438180.543708056181662
20101.2100.8075640231860.392435976814327
21100.3101.458836102553-1.15883610255301
2297.8102.110108181920-4.31010818192035
2397.4102.761380261288-5.36138026128767
2498.6103.412652340655-4.81265234065502
2599.7104.063924420022-4.36392442002235
2699104.715196499390-5.71519649938968
2798.1105.366468578757-7.26646857875702
2897106.017740658124-9.01774065812435
2998.5106.669012737492-8.16901273749168
30103.8107.320284816859-3.52028481685902
31114.4107.9715568962266.42844310377365
32124.5108.62282897559415.8771710244063
33134.2109.27410105496124.9258989450390
34131.8109.92537313432821.8746268656717
35125.6110.57664521369615.0233547863043
36119.9111.2279172930638.67208270693698
37114.9111.8791893724303.02081062756965
38115.5112.5304614517982.96953854820230
39112.5113.181733531165-0.68173353116503
40111.4113.833005610532-2.43300561053236
41115.3114.4842776899000.8157223101003
42110.8115.135549769267-4.33554976926704
43103.7115.786821848634-12.0868218486344
44111.1129.367670019934-18.2676700199340
45113130.018942099301-17.0189420993013
46111.2130.670214178669-19.4702141786686
47117.6131.321486258036-13.7214862580360
48121.7131.972758337403-10.2727583374033
49127.3132.624030416771-5.32403041677062
50129.8133.275302496138-3.47530249613795
51137.1133.9265745755053.17342542449471
52141.4134.5778466548736.82215334512738
53137.4135.229118734242.17088126576005
54130.7135.880390813607-5.18039081360731
55117.2136.531662892975-19.3316628929746
56110.8111.323782788477-0.523782788477468
57111.4111.975054867845-0.575054867844793
58108.2112.626326947212-4.42632694721213
59108.8113.277599026579-4.47759902657947
60110.2113.928871105947-3.7288711059468
61109.5114.580143185314-5.08014318531414
62109.5115.231415264681-5.73141526468147
63116115.8826873440490.117312655951195
64111.2116.533959423416-5.33395942341613
65112.1117.185231502783-5.08523150278348
66114117.836503582151-3.83650358215081
67119.1118.4877756615180.61222433848185
68114.1134.824276846459-20.7242768464586
69115.1135.475548925826-20.3755489258260
70115.4136.126821005193-20.7268210051933
71110.8149.707669176493-38.9076691764929
72116150.358941255860-34.3589412558602
73119.2151.010213335228-31.8102133352275
74126.5151.661485414595-25.1614854145949
75127.8152.312757493962-24.5127574939622
76131.3152.964029573330-21.6640295733295
77140.3153.615301652697-13.3153016526969
78137.3154.266573732064-16.9665737320642
79143154.917845811432-11.9178458114316
80134.5155.569117890799-21.0691178907989
81139.9156.220389970166-16.3203899701662
82159.3156.8716620495342.42833795046645
83170.4157.52293412890112.8770658710991
84175158.17420620826816.8257937917318
85175.8158.82547828763616.9745217123644
86180.9159.47675036700321.4232496329971
87180.3160.12802244637020.1719775536298
88169.6160.7792945257388.82070547426243
89172.3161.43056660510510.8694333948951
90184.8162.08183868447222.7181613155278
91177.7162.73311076384014.9668892361604
92184.6163.38438284320721.2156171567931
93211.4164.03565492257447.3643450774258
94215.3164.68692700194250.6130729980584
95215.9165.33819908130950.5618009186911



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