Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 19 Nov 2007 03:39:05 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/19/t11954690264rlncllihx77s8y.htm/, Retrieved Fri, 03 May 2024 09:07:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5694, Retrieved Fri, 03 May 2024 09:07:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsQ3
Estimated Impact192
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [the seatbelt law] [2007-11-19 10:39:05] [c4516de5538230e4cf0ae0b9d9e43dd3] [Current]
Feedback Forum

Post a new message
Dataseries X:
102.3	0
98.7	0
104.4	0
97.6	0
102.7	0
103.0	0
92.9	0
96.1	0
94.9	0
99.9	0
96.3	0
89.5	0
104.6	0
101.5	0
109.8	0
112.1	0
110.1	0
107.1	0
108.1	0
99.0	0
104.0	0
106.7	0
101.1	0
97.8	0
113.8	0
107.1	0
117.5	1
113.7	1
106.6	1
109.8	1
108.8	1
102.0	1
114.5	1
116.5	1
108.6	1
113.9	1
109.3	1
112.5	1
123.4	1
115.2	1
110.8	1
120.4	1
117.6	1
111.2	1
131.1	1
118.9	1
115.7	1
119.6	1
113.1	1
106.4	1
115.5	1
111.8	1
109.6	1
121.5	1
109.5	1
109.0	1
113.4	1
112.7	1
114.4	1
109.2	1
116.2	1
113.8	1
123.6	1
112.6	1
117.7	1
113.3	1
110.7	1
114.7	1
116.9	1
120.6	1
111.6	1
111.9	1
116.1	1
111.9	1
125.1	1
115.1	1
116.7	1
115.8	1
116.8	1
113.0	1
106.5	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=5694&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=5694&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 97.7056407447974 + 8.0907447973713`x `[t] + 5.02100697160936M1[t] + 1.57139119247554M2[t] + 9.9516690137172M3[t] + 3.97348180601192M4[t] + 3.32386602687806M5[t] + 5.61710739060135M6[t] + 1.73892018289609M7[t] -1.12498131052348M8[t] + 3.96826005319980M9[t] + 5.75161251064865M10[t] + 1.05913958865765M11[t] + 0.0924729219909944t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  97.7056407447974 +  8.0907447973713`x
`[t] +  5.02100697160936M1[t] +  1.57139119247554M2[t] +  9.9516690137172M3[t] +  3.97348180601192M4[t] +  3.32386602687806M5[t] +  5.61710739060135M6[t] +  1.73892018289609M7[t] -1.12498131052348M8[t] +  3.96826005319980M9[t] +  5.75161251064865M10[t] +  1.05913958865765M11[t] +  0.0924729219909944t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5694&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  97.7056407447974 +  8.0907447973713`x
`[t] +  5.02100697160936M1[t] +  1.57139119247554M2[t] +  9.9516690137172M3[t] +  3.97348180601192M4[t] +  3.32386602687806M5[t] +  5.61710739060135M6[t] +  1.73892018289609M7[t] -1.12498131052348M8[t] +  3.96826005319980M9[t] +  5.75161251064865M10[t] +  1.05913958865765M11[t] +  0.0924729219909944t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5694&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
y[t] = + 97.7056407447974 + 8.0907447973713`x `[t] + 5.02100697160936M1[t] + 1.57139119247554M2[t] + 9.9516690137172M3[t] + 3.97348180601192M4[t] + 3.32386602687806M5[t] + 5.61710739060135M6[t] + 1.73892018289609M7[t] -1.12498131052348M8[t] + 3.96826005319980M9[t] + 5.75161251064865M10[t] + 1.05913958865765M11[t] + 0.0924729219909944t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)97.70564074479742.21322144.146300
`x `8.09074479737131.9868654.07210.0001266.3e-05
M15.021006971609362.7095451.85310.0682750.034137
M21.571391192475542.7091790.580.5638430.281922
M39.95166901371722.7145153.66610.0004880.000244
M43.973481806011922.711951.46520.147550.073775
M53.323866026878062.7099621.22650.224290.112145
M65.617107390601352.7085522.07380.0419410.02097
M71.738920182896092.7077210.64220.522930.261465
M8-1.124981310523482.70747-0.41550.6790960.339548
M93.968260053199802.7077971.46550.1474640.073732
M105.751612510648652.8101992.04670.0446140.022307
M111.059139588657652.8093620.3770.7073620.353681
t0.09247292199099440.0396122.33450.0225770.011288

