A smooth subclass of graphical models for chain graph: towards measuring gender gaps