Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 09 Dec 2010 18:16:30 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/09/t1291918699j61oqem75886vyx.htm/, Retrieved Sun, 28 Apr 2024 20:01:36 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=107312, Retrieved Sun, 28 Apr 2024 20:01:36 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact226
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
-  MPD    [Multiple Regression] [MR monthly dummie...] [2010-12-09 18:16:30] [be9b1effb945c5b0652fb49bcca5faef] [Current]
Feedback Forum

Post a new message
Dataseries X:
29462	27071	31514
26105	29462	27071
22397	26105	29462
23843	22397	26105
21705	23843	22397
18089	21705	23843
20764	18089	21705
25316	20764	18089
17704	25316	20764
15548	17704	25316
28029	15548	17704
29383	28029	15548
36438	29383	28029
32034	36438	29383
22679	32034	36438
24319	22679	32034
18004	24319	22679
17537	18004	24319
20366	17537	18004
22782	20366	17537
19169	22782	20366
13807	19169	22782
29743	13807	19169
25591	29743	13807
29096	25591	29743
26482	29096	25591
22405	26482	29096
27044	22405	26482
17970	27044	22405
18730	17970	27044
19684	18730	17970
19785	19684	18730
18479	19785	19684
10698	18479	19785
31956	10698	18479
29506	31956	10698
34506	29506	31956
27165	34506	29506
26736	27165	34506
23691	26736	27165
18157	23691	26736
17328	18157	23691
18205	17328	18157
20995	18205	17328
17382	20995	18205
9367	17382	20995
31124	9367	17382
26551	31124	9367
30651	26551	31124
25859	30651	26551
25100	25859	30651
25778	25100	25859
20418	25778	25100
18688	20418	25778
20424	18688	20418
24776	20424	18688
19814	24776	20424
12738	19814	24776
31566	12738	19814
30111	31566	12738
30019	30111	31566
31934	30019	30111
25826	31934	30019
26835	25826	31934
20205	26835	25826
17789	20205	26835
20520	17789	20205
22518	20520	17789
15572	22518	20520
11509	15572	22518
25447	11509	15572
24090	25447	11509
27786	24090	25447
26195	27786	24090
20516	26195	27786
22759	20516	26195
19028	22759	20516
16971	19028	22759
20036	16971	19028
22485	20036	16971
18730	22485	20036
14538	18730	22485




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107312&T=0

[TABLE]
[ROW][C]Summary of computational 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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107312&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107312&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 computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 16510.6896674354 + 0.251370081323887Y1[t] + 0.291282697554051Y2[t] -992.075478863592M1[t] -4371.92634928235M2[t] -8944.9925952338M3[t] -5710.44611500409M4[t] -10306.7772526267M5[t] -10751.6786143463M6[t] -6642.18393311063M7[t] -4079.73917109206M8[t] -9912.24814850308M9[t] -15067.1659191166M10[t] + 4798.2828258261M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  16510.6896674354 +  0.251370081323887Y1[t] +  0.291282697554051Y2[t] -992.075478863592M1[t] -4371.92634928235M2[t] -8944.9925952338M3[t] -5710.44611500409M4[t] -10306.7772526267M5[t] -10751.6786143463M6[t] -6642.18393311063M7[t] -4079.73917109206M8[t] -9912.24814850308M9[t] -15067.1659191166M10[t] +  4798.2828258261M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107312&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  16510.6896674354 +  0.251370081323887Y1[t] +  0.291282697554051Y2[t] -992.075478863592M1[t] -4371.92634928235M2[t] -8944.9925952338M3[t] -5710.44611500409M4[t] -10306.7772526267M5[t] -10751.6786143463M6[t] -6642.18393311063M7[t] -4079.73917109206M8[t] -9912.24814850308M9[t] -15067.1659191166M10[t] +  4798.2828258261M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107312&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107312&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] = + 16510.6896674354 + 0.251370081323887Y1[t] + 0.291282697554051Y2[t] -992.075478863592M1[t] -4371.92634928235M2[t] -8944.9925952338M3[t] -5710.44611500409M4[t] -10306.7772526267M5[t] -10751.6786143463M6[t] -6642.18393311063M7[t] -4079.73917109206M8[t] -9912.24814850308M9[t] -15067.1659191166M10[t] + 4798.2828258261M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)16510.68966743543343.1725454.93865e-063e-06
Y10.2513700813238870.1165512.15670.0345650.017282
Y20.2912826975540510.1160452.51010.0144550.007228
M1-992.0754788635922386.407136-0.41570.6789240.339462
M2-4371.926349282352004.227409-2.18140.0326180.016309
M3-8944.99259523382491.833178-3.58970.000620.00031
M4-5710.446115004092399.809757-2.37950.0201460.010073
M5-10306.77725262671908.548033-5.40031e-060
M6-10751.67861434632423.762695-4.43593.4e-051.7e-05
M7-6642.183933110632101.60275-3.16050.0023520.001176
M8-4079.739171092061809.599338-2.25450.027390.013695
M9-9912.248148503081747.228896-5.673100
M10-15067.16591911662335.655589-6.450900
M114798.28282582612576.421461.86240.066870.033435

