<?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 to create a dummy variable for an existing variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297647#M62539</link>
    <description>&lt;P&gt;Hi PGStats,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for the reply, I clearly got the dummy values depending on the median.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now I get the dummy columns but the original columsn disappear, and I need the original columns and I can't just merge becasue both the original columns and their corresponding new dummy columns have the same name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 03:00:51 GMT</pubDate>
    <dc:creator>ilikesas</dc:creator>
    <dc:date>2016-09-12T03:00:51Z</dc:date>
    <item>
      <title>how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297640#M62534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a data with over 20 variables and over a 100 rows of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For each variable I would like to create a dummy variable which depends on the median of the values of that variable. Here is an example to illustrate:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a column named "age" containing ages. I would like to calculate the median age, and suppose it equals 29, so if for an entry the value for age is greater than the median, say 35, then the new variable "age_dummy" will be equal to 1, and if age is less than or equal to the median, like 25, than the dummy will be equal to 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so if&amp;nbsp;the initial data is something like this:&lt;/P&gt;
&lt;TABLE border="0" width="64" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL width="64" /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64" height="20"&gt;age&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;29&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;31&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;35&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I would like the final data to be of the following:&lt;/P&gt;
&lt;TABLE border="0" width="128" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL span="2" width="64" /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64" height="20"&gt;age&lt;/TD&gt;
&lt;TD width="64"&gt;age_dummy&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;25&lt;/TD&gt;
&lt;TD align="right"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;29&lt;/TD&gt;
&lt;TD align="right"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;31&lt;/TD&gt;
&lt;TD align="right"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="20" align="right"&gt;35&lt;/TD&gt;
&lt;TD align="right"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 02:23:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297640#M62534</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2016-09-12T02:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297641#M62535</link>
      <description>&lt;P&gt;So which part is your question?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 01:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297641#M62535</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-12T01:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297642#M62536</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for each column I would like to calculate the median of the numbers, and then for each colum create a new column which will consist of dummy values (0 or 1). So basically there are 2 subquestions: calculating the median of a column and creating a new column of dummy variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 02:12:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297642#M62536</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2016-09-12T02:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297644#M62537</link>
      <description>&lt;P&gt;Here I would like to add some illustration:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;suppose the initial data is something like this:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 48pt;" border="0" width="64" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="height: 15.0pt; width: 48pt;"&gt;age&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;29&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;31&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;35&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I would like the final data to be of the following:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" span="2" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="height: 15.0pt; width: 48pt;"&gt;age&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;age_dummy&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;25&lt;/TD&gt;
&lt;TD align="right"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;29&lt;/TD&gt;
&lt;TD align="right"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;31&lt;/TD&gt;
&lt;TD align="right"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;35&lt;/TD&gt;
&lt;TD align="right"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And please note that I have over 20 variables so if possible to make the entire process automatic for all the variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 02:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297644#M62537</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2016-09-12T02:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297645#M62538</link>
      <description>&lt;P&gt;Use the RANK procedure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc rank data=have out=want groups=2;
