<?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 Proc Survey Select and Mirroring 2 Datasets in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Survey-Select-and-Mirroring-2-Datasets/m-p/25898#M5883</link>
    <description>I am not experienced enough to code a SAS query that will mirror 2 datasets with similar characteristics.  So I came on here, hoping to get some help! &lt;BR /&gt;
&lt;BR /&gt;
My objective is to mirror a dataset from a specific time period (2007Quarter3) to another dataset from 2008Quarter1.  By mirroring, I mean possibly filtering and excising certain observations from the 2007Q3 set in order to achieve the same (or almost the same) characteristics as 2008Q1.  &lt;BR /&gt;
&lt;BR /&gt;
My thought process was to obtain a random sample from 2008Q1 using Proc SurveySelect with a large enough sample size.  Then I hope write a code that tells SAS to find a near-match of each observation in the random sample (2008Q1) to the whole dataset from 2007Q3.  &lt;BR /&gt;
&lt;BR /&gt;
I would like to know if this is possibly the best process and if there's a better solution.  I have no idea what procedures to utilize when conducting the matching process.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks so much for everyone's input and help.</description>
    <pubDate>Tue, 17 Jun 2008 14:57:58 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-06-17T14:57:58Z</dc:date>
    <item>
      <title>Proc Survey Select and Mirroring 2 Datasets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Survey-Select-and-Mirroring-2-Datasets/m-p/25898#M5883</link>
      <description>I am not experienced enough to code a SAS query that will mirror 2 datasets with similar characteristics.  So I came on here, hoping to get some help! &lt;BR /&gt;
&lt;BR /&gt;
My objective is to mirror a dataset from a specific time period (2007Quarter3) to another dataset from 2008Quarter1.  By mirroring, I mean possibly filtering and excising certain observations from the 2007Q3 set in order to achieve the same (or almost the same) characteristics as 2008Q1.  &lt;BR /&gt;
&lt;BR /&gt;
My thought process was to obtain a random sample from 2008Q1 using Proc SurveySelect with a large enough sample size.  Then I hope write a code that tells SAS to find a near-match of each observation in the random sample (2008Q1) to the whole dataset from 2007Q3.  &lt;BR /&gt;
&lt;BR /&gt;
I would like to know if this is possibly the best process and if there's a better solution.  I have no idea what procedures to utilize when conducting the matching process.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks so much for everyone's input and help.</description>
      <pubDate>Tue, 17 Jun 2008 14:57:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Survey-Select-and-Mirroring-2-Datasets/m-p/25898#M5883</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-17T14:57:58Z</dc:date>
    </item>
  </channel>
</rss>

