base_rejection_sampler_exp_4: Rejection sampler for base level

Description Usage Arguments Value Examples

View source: R/rejection_sampler_exp_4.R

Description

Sample for base level (samples of exp(-(beta*(x-mean)^4)/2))

Usage

1
2
base_rejection_sampler_exp_4(beta, mean = 0, nsamples, proposal_mean,
  proposal_sd, dominating_M)

Arguments

beta

real value between 0 and 1

mean

mean value, defaults to 0

nsamples

number of samples per node

proposal_mean

mean of proposal density for rejection sampler

proposal_sd

st.dev of proposal density for rejection sampler

dominiating_M

constant M to bound the target density

Value

return_name return description

Examples

1
base_rejection_sampler_exp_4(beta = 1/2, nsamples = 100000, proposal_mean = 0, proposal_sd = 1, dominating_M = 1.3)

rchan26/exp4FusionRCPP documentation built on Nov. 6, 2019, 7:01 p.m.