<?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: Creating a new variable based on combination of values in another variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892818#M352657</link>
    <description>&lt;P&gt;I am sorry. I changed the second obs at the last minute, but did not change it in the input code.&lt;/P&gt;&lt;P&gt;It was supposed to be 3 and 6 in the input also, to show that I might have a 3 but not have a 1.&lt;/P&gt;&lt;P&gt;These values are not tied to anything and can be random. I would never have the same value repeating for any given&amp;nbsp; Id.&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are "sources" of documents used to code the data (i.e. the other variables in the file). A record (id) can have 1 source or more (up to 7).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason to create new "values" is because a few Ids have only one Obs but more than one source and in those cases, the second and third source were dropped.&lt;/P&gt;&lt;P&gt;The data file is created by merging a few different files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would my&amp;nbsp;only option&amp;nbsp; be formatting the variable A to be wide and then use an array to assign the combinations?&lt;/P&gt;&lt;P&gt;Ideally, I would end up with a long&amp;nbsp; data set, as all the other variables are in that format.&lt;/P&gt;&lt;P&gt;Thank you for your help&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 23:27:10 GMT</pubDate>
    <dc:creator>Mscarboncopy</dc:creator>
    <dc:date>2023-09-05T23:27:10Z</dc:date>
    <item>
      <title>Creating a new variable based on combination of values in another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892796#M352649</link>
      <description>&lt;P&gt;I need to create a new var (newvarA) with values starting on 8 from a variable A (1-7).&amp;nbsp; The new values&amp;nbsp; would be based on combinations of values in the first var (A). Any value that is not in the combination must be retained. 8 for example would be given when 1 and 3 are coded.&amp;nbsp; 9 for 1 and 5. I might have one more combination to make.&lt;/P&gt;&lt;P&gt;I tried this (below) and it is not working but I know this is too simplistic and I tried to find resources and could not.&amp;nbsp; My output is all missing for newvarA. And I also do not know how to retain the single values. The missing values (always after the last value for each ID) also need to be retained, as the data file has other variables that create those missing values in A.&lt;/P&gt;&lt;P&gt;I would appreciate any help.&amp;nbsp; I use sas 9.4&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data want;&lt;BR /&gt;set&amp;nbsp; have;&lt;BR /&gt;if A ne . then do;&lt;BR /&gt;if (A = 1 and A =3) then newvarA=8;&lt;/P&gt;&lt;P&gt;if&amp;nbsp;(A = 1 and A =5) then newvarA=9;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;DATA  test;
 INPUT ID A ;
CARDS;
1 1
1 3   &lt;BR /&gt;1 5&lt;BR /&gt;1 .&lt;BR /&gt;1 .&lt;BR /&gt;2 1&lt;BR /&gt;2 5&lt;BR /&gt;3 1&lt;BR /&gt;3 .&lt;BR /&gt;3 .&lt;BR /&gt;3 .
4 1
4 3&lt;BR /&gt;4 . &lt;BR /&gt;5 1&lt;BR /&gt;5 2&lt;BR /&gt;5 5&lt;BR /&gt;5 . 
;
RUN;&lt;/STRONG&gt; &lt;/PRE&gt;&lt;P&gt;desired output&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;newvar A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1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t;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 05 Sep 2023 20:03:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892796#M352649</guid>
      <dc:creator>Mscarboncopy</dc:creator>
      <dc:date>2023-09-05T20:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new variable based on combination of values in another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892799#M352651</link>
      <description>&lt;P&gt;One variable can NEVER have two values for a single observation. So "A=1 and A=3" is &lt;STRONG&gt;always&lt;/STRONG&gt; false. Which why you get missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So to apply that sort of logic to values on separate rows you would need to either reshape your data so all the A values are on one observations before creating the "new" variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You show&amp;nbsp; values of 2, 3, 5 and 6 in NewvarA. What is the rule for creating them??? I have to &lt;STRONG&gt;assume&lt;/STRONG&gt; that the Newvar A= 5 on the second observation was supposed to be 9. Is that correct? When you have Newvar = 8 or 9 is there any specific rule(s) for which observation they will be matched to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there are two 1's and one 3 should there be two 8's in the newvar? How about if two 1's and two 3's?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You show different values of A in the output than appear in the input. Is that intentional?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/210474"&gt;@Mscarboncopy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I need to create a new var (newvarA) with values starting on 8 from a variable A (1-7).&amp;nbsp; The new values&amp;nbsp; would be based on combinations of values in the first var (A). Any value that is not in the combination must be retained. 8 for example would be given when 1 and 3 are coded.&amp;nbsp; 9 for 1 and 5. I might have one more combination to make.&lt;/P&gt;
