I think that there are problems with the commands.
We will have a 1, only if the reljefe=1 and ss=1 or reljefe=2 and ss=1.
The value 2 is for the people with age>=10 and SS=1. This people is insured
by their own account.
The new value equal to 3, corresponds to an arbitrary assign based in the
insured condition of their partner. So, if mother or father (rel=1 or 2)
have SS=1, and the actual value of SS1 of the partner is missing we assign a
3.
The value 4 corresponds to an arbitrary assign based on the insured
condition of their father or mother. So, if father or mother have SS=1 the
children with less than or equal to 5 will have social security (they will
be dependants insured).
Thanks.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/