<?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 Surveylogistic giving opposite results in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577347#M13190</link>
    <description>&lt;P&gt;Show us the PROC LOGISTIC code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifically, what are you using for the EVENT= option in PROC LOGISTIC?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are you handling the stratification in PROC LOGISTIC?&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2019 14:05:06 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-07-29T14:05:06Z</dc:date>
    <item>
      <title>Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577342#M13189</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having opposite odds ration results when I use the proc surveylogistic than the proc logistics. I am not understanding why. I tried proc logistic with descending option and the results are opposite to the surveylogistic one/ My outcome is binary.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveylogistic data=doit;&amp;nbsp;&lt;/P&gt;&lt;P&gt;class age sex income marital immigrant/ param=ref;&lt;/P&gt;&lt;P&gt;model immigrant (event="immigrant")= age sex income marital;&lt;/P&gt;&lt;P&gt;stratum province ;&lt;/P&gt;&lt;P&gt;weight weights;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 13:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577342#M13189</guid>
      <dc:creator>dfarid</dc:creator>
      <dc:date>2019-07-29T13:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577347#M13190</link>
      <description>&lt;P&gt;Show us the PROC LOGISTIC code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifically, what are you using for the EVENT= option in PROC LOGISTIC?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are you handling the stratification in PROC LOGISTIC?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 14:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577347#M13190</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-29T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577349#M13191</link>
      <description>&lt;P&gt;Hi Paige,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc logistic data=doit descending simple;&lt;/P&gt;&lt;P&gt;class....../param=ref;&lt;/P&gt;&lt;P&gt;model immigrant (event="immigrant")=......;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 13:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577349#M13191</guid>
      <dc:creator>dfarid</dc:creator>
      <dc:date>2019-07-29T13:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577354#M13192</link>
      <description>&lt;P&gt;So in PROC LOGISTIC, you have no WEIGHT statement like you do in PROC SURVEYLOGISTIC, and you also are not handling the stratification in PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I don't see any reason to expect the odds ratios to be the same.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 14:07:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577354#M13192</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-29T14:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577356#M13193</link>
      <description>&lt;P&gt;Yes I understand but not 1/odds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is completely the opposite across all variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 14:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577356#M13193</guid>
      <dc:creator>dfarid</dc:creator>
      <dc:date>2019-07-29T14:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577430#M13208</link>
      <description>&lt;P&gt;I'll stick with my previous answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If PROC SURVEYLOGISTIC uses weights and stratification, and PROC LOGISTIC does not, the highly weighted data in PROC SURVEYLOGISTIC could have very low weights in PROC LOGISTIC; and so on.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 17:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577430#M13208</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-29T17:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577703#M13261</link>
      <description>&lt;P&gt;&lt;SPAN&gt;model immigrant (event="&lt;STRONG&gt;NO&lt;/STRONG&gt;immigrant")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 12:45:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577703#M13261</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-30T12:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577790#M13262</link>
      <description>&lt;P&gt;I have included the glogit option and it gave me the right results. I am not sure why though. Very confusing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 15:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/577790#M13262</guid>
      <dc:creator>dfarid</dc:creator>
      <dc:date>2019-07-30T15:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic giving opposite results</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/578013#M13286</link>
      <description>&lt;P&gt;I mean using another LEVEL of Y in your event= option .&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 11:14:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Surveylogistic-giving-opposite-results/m-p/578013#M13286</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-31T11:14:38Z</dc:date>
    </item>
  </channel>
</rss>

