Search found 1 match
- Tue Jun 18, 2019 8:41 am
- Forum: Data Manipulation
- Topic: negative values conversion to log
- Replies: 7
- Views: 28999
Re: negative values conversion to log
Hello! I have a problem with a need to convert negative values to log. I need to make a following transformation: "l(w)=log(1+w) if w>o and l(w)=-log(1-w) when w<0 " but I don't know where and how should I input it? series lw=@recode(w>0,log(1+w),-log(1-w)) Hi, do you have justification o...
