BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
CL52
Calcite | Level 5

Dear all,

I struggled to figure out how to derive SD and confidence interval for difference between groups in percentage change from baseline, analyzed in log-transformation. 

 

In proc mixed, I have [log(Post) - log(BL)] as response. and treatment as indepent variables, visit, and treatment by visit interaction. So I know, the coefficient beta1 for treatment (and beta0 as intercept), I can transform back to get the percentage change (exp(beta0+beta1) - 1)*100%. 

 

However what I am interested in is the difference between the group. 

[exp(beta0+beta1)-1] - [exp(beta0)-1] = exp(beta0)*(exp(beta1) - 1)

 

How can I derive the SD and CI of the above with the LSmeans output? 

Any reference I can go to? 

 

Many thanks!

Carrie 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

The LSMEANS statement cannot be used to estimate or test nonlinear combinations of model parameters. For that, you can use the NLEST macro.

View solution in original post

1 REPLY 1
StatDave
SAS Super FREQ

The LSMEANS statement cannot be used to estimate or test nonlinear combinations of model parameters. For that, you can use the NLEST macro.

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
  • 1 reply
  • 847 views
  • 2 likes
  • 2 in conversation