Learn R Programming

BNPdensity (version 2023.3.8)

rprop_logu: Proposal distribution for logU

Description

This function makes a proposal for a new value of logU

Usage

rprop_logu(logu, delta)

Arguments

logu

Real, log of the latent variable U at the current iteration.

delta

Scale of the Metropolis-Hastings proposal distribution