<?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: lsmeans proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/lsmeans-proc-mixed/m-p/468905#M24385</link>
    <description>&lt;P&gt;As I've suggested in another of your threads:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/LSMEANS-LINES-option-in-PROC-GLM/m-p/466947#M24285" target="_self"&gt;https://communities.sas.com/t5/SAS-Statistical-Procedures/LSMEANS-LINES-option-in-PROC-GLM/m-p/466947#M24285&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"you&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;really, really&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;need to read&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.sas.com/store/books/categories/usage-and-reference/sas-for-mixed-models-second-edition/prodBK_59882_en.html" target="_self" rel="nofollow noopener noreferrer noopener noreferrer"&gt;SAS® for Mixed Models, Second Edition&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In GLM, random effects are&amp;nbsp;included in the MODEL statement. In MIXED, random effects are &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp;included in MODEL; instead random effects are specified in RANDOM or REPEATED statements. Even if your model runs apparently well in MIXED, your specification is &lt;EM&gt;not&lt;/EM&gt; correct, and neither are the results. Mixed models are complex, and you must devote effort to learning enough to apply them correctly.&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>Sat, 09 Jun 2018 03:18:06 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2018-06-09T03:18:06Z</dc:date>
    <item>
      <title>lsmeans proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/lsmeans-proc-mixed/m-p/468809#M24370</link>
      <description>&lt;P&gt;Hi, I runed this invocation, and run very well, just I want to obtain the Tukey's results with literals and not like appear.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data CEN; 
DO PG=1 to 2;
DO PCH= 1 to 4;
DO BLOQ=1 to 4;
INPUT Y@@;
COMPGPCH= PG*10+PCH;
output;
end;
end;
end;
DATALINES; 
9.93	10.58	9.94	10.18
10.75	9.71	10.53	10.26
.	.	.	.
10.52	10.36	10.35	10.16
12.29	12.06	12.06	11.88
12.00	12.55	12.82	12.52
12.52	11.92	11.98	11.73
12.09	11.88	11.83	11.96
;
proc mixed data=CEN method=reml; 
class pg pch bloq; 
model y= bloq pg bloq*pg pch pg*pch/ ddfm=satterth;
random bloq; 
lsmeans pg pch pg*pch/ adjust=tukey; 
run;  &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Jun 2018 17:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/lsmeans-proc-mixed/m-p/468809#M24370</guid>
      <dc:creator>jescam05</dc:creator>
      <dc:date>2018-06-08T17:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: lsmeans proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/lsmeans-proc-mixed/m-p/468905#M24385</link>
      <description>&lt;P&gt;As I've suggested in another of your threads:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/LSMEANS-LINES-option-in-PROC-GLM/m-p/466947#M24285" target="_self"&gt;https://communities.sas.com/t5/SAS-Statistical-Procedures/LSMEANS-LINES-option-in-PROC-GLM/m-p/466947#M24285&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"you&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;really, really&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;need to read&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.sas.com/store/books/categories/usage-and-reference/sas-for-mixed-models-second-edition/prodBK_59882_en.html" target="_self" rel="nofollow noopener noreferrer noopener noreferrer"&gt;SAS® for Mixed Models, Second Edition&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In GLM, random effects are&amp;nbsp;included in the MODEL statement. In MIXED, random effects are &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp;included in MODEL; instead random effects are specified in RANDOM or REPEATED statements. Even if your model runs apparently well in MIXED, your specification is &lt;EM&gt;not&lt;/EM&gt; correct, and neither are the results. Mixed models are complex, and you must devote effort to learning enough to apply them correctly.&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>Sat, 09 Jun 2018 03:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/lsmeans-proc-mixed/m-p/468905#M24385</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-06-09T03:18:06Z</dc:date>
    </item>
  </channel>
</rss>

