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
panel vecm with pvar code?Dear all, I want to use panel vecm but as I know there is no stata code to do that directly. Becaus…
Split 2 digits from a numeric varHi, I want to split middle 2 digits from a numeric var, which have 11 / 18 digits. For 11 digits, I …
Panel data sample distributionHello Everyone, I am looking for a STATA command which can give sample distribution by year and how…
Merging questionI am trying to merge two datasets based on two variables: MotherID and PregnancyID. PregnancyID is n…
Maximum likelihood probit estimation (multiple outcomes)I am interested in how the characteristics of policy i and the characteristics of insurance j influe…
Subscribe to:
Post Comments (Atom)
0 Response to Events not recognized, multiple events per group
Post a Comment