Hello everyone,
i am working on Mergers and Acquisition. I have a variable named "Acquirer Name" which are the names of the acquirer companies. Some acquirers names appears more than one time in the list. I need to create two dummy variables named "First Time Acquirers" and "Serial Acquirers". The acquirers will be code 1 under serial acquirers which have more than one acquisitions and 0 for other wise. Same for the First time acquires the dummy will be coded 1 for first time acquirers and 0 for otherwise. Thanks
Related Posts with How to create a dummy within a categorical variable.
Creating panel data from weekday dataDear all, This is my first posting here on Statalist and it's regarding reshaping some data on stor…
Multicollinearity and lassologitHello Stata-Forum users, I'm currently working on my master thesis using the lassologit command of …
Tricky missing problemHello, I was working on a .ado file which was finsihed successfully. Unofrtunately there is a probl…
generating a new variable based on industryHi Stata users, I am trying to generate a new variable (Industry_revenue) for the data example show…
simultaneous equation model with generalized method of moments (GMM).hello everyone.. i want to use simultaneous equation model with generalized method of moments (GMM).…
Subscribe to:
Post Comments (Atom)
0 Response to How to create a dummy within a categorical variable.
Post a Comment