Free Statistics

of Irreproducible Research!

Author's title

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

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact216
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2007-11-19 18:20:25] [8d184ecaa1fb102f218554e0ffef504e] [Current]
F   PD    [Multiple Regression] [Q2] [2008-11-23 22:01:18] [6816386b1f3c2f6c0c9f2aa1e5bc9362]
- RMPD      [Central Tendency] [Q2_The seatbelt l...] [2008-11-28 15:16:25] [6816386b1f3c2f6c0c9f2aa1e5bc9362]
-   PD    [Multiple Regression] [Q2] [2008-11-24 13:21:29] [a7a7b7de998247cdf0f65ef79d563d66]
Feedback Forum

Post a new message
Dataseries X:
1687	0	-183,923544
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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 6 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14477&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14477&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14477&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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1717.75147928696 -396.055827106182X[t] + 1.00000000006915T[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  1717.75147928696 -396.055827106182X[t] +  1.00000000006915T[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14477&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  1717.75147928696 -396.055827106182X[t] +  1.00000000006915T[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14477&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14477&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] = + 1717.75147928696 -396.055827106182X[t] + 1.00000000006915T[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1717.7514792869616.512653104.026400
X-396.05582710618247.709356-8.301400
T1.000000000069150.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.75147928696 & 16.512653 & 104.0264 & 0 & 0 \tabularnewline
X & -396.055827106182 & 47.709356 & -8.3014 & 0 & 0 \tabularnewline
T & 1.00000000006915 & 0.105564 & 9.473 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14477&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.75147928696[/C][C]16.512653[/C][C]104.0264[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-396.055827106182[/C][C]47.709356[/C][C]-8.3014[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]T[/C][C]1.00000000006915[/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=14477&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14477&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.7514792869616.512653104.026400
X-396.05582710618247.709356-8.301400
T1.000000000069150.1055649.47300







Multiple Linear Regression - Regression Statistics
Multiple R0.675537295812174
R-squared0.456350638033224
Adjusted R-squared0.450597734731988
F-TEST (value)79.3252752806048
F-TEST (DF numerator)2
F-TEST (DF denominator)189
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation214.664492262603
Sum Squared Residuals8709279.5610503

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.675537295812174 \tabularnewline
R-squared & 0.456350638033224 \tabularnewline
Adjusted R-squared & 0.450597734731988 \tabularnewline
F-TEST (value) & 79.3252752806048 \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.664492262603 \tabularnewline
Sum Squared Residuals & 8709279.5610503 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14477&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.675537295812174[/C][/ROW]
[ROW][C]R-squared[/C][C]0.456350638033224[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.450597734731988[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]79.3252752806048[/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.664492262603[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8709279.5610503[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14477&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14477&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.675537295812174
R-squared0.456350638033224
Adjusted R-squared0.450597734731988
F-TEST (value)79.3252752806048
F-TEST (DF numerator)2
F-TEST (DF denominator)189
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation214.664492262603
Sum Squared Residuals8709279.5610503







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
116871533.82793527424153.172064725760
215081540.67887017472-32.6788701747198
315071489.1163701711517.8836298288453
413851480.30387017054-95.3038701705447
516321589.9913701781342.0086298218703
615111524.74137017362-13.7413701736176
715591497.1163701717161.8836298282927
816301553.2413701755976.7586298244116
915791449.42887016841129.571129831590
1016531384.05387016389268.946129836111
1121521683.49137017460468.508629825405
1221481562.86637017625585.133629823746
1317521620.00619875021131.993801249795
1417651818.85713419396-53.8571341939561
1517171720.29463416114-3.29463416114038
1615581674.48213415397-116.482134153972
1715751554.1696341756520.8303658243474
1815201554.91963417570-34.9196341757045
1918051764.2946341601840.7053658398169
2018001744.4196341588155.5803658411913
2117191610.60713417956108.392865820445
2220081760.23213415990247.767865840098
2322421794.66963416228447.330365837716
2424781914.04463420054563.955365799462
2520301919.18446280089110.815537199106
2616551730.03539814781-75.035398147814
2716931717.47289814995-24.4728981499453
2816231760.66039814993-137.660398149932
2918051805.34789815302-0.347898153021946
3017461802.09789815280-56.0978981527972
3117951775.4728981509619.5271018490440
3219261891.5978981989934.4021018010137
3316191531.7853981741087.2146018258953
3419921765.41039815026226.58960184974
3522331806.84789815313426.152101846874
3621921649.22289814223542.777101857774
3720801990.3627268058289.637273194184
3817681864.21366219709-96.2136621970926
3918351880.65116219823-45.6511621982293
4015691727.83866213766-158.838662137662
4119761997.52616220631-21.5261622063113
4218531930.27616220166-77.276162201661
4319651966.65116220418-1.65116220417629
4416891675.7761621340613.2238378659381
4517781711.9636621375666.0363378624357
4619761770.58866214062205.411337859382
4723971992.02616220593404.973837794069
4826542132.40116221564521.598837784362
4920972028.5409907084668.459009291544
5019632080.39192611204-117.391926112042
5116771743.82942612877-66.8294261287678
5219412121.01692611485-180.016926114851
5320032045.70442610964-42.7044261096429
5418131911.45442610036-98.4544261003594
5520122034.82942610889-22.8294261088909
5619121919.95442610095-7.95442610094718
5720842039.1419261091944.8580738908109
5820801895.76692609927184.233073900725
5921181734.20442612810383.795573871898
6021501649.57942612225500.42057387775
6116081560.7192546761147.2807453238945
6215031641.57019011170-138.570190111696
6315481636.00769011131-88.0076901113118
6413821583.19519007766-201.195190077660
6517311794.8826901223-63.8826901222983
6617981917.63269010079-119.632690100787
6717791823.00769009424-44.0076900942431
6818871916.13269010068-29.1326901006829
6920041980.3201901051223.6798098948785
7020771913.94519010053163.054809899468
7120921729.38269011777362.617309882231
7220511571.75769007687479.242309923131
7315771550.8975186754326.1024813245737
7413561515.74845407300-159.748454072996
7516521761.18595410997-109.185954109968
7613821604.37345407912-222.373454079124
7715191604.06095407910-85.0609540791027
7814211561.81095407618-140.810954076181
7914421507.18595407240-65.1859540724036
8015431593.31095407836-50.3109540783593
8116561653.498454102522.50154589747867
8215611419.12345406631141.876545933686
8319051563.56095407630341.439045923698
8421991740.93595410857458.064045891432
8514731468.07578266974.92421733030091
8616551835.92671809514-180.926718095137
8714071537.36421807449-130.364218074491
8813951638.55171809149-243.551718091488
8915301636.23921809133-106.239218091328
9013091470.9892180699-161.989218069901
9115261612.36421807968-86.3642180796768
9213271398.48921806489-71.489218064887
9316271645.67671809198-18.6767180919804
9417481627.30171809071120.698281909290
9519581637.73921809143320.260781908568
9622741837.11421809522436.885781904781
9716481664.25404667327-16.2540466732651
9814011603.10498207904-202.104982079037
9914111562.54248207623-151.542482076232
10014031667.72998207351-264.729982073506
10113941521.41748207339-127.417482073388
10215201703.16748207596-183.167482075956
10315281635.54248207128-107.542482071280
10416431735.66748207820-92.6674820782034
10515151554.8549820757-39.8549820757
10616851585.4799820778299.5200179221822
10720001700.9174820758299.082517924200
10822151799.29248208260415.707517917397
10919561993.43231070603-37.4323107060282
11014621685.28324606472-223.283246064719
11115631735.72074606821-172.720746068207
11214591744.90824606884-285.908246068843
11314461594.59574607845-148.595746078448
11416221826.34574609447-204.345746094474
11516571785.72074607166-128.720746071665
11616381751.84574606932-113.845746069322
11716431704.03324606602-61.0332460660159
11816831604.6582460791478.341753920856
11920501772.09574607072277.904253929277
12022621867.47074609732394.529253902682
12118131871.61057469760-58.6105746976041
12214451689.46151005501-244.461510055008
12317621955.89901010343-193.899010103433
12414611768.08651006045-307.086510060445
12515561725.77401005852-169.774010058519
12614311656.52401005273-225.524010052731
12714271576.89901007722-149.899010077224
12815541689.02401005498-135.024010054978
12916451727.21151005862-82.2115100586187
13016531595.8365100785357.1634899214661
13120161759.27401005984256.725989940164
13222071833.64901009498373.350989905021
13316651744.78883864883-79.7888386488342
13413611626.63977404066-265.639774040664
13515061721.07727404619-215.077274046195
13613601688.26477404493-328.264774044926
13714531643.95227404186-190.952274041861
13815221768.70227405049-246.702274050488
13914601631.07727404097-171.077274040971
14015521708.20227404630-156.202274046304
14115481651.38977404238-103.389774042375
14218271791.0147740520335.9852259479692
14317371501.45227407201235.547725927993
14419411588.82727407805352.172725921951
14514741574.96710257709-100.967102577091
14614581744.81803803884-286.818038038836
14715421778.25553804115-236.255538041148
14814041753.44303803943-349.443038039433
14915221734.13053803810-212.130538038097
15013851652.88053803248-267.880538032479
15116411833.25553799495-192.255537994952
15215101687.38053803486-177.380538034864
15316811805.56803804304-124.568038043037
15419381923.1930380011714.8069619988289
15518681653.63053803253214.369461967470
15617261395.00553796465330.994462035354
15714561578.14536657731-122.145366577311
15814451752.9963020294-307.996302029402
15914561713.43380202367-257.433802023666
16013651735.6213020282-370.6213020282
16114871720.30880202414-233.308802024141
16215581847.05880199591-289.058801995906
16314881701.43380202584-213.433802025836
16416841882.55880199836-198.558801998361
16515941739.74630202849-145.746302028486
16618501856.37130199655-6.37130199655028
16719981804.80880203298193.191197967015
16820791769.18380203052309.816197969479
16914941637.32363061140-143.323630611403
17010571216.50377247351-159.503772473508
17112181326.94127250915-108.941272509145
17211681390.12877251551-222.128772515515
17312361320.81627250872-84.8162725087218
17410761216.56627247351-140.566272473513
17511741238.94127250506-64.94127250506
17611391189.06627247161-50.0662724716111
17714271424.253772487872.74622751212534
17814871344.87877251239142.121227487614
17914831141.31627246831341.683727531691
18015131054.69127246232458.308727537681
18113571351.831101102875.16889889713347
18211651345.68203650244-180.682036502441
18312821412.11953650704-130.119536507036
18411101353.30703650297-243.307036502969
18512971402.99453650640-105.994536506405
18611851346.74453650251-161.744536502515
18712221308.11953649984-86.1195364998438
18812841355.24453650310-71.2445365031026
18914441462.43203649051-18.4320364905147
19015751454.05703648994120.942963510064
19117371416.49453650734320.505463492662
19217631325.86953649707437.130463502929

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1687 & 1533.82793527424 & 153.172064725760 \tabularnewline
2 & 1508 & 1540.67887017472 & -32.6788701747198 \tabularnewline
3 & 1507 & 1489.11637017115 & 17.8836298288453 \tabularnewline
4 & 1385 & 1480.30387017054 & -95.3038701705447 \tabularnewline
5 & 1632 & 1589.99137017813 & 42.0086298218703 \tabularnewline
6 & 1511 & 1524.74137017362 & -13.7413701736176 \tabularnewline
7 & 1559 & 1497.11637017171 & 61.8836298282927 \tabularnewline
8 & 1630 & 1553.24137017559 & 76.7586298244116 \tabularnewline
9 & 1579 & 1449.42887016841 & 129.571129831590 \tabularnewline
10 & 1653 & 1384.05387016389 & 268.946129836111 \tabularnewline
11 & 2152 & 1683.49137017460 & 468.508629825405 \tabularnewline
12 & 2148 & 1562.86637017625 & 585.133629823746 \tabularnewline
13 & 1752 & 1620.00619875021 & 131.993801249795 \tabularnewline
14 & 1765 & 1818.85713419396 & -53.8571341939561 \tabularnewline
15 & 1717 & 1720.29463416114 & -3.29463416114038 \tabularnewline
16 & 1558 & 1674.48213415397 & -116.482134153972 \tabularnewline
17 & 1575 & 1554.16963417565 & 20.8303658243474 \tabularnewline
18 & 1520 & 1554.91963417570 & -34.9196341757045 \tabularnewline
19 & 1805 & 1764.29463416018 & 40.7053658398169 \tabularnewline
20 & 1800 & 1744.41963415881 & 55.5803658411913 \tabularnewline
21 & 1719 & 1610.60713417956 & 108.392865820445 \tabularnewline
22 & 2008 & 1760.23213415990 & 247.767865840098 \tabularnewline
23 & 2242 & 1794.66963416228 & 447.330365837716 \tabularnewline
24 & 2478 & 1914.04463420054 & 563.955365799462 \tabularnewline
25 & 2030 & 1919.18446280089 & 110.815537199106 \tabularnewline
26 & 1655 & 1730.03539814781 & -75.035398147814 \tabularnewline
27 & 1693 & 1717.47289814995 & -24.4728981499453 \tabularnewline
28 & 1623 & 1760.66039814993 & -137.660398149932 \tabularnewline
29 & 1805 & 1805.34789815302 & -0.347898153021946 \tabularnewline
30 & 1746 & 1802.09789815280 & -56.0978981527972 \tabularnewline
31 & 1795 & 1775.47289815096 & 19.5271018490440 \tabularnewline
32 & 1926 & 1891.59789819899 & 34.4021018010137 \tabularnewline
33 & 1619 & 1531.78539817410 & 87.2146018258953 \tabularnewline
34 & 1992 & 1765.41039815026 & 226.58960184974 \tabularnewline
35 & 2233 & 1806.84789815313 & 426.152101846874 \tabularnewline
36 & 2192 & 1649.22289814223 & 542.777101857774 \tabularnewline
37 & 2080 & 1990.36272680582 & 89.637273194184 \tabularnewline
38 & 1768 & 1864.21366219709 & -96.2136621970926 \tabularnewline
39 & 1835 & 1880.65116219823 & -45.6511621982293 \tabularnewline
40 & 1569 & 1727.83866213766 & -158.838662137662 \tabularnewline
41 & 1976 & 1997.52616220631 & -21.5261622063113 \tabularnewline
42 & 1853 & 1930.27616220166 & -77.276162201661 \tabularnewline
43 & 1965 & 1966.65116220418 & -1.65116220417629 \tabularnewline
44 & 1689 & 1675.77616213406 & 13.2238378659381 \tabularnewline
45 & 1778 & 1711.96366213756 & 66.0363378624357 \tabularnewline
46 & 1976 & 1770.58866214062 & 205.411337859382 \tabularnewline
47 & 2397 & 1992.02616220593 & 404.973837794069 \tabularnewline
48 & 2654 & 2132.40116221564 & 521.598837784362 \tabularnewline
49 & 2097 & 2028.54099070846 & 68.459009291544 \tabularnewline
50 & 1963 & 2080.39192611204 & -117.391926112042 \tabularnewline
51 & 1677 & 1743.82942612877 & -66.8294261287678 \tabularnewline
52 & 1941 & 2121.01692611485 & -180.016926114851 \tabularnewline
53 & 2003 & 2045.70442610964 & -42.7044261096429 \tabularnewline
54 & 1813 & 1911.45442610036 & -98.4544261003594 \tabularnewline
55 & 2012 & 2034.82942610889 & -22.8294261088909 \tabularnewline
56 & 1912 & 1919.95442610095 & -7.95442610094718 \tabularnewline
57 & 2084 & 2039.14192610919 & 44.8580738908109 \tabularnewline
58 & 2080 & 1895.76692609927 & 184.233073900725 \tabularnewline
59 & 2118 & 1734.20442612810 & 383.795573871898 \tabularnewline
60 & 2150 & 1649.57942612225 & 500.42057387775 \tabularnewline
61 & 1608 & 1560.71925467611 & 47.2807453238945 \tabularnewline
62 & 1503 & 1641.57019011170 & -138.570190111696 \tabularnewline
63 & 1548 & 1636.00769011131 & -88.0076901113118 \tabularnewline
64 & 1382 & 1583.19519007766 & -201.195190077660 \tabularnewline
65 & 1731 & 1794.8826901223 & -63.8826901222983 \tabularnewline
66 & 1798 & 1917.63269010079 & -119.632690100787 \tabularnewline
67 & 1779 & 1823.00769009424 & -44.0076900942431 \tabularnewline
68 & 1887 & 1916.13269010068 & -29.1326901006829 \tabularnewline
69 & 2004 & 1980.32019010512 & 23.6798098948785 \tabularnewline
70 & 2077 & 1913.94519010053 & 163.054809899468 \tabularnewline
71 & 2092 & 1729.38269011777 & 362.617309882231 \tabularnewline
72 & 2051 & 1571.75769007687 & 479.242309923131 \tabularnewline
73 & 1577 & 1550.89751867543 & 26.1024813245737 \tabularnewline
74 & 1356 & 1515.74845407300 & -159.748454072996 \tabularnewline
75 & 1652 & 1761.18595410997 & -109.185954109968 \tabularnewline
76 & 1382 & 1604.37345407912 & -222.373454079124 \tabularnewline
77 & 1519 & 1604.06095407910 & -85.0609540791027 \tabularnewline
78 & 1421 & 1561.81095407618 & -140.810954076181 \tabularnewline
79 & 1442 & 1507.18595407240 & -65.1859540724036 \tabularnewline
80 & 1543 & 1593.31095407836 & -50.3109540783593 \tabularnewline
81 & 1656 & 1653.49845410252 & 2.50154589747867 \tabularnewline
82 & 1561 & 1419.12345406631 & 141.876545933686 \tabularnewline
83 & 1905 & 1563.56095407630 & 341.439045923698 \tabularnewline
84 & 2199 & 1740.93595410857 & 458.064045891432 \tabularnewline
85 & 1473 & 1468.0757826697 & 4.92421733030091 \tabularnewline
86 & 1655 & 1835.92671809514 & -180.926718095137 \tabularnewline
87 & 1407 & 1537.36421807449 & -130.364218074491 \tabularnewline
88 & 1395 & 1638.55171809149 & -243.551718091488 \tabularnewline
89 & 1530 & 1636.23921809133 & -106.239218091328 \tabularnewline
90 & 1309 & 1470.9892180699 & -161.989218069901 \tabularnewline
91 & 1526 & 1612.36421807968 & -86.3642180796768 \tabularnewline
92 & 1327 & 1398.48921806489 & -71.489218064887 \tabularnewline
93 & 1627 & 1645.67671809198 & -18.6767180919804 \tabularnewline
94 & 1748 & 1627.30171809071 & 120.698281909290 \tabularnewline
95 & 1958 & 1637.73921809143 & 320.260781908568 \tabularnewline
96 & 2274 & 1837.11421809522 & 436.885781904781 \tabularnewline
97 & 1648 & 1664.25404667327 & -16.2540466732651 \tabularnewline
98 & 1401 & 1603.10498207904 & -202.104982079037 \tabularnewline
99 & 1411 & 1562.54248207623 & -151.542482076232 \tabularnewline
100 & 1403 & 1667.72998207351 & -264.729982073506 \tabularnewline
101 & 1394 & 1521.41748207339 & -127.417482073388 \tabularnewline
102 & 1520 & 1703.16748207596 & -183.167482075956 \tabularnewline
103 & 1528 & 1635.54248207128 & -107.542482071280 \tabularnewline
104 & 1643 & 1735.66748207820 & -92.6674820782034 \tabularnewline
105 & 1515 & 1554.8549820757 & -39.8549820757 \tabularnewline
106 & 1685 & 1585.47998207782 & 99.5200179221822 \tabularnewline
107 & 2000 & 1700.9174820758 & 299.082517924200 \tabularnewline
108 & 2215 & 1799.29248208260 & 415.707517917397 \tabularnewline
109 & 1956 & 1993.43231070603 & -37.4323107060282 \tabularnewline
110 & 1462 & 1685.28324606472 & -223.283246064719 \tabularnewline
111 & 1563 & 1735.72074606821 & -172.720746068207 \tabularnewline
112 & 1459 & 1744.90824606884 & -285.908246068843 \tabularnewline
113 & 1446 & 1594.59574607845 & -148.595746078448 \tabularnewline
114 & 1622 & 1826.34574609447 & -204.345746094474 \tabularnewline
115 & 1657 & 1785.72074607166 & -128.720746071665 \tabularnewline
116 & 1638 & 1751.84574606932 & -113.845746069322 \tabularnewline
117 & 1643 & 1704.03324606602 & -61.0332460660159 \tabularnewline
118 & 1683 & 1604.65824607914 & 78.341753920856 \tabularnewline
119 & 2050 & 1772.09574607072 & 277.904253929277 \tabularnewline
120 & 2262 & 1867.47074609732 & 394.529253902682 \tabularnewline
121 & 1813 & 1871.61057469760 & -58.6105746976041 \tabularnewline
122 & 1445 & 1689.46151005501 & -244.461510055008 \tabularnewline
123 & 1762 & 1955.89901010343 & -193.899010103433 \tabularnewline
124 & 1461 & 1768.08651006045 & -307.086510060445 \tabularnewline
125 & 1556 & 1725.77401005852 & -169.774010058519 \tabularnewline
126 & 1431 & 1656.52401005273 & -225.524010052731 \tabularnewline
127 & 1427 & 1576.89901007722 & -149.899010077224 \tabularnewline
128 & 1554 & 1689.02401005498 & -135.024010054978 \tabularnewline
129 & 1645 & 1727.21151005862 & -82.2115100586187 \tabularnewline
130 & 1653 & 1595.83651007853 & 57.1634899214661 \tabularnewline
131 & 2016 & 1759.27401005984 & 256.725989940164 \tabularnewline
132 & 2207 & 1833.64901009498 & 373.350989905021 \tabularnewline
133 & 1665 & 1744.78883864883 & -79.7888386488342 \tabularnewline
134 & 1361 & 1626.63977404066 & -265.639774040664 \tabularnewline
135 & 1506 & 1721.07727404619 & -215.077274046195 \tabularnewline
136 & 1360 & 1688.26477404493 & -328.264774044926 \tabularnewline
137 & 1453 & 1643.95227404186 & -190.952274041861 \tabularnewline
138 & 1522 & 1768.70227405049 & -246.702274050488 \tabularnewline
139 & 1460 & 1631.07727404097 & -171.077274040971 \tabularnewline
140 & 1552 & 1708.20227404630 & -156.202274046304 \tabularnewline
141 & 1548 & 1651.38977404238 & -103.389774042375 \tabularnewline
142 & 1827 & 1791.01477405203 & 35.9852259479692 \tabularnewline
143 & 1737 & 1501.45227407201 & 235.547725927993 \tabularnewline
144 & 1941 & 1588.82727407805 & 352.172725921951 \tabularnewline
145 & 1474 & 1574.96710257709 & -100.967102577091 \tabularnewline
146 & 1458 & 1744.81803803884 & -286.818038038836 \tabularnewline
147 & 1542 & 1778.25553804115 & -236.255538041148 \tabularnewline
148 & 1404 & 1753.44303803943 & -349.443038039433 \tabularnewline
149 & 1522 & 1734.13053803810 & -212.130538038097 \tabularnewline
150 & 1385 & 1652.88053803248 & -267.880538032479 \tabularnewline
151 & 1641 & 1833.25553799495 & -192.255537994952 \tabularnewline
152 & 1510 & 1687.38053803486 & -177.380538034864 \tabularnewline
153 & 1681 & 1805.56803804304 & -124.568038043037 \tabularnewline
154 & 1938 & 1923.19303800117 & 14.8069619988289 \tabularnewline
155 & 1868 & 1653.63053803253 & 214.369461967470 \tabularnewline
156 & 1726 & 1395.00553796465 & 330.994462035354 \tabularnewline
157 & 1456 & 1578.14536657731 & -122.145366577311 \tabularnewline
158 & 1445 & 1752.9963020294 & -307.996302029402 \tabularnewline
159 & 1456 & 1713.43380202367 & -257.433802023666 \tabularnewline
160 & 1365 & 1735.6213020282 & -370.6213020282 \tabularnewline
161 & 1487 & 1720.30880202414 & -233.308802024141 \tabularnewline
162 & 1558 & 1847.05880199591 & -289.058801995906 \tabularnewline
163 & 1488 & 1701.43380202584 & -213.433802025836 \tabularnewline
164 & 1684 & 1882.55880199836 & -198.558801998361 \tabularnewline
165 & 1594 & 1739.74630202849 & -145.746302028486 \tabularnewline
166 & 1850 & 1856.37130199655 & -6.37130199655028 \tabularnewline
167 & 1998 & 1804.80880203298 & 193.191197967015 \tabularnewline
168 & 2079 & 1769.18380203052 & 309.816197969479 \tabularnewline
169 & 1494 & 1637.32363061140 & -143.323630611403 \tabularnewline
170 & 1057 & 1216.50377247351 & -159.503772473508 \tabularnewline
171 & 1218 & 1326.94127250915 & -108.941272509145 \tabularnewline
172 & 1168 & 1390.12877251551 & -222.128772515515 \tabularnewline
173 & 1236 & 1320.81627250872 & -84.8162725087218 \tabularnewline
174 & 1076 & 1216.56627247351 & -140.566272473513 \tabularnewline
175 & 1174 & 1238.94127250506 & -64.94127250506 \tabularnewline
176 & 1139 & 1189.06627247161 & -50.0662724716111 \tabularnewline
177 & 1427 & 1424.25377248787 & 2.74622751212534 \tabularnewline
178 & 1487 & 1344.87877251239 & 142.121227487614 \tabularnewline
179 & 1483 & 1141.31627246831 & 341.683727531691 \tabularnewline
180 & 1513 & 1054.69127246232 & 458.308727537681 \tabularnewline
181 & 1357 & 1351.83110110287 & 5.16889889713347 \tabularnewline
182 & 1165 & 1345.68203650244 & -180.682036502441 \tabularnewline
183 & 1282 & 1412.11953650704 & -130.119536507036 \tabularnewline
184 & 1110 & 1353.30703650297 & -243.307036502969 \tabularnewline
185 & 1297 & 1402.99453650640 & -105.994536506405 \tabularnewline
186 & 1185 & 1346.74453650251 & -161.744536502515 \tabularnewline
187 & 1222 & 1308.11953649984 & -86.1195364998438 \tabularnewline
188 & 1284 & 1355.24453650310 & -71.2445365031026 \tabularnewline
189 & 1444 & 1462.43203649051 & -18.4320364905147 \tabularnewline
190 & 1575 & 1454.05703648994 & 120.942963510064 \tabularnewline
191 & 1737 & 1416.49453650734 & 320.505463492662 \tabularnewline
192 & 1763 & 1325.86953649707 & 437.130463502929 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14477&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.82793527424[/C][C]153.172064725760[/C][/ROW]
[ROW][C]2[/C][C]1508[/C][C]1540.67887017472[/C][C]-32.6788701747198[/C][/ROW]
[ROW][C]3[/C][C]1507[/C][C]1489.11637017115[/C][C]17.8836298288453[/C][/ROW]
[ROW][C]4[/C][C]1385[/C][C]1480.30387017054[/C][C]-95.3038701705447[/C][/ROW]
[ROW][C]5[/C][C]1632[/C][C]1589.99137017813[/C][C]42.0086298218703[/C][/ROW]
[ROW][C]6[/C][C]1511[/C][C]1524.74137017362[/C][C]-13.7413701736176[/C][/ROW]
[ROW][C]7[/C][C]1559[/C][C]1497.11637017171[/C][C]61.8836298282927[/C][/ROW]
[ROW][C]8[/C][C]1630[/C][C]1553.24137017559[/C][C]76.7586298244116[/C][/ROW]
[ROW][C]9[/C][C]1579[/C][C]1449.42887016841[/C][C]129.571129831590[/C][/ROW]
[ROW][C]10[/C][C]1653[/C][C]1384.05387016389[/C][C]268.946129836111[/C][/ROW]
[ROW][C]11[/C][C]2152[/C][C]1683.49137017460[/C][C]468.508629825405[/C][/ROW]
[ROW][C]12[/C][C]2148[/C][C]1562.86637017625[/C][C]585.133629823746[/C][/ROW]
[ROW][C]13[/C][C]1752[/C][C]1620.00619875021[/C][C]131.993801249795[/C][/ROW]
[ROW][C]14[/C][C]1765[/C][C]1818.85713419396[/C][C]-53.8571341939561[/C][/ROW]
[ROW][C]15[/C][C]1717[/C][C]1720.29463416114[/C][C]-3.29463416114038[/C][/ROW]
[ROW][C]16[/C][C]1558[/C][C]1674.48213415397[/C][C]-116.482134153972[/C][/ROW]
[ROW][C]17[/C][C]1575[/C][C]1554.16963417565[/C][C]20.8303658243474[/C][/ROW]
[ROW][C]18[/C][C]1520[/C][C]1554.91963417570[/C][C]-34.9196341757045[/C][/ROW]
[ROW][C]19[/C][C]1805[/C][C]1764.29463416018[/C][C]40.7053658398169[/C][/ROW]
[ROW][C]20[/C][C]1800[/C][C]1744.41963415881[/C][C]55.5803658411913[/C][/ROW]
[ROW][C]21[/C][C]1719[/C][C]1610.60713417956[/C][C]108.392865820445[/C][/ROW]
[ROW][C]22[/C][C]2008[/C][C]1760.23213415990[/C][C]247.767865840098[/C][/ROW]
[ROW][C]23[/C][C]2242[/C][C]1794.66963416228[/C][C]447.330365837716[/C][/ROW]
[ROW][C]24[/C][C]2478[/C][C]1914.04463420054[/C][C]563.955365799462[/C][/ROW]
[ROW][C]25[/C][C]2030[/C][C]1919.18446280089[/C][C]110.815537199106[/C][/ROW]
[ROW][C]26[/C][C]1655[/C][C]1730.03539814781[/C][C]-75.035398147814[/C][/ROW]
[ROW][C]27[/C][C]1693[/C][C]1717.47289814995[/C][C]-24.4728981499453[/C][/ROW]
[ROW][C]28[/C][C]1623[/C][C]1760.66039814993[/C][C]-137.660398149932[/C][/ROW]
[ROW][C]29[/C][C]1805[/C][C]1805.34789815302[/C][C]-0.347898153021946[/C][/ROW]
[ROW][C]30[/C][C]1746[/C][C]1802.09789815280[/C][C]-56.0978981527972[/C][/ROW]
[ROW][C]31[/C][C]1795[/C][C]1775.47289815096[/C][C]19.5271018490440[/C][/ROW]
[ROW][C]32[/C][C]1926[/C][C]1891.59789819899[/C][C]34.4021018010137[/C][/ROW]
[ROW][C]33[/C][C]1619[/C][C]1531.78539817410[/C][C]87.2146018258953[/C][/ROW]
[ROW][C]34[/C][C]1992[/C][C]1765.41039815026[/C][C]226.58960184974[/C][/ROW]
[ROW][C]35[/C][C]2233[/C][C]1806.84789815313[/C][C]426.152101846874[/C][/ROW]
[ROW][C]36[/C][C]2192[/C][C]1649.22289814223[/C][C]542.777101857774[/C][/ROW]
[ROW][C]37[/C][C]2080[/C][C]1990.36272680582[/C][C]89.637273194184[/C][/ROW]
[ROW][C]38[/C][C]1768[/C][C]1864.21366219709[/C][C]-96.2136621970926[/C][/ROW]
[ROW][C]39[/C][C]1835[/C][C]1880.65116219823[/C][C]-45.6511621982293[/C][/ROW]
[ROW][C]40[/C][C]1569[/C][C]1727.83866213766[/C][C]-158.838662137662[/C][/ROW]
[ROW][C]41[/C][C]1976[/C][C]1997.52616220631[/C][C]-21.5261622063113[/C][/ROW]
[ROW][C]42[/C][C]1853[/C][C]1930.27616220166[/C][C]-77.276162201661[/C][/ROW]
[ROW][C]43[/C][C]1965[/C][C]1966.65116220418[/C][C]-1.65116220417629[/C][/ROW]
[ROW][C]44[/C][C]1689[/C][C]1675.77616213406[/C][C]13.2238378659381[/C][/ROW]
[ROW][C]45[/C][C]1778[/C][C]1711.96366213756[/C][C]66.0363378624357[/C][/ROW]
[ROW][C]46[/C][C]1976[/C][C]1770.58866214062[/C][C]205.411337859382[/C][/ROW]
[ROW][C]47[/C][C]2397[/C][C]1992.02616220593[/C][C]404.973837794069[/C][/ROW]
[ROW][C]48[/C][C]2654[/C][C]2132.40116221564[/C][C]521.598837784362[/C][/ROW]
[ROW][C]49[/C][C]2097[/C][C]2028.54099070846[/C][C]68.459009291544[/C][/ROW]
[ROW][C]50[/C][C]1963[/C][C]2080.39192611204[/C][C]-117.391926112042[/C][/ROW]
[ROW][C]51[/C][C]1677[/C][C]1743.82942612877[/C][C]-66.8294261287678[/C][/ROW]
[ROW][C]52[/C][C]1941[/C][C]2121.01692611485[/C][C]-180.016926114851[/C][/ROW]
[ROW][C]53[/C][C]2003[/C][C]2045.70442610964[/C][C]-42.7044261096429[/C][/ROW]
[ROW][C]54[/C][C]1813[/C][C]1911.45442610036[/C][C]-98.4544261003594[/C][/ROW]
[ROW][C]55[/C][C]2012[/C][C]2034.82942610889[/C][C]-22.8294261088909[/C][/ROW]
[ROW][C]56[/C][C]1912[/C][C]1919.95442610095[/C][C]-7.95442610094718[/C][/ROW]
[ROW][C]57[/C][C]2084[/C][C]2039.14192610919[/C][C]44.8580738908109[/C][/ROW]
[ROW][C]58[/C][C]2080[/C][C]1895.76692609927[/C][C]184.233073900725[/C][/ROW]
[ROW][C]59[/C][C]2118[/C][C]1734.20442612810[/C][C]383.795573871898[/C][/ROW]
[ROW][C]60[/C][C]2150[/C][C]1649.57942612225[/C][C]500.42057387775[/C][/ROW]
[ROW][C]61[/C][C]1608[/C][C]1560.71925467611[/C][C]47.2807453238945[/C][/ROW]
[ROW][C]62[/C][C]1503[/C][C]1641.57019011170[/C][C]-138.570190111696[/C][/ROW]
[ROW][C]63[/C][C]1548[/C][C]1636.00769011131[/C][C]-88.0076901113118[/C][/ROW]
[ROW][C]64[/C][C]1382[/C][C]1583.19519007766[/C][C]-201.195190077660[/C][/ROW]
[ROW][C]65[/C][C]1731[/C][C]1794.8826901223[/C][C]-63.8826901222983[/C][/ROW]
[ROW][C]66[/C][C]1798[/C][C]1917.63269010079[/C][C]-119.632690100787[/C][/ROW]
[ROW][C]67[/C][C]1779[/C][C]1823.00769009424[/C][C]-44.0076900942431[/C][/ROW]
[ROW][C]68[/C][C]1887[/C][C]1916.13269010068[/C][C]-29.1326901006829[/C][/ROW]
[ROW][C]69[/C][C]2004[/C][C]1980.32019010512[/C][C]23.6798098948785[/C][/ROW]
[ROW][C]70[/C][C]2077[/C][C]1913.94519010053[/C][C]163.054809899468[/C][/ROW]
[ROW][C]71[/C][C]2092[/C][C]1729.38269011777[/C][C]362.617309882231[/C][/ROW]
[ROW][C]72[/C][C]2051[/C][C]1571.75769007687[/C][C]479.242309923131[/C][/ROW]
[ROW][C]73[/C][C]1577[/C][C]1550.89751867543[/C][C]26.1024813245737[/C][/ROW]
[ROW][C]74[/C][C]1356[/C][C]1515.74845407300[/C][C]-159.748454072996[/C][/ROW]
[ROW][C]75[/C][C]1652[/C][C]1761.18595410997[/C][C]-109.185954109968[/C][/ROW]
[ROW][C]76[/C][C]1382[/C][C]1604.37345407912[/C][C]-222.373454079124[/C][/ROW]
[ROW][C]77[/C][C]1519[/C][C]1604.06095407910[/C][C]-85.0609540791027[/C][/ROW]
[ROW][C]78[/C][C]1421[/C][C]1561.81095407618[/C][C]-140.810954076181[/C][/ROW]
[ROW][C]79[/C][C]1442[/C][C]1507.18595407240[/C][C]-65.1859540724036[/C][/ROW]
[ROW][C]80[/C][C]1543[/C][C]1593.31095407836[/C][C]-50.3109540783593[/C][/ROW]
[ROW][C]81[/C][C]1656[/C][C]1653.49845410252[/C][C]2.50154589747867[/C][/ROW]
[ROW][C]82[/C][C]1561[/C][C]1419.12345406631[/C][C]141.876545933686[/C][/ROW]
[ROW][C]83[/C][C]1905[/C][C]1563.56095407630[/C][C]341.439045923698[/C][/ROW]
[ROW][C]84[/C][C]2199[/C][C]1740.93595410857[/C][C]458.064045891432[/C][/ROW]
[ROW][C]85[/C][C]1473[/C][C]1468.0757826697[/C][C]4.92421733030091[/C][/ROW]
[ROW][C]86[/C][C]1655[/C][C]1835.92671809514[/C][C]-180.926718095137[/C][/ROW]
[ROW][C]87[/C][C]1407[/C][C]1537.36421807449[/C][C]-130.364218074491[/C][/ROW]
[ROW][C]88[/C][C]1395[/C][C]1638.55171809149[/C][C]-243.551718091488[/C][/ROW]
[ROW][C]89[/C][C]1530[/C][C]1636.23921809133[/C][C]-106.239218091328[/C][/ROW]
[ROW][C]90[/C][C]1309[/C][C]1470.9892180699[/C][C]-161.989218069901[/C][/ROW]
[ROW][C]91[/C][C]1526[/C][C]1612.36421807968[/C][C]-86.3642180796768[/C][/ROW]
[ROW][C]92[/C][C]1327[/C][C]1398.48921806489[/C][C]-71.489218064887[/C][/ROW]
[ROW][C]93[/C][C]1627[/C][C]1645.67671809198[/C][C]-18.6767180919804[/C][/ROW]
[ROW][C]94[/C][C]1748[/C][C]1627.30171809071[/C][C]120.698281909290[/C][/ROW]
[ROW][C]95[/C][C]1958[/C][C]1637.73921809143[/C][C]320.260781908568[/C][/ROW]
[ROW][C]96[/C][C]2274[/C][C]1837.11421809522[/C][C]436.885781904781[/C][/ROW]
[ROW][C]97[/C][C]1648[/C][C]1664.25404667327[/C][C]-16.2540466732651[/C][/ROW]
[ROW][C]98[/C][C]1401[/C][C]1603.10498207904[/C][C]-202.104982079037[/C][/ROW]
[ROW][C]99[/C][C]1411[/C][C]1562.54248207623[/C][C]-151.542482076232[/C][/ROW]
[ROW][C]100[/C][C]1403[/C][C]1667.72998207351[/C][C]-264.729982073506[/C][/ROW]
[ROW][C]101[/C][C]1394[/C][C]1521.41748207339[/C][C]-127.417482073388[/C][/ROW]
[ROW][C]102[/C][C]1520[/C][C]1703.16748207596[/C][C]-183.167482075956[/C][/ROW]
[ROW][C]103[/C][C]1528[/C][C]1635.54248207128[/C][C]-107.542482071280[/C][/ROW]
[ROW][C]104[/C][C]1643[/C][C]1735.66748207820[/C][C]-92.6674820782034[/C][/ROW]
[ROW][C]105[/C][C]1515[/C][C]1554.8549820757[/C][C]-39.8549820757[/C][/ROW]
[ROW][C]106[/C][C]1685[/C][C]1585.47998207782[/C][C]99.5200179221822[/C][/ROW]
[ROW][C]107[/C][C]2000[/C][C]1700.9174820758[/C][C]299.082517924200[/C][/ROW]
[ROW][C]108[/C][C]2215[/C][C]1799.29248208260[/C][C]415.707517917397[/C][/ROW]
[ROW][C]109[/C][C]1956[/C][C]1993.43231070603[/C][C]-37.4323107060282[/C][/ROW]
[ROW][C]110[/C][C]1462[/C][C]1685.28324606472[/C][C]-223.283246064719[/C][/ROW]
[ROW][C]111[/C][C]1563[/C][C]1735.72074606821[/C][C]-172.720746068207[/C][/ROW]
[ROW][C]112[/C][C]1459[/C][C]1744.90824606884[/C][C]-285.908246068843[/C][/ROW]
[ROW][C]113[/C][C]1446[/C][C]1594.59574607845[/C][C]-148.595746078448[/C][/ROW]
[ROW][C]114[/C][C]1622[/C][C]1826.34574609447[/C][C]-204.345746094474[/C][/ROW]
[ROW][C]115[/C][C]1657[/C][C]1785.72074607166[/C][C]-128.720746071665[/C][/ROW]
[ROW][C]116[/C][C]1638[/C][C]1751.84574606932[/C][C]-113.845746069322[/C][/ROW]
[ROW][C]117[/C][C]1643[/C][C]1704.03324606602[/C][C]-61.0332460660159[/C][/ROW]
[ROW][C]118[/C][C]1683[/C][C]1604.65824607914[/C][C]78.341753920856[/C][/ROW]
[ROW][C]119[/C][C]2050[/C][C]1772.09574607072[/C][C]277.904253929277[/C][/ROW]
[ROW][C]120[/C][C]2262[/C][C]1867.47074609732[/C][C]394.529253902682[/C][/ROW]
[ROW][C]121[/C][C]1813[/C][C]1871.61057469760[/C][C]-58.6105746976041[/C][/ROW]
[ROW][C]122[/C][C]1445[/C][C]1689.46151005501[/C][C]-244.461510055008[/C][/ROW]
[ROW][C]123[/C][C]1762[/C][C]1955.89901010343[/C][C]-193.899010103433[/C][/ROW]
[ROW][C]124[/C][C]1461[/C][C]1768.08651006045[/C][C]-307.086510060445[/C][/ROW]
[ROW][C]125[/C][C]1556[/C][C]1725.77401005852[/C][C]-169.774010058519[/C][/ROW]
[ROW][C]126[/C][C]1431[/C][C]1656.52401005273[/C][C]-225.524010052731[/C][/ROW]
[ROW][C]127[/C][C]1427[/C][C]1576.89901007722[/C][C]-149.899010077224[/C][/ROW]
[ROW][C]128[/C][C]1554[/C][C]1689.02401005498[/C][C]-135.024010054978[/C][/ROW]
[ROW][C]129[/C][C]1645[/C][C]1727.21151005862[/C][C]-82.2115100586187[/C][/ROW]
[ROW][C]130[/C][C]1653[/C][C]1595.83651007853[/C][C]57.1634899214661[/C][/ROW]
[ROW][C]131[/C][C]2016[/C][C]1759.27401005984[/C][C]256.725989940164[/C][/ROW]
[ROW][C]132[/C][C]2207[/C][C]1833.64901009498[/C][C]373.350989905021[/C][/ROW]
[ROW][C]133[/C][C]1665[/C][C]1744.78883864883[/C][C]-79.7888386488342[/C][/ROW]
[ROW][C]134[/C][C]1361[/C][C]1626.63977404066[/C][C]-265.639774040664[/C][/ROW]
[ROW][C]135[/C][C]1506[/C][C]1721.07727404619[/C][C]-215.077274046195[/C][/ROW]
[ROW][C]136[/C][C]1360[/C][C]1688.26477404493[/C][C]-328.264774044926[/C][/ROW]
[ROW][C]137[/C][C]1453[/C][C]1643.95227404186[/C][C]-190.952274041861[/C][/ROW]
[ROW][C]138[/C][C]1522[/C][C]1768.70227405049[/C][C]-246.702274050488[/C][/ROW]
[ROW][C]139[/C][C]1460[/C][C]1631.07727404097[/C][C]-171.077274040971[/C][/ROW]
[ROW][C]140[/C][C]1552[/C][C]1708.20227404630[/C][C]-156.202274046304[/C][/ROW]
[ROW][C]141[/C][C]1548[/C][C]1651.38977404238[/C][C]-103.389774042375[/C][/ROW]
[ROW][C]142[/C][C]1827[/C][C]1791.01477405203[/C][C]35.9852259479692[/C][/ROW]
[ROW][C]143[/C][C]1737[/C][C]1501.45227407201[/C][C]235.547725927993[/C][/ROW]
[ROW][C]144[/C][C]1941[/C][C]1588.82727407805[/C][C]352.172725921951[/C][/ROW]
[ROW][C]145[/C][C]1474[/C][C]1574.96710257709[/C][C]-100.967102577091[/C][/ROW]
[ROW][C]146[/C][C]1458[/C][C]1744.81803803884[/C][C]-286.818038038836[/C][/ROW]
[ROW][C]147[/C][C]1542[/C][C]1778.25553804115[/C][C]-236.255538041148[/C][/ROW]
[ROW][C]148[/C][C]1404[/C][C]1753.44303803943[/C][C]-349.443038039433[/C][/ROW]
[ROW][C]149[/C][C]1522[/C][C]1734.13053803810[/C][C]-212.130538038097[/C][/ROW]
[ROW][C]150[/C][C]1385[/C][C]1652.88053803248[/C][C]-267.880538032479[/C][/ROW]
[ROW][C]151[/C][C]1641[/C][C]1833.25553799495[/C][C]-192.255537994952[/C][/ROW]
[ROW][C]152[/C][C]1510[/C][C]1687.38053803486[/C][C]-177.380538034864[/C][/ROW]
[ROW][C]153[/C][C]1681[/C][C]1805.56803804304[/C][C]-124.568038043037[/C][/ROW]
[ROW][C]154[/C][C]1938[/C][C]1923.19303800117[/C][C]14.8069619988289[/C][/ROW]
[ROW][C]155[/C][C]1868[/C][C]1653.63053803253[/C][C]214.369461967470[/C][/ROW]
[ROW][C]156[/C][C]1726[/C][C]1395.00553796465[/C][C]330.994462035354[/C][/ROW]
[ROW][C]157[/C][C]1456[/C][C]1578.14536657731[/C][C]-122.145366577311[/C][/ROW]
[ROW][C]158[/C][C]1445[/C][C]1752.9963020294[/C][C]-307.996302029402[/C][/ROW]
[ROW][C]159[/C][C]1456[/C][C]1713.43380202367[/C][C]-257.433802023666[/C][/ROW]
[ROW][C]160[/C][C]1365[/C][C]1735.6213020282[/C][C]-370.6213020282[/C][/ROW]
[ROW][C]161[/C][C]1487[/C][C]1720.30880202414[/C][C]-233.308802024141[/C][/ROW]
[ROW][C]162[/C][C]1558[/C][C]1847.05880199591[/C][C]-289.058801995906[/C][/ROW]
[ROW][C]163[/C][C]1488[/C][C]1701.43380202584[/C][C]-213.433802025836[/C][/ROW]
[ROW][C]164[/C][C]1684[/C][C]1882.55880199836[/C][C]-198.558801998361[/C][/ROW]
[ROW][C]165[/C][C]1594[/C][C]1739.74630202849[/C][C]-145.746302028486[/C][/ROW]
[ROW][C]166[/C][C]1850[/C][C]1856.37130199655[/C][C]-6.37130199655028[/C][/ROW]
[ROW][C]167[/C][C]1998[/C][C]1804.80880203298[/C][C]193.191197967015[/C][/ROW]
[ROW][C]168[/C][C]2079[/C][C]1769.18380203052[/C][C]309.816197969479[/C][/ROW]
[ROW][C]169[/C][C]1494[/C][C]1637.32363061140[/C][C]-143.323630611403[/C][/ROW]
[ROW][C]170[/C][C]1057[/C][C]1216.50377247351[/C][C]-159.503772473508[/C][/ROW]
[ROW][C]171[/C][C]1218[/C][C]1326.94127250915[/C][C]-108.941272509145[/C][/ROW]
[ROW][C]172[/C][C]1168[/C][C]1390.12877251551[/C][C]-222.128772515515[/C][/ROW]
[ROW][C]173[/C][C]1236[/C][C]1320.81627250872[/C][C]-84.8162725087218[/C][/ROW]
[ROW][C]174[/C][C]1076[/C][C]1216.56627247351[/C][C]-140.566272473513[/C][/ROW]
[ROW][C]175[/C][C]1174[/C][C]1238.94127250506[/C][C]-64.94127250506[/C][/ROW]
[ROW][C]176[/C][C]1139[/C][C]1189.06627247161[/C][C]-50.0662724716111[/C][/ROW]
[ROW][C]177[/C][C]1427[/C][C]1424.25377248787[/C][C]2.74622751212534[/C][/ROW]
[ROW][C]178[/C][C]1487[/C][C]1344.87877251239[/C][C]142.121227487614[/C][/ROW]
[ROW][C]179[/C][C]1483[/C][C]1141.31627246831[/C][C]341.683727531691[/C][/ROW]
[ROW][C]180[/C][C]1513[/C][C]1054.69127246232[/C][C]458.308727537681[/C][/ROW]
[ROW][C]181[/C][C]1357[/C][C]1351.83110110287[/C][C]5.16889889713347[/C][/ROW]
[ROW][C]182[/C][C]1165[/C][C]1345.68203650244[/C][C]-180.682036502441[/C][/ROW]
[ROW][C]183[/C][C]1282[/C][C]1412.11953650704[/C][C]-130.119536507036[/C][/ROW]
[ROW][C]184[/C][C]1110[/C][C]1353.30703650297[/C][C]-243.307036502969[/C][/ROW]
[ROW][C]185[/C][C]1297[/C][C]1402.99453650640[/C][C]-105.994536506405[/C][/ROW]
[ROW][C]186[/C][C]1185[/C][C]1346.74453650251[/C][C]-161.744536502515[/C][/ROW]
[ROW][C]187[/C][C]1222[/C][C]1308.11953649984[/C][C]-86.1195364998438[/C][/ROW]
[ROW][C]188[/C][C]1284[/C][C]1355.24453650310[/C][C]-71.2445365031026[/C][/ROW]
[ROW][C]189[/C][C]1444[/C][C]1462.43203649051[/C][C]-18.4320364905147[/C][/ROW]
[ROW][C]190[/C][C]1575[/C][C]1454.05703648994[/C][C]120.942963510064[/C][/ROW]
[ROW][C]191[/C][C]1737[/C][C]1416.49453650734[/C][C]320.505463492662[/C][/ROW]
[ROW][C]192[/C][C]1763[/C][C]1325.86953649707[/C][C]437.130463502929[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14477&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14477&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.82793527424153.172064725760
215081540.67887017472-32.6788701747198
315071489.1163701711517.8836298288453
413851480.30387017054-95.3038701705447
516321589.9913701781342.0086298218703
615111524.74137017362-13.7413701736176
715591497.1163701717161.8836298282927
816301553.2413701755976.7586298244116
915791449.42887016841129.571129831590
1016531384.05387016389268.946129836111
1121521683.49137017460468.508629825405
1221481562.86637017625585.133629823746
1317521620.00619875021131.993801249795
1417651818.85713419396-53.8571341939561
1517171720.29463416114-3.29463416114038
1615581674.48213415397-116.482134153972
1715751554.1696341756520.8303658243474
1815201554.91963417570-34.9196341757045
1918051764.2946341601840.7053658398169
2018001744.4196341588155.5803658411913
2117191610.60713417956108.392865820445
2220081760.23213415990247.767865840098
2322421794.66963416228447.330365837716
2424781914.04463420054563.955365799462
2520301919.18446280089110.815537199106
2616551730.03539814781-75.035398147814
2716931717.47289814995-24.4728981499453
2816231760.66039814993-137.660398149932
2918051805.34789815302-0.347898153021946
3017461802.09789815280-56.0978981527972
3117951775.4728981509619.5271018490440
3219261891.5978981989934.4021018010137
3316191531.7853981741087.2146018258953
3419921765.41039815026226.58960184974
3522331806.84789815313426.152101846874
3621921649.22289814223542.777101857774
3720801990.3627268058289.637273194184
3817681864.21366219709-96.2136621970926
3918351880.65116219823-45.6511621982293
4015691727.83866213766-158.838662137662
4119761997.52616220631-21.5261622063113
4218531930.27616220166-77.276162201661
4319651966.65116220418-1.65116220417629
4416891675.7761621340613.2238378659381
4517781711.9636621375666.0363378624357
4619761770.58866214062205.411337859382
4723971992.02616220593404.973837794069
4826542132.40116221564521.598837784362
4920972028.5409907084668.459009291544
5019632080.39192611204-117.391926112042
5116771743.82942612877-66.8294261287678
5219412121.01692611485-180.016926114851
5320032045.70442610964-42.7044261096429
5418131911.45442610036-98.4544261003594
5520122034.82942610889-22.8294261088909
5619121919.95442610095-7.95442610094718
5720842039.1419261091944.8580738908109
5820801895.76692609927184.233073900725
5921181734.20442612810383.795573871898
6021501649.57942612225500.42057387775
6116081560.7192546761147.2807453238945
6215031641.57019011170-138.570190111696
6315481636.00769011131-88.0076901113118
6413821583.19519007766-201.195190077660
6517311794.8826901223-63.8826901222983
6617981917.63269010079-119.632690100787
6717791823.00769009424-44.0076900942431
6818871916.13269010068-29.1326901006829
6920041980.3201901051223.6798098948785
7020771913.94519010053163.054809899468
7120921729.38269011777362.617309882231
7220511571.75769007687479.242309923131
7315771550.8975186754326.1024813245737
7413561515.74845407300-159.748454072996
7516521761.18595410997-109.185954109968
7613821604.37345407912-222.373454079124
7715191604.06095407910-85.0609540791027
7814211561.81095407618-140.810954076181
7914421507.18595407240-65.1859540724036
8015431593.31095407836-50.3109540783593
8116561653.498454102522.50154589747867
8215611419.12345406631141.876545933686
8319051563.56095407630341.439045923698
8421991740.93595410857458.064045891432
8514731468.07578266974.92421733030091
8616551835.92671809514-180.926718095137
8714071537.36421807449-130.364218074491
8813951638.55171809149-243.551718091488
8915301636.23921809133-106.239218091328
9013091470.9892180699-161.989218069901
9115261612.36421807968-86.3642180796768
9213271398.48921806489-71.489218064887
9316271645.67671809198-18.6767180919804
9417481627.30171809071120.698281909290
9519581637.73921809143320.260781908568
9622741837.11421809522436.885781904781
9716481664.25404667327-16.2540466732651
9814011603.10498207904-202.104982079037
9914111562.54248207623-151.542482076232
10014031667.72998207351-264.729982073506
10113941521.41748207339-127.417482073388
10215201703.16748207596-183.167482075956
10315281635.54248207128-107.542482071280
10416431735.66748207820-92.6674820782034
10515151554.8549820757-39.8549820757
10616851585.4799820778299.5200179221822
10720001700.9174820758299.082517924200
10822151799.29248208260415.707517917397
10919561993.43231070603-37.4323107060282
11014621685.28324606472-223.283246064719
11115631735.72074606821-172.720746068207
11214591744.90824606884-285.908246068843
11314461594.59574607845-148.595746078448
11416221826.34574609447-204.345746094474
11516571785.72074607166-128.720746071665
11616381751.84574606932-113.845746069322
11716431704.03324606602-61.0332460660159
11816831604.6582460791478.341753920856
11920501772.09574607072277.904253929277
12022621867.47074609732394.529253902682
12118131871.61057469760-58.6105746976041
12214451689.46151005501-244.461510055008
12317621955.89901010343-193.899010103433
12414611768.08651006045-307.086510060445
12515561725.77401005852-169.774010058519
12614311656.52401005273-225.524010052731
12714271576.89901007722-149.899010077224
12815541689.02401005498-135.024010054978
12916451727.21151005862-82.2115100586187
13016531595.8365100785357.1634899214661
13120161759.27401005984256.725989940164
13222071833.64901009498373.350989905021
13316651744.78883864883-79.7888386488342
13413611626.63977404066-265.639774040664
13515061721.07727404619-215.077274046195
13613601688.26477404493-328.264774044926
13714531643.95227404186-190.952274041861
13815221768.70227405049-246.702274050488
13914601631.07727404097-171.077274040971
14015521708.20227404630-156.202274046304
14115481651.38977404238-103.389774042375
14218271791.0147740520335.9852259479692
14317371501.45227407201235.547725927993
14419411588.82727407805352.172725921951
14514741574.96710257709-100.967102577091
14614581744.81803803884-286.818038038836
14715421778.25553804115-236.255538041148
14814041753.44303803943-349.443038039433
14915221734.13053803810-212.130538038097
15013851652.88053803248-267.880538032479
15116411833.25553799495-192.255537994952
15215101687.38053803486-177.380538034864
15316811805.56803804304-124.568038043037
15419381923.1930380011714.8069619988289
15518681653.63053803253214.369461967470
15617261395.00553796465330.994462035354
15714561578.14536657731-122.145366577311
15814451752.9963020294-307.996302029402
15914561713.43380202367-257.433802023666
16013651735.6213020282-370.6213020282
16114871720.30880202414-233.308802024141
16215581847.05880199591-289.058801995906
16314881701.43380202584-213.433802025836
16416841882.55880199836-198.558801998361
16515941739.74630202849-145.746302028486
16618501856.37130199655-6.37130199655028
16719981804.80880203298193.191197967015
16820791769.18380203052309.816197969479
16914941637.32363061140-143.323630611403
17010571216.50377247351-159.503772473508
17112181326.94127250915-108.941272509145
17211681390.12877251551-222.128772515515
17312361320.81627250872-84.8162725087218
17410761216.56627247351-140.566272473513
17511741238.94127250506-64.94127250506
17611391189.06627247161-50.0662724716111
17714271424.253772487872.74622751212534
17814871344.87877251239142.121227487614
17914831141.31627246831341.683727531691
18015131054.69127246232458.308727537681
18113571351.831101102875.16889889713347
18211651345.68203650244-180.682036502441
18312821412.11953650704-130.119536507036
18411101353.30703650297-243.307036502969
18512971402.99453650640-105.994536506405
18611851346.74453650251-161.744536502515
18712221308.11953649984-86.1195364998438
18812841355.24453650310-71.2445365031026
18914441462.43203649051-18.4320364905147
19015751454.05703648994120.942963510064
19117371416.49453650734320.505463492662
19217631325.86953649707437.130463502929



Parameters (Session):
par1 = 1 ; par2 = Include Monthly 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')