Hi all,
I would like to merge two datasets by identifier and date within range
dataset A:
accountnumber variableA date
dataset B:
accountnumber variableB startdate enddate
I would like to have a dataset like:
accountnumber variableA variableB date
where date would be between startdate and enddate
I looked at range join, but it seems like it would only accomplish merging using one variable? But I would like to have oaccountumber matched as well.
Thanks so much!
Related Posts with Merge identifier and date within range
Exponentially Weighted Moving Average (EWMA) Control ChartHi Statalisters I was wondering if anyone can share example codes for graphing Exponentially Weight…
Multiple regression analysis bachelor thesis HelpDear Stata experts, I currently am writing my bachelor thesis regarding the topic International Joi…
Reference class in latent class logitHello Statalist. I'm using the command lclogit2 (written by Hong Il Yoo) to fit a model with the re…
Average marginal effects of the structural model using gsemHello everybody! Currently, I am fitting a structural equation model using gsem in Stata 16. My c…
Panel data analysisHi evryone. What is wrong in may data? I cannot do xtpcse analysis. Please HELP!!!. …
Subscribe to:
Post Comments (Atom)
0 Response to Merge identifier and date within range
Post a Comment