<?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: ask for help with glimmix in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/363089#M19083</link>
    <description>&lt;P&gt;Just realized I made a silly mistake. Thought variables that follow class statment are treated as fixed effects, that's not the case, they are just categorical variables. Sorry about the silly question.&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2017 14:20:45 GMT</pubDate>
    <dc:creator>jjin0322</dc:creator>
    <dc:date>2017-05-31T14:20:45Z</dc:date>
    <item>
      <title>ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/360312#M18905</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a newbie to SAS and struggling with my data analysis. What I am trying to do is to compare the sporaniga production ability of two fungal isolates. In my experiment, I used one diseased plant infected by each isolate, and counted the number of sporangia around the root tips of each plant, and I did that for 3 times. And I am trying to use PROC GLIMMIX to analyze my data. I have attached part of my data and the a couple of sas program I tried below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My specific questions are: 1) the dependent variable does not follow normal distribution, if I specified it follows poission distribution in proc glimmix, do I need to further transform the data? Which one works better, data transformation or specifying the poission distribution?&lt;/P&gt;&lt;P&gt;2) I am not quite sure what "random _residual_" does, does it necessary to be in the code? Because in one of the progams I tried, it fails to converge with the statment random _residual_.&lt;/P&gt;&lt;P&gt;3) Would you please comment on the several sas programs I tried to analyze my data? What should be done to modify the program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help me out. I'll really appreicate your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sporangia_production_comparison;
input isolate$ run sporangia sqrtsporangia; 
datalines;

R0-G5-6	1	60	8
R0-G5-6	1	54	7
R0-G5-6	1	52	7
R0-G5-6	1	51	7
R0-G5-6	1	50	7
R0-G5-6	1	42	6
R0-G5-6	1	42	6
R0-G5-6	1	39	6
R0-G5-6	1	37	6
R0-G5-6	1	32	6
R0-G5-6	1	30	5
R0-G5-6	1	24	5
R0-G5-6	1	23	5
R0-G5-6	1	23	5
R0-G5-6	1	23	5
R0-G5-6	1	20	4
R0-G5-6	1	18	4
R0-G5-6	1	16	4
R0-G5-6	1	15	4
R0-G5-6	1	11	3
R0-G5-6	1	8	3
R0-G5-6	1	5	2
R0-G5-6	1	4	2
R0-G5-6	1	4	2
R0-G5-6	1	3	2
R0-G5-6	1	3	2
R0-G5-6	1	0	0
R0-G5-6	1	0	0
R0-G5-6	1	0	0
R0-G5-6	2	89	9
R0-G5-6	2	75	9
R0-G5-6	2	70	8
R0-G5-6	2	69	8
R0-G5-6	2	65	8
R0-G5-6	2	39	6
R0-G5-6	2	37	6
R0-G5-6	2	34	6
R0-G5-6	2	33	6
R0-G5-6	2	27	5
R0-G5-6	2	26	5
R0-G5-6	2	25	5
R0-G5-6	2	22	5
R0-G5-6	2	19	4
R0-G5-6	2	18	4
R0-G5-6	2	17	4
R0-G5-6	2	16	4
R0-G5-6	2	9	3
R0-G5-6	2	8	3
R0-G5-6	2	5	2
R0-G5-6	2	5	2
R0-G5-6	2	5	2
R0-G5-6	2	4	2
R0-G5-6	2	4	2
R0-G5-6	2	3	2
R0-G5-6	2	2	1
R0-G5-6	2	2	1
R0-G5-6	2	2	1
R0-G5-6	2	1	1
R0-G5-6	2	1	1
R0-G5-6	2	0	0
R0-G5-6	2	0	0
R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-6	3	7	3
R0-G2-6	3	6	2
R0-G2-6	3	5	2
R0-G2-6	3	5	2
R0-G2-6	3	4	2
R0-G2-6	3	4	2
R0-G2-6	3	4	2
R0-G2-6	3	3	2
R0-G2-6	3	3	2
R0-G2-6	3	3	2
R0-G2-6	3	3	2
R0-G2-6	3	2	1
R0-G2-6	3	2	1
R0-G2-6	3	1	1
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0
R0-G2-6	3	0	0


;

/*Program 1*/
proc glimmix data=sporangia_production_comparison;
class isolate;
model sporangia= isolate / dist=poisson;
random run;
lsmeans isolate/lines;
run;


/*Program 2*/
/*Fails to converge*/
proc glimmix data=sporangia_production_comparison;
class isolate;
model sporangia= isolate /dist=poisson ;
random run;
random _residual_;
lsmeans isolate/lines;
run;

