Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: control selection - looping over observations not possible - alternatives


From   raoul reulen <[email protected]>
To   [email protected]
Subject   st: control selection - looping over observations not possible - alternatives
Date   Tue, 26 Jan 2010 14:59:17 +0000

Dear Statalisters

I need to select up to 20 controls for each of 10,000 subjects from a
dataset of around half-a-million subjects. The controls need to
satisfy certain criteria (e.g., same age). How can I do this without
having to loop over observations? Thanks.

Raoul
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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