<?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: proc expand deletes single observation for by groups in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-expand-deletes-single-observation-for-by-groups/m-p/14684#M2403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know the answer to this question? Proc expand deletes single observations. Is there any way to prevent this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 11:30:45 GMT</pubDate>
    <dc:creator>5forwards</dc:creator>
    <dc:date>2013-07-24T11:30:45Z</dc:date>
    <item>
      <title>proc expand deletes single observation for by groups</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-expand-deletes-single-observation-for-by-groups/m-p/14683#M2402</link>
      <description>hi,&lt;BR /&gt;
I was wondering if I could tell proc expand not to delete rows in a data set for which there exists only a single observation per by-group. For example&lt;BR /&gt;
&lt;BR /&gt;
proc expand data=IN out=OUT method=none;&lt;BR /&gt;
by bgrp1 bygrp2 bygrp3;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
will delete all lines in the OUT data set for which there exist only one observation per by-group in the IN dataset. I would prefer that the lines would still be there with the automatic variable TIME having a value of zero (I know that I could use a data step to create the automatic variable TIME).</description>
      <pubDate>Mon, 11 Oct 2010 12:39:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-expand-deletes-single-observation-for-by-groups/m-p/14683#M2402</guid>
      <dc:creator>niemannk</dc:creator>
      <dc:date>2010-10-11T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc expand deletes single observation for by groups</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-expand-deletes-single-observation-for-by-groups/m-p/14684#M2403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know the answer to this question? Proc expand deletes single observations. Is there any way to prevent this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 11:30:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-expand-deletes-single-observation-for-by-groups/m-p/14684#M2403</guid>
      <dc:creator>5forwards</dc:creator>
      <dc:date>2013-07-24T11:30:45Z</dc:date>
    </item>
  </channel>
</rss>

