<?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: Odds ratios in Proc Logselect in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846664#M41922</link>
    <description>What about sas viya for learners?</description>
    <pubDate>Mon, 28 Nov 2022 18:26:33 GMT</pubDate>
    <dc:creator>andreas_zaras</dc:creator>
    <dc:date>2022-11-28T18:26:33Z</dc:date>
    <item>
      <title>Odds ratios in Proc Logselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846562#M41912</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run a logistic regression using the interace of SAS Studio. I get the code at the ned of the question. How can i i add odds ratios in the output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I add the oddratio statement as described in the following link but i get the error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; color: #2a3037;"&gt;91 link=logit clb;&lt;/DIV&gt;
&lt;DIV class="sasSource" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; color: #2a3037;"&gt;92 oddsratio;&lt;/DIV&gt;
&lt;DIV class="sasError" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; color: #d80000;"&gt;---------&lt;/DIV&gt;
&lt;DIV class="sasError" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; color: #d80000;"&gt;180&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1669632309957" class="sasError" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; color: #d80000;"&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_023/casstat/casstat_logselect_examples08.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_023/casstat/casstat_logselect_examples08.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andreas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; border-width: 0px; left: -1000px; line-height: 1.25; margin: 0px; padding: 0px; text-rendering: optimizespeed; top: 0px; background-color: #ffffff; color: #2a3037; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; position: fixed;"&gt;ods noproctitle;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;proc logselect data=CASUSER.PVA97NK_26_VIYA_PARTITION;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	partition fraction(validate=0.3);&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	class DemCluster DemGender DemHomeOwner StatusCat96NK;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	model TARGET_B(event='1')=DemCluster DemGender DemHomeOwner StatusCat96NK &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		DemAge DemMedHomeValue DemMedIncome DemPctVeterans GiftAvg36 GiftAvgAll &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		GiftAvgCard36 GiftAvgLast GiftCnt36 GiftCntAll GiftCntCard36 GiftCntCardAll &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		GiftTimeFirst GiftTimeLast 'Partition Indicator'n PromCnt12 PromCnt36 &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		PromCntAll PromCntCard12 PromCntCard36 PromCntCardAll StatusCatStarAll / &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		link=logit clb;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	selection method=stepwise&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;     (stop=sbc choose=sbc) hierarchy=none;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	output out=CASUSER.sot predicted;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none; border-width: 0px; left: -1000px; line-height: 1.25; margin: 0px; padding: 0px; text-rendering: optimizespeed; top: 0px; background-color: #ffffff; color: #2a3037; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; position: fixed;"&gt;ods noproctitle;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;proc logselect data=CASUSER.PVA97NK_26_VIYA_PARTITION;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	partition fraction(validate=0.3);&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	class DemCluster DemGender DemHomeOwner StatusCat96NK;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	model TARGET_B(event='1')=DemCluster DemGender DemHomeOwner StatusCat96NK &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		DemAge DemMedHomeValue DemMedIncome DemPctVeterans GiftAvg36 GiftAvgAll &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		GiftAvgCard36 GiftAvgLast GiftCnt36 GiftCntAll GiftCntCard36 GiftCntCardAll &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		GiftTimeFirst GiftTimeLast 'Partition Indicator'n PromCnt12 PromCnt36 &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		PromCntAll PromCntCard12 PromCntCard36 PromCntCardAll StatusCatStarAll / &lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;		link=logit clb;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	selection method=stepwise&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;     (stop=sbc choose=sbc) hierarchy=none;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;	output out=CASUSER.sot predicted;&lt;BR style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); text-size-adjust: none;" /&gt;run;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods noproctitle;

proc logselect data=CASUSER.PVA97NK_26_VIYA_PARTITION;
	partition fraction(validate=0.3);
	class DemCluster DemGender DemHomeOwner StatusCat96NK;
	model TARGET_B(event='1')=DemCluster DemGender DemHomeOwner StatusCat96NK 
		DemAge DemMedHomeValue DemMedIncome DemPctVeterans GiftAvg36 GiftAvgAll 
		GiftAvgCard36 GiftAvgLast GiftCnt36 GiftCntAll GiftCntCard36 GiftCntCardAll 
		GiftTimeFirst GiftTimeLast 'Partition Indicator'n PromCnt12 PromCnt36 
		PromCntAll PromCntCard12 PromCntCard36 PromCntCardAll StatusCatStarAll / 
		link=logit clb;
	selection method=stepwise
     (stop=sbc choose=sbc) hierarchy=none;
	output out=CASUSER.sot predicted;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 10:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846562#M41912</guid>
      <dc:creator>andreas_zaras</dc:creator>
      <dc:date>2022-11-28T10:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratios in Proc Logselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846605#M41913</link>
      <description>&lt;P&gt;The documentation at your link says:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;This documentation is for a version of the software that is out of support. Select a version from the version selector in the banner, or access the&amp;nbsp;&lt;/SPAN&gt;&lt;A class="CDC_unsupportedLink__rkDUu" href="https://documentation.sas.com/doc/en/pgmsascdc/v_033/casstat/casstat_logselect_examples08.htm?homeOnFail" target="_blank"&gt;latest documentation&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this link:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/casstat/casstat_logselect_toc.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/casstat/casstat_logselect_toc.htm&lt;/A&gt;&amp;nbsp;there is no ODDSRATIO statement.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 14:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846605#M41913</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-11-28T14:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratios in Proc Logselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846619#M41915</link>
      <description>&lt;P&gt;An ODDSRATIO statement is available in PROC LOGSELECT in recent versions of SAS Viya.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 15:06:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846619#M41915</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-11-28T15:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratios in Proc Logselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846664#M41922</link>
      <description>What about sas viya for learners?</description>
      <pubDate>Mon, 28 Nov 2022 18:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846664#M41922</guid>
      <dc:creator>andreas_zaras</dc:creator>
      <dc:date>2022-11-28T18:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratios in Proc Logselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846845#M41936</link>
      <description>&lt;P&gt;It should work there since I believe it will give you access to the current or recent release of SAS Viya.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 16:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratios-in-Proc-Logselect/m-p/846845#M41936</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-11-29T16:02:24Z</dc:date>
    </item>
  </channel>
</rss>