&lt;P&gt;I tried this (below) and it is not working but I know this is too simplistic and I tried to find resources and could not.&amp;nbsp; My output is all missing for newvarA. And I also do not know how to retain the single values. The missing values (always after the last value for each ID) also need to be retained, as the data file has other variables that create those missing values in A.&lt;/P&gt;
&lt;P&gt;I would appreciate any help.&amp;nbsp; I use sas 9.4&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data want;&lt;BR /&gt;set&amp;nbsp; have;&lt;BR /&gt;if A ne . then do;&lt;BR /&gt;if (A = 1 and A =3) then newvarA=8;&lt;/P&gt;
&lt;P&gt;if&amp;nbsp;(A = 1 and A =5) then newvarA=9;&lt;BR /&gt;end;&lt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TR&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 20:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892799#M352651</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-05T20:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new variable based on combination of values in another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892818#M352657</link>
      <description>&lt;P&gt;I am sorry. I changed the second obs at the last minute, but did not change it in the input code.&lt;/P&gt;&lt;P&gt;It was supposed to be 3 and 6 in the input also, to show that I might have a 3 but not have a 1.&lt;/P&gt;&lt;P&gt;These values are not tied to anything and can be random. I would never have the same value repeating for any given&amp;nbsp; Id.&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are "sources" of documents used to code the data (i.e. the other variables in the file). A record (id) can have 1 source or more (up to 7).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason to create new "values" is because a few Ids have only one Obs but more than one source and in those cases, the second and third source were dropped.&lt;/P&gt;&lt;P&gt;The data file is created by merging a few different files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would my&amp;nbsp;only option&amp;nbsp; be formatting the variable A to be wide and then use an array to assign the combinations?&lt;/P&gt;&lt;P&gt;Ideally, I would end up with a long&amp;nbsp; data set, as all the other variables are in that format.&lt;/P&gt;&lt;P&gt;Thank you for your help&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 23:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892818#M352657</guid>
      <dc:creator>Mscarboncopy</dc:creator>
      <dc:date>2023-09-05T23:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new variable based on combination of values in another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892830#M352662</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/210474"&gt;@Mscarboncopy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am sorry. I changed the second obs at the last minute, but did not change it in the input code.&lt;/P&gt;
&lt;P&gt;It was supposed to be 3 and 6 in the input also, to show that I might have a 3 but not have a 1.&lt;/P&gt;
&lt;P&gt;These values are not tied to anything and can be random. I would never have the same value repeating for any given&amp;nbsp; Id.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are "sources" of documents used to code the data (i.e. the other variables in the file). A record (id) can have 1 source or more (up to 7).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason to create new "values" is because a few Ids have only one Obs but more than one source and in those cases, the second and third source were dropped.&lt;/P&gt;
&lt;P&gt;The data file is created by merging a few different files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would my&amp;nbsp;only option&amp;nbsp; be formatting the variable A to be wide and then use an array to assign the combinations?&lt;/P&gt;
&lt;P&gt;Ideally, I would end up with a long&amp;nbsp; data set, as all the other variables are in that format.&lt;/P&gt;
&lt;P&gt;Thank you for your help&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I might suggest that a more robust approach would be to go back to the step where things were dropped.&lt;/P&gt;
&lt;P&gt;I'm not quite sure what your "created by merging" means in terms of timing when the values you want were added but perhaps showing what that step looked like would be appropriate. In many cases I consider "prevention" a better approach than "fixing". Removing data that is actually needed later is logic problem that if addressed sooner is likely to pay off in more than one way in the long run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps it would be better to have an observation with multiple source variables or source indicator variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider: I have data that has a number of indicator variables that take a value of 1 indicating that source is used and 0 when not used for a specific observation.&lt;/P&gt;
&lt;P&gt;I can then do things like:&lt;/P&gt;
&lt;P&gt;Select all observations where source number 1 was used (or not used): Where source1=1; for example&lt;/P&gt;
&lt;P&gt;Select all observations where 2, 3 , ...., n (n being the number of sources) specif sources were used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Where source1=1 and Source3=1;&amp;nbsp; (or shorter: where sum(source1,source3)=2;&lt;/P&gt;
&lt;P&gt;Or all observations where 3 (or 5 or whatever) number of sources (or more or fewer) but don't care which specific sources were used:&amp;nbsp; Where sum( of source:) = 3;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Having separate variables would also let you to report based on source.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 00:38:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892830#M352662</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-06T00:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new variable based on combination of values in another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892938#M352711</link>
      <description>&lt;P&gt;Absolutely. Thank you. I went back and found the issue in the code where I was dropping&amp;nbsp; Source.&lt;/P&gt;&lt;P&gt;Also, thank you for the idea you gave me of how to use source.&amp;nbsp; I really like that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 13:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-new-variable-based-on-combination-of-values-in/m-p/892938#M352711</guid>
      <dc:creator>Mscarboncopy</dc:creator>
      <dc:date>2023-09-06T13:44:20Z</dc:date>
    </item>
  </channel>
</rss>

