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 09:21:11 -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/t1195488866dqg38bb3793prjo.htm/, Retrieved Fri, 03 May 2024 06:45:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5736, Retrieved Fri, 03 May 2024 06:45:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact174
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Multiple Regression] [Vraag 1 deel 1] [2007-11-19 16:21:11] [c40c597932a04e0e43159741c7e63e4c] [Current]
Feedback Forum
2008-12-01 12:15:34 [Charis Berrevoets] [reply
Het is goed dat je dit model in je berekening hebt opgenomen. Je legt kort en bondig uit wat het resultaat is van dit model en wat er mis mee is: goed!

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




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 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 & 7 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=5736&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]7 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=5736&T=0

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 1717.75147928994 -396.055827116028x[t] + e[t]

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1717.7514792899420.00033485.886100
x-396.05582711602857.786173-6.853800

\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.75147928994 & 20.000334 & 85.8861 & 0 & 0 \tabularnewline
x & -396.055827116028 & 57.786173 & -6.8538 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5736&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.75147928994[/C][C]20.000334[/C][C]85.8861[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-396.055827116028[/C][C]57.786173[/C][C]-6.8538[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5736&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5736&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.7514792899420.00033485.886100
x-396.05582711602857.786173-6.853800







Multiple Linear Regression - Regression Statistics
Multiple R0.445226892939612
R-squared0.198226986196661
Adjusted R-squared0.194007128229275
F-TEST (value)46.9748005095662
F-TEST (DF numerator)1
F-TEST (DF denominator)190
p-value9.762957109416e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation260.004336317031
Sum Squared Residuals12844428.4316954

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.445226892939612 \tabularnewline
R-squared & 0.198226986196661 \tabularnewline
Adjusted R-squared & 0.194007128229275 \tabularnewline
F-TEST (value) & 46.9748005095662 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 190 \tabularnewline
p-value & 9.762957109416e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 260.004336317031 \tabularnewline
Sum Squared Residuals & 12844428.4316954 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5736&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.445226892939612[/C][/ROW]
[ROW][C]R-squared[/C][C]0.198226986196661[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.194007128229275[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]46.9748005095662[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]190[/C][/ROW]
[ROW][C]p-value[/C][C]9.762957109416e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]260.004336317031[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]12844428.4316954[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5736&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5736&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.445226892939612
R-squared0.198226986196661
Adjusted R-squared0.194007128229275
F-TEST (value)46.9748005095662
F-TEST (DF numerator)1
F-TEST (DF denominator)190
p-value9.762957109416e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation260.004336317031
Sum Squared Residuals12844428.4316954







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
116871717.75147928994-30.7514792899354
215081717.75147928994-209.751479289941
315071717.75147928994-210.751479289941
413851717.75147928994-332.751479289941
516321717.75147928994-85.7514792899409
615111717.75147928994-206.751479289941
715591717.75147928994-158.751479289941
816301717.75147928994-87.7514792899409
915791717.75147928994-138.751479289941
1016531717.75147928994-64.7514792899408
1121521717.75147928994434.248520710059
1221481717.75147928994430.248520710059
1317521717.7514792899434.2485207100591
1417651717.7514792899447.2485207100591
1517171717.75147928994-0.751479289940856
1615581717.75147928994-159.751479289941
1715751717.75147928994-142.751479289941
1815201717.75147928994-197.751479289941
1918051717.7514792899487.2485207100591
2018001717.7514792899482.2485207100591
2117191717.751479289941.24852071005914
2220081717.75147928994290.248520710059
2322421717.75147928994524.248520710059
2424781717.75147928994760.248520710059
2520301717.75147928994312.248520710059
2616551717.75147928994-62.7514792899409
2716931717.75147928994-24.7514792899409
2816231717.75147928994-94.7514792899409
2918051717.7514792899487.2485207100591
3017461717.7514792899428.2485207100591
3117951717.7514792899477.2485207100591
3219261717.75147928994208.248520710059
3316191717.75147928994-98.7514792899409
3419921717.75147928994274.248520710059
3522331717.75147928994515.248520710059
3621921717.75147928994474.248520710059
3720801717.75147928994362.248520710059
3817681717.7514792899450.2485207100591
3918351717.75147928994117.248520710059
4015691717.75147928994-148.751479289941
4119761717.75147928994258.248520710059
4218531717.75147928994135.248520710059
4319651717.75147928994247.248520710059
4416891717.75147928994-28.7514792899409
4517781717.7514792899460.2485207100591
4619761717.75147928994258.248520710059
4723971717.75147928994679.248520710059
4826541717.75147928994936.24852071006
4920971717.75147928994379.248520710059
5019631717.75147928994245.248520710059
5116771717.75147928994-40.7514792899409
5219411717.75147928994223.248520710059
5320031717.75147928994285.248520710059
5418131717.7514792899495.2485207100591
5520121717.75147928994294.248520710059
5619121717.75147928994194.248520710059
5720841717.75147928994366.248520710059
5820801717.75147928994362.248520710059
5921181717.75147928994400.248520710059
6021501717.75147928994432.248520710059
6116081717.75147928994-109.751479289941
6215031717.75147928994-214.751479289941
6315481717.75147928994-169.751479289941
6413821717.75147928994-335.751479289941
6517311717.7514792899413.2485207100591
6617981717.7514792899480.2485207100591
6717791717.7514792899461.2485207100591
6818871717.75147928994169.248520710059
6920041717.75147928994286.248520710059
7020771717.75147928994359.248520710059
7120921717.75147928994374.248520710059
7220511717.75147928994333.248520710059
7315771717.75147928994-140.751479289941
7413561717.75147928994-361.751479289941
7516521717.75147928994-65.7514792899408
7613821717.75147928994-335.751479289941
7715191717.75147928994-198.751479289941
7814211717.75147928994-296.751479289941
7914421717.75147928994-275.751479289941
8015431717.75147928994-174.751479289941
8116561717.75147928994-61.7514792899409
8215611717.75147928994-156.751479289941
8319051717.75147928994187.248520710059
8421991717.75147928994481.248520710059
8514731717.75147928994-244.751479289941
8616551717.75147928994-62.7514792899409
8714071717.75147928994-310.751479289941
8813951717.75147928994-322.751479289941
8915301717.75147928994-187.751479289941
9013091717.75147928994-408.751479289941
9115261717.75147928994-191.751479289941
9213271717.75147928994-390.751479289941
9316271717.75147928994-90.7514792899409
9417481717.7514792899430.2485207100591
9519581717.75147928994240.248520710059
9622741717.75147928994556.248520710059
9716481717.75147928994-69.7514792899408
9814011717.75147928994-316.751479289941
9914111717.75147928994-306.751479289941
10014031717.75147928994-314.751479289941
10113941717.75147928994-323.751479289941
10215201717.75147928994-197.751479289941
10315281717.75147928994-189.751479289941
10416431717.75147928994-74.7514792899409
10515151717.75147928994-202.751479289941
10616851717.75147928994-32.7514792899409
10720001717.75147928994282.248520710059
10822151717.75147928994497.248520710059
10919561717.75147928994238.248520710059
11014621717.75147928994-255.751479289941
11115631717.75147928994-154.751479289941
11214591717.75147928994-258.751479289941
11314461717.75147928994-271.751479289941
11416221717.75147928994-95.7514792899409
11516571717.75147928994-60.7514792899409
11616381717.75147928994-79.7514792899409
11716431717.75147928994-74.7514792899409
11816831717.75147928994-34.7514792899409
11920501717.75147928994332.248520710059
12022621717.75147928994544.248520710059
12118131717.7514792899495.2485207100591
12214451717.75147928994-272.751479289941
12317621717.7514792899444.2485207100591
12414611717.75147928994-256.751479289941
12515561717.75147928994-161.751479289941
12614311717.75147928994-286.751479289941
12714271717.75147928994-290.751479289941
12815541717.75147928994-163.751479289941
12916451717.75147928994-72.7514792899409
13016531717.75147928994-64.7514792899408
13120161717.75147928994298.248520710059
13222071717.75147928994489.248520710059
13316651717.75147928994-52.7514792899409
13413611717.75147928994-356.751479289941
13515061717.75147928994-211.751479289941
13613601717.75147928994-357.751479289941
13714531717.75147928994-264.751479289941
13815221717.75147928994-195.751479289941
13914601717.75147928994-257.751479289941
14015521717.75147928994-165.751479289941
14115481717.75147928994-169.751479289941
14218271717.75147928994109.248520710059
14317371717.7514792899419.2485207100591
14419411717.75147928994223.248520710059
14514741717.75147928994-243.751479289941
14614581717.75147928994-259.751479289941
14715421717.75147928994-175.751479289941
14814041717.75147928994-313.751479289941
14915221717.75147928994-195.751479289941
15013851717.75147928994-332.751479289941
15116411717.75147928994-76.7514792899409
15215101717.75147928994-207.751479289941
15316811717.75147928994-36.7514792899409
15419381717.75147928994220.248520710059
15518681717.75147928994150.248520710059
15617261717.751479289948.24852071005914
15714561717.75147928994-261.751479289941
15814451717.75147928994-272.751479289941
15914561717.75147928994-261.751479289941
16013651717.75147928994-352.751479289941
16114871717.75147928994-230.751479289941
16215581717.75147928994-159.751479289941
16314881717.75147928994-229.751479289941
16416841717.75147928994-33.7514792899409
16515941717.75147928994-123.751479289941
16618501717.75147928994132.248520710059
16719981717.75147928994280.248520710059
16820791717.75147928994361.248520710059
16914941717.75147928994-223.751479289941
17010571321.69565217391-264.695652173913
17112181321.69565217391-103.695652173913
17211681321.69565217391-153.695652173913
17312361321.69565217391-85.695652173913
17410761321.69565217391-245.695652173913
17511741321.69565217391-147.695652173913
17611391321.69565217391-182.695652173913
17714271321.69565217391105.304347826087
17814871321.69565217391165.304347826087
17914831321.69565217391161.304347826087
18015131321.69565217391191.304347826087
18113571321.6956521739135.3043478260869
18211651321.69565217391-156.695652173913
18312821321.69565217391-39.6956521739131
18411101321.69565217391-211.695652173913
18512971321.69565217391-24.6956521739131
18611851321.69565217391-136.695652173913
18712221321.69565217391-99.695652173913
18812841321.69565217391-37.6956521739131
18914441321.69565217391122.304347826087
19015751321.69565217391253.304347826087
19117371321.69565217391415.304347826087
19217631321.69565217391441.304347826087

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1687 & 1717.75147928994 & -30.7514792899354 \tabularnewline
2 & 1508 & 1717.75147928994 & -209.751479289941 \tabularnewline
3 & 1507 & 1717.75147928994 & -210.751479289941 \tabularnewline
4 & 1385 & 1717.75147928994 & -332.751479289941 \tabularnewline
5 & 1632 & 1717.75147928994 & -85.7514792899409 \tabularnewline
6 & 1511 & 1717.75147928994 & -206.751479289941 \tabularnewline
7 & 1559 & 1717.75147928994 & -158.751479289941 \tabularnewline
8 & 1630 & 1717.75147928994 & -87.7514792899409 \tabularnewline
9 & 1579 & 1717.75147928994 & -138.751479289941 \tabularnewline
10 & 1653 & 1717.75147928994 & -64.7514792899408 \tabularnewline
11 & 2152 & 1717.75147928994 & 434.248520710059 \tabularnewline
12 & 2148 & 1717.75147928994 & 430.248520710059 \tabularnewline
13 & 1752 & 1717.75147928994 & 34.2485207100591 \tabularnewline
14 & 1765 & 1717.75147928994 & 47.2485207100591 \tabularnewline
15 & 1717 & 1717.75147928994 & -0.751479289940856 \tabularnewline
16 & 1558 & 1717.75147928994 & -159.751479289941 \tabularnewline
17 & 1575 & 1717.75147928994 & -142.751479289941 \tabularnewline
18 & 1520 & 1717.75147928994 & -197.751479289941 \tabularnewline
19 & 1805 & 1717.75147928994 & 87.2485207100591 \tabularnewline
20 & 1800 & 1717.75147928994 & 82.2485207100591 \tabularnewline
21 & 1719 & 1717.75147928994 & 1.24852071005914 \tabularnewline
22 & 2008 & 1717.75147928994 & 290.248520710059 \tabularnewline
23 & 2242 & 1717.75147928994 & 524.248520710059 \tabularnewline
24 & 2478 & 1717.75147928994 & 760.248520710059 \tabularnewline
25 & 2030 & 1717.75147928994 & 312.248520710059 \tabularnewline
26 & 1655 & 1717.75147928994 & -62.7514792899409 \tabularnewline
27 & 1693 & 1717.75147928994 & -24.7514792899409 \tabularnewline
28 & 1623 & 1717.75147928994 & -94.7514792899409 \tabularnewline
29 & 1805 & 1717.75147928994 & 87.2485207100591 \tabularnewline
30 & 1746 & 1717.75147928994 & 28.2485207100591 \tabularnewline
31 & 1795 & 1717.75147928994 & 77.2485207100591 \tabularnewline
32 & 1926 & 1717.75147928994 & 208.248520710059 \tabularnewline
33 & 1619 & 1717.75147928994 & -98.7514792899409 \tabularnewline
34 & 1992 & 1717.75147928994 & 274.248520710059 \tabularnewline
35 & 2233 & 1717.75147928994 & 515.248520710059 \tabularnewline
36 & 2192 & 1717.75147928994 & 474.248520710059 \tabularnewline
37 & 2080 & 1717.75147928994 & 362.248520710059 \tabularnewline
38 & 1768 & 1717.75147928994 & 50.2485207100591 \tabularnewline
39 & 1835 & 1717.75147928994 & 117.248520710059 \tabularnewline
40 & 1569 & 1717.75147928994 & -148.751479289941 \tabularnewline
41 & 1976 & 1717.75147928994 & 258.248520710059 \tabularnewline
42 & 1853 & 1717.75147928994 & 135.248520710059 \tabularnewline
43 & 1965 & 1717.75147928994 & 247.248520710059 \tabularnewline
44 & 1689 & 1717.75147928994 & -28.7514792899409 \tabularnewline
45 & 1778 & 1717.75147928994 & 60.2485207100591 \tabularnewline
46 & 1976 & 1717.75147928994 & 258.248520710059 \tabularnewline
47 & 2397 & 1717.75147928994 & 679.248520710059 \tabularnewline
48 & 2654 & 1717.75147928994 & 936.24852071006 \tabularnewline
49 & 2097 & 1717.75147928994 & 379.248520710059 \tabularnewline
50 & 1963 & 1717.75147928994 & 245.248520710059 \tabularnewline
51 & 1677 & 1717.75147928994 & -40.7514792899409 \tabularnewline
52 & 1941 & 1717.75147928994 & 223.248520710059 \tabularnewline
53 & 2003 & 1717.75147928994 & 285.248520710059 \tabularnewline
54 & 1813 & 1717.75147928994 & 95.2485207100591 \tabularnewline
55 & 2012 & 1717.75147928994 & 294.248520710059 \tabularnewline
56 & 1912 & 1717.75147928994 & 194.248520710059 \tabularnewline
57 & 2084 & 1717.75147928994 & 366.248520710059 \tabularnewline
58 & 2080 & 1717.75147928994 & 362.248520710059 \tabularnewline
59 & 2118 & 1717.75147928994 & 400.248520710059 \tabularnewline
60 & 2150 & 1717.75147928994 & 432.248520710059 \tabularnewline
61 & 1608 & 1717.75147928994 & -109.751479289941 \tabularnewline
62 & 1503 & 1717.75147928994 & -214.751479289941 \tabularnewline
63 & 1548 & 1717.75147928994 & -169.751479289941 \tabularnewline
64 & 1382 & 1717.75147928994 & -335.751479289941 \tabularnewline
65 & 1731 & 1717.75147928994 & 13.2485207100591 \tabularnewline
66 & 1798 & 1717.75147928994 & 80.2485207100591 \tabularnewline
67 & 1779 & 1717.75147928994 & 61.2485207100591 \tabularnewline
68 & 1887 & 1717.75147928994 & 169.248520710059 \tabularnewline
69 & 2004 & 1717.75147928994 & 286.248520710059 \tabularnewline
70 & 2077 & 1717.75147928994 & 359.248520710059 \tabularnewline
71 & 2092 & 1717.75147928994 & 374.248520710059 \tabularnewline
72 & 2051 & 1717.75147928994 & 333.248520710059 \tabularnewline
73 & 1577 & 1717.75147928994 & -140.751479289941 \tabularnewline
74 & 1356 & 1717.75147928994 & -361.751479289941 \tabularnewline
75 & 1652 & 1717.75147928994 & -65.7514792899408 \tabularnewline
76 & 1382 & 1717.75147928994 & -335.751479289941 \tabularnewline
77 & 1519 & 1717.75147928994 & -198.751479289941 \tabularnewline
78 & 1421 & 1717.75147928994 & -296.751479289941 \tabularnewline
79 & 1442 & 1717.75147928994 & -275.751479289941 \tabularnewline
80 & 1543 & 1717.75147928994 & -174.751479289941 \tabularnewline
81 & 1656 & 1717.75147928994 & -61.7514792899409 \tabularnewline
82 & 1561 & 1717.75147928994 & -156.751479289941 \tabularnewline
83 & 1905 & 1717.75147928994 & 187.248520710059 \tabularnewline
84 & 2199 & 1717.75147928994 & 481.248520710059 \tabularnewline
85 & 1473 & 1717.75147928994 & -244.751479289941 \tabularnewline
86 & 1655 & 1717.75147928994 & -62.7514792899409 \tabularnewline
87 & 1407 & 1717.75147928994 & -310.751479289941 \tabularnewline
88 & 1395 & 1717.75147928994 & -322.751479289941 \tabularnewline
89 & 1530 & 1717.75147928994 & -187.751479289941 \tabularnewline
90 & 1309 & 1717.75147928994 & -408.751479289941 \tabularnewline
91 & 1526 & 1717.75147928994 & -191.751479289941 \tabularnewline
92 & 1327 & 1717.75147928994 & -390.751479289941 \tabularnewline
93 & 1627 & 1717.75147928994 & -90.7514792899409 \tabularnewline
94 & 1748 & 1717.75147928994 & 30.2485207100591 \tabularnewline
95 & 1958 & 1717.75147928994 & 240.248520710059 \tabularnewline
96 & 2274 & 1717.75147928994 & 556.248520710059 \tabularnewline
97 & 1648 & 1717.75147928994 & -69.7514792899408 \tabularnewline
98 & 1401 & 1717.75147928994 & -316.751479289941 \tabularnewline
99 & 1411 & 1717.75147928994 & -306.751479289941 \tabularnewline
100 & 1403 & 1717.75147928994 & -314.751479289941 \tabularnewline
101 & 1394 & 1717.75147928994 & -323.751479289941 \tabularnewline
102 & 1520 & 1717.75147928994 & -197.751479289941 \tabularnewline
103 & 1528 & 1717.75147928994 & -189.751479289941 \tabularnewline
104 & 1643 & 1717.75147928994 & -74.7514792899409 \tabularnewline
105 & 1515 & 1717.75147928994 & -202.751479289941 \tabularnewline
106 & 1685 & 1717.75147928994 & -32.7514792899409 \tabularnewline
107 & 2000 & 1717.75147928994 & 282.248520710059 \tabularnewline
108 & 2215 & 1717.75147928994 & 497.248520710059 \tabularnewline
109 & 1956 & 1717.75147928994 & 238.248520710059 \tabularnewline
110 & 1462 & 1717.75147928994 & -255.751479289941 \tabularnewline
111 & 1563 & 1717.75147928994 & -154.751479289941 \tabularnewline
112 & 1459 & 1717.75147928994 & -258.751479289941 \tabularnewline
113 & 1446 & 1717.75147928994 & -271.751479289941 \tabularnewline
114 & 1622 & 1717.75147928994 & -95.7514792899409 \tabularnewline
115 & 1657 & 1717.75147928994 & -60.7514792899409 \tabularnewline
116 & 1638 & 1717.75147928994 & -79.7514792899409 \tabularnewline
117 & 1643 & 1717.75147928994 & -74.7514792899409 \tabularnewline
118 & 1683 & 1717.75147928994 & -34.7514792899409 \tabularnewline
119 & 2050 & 1717.75147928994 & 332.248520710059 \tabularnewline
120 & 2262 & 1717.75147928994 & 544.248520710059 \tabularnewline
121 & 1813 & 1717.75147928994 & 95.2485207100591 \tabularnewline
122 & 1445 & 1717.75147928994 & -272.751479289941 \tabularnewline
123 & 1762 & 1717.75147928994 & 44.2485207100591 \tabularnewline
124 & 1461 & 1717.75147928994 & -256.751479289941 \tabularnewline
125 & 1556 & 1717.75147928994 & -161.751479289941 \tabularnewline
126 & 1431 & 1717.75147928994 & -286.751479289941 \tabularnewline
127 & 1427 & 1717.75147928994 & -290.751479289941 \tabularnewline
128 & 1554 & 1717.75147928994 & -163.751479289941 \tabularnewline
129 & 1645 & 1717.75147928994 & -72.7514792899409 \tabularnewline
130 & 1653 & 1717.75147928994 & -64.7514792899408 \tabularnewline
131 & 2016 & 1717.75147928994 & 298.248520710059 \tabularnewline
132 & 2207 & 1717.75147928994 & 489.248520710059 \tabularnewline
133 & 1665 & 1717.75147928994 & -52.7514792899409 \tabularnewline
134 & 1361 & 1717.75147928994 & -356.751479289941 \tabularnewline
135 & 1506 & 1717.75147928994 & -211.751479289941 \tabularnewline
136 & 1360 & 1717.75147928994 & -357.751479289941 \tabularnewline
137 & 1453 & 1717.75147928994 & -264.751479289941 \tabularnewline
138 & 1522 & 1717.75147928994 & -195.751479289941 \tabularnewline
139 & 1460 & 1717.75147928994 & -257.751479289941 \tabularnewline
140 & 1552 & 1717.75147928994 & -165.751479289941 \tabularnewline
141 & 1548 & 1717.75147928994 & -169.751479289941 \tabularnewline
142 & 1827 & 1717.75147928994 & 109.248520710059 \tabularnewline
143 & 1737 & 1717.75147928994 & 19.2485207100591 \tabularnewline
144 & 1941 & 1717.75147928994 & 223.248520710059 \tabularnewline
145 & 1474 & 1717.75147928994 & -243.751479289941 \tabularnewline
146 & 1458 & 1717.75147928994 & -259.751479289941 \tabularnewline
147 & 1542 & 1717.75147928994 & -175.751479289941 \tabularnewline
148 & 1404 & 1717.75147928994 & -313.751479289941 \tabularnewline
149 & 1522 & 1717.75147928994 & -195.751479289941 \tabularnewline
150 & 1385 & 1717.75147928994 & -332.751479289941 \tabularnewline
151 & 1641 & 1717.75147928994 & -76.7514792899409 \tabularnewline
152 & 1510 & 1717.75147928994 & -207.751479289941 \tabularnewline
153 & 1681 & 1717.75147928994 & -36.7514792899409 \tabularnewline
154 & 1938 & 1717.75147928994 & 220.248520710059 \tabularnewline
155 & 1868 & 1717.75147928994 & 150.248520710059 \tabularnewline
156 & 1726 & 1717.75147928994 & 8.24852071005914 \tabularnewline
157 & 1456 & 1717.75147928994 & -261.751479289941 \tabularnewline
158 & 1445 & 1717.75147928994 & -272.751479289941 \tabularnewline
159 & 1456 & 1717.75147928994 & -261.751479289941 \tabularnewline
160 & 1365 & 1717.75147928994 & -352.751479289941 \tabularnewline
161 & 1487 & 1717.75147928994 & -230.751479289941 \tabularnewline
162 & 1558 & 1717.75147928994 & -159.751479289941 \tabularnewline
163 & 1488 & 1717.75147928994 & -229.751479289941 \tabularnewline
164 & 1684 & 1717.75147928994 & -33.7514792899409 \tabularnewline
165 & 1594 & 1717.75147928994 & -123.751479289941 \tabularnewline
166 & 1850 & 1717.75147928994 & 132.248520710059 \tabularnewline
167 & 1998 & 1717.75147928994 & 280.248520710059 \tabularnewline
168 & 2079 & 1717.75147928994 & 361.248520710059 \tabularnewline
169 & 1494 & 1717.75147928994 & -223.751479289941 \tabularnewline
170 & 1057 & 1321.69565217391 & -264.695652173913 \tabularnewline
171 & 1218 & 1321.69565217391 & -103.695652173913 \tabularnewline
172 & 1168 & 1321.69565217391 & -153.695652173913 \tabularnewline
173 & 1236 & 1321.69565217391 & -85.695652173913 \tabularnewline
174 & 1076 & 1321.69565217391 & -245.695652173913 \tabularnewline
175 & 1174 & 1321.69565217391 & -147.695652173913 \tabularnewline
176 & 1139 & 1321.69565217391 & -182.695652173913 \tabularnewline
177 & 1427 & 1321.69565217391 & 105.304347826087 \tabularnewline
178 & 1487 & 1321.69565217391 & 165.304347826087 \tabularnewline
179 & 1483 & 1321.69565217391 & 161.304347826087 \tabularnewline
180 & 1513 & 1321.69565217391 & 191.304347826087 \tabularnewline
181 & 1357 & 1321.69565217391 & 35.3043478260869 \tabularnewline
182 & 1165 & 1321.69565217391 & -156.695652173913 \tabularnewline
183 & 1282 & 1321.69565217391 & -39.6956521739131 \tabularnewline
184 & 1110 & 1321.69565217391 & -211.695652173913 \tabularnewline
185 & 1297 & 1321.69565217391 & -24.6956521739131 \tabularnewline
186 & 1185 & 1321.69565217391 & -136.695652173913 \tabularnewline
187 & 1222 & 1321.69565217391 & -99.695652173913 \tabularnewline
188 & 1284 & 1321.69565217391 & -37.6956521739131 \tabularnewline
189 & 1444 & 1321.69565217391 & 122.304347826087 \tabularnewline
190 & 1575 & 1321.69565217391 & 253.304347826087 \tabularnewline
191 & 1737 & 1321.69565217391 & 415.304347826087 \tabularnewline
192 & 1763 & 1321.69565217391 & 441.304347826087 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5736&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]1717.75147928994[/C][C]-30.7514792899354[/C][/ROW]
[ROW][C]2[/C][C]1508[/C][C]1717.75147928994[/C][C]-209.751479289941[/C][/ROW]
[ROW][C]3[/C][C]1507[/C][C]1717.75147928994[/C][C]-210.751479289941[/C][/ROW]
[ROW][C]4[/C][C]1385[/C][C]1717.75147928994[/C][C]-332.751479289941[/C][/ROW]
[ROW][C]5[/C][C]1632[/C][C]1717.75147928994[/C][C]-85.7514792899409[/C][/ROW]
[ROW][C]6[/C][C]1511[/C][C]1717.75147928994[/C][C]-206.751479289941[/C][/ROW]
[ROW][C]7[/C][C]1559[/C][C]1717.75147928994[/C][C]-158.751479289941[/C][/ROW]
[ROW][C]8[/C][C]1630[/C][C]1717.75147928994[/C][C]-87.7514792899409[/C][/ROW]
[ROW][C]9[/C][C]1579[/C][C]1717.75147928994[/C][C]-138.751479289941[/C][/ROW]
[ROW][C]10[/C][C]1653[/C][C]1717.75147928994[/C][C]-64.7514792899408[/C][/ROW]
[ROW][C]11[/C][C]2152[/C][C]1717.75147928994[/C][C]434.248520710059[/C][/ROW]
[ROW][C]12[/C][C]2148[/C][C]1717.75147928994[/C][C]430.248520710059[/C][/ROW]
[ROW][C]13[/C][C]1752[/C][C]1717.75147928994[/C][C]34.2485207100591[/C][/ROW]
[ROW][C]14[/C][C]1765[/C][C]1717.75147928994[/C][C]47.2485207100591[/C][/ROW]
[ROW][C]15[/C][C]1717[/C][C]1717.75147928994[/C][C]-0.751479289940856[/C][/ROW]
[ROW][C]16[/C][C]1558[/C][C]1717.75147928994[/C][C]-159.751479289941[/C][/ROW]
[ROW][C]17[/C][C]1575[/C][C]1717.75147928994[/C][C]-142.751479289941[/C][/ROW]
[ROW][C]18[/C][C]1520[/C][C]1717.75147928994[/C][C]-197.751479289941[/C][/ROW]
[ROW][C]19[/C][C]1805[/C][C]1717.75147928994[/C][C]87.2485207100591[/C][/ROW]
[ROW][C]20[/C][C]1800[/C][C]1717.75147928994[/C][C]82.2485207100591[/C][/ROW]
[ROW][C]21[/C][C]1719[/C][C]1717.75147928994[/C][C]1.24852071005914[/C][/ROW]
[ROW][C]22[/C][C]2008[/C][C]1717.75147928994[/C][C]290.248520710059[/C][/ROW]
[ROW][C]23[/C][C]2242[/C][C]1717.75147928994[/C][C]524.248520710059[/C][/ROW]
[ROW][C]24[/C][C]2478[/C][C]1717.75147928994[/C][C]760.248520710059[/C][/ROW]
[ROW][C]25[/C][C]2030[/C][C]1717.75147928994[/C][C]312.248520710059[/C][/ROW]
[ROW][C]26[/C][C]1655[/C][C]1717.75147928994[/C][C]-62.7514792899409[/C][/ROW]
[ROW][C]27[/C][C]1693[/C][C]1717.75147928994[/C][C]-24.7514792899409[/C][/ROW]
[ROW][C]28[/C][C]1623[/C][C]1717.75147928994[/C][C]-94.7514792899409[/C][/ROW]
[ROW][C]29[/C][C]1805[/C][C]1717.75147928994[/C][C]87.2485207100591[/C][/ROW]
[ROW][C]30[/C][C]1746[/C][C]1717.75147928994[/C][C]28.2485207100591[/C][/ROW]
[ROW][C]31[/C][C]1795[/C][C]1717.75147928994[/C][C]77.2485207100591[/C][/ROW]
[ROW][C]32[/C][C]1926[/C][C]1717.75147928994[/C][C]208.248520710059[/C][/ROW]
[ROW][C]33[/C][C]1619[/C][C]1717.75147928994[/C][C]-98.7514792899409[/C][/ROW]
[ROW][C]34[/C][C]1992[/C][C]1717.75147928994[/C][C]274.248520710059[/C][/ROW]
[ROW][C]35[/C][C]2233[/C][C]1717.75147928994[/C][C]515.248520710059[/C][/ROW]
[ROW][C]36[/C][C]2192[/C][C]1717.75147928994[/C][C]474.248520710059[/C][/ROW]
[ROW][C]37[/C][C]2080[/C][C]1717.75147928994[/C][C]362.248520710059[/C][/ROW]
[ROW][C]38[/C][C]1768[/C][C]1717.75147928994[/C][C]50.2485207100591[/C][/ROW]
[ROW][C]39[/C][C]1835[/C][C]1717.75147928994[/C][C]117.248520710059[/C][/ROW]
[ROW][C]40[/C][C]1569[/C][C]1717.75147928994[/C][C]-148.751479289941[/C][/ROW]
[ROW][C]41[/C][C]1976[/C][C]1717.75147928994[/C][C]258.248520710059[/C][/ROW]
[ROW][C]42[/C][C]1853[/C][C]1717.75147928994[/C][C]135.248520710059[/C][/ROW]
[ROW][C]43[/C][C]1965[/C][C]1717.75147928994[/C][C]247.248520710059[/C][/ROW]
[ROW][C]44[/C][C]1689[/C][C]1717.75147928994[/C][C]-28.7514792899409[/C][/ROW]
[ROW][C]45[/C][C]1778[/C][C]1717.75147928994[/C][C]60.2485207100591[/C][/ROW]
[ROW][C]46[/C][C]1976[/C][C]1717.75147928994[/C][C]258.248520710059[/C][/ROW]
[ROW][C]47[/C][C]2397[/C][C]1717.75147928994[/C][C]679.248520710059[/C][/ROW]
[ROW][C]48[/C][C]2654[/C][C]1717.75147928994[/C][C]936.24852071006[/C][/ROW]
[ROW][C]49[/C][C]2097[/C][C]1717.75147928994[/C][C]379.248520710059[/C][/ROW]
[ROW][C]50[/C][C]1963[/C][C]1717.75147928994[/C][C]245.248520710059[/C][/ROW]
[ROW][C]51[/C][C]1677[/C][C]1717.75147928994[/C][C]-40.7514792899409[/C][/ROW]
[ROW][C]52[/C][C]1941[/C][C]1717.75147928994[/C][C]223.248520710059[/C][/ROW]
[ROW][C]53[/C][C]2003[/C][C]1717.75147928994[/C][C]285.248520710059[/C][/ROW]
[ROW][C]54[/C][C]1813[/C][C]1717.75147928994[/C][C]95.2485207100591[/C][/ROW]
[ROW][C]55[/C][C]2012[/C][C]1717.75147928994[/C][C]294.248520710059[/C][/ROW]
[ROW][C]56[/C][C]1912[/C][C]1717.75147928994[/C][C]194.248520710059[/C][/ROW]
[ROW][C]57[/C][C]2084[/C][C]1717.75147928994[/C][C]366.248520710059[/C][/ROW]
[ROW][C]58[/C][C]2080[/C][C]1717.75147928994[/C][C]362.248520710059[/C][/ROW]
[ROW][C]59[/C][C]2118[/C][C]1717.75147928994[/C][C]400.248520710059[/C][/ROW]
[ROW][C]60[/C][C]2150[/C][C]1717.75147928994[/C][C]432.248520710059[/C][/ROW]
[ROW][C]61[/C][C]1608[/C][C]1717.75147928994[/C][C]-109.751479289941[/C][/ROW]
[ROW][C]62[/C][C]1503[/C][C]1717.75147928994[/C][C]-214.751479289941[/C][/ROW]
[ROW][C]63[/C][C]1548[/C][C]1717.75147928994[/C][C]-169.751479289941[/C][/ROW]
[ROW][C]64[/C][C]1382[/C][C]1717.75147928994[/C][C]-335.751479289941[/C][/ROW]
[ROW][C]65[/C][C]1731[/C][C]1717.75147928994[/C][C]13.2485207100591[/C][/ROW]
[ROW][C]66[/C][C]1798[/C][C]1717.75147928994[/C][C]80.2485207100591[/C][/ROW]
[ROW][C]67[/C][C]1779[/C][C]1717.75147928994[/C][C]61.2485207100591[/C][/ROW]
[ROW][C]68[/C][C]1887[/C][C]1717.75147928994[/C][C]169.248520710059[/C][/ROW]
[ROW][C]69[/C][C]2004[/C][C]1717.75147928994[/C][C]286.248520710059[/C][/ROW]
[ROW][C]70[/C][C]2077[/C][C]1717.75147928994[/C][C]359.248520710059[/C][/ROW]
[ROW][C]71[/C][C]2092[/C][C]1717.75147928994[/C][C]374.248520710059[/C][/ROW]
[ROW][C]72[/C][C]2051[/C][C]1717.75147928994[/C][C]333.248520710059[/C][/ROW]
[ROW][C]73[/C][C]1577[/C][C]1717.75147928994[/C][C]-140.751479289941[/C][/ROW]
[ROW][C]74[/C][C]1356[/C][C]1717.75147928994[/C][C]-361.751479289941[/C][/ROW]
[ROW][C]75[/C][C]1652[/C][C]1717.75147928994[/C][C]-65.7514792899408[/C][/ROW]
[ROW][C]76[/C][C]1382[/C][C]1717.75147928994[/C][C]-335.751479289941[/C][/ROW]
[ROW][C]77[/C][C]1519[/C][C]1717.75147928994[/C][C]-198.751479289941[/C][/ROW]
[ROW][C]78[/C][C]1421[/C][C]1717.75147928994[/C][C]-296.751479289941[/C][/ROW]
[ROW][C]79[/C][C]1442[/C][C]1717.75147928994[/C][C]-275.751479289941[/C][/ROW]
[ROW][C]80[/C][C]1543[/C][C]1717.75147928994[/C][C]-174.751479289941[/C][/ROW]
[ROW][C]81[/C][C]1656[/C][C]1717.75147928994[/C][C]-61.7514792899409[/C][/ROW]
[ROW][C]82[/C][C]1561[/C][C]1717.75147928994[/C][C]-156.751479289941[/C][/ROW]
[ROW][C]83[/C][C]1905[/C][C]1717.75147928994[/C][C]187.248520710059[/C][/ROW]
[ROW][C]84[/C][C]2199[/C][C]1717.75147928994[/C][C]481.248520710059[/C][/ROW]
[ROW][C]85[/C][C]1473[/C][C]1717.75147928994[/C][C]-244.751479289941[/C][/ROW]
[ROW][C]86[/C][C]1655[/C][C]1717.75147928994[/C][C]-62.7514792899409[/C][/ROW]
[ROW][C]87[/C][C]1407[/C][C]1717.75147928994[/C][C]-310.751479289941[/C][/ROW]
[ROW][C]88[/C][C]1395[/C][C]1717.75147928994[/C][C]-322.751479289941[/C][/ROW]
[ROW][C]89[/C][C]1530[/C][C]1717.75147928994[/C][C]-187.751479289941[/C][/ROW]
[ROW][C]90[/C][C]1309[/C][C]1717.75147928994[/C][C]-408.751479289941[/C][/ROW]
[ROW][C]91[/C][C]1526[/C][C]1717.75147928994[/C][C]-191.751479289941[/C][/ROW]
[ROW][C]92[/C][C]1327[/C][C]1717.75147928994[/C][C]-390.751479289941[/C][/ROW]
[ROW][C]93[/C][C]1627[/C][C]1717.75147928994[/C][C]-90.7514792899409[/C][/ROW]
[ROW][C]94[/C][C]1748[/C][C]1717.75147928994[/C][C]30.2485207100591[/C][/ROW]
[ROW][C]95[/C][C]1958[/C][C]1717.75147928994[/C][C]240.248520710059[/C][/ROW]
[ROW][C]96[/C][C]2274[/C][C]1717.75147928994[/C][C]556.248520710059[/C][/ROW]
[ROW][C]97[/C][C]1648[/C][C]1717.75147928994[/C][C]-69.7514792899408[/C][/ROW]
[ROW][C]98[/C][C]1401[/C][C]1717.75147928994[/C][C]-316.751479289941[/C][/ROW]
[ROW][C]99[/C][C]1411[/C][C]1717.75147928994[/C][C]-306.751479289941[/C][/ROW]
[ROW][C]100[/C][C]1403[/C][C]1717.75147928994[/C][C]-314.751479289941[/C][/ROW]
[ROW][C]101[/C][C]1394[/C][C]1717.75147928994[/C][C]-323.751479289941[/C][/ROW]
[ROW][C]102[/C][C]1520[/C][C]1717.75147928994[/C][C]-197.751479289941[/C][/ROW]
[ROW][C]103[/C][C]1528[/C][C]1717.75147928994[/C][C]-189.751479289941[/C][/ROW]
[ROW][C]104[/C][C]1643[/C][C]1717.75147928994[/C][C]-74.7514792899409[/C][/ROW]
[ROW][C]105[/C][C]1515[/C][C]1717.75147928994[/C][C]-202.751479289941[/C][/ROW]
[ROW][C]106[/C][C]1685[/C][C]1717.75147928994[/C][C]-32.7514792899409[/C][/ROW]
[ROW][C]107[/C][C]2000[/C][C]1717.75147928994[/C][C]282.248520710059[/C][/ROW]
[ROW][C]108[/C][C]2215[/C][C]1717.75147928994[/C][C]497.248520710059[/C][/ROW]
[ROW][C]109[/C][C]1956[/C][C]1717.75147928994[/C][C]238.248520710059[/C][/ROW]
[ROW][C]110[/C][C]1462[/C][C]1717.75147928994[/C][C]-255.751479289941[/C][/ROW]
[ROW][C]111[/C][C]1563[/C][C]1717.75147928994[/C][C]-154.751479289941[/C][/ROW]
[ROW][C]112[/C][C]1459[/C][C]1717.75147928994[/C][C]-258.751479289941[/C][/ROW]
[ROW][C]113[/C][C]1446[/C][C]1717.75147928994[/C][C]-271.751479289941[/C][/ROW]
[ROW][C]114[/C][C]1622[/C][C]1717.75147928994[/C][C]-95.7514792899409[/C][/ROW]
[ROW][C]115[/C][C]1657[/C][C]1717.75147928994[/C][C]-60.7514792899409[/C][/ROW]
[ROW][C]116[/C][C]1638[/C][C]1717.75147928994[/C][C]-79.7514792899409[/C][/ROW]
[ROW][C]117[/C][C]1643[/C][C]1717.75147928994[/C][C]-74.7514792899409[/C][/ROW]
[ROW][C]118[/C][C]1683[/C][C]1717.75147928994[/C][C]-34.7514792899409[/C][/ROW]
[ROW][C]119[/C][C]2050[/C][C]1717.75147928994[/C][C]332.248520710059[/C][/ROW]
[ROW][C]120[/C][C]2262[/C][C]1717.75147928994[/C][C]544.248520710059[/C][/ROW]
[ROW][C]121[/C][C]1813[/C][C]1717.75147928994[/C][C]95.2485207100591[/C][/ROW]
[ROW][C]122[/C][C]1445[/C][C]1717.75147928994[/C][C]-272.751479289941[/C][/ROW]
[ROW][C]123[/C][C]1762[/C][C]1717.75147928994[/C][C]44.2485207100591[/C][/ROW]
[ROW][C]124[/C][C]1461[/C][C]1717.75147928994[/C][C]-256.751479289941[/C][/ROW]
[ROW][C]125[/C][C]1556[/C][C]1717.75147928994[/C][C]-161.751479289941[/C][/ROW]
[ROW][C]126[/C][C]1431[/C][C]1717.75147928994[/C][C]-286.751479289941[/C][/ROW]
[ROW][C]127[/C][C]1427[/C][C]1717.75147928994[/C][C]-290.751479289941[/C][/ROW]
[ROW][C]128[/C][C]1554[/C][C]1717.75147928994[/C][C]-163.751479289941[/C][/ROW]
[ROW][C]129[/C][C]1645[/C][C]1717.75147928994[/C][C]-72.7514792899409[/C][/ROW]
[ROW][C]130[/C][C]1653[/C][C]1717.75147928994[/C][C]-64.7514792899408[/C][/ROW]
[ROW][C]131[/C][C]2016[/C][C]1717.75147928994[/C][C]298.248520710059[/C][/ROW]
[ROW][C]132[/C][C]2207[/C][C]1717.75147928994[/C][C]489.248520710059[/C][/ROW]
[ROW][C]133[/C][C]1665[/C][C]1717.75147928994[/C][C]-52.7514792899409[/C][/ROW]
[ROW][C]134[/C][C]1361[/C][C]1717.75147928994[/C][C]-356.751479289941[/C][/ROW]
[ROW][C]135[/C][C]1506[/C][C]1717.75147928994[/C][C]-211.751479289941[/C][/ROW]
[ROW][C]136[/C][C]1360[/C][C]1717.75147928994[/C][C]-357.751479289941[/C][/ROW]
[ROW][C]137[/C][C]1453[/C][C]1717.75147928994[/C][C]-264.751479289941[/C][/ROW]
[ROW][C]138[/C][C]1522[/C][C]1717.75147928994[/C][C]-195.751479289941[/C][/ROW]
[ROW][C]139[/C][C]1460[/C][C]1717.75147928994[/C][C]-257.751479289941[/C][/ROW]
[ROW][C]140[/C][C]1552[/C][C]1717.75147928994[/C][C]-165.751479289941[/C][/ROW]
[ROW][C]141[/C][C]1548[/C][C]1717.75147928994[/C][C]-169.751479289941[/C][/ROW]
[ROW][C]142[/C][C]1827[/C][C]1717.75147928994[/C][C]109.248520710059[/C][/ROW]
[ROW][C]143[/C][C]1737[/C][C]1717.75147928994[/C][C]19.2485207100591[/C][/ROW]
[ROW][C]144[/C][C]1941[/C][C]1717.75147928994[/C][C]223.248520710059[/C][/ROW]
[ROW][C]145[/C][C]1474[/C][C]1717.75147928994[/C][C]-243.751479289941[/C][/ROW]
[ROW][C]146[/C][C]1458[/C][C]1717.75147928994[/C][C]-259.751479289941[/C][/ROW]
[ROW][C]147[/C][C]1542[/C][C]1717.75147928994[/C][C]-175.751479289941[/C][/ROW]
[ROW][C]148[/C][C]1404[/C][C]1717.75147928994[/C][C]-313.751479289941[/C][/ROW]
[ROW][C]149[/C][C]1522[/C][C]1717.75147928994[/C][C]-195.751479289941[/C][/ROW]
[ROW][C]150[/C][C]1385[/C][C]1717.75147928994[/C][C]-332.751479289941[/C][/ROW]
[ROW][C]151[/C][C]1641[/C][C]1717.75147928994[/C][C]-76.7514792899409[/C][/ROW]
[ROW][C]152[/C][C]1510[/C][C]1717.75147928994[/C][C]-207.751479289941[/C][/ROW]
[ROW][C]153[/C][C]1681[/C][C]1717.75147928994[/C][C]-36.7514792899409[/C][/ROW]
[ROW][C]154[/C][C]1938[/C][C]1717.75147928994[/C][C]220.248520710059[/C][/ROW]
[ROW][C]155[/C][C]1868[/C][C]1717.75147928994[/C][C]150.248520710059[/C][/ROW]
[ROW][C]156[/C][C]1726[/C][C]1717.75147928994[/C][C]8.24852071005914[/C][/ROW]
[ROW][C]157[/C][C]1456[/C][C]1717.75147928994[/C][C]-261.751479289941[/C][/ROW]
[ROW][C]158[/C][C]1445[/C][C]1717.75147928994[/C][C]-272.751479289941[/C][/ROW]
[ROW][C]159[/C][C]1456[/C][C]1717.75147928994[/C][C]-261.751479289941[/C][/ROW]
[ROW][C]160[/C][C]1365[/C][C]1717.75147928994[/C][C]-352.751479289941[/C][/ROW]
[ROW][C]161[/C][C]1487[/C][C]1717.75147928994[/C][C]-230.751479289941[/C][/ROW]
[ROW][C]162[/C][C]1558[/C][C]1717.75147928994[/C][C]-159.751479289941[/C][/ROW]
[ROW][C]163[/C][C]1488[/C][C]1717.75147928994[/C][C]-229.751479289941[/C][/ROW]
[ROW][C]164[/C][C]1684[/C][C]1717.75147928994[/C][C]-33.7514792899409[/C][/ROW]
[ROW][C]165[/C][C]1594[/C][C]1717.75147928994[/C][C]-123.751479289941[/C][/ROW]
[ROW][C]166[/C][C]1850[/C][C]1717.75147928994[/C][C]132.248520710059[/C][/ROW]
[ROW][C]167[/C][C]1998[/C][C]1717.75147928994[/C][C]280.248520710059[/C][/ROW]
[ROW][C]168[/C][C]2079[/C][C]1717.75147928994[/C][C]361.248520710059[/C][/ROW]
[ROW][C]169[/C][C]1494[/C][C]1717.75147928994[/C][C]-223.751479289941[/C][/ROW]
[ROW][C]170[/C][C]1057[/C][C]1321.69565217391[/C][C]-264.695652173913[/C][/ROW]
[ROW][C]171[/C][C]1218[/C][C]1321.69565217391[/C][C]-103.695652173913[/C][/ROW]
[ROW][C]172[/C][C]1168[/C][C]1321.69565217391[/C][C]-153.695652173913[/C][/ROW]
[ROW][C]173[/C][C]1236[/C][C]1321.69565217391[/C][C]-85.695652173913[/C][/ROW]
[ROW][C]174[/C][C]1076[/C][C]1321.69565217391[/C][C]-245.695652173913[/C][/ROW]
[ROW][C]175[/C][C]1174[/C][C]1321.69565217391[/C][C]-147.695652173913[/C][/ROW]
[ROW][C]176[/C][C]1139[/C][C]1321.69565217391[/C][C]-182.695652173913[/C][/ROW]
[ROW][C]177[/C][C]1427[/C][C]1321.69565217391[/C][C]105.304347826087[/C][/ROW]
[ROW][C]178[/C][C]1487[/C][C]1321.69565217391[/C][C]165.304347826087[/C][/ROW]
[ROW][C]179[/C][C]1483[/C][C]1321.69565217391[/C][C]161.304347826087[/C][/ROW]
[ROW][C]180[/C][C]1513[/C][C]1321.69565217391[/C][C]191.304347826087[/C][/ROW]
[ROW][C]181[/C][C]1357[/C][C]1321.69565217391[/C][C]35.3043478260869[/C][/ROW]
[ROW][C]182[/C][C]1165[/C][C]1321.69565217391[/C][C]-156.695652173913[/C][/ROW]
[ROW][C]183[/C][C]1282[/C][C]1321.69565217391[/C][C]-39.6956521739131[/C][/ROW]
[ROW][C]184[/C][C]1110[/C][C]1321.69565217391[/C][C]-211.695652173913[/C][/ROW]
[ROW][C]185[/C][C]1297[/C][C]1321.69565217391[/C][C]-24.6956521739131[/C][/ROW]
[ROW][C]186[/C][C]1185[/C][C]1321.69565217391[/C][C]-136.695652173913[/C][/ROW]
[ROW][C]187[/C][C]1222[/C][C]1321.69565217391[/C][C]-99.695652173913[/C][/ROW]
[ROW][C]188[/C][C]1284[/C][C]1321.69565217391[/C][C]-37.6956521739131[/C][/ROW]
[ROW][C]189[/C][C]1444[/C][C]1321.69565217391[/C][C]122.304347826087[/C][/ROW]
[ROW][C]190[/C][C]1575[/C][C]1321.69565217391[/C][C]253.304347826087[/C][/ROW]
[ROW][C]191[/C][C]1737[/C][C]1321.69565217391[/C][C]415.304347826087[/C][/ROW]
[ROW][C]192[/C][C]1763[/C][C]1321.69565217391[/C][C]441.304347826087[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5736&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5736&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
116871717.75147928994-30.7514792899354
215081717.75147928994-209.751479289941
315071717.75147928994-210.751479289941
413851717.75147928994-332.751479289941
516321717.75147928994-85.7514792899409
615111717.75147928994-206.751479289941
715591717.75147928994-158.751479289941
816301717.75147928994-87.7514792899409
915791717.75147928994-138.751479289941
1016531717.75147928994-64.7514792899408
1121521717.75147928994434.248520710059
1221481717.75147928994430.248520710059
1317521717.7514792899434.2485207100591
1417651717.7514792899447.2485207100591
1517171717.75147928994-0.751479289940856
1615581717.75147928994-159.751479289941
1715751717.75147928994-142.751479289941
1815201717.75147928994-197.751479289941
1918051717.7514792899487.2485207100591
2018001717.7514792899482.2485207100591
2117191717.751479289941.24852071005914
2220081717.75147928994290.248520710059
2322421717.75147928994524.248520710059
2424781717.75147928994760.248520710059
2520301717.75147928994312.248520710059
2616551717.75147928994-62.7514792899409
2716931717.75147928994-24.7514792899409
2816231717.75147928994-94.7514792899409
2918051717.7514792899487.2485207100591
3017461717.7514792899428.2485207100591
3117951717.7514792899477.2485207100591
3219261717.75147928994208.248520710059
3316191717.75147928994-98.7514792899409
3419921717.75147928994274.248520710059
3522331717.75147928994515.248520710059
3621921717.75147928994474.248520710059
3720801717.75147928994362.248520710059
3817681717.7514792899450.2485207100591
3918351717.75147928994117.248520710059
4015691717.75147928994-148.751479289941
4119761717.75147928994258.248520710059
4218531717.75147928994135.248520710059
4319651717.75147928994247.248520710059
4416891717.75147928994-28.7514792899409
4517781717.7514792899460.2485207100591
4619761717.75147928994258.248520710059
4723971717.75147928994679.248520710059
4826541717.75147928994936.24852071006
4920971717.75147928994379.248520710059
5019631717.75147928994245.248520710059
5116771717.75147928994-40.7514792899409
5219411717.75147928994223.248520710059
5320031717.75147928994285.248520710059
5418131717.7514792899495.2485207100591
5520121717.75147928994294.248520710059
5619121717.75147928994194.248520710059
5720841717.75147928994366.248520710059
5820801717.75147928994362.248520710059
5921181717.75147928994400.248520710059
6021501717.75147928994432.248520710059
6116081717.75147928994-109.751479289941
6215031717.75147928994-214.751479289941
6315481717.75147928994-169.751479289941
6413821717.75147928994-335.751479289941
6517311717.7514792899413.2485207100591
6617981717.7514792899480.2485207100591
6717791717.7514792899461.2485207100591
6818871717.75147928994169.248520710059
6920041717.75147928994286.248520710059
7020771717.75147928994359.248520710059
7120921717.75147928994374.248520710059
7220511717.75147928994333.248520710059
7315771717.75147928994-140.751479289941
7413561717.75147928994-361.751479289941
7516521717.75147928994-65.7514792899408
7613821717.75147928994-335.751479289941
7715191717.75147928994-198.751479289941
7814211717.75147928994-296.751479289941
7914421717.75147928994-275.751479289941
8015431717.75147928994-174.751479289941
8116561717.75147928994-61.7514792899409
8215611717.75147928994-156.751479289941
8319051717.75147928994187.248520710059
8421991717.75147928994481.248520710059
8514731717.75147928994-244.751479289941
8616551717.75147928994-62.7514792899409
8714071717.75147928994-310.751479289941
8813951717.75147928994-322.751479289941
8915301717.75147928994-187.751479289941
9013091717.75147928994-408.751479289941
9115261717.75147928994-191.751479289941
9213271717.75147928994-390.751479289941
9316271717.75147928994-90.7514792899409
9417481717.7514792899430.2485207100591
9519581717.75147928994240.248520710059
9622741717.75147928994556.248520710059
9716481717.75147928994-69.7514792899408
9814011717.75147928994-316.751479289941
9914111717.75147928994-306.751479289941
10014031717.75147928994-314.751479289941
10113941717.75147928994-323.751479289941
10215201717.75147928994-197.751479289941
10315281717.75147928994-189.751479289941
10416431717.75147928994-74.7514792899409
10515151717.75147928994-202.751479289941
10616851717.75147928994-32.7514792899409
10720001717.75147928994282.248520710059
10822151717.75147928994497.248520710059
10919561717.75147928994238.248520710059
11014621717.75147928994-255.751479289941
11115631717.75147928994-154.751479289941
11214591717.75147928994-258.751479289941
11314461717.75147928994-271.751479289941
11416221717.75147928994-95.7514792899409
11516571717.75147928994-60.7514792899409
11616381717.75147928994-79.7514792899409
11716431717.75147928994-74.7514792899409
11816831717.75147928994-34.7514792899409
11920501717.75147928994332.248520710059
12022621717.75147928994544.248520710059
12118131717.7514792899495.2485207100591
12214451717.75147928994-272.751479289941
12317621717.7514792899444.2485207100591
12414611717.75147928994-256.751479289941
12515561717.75147928994-161.751479289941
12614311717.75147928994-286.751479289941
12714271717.75147928994-290.751479289941
12815541717.75147928994-163.751479289941
12916451717.75147928994-72.7514792899409
13016531717.75147928994-64.7514792899408
13120161717.75147928994298.248520710059
13222071717.75147928994489.248520710059
13316651717.75147928994-52.7514792899409
13413611717.75147928994-356.751479289941
13515061717.75147928994-211.751479289941
13613601717.75147928994-357.751479289941
13714531717.75147928994-264.751479289941
13815221717.75147928994-195.751479289941
13914601717.75147928994-257.751479289941
14015521717.75147928994-165.751479289941
14115481717.75147928994-169.751479289941
14218271717.75147928994109.248520710059
14317371717.7514792899419.2485207100591
14419411717.75147928994223.248520710059
14514741717.75147928994-243.751479289941
14614581717.75147928994-259.751479289941
14715421717.75147928994-175.751479289941
14814041717.75147928994-313.751479289941
14915221717.75147928994-195.751479289941
15013851717.75147928994-332.751479289941
15116411717.75147928994-76.7514792899409
15215101717.75147928994-207.751479289941
15316811717.75147928994-36.7514792899409
15419381717.75147928994220.248520710059
15518681717.75147928994150.248520710059
15617261717.751479289948.24852071005914
15714561717.75147928994-261.751479289941
15814451717.75147928994-272.751479289941
15914561717.75147928994-261.751479289941
16013651717.75147928994-352.751479289941
16114871717.75147928994-230.751479289941
16215581717.75147928994-159.751479289941
16314881717.75147928994-229.751479289941
16416841717.75147928994-33.7514792899409
16515941717.75147928994-123.751479289941
16618501717.75147928994132.248520710059
16719981717.75147928994280.248520710059
16820791717.75147928994361.248520710059
16914941717.75147928994-223.751479289941
17010571321.69565217391-264.695652173913
17112181321.69565217391-103.695652173913
17211681321.69565217391-153.695652173913
17312361321.69565217391-85.695652173913
17410761321.69565217391-245.695652173913
17511741321.69565217391-147.695652173913
17611391321.69565217391-182.695652173913
17714271321.69565217391105.304347826087
17814871321.69565217391165.304347826087
17914831321.69565217391161.304347826087
18015131321.69565217391191.304347826087
18113571321.6956521739135.3043478260869
18211651321.69565217391-156.695652173913
18312821321.69565217391-39.6956521739131
18411101321.69565217391-211.695652173913
18512971321.69565217391-24.6956521739131
18611851321.69565217391-136.695652173913
18712221321.69565217391-99.695652173913
18812841321.69565217391-37.6956521739131
18914441321.69565217391122.304347826087
19015751321.69565217391253.304347826087
19117371321.69565217391415.304347826087
19217631321.69565217391441.304347826087



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