Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: row-level counting command?


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Re: row-level counting command?
Date   Fri, 28 Jan 2005 13:12:03 -0800 (PST)

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index