acc: acc

View source: R/acc.R

accR Documentation

acc

Description

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

Usage

acc(old, new)

Arguments

old

a numeric value

new

a numeric value

Details

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

Value

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


psc documentation built on June 8, 2025, 10:16 a.m.