<?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 choosing the right PROC to analyse categorical response variable vs. 3 categorical explanatory varia in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/262429#M13870</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure which PROC to choose to analyse the following model, I would greatly appreciate any advices:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the model:&lt;/P&gt;
&lt;P&gt;PROC (I used GLIMMIX to start) data=mydata;&lt;/P&gt;
&lt;P&gt;class a &amp;nbsp;b c ID;&lt;/P&gt;
&lt;P&gt;Y= a|b|c;&lt;/P&gt;
&lt;P&gt;/* Y is a categorical variable that can take 9&amp;nbsp;values: from 3 to 9 (= number of days)*/&lt;/P&gt;
&lt;P&gt;/* a is the population name*/&lt;/P&gt;
&lt;P&gt;/*b is a categorical variable (treatment 1) with 3 values: 1, 2, 3 for example */&lt;/P&gt;
&lt;P&gt;/* c is categorical variable (treatment 2) with 2 values: 1, 2 for example*/&lt;/P&gt;
&lt;P&gt;/* ID= individual, each individual has 4 replicates*/&lt;/P&gt;
&lt;P&gt;random int/sub=ID(a);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I started with PROC GLIMMIX, it works fine but I am not sure it is designed fir Y categorical variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2016 13:51:43 GMT</pubDate>
    <dc:creator>celdelmas</dc:creator>
    <dc:date>2016-04-08T13:51:43Z</dc:date>
    <item>
      <title>choosing the right PROC to analyse categorical response variable vs. 3 categorical explanatory varia</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/262429#M13870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure which PROC to choose to analyse the following model, I would greatly appreciate any advices:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the model:&lt;/P&gt;
&lt;P&gt;PROC (I used GLIMMIX to start) data=mydata;&lt;/P&gt;
&lt;P&gt;class a &amp;nbsp;b c ID;&lt;/P&gt;
&lt;P&gt;Y= a|b|c;&lt;/P&gt;
&lt;P&gt;/* Y is a categorical variable that can take 9&amp;nbsp;values: from 3 to 9 (= number of days)*/&lt;/P&gt;
&lt;P&gt;/* a is the population name*/&lt;/P&gt;
&lt;P&gt;/*b is a categorical variable (treatment 1) with 3 values: 1, 2, 3 for example */&lt;/P&gt;
&lt;P&gt;/* c is categorical variable (treatment 2) with 2 values: 1, 2 for example*/&lt;/P&gt;
&lt;P&gt;/* ID= individual, each individual has 4 replicates*/&lt;/P&gt;
&lt;P&gt;random int/sub=ID(a);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I started with PROC GLIMMIX, it works fine but I am not sure it is designed fir Y categorical variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 13:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/262429#M13870</guid>
      <dc:creator>celdelmas</dc:creator>
      <dc:date>2016-04-08T13:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: choosing the right PROC to analyse categorical response variable vs. 3 categorical explanatory v</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/262544#M13872</link>
      <description>&lt;P&gt;I don't think you have to consider number of days as a categorical variable. &amp;nbsp;If it is a duration, you may want to consider fitting with a gamma distribution, and if it is a count of days &amp;nbsp;(sucha as days when a condition is observed), you may want to consider fitting with a Poisson distribution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your research question restricts the dependent variable to being a categorical variable, then you should consider fitting with multinomial distribution and an appropriate link function (most likely a cumulative logit).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your current approach assumes that the residuals of the model fit a Gaussian distribution. &amp;nbsp;Take a look at the diagnostic plots to see if that is an appropriate assumption.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 17:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/262544#M13872</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-04-08T17:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: choosing the right PROC to analyse categorical response variable vs. 3 categorical explanatory v</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/263781#M13913</link>
      <description>&lt;P&gt;Hello Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you very much for your answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The variable "number of days" is more a date than a count variable. Value "3" means we observed that trait (=spores from a fungi) three days after the beginning of the experiment, value 4=four days after the beginning and so on.&lt;/P&gt;
&lt;P&gt;I thought the number of days has to be categorical because it can ONLY take&amp;nbsp;few values. For some samples, only values 3, 4 and 5 (meaning that we observed that trait day number 3, 4 and 5 after thet start of the experiment). If Y is only 3, 4 and 5 can I fit a gamma distribution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 07:34:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/263781#M13913</guid>
      <dc:creator>celdelmas</dc:creator>
      <dc:date>2016-04-14T07:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: choosing the right PROC to analyse categorical response variable vs. 3 categorical explanatory v</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/264373#M13934</link>
      <description>&lt;P&gt;Yes, you can consider it to be gamma.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2016 20:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/264373#M13934</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-04-16T20:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: choosing the right PROC to analyse categorical response variable vs. 3 categorical explanatory v</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/264992#M13969</link>
      <description>&lt;P&gt;Is "spores from a fungi" actually a response variable, maybe a count (number of spores) or maybe binary (whether spores were observed on a given day) or maybe the first day on which spores were observed&amp;nbsp;after the beginning of the experiment? Perhaps "number of days" is actually an explanatory variable? I can't tell from your description. We would need more detail to be of more help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 03:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/choosing-the-right-PROC-to-analyse-categorical-response-variable/m-p/264992#M13969</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2016-04-20T03:20:32Z</dc:date>
    </item>
  </channel>
</rss>

