In my new blog post, I have discussed a problem that I usually encounter in merging two datasets on a key variable that is not precisely the same in the two datasets. I have first elaborated the problem and then presented two solutions: One without using an ado program and the other using an ado program. The program is initially called smerge, which of course is in beta stage and shall need a major overhaul and testing before making it formally available on SSC. Any comment or suggestions are welcomed. The blog post can be accessed from here http://fintechprofessor.com/2018/12/...ing-criterion/
Related Posts with Merging datasets in Stata on long strings and less precise matching criterion
Applying weights to multilevel hazard analysis using Cox regressionHello everyone, I'm running a Stata code for frailty survival model (multilevel hazard analysis) us…
Dropping data during while bootstrapping 95%CI using foreach loopsDear Statalisters, I am working with adminstrative data to compare hospital admission rates across …
Header/footer information with -putexcel-Dear All, I am looking for a way to control header/footer information for the Excel (*.xlsx) file p…
Model development support: Mixed effects on a quantile regressionHi there, I am wondering the best way to go about accounting for mixed effects of a variable in quan…
Drop survey families where parents are not in specific survey roundsHi all, I would like to drop any family (as shown by their famid) when the "Head" and "Spouse" do n…
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets in Stata on long strings and less precise matching criterion
Post a Comment