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
hybrid model pseudo-panel.hello! this might sound like a silly question, but I was wondering if one might be able to fit a hy…
Running Diebold Mariano test using panel data.Hi everyone, I am totally new here and very new to Stata, nice to meet you all. This maybe a very s…
Latent class and standard errosDear Stata users, I am running a latent class analysis with gsem command. I had some problems on con…
Getting different results from running same exact code - why?I am dropping observations based on various if statements written in a do file. I have all the code …
Generating data to balance a panel datasetHi, I have a panel from Compustat like the below in Table 1 (table 1 is a subset of the data to sho…
Subscribe to:
Post Comments (Atom)
0 Response to Missing values have been merged
Post a Comment