<?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: calculate the No of observation in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310575#M61292</link>
    <description>dont know proc freq</description>
    <pubDate>Thu, 10 Nov 2016 05:06:46 GMT</pubDate>
    <dc:creator>Jahanzaib</dc:creator>
    <dc:date>2016-11-10T05:06:46Z</dc:date>
    <item>
      <title>calculate the No of observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310571#M61290</link>
      <description>&lt;P&gt;I have data which contain 9 countries, Year from 2006-2010, Fam is a variable which has value 0 for non&amp;nbsp;fam&amp;nbsp;and &amp;nbsp;1 for fam&lt;/P&gt;
&lt;P&gt;I want to calculate No of Observations in the following format&lt;/P&gt;
&lt;P&gt;Country &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fam &amp;nbsp; &amp;nbsp; &amp;nbsp;Non&amp;nbsp;fam&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;total&lt;/P&gt;
&lt;P&gt;HKG&lt;/P&gt;
&lt;P&gt;KOR&lt;/P&gt;
&lt;P&gt;and here is my data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data work.new;&lt;BR /&gt;infile datalines dsd truncover;&lt;BR /&gt;input Global_Company_Key:32. SICC:32. CoName:$255. company:$255. fam:32. Country:$255. year:32.;&lt;BR /&gt;datalines;&lt;BR /&gt;200687,7370,BEIJING DEVELOPMENT (HK) LTD,BEIJING DEVELOPMENT,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;200687,7370,BEIJING DEVELOPMENT (HK) LTD,BEIJING DEVELOPMENT,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;200687,7370,BEIJING DEVELOPMENT (HK) LTD,BEIJING DEVELOPMENT,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;200687,7370,BEIJING DEVELOPMENT (HK) LTD,BEIJING DEVELOPMENT,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;200687,7370,BEIJING DEVELOPMENT (HK) LTD,BEIJING DEVELOPMENT,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;202779,4922,BEIJING ENTERPRISES HOLDINGS,BEIJING ENTERPRISES,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;202779,4922,BEIJING ENTERPRISES HOLDINGS,BEIJING ENTERPRISES,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;202779,4922,BEIJING ENTERPRISES HOLDINGS,BEIJING ENTERPRISES,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;202779,4922,BEIJING ENTERPRISES HOLDINGS,BEIJING ENTERPRISES,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;202779,4922,BEIJING ENTERPRISES HOLDINGS,BEIJING ENTERPRISES,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;282713,2070,CHINA AGRI INDUS HOLDINGS,CHINA AGRI PRODUCTS,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;282713,2070,CHINA AGRI INDUS HOLDINGS,CHINA AGRI PRODUCTS,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;282713,2070,CHINA AGRI INDUS HOLDINGS,CHINA AGRI PRODUCTS,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;282713,2070,CHINA AGRI INDUS HOLDINGS,CHINA AGRI PRODUCTS,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;282713,2070,CHINA AGRI INDUS HOLDINGS,CHINA AGRI PRODUCTS,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;16538,4512,CATHAY PACIFIC AIRWAYS LTD,CHINA METAL INTN'L,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;16538,4512,CATHAY PACIFIC AIRWAYS LTD,CHINA METAL INTN'L,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;16538,4512,CATHAY PACIFIC AIRWAYS LTD,CHINA METAL INTN'L,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;16538,4512,CATHAY PACIFIC AIRWAYS LTD,CHINA METAL INTN'L,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;220407,3600,CHINA AEROSPACE INTL HLDGS,CHINA METAL INTN'L,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;220407,3600,CHINA AEROSPACE INTL HLDGS,CHINA OVERSEAS LAND,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;220407,3600,CHINA AEROSPACE INTL HLDGS,CHINA OVERSEAS LAND,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;220407,3600,CHINA AEROSPACE INTL HLDGS,CHINA OVERSEAS LAND,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;220407,3600,CHINA AEROSPACE INTL HLDGS,CHINA OVERSEAS LAND,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;201218,4991,CHINA EVERBRIGHT INTL LTD,CHINA OVERSEAS LAND,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;201218,4991,CHINA EVERBRIGHT INTL LTD,CHINA OVERSEAS PROP,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;201218,4991,CHINA EVERBRIGHT INTL LTD,CHINA OVERSEAS PROP,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;201218,4991,CHINA EVERBRIGHT INTL LTD,CHINA OVERSEAS PROP,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;65662,4812,CHINA MOBILE LTD,CHINA OVERSEAS PROP,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;65662,4812,CHINA MOBILE LTD,CHINA OVERSEAS PROP,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;259199,4991,CHINA RES PWR HLDG,CHINA RESOURCES LAND,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;259199,4991,CHINA RES PWR HLDG,CHINA RESOURCES LAND,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;259199,4991,CHINA RES PWR HLDG,CHINA RESOURCES LAND,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;259199,4991,CHINA RES PWR HLDG,CHINA RESOURCES LAND,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;259199,4991,CHINA RES PWR HLDG,CHINA RESOURCES LAND,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;65662,4812,CHINA MOBILE LTD,CHINA TAIPING INSU,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;162077,4813,CHINA NETCOM GROUP CORP,CHINA TAIPING INSU,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;162077,4813,CHINA NETCOM GROUP CORP,CHINA TAIPING INSU,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;102106,4991,CHINA POWER INTERNATIONAL,CHINA TAIPING INSU,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;102106,4991,CHINA POWER INTERNATIONAL,CHINA TAIPING INSU,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;,,,CITIC RESOURCES,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;,,,CITIC RESOURCES,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;,,,CITIC RESOURCES,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;,,,CITIC RESOURCES,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;,,,CITIC RESOURCES,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;142540,1311,CNOOC LTD,CNOOC LTD,0,HKG,2009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;142540,1311,CNOOC LTD,CNOOC LTD,0,HKG,2010,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;142540,1311,CNOOC LTD,CNOOC LTD,0,HKG,2007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;142540,1311,CNOOC LTD,CNOOC LTD,0,HKG,2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;142540,1311,CNOOC LTD,CNOOC LTD,0,HKG,2006,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;BR /&gt;;;;;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 04:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310571#M61290</guid>
      <dc:creator>Jahanzaib</dc:creator>
      <dc:date>2016-11-10T04:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the No of observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310574#M61291</link>
      <description>&lt;P&gt;Have you tried PROC freq?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/training/tutorial/" target="_blank"&gt;http://support.sas.com/training/tutorial/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/training/tutorial/studio/table-analysis.html" target="_blank"&gt;http://support.sas.com/training/tutorial/studio/table-analysis.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 04:51:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310574#M61291</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-10T04:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the No of observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310575#M61292</link>
      <description>dont know proc freq</description>
      <pubDate>Thu, 10 Nov 2016 05:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310575#M61292</guid>
      <dc:creator>Jahanzaib</dc:creator>
      <dc:date>2016-11-10T05:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the No of observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310577#M61293</link>
      <description>&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/modules/descript.htm" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/modules/descript.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thats is why I included links to video and code tutorials.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You've been asking questions but not seeming to progress with your SAS skills. Is your intention to learn or simply have someone provide you a solution via code?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 05:20:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310577#M61293</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-10T05:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the No of observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310584#M61294</link>
      <description>I am learning. Its coding is complex. sometime i even spend days to learn simple thing but couldnt.</description>
      <pubDate>Thu, 10 Nov 2016 07:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310584#M61294</guid>
      <dc:creator>Jahanzaib</dc:creator>
      <dc:date>2016-11-10T07:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the No of observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310593#M61295</link>
      <description>&lt;P&gt;There's the free SAS e course if you're interested. Takes 3 days full time but you can complete it at your leisure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/training/tutorial/" target="_blank"&gt;http://support.sas.com/training/tutorial/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 08:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310593#M61295</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-10T08:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the No of observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310693#M61298</link>
      <description>&lt;P&gt;The data you posted looks very much like it was a CSV created from Excel. Knowing enough to convert to CSV is a very good thing.&lt;/P&gt;
&lt;P&gt;But I caution you to be very careful as Excel can have issues with exporting data depending on how it was entered or created. Values, such as product identifiers sometimes have aritmetic applied if the value has a - in it and Dates can be very problematic as to output format.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 15:40:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/calculate-the-No-of-observation/m-p/310693#M61298</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-11-10T15:40:27Z</dc:date>
    </item>
  </channel>
</rss>

