Friday, January 06, 2006

st: filling in missing string

Dear Statalist,

I have a dataset which looks like:

Product company molecule A X x1 A Y A Z x1 . . . . . . . . .

I have several examples of this throughout a large dataset. I want to fill in the missing "x1" under the molecule variable. Is there some way to do this using -by product- ?

Thank you! Terra

* * 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/


Tag:


Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?