'Returns the log partial likelihood function evaluated at
`params`.'

def loglike(self, params):

    if (self.ties == 'breslow'):
        return self.breslow_loglike(params)
    elif (self.ties == 'efron'):
        return self.efron_loglike(params)
