<?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: Proportional Odds Model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846706#M41934</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks this codes work but I have a question- I want to understand how it works. This is my code below.&lt;/P&gt;&lt;P&gt;In the datastep code, the&amp;nbsp;cleanp_n is only 1000 obs, the&amp;nbsp;stcp.cleanedp3 =1000 obs. How did stcp.cleanedp4 provides the reminding of the 3000 obs since I did not reference&amp;nbsp;stcp.cleanedp2 that has all the 4000 obs in the datastep?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* simple random sampling with replacement - proc survey select */&lt;BR /&gt;proc surveyselect data=stcp.cleanedp2 method = srs outall sampsize = 1000&lt;BR /&gt;seed=535113001 out=cleanp_n ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data stcp.cleanedp3 stcp.cleanedp4;&lt;BR /&gt;set cleanp_n;&lt;BR /&gt;if selected then output stcp.cleanedp3;&lt;BR /&gt;else output stcp.cleanedp4;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2022 22:24:03 GMT</pubDate>
    <dc:creator>CathyVI</dc:creator>
    <dc:date>2022-11-28T22:24:03Z</dc:date>
    <item>
      <title>Proportional Odds Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846691#M41932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is from the free online paper: Using New SAS 9.4 Features for Cumulative Logit Models with Partial&lt;BR /&gt;Proportional Odds. On page 7, a subset data was created:&amp;nbsp;The dataset “MB” is comprised of 408 of the 508 observations in the dataset.&amp;nbsp; Dataset “XV” contains 100 observations and will be used for cross-validation purposes for the model.&lt;/P&gt;&lt;P&gt;Question: Was the data MB still contain 508 or not. From my understanding, MB only contain 408, so my question is how was 408 MB separated from 508 because proc selectsurvey will only recreate 100(XV) from MB and MB will still contain 508 atleast from my sas knowledge. How do I have 408 with the proc selectsurvey and not 508?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 20:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846691#M41932</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2022-11-28T20:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proportional Odds Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846702#M41933</link>
      <description>&lt;P&gt;I guess proc surveyselect was used with option OUTALL and split according to the newly created variable &lt;EM&gt;Selected&lt;/EM&gt;. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         proc surveyselect data=sashelp.class out=classSamples outall sampsize=15 seed=75868;
 70         run;
 
 NOTE: The data set WORK.CLASSSAMPLES has 19 observations and 6 variables.
 NOTE: PROCEDURE SURVEYSELECT a utilisé (Durée totale du traitement) :
       real time           0.02 seconds
       cpu time            0.03 seconds
       
 
 71         
 72         data mb xv;
 73         set classSamples;
 74         if Selected then output mb;
 75         else output xv;
 76         run;
 
 NOTE: There were 19 observations read from the data set WORK.CLASSSAMPLES.
 NOTE: The data set WORK.MB has 15 observations and 6 variables.
 NOTE: The data set WORK.XV has 4 observations and 6 variables.
 NOTE: DATA statement a utilisé (Durée totale du traitement) :
       real time           0.00 seconds
       cpu time            0.01 seconds&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Nov 2022 21:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846702#M41933</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2022-11-28T21:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proportional Odds Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846706#M41934</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks this codes work but I have a question- I want to understand how it works. This is my code below.&lt;/P&gt;&lt;P&gt;In the datastep code, the&amp;nbsp;cleanp_n is only 1000 obs, the&amp;nbsp;stcp.cleanedp3 =1000 obs. How did stcp.cleanedp4 provides the reminding of the 3000 obs since I did not reference&amp;nbsp;stcp.cleanedp2 that has all the 4000 obs in the datastep?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* simple random sampling with replacement - proc survey select */&lt;BR /&gt;proc surveyselect data=stcp.cleanedp2 method = srs outall sampsize = 1000&lt;BR /&gt;seed=535113001 out=cleanp_n ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data stcp.cleanedp3 stcp.cleanedp4;&lt;BR /&gt;set cleanp_n;&lt;BR /&gt;if selected then output stcp.cleanedp3;&lt;BR /&gt;else output stcp.cleanedp4;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 22:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846706#M41934</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2022-11-28T22:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proportional Odds Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846719#M41935</link>
      <description>&lt;P&gt;Please check the Log after you run your code. This should show you that dataset cleanp_n has the same number of obs as stcp.cleanedp2.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 01:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proportional-Odds-Model/m-p/846719#M41935</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2022-11-29T01:19:47Z</dc:date>
    </item>
  </channel>
</rss>

