Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 18 Dec 2007 03:54:50 -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/18/t11979748340yvc6mbtxo7a5cw.htm/, Retrieved Sat, 04 May 2024 11:52:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4488, Retrieved Sat, 04 May 2024 11:52:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact200
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Lineaire regressi...] [2007-12-18 10:54:50] [4a507cbea0acb4f2b617b46f2010fec1] [Current]
Feedback Forum

Post a new message
Dataseries X:
25.62	0
27.5	0
24.5	0
25.66	0
28.31	0
27.85	1
24.61	0
25.68	0
25.62	1
20.54	1
18.8	0
18.71	0
19.46	0
20.12	0
23.54	0
25.6	0
25.39	0
24.09	0
25.69	0
26.56	0
28.33	0
27.5	0
24.23	0
28.23	0
31.29	0
32.72	0
30.46	0
24.89	0
25.68	0
27.52	0
28.4	0
29.71	0
26.85	0
29.62	0
28.69	0
29.76	0
31.3	0
30.86	0
33.46	1
33.15	1
37.99	1
35.24	1
38.24	1
43.16	1
43.33	0
49.67	0
43.17	0
39.56	1
44.36	1
45.22	1
53.1	1
52.1	1
48.52	1
54.84	1
57.57	1
64.14	1
62.85	1
58.75	1
55.33	1
57.03	1
63.18	1
60.19	1
62.12	1
70.12	1
69.75	1
68.56	1
73.77	1
73.23	1
61.96	1
57.81	1
58.76	1
62.47	1
53.68	1
57.56	1
62.05	1
67.49	1
67.21	1
71.05	1
76.93	1
70.76	1




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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4488&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
Brent[t] = + 11.0348138217140 + 5.49236972579178Aanslagen[t] + 2.54901862907124M1[t] + 2.69586780410164M2[t] + 3.45523558973322M3[t] + 4.24494190762077M4[t] + 4.18607679693687M5[t] + 3.69401601113987M6[t] + 6.16548943271195M7[t] + 6.70519575059948M8[t] + 4.01897628443263M9[t] + 2.56987307851065M10[t] + 0.392831493553957M11[t] + 0.607436539255319t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Brent[t] =  +  11.0348138217140 +  5.49236972579178Aanslagen[t] +  2.54901862907124M1[t] +  2.69586780410164M2[t] +  3.45523558973322M3[t] +  4.24494190762077M4[t] +  4.18607679693687M5[t] +  3.69401601113987M6[t] +  6.16548943271195M7[t] +  6.70519575059948M8[t] +  4.01897628443263M9[t] +  2.56987307851065M10[t] +  0.392831493553957M11[t] +  0.607436539255319t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4488&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Brent[t] =  +  11.0348138217140 +  5.49236972579178Aanslagen[t] +  2.54901862907124M1[t] +  2.69586780410164M2[t] +  3.45523558973322M3[t] +  4.24494190762077M4[t] +  4.18607679693687M5[t] +  3.69401601113987M6[t] +  6.16548943271195M7[t] +  6.70519575059948M8[t] +  4.01897628443263M9[t] +  2.56987307851065M10[t] +  0.392831493553957M11[t] +  0.607436539255319t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4488&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4488&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
Brent[t] = + 11.0348138217140 + 5.49236972579178Aanslagen[t] + 2.54901862907124M1[t] + 2.69586780410164M2[t] + 3.45523558973322M3[t] + 4.24494190762077M4[t] + 4.18607679693687M5[t] + 3.69401601113987M6[t] + 6.16548943271195M7[t] + 6.70519575059948M8[t] + 4.01897628443263M9[t] + 2.56987307851065M10[t] + 0.392831493553957M11[t] + 0.607436539255319t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)11.03481382171402.9520763.7380.000390.000195
Aanslagen5.492369725791782.2122942.48270.0155910.007796
M12.549018629071243.5715010.71370.4779220.238961
M22.695867804101643.5702630.75510.4528810.226441
M33.455235589733223.5790460.96540.3378650.168933
M44.244941907620773.5759251.18710.2394480.119724
M54.186076796936873.5734241.17140.2456310.122815
M63.694016011139873.5994031.02630.3085040.154252
M76.165489432711953.5702891.72690.0888660.044433
M86.705195750599483.5696571.87840.0647460.032373
M94.018976284432633.7054431.08460.2820390.141019
M102.569873078510653.7039410.69380.4902290.245115
M110.3928314935539573.7178380.10570.9161720.458086
t0.6074365392553190.04718912.872500

