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.
Array
Related Posts with Creating "total number of births by sex", using dummies for sex
Help needed with replicating a studyHi all, I'm replicating the study of Barua et al. called Earnings Management Using Discontinued Ope…
Graph the marginal effect of x1 on y (y-axis) against x2 (x-axis)?Dear All, Suppose I run the following regression: Code: // ssc install interflex, interactplot sysu…
Negative Spatial autocorrelationDear All, I hope I can get a suggestion from someone in the field of spatial econometrics, although…
Question about multivariate regression analysisDear colleagues, Good morning. I would like to ask about multivariate regression analysis. I researc…
General structure of data.How can I describe the structure of the dataset using summary statistics, graphical analysis and var…
Subscribe to:
Post Comments (Atom)
0 Response to Creating "total number of births by sex", using dummies for sex
Post a Comment