<?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 Lsmeans and slice from genmod. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Lsmeans-and-slice-from-genmod/m-p/208228#M11220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Dear all. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Wish you all well. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Can anyone please enlighten me on why is the result from lsmeans statement and that from slice statement different?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;proc genmod data=temp order=internal plots=all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; class id time var1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; MODEL y= var1 time var1*time / type3 dist=gamma link=log;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; lsmeans time*var1 / om diff ilink cl plots=all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; slice time*var1 / sliceby=var1 ilink diff nof;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; repeated subject=id / type=cs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 04:59:43 GMT</pubDate>
    <dc:creator>Miracle</dc:creator>
    <dc:date>2015-07-22T04:59:43Z</dc:date>
    <item>
      <title>Lsmeans and slice from genmod.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lsmeans-and-slice-from-genmod/m-p/208228#M11220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Dear all. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Wish you all well. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Can anyone please enlighten me on why is the result from lsmeans statement and that from slice statement different?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'times new roman', times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;proc genmod data=temp order=internal plots=all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; class id time var1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; MODEL y= var1 time var1*time / type3 dist=gamma link=log;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; lsmeans time*var1 / om diff ilink cl plots=all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; slice time*var1 / sliceby=var1 ilink diff nof;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; repeated subject=id / type=cs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 04:59:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lsmeans-and-slice-from-genmod/m-p/208228#M11220</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2015-07-22T04:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lsmeans and slice from genmod.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lsmeans-and-slice-from-genmod/m-p/208229#M11221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In what sense are they different?&amp;nbsp; The SLICE command should give all the differences between timepoints for each level of var1.&amp;nbsp; The differences are in the lsmeans diffs, as well, but they are scattered through out the output.&amp;nbsp; Excuse me if I am missing your point--a short example of how the outputs differ would help in explaining.&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>Wed, 22 Jul 2015 12:42:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lsmeans-and-slice-from-genmod/m-p/208229#M11221</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-07-22T12:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Lsmeans and slice from genmod.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lsmeans-and-slice-from-genmod/m-p/208230#M11222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'times new roman', times; font-size: 12pt;"&gt;Hi Steve.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'times new roman', times; font-size: 12pt;"&gt;Yes, you are right. The estimates from both lsmeans and lsmeans are the same. My mistake due to oversight. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: 'times new roman', times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: 'times new roman', times;"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: 'times new roman', times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: 'times new roman', times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 01:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lsmeans-and-slice-from-genmod/m-p/208230#M11222</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2015-07-24T01:39:45Z</dc:date>
    </item>
  </channel>
</rss>

