![Square root transformations: How to handle negative data values?](https://blogs.sas.com/content/iml/files/2013/10/t_sqrtxform.png)
I was looking at someone else's SAS/IML program when I saw this line of code: y = sqrt(x<>0); The statement uses the element maximum operator (<>) in the SAS/IML language to make sure that negative value are never passed to the square root function. This little trick is a real