[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: BHPS data manipulation
> Hello !
> I use 10 waves of BHPS and i want to create a sample of
> for which marital statut change from cohabiting couple to
> married couple.
> My problem is to define the best strategy to do this task
> given that marital statut variable is
> given in the individual file data.
For the benefit of other Statalisters who don't know what BHPS means, the
British Household Panel Survey (http://iserwww.essex.ac.uk/ulsc/bhps/) is
undertaken annually across c.5500 British households every year. It has
now completed 13 waves.
Assuming that you have information on marital status for each household,
then the simplest solution would be to do this:
. g subset=1 if w1status!=w2status
. replace subset=1 if w2status!=w3status
. mvencode subset, mv(0)
You'll need to be careful, however, of household cases where marital
status changes more than once, in which case you'll have to -generate-
seperate subset variables; but this shouldn't happen too often, even in
ten annual waves of the BHPS.
Hope that helps.
CLIVE NICHOLAS |t: 0(044)7903 397793
Politics |e: email@example.com
Newcastle University |http://www.ncl.ac.uk/geps
Whereever you go and whatever you do, just remember this. No matter how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
* For searches and help try: