Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to select observations from a unbalanced panel data?


From   chen jie <[email protected]>
To   Stata <[email protected]>
Subject   st: how to select observations from a unbalanced panel data?
Date   Sun, 5 Feb 2006 06:08:17 -0800 (PST)

Dear friends

I have a problem on how to select observations from a
unbalanced panel data?

I mean, the original data is too big and I want only a
smaller section. If it is a balanced panel data, I can
for example choose 50% random part. But now it is a
unbalance panel data, I can't do that otherwise the
new data will suffer from "length bias".  I think
first I need to randomly choose 50% of individuals
(duplicates drop id, force==>sample 50), but how I can
proceed next by using this unique id key index to
produce new panel data? 

Thanks for tips!  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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