Question 1:
I am using two fertlity variables- age at first intercourse (var name: age1stsex) and age at first birth (var name: age1stbirth).
I need to drop observations if a woman reported having a child at a certain age, but not having their first sexual intercourse at that age or before. Can you help me how to drop those observations by matching the records?
Question 2:
I have another vaiable - total number of child births (var name: ch_birth).
I want to generate the total fertility (i.e total number of child births) by a given age [This will be my main dependent variable. I want to run my regressions using this variable created for different age. So I basically will have several dependent variable.]. Along with that I would like to restrict the sample to only include observations older than the age specified while calculating the variable. What is the easiest way to code this?
Related Posts with Dropping Observations and Creating Fertility Variable
Again on revisiting the role of statistical significanceDear All, the following interesting article is available from Journal of Clinical Epidemiology: Li G…
substr existing variable label and replace existing varlabel?Hi everybody, I'm trying to replace an existing variable label with a subtract of the existing varl…
Moving Average for Trading Data (unbalanced panel data with repeated time values)Hi State Community, I am trying to create a variable that represents the average of the prior 2 year…
How to explain and use Stephen Jenkins' J indiceDear Stata users, Professor Stephen Jenkins developed command named -ineqord- (SSC, Distribution-Da…
Order table results by meanI'd like to produce a table of means by categorical variable that orders the results by mean, from h…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping Observations and Creating Fertility Variable
Post a Comment