/*Program 3*/
proc glimmix data=sporangia_production_comparison;
class isolate;
model sqrtsporangia= isolate ;
random run;
lsmeans isolate/lines;
run;


/*Program 4*/
proc glimmix data=sporangia_production_comparison;
class isolate;
model sqrtsporangia= isolate ;
random run;
random _residual_;
lsmeans isolate/lines;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 15:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/360312#M18905</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-05-21T15:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/360614#M18935</link>
      <description>&lt;P&gt;Please clarify: How many plants were inoculated with each isolate? Was only one plant inoculated with each isolate and then observed 3 times? Or were 3 plants inoculated with each isolate and observed once? Did you count sporangia on multiple roots on each plant?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 03:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/360614#M18935</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-05-23T03:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361206#M18960</link>
      <description>&lt;P&gt;Three plants were inoculated with each isolate, and I counted sporangia on each root tip of each inoculated plant. In the data I attached, the second column indicates which plant the root tips come from, and the third column indicated the number of sporangia around that specific root tip.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 13:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361206#M18960</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-05-24T13:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361482#M18984</link>
      <description>&lt;P&gt;Then a plant is your replicating (experimental) unit for the isolate factor, and roots are subsamples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would consider&lt;/P&gt;
&lt;PRE&gt;proc glimmix data=spor method=laplace;&lt;BR /&gt; class run isolate;&lt;BR /&gt; model sporangia = isolate / dist=negbin;&lt;BR /&gt; random run(isolate);&lt;BR /&gt; lsmeans isolate / ilink;&lt;BR /&gt; run;&lt;/PRE&gt;
&lt;P&gt;Because run takes values of (1,2,3) within each level of isolate, you need to tell GLIMMIX that you actually have (number of isolates) x (number of replicates) = (number of plants), which you can do either by providing a unique id for each plant or using&lt;/P&gt;
&lt;PRE&gt;random run(isolate);&lt;/PRE&gt;
&lt;P&gt;If you use&lt;/P&gt;
&lt;PRE&gt;random run;&lt;/PRE&gt;
&lt;P&gt;then GLIMMIX will think there are only 3 plants total.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've used the negative binomial distribution here because, for your sample data, the Poisson distribution had problems with overdispersion.&amp;nbsp;An alternative approach would be a quasi-Poisson; see&lt;/P&gt;
&lt;P&gt;&lt;A title="QUASI-POISSON VS. NEGATIVE BINOMIAL REGRESSION: HOW SHOULD WE MODEL OVERDISPERSED COUNT DATA?" href="http://fisher.utstat.toronto.edu/reid/sta2201s/QUASI-POISSON.pdf" target="_self"&gt;http://fisher.utstat.toronto.edu/reid/sta2201s/QUASI-POISSON.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.r-bloggers.com/estimating-quasi-poisson-regression-with-glimmix-in-sas/&amp;nbsp;" target="_blank"&gt;https://www.r-bloggers.com/estimating-quasi-poisson-regression-with-glimmix-in-sas/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I generally use method=laplace for GLMMs; but it doesn't always work well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you specify a non-normal distribution, then you will not use a transformed response variable. The link associated with the non-normal distribution does that job for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Theoretically, if data follow, say, a Poisson distribution, then a generalized linear model with the original count data would be preferable to&amp;nbsp;a general linear model with a transformed response. In practice, it doesn't always work out that way, but that's usually how I start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 05:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361482#M18984</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-05-25T05:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361661#M19007</link>
      <description>&lt;P&gt;Thank you so much for your help!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had several questions that I didn't quite understand.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) when to use poisson and negtive binomial distrbutions? and when is better to do the data transformation?&lt;/P&gt;&lt;P&gt;2) what does method=laplace do? what's the default setting for method?&lt;/P&gt;&lt;P&gt;3) does ilink do the data transformation for me if I specify that the data do not follow normal distribution?&lt;/P&gt;&lt;P&gt;4) what does random _residual_ do? If I use random run(isolate), do I need to add random _residual_ in the sas code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the naive questions. Thanks for your time and kind attention! I really appreciated it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 15:38:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361661#M19007</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-05-25T15:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361712#M19015</link>
      <description>&lt;P&gt;1) You choose a distribution that is appropriate and provides a valid model that fits the data well. But, of course, not all data follow a known distribution, so identifying a model that is "good enough" can be a challenge. You have to be knowledgeable about your options, there are many texts on generalized linear models and modeling strategies that you can study, as well as courses for directed or self-study.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) and 3) &amp;nbsp;and 4) The documentation for GLIMMIX is a good place to start for the answer to these questions. Also&lt;/P&gt;
