<?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 make up values based on the other variable while with the same subject in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723617#M224567</link>
    <description>I only want to impute the score "100" for the specific subject though (in above example, it is subject 1010)</description>
    <pubDate>Thu, 04 Mar 2021 20:28:51 GMT</pubDate>
    <dc:creator>zimcom</dc:creator>
    <dc:date>2021-03-04T20:28:51Z</dc:date>
    <item>
      <title>How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723577#M224540</link>
      <description>&lt;P&gt;Hi Greetings!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Subject&lt;/TD&gt;&lt;TD&gt;Visit Id&lt;/TD&gt;&lt;TD&gt;Score&lt;/TD&gt;&lt;TD&gt;alive&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1005&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1005&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1005&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Yes&l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;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1009&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1009&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1009&lt;/TD&gt;&lt;TD&gt;60&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1009&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 04 Mar 2021 19:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723577#M224540</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-03-04T19:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723579#M224542</link>
      <description>&lt;P&gt;I am not sure I grasp the full meaning of&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I want impute Score of 100 when "alive" is "No" for that subject (differences highlighted):&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Based on your example, this seems to be the same as:&amp;nbsp;&lt;SPAN&gt;I want impute Score of 100 when "alive" is "No"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and no reference to "for that subject" is needed. What am I missing?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 19:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723579#M224542</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-03-04T19:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723608#M224562</link>
      <description>&lt;P&gt;Do you mean:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if alive = 'No' and missing(score) then score = 100;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:12:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723608#M224562</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-03-04T20:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723615#M224566</link>
      <description>&lt;P&gt;I only want to impute the score "100" for the specific subject though (in above example, it is subject 1010)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723615#M224566</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-03-04T20:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723617#M224567</link>
      <description>I only want to impute the score "100" for the specific subject though (in above example, it is subject 1010)</description>
      <pubDate>Thu, 04 Mar 2021 20:28:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723617#M224567</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-03-04T20:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723650#M224586</link>
      <description>&lt;P&gt;Adding onto Shmuel's code:&lt;/P&gt;&lt;P&gt;If you want it for that specific subject, all you have to add is this&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if alive = 'No' and missing(score) and Subject='1010' then score = 100;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If there are multiple subjects you want to do that for, use an in statement with whatever subject you want&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if alive = 'No' and missing(score) and Subject in ('1010','1200') then score = 100;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723650#M224586</guid>
      <dc:creator>alpine_nights</dc:creator>
      <dc:date>2021-03-04T21:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723656#M224592</link>
      <description>&lt;P&gt;I have hundreds of subjects and I cannot hard coded the subject like this, I need this to be automated&lt;/P&gt;&lt;PRE class="language-sas"&gt;&lt;CODE&gt;Subject='1010'&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="language-sas"&gt;&lt;CODE&gt;Subject in ('1010','1200') &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723656#M224592</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-03-04T21:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723660#M224596</link>
      <description>&lt;P&gt;If I understand you correctly then you need to add the appropriate condition:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if subject = 1010 and alive = 'No' and missing(score) then score = 100;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:31:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723660#M224596</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-03-04T21:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723662#M224598</link>
      <description>&lt;P&gt;What is your criteria for which subjects need to be changed? I don't think we are understanding fully what needs to be done. Maybe you could give another example?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723662#M224598</guid>
      <dc:creator>alpine_nights</dc:creator>
      <dc:date>2021-03-04T21:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723668#M224601</link>
      <description>&lt;P&gt;Sorry, probably I wasn't clear, each subject has multiple Visit, and when the alive is "No", I want to impute the Score of "100" to the Score of each Visit of that subject.&lt;/P&gt;&lt;P&gt;I cannot hard code the subject using "subject = "1010", I have hundreds of subject and I want this be automated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all for your reply, but still did not solve my problem.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723668#M224601</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-03-04T21:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723684#M224608</link>
      <description>&lt;P&gt;Hmm, I do not believe I understand still.&lt;/P&gt;&lt;P&gt;Could you tell us what is not working with Shmuels's original code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if alive = 'No' and missing(score) then score = 100;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you want every score replaced, includes ones that were already there, just remove the missing(score), but the above code does create the output in red you showed. If you describe what this is doing wrong/what else you would like we can help more.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:58:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723684#M224608</guid>
      <dc:creator>alpine_nights</dc:creator>
      <dc:date>2021-03-04T21:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723688#M224611</link>
      <description>&lt;BR /&gt;if alive = 'No' then (for that suject), all the Score (of each Visit) = '100';&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Mar 2021 22:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723688#M224611</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-03-04T22:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723700#M224619</link>
      <description>&lt;P&gt;Another question: if a subject has alive='No', can they also have alive='Yes' elsewhere in the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you modify your original example to make it more relevant to what has been discussed? (Providing a good example helps you get faster answers)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 22:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723700#M224619</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-03-04T22:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to make up values based on the other variable while with the same subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723706#M224624</link>
      <description>Another question: if a subject has alive='No', can they also have alive='Yes' elsewhere in the data?&lt;BR /&gt;No, if subject died, then alive will be all as "No" for that subject.</description>
      <pubDate>Thu, 04 Mar 2021 22:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-up-values-based-on-the-other-variable-while-with-the/m-p/723706#M224624</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-03-04T22:55:08Z</dc:date>
    </item>
  </channel>
</rss>

