Hi there,
Im currently working on a project in which i have to compute the marketcap of an acquirer 11 days before the announcement date (t-11). But Per acquirer I have got multiple acquisitions, which means multiple announcements dates.
If I want to compute the marketcap of the acquirer 11 days before the announcement date, stata does not recognize the fact that i ve got multiple transactions per acquirer...
Every acquirer has a Unique code (cusip6)
This is the code Im running, but it is wrong...:
"bysort dateannounced: gen marketcap_acquirer = (share_outstanding * price) if t== -11 "
What am I doing wrong?
Could anyone help me out?
Thanks in advance
Noud
Related Posts with Events not recognized, multiple events per group
Editing graphHi, I need to edit a graph that starts from 0 to start from 10. I know how to change the x axis ran…
Gender wage gap, hourly wage or weekly wageHello everyone, I am doing a project on gender wage gap using Oaxaca Decomposition. I am wondering …
How to add scatter plot to xtline and modify its colours accordinglyHi, I'm trying to add orginial data to xtline. Sometimes a unit exhibits a constant variable over se…
Combining the values of different categories into ONE with a repeated IDI have a variable (foodgr) which is divided into 4 categories (1,2,3,4). I have another variable, v…
Mediation analysis (bias-corrected bootstrapping): Using panel survey data with fixed effects (sem/gsem/xtdpdml command)Hello, I am new to the Stata forum (let me know if I have not correctly followed the forum's rules)…
Subscribe to:
Post Comments (Atom)
0 Response to Events not recognized, multiple events per group
Post a Comment