<?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: sample size calculation in Cluster sampling in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680144#M32718</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/343730"&gt;@Shary&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for replying . Yes, I have more than 4952 clusters. What I want is to calculate the sample size for clusters. I saw in book that you can minimize the variance of the mean and the cost function using Lagrange.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In random sampling? I think you may need to read more carefully what that book was referring to.&lt;/P&gt;
&lt;P&gt;Lagrange normally refers to building transforms from the data and would more typically be done after a selection, I would think. Not as part of a random sample selection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Aug 2020 23:14:26 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-08-28T23:14:26Z</dc:date>
    <item>
      <title>sample size calculation in Cluster sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680050#M32715</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using surveyselect to select from clustering data. I need a way to compute the sample size in clustering data or a method that minimize the variance so I do not have to use the sample size requirement. Any help is welcome. Thanks.&lt;/P&gt;&lt;P&gt;Right now, I am using the following code :&lt;/P&gt;&lt;P&gt;PROC SURVEYSELECT DATA=marco_estratificado out=sample method=srs SAMPSIZE=4952;&lt;BR /&gt;SAMPLINGUNIT ID_AGEB ;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shary&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 16:01:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680050#M32715</guid>
      <dc:creator>Shary</dc:creator>
      <dc:date>2020-08-28T16:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation in Cluster sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680053#M32716</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/343730"&gt;@Shary&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using surveyselect to select from clustering data. I need a way to compute the sample size in clustering data or a method that minimize the variance so I do not have to use the sample size requirement. Any help is welcome. Thanks.&lt;/P&gt;
&lt;P&gt;Right now, I am using the following code :&lt;/P&gt;
&lt;P&gt;PROC SURVEYSELECT DATA=marco_estratificado out=sample method=srs SAMPSIZE=4952;&lt;BR /&gt;SAMPLINGUNIT ID_AGEB ;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shary&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need to provide a little more information. Such as "minimize variance" of what?&lt;/P&gt;
&lt;P&gt;Do you actually have more than 4952 clusters?&lt;/P&gt;
&lt;P&gt;You have to supply something to tell SAS how many records you want.&lt;/P&gt;
&lt;P&gt;It might help to provide a small example data set with a few clusters of records and what you would like as an example of what might be selected from that example data.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 16:23:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680053#M32716</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-28T16:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation in Cluster sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680118#M32717</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying . Yes, I have more than 4952 clusters. What I want is to calculate the sample size for clusters. I saw in book that you can minimize the variance of the mean and the cost function using Lagrange.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 21:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680118#M32717</guid>
      <dc:creator>Shary</dc:creator>
      <dc:date>2020-08-28T21:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calculation in Cluster sampling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680144#M32718</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/343730"&gt;@Shary&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for replying . Yes, I have more than 4952 clusters. What I want is to calculate the sample size for clusters. I saw in book that you can minimize the variance of the mean and the cost function using Lagrange.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In random sampling? I think you may need to read more carefully what that book was referring to.&lt;/P&gt;
&lt;P&gt;Lagrange normally refers to building transforms from the data and would more typically be done after a selection, I would think. Not as part of a random sample selection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 23:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calculation-in-Cluster-sampling/m-p/680144#M32718</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-28T23:14:26Z</dc:date>
    </item>
  </channel>
</rss>

