<?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: how to know that you have replicated obs in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548177#M74424</link>
    <description>&lt;P&gt;Check your data.&amp;nbsp; It's probably messed up.&amp;nbsp; The result you describe would only be possible if the YEAR values were the same for all observations.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 12:09:19 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2019-04-03T12:09:19Z</dc:date>
    <item>
      <title>how to know that you have replicated obs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548115#M74413</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;usually i use nodupkey option to eliminate the replicated observations, but i think this option removes all observations that occur next year and so on.&lt;/P&gt;&lt;P&gt;other words this option keeps only first year-observations while i have ten years observations, so&amp;nbsp; I need to know how much replicated obs i have in my datafile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548115#M74413</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-04-03T07:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to know that you have replicated obs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548116#M74414</link>
      <description>&lt;P&gt;You can use the &lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p02bhn81rn4u64n1b6l00ftdnxge.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0k9v2soi4rps5n1m8fetjz9o2yr" target="_self"&gt;DUPOUT= Option&lt;/A&gt; in the PROC SORT Statement.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:18:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548116#M74414</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-04-03T07:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to know that you have replicated obs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548117#M74415</link>
      <description>&lt;P&gt;Please post the code you are using and an excerpt of the data and explain which obs are "accidentally" removed. The "nodupkey" option keeps only the first observation within a group defined by BY-statement.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548117#M74415</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-04-03T07:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to know that you have replicated obs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548121#M74416</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=real_var1 nodupkey; by code year; run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the observations were 34000 then became 1931 observations&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i checked the number of firms it was 1931 firms.&lt;/P&gt;&lt;P&gt;while i have data for 9 years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548121#M74416</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-04-03T07:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to know that you have replicated obs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548122#M74417</link>
      <description>&lt;P&gt;You should add the year-variable to the by-statement, if you want obs for each year.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548122#M74417</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-04-03T07:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to know that you have replicated obs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548177#M74424</link>
      <description>&lt;P&gt;Check your data.&amp;nbsp; It's probably messed up.&amp;nbsp; The result you describe would only be possible if the YEAR values were the same for all observations.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 12:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548177#M74424</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-04-03T12:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to know that you have replicated obs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548421#M74432</link>
      <description>ok i will&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 04 Apr 2019 07:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-know-that-you-have-replicated-obs/m-p/548421#M74432</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-04-04T07:27:10Z</dc:date>
    </item>
  </channel>
</rss>

