Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 19 Dec 2007 10:35:29 -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/19/t11980847712nvediu0k5hylcy.htm/, Retrieved Mon, 06 May 2024 19:57:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4691, Retrieved Mon, 06 May 2024 19:57:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact180
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper voorspellin...] [2007-12-19 17:35:29] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.0941985320320626

0.653503812757776

-1.53391896500750

-3.36057793208943

10.5123096036122

-1.01581457573704

-2.67820603570839

-9.74826523524703

3.63711950635251

9.50223910169676

-0.328071065750664

-0.99090283824161

3.15955488055449

4.274504946209

-2.96994671532128

-7.49489553709745

0.326324458907605

-2.56567975939718

4.06810804201443

5.30985531157956

-8.08565126748348

5.28645116189662

7.37889520393211

-6.11905687839581

-3.37762220941437

-8.60601896334157

2.58282247115929

10.0203248408892

7.07928930610679

-2.75364586230294

3.41775084223743

-1.59740992982799

0.64919709507294

2.86097471341661

-3.51941245730982

5.64985077275929

4.3083362367212

-4.39107605256271

-5.85155663863847

-5.47131236424465

-2.29984941727564

-0.144024631394743

8.08067861936608

-7.42975884662829

0.0227113802409349

-2.47026516439664

-2.11466659014063

7.8747637202872

4.65851639094002

3.60426918741376

-3.64324288209951

7.25784133565925

-7.62087973892363

13.8299693619635

1.28408834041515

-0.320572241143239

-2.89707141277690

4.92335970737777

11.9868131228538

10.0627280987577

-2.21884745321978

3.97445806945834

0.560126237823582

3.34160376915877

-2.85636766640084

4.38042429228536

1.43160354600064

-0.489188992828318

-1.23442104165709





Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 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=4691&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]5 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=4691&T=0

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







Multiple Linear Regression - Estimated Regression Equation
x[t] = + 2.01473632887732 -2.01357325568719M1[t] -3.23489860324914M2[t] -4.998034303201M3[t] -2.50882698708985M4[t] -2.40309603274683M5[t] -1.34027177079720M6[t] -0.73038213392791M7[t] -5.74585213328013M8[t] -4.72022421892154M9[t] + 0.796227564862427M10[t] -0.579188814367617M11[t] + 0.0355761179487786t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
x[t] =  +  2.01473632887732 -2.01357325568719M1[t] -3.23489860324914M2[t] -4.998034303201M3[t] -2.50882698708985M4[t] -2.40309603274683M5[t] -1.34027177079720M6[t] -0.73038213392791M7[t] -5.74585213328013M8[t] -4.72022421892154M9[t] +  0.796227564862427M10[t] -0.579188814367617M11[t] +  0.0355761179487786t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4691&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]x[t] =  +  2.01473632887732 -2.01357325568719M1[t] -3.23489860324914M2[t] -4.998034303201M3[t] -2.50882698708985M4[t] -2.40309603274683M5[t] -1.34027177079720M6[t] -0.73038213392791M7[t] -5.74585213328013M8[t] -4.72022421892154M9[t] +  0.796227564862427M10[t] -0.579188814367617M11[t] +  0.0355761179487786t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4691&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4691&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
x[t] = + 2.01473632887732 -2.01357325568719M1[t] -3.23489860324914M2[t] -4.998034303201M3[t] -2.50882698708985M4[t] -2.40309603274683M5[t] -1.34027177079720M6[t] -0.73038213392791M7[t] -5.74585213328013M8[t] -4.72022421892154M9[t] + 0.796227564862427M10[t] -0.579188814367617M11[t] + 0.0355761179487786t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.014736328877322.6827890.7510.4558060.227903
M1-2.013573255687193.26621-0.61650.5400720.270036
M2-3.234898603249143.264729-0.99090.3260150.163007
M3-4.9980343032013.263576-1.53150.1312860.065643
M4-2.508826987089853.262753-0.76890.4451660.222583
M5-2.403096032746833.262259-0.73660.4644190.232209
M6-1.340271770797203.262094-0.41090.6827410.341371
M7-0.730382133927913.262259-0.22390.8236590.411829
M8-5.745852133280133.262753-1.7610.083690.041845
M9-4.720224218921543.263576-1.44630.1536570.076829
M100.7962275648624273.4077770.23370.8161090.408054
M11-0.5791888143676173.407304-0.170.8656350.432817
t0.03557611794877860.0327851.08510.2825160.141258

