I want to delete those with "_post" from my dataset.
I tried using the following command:
Code:
global variables [all variables Xi without _ante or _post] foreach `var' of global variables{ drop `var'_post }
Thank you!
Specialized on Data processing, Data management Implementation plan, Data Collection tools - electronic and paper base, Data cleaning specifications, Data extraction, Data transformation, Data load, Analytical Datasets, and Data analysis. BJ Data Tech Solutions teaches on design and developing Electronic Data Collection Tools using CSPro, and STATA commands for data manipulation. Setting up Data Management systems using modern data technologies such as Relational Databases, C#, PHP and Android.
global variables [all variables Xi without _ante or _post] foreach `var' of global variables{ drop `var'_post }
0 Response to Drop variables based on name
Post a Comment