IF (mcaregrp = 1 & mo_pgrp = 0) Mpbigrp = 1 .
IF (mcaregrp = 1 & mo_pgrp = 1) Mpbigrp = 2 .
IF (mcaregrp = 0 & mo_pgrp = 0) Mpbigrp = 3 .
IF (mcaregrp = 0 & mo_pgrp = 1) Mpbigrp = 4 .
EXECUTE .
IF (fcaregrp = 1 & fo_pgrp = 0) fpbigrp = 1 .
IF (fcaregrp = 1 & fo_pgrp = 1) fpbigrp = 2 .
IF (fcaregrp = 0 & fo_pgrp = 0) fpbigrp = 3 .
IF (fcaregrp = 0 & fo_pgrp = 1) fpbigrp = 4 .
EXECUTE .
IF (mcaregrp = 1 & fcaregrp = 1) caregrp = 1 .
IF (mcaregrp = 1 & fcaregrp = 0) caregrp = 2 .
IF (mcaregrp = 0 & fcaregrp = 1) caregrp = 3 .
IF (mcaregrp = 0 & fcaregrp = 0) caregrp = 4 .
EXECUTE .
IF (mo_pgrp = 1 & fo_pgrp = 0) o_pgrp = 1 .
IF (mo_pgrp = 1 & fo_pgrp = 1) o_pgrp = 2 .
IF (mo_pgrp = 0 & fo_pgrp = 0) o_pgrp = 3 .
IF (mo_pgrp = 0 & fo_pgrp = 1) o_pgrp = 4 .
EXECUTE .
IF (Mpbigrp < 4 & fpbigrp < 4) pbiacgr = 4 .
IF (Mpbigrp = 4 & fpbigrp < 4) pbiacgr = 2 .
IF (Mpbigrp < 4 & fpbigrp = 4) pbiacgr = 3 .
IF (Mpbigrp = 4 & fpbigrp = 4) pbiacgr = 1 .
EXECUTE .
COMPUTE mpbicxop = mpbicare * mpbio_p .
VARIABLE LABELS mpbixop 'PBI - mothers care times overprotection' .
EXECUTE .
COMPUTE fpbicxop = fpbicare * fpbio_p .
VARIABLE LABELS fpbicxop 'PBI - fathers care times overprotection' .
EXECUTE .