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?
transposing rows to columnsHi, My data contains multiple observations for the variable Dealsubtype, whereas I want to change t…
nearest neighbor matchingDear all, I know that there are a lot of topics on this matter, but unfortunately I cant figure out…
twopm: Two Part ModelsI am using Stata 15 MP and my analytic data set is a geographic region-year panel, for the years 200…
Merging few observations to copy/add for other observationsHello, I am relative to Stata and I just cannot figure out how to solve the following problem. My m…
Trying to use pvarsoc to select lag for my pvar but error ariseI'm trying to analyze panel var model and want to select appropriate lag order for my data. But pvar…
Subscribe to:
Post Comments (Atom)
0 Response to How to identify and operate characters in a string variable?
Post a Comment