adapt_seq: Adaptive tempering helper function

Description Usage Arguments Value

Description

Adaptive tempering helper function

Usage

1
adapt_seq(temp, temp0, N, mt, mut, lambdat, G, cnew, snew, y)

Arguments

temp

current temperature

temp0

previous temperature

N

Monte Carlo sample size

mt

current sample of mass, vector of size N

mut

current sample of signal strength parameter, vector of size N

lambdat

current sample of baclground paths, array of dimensions N*length(G)

G

grid over mass range

cnew

matrix of signal normalizing constants - dimensions are (size of grid G)by(number of categories/channels,41)

snew

matrix of signal widths, same dimensions as cnew

y

vector of observations

Value

current temperature to attain an effective sample size of N/2


sgolchi/BPD documentation built on May 19, 2019, 3:05 a.m.