Hi everyone,
Is there a way to generate a new variable by dividing the minimum and maximum values obtained from
?
I have tried...
...with no success 
Is there a way to generate a new variable by dividing the minimum and maximum values obtained from
Code:
summarize
I have tried...
Code:
foreach x or variable1 variable2 variable3 egen { egen ratio_`x'= max(`x')/min(`x')

Comment