The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Reproductive Health » Reasons for Non-Use
Re: Reasons for Non-Use [message #25172 is a reply to message #25169] Thu, 08 September 2022 15:42 Go to previous messageGo to previous message
Wityc is currently offline  Wityc
Messages: 4
Registered: June 2022
Member


Thanks Tom,

Yes - I'm using Zambia DHS 2013-14. I get the results below using my syntax. But this is different from what I get from StatsCompiler i.e.
Total <30 30+
4.8 0.5 6.1

-------------
*infrequent sex
gen infreqsex=0
replace infreqsex=1 if (v3a08c==1|v3a08b==1)
ta infreqsex,m

. svy:ta infreqsex age30 if v213 != 1 & v312 == 0 & (v605 == 5 | v605 == 2) & v527 >= 100 & v527 <= 399 & v502 == 1 ,percent format(%4.2f) col
(running tabulate on estimation sample)

Number of strata = 20 Number of obs = 2,397
Number of PSUs = 674 Population size = 2,379,128,163
Design df = 654

----------------------------------
| RECODE of v012
| (respondent's current
| age)
infreqsex | <30 30+ Total
----------+-----------------------
0 | 83.53 87.13 85.66
1 | 16.47 12.87 14.34
|
Total | 100.00 100.00 100.00
----------------------------------
Key: Column percentage

Pearson:
Uncorrected chi2(1) = 6.0857
Design-based F(1, 654) = 4.0984 P = 0.0433


But this is different from what I get from StatsCompiler i.e.
Total <30 30+
4.8 0.5 6.1
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Matching most recent sexual activity (women) in India_2019/21
Next Topic: Antenatal care visits by type of facilities
Goto Forum:
  


Current Time: Fri Nov 29 21:52:14 Coordinated Universal Time 2024