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
combining two graphsHello, Is there a way to combine the scatter plot with the fitted line from the regression with an …
Breusch and Pagan LM test for random effectsDear community, I am deciding among Pooled OLS, Fixed and Random Effects panel models in the presen…
Applying the Mundlak approach in 3-level hierarchical model. Which is the correct mean of a level-2 variable?Hello! We have a question about implementing the ‘Mundlak’ approach in a multilevel (3-levels) nest…
Puzzling Post Hoc Power CalculationI was trying to show a colleague that post hoc power calculations are nonsensical with the following…
Error exporting dataset to excel using foreach loopHello, I am trying to export data set to excel using foreach loop in STATA 13.1. But the stata throw…
Subscribe to:
Post Comments (Atom)
0 Response to Drop variable if varlabel contains certain expression
Post a Comment