\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) & 2.01473632887732 & 2.682789 & 0.751 & 0.455806 & 0.227903 \tabularnewline
M1 & -2.01357325568719 & 3.26621 & -0.6165 & 0.540072 & 0.270036 \tabularnewline
M2 & -3.23489860324914 & 3.264729 & -0.9909 & 0.326015 & 0.163007 \tabularnewline
M3 & -4.998034303201 & 3.263576 & -1.5315 & 0.131286 & 0.065643 \tabularnewline
M4 & -2.50882698708985 & 3.262753 & -0.7689 & 0.445166 & 0.222583 \tabularnewline
M5 & -2.40309603274683 & 3.262259 & -0.7366 & 0.464419 & 0.232209 \tabularnewline
M6 & -1.34027177079720 & 3.262094 & -0.4109 & 0.682741 & 0.341371 \tabularnewline
M7 & -0.73038213392791 & 3.262259 & -0.2239 & 0.823659 & 0.411829 \tabularnewline
M8 & -5.74585213328013 & 3.262753 & -1.761 & 0.08369 & 0.041845 \tabularnewline
M9 & -4.72022421892154 & 3.263576 & -1.4463 & 0.153657 & 0.076829 \tabularnewline
M10 & 0.796227564862427 & 3.407777 & 0.2337 & 0.816109 & 0.408054 \tabularnewline
M11 & -0.579188814367617 & 3.407304 & -0.17 & 0.865635 & 0.432817 \tabularnewline
t & 0.0355761179487786 & 0.032785 & 1.0851 & 0.282516 & 0.141258 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4691&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]2.01473632887732[/C][C]2.682789[/C][C]0.751[/C][C]0.455806[/C][C]0.227903[/C][/ROW]
[ROW][C]M1[/C][C]-2.01357325568719[/C][C]3.26621[/C][C]-0.6165[/C][C]0.540072[/C][C]0.270036[/C][/ROW]
[ROW][C]M2[/C][C]-3.23489860324914[/C][C]3.264729[/C][C]-0.9909[/C][C]0.326015[/C][C]0.163007[/C][/ROW]
[ROW][C]M3[/C][C]-4.998034303201[/C][C]3.263576[/C][C]-1.5315[/C][C]0.131286[/C][C]0.065643[/C][/ROW]
[ROW][C]M4[/C][C]-2.50882698708985[/C][C]3.262753[/C][C]-0.7689[/C][C]0.445166[/C][C]0.222583[/C][/ROW]
[ROW][C]M5[/C][C]-2.40309603274683[/C][C]3.262259[/C][C]-0.7366[/C][C]0.464419[/C][C]0.232209[/C][/ROW]
[ROW][C]M6[/C][C]-1.34027177079720[/C][C]3.262094[/C][C]-0.4109[/C][C]0.682741[/C][C]0.341371[/C][/ROW]
[ROW][C]M7[/C][C]-0.73038213392791[/C][C]3.262259[/C][C]-0.2239[/C][C]0.823659[/C][C]0.411829[/C][/ROW]
[ROW][C]M8[/C][C]-5.74585213328013[/C][C]3.262753[/C][C]-1.761[/C][C]0.08369[/C][C]0.041845[/C][/ROW]
[ROW][C]M9[/C][C]-4.72022421892154[/C][C]3.263576[/C][C]-1.4463[/C][C]0.153657[/C][C]0.076829[/C][/ROW]
[ROW][C]M10[/C][C]0.796227564862427[/C][C]3.407777[/C][C]0.2337[/C][C]0.816109[/C][C]0.408054[/C][/ROW]
[ROW][C]M11[/C][C]-0.579188814367617[/C][C]3.407304[/C][C]-0.17[/C][C]0.865635[/C][C]0.432817[/C][/ROW]
[ROW][C]t[/C][C]0.0355761179487786[/C][C]0.032785[/C][C]1.0851[/C][C]0.282516[/C][C]0.141258[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4691&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4691&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)2.014736328877322.6827890.7510.4558060.227903
M1-2.013573255687193.26621-0.61650.5400720.270036
M2-3.234898603249143.264729-0.99090.3260150.163007
M3-4.9980343032013.263576-1.53150.1312860.065643
M4-2.508826987089853.262753-0.76890.4451660.222583
M5-2.403096032746833.262259-0.73660.4644190.232209
M6-1.340271770797203.262094-0.41090.6827410.341371
M7-0.730382133927913.262259-0.22390.8236590.411829
M8-5.745852133280133.262753-1.7610.083690.041845
M9-4.720224218921543.263576-1.44630.1536570.076829
M100.7962275648624273.4077770.23370.8161090.408054
M11-0.5791888143676173.407304-0.170.8656350.432817
t0.03557611794877860.0327851.08510.2825160.141258







