Combining Two Variables?

Re: Combining Two Variables?

by Kristen -
Number of replies: 0

If there is no overlap then this will work: 


set obs 10


gen A = 1 in 1/5

gen B = 2 in 6/10

gen C = A

replace C = B if C==.