The default type of GVEKY in Compustat is string. Sometimes, we need it to be a numerical type in Stata (e.g., when we want to use the super handy command tsset). The command to convert string GVKEY to numerical GVEKY … Continue reading
Categories
 Data (8)
 Learning Resources (8)
 Python (8)
 SAS (11)
 Stata (21)
 Uncategorized (1)

Recent Posts
Recent Comments
 Tina on Stata commands to do Heckman two steps
 xuan peng on About Me
 Kai Chen on Stata commands to change variable names or values of string variables to all lowercase
 steve on Stata commands to change variable names or values of string variables to all lowercase
 Simone on Calculate delta (payperformance sensitivity), vega (risktaking incentives), and firmspecific wealth (inside equity) for executives on Execucomp
Archives
Meta