<?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: Count variables analysis in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Count-variables-analysis/m-p/189857#M9873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, especially if the denominator is large.&amp;nbsp; However, if the denominator is less than 50, then the genmod code would be my preference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 18:16:33 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-02-28T18:16:33Z</dc:date>
    <item>
      <title>Count variables analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Count-variables-analysis/m-p/189855#M9871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Can I please ask how do I go about analyse a data with 3 variables as such&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;-&amp;nbsp; a 2-block time variable with nth categories ie 12am-2am, 2.01am-4.00am and etc (time).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;-&amp;nbsp; 2 count variables, one being the total number of calls made for the ith time category(n) and another one being the cases resolved for the ith time category(x).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;I wish to find out the adjusted proportion of cases resolved for each time categories taking into account the number of calls made at the same time. I would think the more calls made the more cases resolved and more weighting for that time slot. Is my proc genmod below correct? Or am i &lt;/SPAN&gt;completely&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; off the right track? Any input is greatly appreciated. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc genmod data=foo;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class time/ param=ref;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model x=time / offset=log_n dist=poisson link=log;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; exact time / joint estimate;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Count-variables-analysis/m-p/189855#M9871</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2014-02-28T04:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count variables analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Count-variables-analysis/m-p/189856#M9872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds to me like this is a simple logistic model applied to aggregated data.&amp;nbsp; So, you could use PROC LOGISTIC and events/trials syntax as below.&amp;nbsp; Unless the data set is small and sparse, the EXACT statement isn't necessary and would probably take too much time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic;&lt;/P&gt;&lt;P&gt;class time;&lt;/P&gt;&lt;P&gt;model x/n = time;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 15:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Count-variables-analysis/m-p/189856#M9872</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2014-02-28T15:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count variables analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Count-variables-analysis/m-p/189857#M9873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, especially if the denominator is large.&amp;nbsp; However, if the denominator is less than 50, then the genmod code would be my preference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 18:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Count-variables-analysis/m-p/189857#M9873</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-02-28T18:16:33Z</dc:date>
    </item>
  </channel>
</rss>

