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
reg i.id i.year,vce(cl id) vs. xtreg i.year,fe rDear all, We know "reg i.id i.year,vce(cl id)" is the same as "xtreg i.year,fe r",but why are the re…
Replace missing values smartlyHi all, I am writing since I have a potentially simple task which however I am not able to figure o…
Data for difference in differenceHello, I am currently doing my dissertation on the impact of minimum unit pricing on alcohol volume,…
Econometrics questions : Functional form choiceHi statalist, I try to estimate the effect of a monetary bonus on physicians’ activity. I would lik…
invalid variable nameHi! I am trying to reshape my data. id Co base ID3 103 0 0 103_6_6 104 0 1 104_0_0 104 0 0 104_1_1 …
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