geomean() [Software]

posted by DavidManteigas – Portugal, 2017-02-13 17:17 (2625 d 22:32 ago) – Posting: # 17055
Views: 10,367

Hi Helmut,

geomean() won't solve the problem. A function could only be used within a data step or proc sql.

What the user is asking it is impossible (I think) to do within proc glm. The only way of obtaining geometric "LSmean" in proc glm is by using log-transformed data in the model statement as dependent variable.

It he/she intends to obtain geometric means from raw data, it could use either geomean within a proc sql query, use geomen within proc survey or by using proc summary in log-transformed data and the exponentiate the result in a data step.

Regards,
David

Complete thread:

UA Flag
Activity
 Admin contact
22,991 posts in 4,827 threads, 1,647 registered users;
55 visitors (1 registered, 54 guests [including 2 identified bots]).
Forum time: 16:50 CEST (Europe/Vienna)

If you don’t like something change it;
if you can’t change it, change the way you think about it.    Mary Engelbreit

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5