<?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 How to deal with Multipul Permnos when calculating CAR? in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-deal-with-Multipul-Permnos-when-calculating-CAR/m-p/200010#M2643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the stock information for my sample in order to calculate abnormal cumulative return(CAR). However, there are some companies having more than one permnos at the time of my event. I am very confused how to deal with this kind of situation? Is there any reasonable way that I could delete all the duplicates? Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 15:15:36 GMT</pubDate>
    <dc:creator>MR_Xishuai</dc:creator>
    <dc:date>2015-03-12T15:15:36Z</dc:date>
    <item>
      <title>How to deal with Multipul Permnos when calculating CAR?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-deal-with-Multipul-Permnos-when-calculating-CAR/m-p/200010#M2643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the stock information for my sample in order to calculate abnormal cumulative return(CAR). However, there are some companies having more than one permnos at the time of my event. I am very confused how to deal with this kind of situation? Is there any reasonable way that I could delete all the duplicates? Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 15:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-deal-with-Multipul-Permnos-when-calculating-CAR/m-p/200010#M2643</guid>
      <dc:creator>MR_Xishuai</dc:creator>
      <dc:date>2015-03-12T15:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to deal with Multipul Permnos when calculating CAR?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-deal-with-Multipul-Permnos-when-calculating-CAR/m-p/200011#M2644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to make some business decisions before making programming decisions?&lt;/P&gt;&lt;P&gt;I'm going to use ID instead of Permno to avoid autocorrect in the rest of my answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are there duplicate ID's?&lt;/P&gt;&lt;P&gt;Is there a duplicate record in terms of time or just name?&lt;/P&gt;&lt;P&gt;Are the company with the same name actually the same business entity?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If you want to delete a record and they're not identical other than ID's how do you decide which record(s) to delete?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For removing duplicates look into PROC SORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need help with the programming please post sample data with expected output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 16:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-deal-with-Multipul-Permnos-when-calculating-CAR/m-p/200011#M2644</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-12T16:50:51Z</dc:date>
    </item>
  </channel>
</rss>

