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

st: collapse, split, generate new variables???


From   "Lassen, Peter, pla" <[email protected]>
To   <[email protected]>
Subject   st: collapse, split, generate new variables???
Date   Sun, 19 Jan 2003 13:52:31 +0100

Hi 

I have a dataset where each person is represented by several cases, varying from 2 to 17. The reason why a person have more than one hit is a education variable (string) containing all educations attended in a lifetime for each person.

Now I want to examine whether men and women attend the same courses equally - Therefore I need to "collapse or spilt?" the educational variable into several (17) new (dummy)variables, so each person is only represented once.
How on earth do I manage that??

Best regards
Pete
*
*   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