Hello
I am Hatem Ali, STATA user.
I have a 2 large dataset that I am trying to merge
The common variable in these 2 datasets is called: trr-id_code.
However, This variable is a string non-numeric variable
When I try to merge one by one using key variable. STATA doesnt do and say variables are unequal.
when I tried to destring it, I got the following message:
destring trr_id_code, generate(hhh)
trr_id_code contains nonnumeric characters; no generate
1st question: Is there a way I can destring this variable so I can use it for merging?
2nd question: can I use : merge one to one by observation instead?
Looking forward to hear back from you
Related Posts with destring non numeric values
Use of rowmean with conditionsThis is something that I have been Googling but couldn't find an answer to. I need to generate a ne…
Spatial Panel Data - matsize Hello everyone. hope you are fine and safe. I have Data for 134 countries from 2004 to 2018. When I…
Gravity model panel : xtpoisson, ppml, xtpqml, no results , help.Hello everyone Dear Joao Santos Silva I want to estimate a gravity equation on agricultural export…
Two way histogramArray Hi, I am relatively new to Stata and am trying to plot a two-way histogram to compare educatio…
quantile regression with fixed effects in a panel with T=2Hello Statalist, please I would like to ask for help. I am trying to run quantile regression in my i…
Subscribe to:
Post Comments (Atom)
0 Response to destring non numeric values
Post a Comment