<?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: SAS binomial distribution model statement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299110#M15912</link>
    <description>&lt;P&gt;Inference about binomial data requires the number of events and trials to be known. It also assumes that trials are independent. Your &lt;EM&gt;counts&lt;/EM&gt; (number of events) and &lt;EM&gt;n&lt;/EM&gt; (number of trials) should therefore be the total numbers, not averages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is also likely that a certain level of dependence occurs for units belonging to the same sample, i.e. that unidentified effects, other than &lt;EM&gt;trt&lt;/EM&gt;, are at play for each sample. These should be modelled as random effects.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Sep 2016 18:16:07 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2016-09-17T18:16:07Z</dc:date>
    <item>
      <title>SAS binomial distribution model statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299049#M15909</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a question about the model statement for binomial distribution, one way to model it is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model count/n=trt/dist=binomial;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;While for binomial distribution count and n should be integers.&lt;/P&gt;
&lt;P&gt;However, I noticed that event count and n are not integers (such as the average of counts or n over samples), the model can still work. Is the result still trustable? How does the model work in this case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 21:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299049#M15909</guid>
      <dc:creator>reedwinter</dc:creator>
      <dc:date>2016-09-16T21:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS binomial distribution model statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299070#M15911</link>
      <description>&lt;PRE&gt;
Can you post some data ?
From your code, I see you are doing Logistic Regression?
But you said it is average of count, it lead to more like ANOVA ?

&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Sep 2016 02:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299070#M15911</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-09-17T02:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS binomial distribution model statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299110#M15912</link>
      <description>&lt;P&gt;Inference about binomial data requires the number of events and trials to be known. It also assumes that trials are independent. Your &lt;EM&gt;counts&lt;/EM&gt; (number of events) and &lt;EM&gt;n&lt;/EM&gt; (number of trials) should therefore be the total numbers, not averages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is also likely that a certain level of dependence occurs for units belonging to the same sample, i.e. that unidentified effects, other than &lt;EM&gt;trt&lt;/EM&gt;, are at play for each sample. These should be modelled as random effects.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 18:16:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299110#M15912</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-17T18:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS binomial distribution model statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299304#M15920</link>
      <description>&lt;P&gt;The ratio of two random variables that is bounded on the set (0, 1) is more likely to be beta distributed than binomially distributed. &amp;nbsp;In this case, you have two means (events and counts), which results in a ratio of two RVs. &amp;nbsp;Whatever procedure you are using can use non-integers for a binomial, but whether you &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;should&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;is another matter altogether, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp﻿&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats﻿&lt;/a&gt;&amp;nbsp;have pointed out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 14:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299304#M15920</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-09-19T14:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS binomial distribution model statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299327#M15924</link>
      <description>&lt;P&gt;Yes, there is random effect, &amp;nbsp;I did not list it just to simplify my quesiton.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I always used the total numbers as count and n, and I did not expect the non-integer count and n can work. But someone in my group showed this model and used the average for some special reason, and it worked without generating any error message. So I am just wondering why it could work and if the result is trustable or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI, I found this paper:&lt;A href="http://support.sas.com/resources/papers/proceedings11/349-2011.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings11/349-2011.pdf&lt;/A&gt; also used non-integer count on page 11.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 16:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-binomial-distribution-model-statement/m-p/299327#M15924</guid>
      <dc:creator>reedwinter</dc:creator>
      <dc:date>2016-09-19T16:02:44Z</dc:date>
    </item>
  </channel>
</rss>

