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
Longitudinal data - generating variables dependent on observations within each subjectHi everyone, I have longitudinal data (see dataex below). I need to censor each id according to a f…
Marginal effects Tobit (mfx vs margins)Hello I'm trying to calculate the marginal effects of a Tobit model using the margins command instea…
Adding an interaction term into a model or stratifying data , which method is more preferable to analyse interaction terms?Hi Statlists, Hope this post finds you well. May I know why stratification seems to be less prefera…
Residuals in a panel data modelHi I am running a regression (using panel data) looking at the effect of income on food consumption …
Help with using expand>2 while replacing values in duplicates generatedHi, I am trying to use the expand command to create duplicates and replacing one of the variables i…
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets in Stata on long strings and less precise matching criterion
Post a Comment