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 computationMon, 24 Nov 2008 09:38:27 -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/2008/Nov/24/t1227544757t979k8cxju5ohlu.htm/, Retrieved Tue, 14 May 2024 20:28:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25450, Retrieved Tue, 14 May 2024 20:28:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact160
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]
F   PD  [Multiple Regression] [Q1 Case: the Seat...] [2008-11-19 13:32:26] [c993f605b206b366f754f7f8c1fcc291]
F           [Multiple Regression] [q1 tweede] [2008-11-24 16:38:27] [f24298b2e4c2a19d76cf4460ec5d2246] [Current]
F    D        [Multiple Regression] [q3 werkloosheid m...] [2008-11-24 17:04:23] [e43247bc0ab243a5af99ac7f55ba0b41]
Feedback Forum
2008-12-01 20:07:17 [Lindsay Heyndrickx] [reply
Hier is weer een correcte conclusie genomen. Het is al een beter model maar nog niet perfect. Zoals in het volgende model kunnen we hier nog een dummy aan toevoegen.

Post a new message
Dataseries X:
1687	0
1508	0
1507	0
1385	0
1632	0
1511	0
1559	0
1630	0
1579	0
1653	0
2152	0
2148	0
1752	0
1765	0
1717	0
1558	0
1575	0
1520	0
1805	0
1800	0
1719	0
2008	0
2242	0
2478	0
2030	0
1655	0
1693	0
1623	0
1805	0
1746	0
1795	0
1926	0
1619	0
1992	0
2233	0
2192	0
2080	0
1768	0
1835	0
1569	0
1976	0
1853	0
1965	0
1689	0
1778	0
1976	0
2397	0
2654	0
2097	0
1963	0
1677	0
1941	0
2003	0
1813	0
2012	0
1912	0
2084	0
2080	0
2118	0
2150	0
1608	0
1503	0
1548	0
1382	0
1731	0
1798	0
1779	0
1887	0
2004	0
2077	0
2092	0
2051	0
1577	0
1356	0
1652	0
1382	0
1519	0
1421	0
1442	0
1543	0
1656	0
1561	0
1905	0
2199	0
1473	0
1655	0
1407	0
1395	0
1530	0
1309	0
1526	0
1327	0
1627	0
1748	0
1958	0
2274	0
1648	0
1401	0
1411	0
1403	0
1394	0
1520	0
1528	0
1643	0
1515	0
1685	0
2000	0
2215	0
1956	0
1462	0
1563	0
1459	0
1446	0
1622	0
1657	0
1638	0
1643	0
1683	0
2050	0
2262	0
1813	0
1445	0
1762	0
1461	0
1556	0
1431	0
1427	0
1554	0
1645	0
1653	0
2016	0
2207	0
1665	0
1361	0
1506	0
1360	0
1453	0
1522	0
1460	0
1552	0
1548	0
1827	0
1737	0
1941	0
1474	0
1458	0
1542	0
1404	0
1522	0
1385	0
1641	0
1510	0
1681	0
1938	0
1868	0
1726	0
1456	0
1445	0
1456	0
1365	0
1487	0
1558	0
1488	0
1684	0
1594	0
1850	0
1998	0
2079	0
1494	0
1057	1
1218	1
1168	1
1236	1
1076	1
1174	1
1139	1
1427	1
1487	1
1483	1
1513	1
1357	1
1165	1
1282	1
1110	1
1297	1
1185	1
1222	1
1284	1
1444	1
1575	1
1737	1
1763	1




Summary of computational 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 computational 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=25450&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]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=25450&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25450&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 1846.02995173261 -251.176611180784x[t] -1.50915849932545t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  1846.02995173261 -251.176611180784x[t] -1.50915849932545t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25450&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  1846.02995173261 -251.176611180784x[t] -1.50915849932545t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25450&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25450&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] = + 1846.02995173261 -251.176611180784x[t] -1.50915849932545t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1846.0299517326138.7814347.600900
x-251.17661118078467.520939-3.720.0002630.000131
t-1.509158499325450.395585-3.8150.0001849.2e-05

