<?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: 3-way interaction: LSMESTIMATE in PROC surveylogistic in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673831#M202781</link>
    <description>Thank you very much!</description>
    <pubDate>Fri, 31 Jul 2020 21:00:08 GMT</pubDate>
    <dc:creator>Emma_at_SAS</dc:creator>
    <dc:date>2020-07-31T21:00:08Z</dc:date>
    <item>
      <title>3-way interaction: LSMESTIMATE in PROC surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673748#M202736</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I want to introduce a 3-way interaction term in my&amp;nbsp;PROC surveylogistic model. I have three variables A, B, and C each with three levels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the MODEL statement, I add &lt;STRONG&gt;A|B|C&lt;/STRONG&gt; but I want to see the details of differences using the&amp;nbsp;LSMESTIMATE. How may I introduce contrasts with&amp;nbsp;LSMESTIMATE?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Maryam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 15:23:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673748#M202736</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2020-07-31T15:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: 3-way interaction: LSMESTIMATE in PROC surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673759#M202740</link>
      <description>&lt;P&gt;If you want to determine differences you can start with LSMEANS instead of LSESTIMATE. There are many options in the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_surveylogistic_syntax10.htm&amp;amp;locale=en" target="_self"&gt;LSMEANS&lt;/A&gt; statement that allow you to compute differences and determine statistical significance of those differences.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 15:39:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673759#M202740</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-31T15:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: 3-way interaction: LSMESTIMATE in PROC surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673771#M202745</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;PaigeMiller for your quick response!&lt;/P&gt;&lt;P&gt;What is the advantage of LSMESTIMATE over LSMEANS or what are their differences? My advisor asked me to use&amp;nbsp;LSMESTIMATE but I do not know why and because I do not know enough I cannot discuss the details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 15:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673771#M202745</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2020-07-31T15:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: 3-way interaction: LSMESTIMATE in PROC surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673797#M202760</link>
      <description>&lt;P&gt;It is my understanding that LSMESTIMATE is used for special comparisons that are not built into LSMEANS. In addition, LSMESTIMATE in some situations is much harder to use, whereas the same comparison in LSMEANS would be much easier to program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, for example, if you have three levels of X1, let's call them LEVEL1, LEVEL2 and LEVEL3, and you want to estimate the differences between two levels, e.g.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LEVEL1 – LEVEL2 or&lt;/P&gt;
&lt;P&gt;LEVEL2 – LEVEL3 or&lt;/P&gt;
&lt;P&gt;LEVEL1 – LEVEL3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;these are all built into LSMEANS and there is no need to use LSMESTIMATE. Any time you are comparing the mean difference between two levels, you would use LSMEANS. If for some reason you want to estimate&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2*LEVEL1 – 3*LEVEL2 + 0.4*LEVEL3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(which is not comparing two levels) this is not available from LSMEANS and the only choice is LSMESTIMATE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 17:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673797#M202760</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-31T17:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: 3-way interaction: LSMESTIMATE in PROC surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673798#M202761</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;PaigeMiller!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your clarification was super helpful. So, probably because I am using survey data with WEIGHT in my PROC SURVEYLOGISTIC&lt;SPAN&gt;&amp;nbsp;then I need to use LSMESTIMATE. Do you have any suggestions or know of a resource to help me introduce a 3-way interaction into my LSMESTIMATE statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 17:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673798#M202761</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2020-07-31T17:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: 3-way interaction: LSMESTIMATE in PROC surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673829#M202779</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/84351"&gt;@Emma_at_SAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;So, probably because I am using survey data with WEIGHT in my PROC SURVEYLOGISTIC&lt;SPAN&gt;&amp;nbsp;then I need to use LSMESTIMATE. &lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Allow me to say that I do not agree. PROC SURVEYLOGISTIC properly applies the survey weights in the LSMEANS statement, so you should not have to wind up using LSMESTIMATE just to compare groups.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any suggestions or know of a resource to help me introduce a 3-way interaction into my LSMESTIMATE statement?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, I do not.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 20:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673829#M202779</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-31T20:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: 3-way interaction: LSMESTIMATE in PROC surveylogistic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673831#M202781</link>
      <description>Thank you very much!</description>
      <pubDate>Fri, 31 Jul 2020 21:00:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/3-way-interaction-LSMESTIMATE-in-PROC-surveylogistic/m-p/673831#M202781</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2020-07-31T21:00:08Z</dc:date>
    </item>
  </channel>
</rss>

