User Syntax


If you have syntax that you would like to share with the rest of the user community we would be very happy to make it available via the website and can work with you to make sure its user friendly. If you have any questions about user synatx files or would like to make your own contribution,

If you use syntax for work included in a publication we ask that you acknowledge the authors of the syntax (stated at the top of each file) in the publication.

GGS Century Month Creation [STATA]

Created by Judith Koops and Tom Emery (August 2015). This file converts all dates in wave 1 of the GGS into century months. Century Months express the date of an event in terms of the number of months past since January 1st 1900. This makes the file easy to use for analysing the life course as you can simply subtract one date from another in order to get the number of months between the two events. Before running the syntax you will need to open a 4.2 version of a wave 1 file and run then just run the syntax. The variables are then converted from month/year format to century month format (i.e. ahg6m_1 ahg6y_1 -> anhg6_CM). 

GGS Fertility Indicators [SPSS]

Created by Jorik Vergauwen, Jonas Wood, David Wechter and Karel Neels and reported in the following article of Demographic Research (Link). Please cite the article if used. The syntax files allow the user/reader to replicate all different nuptiality indicators (ASFFMR, Period TFFMR, Cohort TFFMR, Period MAFFM and Cohort MAFFM) and fertility indicators (ASFR, Period TFR, Cohort TFR, Period MAC and Cohort MAC) for GGS Belgium. The code can be modified and applied to the microdata for other countries by using the information in Table 1 of the article. This table provides the user/reader with more information on the selections used for the different countries (for rates up to age 49). Note that the time periods considered for validation in Table 1 are based on rates calculated up to the age of 49 (while syntax selections are for the max. range, i.e. rates up to age 39). Also note that variable names differ between GGS countries (e.g. the max. number of partnerships, max. number of resident biological children, etc.).