<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I create a dummy variable for years? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-dummy-variable-for-years/m-p/248433#M46673</link>
    <description>Standard if/then? &lt;BR /&gt;&lt;BR /&gt;If year&amp;lt;1998 then MSA=0;&lt;BR /&gt;Else if year &amp;gt;=1998 then MSA=1;</description>
    <pubDate>Sat, 06 Feb 2016 01:24:47 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-02-06T01:24:47Z</dc:date>
    <item>
      <title>How do I create a dummy variable for years?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-dummy-variable-for-years/m-p/248432#M46672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a dummy variable for a regulatory policy called MSA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my model I have a sample size from years 1970-2014.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If any years &amp;lt;1998 then MSA=0 and anything above 1998 MSA=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help me with the coding on this, I would really appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 01:22:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-dummy-variable-for-years/m-p/248432#M46672</guid>
      <dc:creator>bazargur</dc:creator>
      <dc:date>2016-02-06T01:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a dummy variable for years?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-dummy-variable-for-years/m-p/248433#M46673</link>
      <description>Standard if/then? &lt;BR /&gt;&lt;BR /&gt;If year&amp;lt;1998 then MSA=0;&lt;BR /&gt;Else if year &amp;gt;=1998 then MSA=1;</description>
      <pubDate>Sat, 06 Feb 2016 01:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-dummy-variable-for-years/m-p/248433#M46673</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-06T01:24:47Z</dc:date>
    </item>
  </channel>
</rss>

