continue-generic: Continuing estimation.

continueR Documentation

Continuing estimation.

Description

Generic function, that given the results of an estimation procedure (ex. MCMC or maximum likelihood optimization) continues the procedure for some more iterations.

Usage

continue(object, ...)

## S4 method for signature 'smcmc'
continue(object, niter = object@niter, nsim = object@nsim,
  propCov = object@propCov, targetRate = object@targetRate,
  recompute = object@recompute, multicore = object@multicore,
  ncores = object@ncores, cluster = NULL, control = object@control, ...)

Arguments

object

An object representing the results of an estimation procedure which we wish to continue. For example it might represents an MCMC chain.

...

additional arguments to be passed to slik function, see slik.

niter

see smcmc-class.

nsim

see smcmc-class.

propCov

see smcmc-class.

targetRate

see smcmc-class.

recompute

see smcmc-class.

multicore

see smcmc-class.

ncores

see smcmc-class.

cluster

an object of class c("SOCKcluster", "cluster"). This allowes the user to pass her own cluster, which will be used if multicore == TRUE. The user has to remember to stop the cluster.

control

see smcmc-class.

Details

When is("smcmc", object) == TRUE continues MCMC estimation of an object of class smcmc. All input parameters are defaulted to the corresponding slots in the input object, with the exception of cluster. The chain restarts were it ended, burn-in is set to zero, the same prior (if any) is used.

Value

An object of the same class as object, where the results of the estimation have been updated.

See Also

For examples, see smcmc-class.


synlik documentation built on March 7, 2023, 8:39 p.m.