def METHOD_NAME(self, nsamples: PositiveInteger = None):
    """
    Run the Bayesian inference procedure, i.e., sample from the parameter posterior distribution.
    This function calls the :meth:`run` method of the :py:attr:`.sampler` attribute to generate samples from the
    parameter posterior distribution.
    :param nsamples: Number of samples used in :class:`.MCMC`/:class:`.ImportanceSampling`.  In case an
     :class:`.ImportanceSampling` method is used to perform the parameter estimation, then `nsamples` equal to the
     total number of samples. In case an :class:`.MCMC` sampler is used, and the given `nsamples` is not a multiple
     of `n_chains`, then `nsamples` is set to the next largest integer that is a multiple of  `nchains`.
    """
    self.sampler.METHOD_NAME(nsamples=nsamples)
    self.logger.info("UQpy: Parameter estimation with " + self.sampler.__class__.__name__
                     + " completed successfully!")