I have an odd problem merging two files based on state variables, called est_st. In both data sets, there are 51 values of est_st, for each of the 50 states and DC. All observations are complete in each data set and there are no other values. I have them both converted to byte variables with %8.0g.
But when I try to merge m:1, the states WA, WI, WV and WY don't merge and and some new values of est_st are created with values like 3, 14, etc.
My code is
merge m:1 est_st using pres2020medexpand.dta
Any clue as to why my data aren't merging correctly?
Related Posts with merging errors m:1
The indenpendent variable has two catagories. Which model can I use to analyse the effect of denpendent variables on it?Dear statalist users: My indenpendent variable has two catagories. One is theft case and the other i…
Difference in difference testing pre-treatment trendDear Statalist community, I'm using the difference-in-difference technique to investigate the impac…
Data transformation: creating new variables out of independent survey answersHi! I am researching the effect of cosmetic combinations on the perception of leadership characteris…
Means TestHi everyone I know that perhaps I should not ask this question here. But I hope you can help me. I w…
tuples:observation numbers out of rangewhen the items are more than 10, it will cause the problem of observation numbers out of range, can …
Subscribe to:
Post Comments (Atom)
0 Response to merging errors m:1
Post a Comment