likelihood functions of distributions