<?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: Results of one observation in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546883#M8289</link>
    <description>&lt;P&gt;To read exactly one particular observation, you can use the point= option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
xx = 32;
set sashelp.cars point=xx;
output;
stop;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For subsetting to a special value, use a simple where condition:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set sashelp.cars;
where make = 'BMW';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 28 Mar 2019 13:06:45 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-03-28T13:06:45Z</dc:date>
    <item>
      <title>Results of one observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546879#M8288</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to analyze the variables/results from one observation. Such that I want to look at all the responses to variables that individual/observation '32'. How would I code for that? Additionally how can I look at all the observations for example that chose 'yes' to a variable called 'smoker'? Can sas give me an output with all the observations that chose 'yes'?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 12:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546879#M8288</guid>
      <dc:creator>UGAstudent</dc:creator>
      <dc:date>2019-03-28T12:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Results of one observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546883#M8289</link>
      <description>&lt;P&gt;To read exactly one particular observation, you can use the point= option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
xx = 32;
set sashelp.cars point=xx;
output;
stop;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For subsetting to a special value, use a simple where condition:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set sashelp.cars;
where make = 'BMW';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Mar 2019 13:06:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546883#M8289</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-28T13:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Results of one observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546884#M8290</link>
      <description>&lt;P&gt;PS Go 'Dawgs?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 13:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546884#M8290</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-28T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Results of one observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546901#M8294</link>
      <description>&lt;P&gt;If you are certain that observation 32 is the one you want, here is a method that works both with a DATA step and with SAS procedures:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set have (firstobs=32 obs=32);
run;

proc print data=have (firstobs=32 obs=32);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Subsetting based on a "yes" is easy, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;has shown.&amp;nbsp; You need to know how to do that.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 13:46:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546901#M8294</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-03-28T13:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Results of one observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546994#M8313</link>
      <description>Go DAWGS! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 28 Mar 2019 19:00:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Results-of-one-observation/m-p/546994#M8313</guid>
      <dc:creator>UGAstudent</dc:creator>
      <dc:date>2019-03-28T19:00:54Z</dc:date>
    </item>
  </channel>
</rss>

