| ![]() |
From | Kit Baum <baum@bc.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: assigning characteristics... |
Date | Wed, 22 Feb 2006 20:49:49 -0500 |
Almost there, Scott. bysort id: gen age_hh=age if parent=="hh" bysort id: replace age_hh=sum(age_hh) Kit Baum, Boston College Economics http://ideas.repec.org/e/pba1.html * * 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |