BookmarkSubscribeRSS Feed
AlexDaher
Fluorite | Level 6

I used MCMC-lognormal  to fit the data with random effect and also I used the normal model to do that , when I make exponential to the mean from lognormal it is different from that one in coming from Normal model, big differences I wonder why?

3 REPLIES 3
Rick_SAS
SAS Super FREQ

If you post SAS program that you used for the analyses, we will be able to comment more confidently.

SteveDenham
Jade | Level 19

The primary reason is that exponentiating the mean of a log normal yields the geometric mean, which is almost certainly less than the mean assuming normality.  Take a look at any graphical description of the lognormal distribution, or see this https://en.wikipedia.org/wiki/Log-normal_distribution .  There you will see that the mean (expected value) of the log-normal is exp(mu + variance/2).  The geometric mean is an approximate estimator of the median, which in a right skewed distribution is less than the mean.

 

SteveDenham

AlexDaher
Fluorite | Level 6

Thank you for your reply. 

 

I am pretty sure that the mean as you explained needs to be adjusted by including the variance in it. I will post the code soon and also I adjust the mean to see the result.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 642 views
  • 2 likes
  • 3 in conversation