Hi everyone,
I have a data with a variable household ID that does not uniquely identify observations. So a single household has multiple members. I want to merge it with another data that has the same household ID but it uniquely identifies observations. I have merged the using data to the masters data with the following command:
merge 1:m HH_ID using education
where education is my using data with observations not uniquely identified. It worked and now I have a merged dataset. But now there are some observations which are not matched and which only exist in the master data. So are these duplicates? Should I drop them and only keep the matched observations?
Related Posts with Merge: variable does not uniquely identify observations in the master data
Applying weights to multilevel hazard analysis using Cox regressionHello everyone, I'm running a Stata code for frailty survival model (multilevel hazard analysis) us…
propensity score matching with ordered outcome variableHi all, I have a question on propensity score matching for the outcome variable that is not in a con…
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…
Subscribe to:
Post Comments (Atom)
Merge: Variable Does Not Uniquely Identify Observations In The Master Data >>>>> Download Now
ReplyDelete>>>>> Download Full
Merge: Variable Does Not Uniquely Identify Observations In The Master Data >>>>> Download LINK
>>>>> Download Now
Merge: Variable Does Not Uniquely Identify Observations In The Master Data >>>>> Download Full
>>>>> Download LINK