Hi, I am trying to merge household-level data for two different rounds but I keep on getting an error. I have attached the STATA code and the error.
Command: merge m:1 STATEID DISTID PSUID HHID2005 HHSPLITID2005 using "C:\Users\Hammu\Desktop\Merging by including yea r variable\2012 data\Round2HH.dta"
Error: variable IDHH is long in master but str10 in using data. You could specify merge's force option to ignore this numeric/string mismatch. The using variable would then be treated as if it contained numeric missing value.
Related Posts with Force Merge
variable _mi_miss not foundI am attempting to import imputed data into a data set using the command, mi import wide. It results…
Matching on Assets and FF 48 Industry GroupsDear Statalist users, I'm am trying to match a sample within Stata, not yet sucessfully. I have a s…
merging Compustat Fundamentals annual data and daily security dataDear Statalist members, For my thesis, I need to merge daily security data to Fundamentals annual d…
Order coefficients in bycoefs coefplotHello, I have created this coefplot with the "bycoefs" option. I am happy with it, but I would like…
Rename variables with labels when labels are multiple words?Background/big problem I have about 60 large data sets, each a different round of a repeated survey…
Subscribe to:
Post Comments (Atom)
0 Response to Force Merge
Post a Comment