Re: Antenatal care [message #28701 is a reply to message #28685] |
Tue, 27 February 2024 08:24 |
Bridgette-DHS
Messages: 3199 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS staff member, Tom Pullum:
Although the table is described in terms of numbers of women, it's easier to think in terms of numbers of births. Instead of the IR file, I would use the KR file, which is contains all the births in the past 5 years. The most recent birth has bidx=1.
I think the differences you are getting are due to the weights. You can calculate the number of women (a) with no weights, (b) with the national weight (v005), or (c) with the state weight (sweight).
The following lines are in Stata rather than SPSS but I think you can easily convert them to SPSS:
use "...IAKR7EFL.DTA", clear
keep if bidx==1
keep if hv024==1
tab v013
tab v013 [iweight=v005/1000000]
tab v013 [iweight=sweight/1000000]
The first tab command gives (a) 4,098 unweighted cases
The second tab command gives (b) 1,379 cases with the national weight
The third tab command gives (c) 4,812 cases with the state weight.
The state weights are the same as the national weight, multiplied by a state-specific constant to give a mean of 1 (times 1 million) in the IR file. Hope this helps.
|
|
|