<?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: Proc Logistic help in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706572#M34228</link>
    <description>&lt;P&gt;Use a WHERE= dataset option to exclude certain observations.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 09:21:18 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-12-17T09:21:18Z</dc:date>
    <item>
      <title>Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706557#M34227</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am trying to use a Proc Logistic to run a regression, but am getting stuck.&lt;/P&gt;&lt;P&gt;I keep getting a note in the log that says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: The REF= option for the response variable is ignored.&lt;BR /&gt;NOTE: PROC LOGISTIC is fitting the cumulative logit model. The probabilities modeled are summed over the responses having the lower&lt;BR /&gt;Ordered Values in the Response Profile table. Use the response variable option DESCENDING if you want to reverse the&lt;BR /&gt;assignment of Ordered Values to the response levels.&lt;BR /&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that when running a proc logistic the outcome variable should be dichotomous right? I believe the issue is that I have values coded for No (1) and Yes (2), but also have 9 set to missings, I see in my Proc Logisitc output its reading the 9, how would I make it not read this extra value and only the 1 and 2?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 08:04:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706557#M34227</guid>
      <dc:creator>shortyofhb</dc:creator>
      <dc:date>2020-12-17T08:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706572#M34228</link>
      <description>&lt;P&gt;Use a WHERE= dataset option to exclude certain observations.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:21:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706572#M34228</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-17T09:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706573#M34229</link>
      <description>&lt;P&gt;So I would have&lt;/P&gt;&lt;P&gt;Proc data=x;&lt;/P&gt;&lt;P&gt;Class Gender (Param=Ref Ref="Male") Outcome (Param=Ref Ref="No");&lt;/P&gt;&lt;P&gt;Where Outcome = "No", "Yes";&lt;/P&gt;&lt;P&gt;Model Outcome=Gender;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or how would I use the where to only read "No" and "Yes" but not the 9 that codes for missing?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706573#M34229</guid>
      <dc:creator>shortyofhb</dc:creator>
      <dc:date>2020-12-17T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706576#M34230</link>
      <description>&lt;P&gt;My personal preference is the dataset option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=x (where=(Outcome in ("No","Yes")));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that&lt;/P&gt;
&lt;PRE&gt;Outcome = "No", "Yes"&lt;/PRE&gt;
&lt;P&gt;is invalid comparison syntax anywhere in the SAS language.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:42:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706576#M34230</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-17T09:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706577#M34231</link>
      <description>&lt;P&gt;Hello when I tried it the way you suggested I get an error in the log:&lt;/P&gt;&lt;P&gt;ERROR: WHERE clause operator requires compatible variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I must use the Param=Ref Ref="Male" ... etc line&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706577#M34231</guid>
      <dc:creator>shortyofhb</dc:creator>
      <dc:date>2020-12-17T09:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706579#M34232</link>
      <description>&lt;P&gt;In the WHERE statement and WHERE= dataset option, you need to use the raw values stored in the dataset, not the formatted ones.&lt;/P&gt;
&lt;P&gt;Maxim 3: Know Your Data; run a PROC CONTENTS to see variable attributes (including assigned formats), and then look at the formats to see which raw values are expected.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706579#M34232</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-17T10:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706580#M34233</link>
      <description>&lt;P&gt;Ah okay maybe I didn't ask the question clearly.&lt;/P&gt;&lt;P&gt;So I need to run a logistic regression model using the parameterization method. I know my outcome variable of interest should be Yes=1 and No=2. (These are my newly formatted variables however, I used an array to recode No=0 to No=2)&lt;/P&gt;&lt;P&gt;In my data set, for my outcome variable of interest, I have Yes=1, No=2, and Missing=9. If I run a proc freq, I have 1,2, and 9 pop up. Is there a way for my to run this proc logistics while ignoring the 9?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706580#M34233</guid>
      <dc:creator>shortyofhb</dc:creator>
      <dc:date>2020-12-17T10:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706581#M34234</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where=(variable ne 9)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;as dataset option.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:20:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706581#M34234</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-17T10:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logistic help</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706582#M34235</link>
      <description>&lt;P&gt;Great that worked, thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:21:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Logistic-help/m-p/706582#M34235</guid>
      <dc:creator>shortyofhb</dc:creator>
      <dc:date>2020-12-17T10:21:48Z</dc:date>
    </item>
  </channel>
</rss>

