BookmarkSubscribeRSS Feed
mragaa
Obsidian | Level 7

Hello everyone,

 

 I'm modeling revenues of different stores with/without marketing in a linear mixed model. The stores vary in size and location. The data is for 5 years in a strongly balanced panel structure. Could you please help me interpret these results? 

  

In the Solution for fixed effects, I get:

 

EffectGeoMarketingEstimateStandard
Error
DFt ValuePr > |t|
Marketing 02510887117028435421.46<.0001
Marketing 12739612106464435425.73<.0001

 

 

In the LS-Means table I get:

 

EffectGeoMarketingEstimateStandard
Error
DFt ValuePr > |t|
Marketing 0108353724129435444.91<.0001
Marketing 1125274721511435458.24<.0001

 

 

 

So, in the former, there's a 9% increase in revenues with marketing, while in the latter it's a 15 % increase. 

 

To add to my confusion, when I plot the simple arithmetic mean for every year, the difference between the marketing and no-marketing groups is way higher than the 9% or 15% figures.

 

My question is:

1- Why are the coefficients and the ls-means different?

2- Why are both of them very different than the impression from graphing the annual simple arithmetic means?

3- Finally, Which of these results I should include in my conclusion?

 

Thank you in advance.

 

5 REPLIES 5
sld
Rhodochrosite | Level 12 sld
Rhodochrosite | Level 12

You haven't provided enough information. Refer to 

https://communities.sas.com/t5/Getting-Started/How-to-get-fast-helpful-answers/ta-p/226133/jump-to/f...

 

At a minimum, please show your MIXED code and an example of your data set.

 

 

PaigeMiller
Diamond | Level 26

And we also need to see all of the parameter estimates from MIXED (including the intercept).

--
Paige Miller
mragaa
Obsidian | Level 7

Greetings,

 

 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. 

 

Thank you for your understanding.

 

Respectfully.

Rick_SAS
SAS Super FREQ

No one asked to see your real data. The request was to see your 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.

 

Basically, the answer to your question is that the statistics mean different things. The parameter estimates are the coefficients 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 

Dickey (2010: https://www.lexjansen.com/mwsug/2010/stats/MWSUG-2010-108.pdf

and

Kiernan et al (2011): https://support.sas.com/resources/papers/proceedings11/351-2011.pdf

sld
Rhodochrosite | Level 12 sld
Rhodochrosite | Level 12

Even just the code would be helpful. What kept me (and possibly @PaigeMiller) 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. 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1966 views
  • 2 likes
  • 4 in conversation