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
Fama&MacBeth: xtfmb function. Time-fixed effectsHello statalisters, My case is that of an unbalanced panel data composed by 25,714 companies ("cusi…
Panel data and regressing when the occurrence of a dummy variable may affect other occurrencesHello all, I am looking into how the number of times a person migrates affects their change in happ…
Recoding variables using commando loopsHi Stata Forum, I'm trying to recode a list of variables using foreach. The variables have some cat…
Ramsey Reset Test for single years vs whole data periodHi, I am running OLS regressions, firstly for 3 separate years (2006, 2010 and then 2015) and then …
What estimation methods can endogenicity, heteroskedasticity, autocorrelation and fixed effects be solved without using GMM?Hello netizens of Stata forum. I have a panel of 13 countries and 8 years. I tried with the GMM but …
Subscribe to:
Post Comments (Atom)
0 Response to Generating integer variable from nonnumeric data
Post a Comment