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
Foreach in mataDear All, just a quick question. Is it possible to use foreach within a mata function? Suppose I h…
reshape the datasetHello I have the dataset as below. It is just one long row variable. I want to reshape using reshap…
bootstraping clustered standard errors in system GMM help!Hi guys, I am running a diff-in-diff fixed effects model with 16 countries between 2002 to 2017 test…
Moderating effects in VAR possibleDear all, I am analyzing panel data covering 52 firms over one year and thinking about employing a …
Instrumental VariablesHello Experts, I am employing GMM approach on dynamic panel model. There are three endogenous variab…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping Observations and Creating Fertility Variable
Post a Comment