<?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: Random row selection below a certain threshold in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7311#M7305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that works great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Sep 2013 18:34:48 GMT</pubDate>
    <dc:creator>dharding</dc:creator>
    <dc:date>2013-09-05T18:34:48Z</dc:date>
    <item>
      <title>Random row selection below a certain threshold</title>
      <link>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7308#M7302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to randomly select 20% of the observations in my table below 200, and then exclude those observations from any analysis. In other words, do a random row selection both at a given percentage and below a certain threshold. Thanks for any pointers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 22:29:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7308#M7302</guid>
      <dc:creator>dharding</dc:creator>
      <dc:date>2013-08-22T22:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Random row selection below a certain threshold</title>
      <link>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7309#M7303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simple approach would be to use a data step to get all the obs that satisfy your cutoff value (&amp;lt;200), apply one of the SAS RANDom functions to generate random numbers for each row, sort by the random number and then only keep the top (or bottom) 20%. Then, merge back with your original data to exclude drop those obs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 02:54:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7309#M7303</guid>
      <dc:creator>fugue</dc:creator>
      <dc:date>2013-08-23T02:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Random row selection below a certain threshold</title>
      <link>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7310#M7304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two options I can think of. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use Select Where to select rows with values &amp;lt; 200. Make a subset using selected rows and choose Link to Original Table. Make subset of that using a random sample and also choose Link to Original Table. Now select all the rows in the final subset and they will also be selected in the original, because of the linking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Make a new column with a formula such as :value &amp;lt; 200 &amp;amp; random uniform() &amp;lt; 0.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 20:29:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7310#M7304</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2013-08-23T20:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Random row selection below a certain threshold</title>
      <link>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7311#M7305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that works great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 18:34:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Random-row-selection-below-a-certain-threshold/m-p/7311#M7305</guid>
      <dc:creator>dharding</dc:creator>
      <dc:date>2013-09-05T18:34:48Z</dc:date>
    </item>
  </channel>
</rss>

