Yes, NetNit contains both negative and positive values and when I take the log of NetNit in Proc Glimmix, I end up having missing values. However, with the code below, I have the data as positive values. I am not sure if this is a valid transformation approach. If it is, how do I use the output from proc iml in proc glimmix and back-transform the means? LNetNit = log10(NetNit + 1 - min(NetNit )); /* translate, then transform */ I was hoping to get positive values with the code below but I ended up having missing and negative values. LogNetNit = j(nrow(NetNit ),1,.); /* allocate missing */ Y = NetNit + 1 - min(NetNit ); /* <== use the translated data */ idx = loc(Y > 0); /* find indices where Y > 0 */ if ncol(idx) > 0 then LogNetNit[idx] = log10(Y[idx]); Thank you,
... View more