The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » Couples Recode and polygamy
Re: Couples Recode and polygamy [message #10000 is a reply to message #9995] Wed, 15 June 2016 09:28 Go to previous messageGo to previous message
aligazan
Messages: 24
Registered: June 2014
Location: UK
Member
Thank you very much for your reply.

I am using SPSS and I used this syntax;

GET FILE='MLMR53FL.SAV'.
SORT CASES by MV001 MV002 MV034$1.
save outfile = 'MLmen.sav'.

GET FILE='MLIR53FL.SAV'.
SORT CASES by V001 V002 V003.
save outfile = 'MLwomen.sav' / keep v001 v002 v003 G102.

MATCH FILES /file=' MLmen.sav' /table='MLwomen.sav'
/rename v001 = mv001 v002 = mv002 v003 = mv034$1 G102=JG102$1
/BY MV001 MV002 MV034$1.
save outfile = "MLmen+wives.sav".

Maybe there is something wrong with my syntax?

Would you expect the couples recode to only include the 1st wife?

Many thanks for your help.

Janet

[Updated on: Wed, 15 June 2016 21:06] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Child Labour
Next Topic: Husband's unemployment
Goto Forum:
  


Current Time: Mon Jul 22 17:33:42 Coordinated Universal Time 2024