<?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 Selecting comparable populations in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-comparable-populations/m-p/74620#M3589</link>
    <description>I need to create a control group that has the same characteristics as the target population.  I used the following:&lt;BR /&gt;
PROC SURVEYSELECT DATA=HOME.F0468_MOMS OUT=MOMSAMPL METHOD=SRS SAMPRATE=.5 SEED=2;&lt;BR /&gt;
STRATA TARGCONT MOMAGE GRAVIDITY FPLGR SMOKE MED_RSK LOWWT BMI MARSTAT;&lt;BR /&gt;
RUN;&lt;BR /&gt;
  However, this is code from a different programmer and I don't really know what it's doing.   TARGCONT is the flag that distinguishes Target and Control groups.&lt;BR /&gt;
  Is there a better method?  Is there anything I should adjust?  Thanks</description>
    <pubDate>Fri, 09 Apr 2010 17:33:11 GMT</pubDate>
    <dc:creator>onpoint1</dc:creator>
    <dc:date>2010-04-09T17:33:11Z</dc:date>
    <item>
      <title>Selecting comparable populations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-comparable-populations/m-p/74620#M3589</link>
      <description>I need to create a control group that has the same characteristics as the target population.  I used the following:&lt;BR /&gt;
PROC SURVEYSELECT DATA=HOME.F0468_MOMS OUT=MOMSAMPL METHOD=SRS SAMPRATE=.5 SEED=2;&lt;BR /&gt;
STRATA TARGCONT MOMAGE GRAVIDITY FPLGR SMOKE MED_RSK LOWWT BMI MARSTAT;&lt;BR /&gt;
RUN;&lt;BR /&gt;
  However, this is code from a different programmer and I don't really know what it's doing.   TARGCONT is the flag that distinguishes Target and Control groups.&lt;BR /&gt;
  Is there a better method?  Is there anything I should adjust?  Thanks</description>
      <pubDate>Fri, 09 Apr 2010 17:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-comparable-populations/m-p/74620#M3589</guid>
      <dc:creator>onpoint1</dc:creator>
      <dc:date>2010-04-09T17:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting comparable populations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-comparable-populations/m-p/74621#M3590</link>
      <description>This code is taking a simple random sample (method=srs) of 1/2 (samprate=.5) of each strata from the HOME.F0468_MOMS data set and saving the sample as MOMSAMPL. The strata are defined by TARGCONT MOMAGE GRAVIDITY FPLGR SMOKE MED_RSK LOWWT BMI MARSTAT. That is, each stratum is a unique combination of values for the 9 variables listed in the strata statement.&lt;BR /&gt;
&lt;BR /&gt;
It is odd that TARGCONT is part of the strata statement as this makes it appear as if the target and control groups have already been assigned. Your description of the intended purpose makes me think you may want to remove TARGCONT from the strata statement and then assign the chosen sample to the control group.</description>
      <pubDate>Mon, 12 Apr 2010 19:52:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-comparable-populations/m-p/74621#M3590</guid>
      <dc:creator>sfleming</dc:creator>
      <dc:date>2010-04-12T19:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting comparable populations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-comparable-populations/m-p/74622#M3591</link>
      <description>Yes, targcont has been taken out of the STRATA.  The target group has already been defined - I'm trying to find a control group with the same characteristics.  As I learn more about this PROC I doubt this is what I want to use, but it has been interesting. Thanks.</description>
      <pubDate>Mon, 12 Apr 2010 20:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-comparable-populations/m-p/74622#M3591</guid>
      <dc:creator>onpoint1</dc:creator>
      <dc:date>2010-04-12T20:17:59Z</dc:date>
    </item>
  </channel>
</rss>

