<?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: limiting logistic regression to one group in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/limiting-logistic-regression-to-one-group/m-p/707730#M9585</link>
    <description>&lt;P&gt;Yes, that worked! I have a variable exactly as you described, and that fixed it. Thank you very much!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2020 18:28:02 GMT</pubDate>
    <dc:creator>gejoachim99</dc:creator>
    <dc:date>2020-12-22T18:28:02Z</dc:date>
    <item>
      <title>limiting logistic regression to one group</title>
      <link>https://communities.sas.com/t5/SAS-Studio/limiting-logistic-regression-to-one-group/m-p/707725#M9583</link>
      <description>&lt;P&gt;I'm working with a dataset that has two control groups for reasons that I won't get into. I'm trying to do logistic regression on each of those separately - so, cases vs control group 1, then cases vs control group 2. What command do I use within my proc logistic to limit it to one group? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 18:04:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/limiting-logistic-regression-to-one-group/m-p/707725#M9583</guid>
      <dc:creator>gejoachim99</dc:creator>
      <dc:date>2020-12-22T18:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: limiting logistic regression to one group</title>
      <link>https://communities.sas.com/t5/SAS-Studio/limiting-logistic-regression-to-one-group/m-p/707726#M9584</link>
      <description>&lt;P&gt;How is your data structured?&lt;/P&gt;
&lt;P&gt;Assuming you have a variable with three possible values then just use a WHERE clause to eliminate the observations from one of the control groups.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'cases vs control group 2';
proc logistics data=....
where group ne 'Control Group 1';
...

title 'cases vs control group 1';
proc logistics data=....
where group ne 'Control Group 2';
...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Dec 2020 18:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/limiting-logistic-regression-to-one-group/m-p/707726#M9584</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-12-22T18:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: limiting logistic regression to one group</title>
      <link>https://communities.sas.com/t5/SAS-Studio/limiting-logistic-regression-to-one-group/m-p/707730#M9585</link>
      <description>&lt;P&gt;Yes, that worked! I have a variable exactly as you described, and that fixed it. Thank you very much!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 18:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/limiting-logistic-regression-to-one-group/m-p/707730#M9585</guid>
      <dc:creator>gejoachim99</dc:creator>
      <dc:date>2020-12-22T18:28:02Z</dc:date>
    </item>
  </channel>
</rss>

