<?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: Selecting observations from a variable without PRINT or DATA step in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-observations-from-a-variable-without-PRINT-or-DATA/m-p/807009#M39706</link>
    <description>&lt;P&gt;I have a previously created data step, but in my actual program I am not allowed to create one. So I can read it from the PROC TTEST, wasn't aware I could use the WHERE statement inside.&lt;/P&gt;&lt;P&gt;I have to test group A and B vs X and Y&lt;/P&gt;</description>
    <pubDate>Sun, 10 Apr 2022 11:48:24 GMT</pubDate>
    <dc:creator>Mruizv</dc:creator>
    <dc:date>2022-04-10T11:48:24Z</dc:date>
    <item>
      <title>Selecting observations from a variable without PRINT or DATA step</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-observations-from-a-variable-without-PRINT-or-DATA/m-p/806970#M39704</link>
      <description>&lt;P&gt;Trying to run a T test (not paired) but my variable "group" has 3 levels. (A/B/C)&lt;/P&gt;&lt;P&gt;How can I select only 2 without using a print or data step?&lt;/P&gt;&lt;P&gt;My current observations are stacked 10 of each&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC ttest data=example;&lt;BR /&gt;title "T Tests";&lt;BR /&gt;class group;&lt;BR /&gt;var x y;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 01:02:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-observations-from-a-variable-without-PRINT-or-DATA/m-p/806970#M39704</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-10T01:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting observations from a variable without PRINT or DATA step</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-observations-from-a-variable-without-PRINT-or-DATA/m-p/806980#M39705</link>
      <description>&lt;P&gt;Your description is not at all clear.&lt;/P&gt;
&lt;P&gt;If you want to limit the data used by PROC TTEST use a WHERE statement.&lt;/P&gt;
&lt;P&gt;For example if GROUP has value A, B, C, D and you want to test A against B then add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where group in ('A' 'B');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To your program.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 05:09:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-observations-from-a-variable-without-PRINT-or-DATA/m-p/806980#M39705</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-10T05:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting observations from a variable without PRINT or DATA step</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-observations-from-a-variable-without-PRINT-or-DATA/m-p/807009#M39706</link>
      <description>&lt;P&gt;I have a previously created data step, but in my actual program I am not allowed to create one. So I can read it from the PROC TTEST, wasn't aware I could use the WHERE statement inside.&lt;/P&gt;&lt;P&gt;I have to test group A and B vs X and Y&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 11:48:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-observations-from-a-variable-without-PRINT-or-DATA/m-p/807009#M39706</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-10T11:48:24Z</dc:date>
    </item>
  </channel>
</rss>

