<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>econometrics Archives - KDD Analytics</title>
	<atom:link href="https://www.kddanalytics.com/tag/econometrics/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kddanalytics.com/tag/econometrics/</link>
	<description>Data to Decisions</description>
	<lastBuildDate>Sat, 24 Mar 2018 02:54:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2016/08/cropped-imageedit_1_7939659602.png?fit=32%2C32&#038;ssl=1</url>
	<title>econometrics Archives - KDD Analytics</title>
	<link>https://www.kddanalytics.com/tag/econometrics/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114932494</site>	<item>
		<title>Practical Time Series Forecasting – Some Basics</title>
		<link>https://www.kddanalytics.com/practical-time-series-forecasting-basics/</link>
		
		<dc:creator><![CDATA[KDD]]></dc:creator>
		<pubDate>Mon, 11 Dec 2017 02:50:12 +0000</pubDate>
				<category><![CDATA[Data Analytics Methods]]></category>
		<category><![CDATA[Econometrics]]></category>
		<category><![CDATA[Forecasting]]></category>
		<category><![CDATA[Time Series]]></category>
		<category><![CDATA[ARIMA]]></category>
		<category><![CDATA[econometrics]]></category>
		<category><![CDATA[forecasting]]></category>
		<category><![CDATA[regression]]></category>
		<category><![CDATA[time series]]></category>
		<guid isPermaLink="false">http://www.kddanalytics.com/?p=1198</guid>

					<description><![CDATA[<p>“The long run is a misleading guide to current affairs. In the long run we are all dead.” ― John Maynard Keynes, A Tract on Monetary Reform Forecasting the future is an exercise in uncertainty. And the further out one looks, the more uncertain the forecast becomes. Most businesses are keenly focused on the next&#8230;</p>
<p>The post <a href="https://www.kddanalytics.com/practical-time-series-forecasting-basics/">Practical Time Series Forecasting – Some Basics</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>“The long run is a misleading guide to current affairs. In the long run we are all dead.”<br />
― <a href="https://www.goodreads.com/author/show/159357.John_Maynard_Keynes"><strong>John Maynard Keynes</strong></a><strong>, <a href="https://www.goodreads.com/work/quotes/358282">A Tract on Monetary Reform</a></strong></p>
<p>Forecasting the future is an exercise in uncertainty. And the further out one looks, the more uncertain the forecast becomes.</p>
<p>Most businesses are keenly focused on the next quarter, 6 months, year or at most next few years. Hence, <strong>our focus in this series is on time series methods for “short-run” forecasting.</strong></p>
<h3>The nature of time series</h3>
<p>We are all familiar with charts like this:</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-1206 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/Low-variation-time-series.png?resize=615%2C386&#038;ssl=1" alt="Low variation time series" width="615" height="386" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/Low-variation-time-series.png?w=615&amp;ssl=1 615w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/Low-variation-time-series.png?resize=300%2C188&amp;ssl=1 300w" sizes="auto, (max-width: 615px) 100vw, 615px" /></p>
<p>showing a sequence of numbers ordered by time, across equally spaced periods of time. That is, a &#8220;<strong><a href="https://en.wikipedia.org/wiki/Time_series" target="_blank" rel="noopener">time series&#8221;</a></strong> (e.g. closing stock price per day, sales per month, GDP per quarter, average global temperature per year).</p>
<p>Some time series exhibit little variability (up/down) from time period to time period (except for an overall trend) like the one above.</p>
<p>Others exhibit considerable variability across time with a much less apparent trend, like this:</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-1204 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/High-variation-time-series.png?resize=615%2C384&#038;ssl=1" alt="High variation time series" width="615" height="384" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/High-variation-time-series.png?w=615&amp;ssl=1 615w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/High-variation-time-series.png?resize=300%2C187&amp;ssl=1 300w" sizes="auto, (max-width: 615px) 100vw, 615px" /></p>
<p>An oftentimes <strong>unique characteristic</strong> of time series data, relative to non-time series data, is that <strong>successive values are not independent of each other</strong>. Although it may not be apparent from looking at a chart, today’s value is usually related in some way to yesterday’s value. And possibly to that of the day and/or several days before. This makes time series model estimation more complicated than in other areas.</p>
<p>A time series chart holds a unique fascination for us. Because we are constantly aware of the progression of time, our natural reaction when we see such charts is, <strong>&#8220;I wonder what&#8217;s going to happen next?&#8221;</strong></p>
<h3>Components of a time series</h3>
<p>A successful forecasting model will account for each of <strong>3 components</strong> that may exist in a time series: <strong>trend, seasonality and cycles</strong>.</p>
<h4>Trend</h4>
<p><strong>Trend</strong>, when present, can be (but not always) visually apparent. For example, US real GDP (below) exhibits a persistent upward trend since the Great Depression.</p>
<p>Trend is a long-run phenomenon and reflects, in business, “slowly evolving preferences, technologies, institutions and demographics.” (<a href="https://www.amazon.com/Elements-Forecasting-4th-Fourth-byDiebold/dp/B004UW0PA4/ref=sr_1_2?ie=UTF8&amp;qid=1512495766&amp;sr=8-2&amp;keywords=diebold%2C+elements+of+forecasting" target="_blank" rel="noopener"><strong>Diebold, Elements of Forecasting</strong></a>)</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-1211 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/US-Real-GDP.png?resize=604%2C371&#038;ssl=1" alt="US Real GDP" width="604" height="371" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/US-Real-GDP.png?w=604&amp;ssl=1 604w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/US-Real-GDP.png?resize=300%2C184&amp;ssl=1 300w" sizes="auto, (max-width: 604px) 100vw, 604px" /></p>
<p>Trend comes in two flavors.</p>
<p>If GDP, for example, was knocked off its long-run growth path by a recession but returned to the same path afterwards, then trend is said to be &#8220;<strong>deterministic</strong>.&#8221; Adding a TIME dimension to a model can go a long way to capturing such “deterministic” trend.</p>
<p>On the other hand, if GDP started a new growth path after the recession, then trend is said to be &#8220;<strong>stochastic</strong>.&#8221;</p>
<p><strong> This distinction</strong> (between deterministic and stochastic trend) has <strong>important</strong> modeling and forecasting <strong>consequences</strong> which we will address in a later article.</p>
<h4>Seasonality</h4>
<p>A seasonal pattern <strong>repeats with calendar regularity</strong>.</p>
<p>The annual uptick in sales that occur during the November and December holiday season is an example. Higher airline passenger counts during the summer months is another example (see below). Adding seasonal indicators (<a href="https://en.wikipedia.org/wiki/Dummy_variable_(statistics)">&#8220;<strong>dummy variables</strong></a>&#8220;) to a model can capture such seasonality.</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-1212 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/US-Enplanements.png?resize=604%2C371&#038;ssl=1" alt="US Enplanements" width="604" height="371" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/US-Enplanements.png?w=604&amp;ssl=1 604w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/US-Enplanements.png?resize=300%2C184&amp;ssl=1 300w" sizes="auto, (max-width: 604px) 100vw, 604px" /></p>
<h4>Cycles</h4>
<p>A cyclic component can also be present. <strong>Cycles are much less rigid than seasonal patterns</strong>. One example is the business cycle, from a recession low to an expansion high.</p>
<p>A time series can contain one cycle (e.g. the daily cycle of body temperature) or multiple cycles (e.g. bicycle traffic patterns can exhibit daily, weekly and annual cycles). More broadly, <strong>a cyclic component is any dynamic not accounted for by trend or seasonality</strong>.</p>
<p>Modeling cycles takes us into the world of <a href="https://en.wikipedia.org/wiki/Autoregressive%E2%80%93moving-average_model"><strong>ARMA</strong></a> and <a href="https://en.wikipedia.org/wiki/Autoregressive_integrated_moving_average"><strong>ARIMA</strong></a> models which we&#8217;ll cover later.</p>
<h3>Methods for forecasting</h3>
<p>There are numerous methods for forecasting a time series, ranging from simple to complex.</p>
<h4>Simple</h4>
<p>The simplest is some type of <strong>smoothing</strong> routine, like <a href="https://en.wikipedia.org/wiki/Moving_average" target="_blank" rel="noopener"><strong>moving averages</strong></a> or <a href="https://en.wikipedia.org/wiki/Exponential_smoothing" target="_blank" rel="noopener"><strong>exponential smoothing</strong></a>. <strong>Moving averages</strong> , especially a 200-day moving average, are commonly used in technical analysis of stock price movements:</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-1215 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/200-Day-MAV.png?resize=554%2C464&#038;ssl=1" alt="" width="554" height="464" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/200-Day-MAV.png?w=554&amp;ssl=1 554w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2017/12/200-Day-MAV.png?resize=300%2C251&amp;ssl=1 300w" sizes="auto, (max-width: 554px) 100vw, 554px" /></p>
<h4>Complex</h4>
<p>More complex <a href="https://en.wikipedia.org/wiki/Econometric_model"><strong>econometric</strong></a> methods seek to model the relationship between, say, sales over time, and several dimensions that could affect sales, such as advertising spending.</p>
<p>Econometric models can consist of <strong>multiple interrelated equations</strong> (one for sales, one for ad spending) which would be estimated jointly, typically using a multiple regression methodology. <a href="https://en.wikipedia.org/wiki/Macroeconomic_model"><strong>Such models</strong></a> are used to model the US economy and to generate <strong>long-run forecasts</strong> of macroeconomic variables such as GDP and employment.</p>
<p>Also on the sophisticated end of the spectrum are techniques like <a href="https://en.wikipedia.org/wiki/Spectral_density#Explanation" target="_blank" rel="noopener"><strong>spectral analysis</strong></a>, <a href="https://en.wikipedia.org/wiki/Deep_learning"><strong>deep learning</strong></a> and <a href="https://en.wikipedia.org/wiki/Artificial_neural_network"><strong>neural networks</strong></a>. These methods require an <strong>elevated level of expertise</strong> on the part of a data scientist to implement and fine tune the models.</p>
<h4>Middle of the road</h4>
<p>In between the simpler and more complex forecasting methods is what we refer to as “<strong>time series methods</strong>.” These methods primarily <strong>rely on</strong> (but not always) the<strong> series’ historical behavior to inform the future</strong>. “<a href="http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc44.htm"><strong>Univariate modeling</strong></a>” is sometimes used to describe these methods.</p>
<p>A distinguishing feature of time series methods is that they <strong>explicitly account for the key characteristics of a time series</strong>: trend, seasonality and cycles.</p>
<p>The <strong>workhorses </strong>of time series methods are single equation, <a href="https://en.wikipedia.org/wiki/Least_squares"><strong>least squares</strong></a> regression and <a href="https://en.wikipedia.org/wiki/Autoregressive_integrated_moving_average"><strong>ARIMA</strong></a> models.</p>
<p>Least squares regression models can use a TIME trend, seasonal indicators and either lagged values of the series being modeled or an ARMA representation of the cyclic component to model a time series. They can also include other related lagged variables (e.g., advertising expenditures in a SALES forecasting model) but usually only if the lags are long.</p>
<p>If the trend of the series is “stochastic” (i.e. when the series is bumped off its trend path, it starts a new trend path), then ARIMA models may provide the best forecast.</p>
<h3>Back to the short-run</h3>
<p>The <strong>time series methods we will cover</strong> in this series of articles use the estimated dynamics and trend of the series to forecast a future path over the &#8220;<strong>forecast horizon</strong>.&#8221;</p>
<p>But since the <strong>forecasts will</strong> most likely ultimately <strong>revert to the underlying trend in the series</strong>, the best use of these time series methods is for <strong>&#8220;short-run&#8221; </strong>forecasts.</p>
<p>Although there is a more &#8220;technical&#8221; definition based on the type of model used, we <strong>generally define the &#8220;short run&#8221;</strong> as the <strong>period of time</strong> that <strong>matches <span style="text-decoration: underline;">most</span> business&#8217; forecast needs</strong>.  So, we are talking about anywhere from the next day to the next few years.</p>
<a class="dpsp-click-to-tweet dpsp-style-1" href="https://twitter.com/intent/tweet?text=%E2%80%9CThe+long+run+is+a+misleading+guide+to+current+affairs&url=https%3A%2F%2Fwww.kddanalytics.com%2Fpractical-time-series-forecasting-basics%2F"><div class="dpsp-click-to-tweet-content">“The long run is a misleading guide to current affairs</div><div class="dpsp-click-to-tweet-footer"><span class="dpsp-click-to-tweet-cta"><span>Click to Tweet</span><i class="dpsp-network-btn dpsp-twitter"><span class="dpsp-network-icon"></span></i></span></div></a>
<p><a href="https://www.kddanalytics.com/practical-time-series-forecasting-introduction/" target="_blank" rel="noopener"><strong>Part 1 &#8211; Practical Time Series Forecasting &#8211; Introduction</strong></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.kddanalytics.com/practical-time-series-forecasting-basics/">Practical Time Series Forecasting – Some Basics</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1198</post-id>	</item>
		<item>
		<title>Practical Time Series Forecasting &#8211; Introduction</title>
		<link>https://www.kddanalytics.com/practical-time-series-forecasting-introduction/</link>
		
		<dc:creator><![CDATA[KDD]]></dc:creator>
		<pubDate>Mon, 04 Dec 2017 18:21:01 +0000</pubDate>
				<category><![CDATA[Data Analysis]]></category>
		<category><![CDATA[Data Analytics Methods]]></category>
		<category><![CDATA[Econometrics]]></category>
		<category><![CDATA[Forecasting]]></category>
		<category><![CDATA[Time Series]]></category>
		<category><![CDATA[ARIMA]]></category>
		<category><![CDATA[econometrics]]></category>
		<category><![CDATA[forecasting]]></category>
		<category><![CDATA[regression]]></category>
		<category><![CDATA[time series]]></category>
		<guid isPermaLink="false">http://www.kddanalytics.com/?p=1183</guid>

					<description><![CDATA[<p>“The only thing I cannot predict is the future.” ― Amit Trivedi, Riding The Roller Coaster: Lessons from financial market cycles we repeatedly forget It goes without saying that every business is keenly interested in knowing what the future will bring. Will sales grow next year? By how much? Will suppliers increase their prices? How&#8230;</p>
<p>The post <a href="https://www.kddanalytics.com/practical-time-series-forecasting-introduction/">Practical Time Series Forecasting &#8211; Introduction</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>“<em>The only thing I cannot predict is the future.</em>”<br />
― <strong><a href="https://www.goodreads.com/author/show/14241127.Amit_Trivedi" target="_blank" rel="noopener">Amit Trivedi</a>, <a href="https://www.goodreads.com/work/quotes/46159495" target="_blank" rel="noopener">Riding The Roller Coaster: Lessons from financial market cycles we repeatedly forget</a></strong></p>
<p>It goes without saying that every business is keenly interested in knowing what the future will bring.</p>
<p>Will sales grow next year? By how much? Will suppliers increase their prices? How fast will be the adoption of a new IoT product? How much warehouse capacity is needed for the next holiday period? Will some international event plunge the global economy into a recession?</p>
<p><strong>Predicting the future is an exercise in probability rather than certainty</strong>. Businesses engage in various levels of sophistication in trying to bound the likelihood of future states to support their business plans.</p>
<p>Some have teams of economists and data scientists tasked with building complex forecasting models.</p>
<p>Many businesses, however, likely rely on less sophisticated means centered on spreadsheet models, trends and moving averages (or even educated guesses).</p>
<p><a href="https://en.wikipedia.org/wiki/Time_series" target="_blank" rel="noopener"><strong>Time series methodology</strong></a> is a <strong>moderately sophisticated yet cost effective way</strong> to generate forecasts. It is a statistical approach which bases forecasts on the past behavior of the data series in question (e.g. monthly sales).</p>
<p>And it accounts for other characteristics of a time series which can yield a more accurate forecast than, say, a simple straight-line trend model.</p>
<h3>More time, more data</h3>
<p>We have all heard the forecasts about data growth, the proverbial “<a href="https://en.wikipedia.org/wiki/Hockey_stick_graph" target="_blank" rel="noopener"><strong>hockey stick</strong></a>.”</p>
<p>By one account, human and machine-generated data is growing at 10x the rate of traditional business data. And machine-generated data is <strong><a href="https://insidebigdata.com/2017/02/16/the-exponential-growth-of-data/" target="_blank" rel="noopener">growing at 50X</a></strong> the rate.</p>
<p>A good portion of this machine-generated data has a time dimension.<strong> <a href="https://en.wikipedia.org/wiki/Internet_of_things" target="_blank" rel="noopener">Internet of Things</a></strong> (IoT) devices are proliferating, each of which has a potential to <a href="https://www.kdnuggets.com/2015/07/impact-iot-big-data-landscape.html" target="_blank" rel="noopener"><strong>collect data</strong></a> over time.</p>
<p>A washing machine can monitor, collect and post performance data to the cloud. Using these data to forecast product failure can lead to a pro-active maintenance visit by your friendly but lonely <strong><a href="https://www.youtube.com/watch?v=n7z6AKPGDZ4" target="_blank" rel="noopener">Maytag repairman</a></strong>.</p>
<p>Similarly, a household’s electricity usage can be monitored, modeled and forecasted leading to cost-savings suggestions by an energy service provider under a time-of-day pricing scheme.</p>
<p>The electric utility company itself can use the data from all the IoT appliances in households to generate better residential load forecasts and help better <a href="https://dupress.deloitte.com/dup-us-en/focus/internet-of-things/iot-in-electric-power-industry.html" target="_blank" rel="noopener"><strong>manage the electricity grid</strong></a>.</p>
<p>Even if a more traditional businesses source like sales, inventories, deliveries, workforce utilization, IT usage and the like, advances in data collection, storage and proliferation are making <strong>time series data more readily accessible</strong>.</p>
<p>Thus, there will be an <strong>increased demand</strong> for product managers, economists, statisticians and data scientists to make use of these data and <strong>tell us what will happen next</strong>.</p>
<h3>Time series methods</h3>
<p>The <strong>premise</strong> of time series methods (and of most quantitatively-based forecasting methods) is that the <strong>future will be much like the past</strong>.</p>
<p>If sales have been growing at a consistently healthy rate with strong seasonal variation (e.g. holiday periods) for the last year, then it is likely the next year will be similar, all else constant. If done correctly, the <strong>methodology can yield a defensible forecast</strong> of likely sales each month during the “forecast horizon.”</p>
<p>But, as with all forecasting methodologies, <strong>there are pitfalls of which one should be aware</strong>.</p>
<h3>Practical time series methods</h3>
<p>This is the first of a series of articles on <strong>practical time series methods for short-run business forecasting</strong>.</p>
<p>There are abundant, excellent resources covering the basics of business forecasting including time series methods, ranging from blog posts to online courses to <a href="https://www.otexts.org/fpp2" target="_blank" rel="noopener"><strong>open-source textbooks</strong></a>.</p>
<p>And time series methods are a mainstay of advanced courses in econometrics and business forecasting (resources we recommend are <a href="https://www.amazon.com/Elements-Forecasting-Book-Francis-Diebold/dp/0324359047/ref=sr_1_1?ie=UTF8&amp;qid=1510100591&amp;sr=8-1&amp;keywords=elements+of+forecasting&amp;dpID=512OHGykTZL&amp;preST=_SX218_BO1,204,203,200_QL40_&amp;dpSrc=srch" target="_blank" rel="noopener"><strong>Elements of Forecasting</strong></a> by Diebold and <a href="https://www.amazon.com/Econometric-Models-Economic-Forecasts-Pindyck/dp/0079132928/ref=sr_1_7?ie=UTF8&amp;qid=1512407309&amp;sr=8-7&amp;keywords=pindyck+and+rubinfeld" target="_blank" rel="noopener"><strong>Econometric Models and  Economic Forecasts</strong></a> by Pindyck and Rubinfeld).</p>
<p><strong>Rather than being a treatise on forecasting, this series of articles will present a practical methodology and some of the lessons we have learned performing time series forecasting for clients.</strong></p>
<p><a class="dpsp-click-to-tweet dpsp-style-1" href="https://twitter.com/intent/tweet?text=A+practical+methodology+for+business+time+series+forecasting.&url=https%3A%2F%2Fwww.kddanalytics.com%2Fpractical-time-series-forecasting-introduction%2F"><div class="dpsp-click-to-tweet-content">A practical methodology for business time series forecasting.</div><div class="dpsp-click-to-tweet-footer"><span class="dpsp-click-to-tweet-cta"><span>Click to Tweet</span><i class="dpsp-network-btn dpsp-twitter"><span class="dpsp-network-icon"></span></i></span></div></a><strong><br />
</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.kddanalytics.com/practical-time-series-forecasting-introduction/">Practical Time Series Forecasting &#8211; Introduction</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1183</post-id>	</item>
	</channel>
</rss>
