Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 15 Nov 2007 03:29:04 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/15/t119512222707uum1ref5calo3.htm/, Retrieved Sat, 04 May 2024 18:25:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5417, Retrieved Sat, 04 May 2024 18:25:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact228
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [The seatbelt law] [2007-11-15 10:29:04] [7c5c775a3769ba2649d285a4261e023c] [Current]
Feedback Forum

Post a new message
Dataseries X:
1687	0			-183,9235445
1508	0			-177,0726091
1507	0			-228,6351091
1385	0			-237,4476091
1632	0			-127,7601091
1511	0			-193,0101091
1559	0			-220,6351091
1630	0			-164,5101091
1579	0			-268,3226091
1653	0			-333,6976091
2152	0			-34,26010911
2148	0			-154,8851091
1752	0			-97,74528053
1765	0			101,1056549
1717	0			2,543154874
1558	0			-43,26934513
1575	0			-163,5818451
1520	0			-162,8318451
1805	0			46,54315487
1800	0			26,66815487
1719	0			-107,1443451
2008	0			42,48065487
2242	0			76,91815487
2478	0			196,2931549
2030	0			201,4329835
1655	0			12,28391886
1693	0			-0,278581137
1623	0			42,90891886
1805	0			87,59641886
1746	0			84,34641886
1795	0			57,72141886
1926	0			173,8464189
1619	0			-185,9660811
1992	0			47,65891886
2233	0			89,09641886
2192	0			-68,52858114
2080	0			272,6112475
1768	0			146,4621829
1835	0			162,8996829
1569	0			10,08718285
1976	0			279,7746829
1853	0			212,5246829
1965	0			248,8996829
1689	0			-41,97531715
1778	0			-5,787817149
1976	0			52,83718285
2397	0			274,2746829
2654	0			414,6496829
2097	0			310,7895114
1963	0			362,6404468
1677	0			26,07794684
1941	0			403,2654468
2003	0			327,9529468
1813	0			193,7029468
2012	0			317,0779468
1912	0			202,2029468
2084	0			321,3904468
2080	0			178,0154468
2118	0			16,45294684
2150	0			-68,17205316
1608	0			-157,0322246
1503	0			-76,18128917
1548	0			-81,74378917
1382	0			-134,5562892
1731	0			77,13121083
1798	0			199,8812108
1779	0			105,2562108
1887	0			198,3812108
2004	0			262,5687108
2077	0			196,1937108
2092	0			11,63121083
2051	0			-145,9937892
1577	0			-166,8539606
1356	0			-202,0030252
1652	0			43,43447482
1382	0			-113,3780252
1519	0			-113,6905252
1421	0			-155,9405252
1442	0			-210,5655252
1543	0			-124,4405252
1656	0			-64,25302518
1561	0			-298,6280252
1905	0			-154,1905252
2199	0			23,18447482
1473	0			-249,6756966
1655	0			118,1752388
1407	0			-180,3872612
1395	0			-79,19976119
1530	0			-81,51226119
1309	0			-246,7622612
1526	0			-105,3872612
1327	0			-319,2622612
1627	0			-72,07476119
1748	0			-90,44976119
1958	0			-80,01226119
2274	0			119,3627388
1648	0			-53,49743261
1401	0			-114,6464972
1411	0			-155,2089972
1403	0			-50,02149721
1394	0			-196,3339972
1520	0			-14,58399721
1528	0			-82,20899721
1643	0			17,91600279
1515	0			-162,8964972
1685	0			-132,2714972
2000	0			-16,83399721
2215	0			81,54100279
1956	0			275,6808314
1462	0			-32,46823322
1563	0			17,96926678
1459	0			27,15676678
1446	0			-123,1557332
1622	0			108,5942668
1657	0			67,96926678
1638	0			34,09426678
1643	0			-13,71823322
1683	0			-113,0932332
2050	0			54,34426678
2262	0			149,7192668
1813	0			153,8590954
1445	0			-28,28996923
1762	0			238,1475308
1461	0			50,33503077
1556	0			8,022530771
1431	0			-61,22746923
1427	0			-140,8524692
1554	0			-28,72746923
1645	0			9,460030771
1653	0			-121,9149692
2016	0			41,52253077
2207	0			115,8975308
1665	0			27,03735936
1361	0			-91,11170524
1506	0			3,325794759
1360	0			-29,48670524
1453	0			-73,79920524
1522	0			50,95079476
1460	0			-86,67420524
1552	0			-9,54920524
1548	0			-66,36170524
1827	0			73,26329476
1737	0			-216,2992052
1941	0			-128,9242052
1474	0			-142,7843767
1458	0			27,06655875
1542	0			60,50405875
1404	0			35,69155875
1522	0			16,37905875
1385	0			-64,87094125
1641	0			115,5040587
1510	0			-30,37094125
1681	0			87,81655875
1938	0			205,4415587
1868	0			-64,12094125
1726	0			-322,7459413
1456	0			-139,6061127
1445	0			35,24482274
1456	0			-4,317677263
1365	0			17,86982274
1487	0			2,557322737
1558	0			129,3073227
1488	0			-16,31767726
1684	0			164,8073227
1594	0			21,99482274
1850	0			138,6198227
1998	0			87,05732274
2079	0			51,43232274
1494	0			-80,42784867
1057	1			-105,1918797
1218	1			5,245620328
1168	1			68,43312033
1236	1			-0,879379672
1076	1			-105,1293797
1174	1			-82,75437967
1139	1			-132,6293797
1427	1			102,5581203
1487	1			23,18312033
1483	1			-180,3793797
1513	1			-267,0043797
1357	1			30,13544892
1165	1			23,98638432
1282	1			90,42388432
1110	1			31,61138432
1297	1			81,29888432
1185	1			25,04888432
1222	1			-13,57611568
1284	1			33,54888432
1444	1			140,7363843
1575	1			132,3613843
1737	1			94,79888432
1763	1			4,173884316




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

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

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 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=5417&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Slacht[t] = + 1717.75147928992 -396.055827109141wet[t] + 1.00000000002839V3[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Slacht[t] =  +  1717.75147928992 -396.055827109141wet[t] +  1.00000000002839V3[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5417&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Slacht[t] =  +  1717.75147928992 -396.055827109141wet[t] +  1.00000000002839V3[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5417&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5417&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
Slacht[t] = + 1717.75147928992 -396.055827109141wet[t] + 1.00000000002839V3[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1717.7514792899216.512653104.026400
wet-396.05582710914147.709356-8.301400
V31.000000000028390.1055649.47300

\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) & 1717.75147928992 & 16.512653 & 104.0264 & 0 & 0 \tabularnewline
wet & -396.055827109141 & 47.709356 & -8.3014 & 0 & 0 \tabularnewline
V3 & 1.00000000002839 & 0.105564 & 9.473 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5417&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]1717.75147928992[/C][C]16.512653[/C][C]104.0264[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]wet[/C][C]-396.055827109141[/C][C]47.709356[/C][C]-8.3014[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]V3[/C][C]1.00000000002839[/C][C]0.105564[/C][C]9.473[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5417&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5417&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)1717.7514792899216.512653104.026400
wet-396.05582710914147.709356-8.301400
V31.000000000028390.1055649.47300







Multiple Linear Regression - Regression Statistics
Multiple R0.675537295805097
R-squared0.456350638023663
Adjusted R-squared0.450597734722326
F-TEST (value)79.3252752775477
F-TEST (DF numerator)2
F-TEST (DF denominator)189
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation214.664492264491
Sum Squared Residuals8709279.56120347

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.675537295805097 \tabularnewline
R-squared & 0.456350638023663 \tabularnewline
Adjusted R-squared & 0.450597734722326 \tabularnewline
F-TEST (value) & 79.3252752775477 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 189 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 214.664492264491 \tabularnewline
Sum Squared Residuals & 8709279.56120347 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5417&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.675537295805097[/C][/ROW]
[ROW][C]R-squared[/C][C]0.456350638023663[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.450597734722326[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]79.3252752775477[/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]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]214.664492264491[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8709279.56120347[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5417&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5417&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.675537295805097
R-squared0.456350638023663
Adjusted R-squared0.450597734722326
F-TEST (value)79.3252752775477
F-TEST (DF numerator)2
F-TEST (DF denominator)189
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation214.664492264491
Sum Squared Residuals8709279.56120347







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
116871533.82793478468153.172065215319
215081540.67887018490-32.6788701848964
315071489.1163701834317.8836298165677
413851480.30387018318-95.3038701831818
516321589.9913701863042.0086298137040
615111524.74137018444-13.7413701844435
715591497.1163701836661.8836298163408
816301553.2413701852576.7586298147474
915791449.42887018231129.571129817695
1016531384.05387018045268.946129819551
1121521683.49137017895468.508629821049
1221481562.86637018553585.133629814474
1317521620.00619875715131.993801242852
1417651818.85713419279-53.8571341927937
1517171720.29463416400-3.29463416399540
1615581674.48213415869-116.482134158695
1715751554.1696341852820.8303658147210
1815201554.9196341853-34.9196341853003
1918051764.2946341612440.7053658387554
2018001744.4196341606855.5803658393197
2117191610.60713418688108.392865813119
2220081760.23213416113247.767865838871
2322421794.66963416211447.330365837893
2424781914.04463419550563.955365804504
2520301919.18446279564110.815537204358
2616551730.03539815027-75.0353981502719
2716931717.47289815292-24.4728981529153
2816231760.66039815114-137.660398151141
2918051805.34789815241-0.347898152410115
3017461802.09789815232-56.0978981523178
3117951775.4728981515619.5271018484381
3219261891.5978981948634.4021018051411
3316191531.7853981846487.2146018153565
3419921765.41039815128226.589601848724
3522331806.84789815245426.152101847547
3621921649.22289814798542.777101852022
3720801990.3627267976689.6372732023371
3817681864.21366219408-96.2136621940814
3918351880.65116219455-45.6511621945481
4015691727.83866214021-158.838662140210
4119761997.52616219787-21.5261621978663
4218531930.27616219596-77.276162195957
4319651966.65116219699-1.65116219698961
4416891675.7761621387313.2238378612685
4517781711.9636621407666.0363378592411
4619761770.58866214142205.411337858577
4723971992.02616219771404.97383780229
4826542132.40116220170521.598837798305
4920972028.5409906987568.4590093012532
5019632080.39192610022-117.391926100219
5116771743.82942613066-66.8294261306636
5219412121.01692610137-180.016926101372
5320032045.70442609923-42.7044260992341
5418131911.45442609542-98.4544260954226
5520122034.82942609893-22.8294260989253
5619121919.95442609566-7.95442609566395
5720842039.1419260990544.8580739009522
5820801895.76692609498184.233073905023
5921181734.20442613039383.79557386961
6021501649.57942612799500.420573872012
6116081560.7192546854647.2807453145351
6215031641.57019011776-138.570190117760
6315481636.00769011760-88.0076901176024
6413821583.19519008610-201.195190086103
6517311794.88269012211-63.882690122113
6617981917.63269009560-119.632690095598
6717791823.00769009291-44.0076900929115
6818871916.13269009556-29.1326900955554
6920041980.3201900973823.6798099026222
7020771913.94519009549163.054809904507
7120921729.38269012025362.617309879747
7220511571.75769008578479.242309914222
7315771550.8975186851926.1024813148139
7413561515.74845408419-159.748454084188
7516521761.18595411116-109.185954111156
7613821604.37345408670-222.373454086704
7715191604.06095408670-85.0609540866954
7814211561.81095408550-140.810954085496
7914421507.18595408395-65.1859540839451
8015431593.31095408639-50.3109540863902
8116561653.49845410812.50154589190100
8215611419.12345408144141.876545918555
8319051563.56095408555341.439045914454
8421991740.93595411058458.064045889419
8514731468.075782682834.92421731716533
8616551835.92671809328-180.926718093278
8714071537.36421808480-130.364218084802
8813951638.55171809767-243.551718097675
8915301636.23921809761-106.239218097609
9013091470.98921808292-161.989218082917
9115261612.36421808693-86.3642180869312
9213271398.48921808086-71.489218080859
9316271645.67671809788-18.6767180978769
9417481627.30171809736120.698281902645
9519581637.73921809765320.260781902348
9622741837.11421809331436.885781906688
9716481664.25404667840-16.2540466784044
9814011603.10498208667-202.104982086668
9914111562.54248208552-151.542482085517
10014031667.72998207850-264.729982078503
10113941521.41748208435-127.417482084349
10215201703.16748207951-183.167482079509
10315281635.54248207759-107.542482077589
10416431735.66748208043-92.6674820804318
10515151554.85498208530-39.8549820852984
10616851585.4799820861799.5200179138321
10720001700.91748207945299.082517920555
10822151799.29248208224415.707517917762
10919561993.43231069775-37.4323106977500
11014621685.28324606900-223.283246069001
11115631735.72074607043-172.720746070433
11214591744.90824607069-285.908246070694
11314461594.59574608643-148.595746086427
11416221826.34574609301-204.345746093006
11516571785.72074607185-128.720746071853
11616381751.84574607089-113.845746070891
11716431704.03324606953-61.0332460695337
11816831604.6582460867178.3417539132876
11920501772.09574607147277.904253928534
12022621867.47074609417394.529253905826
12118131871.61057469429-58.6105746942914
12214451689.46151005912-244.46151005912
12317621955.89901009668-193.899010096684
12414611768.08651006135-307.086510061352
12515561725.77401006115-169.774010061151
12614311656.52401005819-225.524010058185
12714271576.89901008592-149.899010085924
12815541689.02401005911-135.024010059108
12916451727.21151006119-82.2115100611918
13016531595.8365100864657.1634899135381
13120161759.27401006110256.725989938898
13222071833.64901009321373.350989906786
13316651744.78883865069-79.7888386506908
13413611626.63977404734-265.639774047336
13515061721.07727404902-215.077274049018
13613601688.26477404909-328.264774049086
13714531643.95227404783-190.952274047828
13815221768.70227405137-246.70227405137
13914601631.07727404746-171.077274047462
14015521708.20227404965-156.202274049652
14115481651.38977404804-103.389774048039
14218271791.0147740520035.9852259479968
14317371501.45227408378235.547725916218
14419411588.82727408626352.172725913737
14514741574.96710258587-100.967102585869
14614581744.81803804069-286.818038040692
14715421778.25553804164-236.255538041641
14814041753.44303804094-349.443038040937
14915221734.13053804039-212.130538040388
15013851652.88053803808-267.880538038081
15116411833.25553799320-192.255537993202
15215101687.38053803906-177.380538039061
15316811805.56803804242-124.568038042416
15419381923.1930379957614.8069620042441
15518681653.63053803810214.369461961897
15617261395.00553798076330.99446201924
15714561578.14536658596-122.145366585960
15814451752.99630203092-307.996302030924
15914561713.4338020268-257.433802026801
16013651735.62130203043-370.621302030431
16114871720.30880202700-233.308802026996
16215581847.05880199359-289.058801993594
16314881701.43380202946-213.43380202946
16416841882.55880199460-198.558801994602
16515941739.74630203055-145.746302030548
16618501856.37130199386-6.37130199385873
16719981804.80880203239193.191197967605
16820791769.18380203138309.816197968617
16914941637.32363061764-143.323630617640
17010571216.50377247780-159.503772477796
17112181326.94127250893-108.941272508932
17211681390.12877251273-222.128772512725
17312361320.81627250876-84.8162725087576
17410761216.56627247780-140.566272477798
17511741238.94127250843-64.9412725084331
17611391189.06627247702-50.0662724770171
17714271424.253772483692.74622751630567
17814871344.87877251144142.121227488559
17914831141.31627247566341.683727524339
18015131054.69127247320458.308727526798
18113571351.831101101645.16889889836181
18211651345.68203650146-180.682036501464
18312821412.11953650335-130.119536503350
18411101353.30703650168-243.30703650168
18512971402.99453650309-105.994536503091
18611851346.74453650149-161.744536501494
18712221308.11953650040-86.1195365003972
18812841355.24453650174-71.2445365017351
18914441462.43203648478-18.4320364847782
19015751454.05703648454120.942963515460
19117371416.49453650347320.505463496526
19217631325.86953649690437.130463503099

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1687 & 1533.82793478468 & 153.172065215319 \tabularnewline
2 & 1508 & 1540.67887018490 & -32.6788701848964 \tabularnewline
3 & 1507 & 1489.11637018343 & 17.8836298165677 \tabularnewline
4 & 1385 & 1480.30387018318 & -95.3038701831818 \tabularnewline
5 & 1632 & 1589.99137018630 & 42.0086298137040 \tabularnewline
6 & 1511 & 1524.74137018444 & -13.7413701844435 \tabularnewline
7 & 1559 & 1497.11637018366 & 61.8836298163408 \tabularnewline
8 & 1630 & 1553.24137018525 & 76.7586298147474 \tabularnewline
9 & 1579 & 1449.42887018231 & 129.571129817695 \tabularnewline
10 & 1653 & 1384.05387018045 & 268.946129819551 \tabularnewline
11 & 2152 & 1683.49137017895 & 468.508629821049 \tabularnewline
12 & 2148 & 1562.86637018553 & 585.133629814474 \tabularnewline
13 & 1752 & 1620.00619875715 & 131.993801242852 \tabularnewline
14 & 1765 & 1818.85713419279 & -53.8571341927937 \tabularnewline
15 & 1717 & 1720.29463416400 & -3.29463416399540 \tabularnewline
16 & 1558 & 1674.48213415869 & -116.482134158695 \tabularnewline
17 & 1575 & 1554.16963418528 & 20.8303658147210 \tabularnewline
18 & 1520 & 1554.9196341853 & -34.9196341853003 \tabularnewline
19 & 1805 & 1764.29463416124 & 40.7053658387554 \tabularnewline
20 & 1800 & 1744.41963416068 & 55.5803658393197 \tabularnewline
21 & 1719 & 1610.60713418688 & 108.392865813119 \tabularnewline
22 & 2008 & 1760.23213416113 & 247.767865838871 \tabularnewline
23 & 2242 & 1794.66963416211 & 447.330365837893 \tabularnewline
24 & 2478 & 1914.04463419550 & 563.955365804504 \tabularnewline
25 & 2030 & 1919.18446279564 & 110.815537204358 \tabularnewline
26 & 1655 & 1730.03539815027 & -75.0353981502719 \tabularnewline
27 & 1693 & 1717.47289815292 & -24.4728981529153 \tabularnewline
28 & 1623 & 1760.66039815114 & -137.660398151141 \tabularnewline
29 & 1805 & 1805.34789815241 & -0.347898152410115 \tabularnewline
30 & 1746 & 1802.09789815232 & -56.0978981523178 \tabularnewline
31 & 1795 & 1775.47289815156 & 19.5271018484381 \tabularnewline
32 & 1926 & 1891.59789819486 & 34.4021018051411 \tabularnewline
33 & 1619 & 1531.78539818464 & 87.2146018153565 \tabularnewline
34 & 1992 & 1765.41039815128 & 226.589601848724 \tabularnewline
35 & 2233 & 1806.84789815245 & 426.152101847547 \tabularnewline
36 & 2192 & 1649.22289814798 & 542.777101852022 \tabularnewline
37 & 2080 & 1990.36272679766 & 89.6372732023371 \tabularnewline
38 & 1768 & 1864.21366219408 & -96.2136621940814 \tabularnewline
39 & 1835 & 1880.65116219455 & -45.6511621945481 \tabularnewline
40 & 1569 & 1727.83866214021 & -158.838662140210 \tabularnewline
41 & 1976 & 1997.52616219787 & -21.5261621978663 \tabularnewline
42 & 1853 & 1930.27616219596 & -77.276162195957 \tabularnewline
43 & 1965 & 1966.65116219699 & -1.65116219698961 \tabularnewline
44 & 1689 & 1675.77616213873 & 13.2238378612685 \tabularnewline
45 & 1778 & 1711.96366214076 & 66.0363378592411 \tabularnewline
46 & 1976 & 1770.58866214142 & 205.411337858577 \tabularnewline
47 & 2397 & 1992.02616219771 & 404.97383780229 \tabularnewline
48 & 2654 & 2132.40116220170 & 521.598837798305 \tabularnewline
49 & 2097 & 2028.54099069875 & 68.4590093012532 \tabularnewline
50 & 1963 & 2080.39192610022 & -117.391926100219 \tabularnewline
51 & 1677 & 1743.82942613066 & -66.8294261306636 \tabularnewline
52 & 1941 & 2121.01692610137 & -180.016926101372 \tabularnewline
53 & 2003 & 2045.70442609923 & -42.7044260992341 \tabularnewline
54 & 1813 & 1911.45442609542 & -98.4544260954226 \tabularnewline
55 & 2012 & 2034.82942609893 & -22.8294260989253 \tabularnewline
56 & 1912 & 1919.95442609566 & -7.95442609566395 \tabularnewline
57 & 2084 & 2039.14192609905 & 44.8580739009522 \tabularnewline
58 & 2080 & 1895.76692609498 & 184.233073905023 \tabularnewline
59 & 2118 & 1734.20442613039 & 383.79557386961 \tabularnewline
60 & 2150 & 1649.57942612799 & 500.420573872012 \tabularnewline
61 & 1608 & 1560.71925468546 & 47.2807453145351 \tabularnewline
62 & 1503 & 1641.57019011776 & -138.570190117760 \tabularnewline
63 & 1548 & 1636.00769011760 & -88.0076901176024 \tabularnewline
64 & 1382 & 1583.19519008610 & -201.195190086103 \tabularnewline
65 & 1731 & 1794.88269012211 & -63.882690122113 \tabularnewline
66 & 1798 & 1917.63269009560 & -119.632690095598 \tabularnewline
67 & 1779 & 1823.00769009291 & -44.0076900929115 \tabularnewline
68 & 1887 & 1916.13269009556 & -29.1326900955554 \tabularnewline
69 & 2004 & 1980.32019009738 & 23.6798099026222 \tabularnewline
70 & 2077 & 1913.94519009549 & 163.054809904507 \tabularnewline
71 & 2092 & 1729.38269012025 & 362.617309879747 \tabularnewline
72 & 2051 & 1571.75769008578 & 479.242309914222 \tabularnewline
73 & 1577 & 1550.89751868519 & 26.1024813148139 \tabularnewline
74 & 1356 & 1515.74845408419 & -159.748454084188 \tabularnewline
75 & 1652 & 1761.18595411116 & -109.185954111156 \tabularnewline
76 & 1382 & 1604.37345408670 & -222.373454086704 \tabularnewline
77 & 1519 & 1604.06095408670 & -85.0609540866954 \tabularnewline
78 & 1421 & 1561.81095408550 & -140.810954085496 \tabularnewline
79 & 1442 & 1507.18595408395 & -65.1859540839451 \tabularnewline
80 & 1543 & 1593.31095408639 & -50.3109540863902 \tabularnewline
81 & 1656 & 1653.4984541081 & 2.50154589190100 \tabularnewline
82 & 1561 & 1419.12345408144 & 141.876545918555 \tabularnewline
83 & 1905 & 1563.56095408555 & 341.439045914454 \tabularnewline
84 & 2199 & 1740.93595411058 & 458.064045889419 \tabularnewline
85 & 1473 & 1468.07578268283 & 4.92421731716533 \tabularnewline
86 & 1655 & 1835.92671809328 & -180.926718093278 \tabularnewline
87 & 1407 & 1537.36421808480 & -130.364218084802 \tabularnewline
88 & 1395 & 1638.55171809767 & -243.551718097675 \tabularnewline
89 & 1530 & 1636.23921809761 & -106.239218097609 \tabularnewline
90 & 1309 & 1470.98921808292 & -161.989218082917 \tabularnewline
91 & 1526 & 1612.36421808693 & -86.3642180869312 \tabularnewline
92 & 1327 & 1398.48921808086 & -71.489218080859 \tabularnewline
93 & 1627 & 1645.67671809788 & -18.6767180978769 \tabularnewline
94 & 1748 & 1627.30171809736 & 120.698281902645 \tabularnewline
95 & 1958 & 1637.73921809765 & 320.260781902348 \tabularnewline
96 & 2274 & 1837.11421809331 & 436.885781906688 \tabularnewline
97 & 1648 & 1664.25404667840 & -16.2540466784044 \tabularnewline
98 & 1401 & 1603.10498208667 & -202.104982086668 \tabularnewline
99 & 1411 & 1562.54248208552 & -151.542482085517 \tabularnewline
100 & 1403 & 1667.72998207850 & -264.729982078503 \tabularnewline
101 & 1394 & 1521.41748208435 & -127.417482084349 \tabularnewline
102 & 1520 & 1703.16748207951 & -183.167482079509 \tabularnewline
103 & 1528 & 1635.54248207759 & -107.542482077589 \tabularnewline
104 & 1643 & 1735.66748208043 & -92.6674820804318 \tabularnewline
105 & 1515 & 1554.85498208530 & -39.8549820852984 \tabularnewline
106 & 1685 & 1585.47998208617 & 99.5200179138321 \tabularnewline
107 & 2000 & 1700.91748207945 & 299.082517920555 \tabularnewline
108 & 2215 & 1799.29248208224 & 415.707517917762 \tabularnewline
109 & 1956 & 1993.43231069775 & -37.4323106977500 \tabularnewline
110 & 1462 & 1685.28324606900 & -223.283246069001 \tabularnewline
111 & 1563 & 1735.72074607043 & -172.720746070433 \tabularnewline
112 & 1459 & 1744.90824607069 & -285.908246070694 \tabularnewline
113 & 1446 & 1594.59574608643 & -148.595746086427 \tabularnewline
114 & 1622 & 1826.34574609301 & -204.345746093006 \tabularnewline
115 & 1657 & 1785.72074607185 & -128.720746071853 \tabularnewline
116 & 1638 & 1751.84574607089 & -113.845746070891 \tabularnewline
117 & 1643 & 1704.03324606953 & -61.0332460695337 \tabularnewline
118 & 1683 & 1604.65824608671 & 78.3417539132876 \tabularnewline
119 & 2050 & 1772.09574607147 & 277.904253928534 \tabularnewline
120 & 2262 & 1867.47074609417 & 394.529253905826 \tabularnewline
121 & 1813 & 1871.61057469429 & -58.6105746942914 \tabularnewline
122 & 1445 & 1689.46151005912 & -244.46151005912 \tabularnewline
123 & 1762 & 1955.89901009668 & -193.899010096684 \tabularnewline
124 & 1461 & 1768.08651006135 & -307.086510061352 \tabularnewline
125 & 1556 & 1725.77401006115 & -169.774010061151 \tabularnewline
126 & 1431 & 1656.52401005819 & -225.524010058185 \tabularnewline
127 & 1427 & 1576.89901008592 & -149.899010085924 \tabularnewline
128 & 1554 & 1689.02401005911 & -135.024010059108 \tabularnewline
129 & 1645 & 1727.21151006119 & -82.2115100611918 \tabularnewline
130 & 1653 & 1595.83651008646 & 57.1634899135381 \tabularnewline
131 & 2016 & 1759.27401006110 & 256.725989938898 \tabularnewline
132 & 2207 & 1833.64901009321 & 373.350989906786 \tabularnewline
133 & 1665 & 1744.78883865069 & -79.7888386506908 \tabularnewline
134 & 1361 & 1626.63977404734 & -265.639774047336 \tabularnewline
135 & 1506 & 1721.07727404902 & -215.077274049018 \tabularnewline
136 & 1360 & 1688.26477404909 & -328.264774049086 \tabularnewline
137 & 1453 & 1643.95227404783 & -190.952274047828 \tabularnewline
138 & 1522 & 1768.70227405137 & -246.70227405137 \tabularnewline
139 & 1460 & 1631.07727404746 & -171.077274047462 \tabularnewline
140 & 1552 & 1708.20227404965 & -156.202274049652 \tabularnewline
141 & 1548 & 1651.38977404804 & -103.389774048039 \tabularnewline
142 & 1827 & 1791.01477405200 & 35.9852259479968 \tabularnewline
143 & 1737 & 1501.45227408378 & 235.547725916218 \tabularnewline
144 & 1941 & 1588.82727408626 & 352.172725913737 \tabularnewline
145 & 1474 & 1574.96710258587 & -100.967102585869 \tabularnewline
146 & 1458 & 1744.81803804069 & -286.818038040692 \tabularnewline
147 & 1542 & 1778.25553804164 & -236.255538041641 \tabularnewline
148 & 1404 & 1753.44303804094 & -349.443038040937 \tabularnewline
149 & 1522 & 1734.13053804039 & -212.130538040388 \tabularnewline
150 & 1385 & 1652.88053803808 & -267.880538038081 \tabularnewline
151 & 1641 & 1833.25553799320 & -192.255537993202 \tabularnewline
152 & 1510 & 1687.38053803906 & -177.380538039061 \tabularnewline
153 & 1681 & 1805.56803804242 & -124.568038042416 \tabularnewline
154 & 1938 & 1923.19303799576 & 14.8069620042441 \tabularnewline
155 & 1868 & 1653.63053803810 & 214.369461961897 \tabularnewline
156 & 1726 & 1395.00553798076 & 330.99446201924 \tabularnewline
157 & 1456 & 1578.14536658596 & -122.145366585960 \tabularnewline
158 & 1445 & 1752.99630203092 & -307.996302030924 \tabularnewline
159 & 1456 & 1713.4338020268 & -257.433802026801 \tabularnewline
160 & 1365 & 1735.62130203043 & -370.621302030431 \tabularnewline
161 & 1487 & 1720.30880202700 & -233.308802026996 \tabularnewline
162 & 1558 & 1847.05880199359 & -289.058801993594 \tabularnewline
163 & 1488 & 1701.43380202946 & -213.43380202946 \tabularnewline
164 & 1684 & 1882.55880199460 & -198.558801994602 \tabularnewline
165 & 1594 & 1739.74630203055 & -145.746302030548 \tabularnewline
166 & 1850 & 1856.37130199386 & -6.37130199385873 \tabularnewline
167 & 1998 & 1804.80880203239 & 193.191197967605 \tabularnewline
168 & 2079 & 1769.18380203138 & 309.816197968617 \tabularnewline
169 & 1494 & 1637.32363061764 & -143.323630617640 \tabularnewline
170 & 1057 & 1216.50377247780 & -159.503772477796 \tabularnewline
171 & 1218 & 1326.94127250893 & -108.941272508932 \tabularnewline
172 & 1168 & 1390.12877251273 & -222.128772512725 \tabularnewline
173 & 1236 & 1320.81627250876 & -84.8162725087576 \tabularnewline
174 & 1076 & 1216.56627247780 & -140.566272477798 \tabularnewline
175 & 1174 & 1238.94127250843 & -64.9412725084331 \tabularnewline
176 & 1139 & 1189.06627247702 & -50.0662724770171 \tabularnewline
177 & 1427 & 1424.25377248369 & 2.74622751630567 \tabularnewline
178 & 1487 & 1344.87877251144 & 142.121227488559 \tabularnewline
179 & 1483 & 1141.31627247566 & 341.683727524339 \tabularnewline
180 & 1513 & 1054.69127247320 & 458.308727526798 \tabularnewline
181 & 1357 & 1351.83110110164 & 5.16889889836181 \tabularnewline
182 & 1165 & 1345.68203650146 & -180.682036501464 \tabularnewline
183 & 1282 & 1412.11953650335 & -130.119536503350 \tabularnewline
184 & 1110 & 1353.30703650168 & -243.30703650168 \tabularnewline
185 & 1297 & 1402.99453650309 & -105.994536503091 \tabularnewline
186 & 1185 & 1346.74453650149 & -161.744536501494 \tabularnewline
187 & 1222 & 1308.11953650040 & -86.1195365003972 \tabularnewline
188 & 1284 & 1355.24453650174 & -71.2445365017351 \tabularnewline
189 & 1444 & 1462.43203648478 & -18.4320364847782 \tabularnewline
190 & 1575 & 1454.05703648454 & 120.942963515460 \tabularnewline
191 & 1737 & 1416.49453650347 & 320.505463496526 \tabularnewline
192 & 1763 & 1325.86953649690 & 437.130463503099 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5417&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]1533.82793478468[/C][C]153.172065215319[/C][/ROW]
[ROW][C]2[/C][C]1508[/C][C]1540.67887018490[/C][C]-32.6788701848964[/C][/ROW]
[ROW][C]3[/C][C]1507[/C][C]1489.11637018343[/C][C]17.8836298165677[/C][/ROW]
[ROW][C]4[/C][C]1385[/C][C]1480.30387018318[/C][C]-95.3038701831818[/C][/ROW]
[ROW][C]5[/C][C]1632[/C][C]1589.99137018630[/C][C]42.0086298137040[/C][/ROW]
[ROW][C]6[/C][C]1511[/C][C]1524.74137018444[/C][C]-13.7413701844435[/C][/ROW]
[ROW][C]7[/C][C]1559[/C][C]1497.11637018366[/C][C]61.8836298163408[/C][/ROW]
[ROW][C]8[/C][C]1630[/C][C]1553.24137018525[/C][C]76.7586298147474[/C][/ROW]
[ROW][C]9[/C][C]1579[/C][C]1449.42887018231[/C][C]129.571129817695[/C][/ROW]
[ROW][C]10[/C][C]1653[/C][C]1384.05387018045[/C][C]268.946129819551[/C][/ROW]
[ROW][C]11[/C][C]2152[/C][C]1683.49137017895[/C][C]468.508629821049[/C][/ROW]
[ROW][C]12[/C][C]2148[/C][C]1562.86637018553[/C][C]585.133629814474[/C][/ROW]
[ROW][C]13[/C][C]1752[/C][C]1620.00619875715[/C][C]131.993801242852[/C][/ROW]
[ROW][C]14[/C][C]1765[/C][C]1818.85713419279[/C][C]-53.8571341927937[/C][/ROW]
[ROW][C]15[/C][C]1717[/C][C]1720.29463416400[/C][C]-3.29463416399540[/C][/ROW]
[ROW][C]16[/C][C]1558[/C][C]1674.48213415869[/C][C]-116.482134158695[/C][/ROW]
[ROW][C]17[/C][C]1575[/C][C]1554.16963418528[/C][C]20.8303658147210[/C][/ROW]
[ROW][C]18[/C][C]1520[/C][C]1554.9196341853[/C][C]-34.9196341853003[/C][/ROW]
[ROW][C]19[/C][C]1805[/C][C]1764.29463416124[/C][C]40.7053658387554[/C][/ROW]
[ROW][C]20[/C][C]1800[/C][C]1744.41963416068[/C][C]55.5803658393197[/C][/ROW]
[ROW][C]21[/C][C]1719[/C][C]1610.60713418688[/C][C]108.392865813119[/C][/ROW]
[ROW][C]22[/C][C]2008[/C][C]1760.23213416113[/C][C]247.767865838871[/C][/ROW]
[ROW][C]23[/C][C]2242[/C][C]1794.66963416211[/C][C]447.330365837893[/C][/ROW]
[ROW][C]24[/C][C]2478[/C][C]1914.04463419550[/C][C]563.955365804504[/C][/ROW]
[ROW][C]25[/C][C]2030[/C][C]1919.18446279564[/C][C]110.815537204358[/C][/ROW]
[ROW][C]26[/C][C]1655[/C][C]1730.03539815027[/C][C]-75.0353981502719[/C][/ROW]
[ROW][C]27[/C][C]1693[/C][C]1717.47289815292[/C][C]-24.4728981529153[/C][/ROW]
[ROW][C]28[/C][C]1623[/C][C]1760.66039815114[/C][C]-137.660398151141[/C][/ROW]
[ROW][C]29[/C][C]1805[/C][C]1805.34789815241[/C][C]-0.347898152410115[/C][/ROW]
[ROW][C]30[/C][C]1746[/C][C]1802.09789815232[/C][C]-56.0978981523178[/C][/ROW]
[ROW][C]31[/C][C]1795[/C][C]1775.47289815156[/C][C]19.5271018484381[/C][/ROW]
[ROW][C]32[/C][C]1926[/C][C]1891.59789819486[/C][C]34.4021018051411[/C][/ROW]
[ROW][C]33[/C][C]1619[/C][C]1531.78539818464[/C][C]87.2146018153565[/C][/ROW]
[ROW][C]34[/C][C]1992[/C][C]1765.41039815128[/C][C]226.589601848724[/C][/ROW]
[ROW][C]35[/C][C]2233[/C][C]1806.84789815245[/C][C]426.152101847547[/C][/ROW]
[ROW][C]36[/C][C]2192[/C][C]1649.22289814798[/C][C]542.777101852022[/C][/ROW]
[ROW][C]37[/C][C]2080[/C][C]1990.36272679766[/C][C]89.6372732023371[/C][/ROW]
[ROW][C]38[/C][C]1768[/C][C]1864.21366219408[/C][C]-96.2136621940814[/C][/ROW]
[ROW][C]39[/C][C]1835[/C][C]1880.65116219455[/C][C]-45.6511621945481[/C][/ROW]
[ROW][C]40[/C][C]1569[/C][C]1727.83866214021[/C][C]-158.838662140210[/C][/ROW]
[ROW][C]41[/C][C]1976[/C][C]1997.52616219787[/C][C]-21.5261621978663[/C][/ROW]
[ROW][C]42[/C][C]1853[/C][C]1930.27616219596[/C][C]-77.276162195957[/C][/ROW]
[ROW][C]43[/C][C]1965[/C][C]1966.65116219699[/C][C]-1.65116219698961[/C][/ROW]
[ROW][C]44[/C][C]1689[/C][C]1675.77616213873[/C][C]13.2238378612685[/C][/ROW]
[ROW][C]45[/C][C]1778[/C][C]1711.96366214076[/C][C]66.0363378592411[/C][/ROW]
[ROW][C]46[/C][C]1976[/C][C]1770.58866214142[/C][C]205.411337858577[/C][/ROW]
[ROW][C]47[/C][C]2397[/C][C]1992.02616219771[/C][C]404.97383780229[/C][/ROW]
[ROW][C]48[/C][C]2654[/C][C]2132.40116220170[/C][C]521.598837798305[/C][/ROW]
[ROW][C]49[/C][C]2097[/C][C]2028.54099069875[/C][C]68.4590093012532[/C][/ROW]
[ROW][C]50[/C][C]1963[/C][C]2080.39192610022[/C][C]-117.391926100219[/C][/ROW]
[ROW][C]51[/C][C]1677[/C][C]1743.82942613066[/C][C]-66.8294261306636[/C][/ROW]
[ROW][C]52[/C][C]1941[/C][C]2121.01692610137[/C][C]-180.016926101372[/C][/ROW]
[ROW][C]53[/C][C]2003[/C][C]2045.70442609923[/C][C]-42.7044260992341[/C][/ROW]
[ROW][C]54[/C][C]1813[/C][C]1911.45442609542[/C][C]-98.4544260954226[/C][/ROW]
[ROW][C]55[/C][C]2012[/C][C]2034.82942609893[/C][C]-22.8294260989253[/C][/ROW]
[ROW][C]56[/C][C]1912[/C][C]1919.95442609566[/C][C]-7.95442609566395[/C][/ROW]
[ROW][C]57[/C][C]2084[/C][C]2039.14192609905[/C][C]44.8580739009522[/C][/ROW]
[ROW][C]58[/C][C]2080[/C][C]1895.76692609498[/C][C]184.233073905023[/C][/ROW]
[ROW][C]59[/C][C]2118[/C][C]1734.20442613039[/C][C]383.79557386961[/C][/ROW]
[ROW][C]60[/C][C]2150[/C][C]1649.57942612799[/C][C]500.420573872012[/C][/ROW]
[ROW][C]61[/C][C]1608[/C][C]1560.71925468546[/C][C]47.2807453145351[/C][/ROW]
[ROW][C]62[/C][C]1503[/C][C]1641.57019011776[/C][C]-138.570190117760[/C][/ROW]
[ROW][C]63[/C][C]1548[/C][C]1636.00769011760[/C][C]-88.0076901176024[/C][/ROW]
[ROW][C]64[/C][C]1382[/C][C]1583.19519008610[/C][C]-201.195190086103[/C][/ROW]
[ROW][C]65[/C][C]1731[/C][C]1794.88269012211[/C][C]-63.882690122113[/C][/ROW]
[ROW][C]66[/C][C]1798[/C][C]1917.63269009560[/C][C]-119.632690095598[/C][/ROW]
[ROW][C]67[/C][C]1779[/C][C]1823.00769009291[/C][C]-44.0076900929115[/C][/ROW]
[ROW][C]68[/C][C]1887[/C][C]1916.13269009556[/C][C]-29.1326900955554[/C][/ROW]
[ROW][C]69[/C][C]2004[/C][C]1980.32019009738[/C][C]23.6798099026222[/C][/ROW]
[ROW][C]70[/C][C]2077[/C][C]1913.94519009549[/C][C]163.054809904507[/C][/ROW]
[ROW][C]71[/C][C]2092[/C][C]1729.38269012025[/C][C]362.617309879747[/C][/ROW]
[ROW][C]72[/C][C]2051[/C][C]1571.75769008578[/C][C]479.242309914222[/C][/ROW]
[ROW][C]73[/C][C]1577[/C][C]1550.89751868519[/C][C]26.1024813148139[/C][/ROW]
[ROW][C]74[/C][C]1356[/C][C]1515.74845408419[/C][C]-159.748454084188[/C][/ROW]
[ROW][C]75[/C][C]1652[/C][C]1761.18595411116[/C][C]-109.185954111156[/C][/ROW]
[ROW][C]76[/C][C]1382[/C][C]1604.37345408670[/C][C]-222.373454086704[/C][/ROW]
[ROW][C]77[/C][C]1519[/C][C]1604.06095408670[/C][C]-85.0609540866954[/C][/ROW]
[ROW][C]78[/C][C]1421[/C][C]1561.81095408550[/C][C]-140.810954085496[/C][/ROW]
[ROW][C]79[/C][C]1442[/C][C]1507.18595408395[/C][C]-65.1859540839451[/C][/ROW]
[ROW][C]80[/C][C]1543[/C][C]1593.31095408639[/C][C]-50.3109540863902[/C][/ROW]
[ROW][C]81[/C][C]1656[/C][C]1653.4984541081[/C][C]2.50154589190100[/C][/ROW]
[ROW][C]82[/C][C]1561[/C][C]1419.12345408144[/C][C]141.876545918555[/C][/ROW]
[ROW][C]83[/C][C]1905[/C][C]1563.56095408555[/C][C]341.439045914454[/C][/ROW]
[ROW][C]84[/C][C]2199[/C][C]1740.93595411058[/C][C]458.064045889419[/C][/ROW]
[ROW][C]85[/C][C]1473[/C][C]1468.07578268283[/C][C]4.92421731716533[/C][/ROW]
[ROW][C]86[/C][C]1655[/C][C]1835.92671809328[/C][C]-180.926718093278[/C][/ROW]
[ROW][C]87[/C][C]1407[/C][C]1537.36421808480[/C][C]-130.364218084802[/C][/ROW]
[ROW][C]88[/C][C]1395[/C][C]1638.55171809767[/C][C]-243.551718097675[/C][/ROW]
[ROW][C]89[/C][C]1530[/C][C]1636.23921809761[/C][C]-106.239218097609[/C][/ROW]
[ROW][C]90[/C][C]1309[/C][C]1470.98921808292[/C][C]-161.989218082917[/C][/ROW]
[ROW][C]91[/C][C]1526[/C][C]1612.36421808693[/C][C]-86.3642180869312[/C][/ROW]
[ROW][C]92[/C][C]1327[/C][C]1398.48921808086[/C][C]-71.489218080859[/C][/ROW]
[ROW][C]93[/C][C]1627[/C][C]1645.67671809788[/C][C]-18.6767180978769[/C][/ROW]
[ROW][C]94[/C][C]1748[/C][C]1627.30171809736[/C][C]120.698281902645[/C][/ROW]
[ROW][C]95[/C][C]1958[/C][C]1637.73921809765[/C][C]320.260781902348[/C][/ROW]
[ROW][C]96[/C][C]2274[/C][C]1837.11421809331[/C][C]436.885781906688[/C][/ROW]
[ROW][C]97[/C][C]1648[/C][C]1664.25404667840[/C][C]-16.2540466784044[/C][/ROW]
[ROW][C]98[/C][C]1401[/C][C]1603.10498208667[/C][C]-202.104982086668[/C][/ROW]
[ROW][C]99[/C][C]1411[/C][C]1562.54248208552[/C][C]-151.542482085517[/C][/ROW]
[ROW][C]100[/C][C]1403[/C][C]1667.72998207850[/C][C]-264.729982078503[/C][/ROW]
[ROW][C]101[/C][C]1394[/C][C]1521.41748208435[/C][C]-127.417482084349[/C][/ROW]
[ROW][C]102[/C][C]1520[/C][C]1703.16748207951[/C][C]-183.167482079509[/C][/ROW]
[ROW][C]103[/C][C]1528[/C][C]1635.54248207759[/C][C]-107.542482077589[/C][/ROW]
[ROW][C]104[/C][C]1643[/C][C]1735.66748208043[/C][C]-92.6674820804318[/C][/ROW]
[ROW][C]105[/C][C]1515[/C][C]1554.85498208530[/C][C]-39.8549820852984[/C][/ROW]
[ROW][C]106[/C][C]1685[/C][C]1585.47998208617[/C][C]99.5200179138321[/C][/ROW]
[ROW][C]107[/C][C]2000[/C][C]1700.91748207945[/C][C]299.082517920555[/C][/ROW]
[ROW][C]108[/C][C]2215[/C][C]1799.29248208224[/C][C]415.707517917762[/C][/ROW]
[ROW][C]109[/C][C]1956[/C][C]1993.43231069775[/C][C]-37.4323106977500[/C][/ROW]
[ROW][C]110[/C][C]1462[/C][C]1685.28324606900[/C][C]-223.283246069001[/C][/ROW]
[ROW][C]111[/C][C]1563[/C][C]1735.72074607043[/C][C]-172.720746070433[/C][/ROW]
[ROW][C]112[/C][C]1459[/C][C]1744.90824607069[/C][C]-285.908246070694[/C][/ROW]
[ROW][C]113[/C][C]1446[/C][C]1594.59574608643[/C][C]-148.595746086427[/C][/ROW]
[ROW][C]114[/C][C]1622[/C][C]1826.34574609301[/C][C]-204.345746093006[/C][/ROW]
[ROW][C]115[/C][C]1657[/C][C]1785.72074607185[/C][C]-128.720746071853[/C][/ROW]
[ROW][C]116[/C][C]1638[/C][C]1751.84574607089[/C][C]-113.845746070891[/C][/ROW]
[ROW][C]117[/C][C]1643[/C][C]1704.03324606953[/C][C]-61.0332460695337[/C][/ROW]
[ROW][C]118[/C][C]1683[/C][C]1604.65824608671[/C][C]78.3417539132876[/C][/ROW]
[ROW][C]119[/C][C]2050[/C][C]1772.09574607147[/C][C]277.904253928534[/C][/ROW]
[ROW][C]120[/C][C]2262[/C][C]1867.47074609417[/C][C]394.529253905826[/C][/ROW]
[ROW][C]121[/C][C]1813[/C][C]1871.61057469429[/C][C]-58.6105746942914[/C][/ROW]
[ROW][C]122[/C][C]1445[/C][C]1689.46151005912[/C][C]-244.46151005912[/C][/ROW]
[ROW][C]123[/C][C]1762[/C][C]1955.89901009668[/C][C]-193.899010096684[/C][/ROW]
[ROW][C]124[/C][C]1461[/C][C]1768.08651006135[/C][C]-307.086510061352[/C][/ROW]
[ROW][C]125[/C][C]1556[/C][C]1725.77401006115[/C][C]-169.774010061151[/C][/ROW]
[ROW][C]126[/C][C]1431[/C][C]1656.52401005819[/C][C]-225.524010058185[/C][/ROW]
[ROW][C]127[/C][C]1427[/C][C]1576.89901008592[/C][C]-149.899010085924[/C][/ROW]
[ROW][C]128[/C][C]1554[/C][C]1689.02401005911[/C][C]-135.024010059108[/C][/ROW]
[ROW][C]129[/C][C]1645[/C][C]1727.21151006119[/C][C]-82.2115100611918[/C][/ROW]
[ROW][C]130[/C][C]1653[/C][C]1595.83651008646[/C][C]57.1634899135381[/C][/ROW]
[ROW][C]131[/C][C]2016[/C][C]1759.27401006110[/C][C]256.725989938898[/C][/ROW]
[ROW][C]132[/C][C]2207[/C][C]1833.64901009321[/C][C]373.350989906786[/C][/ROW]
[ROW][C]133[/C][C]1665[/C][C]1744.78883865069[/C][C]-79.7888386506908[/C][/ROW]
[ROW][C]134[/C][C]1361[/C][C]1626.63977404734[/C][C]-265.639774047336[/C][/ROW]
[ROW][C]135[/C][C]1506[/C][C]1721.07727404902[/C][C]-215.077274049018[/C][/ROW]
[ROW][C]136[/C][C]1360[/C][C]1688.26477404909[/C][C]-328.264774049086[/C][/ROW]
[ROW][C]137[/C][C]1453[/C][C]1643.95227404783[/C][C]-190.952274047828[/C][/ROW]
[ROW][C]138[/C][C]1522[/C][C]1768.70227405137[/C][C]-246.70227405137[/C][/ROW]
[ROW][C]139[/C][C]1460[/C][C]1631.07727404746[/C][C]-171.077274047462[/C][/ROW]
[ROW][C]140[/C][C]1552[/C][C]1708.20227404965[/C][C]-156.202274049652[/C][/ROW]
[ROW][C]141[/C][C]1548[/C][C]1651.38977404804[/C][C]-103.389774048039[/C][/ROW]
[ROW][C]142[/C][C]1827[/C][C]1791.01477405200[/C][C]35.9852259479968[/C][/ROW]
[ROW][C]143[/C][C]1737[/C][C]1501.45227408378[/C][C]235.547725916218[/C][/ROW]
[ROW][C]144[/C][C]1941[/C][C]1588.82727408626[/C][C]352.172725913737[/C][/ROW]
[ROW][C]145[/C][C]1474[/C][C]1574.96710258587[/C][C]-100.967102585869[/C][/ROW]
[ROW][C]146[/C][C]1458[/C][C]1744.81803804069[/C][C]-286.818038040692[/C][/ROW]
[ROW][C]147[/C][C]1542[/C][C]1778.25553804164[/C][C]-236.255538041641[/C][/ROW]
[ROW][C]148[/C][C]1404[/C][C]1753.44303804094[/C][C]-349.443038040937[/C][/ROW]
[ROW][C]149[/C][C]1522[/C][C]1734.13053804039[/C][C]-212.130538040388[/C][/ROW]
[ROW][C]150[/C][C]1385[/C][C]1652.88053803808[/C][C]-267.880538038081[/C][/ROW]
[ROW][C]151[/C][C]1641[/C][C]1833.25553799320[/C][C]-192.255537993202[/C][/ROW]
[ROW][C]152[/C][C]1510[/C][C]1687.38053803906[/C][C]-177.380538039061[/C][/ROW]
[ROW][C]153[/C][C]1681[/C][C]1805.56803804242[/C][C]-124.568038042416[/C][/ROW]
[ROW][C]154[/C][C]1938[/C][C]1923.19303799576[/C][C]14.8069620042441[/C][/ROW]
[ROW][C]155[/C][C]1868[/C][C]1653.63053803810[/C][C]214.369461961897[/C][/ROW]
[ROW][C]156[/C][C]1726[/C][C]1395.00553798076[/C][C]330.99446201924[/C][/ROW]
[ROW][C]157[/C][C]1456[/C][C]1578.14536658596[/C][C]-122.145366585960[/C][/ROW]
[ROW][C]158[/C][C]1445[/C][C]1752.99630203092[/C][C]-307.996302030924[/C][/ROW]
[ROW][C]159[/C][C]1456[/C][C]1713.4338020268[/C][C]-257.433802026801[/C][/ROW]
[ROW][C]160[/C][C]1365[/C][C]1735.62130203043[/C][C]-370.621302030431[/C][/ROW]
[ROW][C]161[/C][C]1487[/C][C]1720.30880202700[/C][C]-233.308802026996[/C][/ROW]
[ROW][C]162[/C][C]1558[/C][C]1847.05880199359[/C][C]-289.058801993594[/C][/ROW]
[ROW][C]163[/C][C]1488[/C][C]1701.43380202946[/C][C]-213.43380202946[/C][/ROW]
[ROW][C]164[/C][C]1684[/C][C]1882.55880199460[/C][C]-198.558801994602[/C][/ROW]
[ROW][C]165[/C][C]1594[/C][C]1739.74630203055[/C][C]-145.746302030548[/C][/ROW]
[ROW][C]166[/C][C]1850[/C][C]1856.37130199386[/C][C]-6.37130199385873[/C][/ROW]
[ROW][C]167[/C][C]1998[/C][C]1804.80880203239[/C][C]193.191197967605[/C][/ROW]
[ROW][C]168[/C][C]2079[/C][C]1769.18380203138[/C][C]309.816197968617[/C][/ROW]
[ROW][C]169[/C][C]1494[/C][C]1637.32363061764[/C][C]-143.323630617640[/C][/ROW]
[ROW][C]170[/C][C]1057[/C][C]1216.50377247780[/C][C]-159.503772477796[/C][/ROW]
[ROW][C]171[/C][C]1218[/C][C]1326.94127250893[/C][C]-108.941272508932[/C][/ROW]
[ROW][C]172[/C][C]1168[/C][C]1390.12877251273[/C][C]-222.128772512725[/C][/ROW]
[ROW][C]173[/C][C]1236[/C][C]1320.81627250876[/C][C]-84.8162725087576[/C][/ROW]
[ROW][C]174[/C][C]1076[/C][C]1216.56627247780[/C][C]-140.566272477798[/C][/ROW]
[ROW][C]175[/C][C]1174[/C][C]1238.94127250843[/C][C]-64.9412725084331[/C][/ROW]
[ROW][C]176[/C][C]1139[/C][C]1189.06627247702[/C][C]-50.0662724770171[/C][/ROW]
[ROW][C]177[/C][C]1427[/C][C]1424.25377248369[/C][C]2.74622751630567[/C][/ROW]
[ROW][C]178[/C][C]1487[/C][C]1344.87877251144[/C][C]142.121227488559[/C][/ROW]
[ROW][C]179[/C][C]1483[/C][C]1141.31627247566[/C][C]341.683727524339[/C][/ROW]
[ROW][C]180[/C][C]1513[/C][C]1054.69127247320[/C][C]458.308727526798[/C][/ROW]
[ROW][C]181[/C][C]1357[/C][C]1351.83110110164[/C][C]5.16889889836181[/C][/ROW]
[ROW][C]182[/C][C]1165[/C][C]1345.68203650146[/C][C]-180.682036501464[/C][/ROW]
[ROW][C]183[/C][C]1282[/C][C]1412.11953650335[/C][C]-130.119536503350[/C][/ROW]
[ROW][C]184[/C][C]1110[/C][C]1353.30703650168[/C][C]-243.30703650168[/C][/ROW]
[ROW][C]185[/C][C]1297[/C][C]1402.99453650309[/C][C]-105.994536503091[/C][/ROW]
[ROW][C]186[/C][C]1185[/C][C]1346.74453650149[/C][C]-161.744536501494[/C][/ROW]
[ROW][C]187[/C][C]1222[/C][C]1308.11953650040[/C][C]-86.1195365003972[/C][/ROW]
[ROW][C]188[/C][C]1284[/C][C]1355.24453650174[/C][C]-71.2445365017351[/C][/ROW]
[ROW][C]189[/C][C]1444[/C][C]1462.43203648478[/C][C]-18.4320364847782[/C][/ROW]
[ROW][C]190[/C][C]1575[/C][C]1454.05703648454[/C][C]120.942963515460[/C][/ROW]
[ROW][C]191[/C][C]1737[/C][C]1416.49453650347[/C][C]320.505463496526[/C][/ROW]
[ROW][C]192[/C][C]1763[/C][C]1325.86953649690[/C][C]437.130463503099[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5417&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5417&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
116871533.82793478468153.172065215319
215081540.67887018490-32.6788701848964
315071489.1163701834317.8836298165677
413851480.30387018318-95.3038701831818
516321589.9913701863042.0086298137040
615111524.74137018444-13.7413701844435
715591497.1163701836661.8836298163408
816301553.2413701852576.7586298147474
915791449.42887018231129.571129817695
1016531384.05387018045268.946129819551
1121521683.49137017895468.508629821049
1221481562.86637018553585.133629814474
1317521620.00619875715131.993801242852
1417651818.85713419279-53.8571341927937
1517171720.29463416400-3.29463416399540
1615581674.48213415869-116.482134158695
1715751554.1696341852820.8303658147210
1815201554.9196341853-34.9196341853003
1918051764.2946341612440.7053658387554
2018001744.4196341606855.5803658393197
2117191610.60713418688108.392865813119
2220081760.23213416113247.767865838871
2322421794.66963416211447.330365837893
2424781914.04463419550563.955365804504
2520301919.18446279564110.815537204358
2616551730.03539815027-75.0353981502719
2716931717.47289815292-24.4728981529153
2816231760.66039815114-137.660398151141
2918051805.34789815241-0.347898152410115
3017461802.09789815232-56.0978981523178
3117951775.4728981515619.5271018484381
3219261891.5978981948634.4021018051411
3316191531.7853981846487.2146018153565
3419921765.41039815128226.589601848724
3522331806.84789815245426.152101847547
3621921649.22289814798542.777101852022
3720801990.3627267976689.6372732023371
3817681864.21366219408-96.2136621940814
3918351880.65116219455-45.6511621945481
4015691727.83866214021-158.838662140210
4119761997.52616219787-21.5261621978663
4218531930.27616219596-77.276162195957
4319651966.65116219699-1.65116219698961
4416891675.7761621387313.2238378612685
4517781711.9636621407666.0363378592411
4619761770.58866214142205.411337858577
4723971992.02616219771404.97383780229
4826542132.40116220170521.598837798305
4920972028.5409906987568.4590093012532
5019632080.39192610022-117.391926100219
5116771743.82942613066-66.8294261306636
5219412121.01692610137-180.016926101372
5320032045.70442609923-42.7044260992341
5418131911.45442609542-98.4544260954226
5520122034.82942609893-22.8294260989253
5619121919.95442609566-7.95442609566395
5720842039.1419260990544.8580739009522
5820801895.76692609498184.233073905023
5921181734.20442613039383.79557386961
6021501649.57942612799500.420573872012
6116081560.7192546854647.2807453145351
6215031641.57019011776-138.570190117760
6315481636.00769011760-88.0076901176024
6413821583.19519008610-201.195190086103
6517311794.88269012211-63.882690122113
6617981917.63269009560-119.632690095598
6717791823.00769009291-44.0076900929115
6818871916.13269009556-29.1326900955554
6920041980.3201900973823.6798099026222
7020771913.94519009549163.054809904507
7120921729.38269012025362.617309879747
7220511571.75769008578479.242309914222
7315771550.8975186851926.1024813148139
7413561515.74845408419-159.748454084188
7516521761.18595411116-109.185954111156
7613821604.37345408670-222.373454086704
7715191604.06095408670-85.0609540866954
7814211561.81095408550-140.810954085496
7914421507.18595408395-65.1859540839451
8015431593.31095408639-50.3109540863902
8116561653.49845410812.50154589190100
8215611419.12345408144141.876545918555
8319051563.56095408555341.439045914454
8421991740.93595411058458.064045889419
8514731468.075782682834.92421731716533
8616551835.92671809328-180.926718093278
8714071537.36421808480-130.364218084802
8813951638.55171809767-243.551718097675
8915301636.23921809761-106.239218097609
9013091470.98921808292-161.989218082917
9115261612.36421808693-86.3642180869312
9213271398.48921808086-71.489218080859
9316271645.67671809788-18.6767180978769
9417481627.30171809736120.698281902645
9519581637.73921809765320.260781902348
9622741837.11421809331436.885781906688
9716481664.25404667840-16.2540466784044
9814011603.10498208667-202.104982086668
9914111562.54248208552-151.542482085517
10014031667.72998207850-264.729982078503
10113941521.41748208435-127.417482084349
10215201703.16748207951-183.167482079509
10315281635.54248207759-107.542482077589
10416431735.66748208043-92.6674820804318
10515151554.85498208530-39.8549820852984
10616851585.4799820861799.5200179138321
10720001700.91748207945299.082517920555
10822151799.29248208224415.707517917762
10919561993.43231069775-37.4323106977500
11014621685.28324606900-223.283246069001
11115631735.72074607043-172.720746070433
11214591744.90824607069-285.908246070694
11314461594.59574608643-148.595746086427
11416221826.34574609301-204.345746093006
11516571785.72074607185-128.720746071853
11616381751.84574607089-113.845746070891
11716431704.03324606953-61.0332460695337
11816831604.6582460867178.3417539132876
11920501772.09574607147277.904253928534
12022621867.47074609417394.529253905826
12118131871.61057469429-58.6105746942914
12214451689.46151005912-244.46151005912
12317621955.89901009668-193.899010096684
12414611768.08651006135-307.086510061352
12515561725.77401006115-169.774010061151
12614311656.52401005819-225.524010058185
12714271576.89901008592-149.899010085924
12815541689.02401005911-135.024010059108
12916451727.21151006119-82.2115100611918
13016531595.8365100864657.1634899135381
13120161759.27401006110256.725989938898
13222071833.64901009321373.350989906786
13316651744.78883865069-79.7888386506908
13413611626.63977404734-265.639774047336
13515061721.07727404902-215.077274049018
13613601688.26477404909-328.264774049086
13714531643.95227404783-190.952274047828
13815221768.70227405137-246.70227405137
13914601631.07727404746-171.077274047462
14015521708.20227404965-156.202274049652
14115481651.38977404804-103.389774048039
14218271791.0147740520035.9852259479968
14317371501.45227408378235.547725916218
14419411588.82727408626352.172725913737
14514741574.96710258587-100.967102585869
14614581744.81803804069-286.818038040692
14715421778.25553804164-236.255538041641
14814041753.44303804094-349.443038040937
14915221734.13053804039-212.130538040388
15013851652.88053803808-267.880538038081
15116411833.25553799320-192.255537993202
15215101687.38053803906-177.380538039061
15316811805.56803804242-124.568038042416
15419381923.1930379957614.8069620042441
15518681653.63053803810214.369461961897
15617261395.00553798076330.99446201924
15714561578.14536658596-122.145366585960
15814451752.99630203092-307.996302030924
15914561713.4338020268-257.433802026801
16013651735.62130203043-370.621302030431
16114871720.30880202700-233.308802026996
16215581847.05880199359-289.058801993594
16314881701.43380202946-213.43380202946
16416841882.55880199460-198.558801994602
16515941739.74630203055-145.746302030548
16618501856.37130199386-6.37130199385873
16719981804.80880203239193.191197967605
16820791769.18380203138309.816197968617
16914941637.32363061764-143.323630617640
17010571216.50377247780-159.503772477796
17112181326.94127250893-108.941272508932
17211681390.12877251273-222.128772512725
17312361320.81627250876-84.8162725087576
17410761216.56627247780-140.566272477798
17511741238.94127250843-64.9412725084331
17611391189.06627247702-50.0662724770171
17714271424.253772483692.74622751630567
17814871344.87877251144142.121227488559
17914831141.31627247566341.683727524339
18015131054.69127247320458.308727526798
18113571351.831101101645.16889889836181
18211651345.68203650146-180.682036501464
18312821412.11953650335-130.119536503350
18411101353.30703650168-243.30703650168
18512971402.99453650309-105.994536503091
18611851346.74453650149-161.744536501494
18712221308.11953650040-86.1195365003972
18812841355.24453650174-71.2445365017351
18914441462.43203648478-18.4320364847782
19015751454.05703648454120.942963515460
19117371416.49453650347320.505463496526
19217631325.86953649690437.130463503099



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