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

st: how to create a HLM dataset


From   mzhang@nd.edu
To   statalist@hsphsun2.harvard.edu
Subject   st: how to create a HLM dataset
Date   Tue, 13 Sep 2005 23:37:28 -0500

I want to create a dataset which has a hierarchical linear structure.
for example, a structure of states, counties:

50 states in total. For each state, create counties with random county counts.
Then for each county, create school districts with random counts.

Does anyone have any idea how to do this by stata?

Thanks a lot

Min



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index