Hello,
I have an issue with merging that I find rather cryptic.
I have several waves of household data that I merge by using the ID from the previous wave, which each household in the following wave is referenced to. But some households are not assigned an ID in the following wave, be it due to attrition. But Stata merges missing values and assigns households. As you can see below, several y3_hhid's are N/A (which I replaced missing values with), so they can actually not be assigned a y4_hhid as the merging ID is y3_hhid. Still, they have a value and this ID tends to be the same one. The shown y4_hhid for the missing y3_hhid continues for more than 200 observations. I really do not understand why Stata matches strings with different values.
Thank you for any suggestion!
Andreas
Array
Related Posts with Missing values have been merged
CMClogit model - not concaveHello everyone, I am trying to run a discrete choice analysis of cross-sectional data (long format).…
Please help in codingDear all, I tried to code ethnic group but have difficulty. Survey question-What is your ethnicity?,…
Generating lagged variable - string problemHi all, I have the following dataset where I want to generate a lagged variable. Code: * Example …
Generating years from interval (for dummy variable purposes)Array I've a data set as show above. The cikcode represents individual companies and i have the sta…
Help in Fama McBeth regressionHi, I'm working on fund performance persistence. I want to run a Fama McBeth regression using marke…
Subscribe to:
Post Comments (Atom)
0 Response to Missing values have been merged
Post a Comment