<?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: PROC MIXED: Coefficients vs LS Means in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/412745#M21625</link>
    <description>&lt;P&gt;And we also need to see all of the parameter estimates from MIXED (including the intercept).&lt;/P&gt;</description>
    <pubDate>Sun, 12 Nov 2017 22:21:23 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2017-11-12T22:21:23Z</dc:date>
    <item>
      <title>PROC MIXED: Coefficients vs LS Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/412612#M21619</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm modeling revenues&lt;SPAN&gt;&amp;nbsp;of different stores&amp;nbsp;&lt;/SPAN&gt;with/without&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;marketing in a linear mixed model. The stores vary in size and location. The data is for&amp;nbsp;5 years in a strongly&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;balanced panel structure.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Could you please help me interpret these results?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the&amp;nbsp;Solution for fixed effects, I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Effect&lt;/TD&gt;&lt;TD&gt;Geo&lt;/TD&gt;&lt;TD&gt;Marketing&lt;/TD&gt;&lt;TD&gt;Estimate&lt;/TD&gt;&lt;TD&gt;Standard&lt;BR /&gt;Error&lt;/TD&gt;&lt;TD&gt;DF&lt;/TD&gt;&lt;TD&gt;t Value&lt;/TD&gt;&lt;TD&gt;Pr &amp;gt; |t|&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Marketing&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2510887&lt;/TD&gt;&lt;TD&gt;117028&lt;/TD&gt;&lt;TD&gt;4354&lt;/TD&gt;&lt;TD&gt;21.46&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Marketing&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2739612&lt;/TD&gt;&lt;TD&gt;106464&lt;/TD&gt;&lt;TD&gt;4354&lt;/TD&gt;&lt;TD&gt;25.73&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the LS-Means table I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Effect&lt;/TD&gt;&lt;TD&gt;Geo&lt;/TD&gt;&lt;TD&gt;Marketing&lt;/TD&gt;&lt;TD&gt;Estimate&lt;/TD&gt;&lt;TD&gt;Standard&lt;BR /&gt;Error&lt;/TD&gt;&lt;TD&gt;DF&lt;/TD&gt;&lt;TD&gt;t Value&lt;/TD&gt;&lt;TD&gt;Pr &amp;gt; |t|&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Marketing&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1083537&lt;/TD&gt;&lt;TD&gt;24129&lt;/TD&gt;&lt;TD&gt;4354&lt;/TD&gt;&lt;TD&gt;44.91&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Marketing&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1252747&lt;/TD&gt;&lt;TD&gt;21511&lt;/TD&gt;&lt;TD&gt;4354&lt;/TD&gt;&lt;TD&gt;58.24&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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;&lt;P&gt;So, in the former,&amp;nbsp;there's a 9% increase in revenues with marketing, while in the&amp;nbsp;latter it's a 15 % increase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add to my confusion, when I&amp;nbsp;plot the simple&amp;nbsp;arithmetic mean for every year, the difference between the marketing and no-marketing groups is way higher than the 9% or 15% figures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;1- Why are the coefficients and the ls-means different?&lt;/P&gt;&lt;P&gt;2- Why are both of them very different than the impression from graphing the annual simple arithmetic means?&lt;/P&gt;&lt;P&gt;3- Finally,&amp;nbsp;Which of these results I should include in my conclusion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Nov 2017 23:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/412612#M21619</guid>
      <dc:creator>mragaa</dc:creator>
      <dc:date>2017-11-11T23:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: Coefficients vs LS Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/412727#M21623</link>
      <description>&lt;P&gt;You haven't provided enough information. Refer to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="How to get fast, helpful answers" href="https://communities.sas.com/t5/Getting-Started/How-to-get-fast-helpful-answers/ta-p/226133/jump-to/first-unread-message" target="_self"&gt;https://communities.sas.com/t5/Getting-Started/How-to-get-fast-helpful-answers/ta-p/226133/jump-to/first-unread-message&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At a minimum, please show your MIXED code and an example of your data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2017 20:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/412727#M21623</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-11-12T20:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: Coefficients vs LS Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/412745#M21625</link>
      <description>&lt;P&gt;And we also need to see all of the parameter estimates from MIXED (including the intercept).&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2017 22:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/412745#M21625</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-11-12T22:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: Coefficients vs LS Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/435939#M23013</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm writing to thank you all for paying attention to my inquiry and to apologize for I couldn't share the data as requested for its confidentiality. It took a while to get back to you because I have been unsuccessfully trying to take the permission for sharing a de-identified sample.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Respectfully.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2018 09:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/435939#M23013</guid>
      <dc:creator>mragaa</dc:creator>
      <dc:date>2018-02-10T09:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: Coefficients vs LS Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/436231#M23029</link>
      <description>&lt;P&gt;No one asked to see your real data. The request was to see your&amp;nbsp;PROC MIXED statement and, to help understand the code, an EXAMPLE of the structure of your data. Feel free to make up the data so that no sensitive information is revealed. For example, the revenue for the stores can be 1, 2, 3, ... Often we can infer the structure of the data, so the most important information is the PROC MIXED code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, the answer to your question is that the statistics mean different things. The parameter estimates&amp;nbsp;are the coefficients&amp;nbsp;of the fixed effects. LSMEANS are more complicated, but you can Google the SAS documentation or conference papers to find many examples that interpret LSMEANS. Two papers I like are&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dickey (2010:&amp;nbsp;&lt;A href="https://www.lexjansen.com/mwsug/2010/stats/MWSUG-2010-108.pdf" target="_blank"&gt;https://www.lexjansen.com/mwsug/2010/stats/MWSUG-2010-108.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;Kiernan et al (2011):&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings11/351-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/351-2011.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/436231#M23029</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-02-12T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: Coefficients vs LS Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/436497#M23040</link>
      <description>&lt;P&gt;Even just the code would be helpful. What kept me (and possibly &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;) from being able to provide an answer to the initial post is that the "Solution for fixed effects" table does not show one of the Marketing level estimates being set to zero. Possibly this is a no-intercept model, but then I would expect the values in the two tables to match. So I was puzzled then, and still am.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 22:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Coefficients-vs-LS-Means/m-p/436497#M23040</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-02-12T22:41:17Z</dc:date>
    </item>
  </channel>
</rss>

