Hello All,
My panel data set has 5 years of data. The data set includes no. of directors (with titles,first name, gender, etc) for every firm each year. I was wondering how to generate a variable from non-numeric data that defines for example a variable total no of directors with titles or without titles for every firm each year.
p.s. Each firm has 5-10 directors every year. I am bit lost and don't know how to collapse the data in one variable for every category.
Thanks.
Ali
Related Posts with Generating integer variable from nonnumeric data
Aggregate individual-level data into household-level dataHi. I am working with a survey that gathers information on an individual level. The survey asks all …
xtabond2 command help, PLEASEHi all! I am just getting into GMM (dynamic panel) for the first time, and I'm having much difficult…
Problem with using margins code and creating a dummy variable on command boxDear statalist I have a problem using margins on stata command. I'm doing some research related to …
Panel Data: Comparison of ObservationsHello, I would like to specify a variable that indicates the ratio of new names to the total number …
By Patient ID subtract dates if observation (admission ID) condition is metHi all, I'm working on a fairly large hospital readmission dataset with 350 vars and 1.5M observati…
Subscribe to:
Post Comments (Atom)
0 Response to Generating integer variable from nonnumeric data
Post a Comment