Thank you Rick for getting back to me. variable(dose) values are for example 1 1 1 1 1 1.5 1.6 ... data ds(keep =usubjid dose); set datax; where dose ne . ; dose1 =log(dose); run; when i do this where ever dose values are equal to 1 i get dose1 =0 i get a note in logafter i run that part of the code as "mathematical operations could not be performed "and there is "an invalid argument to function log". then i did proc means data =datax ; by usubjid; var dose1; output out =datax1 n=n mean=mean stderr=stderr; run; the datax1 dataset has values where mean=o and std err=0 and also some values where stderr =missing.
... View more