lognormal_indep: lognormal_indep

Description Usage Arguments Value See Also Examples

View source: R/lognormal_indep.R

Description

Runs Asymmetric Gaussian MCMC with an independent mean structure accross the groups

Usage

1
2
lognormal_indep(y, x, count, group, priors, niter = 2000, nchains = 3,
  nclusters = nchains, burnin = niter/2, thin = 10)

Arguments

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)

Value

A MCMC object

See Also

http://www.mikemeredith.net/blog/2016/Adapt_or_burn.htm

Examples

1
2
3
4
priors <- list()
priors$vm
priors$mx
priors$vs

nulloa/functform documentation built on May 27, 2019, 12:12 p.m.