Greetings everyone,

is there any way I can use stata to get variables are winsorized so that the largest observation is equal to one and the smallest is equal to zero?

Thanks.