Hello everyone!
I have a trouble about cleaning a big dataset that really needs your help now. Would you possibly have a look for me?
Since all variables are recorded by different reporting currencies, what I want to do is to convert all variables recorded by different currencies to one-currency-recorded variables, that is EUR. For example, there are two variables recorded by three different currencies, i.e., GBP, EUR and USD. Since the dataset is quite big, it's impossible for me to convert it by hand. By using the exchange rates, how can I convert all variables recorded by GBP and USD to only EUR based variables in Stata?
The dataset is similar to the following:
id NAV GAV Reporting currency
1 10m 20M GBP
2 15m 23M GBP
3 20m 24M GBP
4 26m 30M GBP
5 28m 32M USD
6 24m 23M USD
7 22m 33M USD
8 24m 30M EUR
9 40m 31M EUR
10 34m 32M EUR
... .... ....
Many thanks for your time, I will be most grateful if you can help me out!
Best,
Jae
I have a trouble about cleaning a big dataset that really needs your help now. Would you possibly have a look for me?
Since all variables are recorded by different reporting currencies, what I want to do is to convert all variables recorded by different currencies to one-currency-recorded variables, that is EUR. For example, there are two variables recorded by three different currencies, i.e., GBP, EUR and USD. Since the dataset is quite big, it's impossible for me to convert it by hand. By using the exchange rates, how can I convert all variables recorded by GBP and USD to only EUR based variables in Stata?
The dataset is similar to the following:
id NAV GAV Reporting currency
1 10m 20M GBP
2 15m 23M GBP
3 20m 24M GBP
4 26m 30M GBP
5 28m 32M USD
6 24m 23M USD
7 22m 33M USD
8 24m 30M EUR
9 40m 31M EUR
10 34m 32M EUR
... .... ....
Many thanks for your time, I will be most grateful if you can help me out!

Best,
Jae
Comment