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
Removing note on the bottom-left of a FigureDear All, Suppose I run the code Code: sysuse auto, clear graph bar price, by(foreign) and obtain a…
Adding coefficient when plotting coefficients from an event studyHi, all Stata lovers, I am plotting coefficients from an event study and I would really like to hav…
egen for specific time periodHi, I want to calculate the standard deviation for a specific year group i.e.- year variable SD_…
Likert scale outcome with a skewed distribution -- what should I do for a latent growth model?Dear Stata users, I am working with an outcome variable asked in a Likert scale, repeated measures f…
Command "esttab": Adding more digits to odds ratio coefficientsHi, I'm working with logit model and OR to interpret results. After run regress one of the models s…
Subscribe to:
Post Comments (Atom)
0 Response to Generate a group if an ID starts with an A
Post a Comment