I am currently using SAS studio and am wondering whether it is possible to back-transform means and standard errors (and obtain LS means table) after a sqrt transformation.
I know you can use the proc glimmix to do this with log transformed data but is there any way to do this for data transformed differently?
I have used the following code for log backtransformation
Proc glimmix data=file1;
class ANIMAL TREAT;
model NH= TREAT/ link=LOGN;
run;
proc glimmix data=file100;
CLASS ANIMAL TREAT;
MODEL NH= TREAT;
lsmeans treat / cl ilink;
ods select lsmeans;
run;
Thanks!
I'm not well (i.e., not-at-all) versed in glmmix, but can't you just use the power(.5) setting with the link option?
Art, CEO, AnalystFinder.com
No the ilink function is only for the natural log transformation
I found the following from an older post that suggests otherwise:
"On SAS-L, I replied, and since folks don't always read both, I tried to recover it from the archive:
This looks like an opportunity to use PROC GLIMMIX, and use of the LINK option. For depth LINK=LOG, and for mass LINK=POWER(0.5). Then in the LSMEANS statement, use the ILINK option, and the final values will include the estimates and their standard errors on both the transformed and original scale. The documentation reports that the standard errors on the inverse lined scale are computed by the delta method."
Art, CEO, AnalystFinder.com
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.