Identifying marginal and conditional distributions