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
random treatment,50 times loop and store the estimate with p value for the variable of interest (POST) and display.Hi, I want to randomly assign treatment and run the same regression in the loop for 50 times and th…
Help to reduce instrument count with xtabond2 commandDear all I need help to minimize the instrument count in my dynamic panel model estimation using dif…
Adding in stata with some missingHi I was wondering if anyone can help with coding. I'm struggling a bit with this. I'm trying to ad…
Help with swilk resultVariable score in a dataset of 1020 records can have only three values: 0, 1, or 2; why would "swilk…
Running psmatch2 on my dataset, but it takes a long time and no results have come out yet. Should I keep waiting?Dear all, I am trying to do PSM matching with psmatch2. I have 244,280 samples from 2003 to 2006 nee…
Subscribe to:
Post Comments (Atom)
0 Response to Force Merge
Post a Comment