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
Measuring the strength of instruments using WeakivtestI'm interesting in estimating Montiel-Pflueger-style 'effective' F stats for a series of panel model…
Splitting a string variable into observations (instead of variables)Hi everyone I have two datasets. The master data include, among others, a list of (numeric) zip cod…
table with coefficients from regressionsHello With the following code I am able to run the regressions and get the constant and the t-stati…
Program to label variables from list of words - How to use fewer single and double quotesI am used to make reusable programs, and find myself having issues with how I use the local single q…
syntax of forecast errorHi all, I am currently working on a state-dependent fiscal multiplier using forecast error to ident…
Subscribe to:
Post Comments (Atom)
0 Response to Creating "total number of births by sex", using dummies for sex
Post a Comment