Learn R Programming

psc (version 1.2.0)

acc: acc

Description

Function to accept (or not) a proposed solution used as part of the MCMC procedure

Usage

acc(old, new)

Value

returns the an evaluation of old/new > U where U is a draw from the uniform distribution

Arguments

old

a numeric value

new

a numeric value

Details

A function for the evaluation of two likelihoods as part of the MCMC procedure