Hi all,
I am new to econometrics and stata so if I say something wrong, please spare me. I have a few questions to ask on creating a dummy variable.
I have a dataset coming from annual reports of 182 companies. Within my dataset, I have total assets of firms. I want to create dummy variables for Small, Medium and Large size firms based on their total assets; a ratio of 30%, 40% and 30%. So dummy variable for Top 30% firms = 1, Mid 40% firms = 2 and Small 30% firms = 0. How do I create this dummy variable?
My second question is, these 182 companies are from 4 different countries, how do I create a dummy for each country?
Thanks and Regards,
Shahzeb Ahmed
I am new to econometrics and stata so if I say something wrong, please spare me. I have a few questions to ask on creating a dummy variable.
I have a dataset coming from annual reports of 182 companies. Within my dataset, I have total assets of firms. I want to create dummy variables for Small, Medium and Large size firms based on their total assets; a ratio of 30%, 40% and 30%. So dummy variable for Top 30% firms = 1, Mid 40% firms = 2 and Small 30% firms = 0. How do I create this dummy variable?
My second question is, these 182 companies are from 4 different countries, how do I create a dummy for each country?
Thanks and Regards,
Shahzeb Ahmed
Comment