This page last changed on 25.09.2014 by ttuv.

TROMSO_RH_A_1PREG

Name: RH_A_1PREG

Description and values: Age at first pregnancy in years.

Local variable explanation:

CHILD_1_BORN_T4 : If you have given birth, what year was the first child born?

AGE_T4 : Age per 31.12.1994

DATE_T4: Date of examination

SAS code:

if CHILD_1_BORN_T4>0 then RH_A_1PREG=AGE_T4 - (year(DATE_T4) - year(CHILD_1_BORN_T4));

else RH_A_1PREG=9999;                                                                                                                                                                                   


NSWEDEN_RH_A_1PREG

y=floor(pnum/100000000);

  RH_A_1PREG=v5_f-y;

  IF V5=. THEN RH_A_1PREG=9999;

v5_f  is ma_v5_f in the variable list

pnum is the personal identity number. 


EPIC_RH_A_1PREG

The EPIC variable A_1PREG was used for the production of RH_A_1PREG according to the following definition and rule.

EPIC var definition(s):
A_1PREG: EPIC elderly variable showing age at 1st pregnancy

Coding rule:
Variable RH_A_1PREG shows age at 1st pregnancy and is identical to A_1PREG.

Coding rule in STATA:
-gen RH_A_1PREG A_1PREG

-replace RH_A_1PREG=9999 if RH_A_1PREG==.


Document generated by Confluence on 26.02.2015 17:00