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
How to resolve numeric overflow while performing xtlogit,fe in stata?Dear all, Apologies if this question seems to be a repetition of a previous question. I had made som…
Formatting Several Variables using a Loop Hello I have several variables (68) consisting of strings, integers, and floats. I am trying to for…
Taking more time in loop (foreach/forvalues)?Dear All, I notice that if I run 100 regressions (using loop), and save some statistics, every regre…
How to match two datasets with constraints?Hello, This is my first time posting on this forum so thank you to everyone in advance. The simple…
How do I do two j for reshape command? Use reshape twice?Hello, I have a wide data set that contains variables: PUBID (individuals ID) startdate__njob_year …
Subscribe to:
Post Comments (Atom)
0 Response to Events not recognized, multiple events per group
Post a Comment