View source: R/exp_4_sampler.R
base_rejection_sampler_exp_4 | R Documentation |
Sample for base level (samples of exp(-(beta*(x-mean)^4)/2))
base_rejection_sampler_exp_4( beta, mean = 0, nsamples, proposal_mean, proposal_sd, dominating_M )
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 |
return_name return description
base_rejection_sampler_exp_4(beta = 1/2, nsamples = 100000, proposal_mean = 0, proposal_sd = 1, dominating_M = 1.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.