<?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 Filling out a data set in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Filling-out-a-data-set/m-p/23845#M3969</link>
    <description>I have some fisheries data that has what species was caught for a particular sampling effort, but not what species were not caught; i.e. not all species were caught during every effort, and only those that were caught were put into the data set. Therefore when density is calculated it only includes those efforts where there was a positive instance, thereby over inflating the density estimate. How would I go about working the data step so that the density calculation per species includes a zero for those times where that particular species was not caught+</description>
    <pubDate>Fri, 06 Jun 2008 17:15:57 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-06-06T17:15:57Z</dc:date>
    <item>
      <title>Filling out a data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-out-a-data-set/m-p/23845#M3969</link>
      <description>I have some fisheries data that has what species was caught for a particular sampling effort, but not what species were not caught; i.e. not all species were caught during every effort, and only those that were caught were put into the data set. Therefore when density is calculated it only includes those efforts where there was a positive instance, thereby over inflating the density estimate. How would I go about working the data step so that the density calculation per species includes a zero for those times where that particular species was not caught+</description>
      <pubDate>Fri, 06 Jun 2008 17:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-out-a-data-set/m-p/23845#M3969</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-06T17:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filling out a data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-out-a-data-set/m-p/23846#M3970</link>
      <description>An idea:&lt;BR /&gt;
First create a seperate table containing every possible combination of the PK columns (i.e. data, location, species): do a select distinct on your transactional data on the key columns (except species). Then create a cartesian product table by joining the result to a species table (containg all your species) without specifying join columns.&lt;BR /&gt;
&lt;BR /&gt;
Now do a full join/merge with this table. In this step you can specify 0 for those rows populated from the cartesian table alone.</description>
      <pubDate>Mon, 09 Jun 2008 12:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-out-a-data-set/m-p/23846#M3970</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-06-09T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filling out a data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-out-a-data-set/m-p/23847#M3971</link>
      <description>You could us "sparse" option in frequency procedure in producing 2 dimensional table. then use freq statement in KDE procedure.</description>
      <pubDate>Tue, 24 Jun 2008 21:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-out-a-data-set/m-p/23847#M3971</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-24T21:13:24Z</dc:date>
    </item>
  </channel>
</rss>

