asg_mix: asg_mix

Description Usage Arguments Value See Also Examples

View source: R/asg_mix.R

Description

Runs Asymmetric Gaussian MCMC with a mixed season mean structure accross the groups

Usage

1
2
asg_mix(y, x, count, group, season, priors, niter = 4000, nwarmup = niter/2,
  nchains = 3, thin = 1, inits = NULL)

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=4000)

nchains

number of chains to be run (default=3)

thin

when you want to thin (default=1)

inits

Add specific initial values

nwarmiup

number of iterations to be used as warmup (see link below)

Value

A MCMC object

See Also

http://mc-stan.org/users/documentation/

Examples

1
2
3
priors <- list()
priors$m0
priors$C0

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