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
Xtitle: Unrecognized command errorHello. I am trying to replicate a figure from the code I got from the authors of a paper. When I ru…
Why can't I run the margins dydx command twice for different sets of covariates?So for some context, here is my regression model (a GLM estimation): Code: glm racial_support_inde…
Using statplot to plot averages of one variable, grouped by a list of different variablesHello, Apologies for the potentially confusing title. This is my first post on Statalist and I coul…
question about etable?Dear all, I use etable to output the regression results, but find a bug. Code: webuse grunfeld,cl…
How Do I Use a Seemingly Unrelated Regression To Compare the Magnitude of AMEs Between Two Models with Different Dependent Variables?Let's say I have two DVs, Anti-Muslim Sentiment (ranging continuous 0 to 1 inclusive) and Anti-Abori…
Subscribe to:
Post Comments (Atom)
0 Response to Missing values have been merged
Post a Comment