<?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: identifying rows from the same family and adding a variable for their order of age in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897423#M354630</link>
    <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;for your thoughts. The family members are scattered in the data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 16:47:53 GMT</pubDate>
    <dc:creator>Emma_at_SAS</dc:creator>
    <dc:date>2023-10-05T16:47:53Z</dc:date>
    <item>
      <title>identifying rows from the same family and adding a variable for their order of age</title>
      <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897411#M354628</link>
      <description>&lt;P&gt;I have a national father and kids dataset and want to create a variable FAMILY to show the members of the same family. For example, if POSTALCODE, CITY, STATE, and LAST NAME observations are the same then FAMILY = j (where j would be the number of families in my dataset);&amp;nbsp; also I want to sort the members of the same family from older age to younger age. For example, FAMILY = 1 and FAMILY_ORDER = 1 for the father, FAMILY_ORDER = 2 for the oldest kid, FAMILY_ORDER = 3 for the next kid and so on to cover all members of the same family. How may I create these two variables?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:10:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897411#M354628</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2023-10-05T16:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: identifying rows from the same family and adding a variable for their order of age</title>
      <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897421#M354629</link>
      <description>&lt;P&gt;It would be helpful if you could show us a portion of this data set (perhaps with made up family names). Can we assume that all the people in one family are consecutive in the data set, or are they scattered throughout the data set?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897421#M354629</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-05T16:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: identifying rows from the same family and adding a variable for their order of age</title>
      <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897423#M354630</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;for your thoughts. The family members are scattered in the data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897423#M354630</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2023-10-05T16:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: identifying rows from the same family and adding a variable for their order of age</title>
      <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897424#M354631</link>
      <description>&lt;P&gt;So if there are multiple families named SMITH living in the same postalcode, how could we tell them apart?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:49:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897424#M354631</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-05T16:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: identifying rows from the same family and adding a variable for their order of age</title>
      <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897426#M354632</link>
      <description>&lt;P&gt;Good question&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;. There is more specific information, phone number (the father reported his phone number for the kids), email address of the father for all family members, and race.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:53:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897426#M354632</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2023-10-05T16:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: identifying rows from the same family and adding a variable for their order of age</title>
      <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897429#M354633</link>
      <description>&lt;P&gt;Without seeing your data, here's a guess&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Sort by Family Name, Phone Number and descending age&lt;/P&gt;
&lt;P&gt;2. Each time the phone number changes, add 1 to the family number&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 16:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897429#M354633</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-05T16:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: identifying rows from the same family and adding a variable for their order of age</title>
      <link>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897440#M354641</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/84351"&gt;@Emma_at_SAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Good question&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;. There is more specific information, phone number (the father reported his phone number for the kids), email address of the father for all family members, and race.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Be very careful assuming phone numbers or email addresses do not change.&lt;/P&gt;
&lt;P&gt;Also a potential headache with father/child data is if the father may be attempting to skip out on support then name changes might pop-up depending on the data sources.&amp;nbsp; "Robert" may become "Bob" or "Bobbie" or similar. Or change to use of a middle name in stead of first.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 17:41:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/identifying-rows-from-the-same-family-and-adding-a-variable-for/m-p/897440#M354641</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-10-05T17:41:32Z</dc:date>
    </item>
  </channel>
</rss>