\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) & 11.0348138217140 & 2.952076 & 3.738 & 0.00039 & 0.000195 \tabularnewline
Aanslagen & 5.49236972579178 & 2.212294 & 2.4827 & 0.015591 & 0.007796 \tabularnewline
M1 & 2.54901862907124 & 3.571501 & 0.7137 & 0.477922 & 0.238961 \tabularnewline
M2 & 2.69586780410164 & 3.570263 & 0.7551 & 0.452881 & 0.226441 \tabularnewline
M3 & 3.45523558973322 & 3.579046 & 0.9654 & 0.337865 & 0.168933 \tabularnewline
M4 & 4.24494190762077 & 3.575925 & 1.1871 & 0.239448 & 0.119724 \tabularnewline
M5 & 4.18607679693687 & 3.573424 & 1.1714 & 0.245631 & 0.122815 \tabularnewline
M6 & 3.69401601113987 & 3.599403 & 1.0263 & 0.308504 & 0.154252 \tabularnewline
M7 & 6.16548943271195 & 3.570289 & 1.7269 & 0.088866 & 0.044433 \tabularnewline
M8 & 6.70519575059948 & 3.569657 & 1.8784 & 0.064746 & 0.032373 \tabularnewline
M9 & 4.01897628443263 & 3.705443 & 1.0846 & 0.282039 & 0.141019 \tabularnewline
M10 & 2.56987307851065 & 3.703941 & 0.6938 & 0.490229 & 0.245115 \tabularnewline
M11 & 0.392831493553957 & 3.717838 & 0.1057 & 0.916172 & 0.458086 \tabularnewline
t & 0.607436539255319 & 0.047189 & 12.8725 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4488&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]11.0348138217140[/C][C]2.952076[/C][C]3.738[/C][C]0.00039[/C][C]0.000195[/C][/ROW]
[ROW][C]Aanslagen[/C][C]5.49236972579178[/C][C]2.212294[/C][C]2.4827[/C][C]0.015591[/C][C]0.007796[/C][/ROW]
[ROW][C]M1[/C][C]2.54901862907124[/C][C]3.571501[/C][C]0.7137[/C][C]0.477922[/C][C]0.238961[/C][/ROW]
[ROW][C]M2[/C][C]2.69586780410164[/C][C]3.570263[/C][C]0.7551[/C][C]0.452881[/C][C]0.226441[/C][/ROW]
[ROW][C]M3[/C][C]3.45523558973322[/C][C]3.579046[/C][C]0.9654[/C][C]0.337865[/C][C]0.168933[/C][/ROW]
[ROW][C]M4[/C][C]4.24494190762077[/C][C]3.575925[/C][C]1.1871[/C][C]0.239448[/C][C]0.119724[/C][/ROW]
[ROW][C]M5[/C][C]4.18607679693687[/C][C]3.573424[/C][C]1.1714[/C][C]0.245631[/C][C]0.122815[/C][/ROW]
[ROW][C]M6[/C][C]3.69401601113987[/C][C]3.599403[/C][C]1.0263[/C][C]0.308504[/C][C]0.154252[/C][/ROW]
[ROW][C]M7[/C][C]6.16548943271195[/C][C]3.570289[/C][C]1.7269[/C][C]0.088866[/C][C]0.044433[/C][/ROW]
[ROW][C]M8[/C][C]6.70519575059948[/C][C]3.569657[/C][C]1.8784[/C][C]0.064746[/C][C]0.032373[/C][/ROW]
[ROW][C]M9[/C][C]4.01897628443263[/C][C]3.705443[/C][C]1.0846[/C][C]0.282039[/C][C]0.141019[/C][/ROW]
[ROW][C]M10[/C][C]2.56987307851065[/C][C]3.703941[/C][C]0.6938[/C][C]0.490229[/C][C]0.245115[/C][/ROW]
[ROW][C]M11[/C][C]0.392831493553957[/C][C]3.717838[/C][C]0.1057[/C][C]0.916172[/C][C]0.458086[/C][/ROW]
[ROW][C]t[/C][C]0.607436539255319[/C][C]0.047189[/C][C]12.8725[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4488&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4488&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)11.03481382171402.9520763.7380.000390.000195
Aanslagen5.492369725791782.2122942.48270.0155910.007796
M12.549018629071243.5715010.71370.4779220.238961
M22.695867804101643.5702630.75510.4528810.226441
M33.455235589733223.5790460.96540.3378650.168933
M44.244941907620773.5759251.18710.2394480.119724
M54.186076796936873.5734241.17140.2456310.122815
M63.694016011139873.5994031.02630.3085040.154252
M76.165489432711953.5702891.72690.0888660.044433
M86.705195750599483.5696571.87840.0647460.032373
M94.018976284432633.7054431.08460.2820390.141019
M102.569873078510653.7039410.69380.4902290.245115
M110.3928314935539573.7178380.10570.9161720.458086
t0.6074365392553190.04718912.872500







