<?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: Bernoulli Sampling in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/416739#M21877</link>
    <description>&lt;P&gt;Sampling usually doesn't have an error rate when doing random sampling from a data set AFAIK...simulations usually do have the parameters you're listing. I'm trying to understand what you're trying to do here but not quite getting it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 16:00:27 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-11-28T16:00:27Z</dc:date>
    <item>
      <title>Bernoulli Sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/416669#M21874</link>
      <description>&lt;P&gt;Hello guys !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to realize a Bernoulli Sampling, with a rate of error = 5%,&lt;/P&gt;&lt;P&gt;95% for the level of confidence, and 50% for the estimated probability&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I based my approach on the proc surveyselect by specifying the METHOD=BERNOULLI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I don’t know how to integrate the others parameters (rate of error, level of confidence and estimated probability) in order to obtain a fixed number of samples every time I execute my SAS query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you here statisticians ??&amp;nbsp; &lt;img id="womanembarrassed" class="emoticon emoticon-womanembarrassed" src="https://communities.sas.com/i/smilies/16x16_woman-embarrassed.png" alt="Woman Embarassed" title="Woman Embarassed" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank u in advance for ur answers &lt;img id="womanhappy" class="emoticon emoticon-womanhappy" src="https://communities.sas.com/i/smilies/16x16_woman-happy.png" alt="Woman Happy" title="Woman Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Marwa&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 13:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/416669#M21874</guid>
      <dc:creator>Marwa_Se</dc:creator>
      <dc:date>2017-11-28T13:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bernoulli Sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/416739#M21877</link>
      <description>&lt;P&gt;Sampling usually doesn't have an error rate when doing random sampling from a data set AFAIK...simulations usually do have the parameters you're listing. I'm trying to understand what you're trying to do here but not quite getting it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 16:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/416739#M21877</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-28T16:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bernoulli Sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417056#M21892</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417056#M21892</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-11-29T14:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bernoulli Sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417060#M21893</link>
      <description>&lt;P&gt;Could this be a "power and sample size" problem? If so, look at PROC POWER.&amp;nbsp;It sounds like you are considering random samples from a Bernoulli&amp;nbsp;distribution with p=0.5. But then I'm not sure what you want. PROC POWER can answer questions such as "how large&amp;nbsp;a sample must be" in order to be confident that you can detect some effect. See &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_examples02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;the ONESAMPLEFREQ example for PROC POWER.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417060#M21893</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-11-29T14:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bernoulli Sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417147#M21899</link>
      <description>&lt;P&gt;Hello Rick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help &lt;img id="womanhappy" class="emoticon emoticon-womanhappy" src="https://communities.sas.com/i/smilies/16x16_woman-happy.png" alt="Woman Happy" title="Woman Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually i would like to extract from a database, a sample for compliance monitoring, therefore, &amp;nbsp;i need to obtain a representative sample statistically valid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been asked to apply "Bernoulli" on the database and to fix it’s statistical parameters as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- Estimated probability of character = 50%&lt;STRONG&gt;&amp;nbsp; -&amp;gt; &lt;/STRONG&gt;in order to vary downward the sample size&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- The level of confidence= 95% and the marging error=5% &lt;STRONG&gt;-&amp;gt;&lt;/STRONG&gt; Because the control is based on an activity evaluated with a very high risk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve never used the proc power I’m not sure if it answers my questions but I will look at your examples and try to match with my problem...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marwa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417147#M21899</guid>
      <dc:creator>Marwa_Se</dc:creator>
      <dc:date>2017-11-29T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bernoulli Sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417154#M21900</link>
      <description>&lt;P&gt;Thank u for ur answer &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;i'm talking about the couple (level of confidence, marging error) which evaluate the level of the risk on my dataset,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i explained my problem better on the discussion bellow...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:01:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417154#M21900</guid>
      <dc:creator>Marwa_Se</dc:creator>
      <dc:date>2017-11-29T17:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bernoulli Sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417157#M21902</link>
      <description>&lt;P&gt;I think you need to use PROC POWER to determine your sample size using whatever rate you have that you're checking for, that's a key component. Then you'll use PROC SURVEYSELECT to actually select the random sample.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bernoulli-Sampling/m-p/417157#M21902</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-29T17:04:12Z</dc:date>
    </item>
  </channel>
</rss>

