Hi all,
I am trying to generate a group=1 if an ID starts with a certain letter/number. Do you have any idea how to do this?
Thanks!
Lindsey
Related Posts with Generate a group if an ID starts with an A
Stata command for weighted M-estimator.Dear all, Does Stata has commands or packages that can estimate parameters for weighted M-estimator…
convert string yyyy-mm-dd hh:mm:ss to %td formatHello, As the title of this question suggests, I have a set of data with variable "Qtm" in string f…
Color changes with PNG export.On the left, we have the graph I actually want (ignore please the slight transparency difference bet…
Formal tests of volatility in STATA17Dear Statlist: I have longitudinal data on employee data across multiple years and organizations. I…
Generating the "opposing" variable in a long datasetHi all, I am using Stata 17/SE on Mac and I am having trouble generating a variable using another o…
Subscribe to:
Post Comments (Atom)
0 Response to Generate a group if an ID starts with an A
Post a Comment