Hi there!
I would like to transform the monthly returns to annual returns with the reference date of April. Therefore I used: (ret=return; dlret=delisting return)
On the other hand i mixed up different companys because some appear and some other disappear with the time so if I just go back and summarize the last 12 months it will result in an error. I need to lock the company to the return but I have no good idea to do so. The image shows such an example of a delisting:

I hope someone can give me an idea how to solve this problem. Many thanks for every help!
All the best,
Martin
I would like to transform the monthly returns to annual returns with the reference date of April. Therefore I used: (ret=return; dlret=delisting return)
- gen retannual=exp(log(ret+dlret[month])+log(ret+dlret[month-1])+log(ret+dlret[month-2])+log(ret+dlret[month-3])+log(ret+dlret[month-4])+log(ret+dlret[month-5])+log(ret+dlret[month-6])+log(ret+dlret[month-7])+log(ret+dlret[month-8])+log(ret+dlret[month-9])+log(ret+dlret[month-10])+log(ret+dlret[month-11]))
- drop if month != 4
On the other hand i mixed up different companys because some appear and some other disappear with the time so if I just go back and summarize the last 12 months it will result in an error. I need to lock the company to the return but I have no good idea to do so. The image shows such an example of a delisting:
I hope someone can give me an idea how to solve this problem. Many thanks for every help!
All the best,
Martin
Comment