<?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: help with glimmix procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/help-with-glimmix-procedure/m-p/116829#M6135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add method=quad or method=laplace to the proc glimmix statment.&amp;nbsp; Then in the random statement, rearrange so that you have subject=rep, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;random intercept spd*cv/subject=rep type=&amp;lt;insert the type of covariance structure you wish to impose&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you will have to make several runs with the different error structure types.&amp;nbsp; For a split plot, type=vc and type=un are the only ones I can think of that really apply, unless you have some sort of spatial correlation that you wish to fit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using the integral based methods, you get quasi-likelihoods, and the information criteria (AIC, AICc) are appropriate for ranking the 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>Mon, 21 Oct 2013 11:53:31 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-10-21T11:53:31Z</dc:date>
    <item>
      <title>help with glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/help-with-glimmix-procedure/m-p/116827#M6133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if I use the right model for my data, can anyone help me to take a look at it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The experiment is to evaluate the impact of different spray timing of a fungicide on leaf spot disease of barley.&lt;/P&gt;&lt;P&gt;Here is the experimental design: 2 location, 2 seeding dates, 5 spray timings including control, 4 replications, 3 cultivars; variables include disease severity (%), and yield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code I wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;glimmix&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; loc sd rep spd cv;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ds=loc|sd|cv|spd/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;dist&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=normal &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=identity;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;random&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; rep;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;random&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; _residual_/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;subject&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=loc*sd*spd*cv &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=ar(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;lsmeans&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; loc*sd loc*cv loc*spd spd*cv/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;diff&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;lines&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am just start to learn sas by myself, have a lot of questions.&lt;/P&gt;&lt;P&gt;1. how to determine a data distribution;&lt;/P&gt;&lt;P&gt;2. how to determine random effect co variance structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 23:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/help-with-glimmix-procedure/m-p/116827#M6133</guid>
      <dc:creator>liu192223</dc:creator>
      <dc:date>2013-10-18T23:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: help with glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/help-with-glimmix-procedure/m-p/116828#M6134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Come back with a new code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The experiment design is a split plot design, 4 replications, main plot is spray timing, subplot is cultivar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=all;&lt;/P&gt;&lt;P&gt;class loc sd rep spd cv;&lt;/P&gt;&lt;P&gt;model ds=loc|sd|cv|spd /dist=binomial link=logit;&lt;/P&gt;&lt;P&gt;random spd*cv rep;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to choose the right co variance structures in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2013 19:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/help-with-glimmix-procedure/m-p/116828#M6134</guid>
      <dc:creator>liu192223</dc:creator>
      <dc:date>2013-10-20T19:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: help with glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/help-with-glimmix-procedure/m-p/116829#M6135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add method=quad or method=laplace to the proc glimmix statment.&amp;nbsp; Then in the random statement, rearrange so that you have subject=rep, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;random intercept spd*cv/subject=rep type=&amp;lt;insert the type of covariance structure you wish to impose&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you will have to make several runs with the different error structure types.&amp;nbsp; For a split plot, type=vc and type=un are the only ones I can think of that really apply, unless you have some sort of spatial correlation that you wish to fit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using the integral based methods, you get quasi-likelihoods, and the information criteria (AIC, AICc) are appropriate for ranking the 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>Mon, 21 Oct 2013 11:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/help-with-glimmix-procedure/m-p/116829#M6135</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-10-21T11:53:31Z</dc:date>
    </item>
  </channel>
</rss>

