Dear Statalist users,
I have a string variable(patient id) in the form
ED6/01/001
ED6/01/002
ED6/01/003
I would like to automatically convert it to the form
ED6/01/0001
ED6/01/0002
ED6/01/0003
Your assistance is much appreciated
Related Posts with adding a zero in the middle of a string variable
Saving table behind histogramI am using a histogram, and I want to save a table underlying the graph. for instance: sysuse …
Stata command: ScalarHey Guys, i am a master's degree student in finance. For my master thesis i model the value at risk…
plotting confidence intervals in stataDear All, i have risk ratios for a disease with their confidence intervals by age group and i am plo…
Marginal Effects for Bivariate Random Effects ProbitHi, I am in the process of trying to run a Bivariate Random Effects Probit (Plum, 2016) to analyse …
Subtracting times across observations and applying weightsHello Everyone, I am new to STATA and would really appreciate your help with a problem I am stuck o…
Subscribe to:
Post Comments (Atom)
0 Response to adding a zero in the middle of a string variable
Post a Comment