Multiple Linear Regression - Regression Statistics
Multiple R0.392346353503203
R-squared0.153935661107260
Adjusted R-squared-0.027363840084041
F-TEST (value)0.849068310148478
F-TEST (DF numerator)12
F-TEST (DF denominator)56
p-value0.601128696505032
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.38717069002169
Sum Squared Residuals1625.21005043201

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.392346353503203 \tabularnewline
R-squared & 0.153935661107260 \tabularnewline
Adjusted R-squared & -0.027363840084041 \tabularnewline
F-TEST (value) & 0.849068310148478 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 56 \tabularnewline
p-value & 0.601128696505032 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.38717069002169 \tabularnewline
Sum Squared Residuals & 1625.21005043201 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4691&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.392346353503203[/C][/ROW]
[ROW][C]R-squared[/C][C]0.153935661107260[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.027363840084041[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.849068310148478[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]56[/C][/ROW]
[ROW][C]p-value[/C][C]0.601128696505032[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.38717069002169[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1625.21005043201[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4691&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4691&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.392346353503203
R-squared0.153935661107260
Adjusted R-squared-0.027363840084041
F-TEST (value)0.849068310148478
F-TEST (DF numerator)12
F-TEST (DF denominator)56
p-value0.601128696505032
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.38717069002169
Sum Squared Residuals1625.21005043201







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.09419853203206260.03673919113891160.057459340893151
20.653503812757776-1.149010038474261.80251385123203
3-1.5339189650075-2.876569620477341.34265065546984
4-3.36057793208943-0.351786186417408-3.00879174567202
510.5123096036122-0.21047911412561310.7227887177378
6-1.015814575737040.887921265772801-1.90373584150984
7-2.678206035708391.53338702059086-4.21159305629925
8-9.74826523524703-3.44650686081258-6.30175837443445
93.63711950635251-2.385302828505206.02242233485771
109.502239101696763.166725073227546.33551402846922
11-0.3280710657506641.82688481194627-2.15495587769694
12-0.990902838241612.44164974426267-3.43255258250428
133.159554880554490.4636526065242562.69590227403023
144.274504946209-0.7220966230889154.99660156929792
15-2.96994671532128-2.44965620509200-0.520290510229283
16-7.494895537097450.0751272289679372-7.57002276606539
170.3263244589076050.2164343012597330.109890157647872
18-2.565679759397181.31483468115814-3.88051444055532
194.068108042014431.960300435976212.10780760603822
205.30985531157956-3.019593445427238.3294487570068
21-8.08565126748348-1.95838941311986-6.12726185436362
225.286451161896623.593638488612881.69281267328374
237.378895203932112.253798227331625.12509697660049
24-6.119056878395812.86856315964801-8.98762003804381
25-3.377622209414370.890566021909598-4.26818823132397
26-8.60601896334157-0.295183207703573-8.310835755638
272.58282247115929-2.022742789706654.60556526086594
2810.02032484088920.502040644353279.51828419653593
297.079289306106790.6433477166450776.43594158946171
30-2.753645862302941.74174809654349-4.49539395884643
313.417750842237432.387213851361551.03053699087588
32-1.59740992982799-2.592680030041890.9952701002139
330.64919709507294-1.531475997734522.18067309280746
342.860974713416614.02055190399822-1.15957719058161
35-3.519412457309822.68071164271696-6.20012410002678
365.649850772759293.295476575033352.35437419772594
374.30833623672121.317479437294942.99085679942626
38-4.391076052562710.131730207681771-4.52280626024448
39-5.85155663863847-1.59582937432131-4.25572726431716
40-5.471312364244650.928954059738621-6.40026642398327
41-2.299849417275641.07026113203042-3.37011054930606
42-0.1440246313947432.16866151192883-2.31268614332357
438.080678619366082.814127266746905.26655135261918
44-7.42975884662829-2.16576661465655-5.26399223197174
450.0227113802409349-1.104562582349181.12727396259011
46-2.470265164396644.44746531938357-6.91773048378021
47-2.114666590140633.10762505810230-5.22229164824293
487.87476372028723.72238999041874.1523737298685
494.658516390940021.744392852680282.91412353825973
503.604269187413760.5586436230671133.04562556434665
51-3.64324288209951-1.16891595893597-2.47432692316355
527.257841335659251.355867475123965.90197386053529
53-7.620879738923631.49717454741576-9.11805428633939
5413.82996936196352.5955749273141711.2343944346493
551.284088340415153.24104068213224-1.95695234171709
56-0.320572241143239-1.73885319927121.41828095812796
57-2.8970714127769-0.677649166963833-2.21942224581307
584.923359707377774.874378734768910.0489809726088587
5911.98681312285383.534538473487648.45227464936616
6010.06272809875774.149303405804045.91342469295366
61-2.218847453219782.17130626806563-4.39015372128541
623.974458069458340.9855570384524582.98890103100588
630.560126237823582-0.7420025435506241.30212878137421
643.341603769158771.782780890509311.55882287864946
65-2.856367666400841.92408796280111-4.78045562920195
664.380424292285363.022488342699521.35793594958584
671.431603546000643.66795409751758-2.23635055151694
68-0.489188992828318-1.311939783885860.822750791057542
69-1.23442104165709-0.250735751578489-0.9836852900786

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.0941985320320626 & 0.0367391911389116 & 0.057459340893151 \tabularnewline
2 & 0.653503812757776 & -1.14901003847426 & 1.80251385123203 \tabularnewline
3 & -1.5339189650075 & -2.87656962047734 & 1.34265065546984 \tabularnewline
4 & -3.36057793208943 & -0.351786186417408 & -3.00879174567202 \tabularnewline
5 & 10.5123096036122 & -0.210479114125613 & 10.7227887177378 \tabularnewline
6 & -1.01581457573704 & 0.887921265772801 & -1.90373584150984 \tabularnewline
7 & -2.67820603570839 & 1.53338702059086 & -4.21159305629925 \tabularnewline
8 & -9.74826523524703 & -3.44650686081258 & -6.30175837443445 \tabularnewline
9 & 3.63711950635251 & -2.38530282850520 & 6.02242233485771 \tabularnewline
10 & 9.50223910169676 & 3.16672507322754 & 6.33551402846922 \tabularnewline
11 & -0.328071065750664 & 1.82688481194627 & -2.15495587769694 \tabularnewline
12 & -0.99090283824161 & 2.44164974426267 & -3.43255258250428 \tabularnewline
13 & 3.15955488055449 & 0.463652606524256 & 2.69590227403023 \tabularnewline
14 & 4.274504946209 & -0.722096623088915 & 4.99660156929792 \tabularnewline
15 & -2.96994671532128 & -2.44965620509200 & -0.520290510229283 \tabularnewline
16 & -7.49489553709745 & 0.0751272289679372 & -7.57002276606539 \tabularnewline
17 & 0.326324458907605 & 0.216434301259733 & 0.109890157647872 \tabularnewline
18 & -2.56567975939718 & 1.31483468115814 & -3.88051444055532 \tabularnewline
19 & 4.06810804201443 & 1.96030043597621 & 2.10780760603822 \tabularnewline
20 & 5.30985531157956 & -3.01959344542723 & 8.3294487570068 \tabularnewline
21 & -8.08565126748348 & -1.95838941311986 & -6.12726185436362 \tabularnewline
22 & 5.28645116189662 & 3.59363848861288 & 1.69281267328374 \tabularnewline
23 & 7.37889520393211 & 2.25379822733162 & 5.12509697660049 \tabularnewline
24 & -6.11905687839581 & 2.86856315964801 & -8.98762003804381 \tabularnewline
25 & -3.37762220941437 & 0.890566021909598 & -4.26818823132397 \tabularnewline
26 & -8.60601896334157 & -0.295183207703573 & -8.310835755638 \tabularnewline
27 & 2.58282247115929 & -2.02274278970665 & 4.60556526086594 \tabularnewline
28 & 10.0203248408892 & 0.50204064435327 & 9.51828419653593 \tabularnewline
29 & 7.07928930610679 & 0.643347716645077 & 6.43594158946171 \tabularnewline
30 & -2.75364586230294 & 1.74174809654349 & -4.49539395884643 \tabularnewline
31 & 3.41775084223743 & 2.38721385136155 & 1.03053699087588 \tabularnewline
32 & -1.59740992982799 & -2.59268003004189 & 0.9952701002139 \tabularnewline
33 & 0.64919709507294 & -1.53147599773452 & 2.18067309280746 \tabularnewline
34 & 2.86097471341661 & 4.02055190399822 & -1.15957719058161 \tabularnewline
35 & -3.51941245730982 & 2.68071164271696 & -6.20012410002678 \tabularnewline
36 & 5.64985077275929 & 3.29547657503335 & 2.35437419772594 \tabularnewline
37 & 4.3083362367212 & 1.31747943729494 & 2.99085679942626 \tabularnewline
38 & -4.39107605256271 & 0.131730207681771 & -4.52280626024448 \tabularnewline
39 & -5.85155663863847 & -1.59582937432131 & -4.25572726431716 \tabularnewline
40 & -5.47131236424465 & 0.928954059738621 & -6.40026642398327 \tabularnewline
41 & -2.29984941727564 & 1.07026113203042 & -3.37011054930606 \tabularnewline
42 & -0.144024631394743 & 2.16866151192883 & -2.31268614332357 \tabularnewline
43 & 8.08067861936608 & 2.81412726674690 & 5.26655135261918 \tabularnewline
44 & -7.42975884662829 & -2.16576661465655 & -5.26399223197174 \tabularnewline
45 & 0.0227113802409349 & -1.10456258234918 & 1.12727396259011 \tabularnewline
46 & -2.47026516439664 & 4.44746531938357 & -6.91773048378021 \tabularnewline
47 & -2.11466659014063 & 3.10762505810230 & -5.22229164824293 \tabularnewline
48 & 7.8747637202872 & 3.7223899904187 & 4.1523737298685 \tabularnewline
49 & 4.65851639094002 & 1.74439285268028 & 2.91412353825973 \tabularnewline
50 & 3.60426918741376 & 0.558643623067113 & 3.04562556434665 \tabularnewline
51 & -3.64324288209951 & -1.16891595893597 & -2.47432692316355 \tabularnewline
52 & 7.25784133565925 & 1.35586747512396 & 5.90197386053529 \tabularnewline
53 & -7.62087973892363 & 1.49717454741576 & -9.11805428633939 \tabularnewline
54 & 13.8299693619635 & 2.59557492731417 & 11.2343944346493 \tabularnewline
55 & 1.28408834041515 & 3.24104068213224 & -1.95695234171709 \tabularnewline
56 & -0.320572241143239 & -1.7388531992712 & 1.41828095812796 \tabularnewline
57 & -2.8970714127769 & -0.677649166963833 & -2.21942224581307 \tabularnewline
58 & 4.92335970737777 & 4.87437873476891 & 0.0489809726088587 \tabularnewline
59 & 11.9868131228538 & 3.53453847348764 & 8.45227464936616 \tabularnewline
60 & 10.0627280987577 & 4.14930340580404 & 5.91342469295366 \tabularnewline
61 & -2.21884745321978 & 2.17130626806563 & -4.39015372128541 \tabularnewline
62 & 3.97445806945834 & 0.985557038452458 & 2.98890103100588 \tabularnewline
63 & 0.560126237823582 & -0.742002543550624 & 1.30212878137421 \tabularnewline
64 & 3.34160376915877 & 1.78278089050931 & 1.55882287864946 \tabularnewline
65 & -2.85636766640084 & 1.92408796280111 & -4.78045562920195 \tabularnewline
66 & 4.38042429228536 & 3.02248834269952 & 1.35793594958584 \tabularnewline
67 & 1.43160354600064 & 3.66795409751758 & -2.23635055151694 \tabularnewline
68 & -0.489188992828318 & -1.31193978388586 & 0.822750791057542 \tabularnewline
69 & -1.23442104165709 & -0.250735751578489 & -0.9836852900786 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4691&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]0.0941985320320626[/C][C]0.0367391911389116[/C][C]0.057459340893151[/C][/ROW]
[ROW][C]2[/C][C]0.653503812757776[/C][C]-1.14901003847426[/C][C]1.80251385123203[/C][/ROW]
[ROW][C]3[/C][C]-1.5339189650075[/C][C]-2.87656962047734[/C][C]1.34265065546984[/C][/ROW]
[ROW][C]4[/C][C]-3.36057793208943[/C][C]-0.351786186417408[/C][C]-3.00879174567202[/C][/ROW]
[ROW][C]5[/C][C]10.5123096036122[/C][C]-0.210479114125613[/C][C]10.7227887177378[/C][/ROW]
[ROW][C]6[/C][C]-1.01581457573704[/C][C]0.887921265772801[/C][C]-1.90373584150984[/C][/ROW]
[ROW][C]7[/C][C]-2.67820603570839[/C][C]1.53338702059086[/C][C]-4.21159305629925[/C][/ROW]
[ROW][C]8[/C][C]-9.74826523524703[/C][C]-3.44650686081258[/C][C]-6.30175837443445[/C][/ROW]
[ROW][C]9[/C][C]3.63711950635251[/C][C]-2.38530282850520[/C][C]6.02242233485771[/C][/ROW]
[ROW][C]10[/C][C]9.50223910169676[/C][C]3.16672507322754[/C][C]6.33551402846922[/C][/ROW]
[ROW][C]11[/C][C]-0.328071065750664[/C][C]1.82688481194627[/C][C]-2.15495587769694[/C][/ROW]
[ROW][C]12[/C][C]-0.99090283824161[/C][C]2.44164974426267[/C][C]-3.43255258250428[/C][/ROW]
[ROW][C]13[/C][C]3.15955488055449[/C][C]0.463652606524256[/C][C]2.69590227403023[/C][/ROW]
[ROW][C]14[/C][C]4.274504946209[/C][C]-0.722096623088915[/C][C]4.99660156929792[/C][/ROW]
[ROW][C]15[/C][C]-2.96994671532128[/C][C]-2.44965620509200[/C][C]-0.520290510229283[/C][/ROW]
[ROW][C]16[/C][C]-7.49489553709745[/C][C]0.0751272289679372[/C][C]-7.57002276606539[/C][/ROW]
[ROW][C]17[/C][C]0.326324458907605[/C][C]0.216434301259733[/C][C]0.109890157647872[/C][/ROW]
[ROW][C]18[/C][C]-2.56567975939718[/C][C]1.31483468115814[/C][C]-3.88051444055532[/C][/ROW]
[ROW][C]19[/C][C]4.06810804201443[/C][C]1.96030043597621[/C][C]2.10780760603822[/C][/ROW]
[ROW][C]20[/C][C]5.30985531157956[/C][C]-3.01959344542723[/C][C]8.3294487570068[/C][/ROW]
[ROW][C]21[/C][C]-8.08565126748348[/C][C]-1.95838941311986[/C][C]-6.12726185436362[/C][/ROW]
[ROW][C]22[/C][C]5.28645116189662[/C][C]3.59363848861288[/C][C]1.69281267328374[/C][/ROW]
[ROW][C]23[/C][C]7.37889520393211[/C][C]2.25379822733162[/C][C]5.12509697660049[/C][/ROW]
[ROW][C]24[/C][C]-6.11905687839581[/C][C]2.86856315964801[/C][C]-8.98762003804381[/C][/ROW]
[ROW][C]25[/C][C]-3.37762220941437[/C][C]0.890566021909598[/C][C]-4.26818823132397[/C][/ROW]
[ROW][C]26[/C][C]-8.60601896334157[/C][C]-0.295183207703573[/C][C]-8.310835755638[/C][/ROW]
[ROW][C]27[/C][C]2.58282247115929[/C][C]-2.02274278970665[/C][C]4.60556526086594[/C][/ROW]
[ROW][C]28[/C][C]10.0203248408892[/C][C]0.50204064435327[/C][C]9.51828419653593[/C][/ROW]
[ROW][C]29[/C][C]7.07928930610679[/C][C]0.643347716645077[/C][C]6.43594158946171[/C][/ROW]
[ROW][C]30[/C][C]-2.75364586230294[/C][C]1.74174809654349[/C][C]-4.49539395884643[/C][/ROW]
[ROW][C]31[/C][C]3.41775084223743[/C][C]2.38721385136155[/C][C]1.03053699087588[/C][/ROW]
[ROW][C]32[/C][C]-1.59740992982799[/C][C]-2.59268003004189[/C][C]0.9952701002139[/C][/ROW]
[ROW][C]33[/C][C]0.64919709507294[/C][C]-1.53147599773452[/C][C]2.18067309280746[/C][/ROW]
[ROW][C]34[/C][C]2.86097471341661[/C][C]4.02055190399822[/C][C]-1.15957719058161[/C][/ROW]
[ROW][C]35[/C][C]-3.51941245730982[/C][C]2.68071164271696[/C][C]-6.20012410002678[/C][/ROW]
[ROW][C]36[/C][C]5.64985077275929[/C][C]3.29547657503335[/C][C]2.35437419772594[/C][/ROW]
[ROW][C]37[/C][C]4.3083362367212[/C][C]1.31747943729494[/C][C]2.99085679942626[/C][/ROW]
[ROW][C]38[/C][C]-4.39107605256271[/C][C]0.131730207681771[/C][C]-4.52280626024448[/C][/ROW]
[ROW][C]39[/C][C]-5.85155663863847[/C][C]-1.59582937432131[/C][C]-4.25572726431716[/C][/ROW]
[ROW][C]40[/C][C]-5.47131236424465[/C][C]0.928954059738621[/C][C]-6.40026642398327[/C][/ROW]
[ROW][C]41[/C][C]-2.29984941727564[/C][C]1.07026113203042[/C][C]-3.37011054930606[/C][/ROW]
[ROW][C]42[/C][C]-0.144024631394743[/C][C]2.16866151192883[/C][C]-2.31268614332357[/C][/ROW]
[ROW][C]43[/C][C]8.08067861936608[/C][C]2.81412726674690[/C][C]5.26655135261918[/C][/ROW]
[ROW][C]44[/C][C]-7.42975884662829[/C][C]-2.16576661465655[/C][C]-5.26399223197174[/C][/ROW]
[ROW][C]45[/C][C]0.0227113802409349[/C][C]-1.10456258234918[/C][C]1.12727396259011[/C][/ROW]
[ROW][C]46[/C][C]-2.47026516439664[/C][C]4.44746531938357[/C][C]-6.91773048378021[/C][/ROW]
[ROW][C]47[/C][C]-2.11466659014063[/C][C]3.10762505810230[/C][C]-5.22229164824293[/C][/ROW]
[ROW][C]48[/C][C]7.8747637202872[/C][C]3.7223899904187[/C][C]4.1523737298685[/C][/ROW]
[ROW][C]49[/C][C]4.65851639094002[/C][C]1.74439285268028[/C][C]2.91412353825973[/C][/ROW]
[ROW][C]50[/C][C]3.60426918741376[/C][C]0.558643623067113[/C][C]3.04562556434665[/C][/ROW]
[ROW][C]51[/C][C]-3.64324288209951[/C][C]-1.16891595893597[/C][C]-2.47432692316355[/C][/ROW]
[ROW][C]52[/C][C]7.25784133565925[/C][C]1.35586747512396[/C][C]5.90197386053529[/C][/ROW]
[ROW][C]53[/C][C]-7.62087973892363[/C][C]1.49717454741576[/C][C]-9.11805428633939[/C][/ROW]
[ROW][C]54[/C][C]13.8299693619635[/C][C]2.59557492731417[/C][C]11.2343944346493[/C][/ROW]
[ROW][C]55[/C][C]1.28408834041515[/C][C]3.24104068213224[/C][C]-1.95695234171709[/C][/ROW]
[ROW][C]56[/C][C]-0.320572241143239[/C][C]-1.7388531992712[/C][C]1.41828095812796[/C][/ROW]
[ROW][C]57[/C][C]-2.8970714127769[/C][C]-0.677649166963833[/C][C]-2.21942224581307[/C][/ROW]
[ROW][C]58[/C][C]4.92335970737777[/C][C]4.87437873476891[/C][C]0.0489809726088587[/C][/ROW]
[ROW][C]59[/C][C]11.9868131228538[/C][C]3.53453847348764[/C][C]8.45227464936616[/C][/ROW]
[ROW][C]60[/C][C]10.0627280987577[/C][C]4.14930340580404[/C][C]5.91342469295366[/C][/ROW]
[ROW][C]61[/C][C]-2.21884745321978[/C][C]2.17130626806563[/C][C]-4.39015372128541[/C][/ROW]
[ROW][C]62[/C][C]3.97445806945834[/C][C]0.985557038452458[/C][C]2.98890103100588[/C][/ROW]
[ROW][C]63[/C][C]0.560126237823582[/C][C]-0.742002543550624[/C][C]1.30212878137421[/C][/ROW]
[ROW][C]64[/C][C]3.34160376915877[/C][C]1.78278089050931[/C][C]1.55882287864946[/C][/ROW]
[ROW][C]65[/C][C]-2.85636766640084[/C][C]1.92408796280111[/C][C]-4.78045562920195[/C][/ROW]
[ROW][C]66[/C][C]4.38042429228536[/C][C]3.02248834269952[/C][C]1.35793594958584[/C][/ROW]
[ROW][C]67[/C][C]1.43160354600064[/C][C]3.66795409751758[/C][C]-2.23635055151694[/C][/ROW]
[ROW][C]68[/C][C]-0.489188992828318[/C][C]-1.31193978388586[/C][C]0.822750791057542[/C][/ROW]
[ROW][C]69[/C][C]-1.23442104165709[/C][C]-0.250735751578489[/C][C]-0.9836852900786[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4691&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4691&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
10.09419853203206260.03673919113891160.057459340893151
20.653503812757776-1.149010038474261.80251385123203
3-1.5339189650075-2.876569620477341.34265065546984
4-3.36057793208943-0.351786186417408-3.00879174567202
510.5123096036122-0.21047911412561310.7227887177378
6-1.015814575737040.887921265772801-1.90373584150984
7-2.678206035708391.53338702059086-4.21159305629925
8-9.74826523524703-3.44650686081258-6.30175837443445
93.63711950635251-2.385302828505206.02242233485771
109.502239101696763.166725073227546.33551402846922
11-0.3280710657506641.82688481194627-2.15495587769694
12-0.990902838241612.44164974426267-3.43255258250428
133.159554880554490.4636526065242562.69590227403023
144.274504946209-0.7220966230889154.99660156929792
15-2.96994671532128-2.44965620509200-0.520290510229283
16-7.494895537097450.0751272289679372-7.57002276606539
170.3263244589076050.2164343012597330.109890157647872
18-2.565679759397181.31483468115814-3.88051444055532
194.068108042014431.960300435976212.10780760603822
205.30985531157956-3.019593445427238.3294487570068
21-8.08565126748348-1.95838941311986-6.12726185436362
225.286451161896623.593638488612881.69281267328374
237.378895203932112.253798227331625.12509697660049
24-6.119056878395812.86856315964801-8.98762003804381
25-3.377622209414370.890566021909598-4.26818823132397
26-8.60601896334157-0.295183207703573-8.310835755638
272.58282247115929-2.022742789706654.60556526086594
2810.02032484088920.502040644353279.51828419653593
297.079289306106790.6433477166450776.43594158946171
30-2.753645862302941.74174809654349-4.49539395884643
313.417750842237432.387213851361551.03053699087588
32-1.59740992982799-2.592680030041890.9952701002139
330.64919709507294-1.531475997734522.18067309280746
342.860974713416614.02055190399822-1.15957719058161
35-3.519412457309822.68071164271696-6.20012410002678
365.649850772759293.295476575033352.35437419772594
374.30833623672121.317479437294942.99085679942626
38-4.391076052562710.131730207681771-4.52280626024448
39-5.85155663863847-1.59582937432131-4.25572726431716
40-5.471312364244650.928954059738621-6.40026642398327
41-2.299849417275641.07026113203042-3.37011054930606
42-0.1440246313947432.16866151192883-2.31268614332357
438.080678619366082.814127266746905.26655135261918
44-7.42975884662829-2.16576661465655-5.26399223197174
450.0227113802409349-1.104562582349181.12727396259011
46-2.470265164396644.44746531938357-6.91773048378021
47-2.114666590140633.10762505810230-5.22229164824293
487.87476372028723.72238999041874.1523737298685
494.658516390940021.744392852680282.91412353825973
503.604269187413760.5586436230671133.04562556434665
51-3.64324288209951-1.16891595893597-2.47432692316355
527.257841335659251.355867475123965.90197386053529
53-7.620879738923631.49717454741576-9.11805428633939
5413.82996936196352.5955749273141711.2343944346493
551.284088340415153.24104068213224-1.95695234171709
56-0.320572241143239-1.73885319927121.41828095812796
57-2.8970714127769-0.677649166963833-2.21942224581307
584.923359707377774.874378734768910.0489809726088587
5911.98681312285383.534538473487648.45227464936616
6010.06272809875774.149303405804045.91342469295366
61-2.218847453219782.17130626806563-4.39015372128541
623.974458069458340.9855570384524582.98890103100588
630.560126237823582-0.7420025435506241.30212878137421
643.341603769158771.782780890509311.55882287864946
65-2.856367666400841.92408796280111-4.78045562920195
664.380424292285363.022488342699521.35793594958584
671.431603546000643.66795409751758-2.23635055151694
68-0.489188992828318-1.311939783885860.822750791057542
69-1.23442104165709-0.250735751578489-0.9836852900786



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