code: def _logpdf(self, **kwargs):
          
          if kwargs in self:
              return numpy.log(self._pdf(**kwargs))
          else:
              return -numpy.inf
docs: Returns the log of the pdf at the given values. The keyword
          arguments must contain all of parameters in self's params. Unrecognized
          arguments are ignored.