\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) & 1846.02995173261 & 38.78143 & 47.6009 & 0 & 0 \tabularnewline
x & -251.176611180784 & 67.520939 & -3.72 & 0.000263 & 0.000131 \tabularnewline
t & -1.50915849932545 & 0.395585 & -3.815 & 0.000184 & 9.2e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25450&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]1846.02995173261[/C][C]38.78143[/C][C]47.6009[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-251.176611180784[/C][C]67.520939[/C][C]-3.72[/C][C]0.000263[/C][C]0.000131[/C][/ROW]
[ROW][C]t[/C][C]-1.50915849932545[/C][C]0.395585[/C][C]-3.815[/C][C]0.000184[/C][C]9.2e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25450&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25450&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)1846.0299517326138.7814347.600900
x-251.17661118078467.520939-3.720.0002630.000131
t-1.509158499325450.395585-3.8150.0001849.2e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.505523756005193
R-squared0.255554267885598
Adjusted R-squared0.247676535270630
F-TEST (value)32.4400789384575
F-TEST (DF numerator)2
F-TEST (DF denominator)189
p-value7.73159314348959e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation251.198646170456
Sum Squared Residuals11926043.6093574

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.505523756005193 \tabularnewline
R-squared & 0.255554267885598 \tabularnewline
Adjusted R-squared & 0.247676535270630 \tabularnewline
F-TEST (value) & 32.4400789384575 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 189 \tabularnewline
p-value & 7.73159314348959e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 251.198646170456 \tabularnewline
Sum Squared Residuals & 11926043.6093574 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25450&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.505523756005193[/C][/ROW]
[ROW][C]R-squared[/C][C]0.255554267885598[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.247676535270630[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]32.4400789384575[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]189[/C][/ROW]
[ROW][C]p-value[/C][C]7.73159314348959e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]251.198646170456[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]11926043.6093574[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25450&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25450&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.505523756005193
R-squared0.255554267885598
Adjusted R-squared0.247676535270630
F-TEST (value)32.4400789384575
F-TEST (DF numerator)2
F-TEST (DF denominator)189
p-value7.73159314348959e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation251.198646170456
Sum Squared Residuals11926043.6093574







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
116871844.52079323326-157.520793233258
215081843.01163473395-335.011634733954
315071841.50247623463-334.502476234629
413851839.99331773530-454.993317735303
516321838.48415923598-206.484159235977
615111836.97500073665-325.975000736652
715591835.46584223733-276.465842237326
816301833.956683738-203.956683738001
915791832.44752523868-253.447525238675
1016531830.93836673935-177.93836673935
1121521829.42920824002322.570791759975
1221481827.9200497407320.079950259301
1317521826.41089124137-74.4108912413737
1417651824.90173274205-59.9017327420482
1517171823.39257424272-106.392574242723
1615581821.88341574340-263.883415743397
1715751820.37425724407-245.374257244072
1815201818.86509874475-298.865098744746
1918051817.35594024542-12.3559402454209
2018001815.84678174610-15.8467817460955
2117191814.33762324677-95.33762324677
2220081812.82846474744195.171535252555
2322421811.31930624812430.680693751881
2424781809.81014774879668.189852251206
2520301808.30098924947221.699010750532
2616551806.79183075014-151.791830750143
2716931805.28267225082-112.282672250817
2816231803.77351375149-180.773513751492
2918051802.264355252172.7356447478336
3017461800.75519675284-54.755196752841
3117951799.24603825352-4.24603825351549
3219261797.73687975419128.26312024581
3316191796.22772125486-177.227721254865
3419921794.71856275554197.281437244461
3522331793.20940425621439.790595743786
3621921791.70024575689400.299754243112
3720801790.19108725756289.808912742437
3817681788.68192875824-20.6819287582373
3918351787.1727702589147.8272297410881
4015691785.66361175959-216.663611759586
4119761784.15445326026191.845546739739
4218531782.6452947609470.3547052390645
4319651781.13613626161183.86386373839
4416891779.62697776228-90.6269777622846
4517781778.11781926296-0.117819262959129
4619761776.60866076363199.391339236366
4723971775.09950226431621.900497735692
4826541773.59034376498880.409656235017
4920971772.08118526566324.918814734343
5019631770.57202676633192.427973233668
5116771769.06286826701-92.0628682670064
5219411767.55370976768173.446290232319
5320031766.04455126836236.955448731644
5418131764.5353927690348.46460723097
5520121763.02623426970248.973765730295
5619121761.51707577038150.482924229621
5720841760.00791727105323.992082728946
5820801758.49875877173321.501241228272
5921181756.98960027240361.010399727597
6021501755.48044177308394.519558226923
6116081753.97128327375-145.971283273752
6215031752.46212477443-249.462124774426
6315481750.9529662751-202.952966275101
6413821749.44380777578-367.443807775775
6517311747.93464927645-16.9346492764500
6617981746.4254907771251.5745092228754
6717791744.916332277834.0836677222009
6818871743.40717377847143.592826221526
6920041741.89801527915262.101984720852
7020771740.38885677982336.611143220177
7120921738.87969828050353.120301719503
7220511737.37053978117313.629460218828
7315771735.86138128185-158.861381281846
7413561734.35222278252-378.352222782521
7516521732.84306428320-80.8430642831955
7613821731.33390578387-349.33390578387
7715191729.82474728454-210.824747284545
7814211728.31558878522-307.315588785219
7914421726.80643028589-284.806430285894
8015431725.29727178657-182.297271786568
8116561723.78811328724-67.7881132872428
8215611722.27895478792-161.278954787917
8319051720.76979628859184.230203711408
8421991719.26063778927479.739362210734
8514731717.75147928994-244.751479289941
8616551716.24232079062-61.2423207906155
8714071714.73316229129-307.73316229129
8813951713.22400379196-318.224003791965
8915301711.71484529264-181.714845292639
9013091710.20568679331-401.205686793314
9115261708.69652829399-182.696528293988
9213271707.18736979466-380.187369794663
9316271705.67821129534-78.6782112953373
9417481704.1690527960143.8309472039881
9519581702.65989429669255.340105703314
9622741701.15073579736572.849264202639
9716481699.64157729804-51.6415772980355
9814011698.13241879871-297.13241879871
9914111696.62326029938-285.623260299385
10014031695.11410180006-292.114101800059
10113941693.60494330073-299.604943300734
10215201692.09578480141-172.095784801408
10315281690.58662630208-162.586626302083
10416431689.07746780276-46.0774678027573
10515151687.56830930343-172.568309303432
10616851686.05915080411-1.05915080410641
10720001684.54999230478315.450007695219
10822151683.04083380546531.959166194544
10919561681.53167530613274.46832469387
11014621680.02251680680-218.022516806805
11115631678.51335830748-115.513358307479
11214591677.00419980815-218.004199808154
11314461675.49504130883-229.495041308828
11416221673.98588280950-51.9858828095028
11516571672.47672431018-15.4767243101773
11616381670.96756581085-32.9675658108519
11716431669.45840731153-26.4584073115264
11816831667.949248812215.0507511877990
11920501666.44009031288383.559909687125
12022621664.93093181355597.06906818645
12118131663.42177331422149.578226685775
12214451661.9126148149-216.912614814899
12317621660.40345631557101.596543684426
12414611658.89429781625-197.894297816248
12515561657.38513931692-101.385139316923
12614311655.87598081760-224.875980817597
12714271654.36682231827-227.366822318272
12815541652.85766381895-98.8576638189464
12916451651.34850531962-6.34850531962096
13016531649.839346820303.16065317970451
13120161648.33018832097367.66981167903
13222071646.82102982164560.178970178355
13316651645.3118713223219.6881286776809
13413611643.80271282299-282.802712822994
13515061642.29355432367-136.293554323668
13613601640.78439582434-280.784395824343
13714531639.27523732502-186.275237325017
13815221637.76607882569-115.766078825692
13914601636.25692032637-176.256920326366
14015521634.74776182704-82.747761827041
14115481633.23860332772-85.2386033277155
14218271631.72944482839195.27055517161
14317371630.22028632906106.779713670935
14419411628.71112782974312.288872170261
14514741627.20196933041-153.201969330414
14614581625.69281083109-167.692810831088
14715421624.18365233176-82.1836523317628
14814041622.67449383244-218.674493832437
14915221621.16533533311-99.1653353331119
15013851619.65617683379-234.656176833786
15116411618.1470183344622.8529816655390
15215101616.63785983514-106.637859835136
15316811615.1287013358165.8712986641899
15419381613.61954283648324.380457163515
15518681612.11038433716255.889615662841
15617261610.60122583783115.398774162166
15714561609.09206733851-153.092067338508
15814451607.58290883918-162.582908839183
15914561606.07375033986-150.073750339857
16013651604.56459184053-239.564591840532
16114871603.05543334121-116.055433341206
16215581601.54627484188-43.546274841881
16314881600.03711634256-112.037116342556
16416841598.5279578432385.47204215677
16515941597.01879934390-3.01879934390459
16618501595.50964084458254.490359155421
16719981594.00048234525403.999517654746
16820791592.49132384593486.508676154072
16914941590.98216534660-96.9821653466028
17010571338.29639566649-281.296395666493
17112181336.78723716717-118.787237167168
17211681335.27807866784-167.278078667842
17312361333.76892016852-97.7689201685167
17410761332.25976166919-256.259761669191
17511741330.75060316987-156.750603169866
17611391329.24144467054-190.241444670540
17714271327.7322861712199.2677138287851
17814871326.22312767189160.776872328111
17914831324.71396917256158.286030827436
18015131323.20481067324189.795189326761
18113571321.6956521739135.3043478260870
18211651320.18649367459-155.186493674588
18312821318.67733517526-36.6773351752621
18411101317.16817667594-207.168176675937
18512971315.65901817661-18.6590181766112
18611851314.14985967729-129.149859677286
18712221312.64070117796-90.6407011779603
18812841311.13154267863-27.1315426786349
18914441309.62238417931134.377615820691
19015751308.11322567998266.886774320016
19117371306.60406718066430.395932819342
19217631305.09490868133457.905091318667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1687 & 1844.52079323326 & -157.520793233258 \tabularnewline
2 & 1508 & 1843.01163473395 & -335.011634733954 \tabularnewline
3 & 1507 & 1841.50247623463 & -334.502476234629 \tabularnewline
4 & 1385 & 1839.99331773530 & -454.993317735303 \tabularnewline
5 & 1632 & 1838.48415923598 & -206.484159235977 \tabularnewline
6 & 1511 & 1836.97500073665 & -325.975000736652 \tabularnewline
7 & 1559 & 1835.46584223733 & -276.465842237326 \tabularnewline
8 & 1630 & 1833.956683738 & -203.956683738001 \tabularnewline
9 & 1579 & 1832.44752523868 & -253.447525238675 \tabularnewline
10 & 1653 & 1830.93836673935 & -177.93836673935 \tabularnewline
11 & 2152 & 1829.42920824002 & 322.570791759975 \tabularnewline
12 & 2148 & 1827.9200497407 & 320.079950259301 \tabularnewline
13 & 1752 & 1826.41089124137 & -74.4108912413737 \tabularnewline
14 & 1765 & 1824.90173274205 & -59.9017327420482 \tabularnewline
15 & 1717 & 1823.39257424272 & -106.392574242723 \tabularnewline
16 & 1558 & 1821.88341574340 & -263.883415743397 \tabularnewline
17 & 1575 & 1820.37425724407 & -245.374257244072 \tabularnewline
18 & 1520 & 1818.86509874475 & -298.865098744746 \tabularnewline
19 & 1805 & 1817.35594024542 & -12.3559402454209 \tabularnewline
20 & 1800 & 1815.84678174610 & -15.8467817460955 \tabularnewline
21 & 1719 & 1814.33762324677 & -95.33762324677 \tabularnewline
22 & 2008 & 1812.82846474744 & 195.171535252555 \tabularnewline
23 & 2242 & 1811.31930624812 & 430.680693751881 \tabularnewline
24 & 2478 & 1809.81014774879 & 668.189852251206 \tabularnewline
25 & 2030 & 1808.30098924947 & 221.699010750532 \tabularnewline
26 & 1655 & 1806.79183075014 & -151.791830750143 \tabularnewline
27 & 1693 & 1805.28267225082 & -112.282672250817 \tabularnewline
28 & 1623 & 1803.77351375149 & -180.773513751492 \tabularnewline
29 & 1805 & 1802.26435525217 & 2.7356447478336 \tabularnewline
30 & 1746 & 1800.75519675284 & -54.755196752841 \tabularnewline
31 & 1795 & 1799.24603825352 & -4.24603825351549 \tabularnewline
32 & 1926 & 1797.73687975419 & 128.26312024581 \tabularnewline
33 & 1619 & 1796.22772125486 & -177.227721254865 \tabularnewline
34 & 1992 & 1794.71856275554 & 197.281437244461 \tabularnewline
35 & 2233 & 1793.20940425621 & 439.790595743786 \tabularnewline
36 & 2192 & 1791.70024575689 & 400.299754243112 \tabularnewline
37 & 2080 & 1790.19108725756 & 289.808912742437 \tabularnewline
38 & 1768 & 1788.68192875824 & -20.6819287582373 \tabularnewline
39 & 1835 & 1787.17277025891 & 47.8272297410881 \tabularnewline
40 & 1569 & 1785.66361175959 & -216.663611759586 \tabularnewline
41 & 1976 & 1784.15445326026 & 191.845546739739 \tabularnewline
42 & 1853 & 1782.64529476094 & 70.3547052390645 \tabularnewline
43 & 1965 & 1781.13613626161 & 183.86386373839 \tabularnewline
44 & 1689 & 1779.62697776228 & -90.6269777622846 \tabularnewline
45 & 1778 & 1778.11781926296 & -0.117819262959129 \tabularnewline
46 & 1976 & 1776.60866076363 & 199.391339236366 \tabularnewline
47 & 2397 & 1775.09950226431 & 621.900497735692 \tabularnewline
48 & 2654 & 1773.59034376498 & 880.409656235017 \tabularnewline
49 & 2097 & 1772.08118526566 & 324.918814734343 \tabularnewline
50 & 1963 & 1770.57202676633 & 192.427973233668 \tabularnewline
51 & 1677 & 1769.06286826701 & -92.0628682670064 \tabularnewline
52 & 1941 & 1767.55370976768 & 173.446290232319 \tabularnewline
53 & 2003 & 1766.04455126836 & 236.955448731644 \tabularnewline
54 & 1813 & 1764.53539276903 & 48.46460723097 \tabularnewline
55 & 2012 & 1763.02623426970 & 248.973765730295 \tabularnewline
56 & 1912 & 1761.51707577038 & 150.482924229621 \tabularnewline
57 & 2084 & 1760.00791727105 & 323.992082728946 \tabularnewline
58 & 2080 & 1758.49875877173 & 321.501241228272 \tabularnewline
59 & 2118 & 1756.98960027240 & 361.010399727597 \tabularnewline
60 & 2150 & 1755.48044177308 & 394.519558226923 \tabularnewline
61 & 1608 & 1753.97128327375 & -145.971283273752 \tabularnewline
62 & 1503 & 1752.46212477443 & -249.462124774426 \tabularnewline
63 & 1548 & 1750.9529662751 & -202.952966275101 \tabularnewline
64 & 1382 & 1749.44380777578 & -367.443807775775 \tabularnewline
65 & 1731 & 1747.93464927645 & -16.9346492764500 \tabularnewline
66 & 1798 & 1746.42549077712 & 51.5745092228754 \tabularnewline
67 & 1779 & 1744.9163322778 & 34.0836677222009 \tabularnewline
68 & 1887 & 1743.40717377847 & 143.592826221526 \tabularnewline
69 & 2004 & 1741.89801527915 & 262.101984720852 \tabularnewline
70 & 2077 & 1740.38885677982 & 336.611143220177 \tabularnewline
71 & 2092 & 1738.87969828050 & 353.120301719503 \tabularnewline
72 & 2051 & 1737.37053978117 & 313.629460218828 \tabularnewline
73 & 1577 & 1735.86138128185 & -158.861381281846 \tabularnewline
74 & 1356 & 1734.35222278252 & -378.352222782521 \tabularnewline
75 & 1652 & 1732.84306428320 & -80.8430642831955 \tabularnewline
76 & 1382 & 1731.33390578387 & -349.33390578387 \tabularnewline
77 & 1519 & 1729.82474728454 & -210.824747284545 \tabularnewline
78 & 1421 & 1728.31558878522 & -307.315588785219 \tabularnewline
79 & 1442 & 1726.80643028589 & -284.806430285894 \tabularnewline
80 & 1543 & 1725.29727178657 & -182.297271786568 \tabularnewline
81 & 1656 & 1723.78811328724 & -67.7881132872428 \tabularnewline
82 & 1561 & 1722.27895478792 & -161.278954787917 \tabularnewline
83 & 1905 & 1720.76979628859 & 184.230203711408 \tabularnewline
84 & 2199 & 1719.26063778927 & 479.739362210734 \tabularnewline
85 & 1473 & 1717.75147928994 & -244.751479289941 \tabularnewline
86 & 1655 & 1716.24232079062 & -61.2423207906155 \tabularnewline
87 & 1407 & 1714.73316229129 & -307.73316229129 \tabularnewline
88 & 1395 & 1713.22400379196 & -318.224003791965 \tabularnewline
89 & 1530 & 1711.71484529264 & -181.714845292639 \tabularnewline
90 & 1309 & 1710.20568679331 & -401.205686793314 \tabularnewline
91 & 1526 & 1708.69652829399 & -182.696528293988 \tabularnewline
92 & 1327 & 1707.18736979466 & -380.187369794663 \tabularnewline
93 & 1627 & 1705.67821129534 & -78.6782112953373 \tabularnewline
94 & 1748 & 1704.16905279601 & 43.8309472039881 \tabularnewline
95 & 1958 & 1702.65989429669 & 255.340105703314 \tabularnewline
96 & 2274 & 1701.15073579736 & 572.849264202639 \tabularnewline
97 & 1648 & 1699.64157729804 & -51.6415772980355 \tabularnewline
98 & 1401 & 1698.13241879871 & -297.13241879871 \tabularnewline
99 & 1411 & 1696.62326029938 & -285.623260299385 \tabularnewline
100 & 1403 & 1695.11410180006 & -292.114101800059 \tabularnewline
101 & 1394 & 1693.60494330073 & -299.604943300734 \tabularnewline
102 & 1520 & 1692.09578480141 & -172.095784801408 \tabularnewline
103 & 1528 & 1690.58662630208 & -162.586626302083 \tabularnewline
104 & 1643 & 1689.07746780276 & -46.0774678027573 \tabularnewline
105 & 1515 & 1687.56830930343 & -172.568309303432 \tabularnewline
106 & 1685 & 1686.05915080411 & -1.05915080410641 \tabularnewline
107 & 2000 & 1684.54999230478 & 315.450007695219 \tabularnewline
108 & 2215 & 1683.04083380546 & 531.959166194544 \tabularnewline
109 & 1956 & 1681.53167530613 & 274.46832469387 \tabularnewline
110 & 1462 & 1680.02251680680 & -218.022516806805 \tabularnewline
111 & 1563 & 1678.51335830748 & -115.513358307479 \tabularnewline
112 & 1459 & 1677.00419980815 & -218.004199808154 \tabularnewline
113 & 1446 & 1675.49504130883 & -229.495041308828 \tabularnewline
114 & 1622 & 1673.98588280950 & -51.9858828095028 \tabularnewline
115 & 1657 & 1672.47672431018 & -15.4767243101773 \tabularnewline
116 & 1638 & 1670.96756581085 & -32.9675658108519 \tabularnewline
117 & 1643 & 1669.45840731153 & -26.4584073115264 \tabularnewline
118 & 1683 & 1667.9492488122 & 15.0507511877990 \tabularnewline
119 & 2050 & 1666.44009031288 & 383.559909687125 \tabularnewline
120 & 2262 & 1664.93093181355 & 597.06906818645 \tabularnewline
121 & 1813 & 1663.42177331422 & 149.578226685775 \tabularnewline
122 & 1445 & 1661.9126148149 & -216.912614814899 \tabularnewline
123 & 1762 & 1660.40345631557 & 101.596543684426 \tabularnewline
124 & 1461 & 1658.89429781625 & -197.894297816248 \tabularnewline
125 & 1556 & 1657.38513931692 & -101.385139316923 \tabularnewline
126 & 1431 & 1655.87598081760 & -224.875980817597 \tabularnewline
127 & 1427 & 1654.36682231827 & -227.366822318272 \tabularnewline
128 & 1554 & 1652.85766381895 & -98.8576638189464 \tabularnewline
129 & 1645 & 1651.34850531962 & -6.34850531962096 \tabularnewline
130 & 1653 & 1649.83934682030 & 3.16065317970451 \tabularnewline
131 & 2016 & 1648.33018832097 & 367.66981167903 \tabularnewline
132 & 2207 & 1646.82102982164 & 560.178970178355 \tabularnewline
133 & 1665 & 1645.31187132232 & 19.6881286776809 \tabularnewline
134 & 1361 & 1643.80271282299 & -282.802712822994 \tabularnewline
135 & 1506 & 1642.29355432367 & -136.293554323668 \tabularnewline
136 & 1360 & 1640.78439582434 & -280.784395824343 \tabularnewline
137 & 1453 & 1639.27523732502 & -186.275237325017 \tabularnewline
138 & 1522 & 1637.76607882569 & -115.766078825692 \tabularnewline
139 & 1460 & 1636.25692032637 & -176.256920326366 \tabularnewline
140 & 1552 & 1634.74776182704 & -82.747761827041 \tabularnewline
141 & 1548 & 1633.23860332772 & -85.2386033277155 \tabularnewline
142 & 1827 & 1631.72944482839 & 195.27055517161 \tabularnewline
143 & 1737 & 1630.22028632906 & 106.779713670935 \tabularnewline
144 & 1941 & 1628.71112782974 & 312.288872170261 \tabularnewline
145 & 1474 & 1627.20196933041 & -153.201969330414 \tabularnewline
146 & 1458 & 1625.69281083109 & -167.692810831088 \tabularnewline
147 & 1542 & 1624.18365233176 & -82.1836523317628 \tabularnewline
148 & 1404 & 1622.67449383244 & -218.674493832437 \tabularnewline
149 & 1522 & 1621.16533533311 & -99.1653353331119 \tabularnewline
150 & 1385 & 1619.65617683379 & -234.656176833786 \tabularnewline
151 & 1641 & 1618.14701833446 & 22.8529816655390 \tabularnewline
152 & 1510 & 1616.63785983514 & -106.637859835136 \tabularnewline
153 & 1681 & 1615.12870133581 & 65.8712986641899 \tabularnewline
154 & 1938 & 1613.61954283648 & 324.380457163515 \tabularnewline
155 & 1868 & 1612.11038433716 & 255.889615662841 \tabularnewline
156 & 1726 & 1610.60122583783 & 115.398774162166 \tabularnewline
157 & 1456 & 1609.09206733851 & -153.092067338508 \tabularnewline
158 & 1445 & 1607.58290883918 & -162.582908839183 \tabularnewline
159 & 1456 & 1606.07375033986 & -150.073750339857 \tabularnewline
160 & 1365 & 1604.56459184053 & -239.564591840532 \tabularnewline
161 & 1487 & 1603.05543334121 & -116.055433341206 \tabularnewline
162 & 1558 & 1601.54627484188 & -43.546274841881 \tabularnewline
163 & 1488 & 1600.03711634256 & -112.037116342556 \tabularnewline
164 & 1684 & 1598.52795784323 & 85.47204215677 \tabularnewline
165 & 1594 & 1597.01879934390 & -3.01879934390459 \tabularnewline
166 & 1850 & 1595.50964084458 & 254.490359155421 \tabularnewline
167 & 1998 & 1594.00048234525 & 403.999517654746 \tabularnewline
168 & 2079 & 1592.49132384593 & 486.508676154072 \tabularnewline
169 & 1494 & 1590.98216534660 & -96.9821653466028 \tabularnewline
170 & 1057 & 1338.29639566649 & -281.296395666493 \tabularnewline
171 & 1218 & 1336.78723716717 & -118.787237167168 \tabularnewline
172 & 1168 & 1335.27807866784 & -167.278078667842 \tabularnewline
173 & 1236 & 1333.76892016852 & -97.7689201685167 \tabularnewline
174 & 1076 & 1332.25976166919 & -256.259761669191 \tabularnewline
175 & 1174 & 1330.75060316987 & -156.750603169866 \tabularnewline
176 & 1139 & 1329.24144467054 & -190.241444670540 \tabularnewline
177 & 1427 & 1327.73228617121 & 99.2677138287851 \tabularnewline
178 & 1487 & 1326.22312767189 & 160.776872328111 \tabularnewline
179 & 1483 & 1324.71396917256 & 158.286030827436 \tabularnewline
180 & 1513 & 1323.20481067324 & 189.795189326761 \tabularnewline
181 & 1357 & 1321.69565217391 & 35.3043478260870 \tabularnewline
182 & 1165 & 1320.18649367459 & -155.186493674588 \tabularnewline
183 & 1282 & 1318.67733517526 & -36.6773351752621 \tabularnewline
184 & 1110 & 1317.16817667594 & -207.168176675937 \tabularnewline
185 & 1297 & 1315.65901817661 & -18.6590181766112 \tabularnewline
186 & 1185 & 1314.14985967729 & -129.149859677286 \tabularnewline
187 & 1222 & 1312.64070117796 & -90.6407011779603 \tabularnewline
188 & 1284 & 1311.13154267863 & -27.1315426786349 \tabularnewline
189 & 1444 & 1309.62238417931 & 134.377615820691 \tabularnewline
190 & 1575 & 1308.11322567998 & 266.886774320016 \tabularnewline
191 & 1737 & 1306.60406718066 & 430.395932819342 \tabularnewline
192 & 1763 & 1305.09490868133 & 457.905091318667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25450&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]1687[/C][C]1844.52079323326[/C][C]-157.520793233258[/C][/ROW]
[ROW][C]2[/C][C]1508[/C][C]1843.01163473395[/C][C]-335.011634733954[/C][/ROW]
[ROW][C]3[/C][C]1507[/C][C]1841.50247623463[/C][C]-334.502476234629[/C][/ROW]
[ROW][C]4[/C][C]1385[/C][C]1839.99331773530[/C][C]-454.993317735303[/C][/ROW]
[ROW][C]5[/C][C]1632[/C][C]1838.48415923598[/C][C]-206.484159235977[/C][/ROW]
[ROW][C]6[/C][C]1511[/C][C]1836.97500073665[/C][C]-325.975000736652[/C][/ROW]
[ROW][C]7[/C][C]1559[/C][C]1835.46584223733[/C][C]-276.465842237326[/C][/ROW]
[ROW][C]8[/C][C]1630[/C][C]1833.956683738[/C][C]-203.956683738001[/C][/ROW]
[ROW][C]9[/C][C]1579[/C][C]1832.44752523868[/C][C]-253.447525238675[/C][/ROW]
[ROW][C]10[/C][C]1653[/C][C]1830.93836673935[/C][C]-177.93836673935[/C][/ROW]
[ROW][C]11[/C][C]2152[/C][C]1829.42920824002[/C][C]322.570791759975[/C][/ROW]
[ROW][C]12[/C][C]2148[/C][C]1827.9200497407[/C][C]320.079950259301[/C][/ROW]
[ROW][C]13[/C][C]1752[/C][C]1826.41089124137[/C][C]-74.4108912413737[/C][/ROW]
[ROW][C]14[/C][C]1765[/C][C]1824.90173274205[/C][C]-59.9017327420482[/C][/ROW]
[ROW][C]15[/C][C]1717[/C][C]1823.39257424272[/C][C]-106.392574242723[/C][/ROW]
[ROW][C]16[/C][C]1558[/C][C]1821.88341574340[/C][C]-263.883415743397[/C][/ROW]
[ROW][C]17[/C][C]1575[/C][C]1820.37425724407[/C][C]-245.374257244072[/C][/ROW]
[ROW][C]18[/C][C]1520[/C][C]1818.86509874475[/C][C]-298.865098744746[/C][/ROW]
[ROW][C]19[/C][C]1805[/C][C]1817.35594024542[/C][C]-12.3559402454209[/C][/ROW]
[ROW][C]20[/C][C]1800[/C][C]1815.84678174610[/C][C]-15.8467817460955[/C][/ROW]
[ROW][C]21[/C][C]1719[/C][C]1814.33762324677[/C][C]-95.33762324677[/C][/ROW]
[ROW][C]22[/C][C]2008[/C][C]1812.82846474744[/C][C]195.171535252555[/C][/ROW]
[ROW][C]23[/C][C]2242[/C][C]1811.31930624812[/C][C]430.680693751881[/C][/ROW]
[ROW][C]24[/C][C]2478[/C][C]1809.81014774879[/C][C]668.189852251206[/C][/ROW]
[ROW][C]25[/C][C]2030[/C][C]1808.30098924947[/C][C]221.699010750532[/C][/ROW]
[ROW][C]26[/C][C]1655[/C][C]1806.79183075014[/C][C]-151.791830750143[/C][/ROW]
[ROW][C]27[/C][C]1693[/C][C]1805.28267225082[/C][C]-112.282672250817[/C][/ROW]
[ROW][C]28[/C][C]1623[/C][C]1803.77351375149[/C][C]-180.773513751492[/C][/ROW]
[ROW][C]29[/C][C]1805[/C][C]1802.26435525217[/C][C]2.7356447478336[/C][/ROW]
[ROW][C]30[/C][C]1746[/C][C]1800.75519675284[/C][C]-54.755196752841[/C][/ROW]
[ROW][C]31[/C][C]1795[/C][C]1799.24603825352[/C][C]-4.24603825351549[/C][/ROW]
[ROW][C]32[/C][C]1926[/C][C]1797.73687975419[/C][C]128.26312024581[/C][/ROW]
[ROW][C]33[/C][C]1619[/C][C]1796.22772125486[/C][C]-177.227721254865[/C][/ROW]
[ROW][C]34[/C][C]1992[/C][C]1794.71856275554[/C][C]197.281437244461[/C][/ROW]
[ROW][C]35[/C][C]2233[/C][C]1793.20940425621[/C][C]439.790595743786[/C][/ROW]
[ROW][C]36[/C][C]2192[/C][C]1791.70024575689[/C][C]400.299754243112[/C][/ROW]
[ROW][C]37[/C][C]2080[/C][C]1790.19108725756[/C][C]289.808912742437[/C][/ROW]
[ROW][C]38[/C][C]1768[/C][C]1788.68192875824[/C][C]-20.6819287582373[/C][/ROW]
[ROW][C]39[/C][C]1835[/C][C]1787.17277025891[/C][C]47.8272297410881[/C][/ROW]
[ROW][C]40[/C][C]1569[/C][C]1785.66361175959[/C][C]-216.663611759586[/C][/ROW]
[ROW][C]41[/C][C]1976[/C][C]1784.15445326026[/C][C]191.845546739739[/C][/ROW]
[ROW][C]42[/C][C]1853[/C][C]1782.64529476094[/C][C]70.3547052390645[/C][/ROW]
[ROW][C]43[/C][C]1965[/C][C]1781.13613626161[/C][C]183.86386373839[/C][/ROW]
[ROW][C]44[/C][C]1689[/C][C]1779.62697776228[/C][C]-90.6269777622846[/C][/ROW]
[ROW][C]45[/C][C]1778[/C][C]1778.11781926296[/C][C]-0.117819262959129[/C][/ROW]
[ROW][C]46[/C][C]1976[/C][C]1776.60866076363[/C][C]199.391339236366[/C][/ROW]
[ROW][C]47[/C][C]2397[/C][C]1775.09950226431[/C][C]621.900497735692[/C][/ROW]
[ROW][C]48[/C][C]2654[/C][C]1773.59034376498[/C][C]880.409656235017[/C][/ROW]
[ROW][C]49[/C][C]2097[/C][C]1772.08118526566[/C][C]324.918814734343[/C][/ROW]
[ROW][C]50[/C][C]1963[/C][C]1770.57202676633[/C][C]192.427973233668[/C][/ROW]
[ROW][C]51[/C][C]1677[/C][C]1769.06286826701[/C][C]-92.0628682670064[/C][/ROW]
[ROW][C]52[/C][C]1941[/C][C]1767.55370976768[/C][C]173.446290232319[/C][/ROW]
[ROW][C]53[/C][C]2003[/C][C]1766.04455126836[/C][C]236.955448731644[/C][/ROW]
[ROW][C]54[/C][C]1813[/C][C]1764.53539276903[/C][C]48.46460723097[/C][/ROW]
[ROW][C]55[/C][C]2012[/C][C]1763.02623426970[/C][C]248.973765730295[/C][/ROW]
[ROW][C]56[/C][C]1912[/C][C]1761.51707577038[/C][C]150.482924229621[/C][/ROW]
[ROW][C]57[/C][C]2084[/C][C]1760.00791727105[/C][C]323.992082728946[/C][/ROW]
[ROW][C]58[/C][C]2080[/C][C]1758.49875877173[/C][C]321.501241228272[/C][/ROW]
[ROW][C]59[/C][C]2118[/C][C]1756.98960027240[/C][C]361.010399727597[/C][/ROW]
[ROW][C]60[/C][C]2150[/C][C]1755.48044177308[/C][C]394.519558226923[/C][/ROW]
[ROW][C]61[/C][C]1608[/C][C]1753.97128327375[/C][C]-145.971283273752[/C][/ROW]
[ROW][C]62[/C][C]1503[/C][C]1752.46212477443[/C][C]-249.462124774426[/C][/ROW]
[ROW][C]63[/C][C]1548[/C][C]1750.9529662751[/C][C]-202.952966275101[/C][/ROW]
[ROW][C]64[/C][C]1382[/C][C]1749.44380777578[/C][C]-367.443807775775[/C][/ROW]
[ROW][C]65[/C][C]1731[/C][C]1747.93464927645[/C][C]-16.9346492764500[/C][/ROW]
[ROW][C]66[/C][C]1798[/C][C]1746.42549077712[/C][C]51.5745092228754[/C][/ROW]
[ROW][C]67[/C][C]1779[/C][C]1744.9163322778[/C][C]34.0836677222009[/C][/ROW]
[ROW][C]68[/C][C]1887[/C][C]1743.40717377847[/C][C]143.592826221526[/C][/ROW]
[ROW][C]69[/C][C]2004[/C][C]1741.89801527915[/C][C]262.101984720852[/C][/ROW]
[ROW][C]70[/C][C]2077[/C][C]1740.38885677982[/C][C]336.611143220177[/C][/ROW]
[ROW][C]71[/C][C]2092[/C][C]1738.87969828050[/C][C]353.120301719503[/C][/ROW]
[ROW][C]72[/C][C]2051[/C][C]1737.37053978117[/C][C]313.629460218828[/C][/ROW]
[ROW][C]73[/C][C]1577[/C][C]1735.86138128185[/C][C]-158.861381281846[/C][/ROW]
[ROW][C]74[/C][C]1356[/C][C]1734.35222278252[/C][C]-378.352222782521[/C][/ROW]
[ROW][C]75[/C][C]1652[/C][C]1732.84306428320[/C][C]-80.8430642831955[/C][/ROW]
[ROW][C]76[/C][C]1382[/C][C]1731.33390578387[/C][C]-349.33390578387[/C][/ROW]
[ROW][C]77[/C][C]1519[/C][C]1729.82474728454[/C][C]-210.824747284545[/C][/ROW]
[ROW][C]78[/C][C]1421[/C][C]1728.31558878522[/C][C]-307.315588785219[/C][/ROW]
[ROW][C]79[/C][C]1442[/C][C]1726.80643028589[/C][C]-284.806430285894[/C][/ROW]
[ROW][C]80[/C][C]1543[/C][C]1725.29727178657[/C][C]-182.297271786568[/C][/ROW]
[ROW][C]81[/C][C]1656[/C][C]1723.78811328724[/C][C]-67.7881132872428[/C][/ROW]
[ROW][C]82[/C][C]1561[/C][C]1722.27895478792[/C][C]-161.278954787917[/C][/ROW]
[ROW][C]83[/C][C]1905[/C][C]1720.76979628859[/C][C]184.230203711408[/C][/ROW]
[ROW][C]84[/C][C]2199[/C][C]1719.26063778927[/C][C]479.739362210734[/C][/ROW]
[ROW][C]85[/C][C]1473[/C][C]1717.75147928994[/C][C]-244.751479289941[/C][/ROW]
[ROW][C]86[/C][C]1655[/C][C]1716.24232079062[/C][C]-61.2423207906155[/C][/ROW]
[ROW][C]87[/C][C]1407[/C][C]1714.73316229129[/C][C]-307.73316229129[/C][/ROW]
[ROW][C]88[/C][C]1395[/C][C]1713.22400379196[/C][C]-318.224003791965[/C][/ROW]
[ROW][C]89[/C][C]1530[/C][C]1711.71484529264[/C][C]-181.714845292639[/C][/ROW]
[ROW][C]90[/C][C]1309[/C][C]1710.20568679331[/C][C]-401.205686793314[/C][/ROW]
[ROW][C]91[/C][C]1526[/C][C]1708.69652829399[/C][C]-182.696528293988[/C][/ROW]
[ROW][C]92[/C][C]1327[/C][C]1707.18736979466[/C][C]-380.187369794663[/C][/ROW]
[ROW][C]93[/C][C]1627[/C][C]1705.67821129534[/C][C]-78.6782112953373[/C][/ROW]
[ROW][C]94[/C][C]1748[/C][C]1704.16905279601[/C][C]43.8309472039881[/C][/ROW]
[ROW][C]95[/C][C]1958[/C][C]1702.65989429669[/C][C]255.340105703314[/C][/ROW]
[ROW][C]96[/C][C]2274[/C][C]1701.15073579736[/C][C]572.849264202639[/C][/ROW]
[ROW][C]97[/C][C]1648[/C][C]1699.64157729804[/C][C]-51.6415772980355[/C][/ROW]
[ROW][C]98[/C][C]1401[/C][C]1698.13241879871[/C][C]-297.13241879871[/C][/ROW]
[ROW][C]99[/C][C]1411[/C][C]1696.62326029938[/C][C]-285.623260299385[/C][/ROW]
[ROW][C]100[/C][C]1403[/C][C]1695.11410180006[/C][C]-292.114101800059[/C][/ROW]
[ROW][C]101[/C][C]1394[/C][C]1693.60494330073[/C][C]-299.604943300734[/C][/ROW]
[ROW][C]102[/C][C]1520[/C][C]1692.09578480141[/C][C]-172.095784801408[/C][/ROW]
[ROW][C]103[/C][C]1528[/C][C]1690.58662630208[/C][C]-162.586626302083[/C][/ROW]
[ROW][C]104[/C][C]1643[/C][C]1689.07746780276[/C][C]-46.0774678027573[/C][/ROW]
[ROW][C]105[/C][C]1515[/C][C]1687.56830930343[/C][C]-172.568309303432[/C][/ROW]
[ROW][C]106[/C][C]1685[/C][C]1686.05915080411[/C][C]-1.05915080410641[/C][/ROW]
[ROW][C]107[/C][C]2000[/C][C]1684.54999230478[/C][C]315.450007695219[/C][/ROW]
[ROW][C]108[/C][C]2215[/C][C]1683.04083380546[/C][C]531.959166194544[/C][/ROW]
[ROW][C]109[/C][C]1956[/C][C]1681.53167530613[/C][C]274.46832469387[/C][/ROW]
[ROW][C]110[/C][C]1462[/C][C]1680.02251680680[/C][C]-218.022516806805[/C][/ROW]
[ROW][C]111[/C][C]1563[/C][C]1678.51335830748[/C][C]-115.513358307479[/C][/ROW]
[ROW][C]112[/C][C]1459[/C][C]1677.00419980815[/C][C]-218.004199808154[/C][/ROW]
[ROW][C]113[/C][C]1446[/C][C]1675.49504130883[/C][C]-229.495041308828[/C][/ROW]
[ROW][C]114[/C][C]1622[/C][C]1673.98588280950[/C][C]-51.9858828095028[/C][/ROW]
[ROW][C]115[/C][C]1657[/C][C]1672.47672431018[/C][C]-15.4767243101773[/C][/ROW]
[ROW][C]116[/C][C]1638[/C][C]1670.96756581085[/C][C]-32.9675658108519[/C][/ROW]
[ROW][C]117[/C][C]1643[/C][C]1669.45840731153[/C][C]-26.4584073115264[/C][/ROW]
[ROW][C]118[/C][C]1683[/C][C]1667.9492488122[/C][C]15.0507511877990[/C][/ROW]
[ROW][C]119[/C][C]2050[/C][C]1666.44009031288[/C][C]383.559909687125[/C][/ROW]
[ROW][C]120[/C][C]2262[/C][C]1664.93093181355[/C][C]597.06906818645[/C][/ROW]
[ROW][C]121[/C][C]1813[/C][C]1663.42177331422[/C][C]149.578226685775[/C][/ROW]
[ROW][C]122[/C][C]1445[/C][C]1661.9126148149[/C][C]-216.912614814899[/C][/ROW]
[ROW][C]123[/C][C]1762[/C][C]1660.40345631557[/C][C]101.596543684426[/C][/ROW]
[ROW][C]124[/C][C]1461[/C][C]1658.89429781625[/C][C]-197.894297816248[/C][/ROW]
[ROW][C]125[/C][C]1556[/C][C]1657.38513931692[/C][C]-101.385139316923[/C][/ROW]
[ROW][C]126[/C][C]1431[/C][C]1655.87598081760[/C][C]-224.875980817597[/C][/ROW]
[ROW][C]127[/C][C]1427[/C][C]1654.36682231827[/C][C]-227.366822318272[/C][/ROW]
[ROW][C]128[/C][C]1554[/C][C]1652.85766381895[/C][C]-98.8576638189464[/C][/ROW]
[ROW][C]129[/C][C]1645[/C][C]1651.34850531962[/C][C]-6.34850531962096[/C][/ROW]
[ROW][C]130[/C][C]1653[/C][C]1649.83934682030[/C][C]3.16065317970451[/C][/ROW]
[ROW][C]131[/C][C]2016[/C][C]1648.33018832097[/C][C]367.66981167903[/C][/ROW]
[ROW][C]132[/C][C]2207[/C][C]1646.82102982164[/C][C]560.178970178355[/C][/ROW]
[ROW][C]133[/C][C]1665[/C][C]1645.31187132232[/C][C]19.6881286776809[/C][/ROW]
[ROW][C]134[/C][C]1361[/C][C]1643.80271282299[/C][C]-282.802712822994[/C][/ROW]
[ROW][C]135[/C][C]1506[/C][C]1642.29355432367[/C][C]-136.293554323668[/C][/ROW]
[ROW][C]136[/C][C]1360[/C][C]1640.78439582434[/C][C]-280.784395824343[/C][/ROW]
[ROW][C]137[/C][C]1453[/C][C]1639.27523732502[/C][C]-186.275237325017[/C][/ROW]
[ROW][C]138[/C][C]1522[/C][C]1637.76607882569[/C][C]-115.766078825692[/C][/ROW]
[ROW][C]139[/C][C]1460[/C][C]1636.25692032637[/C][C]-176.256920326366[/C][/ROW]
[ROW][C]140[/C][C]1552[/C][C]1634.74776182704[/C][C]-82.747761827041[/C][/ROW]
[ROW][C]141[/C][C]1548[/C][C]1633.23860332772[/C][C]-85.2386033277155[/C][/ROW]
[ROW][C]142[/C][C]1827[/C][C]1631.72944482839[/C][C]195.27055517161[/C][/ROW]
[ROW][C]143[/C][C]1737[/C][C]1630.22028632906[/C][C]106.779713670935[/C][/ROW]
[ROW][C]144[/C][C]1941[/C][C]1628.71112782974[/C][C]312.288872170261[/C][/ROW]
[ROW][C]145[/C][C]1474[/C][C]1627.20196933041[/C][C]-153.201969330414[/C][/ROW]
[ROW][C]146[/C][C]1458[/C][C]1625.69281083109[/C][C]-167.692810831088[/C][/ROW]
[ROW][C]147[/C][C]1542[/C][C]1624.18365233176[/C][C]-82.1836523317628[/C][/ROW]
[ROW][C]148[/C][C]1404[/C][C]1622.67449383244[/C][C]-218.674493832437[/C][/ROW]
[ROW][C]149[/C][C]1522[/C][C]1621.16533533311[/C][C]-99.1653353331119[/C][/ROW]
[ROW][C]150[/C][C]1385[/C][C]1619.65617683379[/C][C]-234.656176833786[/C][/ROW]
[ROW][C]151[/C][C]1641[/C][C]1618.14701833446[/C][C]22.8529816655390[/C][/ROW]
[ROW][C]152[/C][C]1510[/C][C]1616.63785983514[/C][C]-106.637859835136[/C][/ROW]
[ROW][C]153[/C][C]1681[/C][C]1615.12870133581[/C][C]65.8712986641899[/C][/ROW]
[ROW][C]154[/C][C]1938[/C][C]1613.61954283648[/C][C]324.380457163515[/C][/ROW]
[ROW][C]155[/C][C]1868[/C][C]1612.11038433716[/C][C]255.889615662841[/C][/ROW]
[ROW][C]156[/C][C]1726[/C][C]1610.60122583783[/C][C]115.398774162166[/C][/ROW]
[ROW][C]157[/C][C]1456[/C][C]1609.09206733851[/C][C]-153.092067338508[/C][/ROW]
[ROW][C]158[/C][C]1445[/C][C]1607.58290883918[/C][C]-162.582908839183[/C][/ROW]
[ROW][C]159[/C][C]1456[/C][C]1606.07375033986[/C][C]-150.073750339857[/C][/ROW]
[ROW][C]160[/C][C]1365[/C][C]1604.56459184053[/C][C]-239.564591840532[/C][/ROW]
[ROW][C]161[/C][C]1487[/C][C]1603.05543334121[/C][C]-116.055433341206[/C][/ROW]
[ROW][C]162[/C][C]1558[/C][C]1601.54627484188[/C][C]-43.546274841881[/C][/ROW]
[ROW][C]163[/C][C]1488[/C][C]1600.03711634256[/C][C]-112.037116342556[/C][/ROW]
[ROW][C]164[/C][C]1684[/C][C]1598.52795784323[/C][C]85.47204215677[/C][/ROW]
[ROW][C]165[/C][C]1594[/C][C]1597.01879934390[/C][C]-3.01879934390459[/C][/ROW]
[ROW][C]166[/C][C]1850[/C][C]1595.50964084458[/C][C]254.490359155421[/C][/ROW]
[ROW][C]167[/C][C]1998[/C][C]1594.00048234525[/C][C]403.999517654746[/C][/ROW]
[ROW][C]168[/C][C]2079[/C][C]1592.49132384593[/C][C]486.508676154072[/C][/ROW]
[ROW][C]169[/C][C]1494[/C][C]1590.98216534660[/C][C]-96.9821653466028[/C][/ROW]
[ROW][C]170[/C][C]1057[/C][C]1338.29639566649[/C][C]-281.296395666493[/C][/ROW]
[ROW][C]171[/C][C]1218[/C][C]1336.78723716717[/C][C]-118.787237167168[/C][/ROW]
[ROW][C]172[/C][C]1168[/C][C]1335.27807866784[/C][C]-167.278078667842[/C][/ROW]
[ROW][C]173[/C][C]1236[/C][C]1333.76892016852[/C][C]-97.7689201685167[/C][/ROW]
[ROW][C]174[/C][C]1076[/C][C]1332.25976166919[/C][C]-256.259761669191[/C][/ROW]
[ROW][C]175[/C][C]1174[/C][C]1330.75060316987[/C][C]-156.750603169866[/C][/ROW]
[ROW][C]176[/C][C]1139[/C][C]1329.24144467054[/C][C]-190.241444670540[/C][/ROW]
[ROW][C]177[/C][C]1427[/C][C]1327.73228617121[/C][C]99.2677138287851[/C][/ROW]
[ROW][C]178[/C][C]1487[/C][C]1326.22312767189[/C][C]160.776872328111[/C][/ROW]
[ROW][C]179[/C][C]1483[/C][C]1324.71396917256[/C][C]158.286030827436[/C][/ROW]
[ROW][C]180[/C][C]1513[/C][C]1323.20481067324[/C][C]189.795189326761[/C][/ROW]
[ROW][C]181[/C][C]1357[/C][C]1321.69565217391[/C][C]35.3043478260870[/C][/ROW]
[ROW][C]182[/C][C]1165[/C][C]1320.18649367459[/C][C]-155.186493674588[/C][/ROW]
[ROW][C]183[/C][C]1282[/C][C]1318.67733517526[/C][C]-36.6773351752621[/C][/ROW]
[ROW][C]184[/C][C]1110[/C][C]1317.16817667594[/C][C]-207.168176675937[/C][/ROW]
[ROW][C]185[/C][C]1297[/C][C]1315.65901817661[/C][C]-18.6590181766112[/C][/ROW]
[ROW][C]186[/C][C]1185[/C][C]1314.14985967729[/C][C]-129.149859677286[/C][/ROW]
[ROW][C]187[/C][C]1222[/C][C]1312.64070117796[/C][C]-90.6407011779603[/C][/ROW]
[ROW][C]188[/C][C]1284[/C][C]1311.13154267863[/C][C]-27.1315426786349[/C][/ROW]
[ROW][C]189[/C][C]1444[/C][C]1309.62238417931[/C][C]134.377615820691[/C][/ROW]
[ROW][C]190[/C][C]1575[/C][C]1308.11322567998[/C][C]266.886774320016[/C][/ROW]
[ROW][C]191[/C][C]1737[/C][C]1306.60406718066[/C][C]430.395932819342[/C][/ROW]
[ROW][C]192[/C][C]1763[/C][C]1305.09490868133[/C][C]457.905091318667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25450&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25450&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
116871844.52079323326-157.520793233258
215081843.01163473395-335.011634733954
315071841.50247623463-334.502476234629
413851839.99331773530-454.993317735303
516321838.48415923598-206.484159235977
615111836.97500073665-325.975000736652
715591835.46584223733-276.465842237326
816301833.956683738-203.956683738001
915791832.44752523868-253.447525238675
1016531830.93836673935-177.93836673935
1121521829.42920824002322.570791759975
1221481827.9200497407320.079950259301
1317521826.41089124137-74.4108912413737
1417651824.90173274205-59.9017327420482
1517171823.39257424272-106.392574242723
1615581821.88341574340-263.883415743397
1715751820.37425724407-245.374257244072
1815201818.86509874475-298.865098744746
1918051817.35594024542-12.3559402454209
2018001815.84678174610-15.8467817460955
2117191814.33762324677-95.33762324677
2220081812.82846474744195.171535252555
2322421811.31930624812430.680693751881
2424781809.81014774879668.189852251206
2520301808.30098924947221.699010750532
2616551806.79183075014-151.791830750143
2716931805.28267225082-112.282672250817
2816231803.77351375149-180.773513751492
2918051802.264355252172.7356447478336
3017461800.75519675284-54.755196752841
3117951799.24603825352-4.24603825351549
3219261797.73687975419128.26312024581
3316191796.22772125486-177.227721254865
3419921794.71856275554197.281437244461
3522331793.20940425621439.790595743786
3621921791.70024575689400.299754243112
3720801790.19108725756289.808912742437
3817681788.68192875824-20.6819287582373
3918351787.1727702589147.8272297410881
4015691785.66361175959-216.663611759586
4119761784.15445326026191.845546739739
4218531782.6452947609470.3547052390645
4319651781.13613626161183.86386373839
4416891779.62697776228-90.6269777622846
4517781778.11781926296-0.117819262959129
4619761776.60866076363199.391339236366
4723971775.09950226431621.900497735692
4826541773.59034376498880.409656235017
4920971772.08118526566324.918814734343
5019631770.57202676633192.427973233668
5116771769.06286826701-92.0628682670064
5219411767.55370976768173.446290232319
5320031766.04455126836236.955448731644
5418131764.5353927690348.46460723097
5520121763.02623426970248.973765730295
5619121761.51707577038150.482924229621
5720841760.00791727105323.992082728946
5820801758.49875877173321.501241228272
5921181756.98960027240361.010399727597
6021501755.48044177308394.519558226923
6116081753.97128327375-145.971283273752
6215031752.46212477443-249.462124774426
6315481750.9529662751-202.952966275101
6413821749.44380777578-367.443807775775
6517311747.93464927645-16.9346492764500
6617981746.4254907771251.5745092228754
6717791744.916332277834.0836677222009
6818871743.40717377847143.592826221526
6920041741.89801527915262.101984720852
7020771740.38885677982336.611143220177
7120921738.87969828050353.120301719503
7220511737.37053978117313.629460218828
7315771735.86138128185-158.861381281846
7413561734.35222278252-378.352222782521
7516521732.84306428320-80.8430642831955
7613821731.33390578387-349.33390578387
7715191729.82474728454-210.824747284545
7814211728.31558878522-307.315588785219
7914421726.80643028589-284.806430285894
8015431725.29727178657-182.297271786568
8116561723.78811328724-67.7881132872428
8215611722.27895478792-161.278954787917
8319051720.76979628859184.230203711408
8421991719.26063778927479.739362210734
8514731717.75147928994-244.751479289941
8616551716.24232079062-61.2423207906155
8714071714.73316229129-307.73316229129
8813951713.22400379196-318.224003791965
8915301711.71484529264-181.714845292639
9013091710.20568679331-401.205686793314
9115261708.69652829399-182.696528293988
9213271707.18736979466-380.187369794663
9316271705.67821129534-78.6782112953373
9417481704.1690527960143.8309472039881
9519581702.65989429669255.340105703314
9622741701.15073579736572.849264202639
9716481699.64157729804-51.6415772980355
9814011698.13241879871-297.13241879871
9914111696.62326029938-285.623260299385
10014031695.11410180006-292.114101800059
10113941693.60494330073-299.604943300734
10215201692.09578480141-172.095784801408
10315281690.58662630208-162.586626302083
10416431689.07746780276-46.0774678027573
10515151687.56830930343-172.568309303432
10616851686.05915080411-1.05915080410641
10720001684.54999230478315.450007695219
10822151683.04083380546531.959166194544
10919561681.53167530613274.46832469387
11014621680.02251680680-218.022516806805
11115631678.51335830748-115.513358307479
11214591677.00419980815-218.004199808154
11314461675.49504130883-229.495041308828
11416221673.98588280950-51.9858828095028
11516571672.47672431018-15.4767243101773
11616381670.96756581085-32.9675658108519
11716431669.45840731153-26.4584073115264
11816831667.949248812215.0507511877990
11920501666.44009031288383.559909687125
12022621664.93093181355597.06906818645
12118131663.42177331422149.578226685775
12214451661.9126148149-216.912614814899
12317621660.40345631557101.596543684426
12414611658.89429781625-197.894297816248
12515561657.38513931692-101.385139316923
12614311655.87598081760-224.875980817597
12714271654.36682231827-227.366822318272
12815541652.85766381895-98.8576638189464
12916451651.34850531962-6.34850531962096
13016531649.839346820303.16065317970451
13120161648.33018832097367.66981167903
13222071646.82102982164560.178970178355
13316651645.3118713223219.6881286776809
13413611643.80271282299-282.802712822994
13515061642.29355432367-136.293554323668
13613601640.78439582434-280.784395824343
13714531639.27523732502-186.275237325017
13815221637.76607882569-115.766078825692
13914601636.25692032637-176.256920326366
14015521634.74776182704-82.747761827041
14115481633.23860332772-85.2386033277155
14218271631.72944482839195.27055517161
14317371630.22028632906106.779713670935
14419411628.71112782974312.288872170261
14514741627.20196933041-153.201969330414
14614581625.69281083109-167.692810831088
14715421624.18365233176-82.1836523317628
14814041622.67449383244-218.674493832437
14915221621.16533533311-99.1653353331119
15013851619.65617683379-234.656176833786
15116411618.1470183344622.8529816655390
15215101616.63785983514-106.637859835136
15316811615.1287013358165.8712986641899
15419381613.61954283648324.380457163515
15518681612.11038433716255.889615662841
15617261610.60122583783115.398774162166
15714561609.09206733851-153.092067338508
15814451607.58290883918-162.582908839183
15914561606.07375033986-150.073750339857
16013651604.56459184053-239.564591840532
16114871603.05543334121-116.055433341206
16215581601.54627484188-43.546274841881
16314881600.03711634256-112.037116342556
16416841598.5279578432385.47204215677
16515941597.01879934390-3.01879934390459
16618501595.50964084458254.490359155421
16719981594.00048234525403.999517654746
16820791592.49132384593486.508676154072
16914941590.98216534660-96.9821653466028
17010571338.29639566649-281.296395666493
17112181336.78723716717-118.787237167168
17211681335.27807866784-167.278078667842
17312361333.76892016852-97.7689201685167
17410761332.25976166919-256.259761669191
17511741330.75060316987-156.750603169866
17611391329.24144467054-190.241444670540
17714271327.7322861712199.2677138287851
17814871326.22312767189160.776872328111
17914831324.71396917256158.286030827436
18015131323.20481067324189.795189326761
18113571321.6956521739135.3043478260870
18211651320.18649367459-155.186493674588
18312821318.67733517526-36.6773351752621
18411101317.16817667594-207.168176675937
18512971315.65901817661-18.6590181766112
18611851314.14985967729-129.149859677286
18712221312.64070117796-90.6407011779603
18812841311.13154267863-27.1315426786349
18914441309.62238417931134.377615820691
19015751308.11322567998266.886774320016
19117371306.60406718066430.395932819342
19217631305.09490868133457.905091318667



Parameters (Session):
par1 = 0 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 0 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')