&lt;P&gt;&lt;A title="SAS for Mixed Models" href="https://www.sas.com/store/books/categories/usage-and-reference/sas-for-mixed-models-second-edition/prodBK_59882_en.html" target="_self"&gt;https://www.sas.com/store/books/categories/usage-and-reference/sas-for-mixed-models-second-edition/prodBK_59882_en.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4) Did you look at this link in my previous message?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.r-bloggers.com/estimating-quasi-poisson-regression-with-glimmix-in-sas/%C2%A0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.r-bloggers.com/estimating-quasi-poisson-regression-with-glimmix-in-sas/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It illustrates how to specify a quasi-Poisson distribution using random _residual_.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generalized linear mixed models are complicated, can be difficult to fit, and can be challenging to interpret. You'll want to devote appreciable time to learning about them. You won't be able to learn everything you need to know through this forum. Seek out a statistician at your institution/company to work with directly, if one exists. (I know, they often do not.)&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 17:37:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/361712#M19015</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-05-25T17:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/362927#M19081</link>
      <description>&lt;P&gt;Thanks for your great help and the useful tips! I'll check those links out. Really appreciated your kind attention!&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 01:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/362927#M19081</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-05-31T01:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/363079#M19082</link>
      <description>&lt;P&gt;Hi, sorry to keep bugging you! But this question just came to my mind. I think the code you provided treated run as a fixed effect, is that correct?&lt;/P&gt;&lt;P&gt;If I wanted to treat run as a random effect, should I modify the SAS code to the one as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc glimmix data=spor method=laplace;
 class isolate;
 model sporangia = isolate / dist=negbin;
 random run run(isolate);
 lsmeans isolate / ilink;
 run;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 14:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/363079#M19082</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-05-31T14:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/363089#M19083</link>
      <description>&lt;P&gt;Just realized I made a silly mistake. Thought variables that follow class statment are treated as fixed effects, that's not the case, they are just categorical variables. Sorry about the silly question.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 14:20:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/363089#M19083</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-05-31T14:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/363304#M19094</link>
      <description>&lt;P&gt;Glad you sorted it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The syntax can be confusing. Random effects factors never appear in the MODEL statement in GLIMMIX, only fixed effects factors. But we can use fixed effects factor &lt;EM&gt;names&lt;/EM&gt; in the RANDOM statement to identify a full set of levels for a random effects factor; it's just a very handy syntax shortcut.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 03:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/363304#M19094</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-06-01T03:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/371435#M19465</link>
      <description>&lt;P&gt;Hi sld,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for keep bugging you. But I had this question for a while and I haven't been able to figure it out myself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering why specifying negative binomial of the counting data would give negative estimates? Hope you could give me some hints. I will really appreciate it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 19:07:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/371435#M19465</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-06-28T19:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/371453#M19466</link>
      <description>&lt;P&gt;Estimates of parameters or estimates of lsmeans?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In either case, estimates are on the link scale. So, for example, the lsmean estimate may be negative but its inverse link (produced with the ILINK option) will be non-negative.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 20:08:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/371453#M19466</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-06-28T20:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372259#M19491</link>
      <description>&lt;P&gt;Hi sld, thanks for your kind reply!&lt;/P&gt;&lt;P&gt;Yes, I was asking about estimates of lsmeans. I just had another question, if the default link function for "negbin" is "log", does specifying negative binomial distribution for counting data equal to log transformation?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 17:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372259#M19491</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-06-30T17:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372300#M19496</link>
      <description>&lt;P&gt;No, a log link is not the same as a log transformation. For more detail see&lt;/P&gt;
