Hi Statalisters,
I am new to Stata and encounter some problems.
I have a dataset with some string variables. For observations in a variable, I want to identify some values with specific character, present their frequency distribution, and remove them.
For example, in the variable Customer_Name, I want to identify values with character "Government" (distinguish the upper & lowercase), present the frequency of values that contain character "Government", and finally remove them.
Thanks in advance,
Chris
Related Posts with How to identify and operate characters in a string variable?
Bootstrapping in parallelUsing Stata, is there any convenient way to bootstrap in parallel? Although Stata/MP does some thing…
Date format using month and yearHi, I am trying to make a new variable called "date" using the month and year in my dataset. The var…
Syntax QuestionDear all, I have the following data merged (industry level data and trade at the industry level at …
Asking for the explanation of the result of DDD ?I am following Stata package to run the did_imputation of Borusyak,2021 in using the DiD imputation …
Repeated time values within panel when trying to create new variableHi, I am trying to create a variable called "fempstat" which measures an individual's employment sta…
Subscribe to:
Post Comments (Atom)
0 Response to How to identify and operate characters in a string variable?
Post a Comment