\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) & 97.7056407447974 & 2.213221 & 44.1463 & 0 & 0 \tabularnewline
`x
` & 8.0907447973713 & 1.986865 & 4.0721 & 0.000126 & 6.3e-05 \tabularnewline
M1 & 5.02100697160936 & 2.709545 & 1.8531 & 0.068275 & 0.034137 \tabularnewline
M2 & 1.57139119247554 & 2.709179 & 0.58 & 0.563843 & 0.281922 \tabularnewline
M3 & 9.9516690137172 & 2.714515 & 3.6661 & 0.000488 & 0.000244 \tabularnewline
M4 & 3.97348180601192 & 2.71195 & 1.4652 & 0.14755 & 0.073775 \tabularnewline
M5 & 3.32386602687806 & 2.709962 & 1.2265 & 0.22429 & 0.112145 \tabularnewline
M6 & 5.61710739060135 & 2.708552 & 2.0738 & 0.041941 & 0.02097 \tabularnewline
M7 & 1.73892018289609 & 2.707721 & 0.6422 & 0.52293 & 0.261465 \tabularnewline
M8 & -1.12498131052348 & 2.70747 & -0.4155 & 0.679096 & 0.339548 \tabularnewline
M9 & 3.96826005319980 & 2.707797 & 1.4655 & 0.147464 & 0.073732 \tabularnewline
M10 & 5.75161251064865 & 2.810199 & 2.0467 & 0.044614 & 0.022307 \tabularnewline
M11 & 1.05913958865765 & 2.809362 & 0.377 & 0.707362 & 0.353681 \tabularnewline
t & 0.0924729219909944 & 0.039612 & 2.3345 & 0.022577 & 0.011288 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5694&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]97.7056407447974[/C][C]2.213221[/C][C]44.1463[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`x
`[/C][C]8.0907447973713[/C][C]1.986865[/C][C]4.0721[/C][C]0.000126[/C][C]6.3e-05[/C][/ROW]
[ROW][C]M1[/C][C]5.02100697160936[/C][C]2.709545[/C][C]1.8531[/C][C]0.068275[/C][C]0.034137[/C][/ROW]
[ROW][C]M2[/C][C]1.57139119247554[/C][C]2.709179[/C][C]0.58[/C][C]0.563843[/C][C]0.281922[/C][/ROW]
[ROW][C]M3[/C][C]9.9516690137172[/C][C]2.714515[/C][C]3.6661[/C][C]0.000488[/C][C]0.000244[/C][/ROW]
[ROW][C]M4[/C][C]3.97348180601192[/C][C]2.71195[/C][C]1.4652[/C][C]0.14755[/C][C]0.073775[/C][/ROW]
[ROW][C]M5[/C][C]3.32386602687806[/C][C]2.709962[/C][C]1.2265[/C][C]0.22429[/C][C]0.112145[/C][/ROW]
[ROW][C]M6[/C][C]5.61710739060135[/C][C]2.708552[/C][C]2.0738[/C][C]0.041941[/C][C]0.02097[/C][/ROW]
[ROW][C]M7[/C][C]1.73892018289609[/C][C]2.707721[/C][C]0.6422[/C][C]0.52293[/C][C]0.261465[/C][/ROW]
[ROW][C]M8[/C][C]-1.12498131052348[/C][C]2.70747[/C][C]-0.4155[/C][C]0.679096[/C][C]0.339548[/C][/ROW]
[ROW][C]M9[/C][C]3.96826005319980[/C][C]2.707797[/C][C]1.4655[/C][C]0.147464[/C][C]0.073732[/C][/ROW]
[ROW][C]M10[/C][C]5.75161251064865[/C][C]2.810199[/C][C]2.0467[/C][C]0.044614[/C][C]0.022307[/C][/ROW]
[ROW][C]M11[/C][C]1.05913958865765[/C][C]2.809362[/C][C]0.377[/C][C]0.707362[/C][C]0.353681[/C][/ROW]
[ROW][C]t[/C][C]0.0924729219909944[/C][C]0.039612[/C][C]2.3345[/C][C]0.022577[/C][C]0.011288[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5694&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5694&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)97.70564074479742.21322144.146300
`x `8.09074479737131.9868654.07210.0001266.3e-05
M15.021006971609362.7095451.85310.0682750.034137
M21.571391192475542.7091790.580.5638430.281922
M39.95166901371722.7145153.66610.0004880.000244
M43.973481806011922.711951.46520.147550.073775
M53.323866026878062.7099621.22650.224290.112145
M65.617107390601352.7085522.07380.0419410.02097
M71.738920182896092.7077210.64220.522930.261465
M8-1.124981310523482.70747-0.41550.6790960.339548
M93.968260053199802.7077971.46550.1474640.073732
M105.751612510648652.8101992.04670.0446140.022307
M111.059139588657652.8093620.3770.7073620.353681
t0.09247292199099440.0396122.33450.0225770.011288







Multiple Linear Regression - Regression Statistics
Multiple R0.820315320336834
R-squared0.672917224779323
Adjusted R-squared0.609453402721579
F-TEST (value)10.6031626044687
F-TEST (DF numerator)13
F-TEST (DF denominator)67
p-value9.47952827345944e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.86547326729879
Sum Squared Residuals1586.07961769155

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.820315320336834 \tabularnewline
R-squared & 0.672917224779323 \tabularnewline
Adjusted R-squared & 0.609453402721579 \tabularnewline
F-TEST (value) & 10.6031626044687 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 67 \tabularnewline
p-value & 9.47952827345944e-12 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.86547326729879 \tabularnewline
Sum Squared Residuals & 1586.07961769155 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5694&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.820315320336834[/C][/ROW]
[ROW][C]R-squared[/C][C]0.672917224779323[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.609453402721579[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.6031626044687[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]67[/C][/ROW]
[ROW][C]p-value[/C][C]9.47952827345944e-12[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]4.86547326729879[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1586.07961769155[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5694&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5694&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.820315320336834
R-squared0.672917224779323
Adjusted R-squared0.609453402721579
F-TEST (value)10.6031626044687
F-TEST (DF numerator)13
F-TEST (DF denominator)67
p-value9.47952827345944e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.86547326729879
Sum Squared Residuals1586.07961769155







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1102.3102.819120638398-0.519120638397901
298.799.4619777812548-0.761977781254835
3104.4107.934728524488-3.53472852448757
497.6102.049014238773-4.44901423877329
5102.7101.4918713816301.20812861836959
6103103.877585667345-0.87758566734472
792.9100.091871381630-7.1918713816304
896.197.3204428102018-1.22044281020183
994.9102.506157095916-7.60615709591612
1099.9104.381982475356-4.48198247535596
1196.399.781982475356-3.48198247535597
1289.598.8153158086893-9.3153158086893
13104.6103.9287957022900.67120429771035
14101.5100.5716528451470.928347154853177
15109.8109.0444035883790.755596411620518
16112.1103.1586893026658.9413106973348
17110.1102.6015464455227.49845355447765
18107.1104.9872607312372.11273926876337
19108.1101.2015464455226.89845355447764
209998.43011787409380.569882125906226
21104103.6158321598080.384167840191943
22106.7105.4916575392481.20834246075210
23101.1100.8916575392480.208342460752099
2497.899.9249908725812-2.12499087258124
25113.8105.0384707661828.76152923381842
26107.1101.6813279090395.41867209096124
27117.5118.244823449643-0.74482344964272
28113.7112.3591091639281.34089083607157
29106.6111.801966306786-5.20196630678559
30109.8114.187680592500-4.38768059249987
31108.8110.401966306786-1.60196630678559
32102107.630537735357-5.63053773535701
33114.5112.8162520210711.68374797892870
34116.5114.6920774005111.80792259948886
35108.6110.092077400511-1.49207740051114
36113.9109.1254107338444.77458926615553
37109.3114.238890627445-4.93889062744482
38112.5110.8817477703021.61825222969800
39123.4119.3544985135354.04550148646535
40115.2113.4687842278201.73121577217964
41110.8112.911641370678-2.11164137067752
42120.4115.2973556563925.10264434360821
43117.6111.5116413706786.08835862932247
44111.2108.7402127992492.45978720075106
45131.1113.92592708496317.1740729150368
46118.9115.8017524644033.09824753559694
47115.7111.2017524644034.49824753559694
48119.6110.2350857977369.3649142022636
49113.1115.348565691337-2.24856569133675
50106.4111.991422834194-5.59142283419392
51115.5120.464173577427-4.96417357742659
52111.8114.578459291712-2.7784592917123
53109.6114.021316434569-4.42131643456946
54121.5116.4070307202845.09296927971627
55109.5112.621316434569-3.12131643456945
56109109.849887863141-0.84988786314088
57113.4115.035602148855-1.63560214885516
58112.7116.911427528295-4.211427528295
59114.4112.3114275282952.08857247170501
60109.2111.344760861628-2.14476086162834
61116.2116.458240755229-0.258240755228678
62113.8113.1010978980860.698902101914137
63123.6121.5738486413192.02615135868148
64112.6115.688134355604-3.08813435560424
65117.7115.1309914984612.56900850153862
66113.3117.516705784176-4.21670578417566
67110.7113.730991498461-3.03099149846138
68114.7110.9595629270333.74043707296719
69116.9116.1452772127470.754722787252912
70120.6118.0211025921872.57889740781306
71111.6113.421102592187-1.82110259218694
72111.9112.454435925520-0.554435925520266
73116.1117.567915819121-1.46791581912062
74111.9114.210772961978-2.31077296197779
75125.1122.6835237052102.41647629478954
76115.1116.797809419496-1.69780941949617
77116.7116.2406665623530.459333437646688
78115.8118.626380848068-2.8263808480676
79116.8114.8406665623531.95933343764668
80113112.0692379909250.930762009075256
81106.5117.254952276639-10.7549522766390

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 102.3 & 102.819120638398 & -0.519120638397901 \tabularnewline
2 & 98.7 & 99.4619777812548 & -0.761977781254835 \tabularnewline
3 & 104.4 & 107.934728524488 & -3.53472852448757 \tabularnewline
4 & 97.6 & 102.049014238773 & -4.44901423877329 \tabularnewline
5 & 102.7 & 101.491871381630 & 1.20812861836959 \tabularnewline
6 & 103 & 103.877585667345 & -0.87758566734472 \tabularnewline
7 & 92.9 & 100.091871381630 & -7.1918713816304 \tabularnewline
8 & 96.1 & 97.3204428102018 & -1.22044281020183 \tabularnewline
9 & 94.9 & 102.506157095916 & -7.60615709591612 \tabularnewline
10 & 99.9 & 104.381982475356 & -4.48198247535596 \tabularnewline
11 & 96.3 & 99.781982475356 & -3.48198247535597 \tabularnewline
12 & 89.5 & 98.8153158086893 & -9.3153158086893 \tabularnewline
13 & 104.6 & 103.928795702290 & 0.67120429771035 \tabularnewline
14 & 101.5 & 100.571652845147 & 0.928347154853177 \tabularnewline
15 & 109.8 & 109.044403588379 & 0.755596411620518 \tabularnewline
16 & 112.1 & 103.158689302665 & 8.9413106973348 \tabularnewline
17 & 110.1 & 102.601546445522 & 7.49845355447765 \tabularnewline
18 & 107.1 & 104.987260731237 & 2.11273926876337 \tabularnewline
19 & 108.1 & 101.201546445522 & 6.89845355447764 \tabularnewline
20 & 99 & 98.4301178740938 & 0.569882125906226 \tabularnewline
21 & 104 & 103.615832159808 & 0.384167840191943 \tabularnewline
22 & 106.7 & 105.491657539248 & 1.20834246075210 \tabularnewline
23 & 101.1 & 100.891657539248 & 0.208342460752099 \tabularnewline
24 & 97.8 & 99.9249908725812 & -2.12499087258124 \tabularnewline
25 & 113.8 & 105.038470766182 & 8.76152923381842 \tabularnewline
26 & 107.1 & 101.681327909039 & 5.41867209096124 \tabularnewline
27 & 117.5 & 118.244823449643 & -0.74482344964272 \tabularnewline
28 & 113.7 & 112.359109163928 & 1.34089083607157 \tabularnewline
29 & 106.6 & 111.801966306786 & -5.20196630678559 \tabularnewline
30 & 109.8 & 114.187680592500 & -4.38768059249987 \tabularnewline
31 & 108.8 & 110.401966306786 & -1.60196630678559 \tabularnewline
32 & 102 & 107.630537735357 & -5.63053773535701 \tabularnewline
33 & 114.5 & 112.816252021071 & 1.68374797892870 \tabularnewline
34 & 116.5 & 114.692077400511 & 1.80792259948886 \tabularnewline
35 & 108.6 & 110.092077400511 & -1.49207740051114 \tabularnewline
36 & 113.9 & 109.125410733844 & 4.77458926615553 \tabularnewline
37 & 109.3 & 114.238890627445 & -4.93889062744482 \tabularnewline
38 & 112.5 & 110.881747770302 & 1.61825222969800 \tabularnewline
39 & 123.4 & 119.354498513535 & 4.04550148646535 \tabularnewline
40 & 115.2 & 113.468784227820 & 1.73121577217964 \tabularnewline
41 & 110.8 & 112.911641370678 & -2.11164137067752 \tabularnewline
42 & 120.4 & 115.297355656392 & 5.10264434360821 \tabularnewline
43 & 117.6 & 111.511641370678 & 6.08835862932247 \tabularnewline
44 & 111.2 & 108.740212799249 & 2.45978720075106 \tabularnewline
45 & 131.1 & 113.925927084963 & 17.1740729150368 \tabularnewline
46 & 118.9 & 115.801752464403 & 3.09824753559694 \tabularnewline
47 & 115.7 & 111.201752464403 & 4.49824753559694 \tabularnewline
48 & 119.6 & 110.235085797736 & 9.3649142022636 \tabularnewline
49 & 113.1 & 115.348565691337 & -2.24856569133675 \tabularnewline
50 & 106.4 & 111.991422834194 & -5.59142283419392 \tabularnewline
51 & 115.5 & 120.464173577427 & -4.96417357742659 \tabularnewline
52 & 111.8 & 114.578459291712 & -2.7784592917123 \tabularnewline
53 & 109.6 & 114.021316434569 & -4.42131643456946 \tabularnewline
54 & 121.5 & 116.407030720284 & 5.09296927971627 \tabularnewline
55 & 109.5 & 112.621316434569 & -3.12131643456945 \tabularnewline
56 & 109 & 109.849887863141 & -0.84988786314088 \tabularnewline
57 & 113.4 & 115.035602148855 & -1.63560214885516 \tabularnewline
58 & 112.7 & 116.911427528295 & -4.211427528295 \tabularnewline
59 & 114.4 & 112.311427528295 & 2.08857247170501 \tabularnewline
60 & 109.2 & 111.344760861628 & -2.14476086162834 \tabularnewline
61 & 116.2 & 116.458240755229 & -0.258240755228678 \tabularnewline
62 & 113.8 & 113.101097898086 & 0.698902101914137 \tabularnewline
63 & 123.6 & 121.573848641319 & 2.02615135868148 \tabularnewline
64 & 112.6 & 115.688134355604 & -3.08813435560424 \tabularnewline
65 & 117.7 & 115.130991498461 & 2.56900850153862 \tabularnewline
66 & 113.3 & 117.516705784176 & -4.21670578417566 \tabularnewline
67 & 110.7 & 113.730991498461 & -3.03099149846138 \tabularnewline
68 & 114.7 & 110.959562927033 & 3.74043707296719 \tabularnewline
69 & 116.9 & 116.145277212747 & 0.754722787252912 \tabularnewline
70 & 120.6 & 118.021102592187 & 2.57889740781306 \tabularnewline
71 & 111.6 & 113.421102592187 & -1.82110259218694 \tabularnewline
72 & 111.9 & 112.454435925520 & -0.554435925520266 \tabularnewline
73 & 116.1 & 117.567915819121 & -1.46791581912062 \tabularnewline
74 & 111.9 & 114.210772961978 & -2.31077296197779 \tabularnewline
75 & 125.1 & 122.683523705210 & 2.41647629478954 \tabularnewline
76 & 115.1 & 116.797809419496 & -1.69780941949617 \tabularnewline
77 & 116.7 & 116.240666562353 & 0.459333437646688 \tabularnewline
78 & 115.8 & 118.626380848068 & -2.8263808480676 \tabularnewline
79 & 116.8 & 114.840666562353 & 1.95933343764668 \tabularnewline
80 & 113 & 112.069237990925 & 0.930762009075256 \tabularnewline
81 & 106.5 & 117.254952276639 & -10.7549522766390 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5694&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]102.3[/C][C]102.819120638398[/C][C]-0.519120638397901[/C][/ROW]
[ROW][C]2[/C][C]98.7[/C][C]99.4619777812548[/C][C]-0.761977781254835[/C][/ROW]
[ROW][C]3[/C][C]104.4[/C][C]107.934728524488[/C][C]-3.53472852448757[/C][/ROW]
[ROW][C]4[/C][C]97.6[/C][C]102.049014238773[/C][C]-4.44901423877329[/C][/ROW]
[ROW][C]5[/C][C]102.7[/C][C]101.491871381630[/C][C]1.20812861836959[/C][/ROW]
[ROW][C]6[/C][C]103[/C][C]103.877585667345[/C][C]-0.87758566734472[/C][/ROW]
[ROW][C]7[/C][C]92.9[/C][C]100.091871381630[/C][C]-7.1918713816304[/C][/ROW]
[ROW][C]8[/C][C]96.1[/C][C]97.3204428102018[/C][C]-1.22044281020183[/C][/ROW]
[ROW][C]9[/C][C]94.9[/C][C]102.506157095916[/C][C]-7.60615709591612[/C][/ROW]
[ROW][C]10[/C][C]99.9[/C][C]104.381982475356[/C][C]-4.48198247535596[/C][/ROW]
[ROW][C]11[/C][C]96.3[/C][C]99.781982475356[/C][C]-3.48198247535597[/C][/ROW]
[ROW][C]12[/C][C]89.5[/C][C]98.8153158086893[/C][C]-9.3153158086893[/C][/ROW]
[ROW][C]13[/C][C]104.6[/C][C]103.928795702290[/C][C]0.67120429771035[/C][/ROW]
[ROW][C]14[/C][C]101.5[/C][C]100.571652845147[/C][C]0.928347154853177[/C][/ROW]
[ROW][C]15[/C][C]109.8[/C][C]109.044403588379[/C][C]0.755596411620518[/C][/ROW]
[ROW][C]16[/C][C]112.1[/C][C]103.158689302665[/C][C]8.9413106973348[/C][/ROW]
[ROW][C]17[/C][C]110.1[/C][C]102.601546445522[/C][C]7.49845355447765[/C][/ROW]
[ROW][C]18[/C][C]107.1[/C][C]104.987260731237[/C][C]2.11273926876337[/C][/ROW]
[ROW][C]19[/C][C]108.1[/C][C]101.201546445522[/C][C]6.89845355447764[/C][/ROW]
[ROW][C]20[/C][C]99[/C][C]98.4301178740938[/C][C]0.569882125906226[/C][/ROW]
[ROW][C]21[/C][C]104[/C][C]103.615832159808[/C][C]0.384167840191943[/C][/ROW]
[ROW][C]22[/C][C]106.7[/C][C]105.491657539248[/C][C]1.20834246075210[/C][/ROW]
[ROW][C]23[/C][C]101.1[/C][C]100.891657539248[/C][C]0.208342460752099[/C][/ROW]
[ROW][C]24[/C][C]97.8[/C][C]99.9249908725812[/C][C]-2.12499087258124[/C][/ROW]
[ROW][C]25[/C][C]113.8[/C][C]105.038470766182[/C][C]8.76152923381842[/C][/ROW]
[ROW][C]26[/C][C]107.1[/C][C]101.681327909039[/C][C]5.41867209096124[/C][/ROW]
[ROW][C]27[/C][C]117.5[/C][C]118.244823449643[/C][C]-0.74482344964272[/C][/ROW]
[ROW][C]28[/C][C]113.7[/C][C]112.359109163928[/C][C]1.34089083607157[/C][/ROW]
[ROW][C]29[/C][C]106.6[/C][C]111.801966306786[/C][C]-5.20196630678559[/C][/ROW]
[ROW][C]30[/C][C]109.8[/C][C]114.187680592500[/C][C]-4.38768059249987[/C][/ROW]
[ROW][C]31[/C][C]108.8[/C][C]110.401966306786[/C][C]-1.60196630678559[/C][/ROW]
[ROW][C]32[/C][C]102[/C][C]107.630537735357[/C][C]-5.63053773535701[/C][/ROW]
[ROW][C]33[/C][C]114.5[/C][C]112.816252021071[/C][C]1.68374797892870[/C][/ROW]
[ROW][C]34[/C][C]116.5[/C][C]114.692077400511[/C][C]1.80792259948886[/C][/ROW]
[ROW][C]35[/C][C]108.6[/C][C]110.092077400511[/C][C]-1.49207740051114[/C][/ROW]
[ROW][C]36[/C][C]113.9[/C][C]109.125410733844[/C][C]4.77458926615553[/C][/ROW]
[ROW][C]37[/C][C]109.3[/C][C]114.238890627445[/C][C]-4.93889062744482[/C][/ROW]
[ROW][C]38[/C][C]112.5[/C][C]110.881747770302[/C][C]1.61825222969800[/C][/ROW]
[ROW][C]39[/C][C]123.4[/C][C]119.354498513535[/C][C]4.04550148646535[/C][/ROW]
[ROW][C]40[/C][C]115.2[/C][C]113.468784227820[/C][C]1.73121577217964[/C][/ROW]
[ROW][C]41[/C][C]110.8[/C][C]112.911641370678[/C][C]-2.11164137067752[/C][/ROW]
[ROW][C]42[/C][C]120.4[/C][C]115.297355656392[/C][C]5.10264434360821[/C][/ROW]
[ROW][C]43[/C][C]117.6[/C][C]111.511641370678[/C][C]6.08835862932247[/C][/ROW]
[ROW][C]44[/C][C]111.2[/C][C]108.740212799249[/C][C]2.45978720075106[/C][/ROW]
[ROW][C]45[/C][C]131.1[/C][C]113.925927084963[/C][C]17.1740729150368[/C][/ROW]
[ROW][C]46[/C][C]118.9[/C][C]115.801752464403[/C][C]3.09824753559694[/C][/ROW]
[ROW][C]47[/C][C]115.7[/C][C]111.201752464403[/C][C]4.49824753559694[/C][/ROW]
[ROW][C]48[/C][C]119.6[/C][C]110.235085797736[/C][C]9.3649142022636[/C][/ROW]
[ROW][C]49[/C][C]113.1[/C][C]115.348565691337[/C][C]-2.24856569133675[/C][/ROW]
[ROW][C]50[/C][C]106.4[/C][C]111.991422834194[/C][C]-5.59142283419392[/C][/ROW]
[ROW][C]51[/C][C]115.5[/C][C]120.464173577427[/C][C]-4.96417357742659[/C][/ROW]
[ROW][C]52[/C][C]111.8[/C][C]114.578459291712[/C][C]-2.7784592917123[/C][/ROW]
[ROW][C]53[/C][C]109.6[/C][C]114.021316434569[/C][C]-4.42131643456946[/C][/ROW]
[ROW][C]54[/C][C]121.5[/C][C]116.407030720284[/C][C]5.09296927971627[/C][/ROW]
[ROW][C]55[/C][C]109.5[/C][C]112.621316434569[/C][C]-3.12131643456945[/C][/ROW]
[ROW][C]56[/C][C]109[/C][C]109.849887863141[/C][C]-0.84988786314088[/C][/ROW]
[ROW][C]57[/C][C]113.4[/C][C]115.035602148855[/C][C]-1.63560214885516[/C][/ROW]
[ROW][C]58[/C][C]112.7[/C][C]116.911427528295[/C][C]-4.211427528295[/C][/ROW]
[ROW][C]59[/C][C]114.4[/C][C]112.311427528295[/C][C]2.08857247170501[/C][/ROW]
[ROW][C]60[/C][C]109.2[/C][C]111.344760861628[/C][C]-2.14476086162834[/C][/ROW]
[ROW][C]61[/C][C]116.2[/C][C]116.458240755229[/C][C]-0.258240755228678[/C][/ROW]
[ROW][C]62[/C][C]113.8[/C][C]113.101097898086[/C][C]0.698902101914137[/C][/ROW]
[ROW][C]63[/C][C]123.6[/C][C]121.573848641319[/C][C]2.02615135868148[/C][/ROW]
[ROW][C]64[/C][C]112.6[/C][C]115.688134355604[/C][C]-3.08813435560424[/C][/ROW]
[ROW][C]65[/C][C]117.7[/C][C]115.130991498461[/C][C]2.56900850153862[/C][/ROW]
[ROW][C]66[/C][C]113.3[/C][C]117.516705784176[/C][C]-4.21670578417566[/C][/ROW]
[ROW][C]67[/C][C]110.7[/C][C]113.730991498461[/C][C]-3.03099149846138[/C][/ROW]
[ROW][C]68[/C][C]114.7[/C][C]110.959562927033[/C][C]3.74043707296719[/C][/ROW]
[ROW][C]69[/C][C]116.9[/C][C]116.145277212747[/C][C]0.754722787252912[/C][/ROW]
[ROW][C]70[/C][C]120.6[/C][C]118.021102592187[/C][C]2.57889740781306[/C][/ROW]
[ROW][C]71[/C][C]111.6[/C][C]113.421102592187[/C][C]-1.82110259218694[/C][/ROW]
[ROW][C]72[/C][C]111.9[/C][C]112.454435925520[/C][C]-0.554435925520266[/C][/ROW]
[ROW][C]73[/C][C]116.1[/C][C]117.567915819121[/C][C]-1.46791581912062[/C][/ROW]
[ROW][C]74[/C][C]111.9[/C][C]114.210772961978[/C][C]-2.31077296197779[/C][/ROW]
[ROW][C]75[/C][C]125.1[/C][C]122.683523705210[/C][C]2.41647629478954[/C][/ROW]
[ROW][C]76[/C][C]115.1[/C][C]116.797809419496[/C][C]-1.69780941949617[/C][/ROW]
[ROW][C]77[/C][C]116.7[/C][C]116.240666562353[/C][C]0.459333437646688[/C][/ROW]
[ROW][C]78[/C][C]115.8[/C][C]118.626380848068[/C][C]-2.8263808480676[/C][/ROW]
[ROW][C]79[/C][C]116.8[/C][C]114.840666562353[/C][C]1.95933343764668[/C][/ROW]
[ROW][C]80[/C][C]113[/C][C]112.069237990925[/C][C]0.930762009075256[/C][/ROW]
[ROW][C]81[/C][C]106.5[/C][C]117.254952276639[/C][C]-10.7549522766390[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5694&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5694&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.3102.819120638398-0.519120638397901
298.799.4619777812548-0.761977781254835
3104.4107.934728524488-3.53472852448757
497.6102.049014238773-4.44901423877329
5102.7101.4918713816301.20812861836959
6103103.877585667345-0.87758566734472
792.9100.091871381630-7.1918713816304
896.197.3204428102018-1.22044281020183
994.9102.506157095916-7.60615709591612
1099.9104.381982475356-4.48198247535596
1196.399.781982475356-3.48198247535597
1289.598.8153158086893-9.3153158086893
13104.6103.9287957022900.67120429771035
14101.5100.5716528451470.928347154853177
15109.8109.0444035883790.755596411620518
16112.1103.1586893026658.9413106973348
17110.1102.6015464455227.49845355447765
18107.1104.9872607312372.11273926876337
19108.1101.2015464455226.89845355447764
209998.43011787409380.569882125906226
21104103.6158321598080.384167840191943
22106.7105.4916575392481.20834246075210
23101.1100.8916575392480.208342460752099
2497.899.9249908725812-2.12499087258124
25113.8105.0384707661828.76152923381842
26107.1101.6813279090395.41867209096124
27117.5118.244823449643-0.74482344964272
28113.7112.3591091639281.34089083607157
29106.6111.801966306786-5.20196630678559
30109.8114.187680592500-4.38768059249987
31108.8110.401966306786-1.60196630678559
32102107.630537735357-5.63053773535701
33114.5112.8162520210711.68374797892870
34116.5114.6920774005111.80792259948886
35108.6110.092077400511-1.49207740051114
36113.9109.1254107338444.77458926615553
37109.3114.238890627445-4.93889062744482
38112.5110.8817477703021.61825222969800
39123.4119.3544985135354.04550148646535
40115.2113.4687842278201.73121577217964
41110.8112.911641370678-2.11164137067752
42120.4115.2973556563925.10264434360821
43117.6111.5116413706786.08835862932247
44111.2108.7402127992492.45978720075106
45131.1113.92592708496317.1740729150368
46118.9115.8017524644033.09824753559694
47115.7111.2017524644034.49824753559694
48119.6110.2350857977369.3649142022636
49113.1115.348565691337-2.24856569133675
50106.4111.991422834194-5.59142283419392
51115.5120.464173577427-4.96417357742659
52111.8114.578459291712-2.7784592917123
53109.6114.021316434569-4.42131643456946
54121.5116.4070307202845.09296927971627
55109.5112.621316434569-3.12131643456945
56109109.849887863141-0.84988786314088
57113.4115.035602148855-1.63560214885516
58112.7116.911427528295-4.211427528295
59114.4112.3114275282952.08857247170501
60109.2111.344760861628-2.14476086162834
61116.2116.458240755229-0.258240755228678
62113.8113.1010978980860.698902101914137
63123.6121.5738486413192.02615135868148
64112.6115.688134355604-3.08813435560424
65117.7115.1309914984612.56900850153862
66113.3117.516705784176-4.21670578417566
67110.7113.730991498461-3.03099149846138
68114.7110.9595629270333.74043707296719
69116.9116.1452772127470.754722787252912
70120.6118.0211025921872.57889740781306
71111.6113.421102592187-1.82110259218694
72111.9112.454435925520-0.554435925520266
73116.1117.567915819121-1.46791581912062
74111.9114.210772961978-2.31077296197779
75125.1122.6835237052102.41647629478954
76115.1116.797809419496-1.69780941949617
77116.7116.2406665623530.459333437646688
78115.8118.626380848068-2.8263808480676
79116.8114.8406665623531.95933343764668
80113112.0692379909250.930762009075256
81106.5117.254952276639-10.7549522766390



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