<?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 What is the equivalent of Stata's i.var for creating dummy in SAS? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-equivalent-of-Stata-s-i-var-for-creating-dummy-in/m-p/259804#M50311</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an id for my firms(145) but I need to investigate the fix effect of firms on my response variable. In stata, I use &lt;U&gt;i. variablename&lt;/U&gt; and I get what I want. I don't want to create 144 dummy variables. Anybody knows what is the way around this? Appreciate it.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2016 17:16:50 GMT</pubDate>
    <dc:creator>HannahPhD</dc:creator>
    <dc:date>2016-03-29T17:16:50Z</dc:date>
    <item>
      <title>What is the equivalent of Stata's i.var for creating dummy in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-equivalent-of-Stata-s-i-var-for-creating-dummy-in/m-p/259804#M50311</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an id for my firms(145) but I need to investigate the fix effect of firms on my response variable. In stata, I use &lt;U&gt;i. variablename&lt;/U&gt; and I get what I want. I don't want to create 144 dummy variables. Anybody knows what is the way around this? Appreciate it.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 17:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-equivalent-of-Stata-s-i-var-for-creating-dummy-in/m-p/259804#M50311</guid>
      <dc:creator>HannahPhD</dc:creator>
      <dc:date>2016-03-29T17:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: What is the equivalent of Stata's i.var for creating dummy in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-equivalent-of-Stata-s-i-var-for-creating-dummy-in/m-p/259808#M50315</link>
      <description>&lt;P&gt;It depends partly on the procedure you're using. Some allow for CLASS variables, which then create the dummy variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you need to create them.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Here's a post and a reference to Ricks blog that goes over ways to create the dummy variables.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-create-dummy-variables-Categorical-Variables/m-p/258702/highlight/true#M13685" target="_blank"&gt;https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-create-dummy-variables-Categorical-Variables/m-p/258702/highlight/true#M13685&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 17:29:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-equivalent-of-Stata-s-i-var-for-creating-dummy-in/m-p/259808#M50315</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-29T17:29:53Z</dc:date>
    </item>
  </channel>
</rss>

