The DHS Program User Forum      
Discussions regarding The DHS Program data and results
Home » Topics » General » Force at Sexual Initiation
Force at Sexual Initiation [message #11629] Wed, 18 January 2017 04:11 Go to next message
Precious
Messages: 2
Registered: January 2017
Location: Harare
Member
Would like to do a table on force at sexual initiation that was on ZDHS2010 table 16.3 page 256, now on ZDHS2015 the same table is not there, and would like to tabulate it. My problem is I m not sure of the variables that were used on the table especially the ones on the bottom table . Please help I' m using CSPro for tabulation.

Regards Simeleni
Re: Force at Sexual Initiation [message #11641 is a reply to message #11629] Fri, 20 January 2017 17:17 Go to previous messageGo to next message
Liz-DHS
Messages: 1103
Registered: February 2013
Senior Member
Dear User,
All the Domestic Violence variables start with the letter 'D' in the recode. If you check the map and frequencies, search for variables starting with the letter 'D'. If a variable was not used, it will marked 'NA' for not applicable. The CSPro dictionary also contains the Domestic Violence section. It is best to open with CSPro. CSPro can be downloaded from The Census Bureau at https:// www.census.gov/population/international/software/cspro/cspro download.html If you see long names, you can click on Ctrl-T to see the shortened variable names. Check your download, many of the files mentioned are available in your downloaded Zip file(s). You can also access the Standard Recode Manual http:// www.dhsprogram.com/publications/publication-dhsg4-dhs-questi onnaires-and-manuals.cfm and The Guide to DHS Statistics http:// www.dhsprogram.com/publications/publication-dhsg1-dhs-questi onnaires-and-manuals.cfm for help on working with our data. It is also helpful to look at the questionnaire(s) in the back of the final report, in one of the appendices, to see if what you are analyzing was asked in the survey. After reviewing these resources, if you still have questions, please feel free to post again. You can also search the forum for any domestic violence related posts.
Re: Force at Sexual Initiation [message #11669 is a reply to message #11641] Tue, 24 January 2017 07:03 Go to previous message
Precious
Messages: 2
Registered: January 2017
Location: Harare
Member
Sorry maybe my question wasn't clear at first. I m using CSPro for tabulation. The variables that I need help on are the variables that were used to come up with First Sexual intercourse was: At the time of first marriage/ First cohabitation,Before first marriage/ first cohabitation and missing. I used the following variables but still I m not getting the correct figures on this part of the table.The rest of the table the figures are balancing.I started doing this table using ZDHS2010 and if this is successful will run the table for Zdhs2015. These are the variables that I used and are not giving me the correct figures. The highlighted part is the one I need help on.



postproc
if unweight then
rweight = 1;
else
rweight = D005 / 1000000;
endif;

{ general variables }
d109w = d109;
V525W = V525;
D123w = D123;

box V531 => V531W;
7-14 => 0;
15-19 => 1;
20-24 => 2;
25-29 => 3;
30-49 => 4;
=>5;

endbox;

if d123W =2 then forced =1; xtab( Tab16, rweight); endif; {force against their will}

if V525 in 96 and v502=1 THEN FIRSTSEX =1; xtab( Tab16, rweight); ENDIF; {At time of first marriage}
if d109W = 95 and v502=1 THEN FIRSTSEX =2; xtab( Tab16, rweight); ENDIF; {Before first marriage}
if v502=1 and (V525 = missing | d109W = missing ) THEN FIRSTSEX =3; xtab( Tab16, rweight);ENDIF; {missing}


if V525 <>0 THEN COLDV09A=1;xtab( Tab17, rweight);endif; {Women who have ever sex}

Thanks for your support.

Regards Sime


[Updated on: Tue, 24 January 2017 07:04]

Report message to a moderator

Previous Topic: country specific codes for v716
Next Topic: Calculating exclusive breastfeeding.
Goto Forum:
  


Current Time: Fri Nov 17 21:40:22 Eastern Standard Time 2017