<?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: Match firms with two sets of control firms in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Match-firms-with-two-sets-of-control-firms/m-p/271182#M53950</link>
    <description>Well this is whole application. And I don't think the communities are intended for business related application design and development. &lt;BR /&gt;Please try to outline the steps necessary and boil down any problems you might encounter to more specific questions.</description>
    <pubDate>Wed, 18 May 2016 06:11:04 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-05-18T06:11:04Z</dc:date>
    <item>
      <title>Match firms with two sets of control firms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Match-firms-with-two-sets-of-control-firms/m-p/271171#M53946</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m trying to match my ‘treatment’ dataset with two control datasets – control1 and control2. Here are the rules:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I match treatment firms against control firms based on SIC2, fyear and the closest asset.&lt;/LI&gt;&lt;LI&gt;Each treatment firm must have one match in 'control1' AND one match in 'control2'. In other words, matched treatment firms must have 2 control firms, selected from two groups. Any unmatched firm (even if it has one control from either group) should be deleted.&lt;/LI&gt;&lt;LI&gt;My final result should append matched observations from all three groups (treatment, control1, and control2).&lt;/LI&gt;&lt;LI&gt;In addition, there should be three columns indicating whether the observation is from treatment, control1 or control2.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In the attachment, I’ve some sample data along with my expected result. I highly appreciate your cooperation.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 05:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Match-firms-with-two-sets-of-control-firms/m-p/271171#M53946</guid>
      <dc:creator>saf_sas</dc:creator>
      <dc:date>2016-05-18T05:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Match firms with two sets of control firms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Match-firms-with-two-sets-of-control-firms/m-p/271182#M53950</link>
      <description>Well this is whole application. And I don't think the communities are intended for business related application design and development. &lt;BR /&gt;Please try to outline the steps necessary and boil down any problems you might encounter to more specific questions.</description>
      <pubDate>Wed, 18 May 2016 06:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Match-firms-with-two-sets-of-control-firms/m-p/271182#M53950</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-18T06:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Match firms with two sets of control firms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Match-firms-with-two-sets-of-control-firms/m-p/271192#M53956</link>
      <description>&lt;P&gt;Hi LinusH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the part I've been struggling with. I do know how to match one treatment with one control but couldn't help myself with this problem - one treatment&amp;nbsp;with two controls,&amp;nbsp;where&amp;nbsp;controls come from two different datasets. I hope&amp;nbsp;someone here could help me out. SIC's and fyears are&amp;nbsp;not necessarily required for the solution, which I think mitigates your concern about business related application.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 06:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Match-firms-with-two-sets-of-control-firms/m-p/271192#M53956</guid>
      <dc:creator>saf_sas</dc:creator>
      <dc:date>2016-05-18T06:29:51Z</dc:date>
    </item>
  </channel>
</rss>

