[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: state the same for multiple observations?
I should add that if it turns out that state IS functionally
dependent on us_id, then you can "factor out" that dependency with
collapseunique:
collapseunique state, by(us_id)
This will yield a reduced dataset containing just the correspondence
between us_id and state.
HTH
--David
*
* 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/