Total Number of Live Births By Year [message #21683] |
Tue, 08 December 2020 02:56 |
shujaat.smc@gmail.com
Messages: 75 Registered: July 2020
|
Senior Member |
|
|
Dear DHS Representative,
I am working on determinants of neonatal mortality using BR file 2017-18 Pakistan DHS. Using STATA 13.1
I have made the descriptive tables (Two-way table using the determinants on row-wise and outcome variable; neonatal death in the column) in this way I got the weighted counts and proportions of those who died & those neonates who survived.
For reporting the total number of live births I have manually calculated from the table output.
I tried using the following stata commands for just getting the total number of live births by region and other determinants. However, stata showing me an error
svy linearized : total neonataldeaths==0, subpop (if bidx==1 & b0==0 & v210!=1)
svy linearized : total if neonataldeaths==0, subpop (if bidx==1 & b0==0 & v210!=1)
svy linearized : total (if neonataldeaths==0), subpop (if bidx==1 & b0==0 & v210!=1)
svy linearized : total (if neonataldeaths==0)
svy linearized : total if neonataldeaths==0
All these commands output by stata; "Invalid syntax".
Quest1: Is there a way to make a separate variable for the total number of live births and then tabulate it with different variables and subpopulation command of stata?
Q2: I also want to report the total number of live births in each, preceding five years (2013, 14 15, 16, 17 separately), How I can do that?
Best Regards
Dr. Hussain
|
|
|
|
|