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
Can I keep a model, where R-square is very low, (0.1361) but the independent variables seem to be very significant?I used 3 indep var. …
Need Help With 3 level model with interactions ( - mixed- using Stata 15) I am working on a research project that predicts that country-level variables will predict individu…
List Unique Data of One or More VariablesI would like to see a list of unique data for one or more variables. Can anyone please suggest how b…
Collapse quarterly dataHello, I have this panel with a monthly date that I converted to a quarterly date. I want to keep a…
model with crossed random effectsHi all, I am working on a study of grant applications and selections. I have about 8 years worth of …
Subscribe to:
Post Comments (Atom)
0 Response to Creating "total number of births by sex", using dummies for sex
Post a Comment