geomean() [Software]

posted by DavidManteigas – Portugal, 2017-02-13 17:17 (2987 d 14:39 ago) – Posting: # 17055
Views: 11,482

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
23,424 posts in 4,927 threads, 1,686 registered users;
22 visitors (0 registered, 22 guests [including 5 identified bots]).
Forum time: 08:57 CEST (Europe/Vienna)

It is true that many scientists are not philosophically minded
and have hitherto shown much skill and ingenuity
but little wisdom.    Max Born

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