<?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 record observations count by ID in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405365#M98608</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have the following data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID height&lt;BR /&gt;1 150&lt;BR /&gt;1 155&lt;BR /&gt;1 157&lt;BR /&gt;2 160&lt;BR /&gt;3 170&lt;BR /&gt;3 171&lt;/P&gt;&lt;P&gt;these are the repeated measure of height;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want is:&lt;/P&gt;&lt;P&gt;ID height_1&amp;nbsp; &amp;nbsp;height_2&amp;nbsp; &amp;nbsp;height_3&lt;BR /&gt;1 150&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 155 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;157&lt;BR /&gt;2 160&lt;BR /&gt;3 170 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;171&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other than height, i have many other measurements, and i don't know how many repeats there is, different measurements may have different number of repeats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much in advance!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2017 21:30:19 GMT</pubDate>
    <dc:creator>Xiaoningdemao</dc:creator>
    <dc:date>2017-10-18T21:30:19Z</dc:date>
    <item>
      <title>record observations count by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405365#M98608</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have the following data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID height&lt;BR /&gt;1 150&lt;BR /&gt;1 155&lt;BR /&gt;1 157&lt;BR /&gt;2 160&lt;BR /&gt;3 170&lt;BR /&gt;3 171&lt;/P&gt;&lt;P&gt;these are the repeated measure of height;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i want is:&lt;/P&gt;&lt;P&gt;ID height_1&amp;nbsp; &amp;nbsp;height_2&amp;nbsp; &amp;nbsp;height_3&lt;BR /&gt;1 150&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 155 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;157&lt;BR /&gt;2 160&lt;BR /&gt;3 170 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;171&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other than height, i have many other measurements, and i don't know how many repeats there is, different measurements may have different number of repeats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much in advance!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 21:30:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405365#M98608</guid>
      <dc:creator>Xiaoningdemao</dc:creator>
      <dc:date>2017-10-18T21:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: record observations count by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405366#M98609</link>
      <description>&lt;P&gt;the approach i want to resolve this issue, is to use proc transpose, but i need a variable to count the repeats,&amp;nbsp;i have trouble formulate variable "repeats";&lt;/P&gt;&lt;P&gt;ID height&amp;nbsp; &amp;nbsp;repeats&lt;BR /&gt;1 150&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;1 155 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;2&lt;BR /&gt;1 157 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;3&lt;BR /&gt;2 160 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;1&lt;BR /&gt;3 170 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;1&lt;BR /&gt;3 171 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any thought on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 21:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405366#M98609</guid>
      <dc:creator>Xiaoningdemao</dc:creator>
      <dc:date>2017-10-18T21:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: record observations count by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405374#M98613</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/90105"&gt;@Xiaoningdemao&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;the approach i want to resolve this issue, is to use proc transpose, but i need a variable to count the repeats,&amp;nbsp;i have trouble formulate variable "repeats";&lt;/P&gt;
&lt;P&gt;ID height&amp;nbsp; &amp;nbsp;repeats&lt;BR /&gt;1 150&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;1 155 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;2&lt;BR /&gt;1 157 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;3&lt;BR /&gt;2 160 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;1&lt;BR /&gt;3 170 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;1&lt;BR /&gt;3 171 &lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any thought on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!!!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What is the expected output for this example considering your "repeats"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what may you be doing with the resulting data set?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 22:03:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405374#M98613</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-10-18T22:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: record observations count by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405381#M98616</link>
      <description>This is a tutorial on creating an enumerating variable. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2017 22:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405381#M98616</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-18T22:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: record observations count by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405382#M98617</link>
      <description>Link may help: &lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-create-an-enumeration-variable-by-groups/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-can-i-create-an-enumeration-variable-by-groups/&lt;/A&gt;</description>
      <pubDate>Wed, 18 Oct 2017 22:45:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405382#M98617</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-18T22:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: record observations count by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405384#M98618</link>
      <description>exactly what i want!!!!&lt;BR /&gt;Thank you so much Reeza.</description>
      <pubDate>Wed, 18 Oct 2017 23:23:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/record-observations-count-by-ID/m-p/405384#M98618</guid>
      <dc:creator>Xiaoningdemao</dc:creator>
      <dc:date>2017-10-18T23:23:13Z</dc:date>
    </item>
  </channel>
</rss>

