<?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 Sampling groups where variances are similar in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681500#M206136</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a question. I have a data set like below. This is just an example what I have but I have a large sample. The first group has 150,000 people and the second group has 15,000 people. I tested the variance of score of two groups with Levene test and found out that the variance of scores of two groups are different. I would like to select two samples of groups where variances of scores are similar. Also, with that sample I would like to keep the sample ratios similar. What I mean by that for example the first group will have 12000 and the other one have 1200, the sample size is different than the original but the ratio of samples are similar. The point is that I&amp;nbsp; have similar sample size ratio. I have no idea how can I do that. Any help is appreciated.&lt;/P&gt;
&lt;P&gt;student_id group score&lt;/P&gt;
&lt;P&gt;110 1 430&lt;/P&gt;
&lt;P&gt;111 1 622&lt;/P&gt;
&lt;P&gt;112 2 530&lt;/P&gt;
&lt;P&gt;113 2 532&lt;/P&gt;
&lt;P&gt;114 1 410&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2020 20:37:30 GMT</pubDate>
    <dc:creator>dustychair</dc:creator>
    <dc:date>2020-09-03T20:37:30Z</dc:date>
    <item>
      <title>Sampling groups where variances are similar</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681500#M206136</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a question. I have a data set like below. This is just an example what I have but I have a large sample. The first group has 150,000 people and the second group has 15,000 people. I tested the variance of score of two groups with Levene test and found out that the variance of scores of two groups are different. I would like to select two samples of groups where variances of scores are similar. Also, with that sample I would like to keep the sample ratios similar. What I mean by that for example the first group will have 12000 and the other one have 1200, the sample size is different than the original but the ratio of samples are similar. The point is that I&amp;nbsp; have similar sample size ratio. I have no idea how can I do that. Any help is appreciated.&lt;/P&gt;
&lt;P&gt;student_id group score&lt;/P&gt;
&lt;P&gt;110 1 430&lt;/P&gt;
&lt;P&gt;111 1 622&lt;/P&gt;
&lt;P&gt;112 2 530&lt;/P&gt;
&lt;P&gt;113 2 532&lt;/P&gt;
&lt;P&gt;114 1 410&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 20:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681500#M206136</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2020-09-03T20:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling groups where variances are similar</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681507#M206139</link>
      <description>&lt;P&gt;I have a question and I have a comment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The question is: what statistic(s) do you want to compute from this sample?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My comment is with regards to your desired to have a sample of 12000 from one group and 1200 from the other group. I don't know why you insist on this, but depending on your answer to my question above, samples of 12000 are rarely worth the effort from a statistical point of view, the extra information you get is not linear with sample size, there is a point of diminishing returns where you get little benefit of (for example) going beyond a sample size of 2000.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 20:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681507#M206139</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-03T20:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling groups where variances are similar</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681508#M206140</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I am going to do DIF (Differential Item Function) analysis after I have two groups who have similar score variances. Sample size is not big deal, It can be 2000 but it shouldn't be less than 1000 since some DIF methods require large sample size. My point is the ratio of two samples should be similar to original one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 21:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681508#M206140</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2020-09-03T21:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling groups where variances are similar</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681511#M206143</link>
      <description>&lt;P&gt;Okay, thank you. I am not familiar with DIF so I can't comment further.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 21:12:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681511#M206143</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-03T21:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling groups where variances are similar</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681600#M206186</link>
      <description>Check this .@Rick_SAS wrote a blog about it . But you need SAS/QC .&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/05/01/split-data-groups-mean-variance.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/05/01/split-data-groups-mean-variance.html&lt;/A&gt;</description>
      <pubDate>Fri, 04 Sep 2020 12:03:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sampling-groups-where-variances-are-similar/m-p/681600#M206186</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-09-04T12:03:24Z</dc:date>
    </item>
  </channel>
</rss>

