Hi all,
I've seen a few posts asking questions about labelling variables by their respective names, but I haven't come across a way to address my problem:
I'm working with a few datasets I'm trying to merge using a year variable. The variables are very similar in that they share country names. I'd like to label all of the variables that begin with country names by their country names. I've been looking at using split, but can't figure it out.
other potentially pertinent info:
variables names are in the following format: Abc_Defghi ; (ideally this variable would be labelled as Abc)
Related Posts with Labels (Abc) from variable names (Abc_defghi)
Fixed-Effect Poisson with an Instrumental VariableHi, I have an unbalanced panel (N=1,350 and T=130), and an outcome variable that is a count (around…
Assessing agreement in several binary variables in longitudinal datasetHi all! I've got a longitudinal dataset that consists of binary "ratings" collected from participant…
Random Sample of two main groups consisting 5 subgroupsHi, I would like to select random sample from my data set on following conditions Two sites site A=…
Binary Probit Model with Sample Selection Specification TestingHello Statalist, I am investigating the determinants of participation and contributions to pensions…
Dropping duplicated results with panel dataHello Stata people, I have a panel dataset where the cross-sectional variable is wage (for differen…
Subscribe to:
Post Comments (Atom)
0 Response to Labels (Abc) from variable names (Abc_defghi)
Post a Comment