Can someone help me with the code or procedure for my description below? I'm trying to do the ANCOVA analysis and to get their GLSM (Geometric Least Square Mean). I have 2 continuous covariants, A and B, 1 categorical covariant C, and 2 treatments Z1 and Z2, and the values of 1 parameter and its log10() value.
My question is:
1. Why we should do the ANCOVA analysis, since there are only 2 treatments?
2. May I ask the code about that? I saw the SASHEP, and it only gives proc glm procedure. But I saw most people use proc mixed.
3. How to get the GLSM, I saw some senior said "Exp(mean(log(x))) = geomean(x)", but I am still confused how to write the code, and whether I should use the original value or log10() value.