<?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 proc mixed question in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61477#M2866</link>
    <description>For year 2007, and 2008 I have four levels of phosphorus and potassium but in 2009, only two levels of each. Can you please tell if my following model will take of this unbalanced design?&lt;BR /&gt;
&lt;BR /&gt;
proc mixed data=Soils covtest cl ic;&lt;BR /&gt;
	ods output InfoCrit=ic;&lt;BR /&gt;
	class year Block Plot Tillplc Prate Krate  Depth;&lt;BR /&gt;
	model log_Phos = year|Tillplc|Prate|Krate|Depth / ddfm=kr ;&lt;BR /&gt;
	random int tillplc tillplc*prate tillplc*Krate/subject = Block(year)&lt;BR /&gt;
	lsmeans year*Prate/ adjust=tukey;&lt;BR /&gt;
	lsmeans year*Krate/ adjust=tukey;&lt;BR /&gt;
	lsmeans year*Prate*Krate/ adjust=tukey;&lt;BR /&gt;
&lt;BR /&gt;
Will I be able to still make correct comparisons of Prate and Krate for different years like i am showing in lsmeans statement?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Bhupinder</description>
    <pubDate>Tue, 11 Jan 2011 17:47:04 GMT</pubDate>
    <dc:creator>Bhupinder</dc:creator>
    <dc:date>2011-01-11T17:47:04Z</dc:date>
    <item>
      <title>proc mixed question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61477#M2866</link>
      <description>For year 2007, and 2008 I have four levels of phosphorus and potassium but in 2009, only two levels of each. Can you please tell if my following model will take of this unbalanced design?&lt;BR /&gt;
&lt;BR /&gt;
proc mixed data=Soils covtest cl ic;&lt;BR /&gt;
	ods output InfoCrit=ic;&lt;BR /&gt;
	class year Block Plot Tillplc Prate Krate  Depth;&lt;BR /&gt;
	model log_Phos = year|Tillplc|Prate|Krate|Depth / ddfm=kr ;&lt;BR /&gt;
	random int tillplc tillplc*prate tillplc*Krate/subject = Block(year)&lt;BR /&gt;
	lsmeans year*Prate/ adjust=tukey;&lt;BR /&gt;
	lsmeans year*Krate/ adjust=tukey;&lt;BR /&gt;
	lsmeans year*Prate*Krate/ adjust=tukey;&lt;BR /&gt;
&lt;BR /&gt;
Will I be able to still make correct comparisons of Prate and Krate for different years like i am showing in lsmeans statement?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Bhupinder</description>
      <pubDate>Tue, 11 Jan 2011 17:47:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61477#M2866</guid>
      <dc:creator>Bhupinder</dc:creator>
      <dc:date>2011-01-11T17:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61478#M2867</link>
      <description>This should work OK, as the year*Prate, year*Krate, and year*Prate*Krate lsmeans should all be estimable.  However, main effect lsmeans will not be estimable.&lt;BR /&gt;
&lt;BR /&gt;
Steve Denham</description>
      <pubDate>Wed, 12 Jan 2011 13:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61478#M2867</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2011-01-12T13:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61479#M2868</link>
      <description>So, it means I need to write contrasts to get those particular estimates?&lt;BR /&gt;
&lt;BR /&gt;
One more question on this model, will same model work good if I don't have Prate and Krate treatments in one of the three years under study? &lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Bhupinder</description>
      <pubDate>Wed, 12 Jan 2011 15:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61479#M2868</guid>
      <dc:creator>Bhupinder</dc:creator>
      <dc:date>2011-01-12T15:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61480#M2869</link>
      <description>Actually, I would use the LSMESTIMATE option (if you have v 9.2), otherwise it would require estimates/contrasts.&lt;BR /&gt;
&lt;BR /&gt;
I guess I don't quite know what you mean by the last statement--are you missing all of the treatments, or just some of them?&lt;BR /&gt;
&lt;BR /&gt;
I begin to think that a means model may be what is needed.  See SAS System for Mixed Models (Littel et al.) or Analysis of Messy Data, vol. 1 (Milliken and Johnson).&lt;BR /&gt;
&lt;BR /&gt;
Steve Denham</description>
      <pubDate>Thu, 13 Jan 2011 11:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-question/m-p/61480#M2869</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2011-01-13T11:57:40Z</dc:date>
    </item>
  </channel>
</rss>