Multiple Linear Regression - Regression Statistics
Multiple R0.942101045896997
R-squared0.887554380680216
Adjusted R-squared0.865406001117228
F-TEST (value)40.0731068454060
F-TEST (DF numerator)13
F-TEST (DF denominator)66
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.41333060691364
Sum Squared Residuals2714.63342525597

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.942101045896997 \tabularnewline
R-squared & 0.887554380680216 \tabularnewline
Adjusted R-squared & 0.865406001117228 \tabularnewline
F-TEST (value) & 40.0731068454060 \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 & 6.41333060691364 \tabularnewline
Sum Squared Residuals & 2714.63342525597 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4488&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.942101045896997[/C][/ROW]
[ROW][C]R-squared[/C][C]0.887554380680216[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.865406001117228[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]40.0731068454060[/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]6.41333060691364[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2714.63342525597[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4488&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4488&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.942101045896997
R-squared0.887554380680216
Adjusted R-squared0.865406001117228
F-TEST (value)40.0731068454060
F-TEST (DF numerator)13
F-TEST (DF denominator)66
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.41333060691364
Sum Squared Residuals2714.63342525597







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
125.6214.191268990040711.4287310099593
227.514.945554704326412.5544452956736
324.516.31235902921328.18764097078677
425.6617.70950188635617.95049811364394
528.3118.258073314927510.0519266850725
627.8523.86581879417763.98418120582239
724.6121.45235902921323.15764097078678
825.6822.59950188635613.08049811364392
925.6226.0130886852363-0.393088685236307
1020.5425.1714220185696-4.63142201856963
1118.818.10944724707650.690552752923494
1218.7118.32405229277790.385947707222133
1319.4621.4805074611044-2.02050746110443
1420.1222.2347931753901-2.11479317539011
1523.5423.6015975002770-0.0615975002770488
1625.624.99874035741990.601259642580092
1725.3925.5473117859913-0.157311785991335
1824.0925.6626875394497-1.57268753944966
1925.6928.7415975002770-3.05159750027704
2026.5629.8887403574199-3.32874035741991
2128.3327.80995743050840.520042569491622
2227.526.96829076384170.53170923615829
2324.2325.3986857181403-1.16868571814034
2428.2325.61329076384172.6167092361583
2531.2928.76974593216832.52025406783174
2632.7229.5240316464543.19596835354601
2730.4630.8908359713409-0.430835971340876
2824.8932.2879788284837-7.39797882848374
2925.6832.8365502570552-7.15655025705516
3027.5232.9519260105135-5.43192601051348
3128.436.0308359713409-7.63083597134088
3229.7137.1779788284837-7.46797882848373
3326.8535.0991959015722-8.2491959015722
3429.6234.2575292349055-4.63752923490554
3528.6932.6879241892042-3.99792418920416
3629.7632.9025292349055-3.14252923490553
3731.336.0589844032321-4.75898440323209
3830.8636.8132701175178-5.95327011751782
3933.4643.6724441681965-10.2124441681965
4033.1545.0695870253393-11.9195870253393
4137.9945.6181584539108-7.62815845391076
4235.2445.7335342073691-10.4935342073691
4338.2448.8124441681965-10.5724441681965
4443.1649.9595870253393-6.79958702533933
4543.3342.3884343726360.941565627363964
4649.6741.54676770596948.12323229403063
4743.1739.9771626602683.19283733973200
4839.5645.6841374317611-6.12413743176112
4944.3648.8405926000877-4.48059260008768
5045.2249.5948783143734-4.37487831437341
5153.150.96168263926032.13831736073971
5252.152.3588254964032-0.258825496403159
5348.5252.9073969249746-4.38739692497458
5454.8453.02277267843291.8172273215671
5557.5756.10168263926031.4683173607397
5664.1457.24882549640326.89117450359684
5762.8555.17004256949167.67995743050838
5858.7554.3283759028254.42162409717504
5955.3352.75877085712362.57122914287641
6057.0352.97337590282494.05662409717505
6163.1856.12983107115157.05016892884849
6260.1956.88411678543723.30588321456276
6362.1258.25092111032413.86907888967587
6470.1259.64806396746710.4719360325330
6569.7560.19663539603849.55336460396159
6668.5660.31201114949678.24798885050328
6773.7763.390921110324110.3790788896759
6873.2364.5380639674678.69193603253302
6961.9662.4592810405555-0.499281040555453
7057.8161.6176143738888-3.80761437388879
7158.7660.0480093281874-1.28800932818742
7262.4760.26261437388882.20738562611122
7353.6863.4190695422153-9.73906954221534
7457.5664.1733552565011-6.61335525650106
7562.0565.540159581388-3.49015958138796
7667.4966.93730243853080.55269756146918
7767.2167.4858738671022-0.275873867102245
7871.0567.60124962056063.44875037943943
7976.9370.6801595813886.24984041861205
8070.7671.8273024385308-1.06730243853081

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 25.62 & 14.1912689900407 & 11.4287310099593 \tabularnewline
2 & 27.5 & 14.9455547043264 & 12.5544452956736 \tabularnewline
3 & 24.5 & 16.3123590292132 & 8.18764097078677 \tabularnewline
4 & 25.66 & 17.7095018863561 & 7.95049811364394 \tabularnewline
5 & 28.31 & 18.2580733149275 & 10.0519266850725 \tabularnewline
6 & 27.85 & 23.8658187941776 & 3.98418120582239 \tabularnewline
7 & 24.61 & 21.4523590292132 & 3.15764097078678 \tabularnewline
8 & 25.68 & 22.5995018863561 & 3.08049811364392 \tabularnewline
9 & 25.62 & 26.0130886852363 & -0.393088685236307 \tabularnewline
10 & 20.54 & 25.1714220185696 & -4.63142201856963 \tabularnewline
11 & 18.8 & 18.1094472470765 & 0.690552752923494 \tabularnewline
12 & 18.71 & 18.3240522927779 & 0.385947707222133 \tabularnewline
13 & 19.46 & 21.4805074611044 & -2.02050746110443 \tabularnewline
14 & 20.12 & 22.2347931753901 & -2.11479317539011 \tabularnewline
15 & 23.54 & 23.6015975002770 & -0.0615975002770488 \tabularnewline
16 & 25.6 & 24.9987403574199 & 0.601259642580092 \tabularnewline
17 & 25.39 & 25.5473117859913 & -0.157311785991335 \tabularnewline
18 & 24.09 & 25.6626875394497 & -1.57268753944966 \tabularnewline
19 & 25.69 & 28.7415975002770 & -3.05159750027704 \tabularnewline
20 & 26.56 & 29.8887403574199 & -3.32874035741991 \tabularnewline
21 & 28.33 & 27.8099574305084 & 0.520042569491622 \tabularnewline
22 & 27.5 & 26.9682907638417 & 0.53170923615829 \tabularnewline
23 & 24.23 & 25.3986857181403 & -1.16868571814034 \tabularnewline
24 & 28.23 & 25.6132907638417 & 2.6167092361583 \tabularnewline
25 & 31.29 & 28.7697459321683 & 2.52025406783174 \tabularnewline
26 & 32.72 & 29.524031646454 & 3.19596835354601 \tabularnewline
27 & 30.46 & 30.8908359713409 & -0.430835971340876 \tabularnewline
28 & 24.89 & 32.2879788284837 & -7.39797882848374 \tabularnewline
29 & 25.68 & 32.8365502570552 & -7.15655025705516 \tabularnewline
30 & 27.52 & 32.9519260105135 & -5.43192601051348 \tabularnewline
31 & 28.4 & 36.0308359713409 & -7.63083597134088 \tabularnewline
32 & 29.71 & 37.1779788284837 & -7.46797882848373 \tabularnewline
33 & 26.85 & 35.0991959015722 & -8.2491959015722 \tabularnewline
34 & 29.62 & 34.2575292349055 & -4.63752923490554 \tabularnewline
35 & 28.69 & 32.6879241892042 & -3.99792418920416 \tabularnewline
36 & 29.76 & 32.9025292349055 & -3.14252923490553 \tabularnewline
37 & 31.3 & 36.0589844032321 & -4.75898440323209 \tabularnewline
38 & 30.86 & 36.8132701175178 & -5.95327011751782 \tabularnewline
39 & 33.46 & 43.6724441681965 & -10.2124441681965 \tabularnewline
40 & 33.15 & 45.0695870253393 & -11.9195870253393 \tabularnewline
41 & 37.99 & 45.6181584539108 & -7.62815845391076 \tabularnewline
42 & 35.24 & 45.7335342073691 & -10.4935342073691 \tabularnewline
43 & 38.24 & 48.8124441681965 & -10.5724441681965 \tabularnewline
44 & 43.16 & 49.9595870253393 & -6.79958702533933 \tabularnewline
45 & 43.33 & 42.388434372636 & 0.941565627363964 \tabularnewline
46 & 49.67 & 41.5467677059694 & 8.12323229403063 \tabularnewline
47 & 43.17 & 39.977162660268 & 3.19283733973200 \tabularnewline
48 & 39.56 & 45.6841374317611 & -6.12413743176112 \tabularnewline
49 & 44.36 & 48.8405926000877 & -4.48059260008768 \tabularnewline
50 & 45.22 & 49.5948783143734 & -4.37487831437341 \tabularnewline
51 & 53.1 & 50.9616826392603 & 2.13831736073971 \tabularnewline
52 & 52.1 & 52.3588254964032 & -0.258825496403159 \tabularnewline
53 & 48.52 & 52.9073969249746 & -4.38739692497458 \tabularnewline
54 & 54.84 & 53.0227726784329 & 1.8172273215671 \tabularnewline
55 & 57.57 & 56.1016826392603 & 1.4683173607397 \tabularnewline
56 & 64.14 & 57.2488254964032 & 6.89117450359684 \tabularnewline
57 & 62.85 & 55.1700425694916 & 7.67995743050838 \tabularnewline
58 & 58.75 & 54.328375902825 & 4.42162409717504 \tabularnewline
59 & 55.33 & 52.7587708571236 & 2.57122914287641 \tabularnewline
60 & 57.03 & 52.9733759028249 & 4.05662409717505 \tabularnewline
61 & 63.18 & 56.1298310711515 & 7.05016892884849 \tabularnewline
62 & 60.19 & 56.8841167854372 & 3.30588321456276 \tabularnewline
63 & 62.12 & 58.2509211103241 & 3.86907888967587 \tabularnewline
64 & 70.12 & 59.648063967467 & 10.4719360325330 \tabularnewline
65 & 69.75 & 60.1966353960384 & 9.55336460396159 \tabularnewline
66 & 68.56 & 60.3120111494967 & 8.24798885050328 \tabularnewline
67 & 73.77 & 63.3909211103241 & 10.3790788896759 \tabularnewline
68 & 73.23 & 64.538063967467 & 8.69193603253302 \tabularnewline
69 & 61.96 & 62.4592810405555 & -0.499281040555453 \tabularnewline
70 & 57.81 & 61.6176143738888 & -3.80761437388879 \tabularnewline
71 & 58.76 & 60.0480093281874 & -1.28800932818742 \tabularnewline
72 & 62.47 & 60.2626143738888 & 2.20738562611122 \tabularnewline
73 & 53.68 & 63.4190695422153 & -9.73906954221534 \tabularnewline
74 & 57.56 & 64.1733552565011 & -6.61335525650106 \tabularnewline
75 & 62.05 & 65.540159581388 & -3.49015958138796 \tabularnewline
76 & 67.49 & 66.9373024385308 & 0.55269756146918 \tabularnewline
77 & 67.21 & 67.4858738671022 & -0.275873867102245 \tabularnewline
78 & 71.05 & 67.6012496205606 & 3.44875037943943 \tabularnewline
79 & 76.93 & 70.680159581388 & 6.24984041861205 \tabularnewline
80 & 70.76 & 71.8273024385308 & -1.06730243853081 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4488&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]25.62[/C][C]14.1912689900407[/C][C]11.4287310099593[/C][/ROW]
[ROW][C]2[/C][C]27.5[/C][C]14.9455547043264[/C][C]12.5544452956736[/C][/ROW]
[ROW][C]3[/C][C]24.5[/C][C]16.3123590292132[/C][C]8.18764097078677[/C][/ROW]
[ROW][C]4[/C][C]25.66[/C][C]17.7095018863561[/C][C]7.95049811364394[/C][/ROW]
[ROW][C]5[/C][C]28.31[/C][C]18.2580733149275[/C][C]10.0519266850725[/C][/ROW]
[ROW][C]6[/C][C]27.85[/C][C]23.8658187941776[/C][C]3.98418120582239[/C][/ROW]
[ROW][C]7[/C][C]24.61[/C][C]21.4523590292132[/C][C]3.15764097078678[/C][/ROW]
[ROW][C]8[/C][C]25.68[/C][C]22.5995018863561[/C][C]3.08049811364392[/C][/ROW]
[ROW][C]9[/C][C]25.62[/C][C]26.0130886852363[/C][C]-0.393088685236307[/C][/ROW]
[ROW][C]10[/C][C]20.54[/C][C]25.1714220185696[/C][C]-4.63142201856963[/C][/ROW]
[ROW][C]11[/C][C]18.8[/C][C]18.1094472470765[/C][C]0.690552752923494[/C][/ROW]
[ROW][C]12[/C][C]18.71[/C][C]18.3240522927779[/C][C]0.385947707222133[/C][/ROW]
[ROW][C]13[/C][C]19.46[/C][C]21.4805074611044[/C][C]-2.02050746110443[/C][/ROW]
[ROW][C]14[/C][C]20.12[/C][C]22.2347931753901[/C][C]-2.11479317539011[/C][/ROW]
[ROW][C]15[/C][C]23.54[/C][C]23.6015975002770[/C][C]-0.0615975002770488[/C][/ROW]
[ROW][C]16[/C][C]25.6[/C][C]24.9987403574199[/C][C]0.601259642580092[/C][/ROW]
[ROW][C]17[/C][C]25.39[/C][C]25.5473117859913[/C][C]-0.157311785991335[/C][/ROW]
[ROW][C]18[/C][C]24.09[/C][C]25.6626875394497[/C][C]-1.57268753944966[/C][/ROW]
[ROW][C]19[/C][C]25.69[/C][C]28.7415975002770[/C][C]-3.05159750027704[/C][/ROW]
[ROW][C]20[/C][C]26.56[/C][C]29.8887403574199[/C][C]-3.32874035741991[/C][/ROW]
[ROW][C]21[/C][C]28.33[/C][C]27.8099574305084[/C][C]0.520042569491622[/C][/ROW]
[ROW][C]22[/C][C]27.5[/C][C]26.9682907638417[/C][C]0.53170923615829[/C][/ROW]
[ROW][C]23[/C][C]24.23[/C][C]25.3986857181403[/C][C]-1.16868571814034[/C][/ROW]
[ROW][C]24[/C][C]28.23[/C][C]25.6132907638417[/C][C]2.6167092361583[/C][/ROW]
[ROW][C]25[/C][C]31.29[/C][C]28.7697459321683[/C][C]2.52025406783174[/C][/ROW]
[ROW][C]26[/C][C]32.72[/C][C]29.524031646454[/C][C]3.19596835354601[/C][/ROW]
[ROW][C]27[/C][C]30.46[/C][C]30.8908359713409[/C][C]-0.430835971340876[/C][/ROW]
[ROW][C]28[/C][C]24.89[/C][C]32.2879788284837[/C][C]-7.39797882848374[/C][/ROW]
[ROW][C]29[/C][C]25.68[/C][C]32.8365502570552[/C][C]-7.15655025705516[/C][/ROW]
[ROW][C]30[/C][C]27.52[/C][C]32.9519260105135[/C][C]-5.43192601051348[/C][/ROW]
[ROW][C]31[/C][C]28.4[/C][C]36.0308359713409[/C][C]-7.63083597134088[/C][/ROW]
[ROW][C]32[/C][C]29.71[/C][C]37.1779788284837[/C][C]-7.46797882848373[/C][/ROW]
[ROW][C]33[/C][C]26.85[/C][C]35.0991959015722[/C][C]-8.2491959015722[/C][/ROW]
[ROW][C]34[/C][C]29.62[/C][C]34.2575292349055[/C][C]-4.63752923490554[/C][/ROW]
[ROW][C]35[/C][C]28.69[/C][C]32.6879241892042[/C][C]-3.99792418920416[/C][/ROW]
[ROW][C]36[/C][C]29.76[/C][C]32.9025292349055[/C][C]-3.14252923490553[/C][/ROW]
[ROW][C]37[/C][C]31.3[/C][C]36.0589844032321[/C][C]-4.75898440323209[/C][/ROW]
[ROW][C]38[/C][C]30.86[/C][C]36.8132701175178[/C][C]-5.95327011751782[/C][/ROW]
[ROW][C]39[/C][C]33.46[/C][C]43.6724441681965[/C][C]-10.2124441681965[/C][/ROW]
[ROW][C]40[/C][C]33.15[/C][C]45.0695870253393[/C][C]-11.9195870253393[/C][/ROW]
[ROW][C]41[/C][C]37.99[/C][C]45.6181584539108[/C][C]-7.62815845391076[/C][/ROW]
[ROW][C]42[/C][C]35.24[/C][C]45.7335342073691[/C][C]-10.4935342073691[/C][/ROW]
[ROW][C]43[/C][C]38.24[/C][C]48.8124441681965[/C][C]-10.5724441681965[/C][/ROW]
[ROW][C]44[/C][C]43.16[/C][C]49.9595870253393[/C][C]-6.79958702533933[/C][/ROW]
[ROW][C]45[/C][C]43.33[/C][C]42.388434372636[/C][C]0.941565627363964[/C][/ROW]
[ROW][C]46[/C][C]49.67[/C][C]41.5467677059694[/C][C]8.12323229403063[/C][/ROW]
[ROW][C]47[/C][C]43.17[/C][C]39.977162660268[/C][C]3.19283733973200[/C][/ROW]
[ROW][C]48[/C][C]39.56[/C][C]45.6841374317611[/C][C]-6.12413743176112[/C][/ROW]
[ROW][C]49[/C][C]44.36[/C][C]48.8405926000877[/C][C]-4.48059260008768[/C][/ROW]
[ROW][C]50[/C][C]45.22[/C][C]49.5948783143734[/C][C]-4.37487831437341[/C][/ROW]
[ROW][C]51[/C][C]53.1[/C][C]50.9616826392603[/C][C]2.13831736073971[/C][/ROW]
[ROW][C]52[/C][C]52.1[/C][C]52.3588254964032[/C][C]-0.258825496403159[/C][/ROW]
[ROW][C]53[/C][C]48.52[/C][C]52.9073969249746[/C][C]-4.38739692497458[/C][/ROW]
[ROW][C]54[/C][C]54.84[/C][C]53.0227726784329[/C][C]1.8172273215671[/C][/ROW]
[ROW][C]55[/C][C]57.57[/C][C]56.1016826392603[/C][C]1.4683173607397[/C][/ROW]
[ROW][C]56[/C][C]64.14[/C][C]57.2488254964032[/C][C]6.89117450359684[/C][/ROW]
[ROW][C]57[/C][C]62.85[/C][C]55.1700425694916[/C][C]7.67995743050838[/C][/ROW]
[ROW][C]58[/C][C]58.75[/C][C]54.328375902825[/C][C]4.42162409717504[/C][/ROW]
[ROW][C]59[/C][C]55.33[/C][C]52.7587708571236[/C][C]2.57122914287641[/C][/ROW]
[ROW][C]60[/C][C]57.03[/C][C]52.9733759028249[/C][C]4.05662409717505[/C][/ROW]
[ROW][C]61[/C][C]63.18[/C][C]56.1298310711515[/C][C]7.05016892884849[/C][/ROW]
[ROW][C]62[/C][C]60.19[/C][C]56.8841167854372[/C][C]3.30588321456276[/C][/ROW]
[ROW][C]63[/C][C]62.12[/C][C]58.2509211103241[/C][C]3.86907888967587[/C][/ROW]
[ROW][C]64[/C][C]70.12[/C][C]59.648063967467[/C][C]10.4719360325330[/C][/ROW]
[ROW][C]65[/C][C]69.75[/C][C]60.1966353960384[/C][C]9.55336460396159[/C][/ROW]
[ROW][C]66[/C][C]68.56[/C][C]60.3120111494967[/C][C]8.24798885050328[/C][/ROW]
[ROW][C]67[/C][C]73.77[/C][C]63.3909211103241[/C][C]10.3790788896759[/C][/ROW]
[ROW][C]68[/C][C]73.23[/C][C]64.538063967467[/C][C]8.69193603253302[/C][/ROW]
[ROW][C]69[/C][C]61.96[/C][C]62.4592810405555[/C][C]-0.499281040555453[/C][/ROW]
[ROW][C]70[/C][C]57.81[/C][C]61.6176143738888[/C][C]-3.80761437388879[/C][/ROW]
[ROW][C]71[/C][C]58.76[/C][C]60.0480093281874[/C][C]-1.28800932818742[/C][/ROW]
[ROW][C]72[/C][C]62.47[/C][C]60.2626143738888[/C][C]2.20738562611122[/C][/ROW]
[ROW][C]73[/C][C]53.68[/C][C]63.4190695422153[/C][C]-9.73906954221534[/C][/ROW]
[ROW][C]74[/C][C]57.56[/C][C]64.1733552565011[/C][C]-6.61335525650106[/C][/ROW]
[ROW][C]75[/C][C]62.05[/C][C]65.540159581388[/C][C]-3.49015958138796[/C][/ROW]
[ROW][C]76[/C][C]67.49[/C][C]66.9373024385308[/C][C]0.55269756146918[/C][/ROW]
[ROW][C]77[/C][C]67.21[/C][C]67.4858738671022[/C][C]-0.275873867102245[/C][/ROW]
[ROW][C]78[/C][C]71.05[/C][C]67.6012496205606[/C][C]3.44875037943943[/C][/ROW]
[ROW][C]79[/C][C]76.93[/C][C]70.680159581388[/C][C]6.24984041861205[/C][/ROW]
[ROW][C]80[/C][C]70.76[/C][C]71.8273024385308[/C][C]-1.06730243853081[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4488&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4488&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
125.6214.191268990040711.4287310099593
227.514.945554704326412.5544452956736
324.516.31235902921328.18764097078677
425.6617.70950188635617.95049811364394
528.3118.258073314927510.0519266850725
627.8523.86581879417763.98418120582239
724.6121.45235902921323.15764097078678
825.6822.59950188635613.08049811364392
925.6226.0130886852363-0.393088685236307
1020.5425.1714220185696-4.63142201856963
1118.818.10944724707650.690552752923494
1218.7118.32405229277790.385947707222133
1319.4621.4805074611044-2.02050746110443
1420.1222.2347931753901-2.11479317539011
1523.5423.6015975002770-0.0615975002770488
1625.624.99874035741990.601259642580092
1725.3925.5473117859913-0.157311785991335
1824.0925.6626875394497-1.57268753944966
1925.6928.7415975002770-3.05159750027704
2026.5629.8887403574199-3.32874035741991
2128.3327.80995743050840.520042569491622
2227.526.96829076384170.53170923615829
2324.2325.3986857181403-1.16868571814034
2428.2325.61329076384172.6167092361583
2531.2928.76974593216832.52025406783174
2632.7229.5240316464543.19596835354601
2730.4630.8908359713409-0.430835971340876
2824.8932.2879788284837-7.39797882848374
2925.6832.8365502570552-7.15655025705516
3027.5232.9519260105135-5.43192601051348
3128.436.0308359713409-7.63083597134088
3229.7137.1779788284837-7.46797882848373
3326.8535.0991959015722-8.2491959015722
3429.6234.2575292349055-4.63752923490554
3528.6932.6879241892042-3.99792418920416
3629.7632.9025292349055-3.14252923490553
3731.336.0589844032321-4.75898440323209
3830.8636.8132701175178-5.95327011751782
3933.4643.6724441681965-10.2124441681965
4033.1545.0695870253393-11.9195870253393
4137.9945.6181584539108-7.62815845391076
4235.2445.7335342073691-10.4935342073691
4338.2448.8124441681965-10.5724441681965
4443.1649.9595870253393-6.79958702533933
4543.3342.3884343726360.941565627363964
4649.6741.54676770596948.12323229403063
4743.1739.9771626602683.19283733973200
4839.5645.6841374317611-6.12413743176112
4944.3648.8405926000877-4.48059260008768
5045.2249.5948783143734-4.37487831437341
5153.150.96168263926032.13831736073971
5252.152.3588254964032-0.258825496403159
5348.5252.9073969249746-4.38739692497458
5454.8453.02277267843291.8172273215671
5557.5756.10168263926031.4683173607397
5664.1457.24882549640326.89117450359684
5762.8555.17004256949167.67995743050838
5858.7554.3283759028254.42162409717504
5955.3352.75877085712362.57122914287641
6057.0352.97337590282494.05662409717505
6163.1856.12983107115157.05016892884849
6260.1956.88411678543723.30588321456276
6362.1258.25092111032413.86907888967587
6470.1259.64806396746710.4719360325330
6569.7560.19663539603849.55336460396159
6668.5660.31201114949678.24798885050328
6773.7763.390921110324110.3790788896759
6873.2364.5380639674678.69193603253302
6961.9662.4592810405555-0.499281040555453
7057.8161.6176143738888-3.80761437388879
7158.7660.0480093281874-1.28800932818742
7262.4760.26261437388882.20738562611122
7353.6863.4190695422153-9.73906954221534
7457.5664.1733552565011-6.61335525650106
7562.0565.540159581388-3.49015958138796
7667.4966.93730243853080.55269756146918
7767.2167.4858738671022-0.275873867102245
7871.0567.60124962056063.44875037943943
7976.9370.6801595813886.24984041861205
8070.7671.8273024385308-1.06730243853081



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