From | Dirk Nachbar <[email protected]> |
To | statalist <[email protected]> |
Subject | st: xtlogit, excluding individuals with few obs |
Date | 28 Sep 2005 10:23:55 +0100 |
I want to run xtlogit with many explanatory variables, but some individuals have only few observations. Now I need to find a neat way to exclude those which have few obs. In pseudocode this would be
for id=1 to 10000
drop rows(id) if numobs(id)<4
end
But how do I do this is STATA?
Dirk Nachbar Assistant Economist Pensim2 Department for Work and Pensions Level 4, The Adelphi 1-11 John Adam St WC2N 6HT London 020 796 22090
The original of this email was scanned for viruses by the Government Secure Intranet (GSi) virus scanning service supplied exclusively by Energis in partnership with MessageLabs.
On leaving the GSi this email was certified virus-free
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |