<?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 What is the difference between First last statement and Summary statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204180#M50913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to summarise a data and was wondering if both "First Last" statement and Proc Summary would give the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any preference to either in certain special circumstances?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 06:07:27 GMT</pubDate>
    <dc:creator>RSAOman</dc:creator>
    <dc:date>2015-04-27T06:07:27Z</dc:date>
    <item>
      <title>What is the difference between First last statement and Summary statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204180#M50913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to summarise a data and was wondering if both "First Last" statement and Proc Summary would give the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any preference to either in certain special circumstances?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 06:07:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204180#M50913</guid>
      <dc:creator>RSAOman</dc:creator>
      <dc:date>2015-04-27T06:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between First last statement and Summary statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204181#M50914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It MIGHT give the same result depending on how you code each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first/last process is usually when you need to do something special involving the variable(s) involved. Such as select a record, reset a counter, calculate a number of things that may not involve other values of the by variables, or possible create additional records.&lt;/P&gt;&lt;P&gt;If there are many values that need to be kept with those records Summary may not be a good choice as it wants everything on either a Class, Var or ID statements and one or more of those may not be appropriate to get keep those other variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary and Means are designed to provide summaries not individual records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 15:21:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204181#M50914</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-27T15:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between First last statement and Summary statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204182#M50915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can it make a difference what procedure we use if there are blanks (dots) in the number field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 04:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204182#M50915</guid>
      <dc:creator>RSAOman</dc:creator>
      <dc:date>2015-04-28T04:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between First last statement and Summary statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204183#M50916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At this point examples of data and desired output might be needed if you are trying to solve a specific problem. Proc summary or means will not include any value in a summary statistic for missing except the NMISS. With first. and last. processing you could conditionally do something with a missing value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 15:05:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-First-last-statement-and-Summary/m-p/204183#M50916</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-28T15:05:20Z</dc:date>
    </item>
  </channel>
</rss>

