Factors affecting family structure