Description Usage Arguments Value See Also Examples
View source: R/lognormal_common.R
Runs Asymmetric Gaussian MCMC with a common mean structure accross the groups
1 2 | lognormal_common(y, x, count, group, priors, niter = 2000, nchains = 3,
nclusters = nchains, burnin = niter/2, thin = 10)
|
y |
response variable which follows binomial dist |
x |
explanatory variable |
count |
n in binomial dist |
group |
groups of response |
priors |
list of priors |
niter |
number of interations to be run (default=2000) |
nchains |
number of chains to be run (default=3) |
nclusters |
number of clusters to be used (default=nchains) |
burnin |
number of samples to be used as burnin (technically adaption, see link below) |
thin |
when you want to thin (default=10) |
A MCMC object
http://www.mikemeredith.net/blog/2016/Adapt_or_burn.htm
1 2 3 4 | priors <- list()
priors$vm
priors$mx
priors$vs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.