<?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>Data Visualization Archives - KDD Analytics</title>
	<atom:link href="https://www.kddanalytics.com/category/data-visualization/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kddanalytics.com/category/data-visualization/</link>
	<description>Data to Decisions</description>
	<lastBuildDate>Fri, 21 May 2021 18:41:14 +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>Data Visualization Archives - KDD Analytics</title>
	<link>https://www.kddanalytics.com/category/data-visualization/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114932494</site>	<item>
		<title>Tableau Basics: SUM vs AVG</title>
		<link>https://www.kddanalytics.com/are-you-using-the-correct-tableau-aggregation-sum-vs-avg/</link>
		
		<dc:creator><![CDATA[KDD]]></dc:creator>
		<pubDate>Fri, 21 May 2021 17:49:37 +0000</pubDate>
				<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Tableau]]></category>
		<category><![CDATA[data visualization]]></category>
		<guid isPermaLink="false">https://www.kddanalytics.com/?p=2086</guid>

					<description><![CDATA[<p>First time users of Tableau often get tripped up over the default Tableau SUM aggregation.  Here is what I mean. Suppose the question is to find the average of SALES PER VISIT (sales measured across the preceding 6 months) among the males and females in a sample of 25 shoppers.  The data look like this&#8230;</p>
<p>The post <a href="https://www.kddanalytics.com/are-you-using-the-correct-tableau-aggregation-sum-vs-avg/">Tableau Basics: SUM vs AVG</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>First time users of <strong><a href="https://www.tableau.com/" target="_blank" rel="noopener">Tableau</a></strong> often get tripped up over the default Tableau SUM aggregation.  Here is what I mean.</p>
<p>Suppose the question is to find the average of SALES PER VISIT (sales measured across the preceding 6 months) among the males and females in a sample of 25 shoppers.  The data look like this in Excel:</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-2087 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-2.png?resize=330%2C651&#038;ssl=1" alt="Tableau and Excel" width="330" height="651" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-2.png?w=330&amp;ssl=1 330w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-2.png?resize=152%2C300&amp;ssl=1 152w" sizes="auto, (max-width: 330px) 100vw, 330px" /></p>
<p><strong>TIP:</strong>  We can easily input these data to Tableau by <strong><a href="https://www.thedataschool.co.uk/borja-leiva/tableau-tuesday-tip-paste-data-clipboard" target="_blank" rel="noopener">cutting and pasting</a></strong> the selection into the Tableau canvas:</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone wp-image-2088 size-large" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-1.png?resize=1024%2C668&#038;ssl=1" alt="Cut and paste data into Tableau" width="1024" height="668" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-1.png?resize=1024%2C668&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-1.png?resize=300%2C196&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-1.png?resize=768%2C501&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-1.png?w=1441&amp;ssl=1 1441w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>Now to answer the question.</p>
<p>First time users of Tableau may correctly put GENDER on the row shelf and SALES PER VISIT on the column shelf.  Tableau defaults to a bar chart yielding:</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone size-large wp-image-2091" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-3.png?resize=1024%2C651&#038;ssl=1" alt="Tableau bar chart" width="1024" height="651" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-3.png?resize=1024%2C651&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-3.png?resize=300%2C191&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-3.png?resize=768%2C489&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-3.png?w=1440&amp;ssl=1 1440w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>First time users may also put SALES PER VISIT on the Label Marks <a href="https://help.tableau.com/current/pro/desktop/en-us/buildmanual_shelves.htm" target="_blank" rel="noopener"><strong>card</strong></a>, which displays the value next to each bar in the chart.  They may even put GENDER on the Color Marks card to give the viz some pop.</p>
<p>And then they call it done.  Males spend more on average than females.</p>
<p>But do they?</p>
<p>We note that the green pills show SUM(Sales per Visit).  Tableau’s default <strong>“aggregation”</strong> is to sum the values across the rows in the data set.</p>
<p>Going back to Excel, if we sum SALES PER VISIT by GENDER across the 25 rows, we get, using the <strong><a href="https://www.excel-easy.com/examples/sumif.html" target="_blank" rel="noopener">SUMIF</a></strong> function:</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-2092 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-7.png?resize=274%2C95&#038;ssl=1" alt="Excel SUMIF and AVERAGEIF" width="274" height="95" /></p>
<p>This is exactly what Tableau shows.</p>
<p><strong>But we want to find the average.</strong>  In Excel, using the <strong><a href="https://www.excel-easy.com/examples/averageif.html" target="_blank" rel="noopener">AVERAGEIF</a></strong> function, we see that females spend on average $11.62 while males spend $9.13 per visit.</p>
<p>To get Tableau to match, we simply <strong>change the aggregation</strong> by right-clicking on <strong>each</strong> of the green pills and select Measure (Average) from the drop-down menu.</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone size-large wp-image-2093" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-5.png?resize=1024%2C649&#038;ssl=1" alt="Tableau change aggregation" width="1024" height="649" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-5.png?resize=1024%2C649&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-5.png?resize=300%2C190&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-5.png?resize=768%2C487&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-5.png?w=1443&amp;ssl=1 1443w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>Now we get the correct answer to our question.</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone size-large wp-image-2094" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-6.png?resize=1024%2C648&#038;ssl=1" alt="Tableau correct aggregation" width="1024" height="648" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-6.png?resize=1024%2C648&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-6.png?resize=300%2C190&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-6.png?resize=768%2C486&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/05/Tableau-SUM-vs-AVG-6.png?w=1442&amp;ssl=1 1442w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>If Tableau is not yielding the correct answer, try thinking about how you would do it in Excel.  Sometimes, but not always, this will provide the proper guidance.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.kddanalytics.com/are-you-using-the-correct-tableau-aggregation-sum-vs-avg/">Tableau Basics: SUM vs AVG</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2086</post-id>	</item>
		<item>
		<title>San Diego and COVID-19 &#8230; A Very Challenging Year</title>
		<link>https://www.kddanalytics.com/san-diego-and-covid-19-a-very-challenging-year/</link>
		
		<dc:creator><![CDATA[KDD]]></dc:creator>
		<pubDate>Fri, 23 Apr 2021 01:59:25 +0000</pubDate>
				<category><![CDATA[Data Analysis]]></category>
		<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Tableau]]></category>
		<category><![CDATA[COVID]]></category>
		<category><![CDATA[data visualization]]></category>
		<guid isPermaLink="false">https://www.kddanalytics.com/?p=2048</guid>

					<description><![CDATA[<p>We just noticed that it has been a full year since we started posting daily updates to our San Diego County COVID-19 dashboard. This dashboard tracks the San Diego COVID experience: new cases, tests, and positivity rates at the county-level as well as new cases for each of the county’s ZIP Codes. On this first-year&#8230;</p>
<p>The post <a href="https://www.kddanalytics.com/san-diego-and-covid-19-a-very-challenging-year/">San Diego and COVID-19 &#8230; A Very Challenging Year</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We just noticed that it has been a full year since we started posting daily updates to our San Diego County COVID-19 <strong><a href="https://public.tableau.com/profile/kdd.analytics#!/vizhome/SanDiegoCountyCOVID-19/SanDiegoCOVID-19">dashboard</a></strong>.</p>
<p>This dashboard tracks the San Diego COVID experience: new cases, tests, and positivity rates at the <strong>county-level</strong> as well as new cases for each of the county’s <strong>ZIP Codes</strong>.</p>
<p>On this first-year anniversary of these daily postings, we thought we would look back at this roller coaster year.</p>
<p>And, although our dashboard does not include US data, we thought that comparing the San Diego COVID experience with the national average would be insightful.</p>
<h2>San Diego COVID experience vs the nation</h2>
<p>The following figure shows the 7-day moving average of daily new cases per 100,000, for both San Diego County and the entire US.<a href="#_ftn1" name="_ftnref1">[1]</a></p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone size-large wp-image-2049" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/04/San-Diego-vs-US-COVID-New-Cases.png?resize=1024%2C616&#038;ssl=1" alt="San Diego COVI-19" width="1024" height="616" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/04/San-Diego-vs-US-COVID-New-Cases.png?resize=1024%2C616&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/04/San-Diego-vs-US-COVID-New-Cases.png?resize=300%2C180&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/04/San-Diego-vs-US-COVID-New-Cases.png?resize=768%2C462&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2021/04/San-Diego-vs-US-COVID-New-Cases.png?w=1482&amp;ssl=1 1482w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>As shown in the above figure, as a nation we have been through 3 waves with it being too soon to tell if the 4<sup>th</sup> wave has crested. San Diego County’s experience was generally similar <strong>except for the 4<sup>th</sup> wave</strong>.</p>
<h3>Wave #1</h3>
<p>The initial rise in daily new cases crested at a 7-day average of 10 per 100,000 for the US on April 12, 2020. San Diego’s first wave crested about a week earlier on April 4<sup>th</sup> at about 4 per 100,000.</p>
<p>The US new case 7-day average fell to 6 per 100,000 by mid-June. San Diego’s briefly fell a bit but then rose back up to a daily rate of 3 to 4 per 100,000 till mid-June.</p>
<p>So, San Diego did not really experience the same recovery from the first wave as the US.</p>
<h3>Wave #2</h3>
<p>For both the US and San Diego, the second, much larger wave began in mid-June 2020. The US new case rate increased from a 7-day average of about 6 per 100,000 to a peak of 21 per 100,000 on July 23<sup>rd</sup>. San Diego’s rate increased from about 4 per 100,000 to a peak of 16 per 100,000 on July 2<sup>nd</sup>.</p>
<p>Both the US and San Diego new case rates declined through the end of the summer. The US new case rate bottomed at a 7-day average of 13 per 100,000 on September 13<sup>th</sup>. San Diego’s bottomed at the end of August at about 8 per 100,000 and stayed essentially flat till mid-October.</p>
<h3>Wave #3</h3>
<p>The US third wave began in mid-September – a full month before San Diego was hit. Rising from a 7-day average low of about 11 per 100,000, the US new case rate increased throughout the fall and early winter, peaking at 76 cases per 100,000 on January 11, 2021.</p>
<p>San Diego’s third wave began in mid-October. From a 7-day average low of about 8 new cases per 100,000 on October 20, <strong>the new case rate peaked at a high of 109 per 100,000</strong> on the same day that this third wave peaked for the country.</p>
<p>As the figure shows, San Diego (as well as Los Angeles) suffered much higher new case rates than the national average.</p>
<p>But daily new cases started to decline just as steeply as they increased. San Diego’s 7-day average new case rate fell from this high of 109 to around 7 per 100,000 by April 20, 2021.</p>
<p>The US new case rate fell as well, from a 7-day average of 76 to about 16 by March 19, 2021.</p>
<h3>Wave #4</h3>
<p>Until this point, San Diego’s experience, though different in severity, matched the general pattern of the country. However, a 4<sup>th</sup> US wave began in mid-March 2021, driven by new outbreaks in Michigan and New Jersey. It is too soon to tell if this 4<sup>th</sup> wave has crested but the most recent peak is a 7-day average of 21 new cases per 100,000 on April 13<sup>th</sup>.</p>
<p>San Diego has been fortunate to escape this 4<sup>th</sup> wave (so far).</p>
<p>Fingers crossed&#8230;</p>
<p>&nbsp;</p>
<p><a href="#_ftnref1" name="_ftn1">[1]</a> San Diego new case data are from the San Diego County <a href="https://www.sandiegocounty.gov/content/sdc/hhsa/programs/phs/community_epidemiology/dc/2019-nCoV/status.html"><strong>Health Department</strong></a>. US new case data are from the <a href="https://covid.cdc.gov/covid-data-tracker/#trends_dailytrendscases"><strong>CDC</strong></a>.  The 7-day moving average is the average of the current and preceding 6 days. <a href="https://www.census.gov/quickfacts/fact/table/US,sandiegocountycalifornia,CA/PST045219"><strong>2019 population</strong></a> is used to normalize case counts so we can compare San Diego with the nation.</p>
<p>The post <a href="https://www.kddanalytics.com/san-diego-and-covid-19-a-very-challenging-year/">San Diego and COVID-19 &#8230; A Very Challenging Year</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2048</post-id>	</item>
		<item>
		<title>How to Visualize Changing Recession Start Date Forecasts</title>
		<link>https://www.kddanalytics.com/visualize-revisions-recession-start-date-forecasts/</link>
		
		<dc:creator><![CDATA[KDD]]></dc:creator>
		<pubDate>Sat, 05 Jan 2019 22:19:59 +0000</pubDate>
				<category><![CDATA[Data Visualization]]></category>
		<category><![CDATA[Forecasting]]></category>
		<category><![CDATA[Tableau]]></category>
		<category><![CDATA[data visualization]]></category>
		<category><![CDATA[forecasting]]></category>
		<category><![CDATA[machine learning]]></category>
		<guid isPermaLink="false">https://www.kddanalytics.com/?p=1515</guid>

					<description><![CDATA[<p>In case you missed it, we are in a recession. According to Intensity’s latest US recession start date forecast, there is a 50% probability of a recession starting sometime in the January to February 2019 period.  And a 97% probability of it starting sometime within the next 6 months. Their “point estimate” of a recession&#8230;</p>
<p>The post <a href="https://www.kddanalytics.com/visualize-revisions-recession-start-date-forecasts/">How to Visualize Changing Recession Start Date Forecasts</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In case you missed it, <strong>we are in a recession</strong>.</p>
<p>According to <a href="https://intensity.com/news/intensity-recession-forecast-january-3-2019" target="_blank" rel="noopener"><strong>Intensity’s latest US recession start date forecast</strong></a>, there is a 50% probability of a recession starting sometime in the January to February 2019 period.  And a 97% probability of it starting sometime within the next 6 months.</p>
<p>Their “<a href="https://en.wikipedia.org/wiki/Point_estimation" target="_blank" rel="noopener"><strong>point estimate</strong></a>” of a recession start is January 2019.</p>
<p><strong>Like, as in, right now!</strong></p>
<p>If true, it will take awhile for the impacts to start showing up in the official government statistics.  But the stock market sell-off last quarter may be a harbinger of things to come.</p>
<p><a href="https://intensity.com/" target="_blank" rel="noopener"><strong>Intensity</strong></a>, an economics and data science firm based in San Diego, CA, developed and back-tested a machine learning prediction algorithm for its clients.  The firm started releasing a monthly forecast of the next US recession start date to the public starting in March 2018.</p>
<p>Over the course of the last 11 months, it has been interesting following the updates to their forecast as economic conditions changed.</p>
<p>Intuitively, one would expect that the forecast would “settle down”, the closer the expected start date became.</p>
<p>And it got me thinking about what the best way is to visualize these changing forecasts.</p>
<h3>Visualizing Forecast Updates Over Time</h3>
<p>The forecasted recession start date is not linear with time.  For example, in March 2018, the next recession was forecasted by Intensity to start in April 2019.  But in April 2018, the forecast was revised, and the recession was to start <strong>6 months earlier</strong> in October 2018.</p>
<p>Plotting the month of the forecast on the x-axis and the forecasted month of the recession start on the y-axis yields a “traditional time series” view as shown below.</p>
<p>&nbsp;</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone size-large wp-image-1532" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-forecast-shown-horizontally.png?resize=1024%2C727&#038;ssl=1" alt="Intensity recession forecast - shown horizontally" width="1024" height="727" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-forecast-shown-horizontally.png?resize=1024%2C727&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-forecast-shown-horizontally.png?resize=300%2C213&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-forecast-shown-horizontally.png?resize=768%2C545&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-forecast-shown-horizontally.png?w=1332&amp;ssl=1 1332w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>As time progresses from left to right, we can see the forecasted recession start date fluctuating up and down, settling on January 2019, the most recent forecasted start date.</p>
<p>However, another way to visualize this is to show the progression of time vertically, from bottom to top.  In this case the forecasted recession start date would fluctuate horizontally, left and right, as shown below.</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone size-large wp-image-1528" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-Forecast-shown-vertically-1.png?resize=1024%2C734&#038;ssl=1" alt="Intensity Recession Forecast - shown vertically" width="1024" height="734" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-Forecast-shown-vertically-1.png?resize=1024%2C734&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-Forecast-shown-vertically-1.png?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-Forecast-shown-vertically-1.png?resize=768%2C551&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Intensity-Forecast-shown-vertically-1.png?w=1325&amp;ssl=1 1325w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>I don’t know about you, but I find this second view more appealing.  Maybe it is the old economist in me, trained on the <a href="https://en.wikipedia.org/wiki/Phillips_curve" target="_blank" rel="noopener"><strong>Phillips Curve</strong></a> in graduate school.  But for me, the vertical, “up-down” orientation makes the variation in the forecasted recession start date “pop” more than in the horizontal, “left-to-right” view.</p>
<h3>So, Recession in 2019?</h3>
<p>It will be very interesting to see if Intensity sticks to its January 2019 point estimate.  Prior to the unexpectedly positive <a href="https://www.marketwatch.com/amp/story/guid/C82CF1F6-0F91-11E9-835D-C91F740D86E0" target="_blank" rel="noopener"><strong>December 2018 jobs report</strong></a><strong>,</strong> the consensus seemed to be a recession starting some time in 2019 or 2020.  For example, <a href="https://news.yahoo.com/gary-shilling-sees-66-chance-041710124.html" target="_blank" rel="noopener"><strong>Gary Shilling</strong></a> recently tossed his hat into the recession ring with a predicted 66% chance of a recession in 2019.</p>
<p>However, the positive jobs report apparently has many economists now <a href="https://www.washingtonpost.com/business/economy/us-jobs-data-boosts-wall-street-and-reassures-investors-about-economy/2019/01/04/b910ac92-105b-11e9-8938-5898adc28fa2_story.html?noredirect=on&amp;utm_term=.7685c12bcb54" target="_blank" rel="noopener"><strong>softening their stance</strong></a> on a recession this year.  And there is talk of policy makers being able to <strong><a href="https://www.csmonitor.com/Business/2019/0102/Recession-is-a-risk-in-2019.-But-maybe-one-that-policymakers-can-avoid" target="_blank" rel="noopener">sidestep a recession</a></strong>.</p>
<p>Only time will tell…so stay tuned!</p>
<h3>Plotting Ordered Times Series in Tableau</h3>
<p>By the way, these charts were made in <a href="https://www.tableau.com/" target="_blank" rel="noopener"><strong>Tableau</strong></a>.  And it was not as straight forward as flipping the axes to get the vertical view.  Tableau’s default inclination is to “connect the dots” from left to right when time is involved.</p>
<p>Fortunately, there is an easy way to get Tableau to connect the dots vertically.  This makes use of the <a href="https://onlinehelp.tableau.com/current/pro/desktop/en-us/viewparts_marks_markproperties.htm#PathProp" target="_blank" rel="noopener"><strong>Path property</strong></a> in the Marks card.  I simply added a field to my raw data that indicated the order of my data, which, of course was calendar order.</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="size-full wp-image-1518 aligncenter" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Path-Order.png?resize=638%2C362&#038;ssl=1" alt="Tableau data input - Path Order" width="638" height="362" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Path-Order.png?w=638&amp;ssl=1 638w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Path-Order.png?resize=300%2C170&amp;ssl=1 300w" sizes="auto, (max-width: 638px) 100vw, 638px" /></p>
<p>Then dropping this field on the Path property in the Marks card tells Tableau to connect the dots (or “Marks” in Tableau-speak) in this order.  With the date of the forecast on the vertical, y-axis, Tableau connects the dots from bottom to top.</p>
<p><img data-recalc-dims="1" decoding="async" loading="lazy" class="alignnone size-large wp-image-1529" src="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Tableau-Path-Order.png?resize=1024%2C809&#038;ssl=1" alt="Tableau Path Property on Marks Card" width="1024" height="809" srcset="https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Tableau-Path-Order.png?resize=1024%2C809&amp;ssl=1 1024w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Tableau-Path-Order.png?resize=300%2C237&amp;ssl=1 300w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Tableau-Path-Order.png?resize=768%2C607&amp;ssl=1 768w, https://i0.wp.com/www.kddanalytics.com/wp-content/uploads/2019/01/Tableau-Path-Order.png?w=1255&amp;ssl=1 1255w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></p>
<p>Very slick!</p>
<a class="dpsp-click-to-tweet dpsp-style-1" href="https://twitter.com/intent/tweet?text=US+Recession+starting+January+2019%3F&url=https%3A%2F%2Fwww.kddanalytics.com%2Fvisualize-revisions-recession-start-date-forecasts%2F"><div class="dpsp-click-to-tweet-content">US Recession starting January 2019?</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><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter --> <!-- Deuteranopia filter --> <!-- Tritanopia filter --></p>
<p><!-- Protanopia filter -->    <!-- Deuteranopia filter -->    <!-- Tritanopia filter --></p>
<p>The post <a href="https://www.kddanalytics.com/visualize-revisions-recession-start-date-forecasts/">How to Visualize Changing Recession Start Date Forecasts</a> appeared first on <a href="https://www.kddanalytics.com">KDD Analytics</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1515</post-id>	</item>
	</channel>
</rss>
