geomean() [Software]

posted by DavidManteigas – Portugal, 2017-02-13 17:17 (2952 d 13:30 ago) – Posting: # 17055
Views: 11,364

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,409 posts in 4,921 threads, 1,667 registered users;
58 visitors (0 registered, 58 guests [including 12 identified bots]).
Forum time: 06:48 CET (Europe/Vienna)

They must find it difficult…; those who have taken authority as the truth,
rather than truth as the authority.    Gerald Massey

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