Search found 1 match

by mranpara03
Wed Apr 08, 2015 4:33 am
Forum: Data Manipulation
Topic: Log transformation
Replies: 1
Views: 3046

Log transformation

I want to transform a series of total medical costs totmed by taking the natural log. However some values are zero so when I try to do this using generate it gives me an error saying some values are non positive. Is there a way that I can do this log(totmed); = 0 if totmed < 1 so that the non positi...

Go to advanced search