Thank you. I seem to have jumped the gun in going to the List community
without exhausting the manuals and FAQs. The section in [U] left me a little
desperate while [R] has a perfect example.
Bayard
-----Original Message-----
From: Kit Baum [mailto:[email protected]]
Sent: Wednesday, June 25, 2003 8:21 AM
To: [email protected]
Subject: st: Fwd: lookup in second dataset
Bayard asked:
>
> Hi, I'm a new Stata user with a merge problem.
>
> I have one data set (call it A) with a variable that needs to be
> defined in
> terms of the observations in a second data set (B). I don't know if
> this can
> be done with a single command or if it needs to be programmed.
> Basically, B is a lookup table. I need to lookup the contents of an A
> var in
> B, and return the value of a different B var corresponding to the same
> data
> point.
>
please see
http://www.stata.com/support/faqs/data/characteristics.html
Kit
*
* 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/
*
* 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/