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.
drawing sample of coefficients from a vce or correlation matrixHi everyone, I have a vce matrix as well as its corresponding correlation matrix which I obtained af…
sorting dataHi Stata Forum, I have a long dataset of hospitalization data. I am looking at number of lower limb…
Generating count based on missing valuesHi All, I am having a problem in generating the COUNT of missing values. Please see the below table.…
xtoverid internal re-estimation and bootstrapHi Folks, I was calling xtoverid, noi; and was thinking of what this means following a bootstrap an…
Stata regression command helpHi everyone! I am working on a project where I will be studying how subcontracting affects the abil…
Subscribe to:
Post Comments (Atom)
0 Response to How to create a dummy within a categorical variable.
Post a Comment