Good morning everyone,
I have a problem on STATA.
I have 2 variables (Ebitda08 and Ebitda09) and a third variable (X) which has a value between 0 and 5. Which command should I use in order to create a new variable that, only in case X=1, gives a value equal to Ebitda09 - Ebitda08 ?
Thank you!