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.
How to change value labels?My variable "q2" has two values: 1 and 2. Their labels are No and Yes, respectively. Now I want to …
Interpretation on the Granger CausalityArray I am trying to characterise temporal sequence of influences in a VAR and wanted to use the Gra…
Following different portfolios over timeI have a data set of American companies over the period 1985-2015 with circa 300k observations of le…
Convert categorical variable to dummy variables in a large datasetDear everyone, I have a dataset of 350 categorical variables, e.g: How satisfied are you with your …
Survival Time Data - Long Form - How do I generate a variable that indicates the number of observations at risk within a subgroup of data?I have a dataset on legal cases and individual hearings for each case, across multiple courts. I hav…
Subscribe to:
Post Comments (Atom)
0 Response to How to create a dummy within a categorical variable.
Post a Comment