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

st: random sample from aggregated data


From   Blau Blau <[email protected]>
To   [email protected]
Subject   st: random sample from aggregated data
Date   Mon, 05 Dec 2005 11:15:09 +0100 (CET)

dear all,
I have aggregated data: 

year X sex  X age X education level X labor force participation (7x2x9x4x2)

these data are from the whole population and I would like to make random sample from them, but they are to big to do that, 
do you have any idea how I can do that?


what I did: I use STATA 9.1/SE and first of all I changed my memory to 950m
after that I transformed  aggregated data to individual data by 

expand f

it consumed a lot of time but it was ok

after that I tried to do random sample to have at each table 1000 respondents

bsample 1000, strata(year sex age)

I left the computer to work on it during the weekend but it is not completed yet, so I think that it is not possible to do,
do you have any idea how to do random sample if I have so big data?

thanks, tomas


  
  

*
*   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