var var1-var20;
ranks rvar1-rvar20;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Below and above median will be identified with group number 0&amp;nbsp;and 1, respectively.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 02:27:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297645#M62538</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-12T02:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297647#M62539</link>
      <description>&lt;P&gt;Hi PGStats,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for the reply, I clearly got the dummy values depending on the median.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now I get the dummy columns but the original columsn disappear, and I need the original columns and I can't just merge becasue both the original columns and their corresponding new dummy columns have the same name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 03:00:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297647#M62539</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2016-09-12T03:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297649#M62541</link>
      <description>&lt;P&gt;If you used the RANK statement that's not what should have happened.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post your code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also verify that the variable name and labels are different.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473611.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473611.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 03:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297649#M62541</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-12T03:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297650#M62542</link>
      <description>&lt;P&gt;Dataset &lt;STRONG&gt;want&lt;/STRONG&gt; should contain original variables (&lt;STRONG&gt;var1-var20&lt;/STRONG&gt;) &lt;U&gt;and&lt;/U&gt; new variables&lt;STRONG&gt; rvar1-rvar20&lt;/STRONG&gt;, just as you need. I would need to see your log to understand what happened.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 03:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297650#M62542</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-12T03:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297652#M62543</link>
      <description>&lt;P&gt;That's good now I realized that I forgot to put the "r" before the original varible name&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 03:58:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297652#M62543</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2016-09-12T03:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297653#M62544</link>
      <description>&lt;P&gt;&lt;SPAN&gt;That's good now I realized that I forgot to put the "r" before the original varible name!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 03:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297653#M62544</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2016-09-12T03:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297788#M62571</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I posted what I think is a more comprehensive 'R' based solution. This solution should map easly to IML.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://listserv.uga.edu/cgi-bin/wa?A2=SAS-L;a2483999.1609b" target="_blank"&gt;https://listserv.uga.edu/cgi-bin/wa?A2=SAS-L;a2483999.1609b&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 16:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297788#M62571</guid>
      <dc:creator>rogerjdeangelis</dc:creator>
      <dc:date>2016-09-12T16:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297889#M62599</link>
      <description>&lt;P&gt;Hi rogerjdeangelis,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would love to see the solution, but when I clicked on the link I was asked for a password, so is there another way of accessing your solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thnak you!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 02:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/297889#M62599</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2016-09-13T02:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397988#M96224</link>
      <description>&lt;P&gt;Hello I am currently trying to create dummy variables for companies within countries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA WORK.IMPORT;&lt;BR /&gt;SET WORK.IMPORT;&lt;BR /&gt;IF COMPANY = COKE THEN COKED=1; ELSE COKED = 0;&lt;BR /&gt;IF COMPANY = KFC THEN KFCD=1; ELSE KFCD = 0;&lt;BR /&gt;IF COMPANY = PEPSI THEN PEPSID=1; ELSE PEPSID = 0;&lt;BR /&gt;IF COMPANY = NIKE THEN NIKED=1; ELSE NIKED = 0;&lt;BR /&gt;IF COMPANY = STARBUCKS THEN STARBUCKSD=1; ELSE STARBUCKSD = 0;&lt;BR /&gt;IF COMPANY = MCDONALD THEN MCDONALDD=1; ELSE MCDONALDD = 0;&lt;BR /&gt;IF COMPANY = HARDEES THEN HARDEESD=1; ELSE HARDEESD = 0;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately the ouput for the dummy variables is all 0, so if the company is coke the output is also 0 and not 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand what is wrong, please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 05:19:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397988#M96224</guid>
      <dc:creator>aalasady0</dc:creator>
      <dc:date>2017-09-22T05:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397991#M96226</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166854"&gt;@aalasady0&lt;/a&gt;, you would draw more attention if you posted your question as a new topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using statements like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COKED = upcase(COMPANY) = "COKE";&lt;/P&gt;
&lt;P&gt;KFCD = upcase(COMPANY) = "KFC";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 05:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397991#M96226</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-09-22T05:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397992#M96227</link>
      <description>&lt;P&gt;Thank you for your reply, I apologize for my ignorence but I am very new to SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) What does this statement do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.) Where would this fit in my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 05:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397992#M96227</guid>
      <dc:creator>aalasady0</dc:creator>
      <dc:date>2017-09-22T05:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397993#M96228</link>
      <description>&lt;P&gt;Thank you very much it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; What exactly does the Upcase statement do?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 05:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/397993#M96228</guid>
      <dc:creator>aalasady0</dc:creator>
      <dc:date>2017-09-22T05:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/398178#M96270</link>
      <description>&lt;P&gt;UPCASE is a SAS function. Find its definition and all other SAS functions in the SAS documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 16:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/398178#M96270</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-09-22T16:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a dummy variable for an existing variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/398191#M96278</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166854"&gt;@aalasady0&lt;/a&gt;&amp;nbsp;consider bookmarking this page:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0w6napahk6x0an0z2dzozh2ouzm.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0w6napahk6x0an0z2dzozh2ouzm.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has all the SAS functions orderered nicely by categories which makes it easy when you're searching for a function.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 17:32:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-a-dummy-variable-for-an-existing-variable/m-p/398191#M96278</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-22T17:32:43Z</dc:date>
    </item>
  </channel>
</rss>

