Hey Statalisters,
I am trying to drop all variables that have the expression "Domestic Currency" in their variable label.
I guess I have to combine foreach and strpos and local macros - but I can't figure out how.
Thank you so much!
Johannes
Related Posts with Drop variable if varlabel contains certain expression
No constant in first difference regressionI am running a first difference regression. I have seen the nocons option included on several posts …
keep banks (id) with 3-consecutive years of observation or more in my panel dataGreetings statalist users, I need help with codes to eliminate the entire id (along with all its ob…
ommited control variableHello, I have a sample of 158 firms. I control for industry, and I have 26 industry dummies. One of…
Resolving problem with day gaps in STATAI am a new STATA user and new to this forum. I am working with daily price data of the Australian do…
Using -margins- for different subsamplesHi everyone, margins, atmeans saves the means of covariates of a model in a matrix r(at), see here:…
Subscribe to:
Post Comments (Atom)
0 Response to Drop variable if varlabel contains certain expression
Post a Comment