Dear All,
I would like to create a variable for total number of male birth and total number of female birhts.
In this data set, females are coded as 2 while males are coded as 1.
I would like to create a variable, let's say X, that indicates the total number of female births.
For example, X should be 1 for caseid 010110004 02; and 0 for caseid 010110011 02.
Thank you in advance.
I would like to create a variable for total number of male birth and total number of female birhts.
In this data set, females are coded as 2 while males are coded as 1.
I would like to create a variable, let's say X, that indicates the total number of female births.
For example, X should be 1 for caseid 010110004 02; and 0 for caseid 010110011 02.
Thank you in advance.
Comment