Hi there,
I'm trying to create a dummy variable that takes the value of 1 for outliers in GDP growth from 1990-2000 by using the 1.5*IQR rule in at least code as possible. Other than having a very complex set of code I am also having problems with telling stata to replace 0 with 1 when the value >x And <y. Also I have missing data which is being replaced by 1 when using this type of code.
Thank you in advanced,
Daniel Greener
I'm trying to create a dummy variable that takes the value of 1 for outliers in GDP growth from 1990-2000 by using the 1.5*IQR rule in at least code as possible. Other than having a very complex set of code I am also having problems with telling stata to replace 0 with 1 when the value >x And <y. Also I have missing data which is being replaced by 1 when using this type of code.
Thank you in advanced,
Daniel Greener
Comment