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)
Year fixed effects in panel datai am using panel data from 1990 to 2017 for 43 countries. I have two alternate dependent variables "…
Panel Data SetHello, I have a a bunch of datasets with paneldata with variables for all companies from the S&…
Fixed vs. random Effects testGood day. I am finding it difficult to run the xtoverid test as a result of my i.# interaction term…
Same or different order differencing in OLS regression.Dear all, Can one difference some explanatory variables but not the others? Or if one explanatory v…
Reproducing outputs from finite mixture model user written package in Stata 16Hello, I am working with someone else's code applying a fmm. The below code shows an example f outp…
Subscribe to:
Post Comments (Atom)
0 Response to Labels (Abc) from variable names (Abc_defghi)
Post a Comment