The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nepal » Replicating table 8.4- Nepal DHS 2011
Re: Replicating table 8.4- Nepal DHS 2011 [message #8625 is a reply to message #8624] Sun, 22 November 2015 21:06
 Trevor-DHS Messages: 697Registered: January 2013 Senior Member
I don't see where you get 4140 from, but I think you are miscalculating. If you use the code in message 3648 plus the code in message 3727, you should get the following result:
```----------------------------------
totpreg7m |      count  proportion
----------+-----------------------
0 |       8507       .6712
1 |       3015       .2379       1 * 3015  = 3015
2 |       1036       .0818       2 * 1036  = 2072
3 |      111.6       .0088       3 * 111.6 =  334.8
4 |      1.093     8.6e-05       4 * 1.093 =    4.372
5 |      3.547     2.8e-04       5 * 3.547 =   17.375
|
Total |    1.3e+04           1           Sum   = 5443.907
----------------------------------```
totpreg7m contains the total number of pregnancies of 7 months or more (including twins), and when you multiply this out with the number of cases you get 5444 pregnancies of 7 months or more in total.

[Updated on: Sun, 22 November 2015 21:06]

Report message to a moderator

 Replicating table 8.4- Nepal DHS 2011 By: pramesh on Thu, 19 November 2015 21:05 Re: Replicating table 8.4- Nepal DHS 2011 By: Liz-DHS on Fri, 20 November 2015 16:11 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Fri, 20 November 2015 16:37 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Fri, 20 November 2015 16:51 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Fri, 20 November 2015 22:16 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Sat, 21 November 2015 13:56 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Sat, 21 November 2015 16:54 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Sun, 22 November 2015 17:43 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Sun, 22 November 2015 18:32 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Sun, 22 November 2015 20:08 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Sun, 22 November 2015 21:06 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Mon, 23 November 2015 04:38 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Mon, 23 November 2015 18:23 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Mon, 23 November 2015 18:45 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Mon, 23 November 2015 19:02 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Mon, 23 November 2015 19:10 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Mon, 23 November 2015 19:40 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Tue, 24 November 2015 03:58 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Tue, 24 November 2015 19:19 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Tue, 24 November 2015 19:38 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Tue, 24 November 2015 19:42 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Tue, 24 November 2015 19:44 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Tue, 24 November 2015 20:28 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Tue, 24 November 2015 23:49 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Wed, 25 November 2015 00:42 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Wed, 25 November 2015 00:58 Re: Replicating table 8.4- Nepal DHS 2011 By: Trevor-DHS on Wed, 25 November 2015 01:15 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Wed, 25 November 2015 01:38 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Tue, 01 December 2015 01:58 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Thu, 03 December 2015 15:55 Re: Replicating table 8.4- Nepal DHS 2011 By: Liz-DHS on Mon, 25 January 2016 15:12 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Tue, 26 January 2016 17:04 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Wed, 27 January 2016 05:42 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Tue, 05 April 2016 20:12 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Tue, 24 November 2015 19:43 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Wed, 25 November 2015 23:22 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Thu, 26 November 2015 05:02 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Thu, 26 November 2015 17:43 Re: Replicating table 8.4- Nepal DHS 2011 By: Liz-DHS on Wed, 02 December 2015 09:45 Re: Replicating table 8.4- Nepal DHS 2011 By: pramesh on Fri, 27 November 2015 18:26
 Previous Topic: Variable Construction Next Topic: Table 2.11 Clarification
Goto Forum:

Current Time: Tue Jun 2 13:36:38 Eastern Daylight Time 2020