Hi Sarah,
What error message are you returning? If your data is not -sort-ed,
Stata will not merge them.
i.e.
(In using data)
sort name lastname year
save ........using.dta
use master.dta
sort name lastname year
merge name lastname year using "......using.dta"
> I am trying to merge 2 panel datasets. But I want to use more than one
> variable, name and lastname year as merging criteria. I tried
> merge name lastname year using x
*
* 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/