Dave,
You could -reshape- your data and then apply the lessons from these
FAQs:
http://www.stata.com/support/faqs/data/anyall.html
http://www.stata.com/support/faqs/data/members.html
Friedrich
--- David K Evans <[email protected]> wrote:
> I have a household data set with the up-to 80 members of the
> household
> listed horizontally, with each household being one observation. So,
> for example, the ages of household members 1, 2, and 3 are in the
> following variables: age_1 age_2 age_3 ...
>
> I want to create a variable that tells the number of people aged 15
> in the household.
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
*
* 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/