Hi statalist,
How can I change the sign of an observation in data ? I want to change negative values to positive and I tried this code:
the result is :
(- invalid name)
How can I change the sign of an observation in data ? I want to change negative values to positive and I tried this code:
Code:
replace -X = X if X<0
(- invalid name)
Comment