Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Collapsing with strings


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   Re: st: Collapsing with strings
Date   Mon, 16 Jan 2006 09:38:35 -0500

woops, the first line got chopped. I sent:

shouldn't :
. merge id using second
be changed to:
. merge id using second , update


----- Original Message ----- From: "Michael Blasnik" <[email protected]>
To: <[email protected]>
Sent: Monday, January 16, 2006 9:35 AM
Subject: Re: st: Collapsing with strings



be changed to:
. merge id using second , update

Michael Blasnik
[email protected]


----- Original Message ----- From: "William Gould, Stata" <[email protected]>
To: <[email protected]>
Sent: Monday, January 16, 2006 9:05 AM
Subject: Re: st: Collapsing with strings



Daphna Bassok asked, <snip>
. use first, clear
. merge id using second . assert _merge==3
. drop _merge
. append using nondups

-- Bill
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index