\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) & 16510.6896674354 & 3343.172545 & 4.9386 & 5e-06 & 3e-06 \tabularnewline
Y1 & 0.251370081323887 & 0.116551 & 2.1567 & 0.034565 & 0.017282 \tabularnewline
Y2 & 0.291282697554051 & 0.116045 & 2.5101 & 0.014455 & 0.007228 \tabularnewline
M1 & -992.075478863592 & 2386.407136 & -0.4157 & 0.678924 & 0.339462 \tabularnewline
M2 & -4371.92634928235 & 2004.227409 & -2.1814 & 0.032618 & 0.016309 \tabularnewline
M3 & -8944.9925952338 & 2491.833178 & -3.5897 & 0.00062 & 0.00031 \tabularnewline
M4 & -5710.44611500409 & 2399.809757 & -2.3795 & 0.020146 & 0.010073 \tabularnewline
M5 & -10306.7772526267 & 1908.548033 & -5.4003 & 1e-06 & 0 \tabularnewline
M6 & -10751.6786143463 & 2423.762695 & -4.4359 & 3.4e-05 & 1.7e-05 \tabularnewline
M7 & -6642.18393311063 & 2101.60275 & -3.1605 & 0.002352 & 0.001176 \tabularnewline
M8 & -4079.73917109206 & 1809.599338 & -2.2545 & 0.02739 & 0.013695 \tabularnewline
M9 & -9912.24814850308 & 1747.228896 & -5.6731 & 0 & 0 \tabularnewline
M10 & -15067.1659191166 & 2335.655589 & -6.4509 & 0 & 0 \tabularnewline
M11 & 4798.2828258261 & 2576.42146 & 1.8624 & 0.06687 & 0.033435 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107312&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]16510.6896674354[/C][C]3343.172545[/C][C]4.9386[/C][C]5e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]Y1[/C][C]0.251370081323887[/C][C]0.116551[/C][C]2.1567[/C][C]0.034565[/C][C]0.017282[/C][/ROW]
[ROW][C]Y2[/C][C]0.291282697554051[/C][C]0.116045[/C][C]2.5101[/C][C]0.014455[/C][C]0.007228[/C][/ROW]
[ROW][C]M1[/C][C]-992.075478863592[/C][C]2386.407136[/C][C]-0.4157[/C][C]0.678924[/C][C]0.339462[/C][/ROW]
[ROW][C]M2[/C][C]-4371.92634928235[/C][C]2004.227409[/C][C]-2.1814[/C][C]0.032618[/C][C]0.016309[/C][/ROW]
[ROW][C]M3[/C][C]-8944.9925952338[/C][C]2491.833178[/C][C]-3.5897[/C][C]0.00062[/C][C]0.00031[/C][/ROW]
[ROW][C]M4[/C][C]-5710.44611500409[/C][C]2399.809757[/C][C]-2.3795[/C][C]0.020146[/C][C]0.010073[/C][/ROW]
[ROW][C]M5[/C][C]-10306.7772526267[/C][C]1908.548033[/C][C]-5.4003[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]-10751.6786143463[/C][C]2423.762695[/C][C]-4.4359[/C][C]3.4e-05[/C][C]1.7e-05[/C][/ROW]
[ROW][C]M7[/C][C]-6642.18393311063[/C][C]2101.60275[/C][C]-3.1605[/C][C]0.002352[/C][C]0.001176[/C][/ROW]
[ROW][C]M8[/C][C]-4079.73917109206[/C][C]1809.599338[/C][C]-2.2545[/C][C]0.02739[/C][C]0.013695[/C][/ROW]
[ROW][C]M9[/C][C]-9912.24814850308[/C][C]1747.228896[/C][C]-5.6731[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-15067.1659191166[/C][C]2335.655589[/C][C]-6.4509[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]4798.2828258261[/C][C]2576.42146[/C][C]1.8624[/C][C]0.06687[/C][C]0.033435[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107312&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107312&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)16510.68966743543343.1725454.93865e-063e-06
Y10.2513700813238870.1165512.15670.0345650.017282
Y20.2912826975540510.1160452.51010.0144550.007228
M1-992.0754788635922386.407136-0.41570.6789240.339462
M2-4371.926349282352004.227409-2.18140.0326180.016309
M3-8944.99259523382491.833178-3.58970.000620.00031
M4-5710.446115004092399.809757-2.37950.0201460.010073
M5-10306.77725262671908.548033-5.40031e-060
M6-10751.67861434632423.762695-4.43593.4e-051.7e-05
M7-6642.183933110632101.60275-3.16050.0023520.001176
M8-4079.739171092061809.599338-2.25450.027390.013695
M9-9912.248148503081747.228896-5.673100
M10-15067.16591911662335.655589-6.450900
M114798.28282582612576.421461.86240.066870.033435







Multiple Linear Regression - Regression Statistics
Multiple R0.953135347564555
R-squared0.908466990777004
Adjusted R-squared0.890968033131431
F-TEST (value)51.9154917211224
F-TEST (DF numerator)13
F-TEST (DF denominator)68
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1875.05245376751
Sum Squared Residuals239075875.897811

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.953135347564555 \tabularnewline
R-squared & 0.908466990777004 \tabularnewline
Adjusted R-squared & 0.890968033131431 \tabularnewline
F-TEST (value) & 51.9154917211224 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 68 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1875.05245376751 \tabularnewline
Sum Squared Residuals & 239075875.897811 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107312&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.953135347564555[/C][/ROW]
[ROW][C]R-squared[/C][C]0.908466990777004[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.890968033131431[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]51.9154917211224[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]68[/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]1875.05245376751[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]239075875.897811[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107312&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107312&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.953135347564555
R-squared0.908466990777004
Adjusted R-squared0.890968033131431
F-TEST (value)51.9154917211224
F-TEST (DF numerator)13
F-TEST (DF denominator)68
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1875.05245376751
Sum Squared Residuals239075875.897811







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12946231502.9365908092-2040.93659080918
22610527429.9425596032-1324.94255960315
32239722709.4838804992-312.483880499165
42384324034.1140834909-191.114083490946
52170518721.18784093222983.81215906777
61808918160.0520260053-71.052026005286
72076420737.830085803326.1699141967162
82531622919.41158100782396.58841899221
91770419010.3204297402-1306.32042974019
101554813267.89243935532280.10756064471
112802930374.1433951823-2345.14339518225
122938328085.20505843301297.79494156696
133643831068.98401785415369.0159821459
143203429856.94584366362177.05415633645
152267926231.8451908056-3552.84519080555
162431925832.0155602223-1513.01556022225
171800418922.9817203526-918.981720352644
181753717368.3819190613168.618080938683
192036619521.0365372649844.963462735053
202278222658.5782395911123.421760408949
211916918257.4181300390911.581869961049
221380712898.0392528928908.96074710718
232974330363.2372355140-620.237235514046
242559128008.9302013806-2417.93020138058
252909630615.0472130816-1519.04721308157
262648226906.8427174586-424.842717458617
272240522697.6409338535-292.640933853485
282704424145.93862111942898.06137888059
291797019528.1537328304-1558.15373283043
301873018153.5806871311576.419312868906
311968419811.0174325675-127.017432567508
321978522834.6441023101-3049.64410231014
331847917305.40719657941173.59280342060
341069811851.6196522098-1153.61965220984
353195629380.74259136582575.25740863421
362950627659.61428465481846.38571534520
373450632243.76969115172262.23030884830
382716529407.1266183450-2242.12661834495
392673624445.16609316512290.83390683488
402369125433.5685257626-1742.56852576258
411815719946.8552132580-1789.85521325803
421732817223.9160074399104.083992560075
431820519513.0664429940-1308.06644299403
442099522054.4894100613-1059.48941006134
451738217178.7578852989203.242114701141
46936711928.3187370379-2561.31873703794
473112428726.63189390692397.3681060931
482655127062.7771065489-511.777106548881
493065131258.6238964747-607.62389647465
502585927577.3545835692-1718.35458356915
512510022993.98196788532106.01803211475
522577824641.91186971111136.08813028889
532041819994.9260797826423.073920217445
541868818400.1707511085287.829248891461
552042420513.5199327642-89.5199327642223
562477623008.42408919261767.57591080745
571981418775.54446865691038.45553134309
581273813640.9906542695-902.9906542695
593156630282.39995850121283.60004149882
603011128155.79665594871955.20334405126
613001932282.2483383066-2263.24833830658
623193428455.45509546493478.54490453512
632582624336.96454707371489.03545292630
642683526593.9489363931241.051063606884
652020520472.0954941661-267.095494166143
661778918654.5147351012-865.514735101183
672052020225.4950150750294.504984924965
682251822770.6924718986-252.69247189855
691557218235.9139639928-2663.91396399277
701150911916.9624382165-407.962438216525
712544728737.8449255298-3290.84492552983
722409026259.6766930340-2169.67669303395
732778628986.3902523222-1200.39025232222
742619526140.332581895754.6674181043054
752051622243.9173867177-1727.91738671772
762275923587.5024033006-828.502403300579
771902817900.79991867801127.20008132203
781697117171.3838741527-200.383874152656
792003619677.0345535310358.965446469022
802248522410.760105938674.2398940614242
811873018086.6379256929643.362074307082
821453812701.17682601811836.82317398192

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 29462 & 31502.9365908092 & -2040.93659080918 \tabularnewline
2 & 26105 & 27429.9425596032 & -1324.94255960315 \tabularnewline
3 & 22397 & 22709.4838804992 & -312.483880499165 \tabularnewline
4 & 23843 & 24034.1140834909 & -191.114083490946 \tabularnewline
5 & 21705 & 18721.1878409322 & 2983.81215906777 \tabularnewline
6 & 18089 & 18160.0520260053 & -71.052026005286 \tabularnewline
7 & 20764 & 20737.8300858033 & 26.1699141967162 \tabularnewline
8 & 25316 & 22919.4115810078 & 2396.58841899221 \tabularnewline
9 & 17704 & 19010.3204297402 & -1306.32042974019 \tabularnewline
10 & 15548 & 13267.8924393553 & 2280.10756064471 \tabularnewline
11 & 28029 & 30374.1433951823 & -2345.14339518225 \tabularnewline
12 & 29383 & 28085.2050584330 & 1297.79494156696 \tabularnewline
13 & 36438 & 31068.9840178541 & 5369.0159821459 \tabularnewline
14 & 32034 & 29856.9458436636 & 2177.05415633645 \tabularnewline
15 & 22679 & 26231.8451908056 & -3552.84519080555 \tabularnewline
16 & 24319 & 25832.0155602223 & -1513.01556022225 \tabularnewline
17 & 18004 & 18922.9817203526 & -918.981720352644 \tabularnewline
18 & 17537 & 17368.3819190613 & 168.618080938683 \tabularnewline
19 & 20366 & 19521.0365372649 & 844.963462735053 \tabularnewline
20 & 22782 & 22658.5782395911 & 123.421760408949 \tabularnewline
21 & 19169 & 18257.4181300390 & 911.581869961049 \tabularnewline
22 & 13807 & 12898.0392528928 & 908.96074710718 \tabularnewline
23 & 29743 & 30363.2372355140 & -620.237235514046 \tabularnewline
24 & 25591 & 28008.9302013806 & -2417.93020138058 \tabularnewline
25 & 29096 & 30615.0472130816 & -1519.04721308157 \tabularnewline
26 & 26482 & 26906.8427174586 & -424.842717458617 \tabularnewline
27 & 22405 & 22697.6409338535 & -292.640933853485 \tabularnewline
28 & 27044 & 24145.9386211194 & 2898.06137888059 \tabularnewline
29 & 17970 & 19528.1537328304 & -1558.15373283043 \tabularnewline
30 & 18730 & 18153.5806871311 & 576.419312868906 \tabularnewline
31 & 19684 & 19811.0174325675 & -127.017432567508 \tabularnewline
32 & 19785 & 22834.6441023101 & -3049.64410231014 \tabularnewline
33 & 18479 & 17305.4071965794 & 1173.59280342060 \tabularnewline
34 & 10698 & 11851.6196522098 & -1153.61965220984 \tabularnewline
35 & 31956 & 29380.7425913658 & 2575.25740863421 \tabularnewline
36 & 29506 & 27659.6142846548 & 1846.38571534520 \tabularnewline
37 & 34506 & 32243.7696911517 & 2262.23030884830 \tabularnewline
38 & 27165 & 29407.1266183450 & -2242.12661834495 \tabularnewline
39 & 26736 & 24445.1660931651 & 2290.83390683488 \tabularnewline
40 & 23691 & 25433.5685257626 & -1742.56852576258 \tabularnewline
41 & 18157 & 19946.8552132580 & -1789.85521325803 \tabularnewline
42 & 17328 & 17223.9160074399 & 104.083992560075 \tabularnewline
43 & 18205 & 19513.0664429940 & -1308.06644299403 \tabularnewline
44 & 20995 & 22054.4894100613 & -1059.48941006134 \tabularnewline
45 & 17382 & 17178.7578852989 & 203.242114701141 \tabularnewline
46 & 9367 & 11928.3187370379 & -2561.31873703794 \tabularnewline
47 & 31124 & 28726.6318939069 & 2397.3681060931 \tabularnewline
48 & 26551 & 27062.7771065489 & -511.777106548881 \tabularnewline
49 & 30651 & 31258.6238964747 & -607.62389647465 \tabularnewline
50 & 25859 & 27577.3545835692 & -1718.35458356915 \tabularnewline
51 & 25100 & 22993.9819678853 & 2106.01803211475 \tabularnewline
52 & 25778 & 24641.9118697111 & 1136.08813028889 \tabularnewline
53 & 20418 & 19994.9260797826 & 423.073920217445 \tabularnewline
54 & 18688 & 18400.1707511085 & 287.829248891461 \tabularnewline
55 & 20424 & 20513.5199327642 & -89.5199327642223 \tabularnewline
56 & 24776 & 23008.4240891926 & 1767.57591080745 \tabularnewline
57 & 19814 & 18775.5444686569 & 1038.45553134309 \tabularnewline
58 & 12738 & 13640.9906542695 & -902.9906542695 \tabularnewline
59 & 31566 & 30282.3999585012 & 1283.60004149882 \tabularnewline
60 & 30111 & 28155.7966559487 & 1955.20334405126 \tabularnewline
61 & 30019 & 32282.2483383066 & -2263.24833830658 \tabularnewline
62 & 31934 & 28455.4550954649 & 3478.54490453512 \tabularnewline
63 & 25826 & 24336.9645470737 & 1489.03545292630 \tabularnewline
64 & 26835 & 26593.9489363931 & 241.051063606884 \tabularnewline
65 & 20205 & 20472.0954941661 & -267.095494166143 \tabularnewline
66 & 17789 & 18654.5147351012 & -865.514735101183 \tabularnewline
67 & 20520 & 20225.4950150750 & 294.504984924965 \tabularnewline
68 & 22518 & 22770.6924718986 & -252.69247189855 \tabularnewline
69 & 15572 & 18235.9139639928 & -2663.91396399277 \tabularnewline
70 & 11509 & 11916.9624382165 & -407.962438216525 \tabularnewline
71 & 25447 & 28737.8449255298 & -3290.84492552983 \tabularnewline
72 & 24090 & 26259.6766930340 & -2169.67669303395 \tabularnewline
73 & 27786 & 28986.3902523222 & -1200.39025232222 \tabularnewline
74 & 26195 & 26140.3325818957 & 54.6674181043054 \tabularnewline
75 & 20516 & 22243.9173867177 & -1727.91738671772 \tabularnewline
76 & 22759 & 23587.5024033006 & -828.502403300579 \tabularnewline
77 & 19028 & 17900.7999186780 & 1127.20008132203 \tabularnewline
78 & 16971 & 17171.3838741527 & -200.383874152656 \tabularnewline
79 & 20036 & 19677.0345535310 & 358.965446469022 \tabularnewline
80 & 22485 & 22410.7601059386 & 74.2398940614242 \tabularnewline
81 & 18730 & 18086.6379256929 & 643.362074307082 \tabularnewline
82 & 14538 & 12701.1768260181 & 1836.82317398192 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107312&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]29462[/C][C]31502.9365908092[/C][C]-2040.93659080918[/C][/ROW]
[ROW][C]2[/C][C]26105[/C][C]27429.9425596032[/C][C]-1324.94255960315[/C][/ROW]
[ROW][C]3[/C][C]22397[/C][C]22709.4838804992[/C][C]-312.483880499165[/C][/ROW]
[ROW][C]4[/C][C]23843[/C][C]24034.1140834909[/C][C]-191.114083490946[/C][/ROW]
[ROW][C]5[/C][C]21705[/C][C]18721.1878409322[/C][C]2983.81215906777[/C][/ROW]
[ROW][C]6[/C][C]18089[/C][C]18160.0520260053[/C][C]-71.052026005286[/C][/ROW]
[ROW][C]7[/C][C]20764[/C][C]20737.8300858033[/C][C]26.1699141967162[/C][/ROW]
[ROW][C]8[/C][C]25316[/C][C]22919.4115810078[/C][C]2396.58841899221[/C][/ROW]
[ROW][C]9[/C][C]17704[/C][C]19010.3204297402[/C][C]-1306.32042974019[/C][/ROW]
[ROW][C]10[/C][C]15548[/C][C]13267.8924393553[/C][C]2280.10756064471[/C][/ROW]
[ROW][C]11[/C][C]28029[/C][C]30374.1433951823[/C][C]-2345.14339518225[/C][/ROW]
[ROW][C]12[/C][C]29383[/C][C]28085.2050584330[/C][C]1297.79494156696[/C][/ROW]
[ROW][C]13[/C][C]36438[/C][C]31068.9840178541[/C][C]5369.0159821459[/C][/ROW]
[ROW][C]14[/C][C]32034[/C][C]29856.9458436636[/C][C]2177.05415633645[/C][/ROW]
[ROW][C]15[/C][C]22679[/C][C]26231.8451908056[/C][C]-3552.84519080555[/C][/ROW]
[ROW][C]16[/C][C]24319[/C][C]25832.0155602223[/C][C]-1513.01556022225[/C][/ROW]
[ROW][C]17[/C][C]18004[/C][C]18922.9817203526[/C][C]-918.981720352644[/C][/ROW]
[ROW][C]18[/C][C]17537[/C][C]17368.3819190613[/C][C]168.618080938683[/C][/ROW]
[ROW][C]19[/C][C]20366[/C][C]19521.0365372649[/C][C]844.963462735053[/C][/ROW]
[ROW][C]20[/C][C]22782[/C][C]22658.5782395911[/C][C]123.421760408949[/C][/ROW]
[ROW][C]21[/C][C]19169[/C][C]18257.4181300390[/C][C]911.581869961049[/C][/ROW]
[ROW][C]22[/C][C]13807[/C][C]12898.0392528928[/C][C]908.96074710718[/C][/ROW]
[ROW][C]23[/C][C]29743[/C][C]30363.2372355140[/C][C]-620.237235514046[/C][/ROW]
[ROW][C]24[/C][C]25591[/C][C]28008.9302013806[/C][C]-2417.93020138058[/C][/ROW]
[ROW][C]25[/C][C]29096[/C][C]30615.0472130816[/C][C]-1519.04721308157[/C][/ROW]
[ROW][C]26[/C][C]26482[/C][C]26906.8427174586[/C][C]-424.842717458617[/C][/ROW]
[ROW][C]27[/C][C]22405[/C][C]22697.6409338535[/C][C]-292.640933853485[/C][/ROW]
[ROW][C]28[/C][C]27044[/C][C]24145.9386211194[/C][C]2898.06137888059[/C][/ROW]
[ROW][C]29[/C][C]17970[/C][C]19528.1537328304[/C][C]-1558.15373283043[/C][/ROW]
[ROW][C]30[/C][C]18730[/C][C]18153.5806871311[/C][C]576.419312868906[/C][/ROW]
[ROW][C]31[/C][C]19684[/C][C]19811.0174325675[/C][C]-127.017432567508[/C][/ROW]
[ROW][C]32[/C][C]19785[/C][C]22834.6441023101[/C][C]-3049.64410231014[/C][/ROW]
[ROW][C]33[/C][C]18479[/C][C]17305.4071965794[/C][C]1173.59280342060[/C][/ROW]
[ROW][C]34[/C][C]10698[/C][C]11851.6196522098[/C][C]-1153.61965220984[/C][/ROW]
[ROW][C]35[/C][C]31956[/C][C]29380.7425913658[/C][C]2575.25740863421[/C][/ROW]
[ROW][C]36[/C][C]29506[/C][C]27659.6142846548[/C][C]1846.38571534520[/C][/ROW]
[ROW][C]37[/C][C]34506[/C][C]32243.7696911517[/C][C]2262.23030884830[/C][/ROW]
[ROW][C]38[/C][C]27165[/C][C]29407.1266183450[/C][C]-2242.12661834495[/C][/ROW]
[ROW][C]39[/C][C]26736[/C][C]24445.1660931651[/C][C]2290.83390683488[/C][/ROW]
[ROW][C]40[/C][C]23691[/C][C]25433.5685257626[/C][C]-1742.56852576258[/C][/ROW]
[ROW][C]41[/C][C]18157[/C][C]19946.8552132580[/C][C]-1789.85521325803[/C][/ROW]
[ROW][C]42[/C][C]17328[/C][C]17223.9160074399[/C][C]104.083992560075[/C][/ROW]
[ROW][C]43[/C][C]18205[/C][C]19513.0664429940[/C][C]-1308.06644299403[/C][/ROW]
[ROW][C]44[/C][C]20995[/C][C]22054.4894100613[/C][C]-1059.48941006134[/C][/ROW]
[ROW][C]45[/C][C]17382[/C][C]17178.7578852989[/C][C]203.242114701141[/C][/ROW]
[ROW][C]46[/C][C]9367[/C][C]11928.3187370379[/C][C]-2561.31873703794[/C][/ROW]
[ROW][C]47[/C][C]31124[/C][C]28726.6318939069[/C][C]2397.3681060931[/C][/ROW]
[ROW][C]48[/C][C]26551[/C][C]27062.7771065489[/C][C]-511.777106548881[/C][/ROW]
[ROW][C]49[/C][C]30651[/C][C]31258.6238964747[/C][C]-607.62389647465[/C][/ROW]
[ROW][C]50[/C][C]25859[/C][C]27577.3545835692[/C][C]-1718.35458356915[/C][/ROW]
[ROW][C]51[/C][C]25100[/C][C]22993.9819678853[/C][C]2106.01803211475[/C][/ROW]
[ROW][C]52[/C][C]25778[/C][C]24641.9118697111[/C][C]1136.08813028889[/C][/ROW]
[ROW][C]53[/C][C]20418[/C][C]19994.9260797826[/C][C]423.073920217445[/C][/ROW]
[ROW][C]54[/C][C]18688[/C][C]18400.1707511085[/C][C]287.829248891461[/C][/ROW]
[ROW][C]55[/C][C]20424[/C][C]20513.5199327642[/C][C]-89.5199327642223[/C][/ROW]
[ROW][C]56[/C][C]24776[/C][C]23008.4240891926[/C][C]1767.57591080745[/C][/ROW]
[ROW][C]57[/C][C]19814[/C][C]18775.5444686569[/C][C]1038.45553134309[/C][/ROW]
[ROW][C]58[/C][C]12738[/C][C]13640.9906542695[/C][C]-902.9906542695[/C][/ROW]
[ROW][C]59[/C][C]31566[/C][C]30282.3999585012[/C][C]1283.60004149882[/C][/ROW]
[ROW][C]60[/C][C]30111[/C][C]28155.7966559487[/C][C]1955.20334405126[/C][/ROW]
[ROW][C]61[/C][C]30019[/C][C]32282.2483383066[/C][C]-2263.24833830658[/C][/ROW]
[ROW][C]62[/C][C]31934[/C][C]28455.4550954649[/C][C]3478.54490453512[/C][/ROW]
[ROW][C]63[/C][C]25826[/C][C]24336.9645470737[/C][C]1489.03545292630[/C][/ROW]
[ROW][C]64[/C][C]26835[/C][C]26593.9489363931[/C][C]241.051063606884[/C][/ROW]
[ROW][C]65[/C][C]20205[/C][C]20472.0954941661[/C][C]-267.095494166143[/C][/ROW]
[ROW][C]66[/C][C]17789[/C][C]18654.5147351012[/C][C]-865.514735101183[/C][/ROW]
[ROW][C]67[/C][C]20520[/C][C]20225.4950150750[/C][C]294.504984924965[/C][/ROW]
[ROW][C]68[/C][C]22518[/C][C]22770.6924718986[/C][C]-252.69247189855[/C][/ROW]
[ROW][C]69[/C][C]15572[/C][C]18235.9139639928[/C][C]-2663.91396399277[/C][/ROW]
[ROW][C]70[/C][C]11509[/C][C]11916.9624382165[/C][C]-407.962438216525[/C][/ROW]
[ROW][C]71[/C][C]25447[/C][C]28737.8449255298[/C][C]-3290.84492552983[/C][/ROW]
[ROW][C]72[/C][C]24090[/C][C]26259.6766930340[/C][C]-2169.67669303395[/C][/ROW]
[ROW][C]73[/C][C]27786[/C][C]28986.3902523222[/C][C]-1200.39025232222[/C][/ROW]
[ROW][C]74[/C][C]26195[/C][C]26140.3325818957[/C][C]54.6674181043054[/C][/ROW]
[ROW][C]75[/C][C]20516[/C][C]22243.9173867177[/C][C]-1727.91738671772[/C][/ROW]
[ROW][C]76[/C][C]22759[/C][C]23587.5024033006[/C][C]-828.502403300579[/C][/ROW]
[ROW][C]77[/C][C]19028[/C][C]17900.7999186780[/C][C]1127.20008132203[/C][/ROW]
[ROW][C]78[/C][C]16971[/C][C]17171.3838741527[/C][C]-200.383874152656[/C][/ROW]
[ROW][C]79[/C][C]20036[/C][C]19677.0345535310[/C][C]358.965446469022[/C][/ROW]
[ROW][C]80[/C][C]22485[/C][C]22410.7601059386[/C][C]74.2398940614242[/C][/ROW]
[ROW][C]81[/C][C]18730[/C][C]18086.6379256929[/C][C]643.362074307082[/C][/ROW]
[ROW][C]82[/C][C]14538[/C][C]12701.1768260181[/C][C]1836.82317398192[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107312&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107312&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
12946231502.9365908092-2040.93659080918
22610527429.9425596032-1324.94255960315
32239722709.4838804992-312.483880499165
42384324034.1140834909-191.114083490946
52170518721.18784093222983.81215906777
61808918160.0520260053-71.052026005286
72076420737.830085803326.1699141967162
82531622919.41158100782396.58841899221
91770419010.3204297402-1306.32042974019
101554813267.89243935532280.10756064471
112802930374.1433951823-2345.14339518225
122938328085.20505843301297.79494156696
133643831068.98401785415369.0159821459
143203429856.94584366362177.05415633645
152267926231.8451908056-3552.84519080555
162431925832.0155602223-1513.01556022225
171800418922.9817203526-918.981720352644
181753717368.3819190613168.618080938683
192036619521.0365372649844.963462735053
202278222658.5782395911123.421760408949
211916918257.4181300390911.581869961049
221380712898.0392528928908.96074710718
232974330363.2372355140-620.237235514046
242559128008.9302013806-2417.93020138058
252909630615.0472130816-1519.04721308157
262648226906.8427174586-424.842717458617
272240522697.6409338535-292.640933853485
282704424145.93862111942898.06137888059
291797019528.1537328304-1558.15373283043
301873018153.5806871311576.419312868906
311968419811.0174325675-127.017432567508
321978522834.6441023101-3049.64410231014
331847917305.40719657941173.59280342060
341069811851.6196522098-1153.61965220984
353195629380.74259136582575.25740863421
362950627659.61428465481846.38571534520
373450632243.76969115172262.23030884830
382716529407.1266183450-2242.12661834495
392673624445.16609316512290.83390683488
402369125433.5685257626-1742.56852576258
411815719946.8552132580-1789.85521325803
421732817223.9160074399104.083992560075
431820519513.0664429940-1308.06644299403
442099522054.4894100613-1059.48941006134
451738217178.7578852989203.242114701141
46936711928.3187370379-2561.31873703794
473112428726.63189390692397.3681060931
482655127062.7771065489-511.777106548881
493065131258.6238964747-607.62389647465
502585927577.3545835692-1718.35458356915
512510022993.98196788532106.01803211475
522577824641.91186971111136.08813028889
532041819994.9260797826423.073920217445
541868818400.1707511085287.829248891461
552042420513.5199327642-89.5199327642223
562477623008.42408919261767.57591080745
571981418775.54446865691038.45553134309
581273813640.9906542695-902.9906542695
593156630282.39995850121283.60004149882
603011128155.79665594871955.20334405126
613001932282.2483383066-2263.24833830658
623193428455.45509546493478.54490453512
632582624336.96454707371489.03545292630
642683526593.9489363931241.051063606884
652020520472.0954941661-267.095494166143
661778918654.5147351012-865.514735101183
672052020225.4950150750294.504984924965
682251822770.6924718986-252.69247189855
691557218235.9139639928-2663.91396399277
701150911916.9624382165-407.962438216525
712544728737.8449255298-3290.84492552983
722409026259.6766930340-2169.67669303395
732778628986.3902523222-1200.39025232222
742619526140.332581895754.6674181043054
752051622243.9173867177-1727.91738671772
762275923587.5024033006-828.502403300579
771902817900.79991867801127.20008132203
781697117171.3838741527-200.383874152656
792003619677.0345535310358.965446469022
802248522410.760105938674.2398940614242
811873018086.6379256929643.362074307082
821453812701.17682601811836.82317398192



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