Generalized convexity properties of marginal functions