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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

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
  • 1583 views
  • 2 likes
  • 2 in conversation