<?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: Percentage as outcome in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/705687#M34168</link>
    <description>&lt;P&gt;As stated at the start of &lt;A href="https://support.sas.com/kb/56/992.html" target="_self"&gt;this note&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When modeling response data consisting of proportions (or percentages), the observed values can be continuous or represent a summarized (or aggregated) binary response. For example, an observed proportion of 0.3 might represent 3 out of 10 subjects responding positively at a particular dose of a drug. At the subject level, the response is binary (positive or negative). If your data are aggregated binary data and you have the numerator and denominator counts making up the proportions, then you can fit a logistic model in procedures such as LOGISTIC, PROBIT, GENMOD, GAM, ADAPTIVEREG and others by using the events/trials syntax in the MODEL statement. These models assume the proportions represent a set of independent Bernoulli trials and have a binomial distribution.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 14:00:28 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2020-12-14T14:00:28Z</dc:date>
    <item>
      <title>Percentage as outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/705602#M34167</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering what is the correct regression procedure to use if I have a percentage as an continuous outcome (obviously bounded between 0-1).&amp;nbsp; It is number of procedure with polyps over number of total procedures done.&amp;nbsp; My understanding is that this can be used with either binomial like proc genmod with logit link with binomial distribution or proc logistic.&amp;nbsp; However, I also read is that using proc glimmix with beta distribution is the one to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which one is the correct one to use?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 07:26:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/705602#M34167</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2020-12-14T07:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage as outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/705687#M34168</link>
      <description>&lt;P&gt;As stated at the start of &lt;A href="https://support.sas.com/kb/56/992.html" target="_self"&gt;this note&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When modeling response data consisting of proportions (or percentages), the observed values can be continuous or represent a summarized (or aggregated) binary response. For example, an observed proportion of 0.3 might represent 3 out of 10 subjects responding positively at a particular dose of a drug. At the subject level, the response is binary (positive or negative). If your data are aggregated binary data and you have the numerator and denominator counts making up the proportions, then you can fit a logistic model in procedures such as LOGISTIC, PROBIT, GENMOD, GAM, ADAPTIVEREG and others by using the events/trials syntax in the MODEL statement. These models assume the proportions represent a set of independent Bernoulli trials and have a binomial distribution.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 14:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/705687#M34168</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-12-14T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage as outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/705814#M34188</link>
      <description>&lt;P&gt;Just a bit of expansion on what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp; wrote.&amp;nbsp; A ratio of counts will not be beta distributed, as the beta distribution is a ratio of continuous variables, bounded on (0,1), with the endpoints excluded.&amp;nbsp; A binomial distribution would be the most logical for the example you propose (procedures with polyps/total procedures)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 18:55:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/705814#M34188</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-12-14T18:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage as outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/707135#M34260</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;I tried it as&lt;BR /&gt;&lt;BR /&gt;proc genmod data=workdata.all_combined;&lt;BR /&gt;model adr=/dist=binomial link=logit;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ADR = percentage (procedures with polyps/total procedures)&lt;BR /&gt;&lt;BR /&gt;I get the following error.&lt;BR /&gt;&lt;BR /&gt;ERROR: The response variable ADR has 150 levels. A binary response must&lt;BR /&gt;have two levels.&lt;BR /&gt;ERROR: No valid observations due to invalid or missing values in the&lt;BR /&gt;response, explanatory, offset, frequency, or weight variable.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE GENMOD used (Total process time):&lt;BR /&gt;      real time           0.08 seconds&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong here?&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Dec 2020 05:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/707135#M34260</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2020-12-19T05:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage as outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/707142#M34261</link>
      <description>&lt;P&gt;You need to use the Events/Trials syntax instead of the raw proportions. That is, instead of ADP, you need to specify the two variables ProceduresWithPolyps and NumberOfProcedures. For example, ADP=0.25 might correspond to&amp;nbsp;ProceduresWithPolyps=2 and NumberOfProcedures=8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your model statement will look like this:&lt;BR /&gt;&lt;SPAN&gt;model ProceduresWithPolyps/NumberOfProcedures = /dist=binomial link=logit;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 11:43:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/707142#M34261</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-12-19T11:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage as outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/707190#M34263</link>
      <description>&lt;P&gt;PROC LOGISTIC is the best tool for logistic regression and simpler syntax:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic;
model polyps/total = &amp;lt;your predictor variables&amp;gt;;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 19 Dec 2020 16:38:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Percentage-as-outcome/m-p/707190#M34263</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-12-19T16:38:40Z</dc:date>
    </item>
  </channel>
</rss>

