geomean() [Software]

posted by DavidManteigas – Portugal, 2017-02-13 17:17 (2925 d 03:08 ago) – Posting: # 17055
Views: 11,289

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,381 posts in 4,914 threads, 1,663 registered users;
71 visitors (0 registered, 71 guests [including 13 identified bots]).
Forum time: 20:26 CET (Europe/Vienna)

Science is built up with facts, as a house is with stones.
But a collection of facts is no more a science
than a heap of stones is a house.    Henri Poincaré

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