Re: Variable for Age-Specific Fertility Rate [message #18907 is a reply to message #18906] |
Fri, 13 March 2020 04:17 |
schoumaker
Messages: 66 Registered: May 2013 Location: Belgium
|
Senior Member |
|
|
Hello,
tfr2 allows you to estimate the effects of individual level variables on fertility.
For instance,
xi: tfr2 i.v106
will provide rate ratios by level of education.
xi: tfr2 i.v106 i.v025
will provide rate ratios by level of education and place of residence.
tfr2 uses a Poisson regression. These models assume that the age pattern of fertility is the same across categories of explanatory variables. This is usually OK, but you may want to relax that assumption.
The tabexp stata command (that comes with tfr2) can be used to prepare data that you cana analyze with a Poisson regression (or another model). tabexp will give you the number of births and exposure for the combinations of variables that you would like to include in your model.
For instance
xi: tabexp i.v106 i.v025
If you wan to take account of clustering in your model, type
xi: tabexp i.v106 i.v025, cluster(v001)
Hope this helps,
Best.
Bruno
Bruno Schoumaker
Centre for Demographic Research
Université catholique de Louvain
|
|
|