<?xml version="1.0" encoding="UTF-8"?>
<entry>
  <created-at type="datetime">2009-05-01T11:09:21-05:00</created-at>
  <current-tags>calculated_variables inflation joining data chart</current-tags>
  <forum-id type="integer">35511</forum-id>
  <hits type="integer">421</hits>
  <id type="integer">34075</id>
  <is-highlighted type="boolean">true</is-highlighted>
  <is-locked type="boolean">false</is-locked>
  <is-pinned type="boolean">false</is-pinned>
  <is-public type="boolean">true</is-public>
  <last-post-id type="integer">51637</last-post-id>
  <organization-id type="integer" nil="true"></organization-id>
  <position type="integer" nil="true"></position>
  <posts-count type="integer">1</posts-count>
  <replied-at type="datetime">2009-05-01T16:14:51-05:00</replied-at>
  <replied-by type="integer">Verifiable Staff</replied-by>
  <submitter-id type="integer">474241</submitter-id>
  <title>How Do I Adjust for Inflation?</title>
  <updated-at type="datetime">2009-05-01T16:14:51-05:00</updated-at>
  <posts type="array">
    <post>
      <body>&lt;p&gt;The basic technique:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Produce your chart in nominal dollars (unadjusted for inflation).&lt;/li&gt;
&lt;li&gt;&quot;Join&quot; it with a second data set containing inflation data.&lt;/li&gt;
&lt;li&gt;Create a &quot;calculated variable&quot; converting nominal dollars to real dollars (inflation-adjusted).&lt;/li&gt;
&lt;li&gt;Edit your chart to use that new variable instead of (or next to) the original.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The gory details:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Produce your chart in nominal dollars (unadjusted for inflation).&lt;/li&gt;
&lt;li&gt;click the &quot;Join Data&quot; button below your list of variables&lt;/li&gt;
&lt;li&gt;for step 1 in the Join Data window, choose the name of the column in your data set that contains dates (e.g., &quot;Year&quot;)&lt;/li&gt;
&lt;li&gt;for step 2&amp;nbsp;in the Join Data window, search for the term &quot;cpi factors&quot;&lt;/li&gt;
&lt;li&gt;for step 3&amp;nbsp;in the Join Data window,&amp;nbsp;click on the little black arrow next to the first search result, and select the very first variable, &quot;Year&quot;&lt;/li&gt;
&lt;li&gt;Click the &quot;Join&quot; button at the bottom. &amp;nbsp;You've now joined the inflation data to your data, using years as the common variable, and you have a big list of new variables in your list.&lt;/li&gt;
&lt;li&gt;Click the &quot;Add Calculated Variable&quot; button below your list of variables.&lt;/li&gt;
&lt;li&gt;Give it a name, e.g.: &lt;span style=&quot;font-family: courier;&quot;&gt;whatever (2005 Dollars)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;For the formula, select the name of the nominal-dollar variable in your data set that you want to convert to real dollars, and divide it by the variable named &quot;2005$ CF&quot; (which is the conversion factor for turning any other given year's dollars into 2005 dollars). &amp;nbsp;E.g., your formula should look like this: &lt;span style=&quot;font-family: courier;&quot;&gt;[Year]/[2005$ CF]&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Click &quot;Ok&quot;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;You now have a new variable called &quot;whatever (2005 Dollars)&quot; which you can chart just like the original.&lt;/p&gt;</body>
      <body-html>&lt;p&gt;The basic technique:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Produce your chart in nominal dollars (unadjusted for inflation).&lt;/li&gt;
&lt;li&gt;&quot;Join&quot; it with a second data set containing inflation data.&lt;/li&gt;
&lt;li&gt;Create a &quot;calculated variable&quot; converting nominal dollars to real dollars (inflation-adjusted).&lt;/li&gt;
&lt;li&gt;Edit your chart to use that new variable instead of (or next to) the original.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The gory details:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Produce your chart in nominal dollars (unadjusted for inflation).&lt;/li&gt;
&lt;li&gt;click the &quot;Join Data&quot; button below your list of variables&lt;/li&gt;
&lt;li&gt;for step 1 in the Join Data window, choose the name of the column in your data set that contains dates (e.g., &quot;Year&quot;)&lt;/li&gt;
&lt;li&gt;for step 2&amp;nbsp;in the Join Data window, search for the term &quot;cpi factors&quot;&lt;/li&gt;
&lt;li&gt;for step 3&amp;nbsp;in the Join Data window,&amp;nbsp;click on the little black arrow next to the first search result, and select the very first variable, &quot;Year&quot;&lt;/li&gt;
&lt;li&gt;Click the &quot;Join&quot; button at the bottom. &amp;nbsp;You've now joined the inflation data to your data, using years as the common variable, and you have a big list of new variables in your list.&lt;/li&gt;
&lt;li&gt;Click the &quot;Add Calculated Variable&quot; button below your list of variables.&lt;/li&gt;
&lt;li&gt;Give it a name, e.g.: &lt;span style=&quot;font-family: courier;&quot;&gt;whatever (2005 Dollars)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;For the formula, select the name of the nominal-dollar variable in your data set that you want to convert to real dollars, and divide it by the variable named &quot;2005$ CF&quot; (which is the conversion factor for turning any other given year's dollars into 2005 dollars). &amp;nbsp;E.g., your formula should look like this: &lt;span style=&quot;font-family: courier;&quot;&gt;[Year]/[2005$ CF]&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Click &quot;Ok&quot;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;You now have a new variable called &quot;whatever (2005 Dollars)&quot; which you can chart just like the original.&lt;/p&gt;</body-html>
      <created-at type="datetime">2009-05-01T11:09:21-05:00</created-at>
      <entry-id type="integer">34075</entry-id>
      <forum-id type="integer">35511</forum-id>
      <id type="integer">51637</id>
      <updated-at type="datetime">2009-05-01T11:44:34-05:00</updated-at>
      <user-id type="integer">474241</user-id>
    </post>
  </posts>
</entry>