&lt;P&gt;&lt;A title="O'Hara &amp;amp; Kotze 2010 Do not log-transform count data" href="http://onlinelibrary.wiley.com/doi/10.1111/j.2041-210X.2010.00021.x/abstract;jsessionid=80FCCECBD0455B6336AC72975FED071A.f03t03" target="_self"&gt;http://onlinelibrary.wiley.com/doi/10.1111/j.2041-210X.2010.00021.x/abstract;jsessionid=80FCCECBD0455B6336AC72975FED071A.f03t03&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is one exception: specifying a lognormal distribution produces the same results as applying a log transformation to y and then assuming normality. From the GLIMMIX documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.glimmix.modeloptions" class="AAsection"&gt;
&lt;DIV class="AAoptions"&gt;
&lt;DL class="AAoptions"&gt;
&lt;DD&gt;
&lt;P&gt;"When you choose DIST=LOGNORMAL, the GLIMMIX procedure models the logarithm of the response variable as a normal random variable. That is, the mean and variance are estimated on the logarithmic scale, assuming a normal distribution, &lt;SPAN&gt;&lt;IMG class="math" src="http://127.0.0.1:51043/help/statug.hlp/images/statug_glimmix0229.png" border="0" alt="$\log \{ Y\}  \sim N(\mu ,\sigma ^2)$" width="116" height="17" /&gt;&lt;/SPAN&gt;."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Jun 2017 20:26:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372300#M19496</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-06-30T20:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372302#M19497</link>
      <description>&lt;P&gt;To add to sld's response,&amp;nbsp;see the article &lt;A href="http://blogs.sas.com/content/iml/2015/09/16/plot-distrib-exp.html" target="_self"&gt;"Error distributions and exponential regression models"&lt;/A&gt;&amp;nbsp;for a discussion of log-links versus log transformed data, along with examples and pictures of the error distributions.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 20:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372302#M19497</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-06-30T20:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372537#M19500</link>
      <description>&lt;P&gt;Thanks, Rick!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372537#M19500</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-07-02T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372538#M19501</link>
      <description>&lt;P&gt;Hi sld, thank you so much for your kind reply!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:39:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/372538#M19501</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-07-02T13:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/394533#M20601</link>
      <description>&lt;P&gt;Hi sld,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for keeping bugging you two month later since my initials post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just had another question about my data analysis. Since the number of root tips was different in each plant, so basically the sample sizes were different for each isolate by run combination (and I am also thinking the root tips sampled from an individual plant may share more similarity than root tips sampled from different plants), I was wondering how to test if the number of root tips in an individual plant has an effect on the dependent variable (sporangia) and how to test if different plants have an effect on the dependent variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope to hear your advice. Thank you in advance! &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2017 19:15:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/394533#M20601</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-09-10T19:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/394923#M20618</link>
      <description>&lt;P&gt;I'm not entirely clear about your questions, so follow up as needed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If a plant is a replicate in your experiment, then the true sample size for the isolate factor is determined by the number of plants, not the number of root tips. I would agree with you that root tips are not independent, that they are clustered within plants.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you are wondering&amp;nbsp;whether the number of root tips is affected by the isolate treatment?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you are wondering whether the &lt;EM&gt;total number of sporangia&lt;/EM&gt; (summed over all root tips for a plant) is a better metric for sporangia production by a plant than the &lt;EM&gt;number of sporangia per root tip&lt;/EM&gt;? Either metric could be justifiable, but one is likely more sensible or intuitive than the other in the biological context of the study.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If plants are replicates, then you can't assess whether different plants have an effect on the mean of the dependent variable. If you are specifically interested in these 6 plants (as opposed to thinking of them as representing "plants in general"), then it is possible to obtain a prediction (a BLUP) for each plant. I doubt that you are interested in these specific plants, but maybe you are.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 22:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/394923#M20618</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-09-11T22:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: ask for help with glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/394967#M20621</link>
      <description>&lt;P&gt;Thank you for your kind reply and I really appreciated your help so far!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess it will be helpful to provide you more details about how I did this experiment. So I used 10ml of 10^4 zoospores/ml zoospore suspension to infect each plant (the zoospore suspensions were generated by the 2 fungal isolates that I was trying to compare their sporangia production ability around plant root tips after infection, the zoospore suspensions were adjusted to same concentration). And I left the whole root system of an individual plant in that 10ml of 10^4 zoospores/ml zoospore suspension for infection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My concern is that since the number of root tips of each plant is different, if a plant had a higher number of root tips, on average, each root tip was facing fewer number of zoospores during the infection process compared to a plant that had fewer root tips (So root tips from the same plant were facing same number of zoospores during infection but root tips from different plants were not facing the same number of zoospores). I am worried about if that will be a factor affecting the final number of sporangia growing around root tips from different plants. Hope I made it clear this time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, thanks for your kind attention!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 01:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ask-for-help-with-glimmix/m-p/394967#M20621</guid>
      <dc:creator>jjin0322</dc:creator>
      <dc:date>2017-09-12T01:59:59Z</dc:date>
    </item>
  </channel>
</rss>

