<?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: Need help finding the right SAS procedure for non-normal seed germination data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120886#M33313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Umm.&amp;nbsp; That would be a proportion, bounded below by zero and above by 1.&amp;nbsp; Neither the Poisson nor negative binomial really is applicable, because you have a maximum count 50 (out of 50) that would show up in your data as 100.&amp;nbsp; So that means no "zero inflation."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought about this a little bit, and really wanted to use a binomial distribution, but it has convergence problems.&amp;nbsp; So, since you do not have any 100% obs, I did the add a trivial bit to all values, and used a beta distribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data germ2;&lt;BR /&gt;set germ_combined;&lt;BR /&gt;value=(germ/100);&lt;BR /&gt;value2=value+0.0001;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=germ2 method=rspl abspconv=1e-8;&lt;BR /&gt;monthx=month;&lt;BR /&gt;class humidity temp rep season month;&lt;BR /&gt;nloptions tech=quanew maxiter=2000 ;&lt;BR /&gt;model value2=humidity|temp|season|month/dist=beta;&lt;BR /&gt;random month/residual subject=humidity*temp*season*rep type=sp(pow)(monthx);&lt;BR /&gt;lsmeans humidity|temp|season|month/cl ilink;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This ran for me.&amp;nbsp; The point estimates obtained with the ilink option should be adjusted for the 0.0001 added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some ideas about how to approach the zero inflation idea, using a fixed offset, but that is for a later post.&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>Thu, 10 Jan 2013 20:35:55 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-01-10T20:35:55Z</dc:date>
    <item>
      <title>Need help finding the right SAS procedure for non-normal seed germination data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120883#M33310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to seek help in analysis of my data set. I am looking at the effect of storage conditions (humidity and temperature) on germination of dormant seeds (over time). I set up my experiment as a split-split plot (main plot: humidity, subplot: temp and subsubplot: time) and I did two runs (seasons) to see whether treatment results are consistent. Results of the PROC univariate indicates that my data is not normal and is highly positively skewed (2.2). Can I still run an ANOVA with this? I would like to see whether factors I have (and their interactions are significant) and also whether the two runs are significant (which can indicate whether the runs can be combined or not. Attached is a data set and results of the proc univariate. Any help (specifically in writing the analysis code) is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 03:15:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120883#M33310</guid>
      <dc:creator>OB_HNL</dc:creator>
      <dc:date>2013-01-10T03:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help finding the right SAS procedure for non-normal seed germination data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120884#M33311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recall that the assumptions on ANOVA are that the residuals be relatively normally distributed, not necessarily the response variable.&amp;nbsp; It really, really looks like your response variable is a count, and it really looks like it is zero-inflated (the median is zero).&amp;nbsp; I suggest looking at the documentation for PROC GENMOD, especially for the zero-inflated models.&amp;nbsp; The hard part will be correctly specifying a split-split plot, which is relatively easy to do in MIXED with RANDOM and REPEATED, or GLIMMIX with residual option in the RANDOM statement.&amp;nbsp; However, neither of those will accurately fit a zero inflated model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the SAS-L archives for many, many threads on fitting zero-inflated models.&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>Thu, 10 Jan 2013 13:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120884#M33311</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-01-10T13:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help finding the right SAS procedure for non-normal seed germination data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120885#M33312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Data. Yes, the response variable is a count, specifically percent germination (i.e. number of germinated seeds/50 seeds).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll check the archives and see what I'll find. Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orville &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 18:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120885#M33312</guid>
      <dc:creator>OB_HNL</dc:creator>
      <dc:date>2013-01-10T18:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help finding the right SAS procedure for non-normal seed germination data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120886#M33313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Umm.&amp;nbsp; That would be a proportion, bounded below by zero and above by 1.&amp;nbsp; Neither the Poisson nor negative binomial really is applicable, because you have a maximum count 50 (out of 50) that would show up in your data as 100.&amp;nbsp; So that means no "zero inflation."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought about this a little bit, and really wanted to use a binomial distribution, but it has convergence problems.&amp;nbsp; So, since you do not have any 100% obs, I did the add a trivial bit to all values, and used a beta distribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data germ2;&lt;BR /&gt;set germ_combined;&lt;BR /&gt;value=(germ/100);&lt;BR /&gt;value2=value+0.0001;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=germ2 method=rspl abspconv=1e-8;&lt;BR /&gt;monthx=month;&lt;BR /&gt;class humidity temp rep season month;&lt;BR /&gt;nloptions tech=quanew maxiter=2000 ;&lt;BR /&gt;model value2=humidity|temp|season|month/dist=beta;&lt;BR /&gt;random month/residual subject=humidity*temp*season*rep type=sp(pow)(monthx);&lt;BR /&gt;lsmeans humidity|temp|season|month/cl ilink;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This ran for me.&amp;nbsp; The point estimates obtained with the ilink option should be adjusted for the 0.0001 added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some ideas about how to approach the zero inflation idea, using a fixed offset, but that is for a later post.&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>Thu, 10 Jan 2013 20:35:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-help-finding-the-right-SAS-procedure-for-non-normal-seed/m-p/120886#M33313</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-01-10T20:35:55Z</dc:date>
    </item>
  </channel>
</rss>

