powered by
Bugs model for count response variable \(X \sim \mathcal{Pois}(\lambda)\).
pois_bugs(nodename, nodesintercept, parentnames, parentcoefs)pois_bugsGroup(nodename, nodesintercept, parentnames, parentcoefs, sigma_alpha)
pois_bugsGroup(nodename, nodesintercept, parentnames, parentcoefs, sigma_alpha)
Bugs model returned as stdout.
character string of response variable name.
overall mean of response. Parameter from fixed-effects intercept.
single character string (for one parent) or vector of characters (for multiple parent nodes) with parent node (predictor variables) names.
overall slope for each predictor (parent node) variable (fixed-effects).
between-group variance. Parameter from random-effects intercept.
pois_bugsGroup(): Bugs code for Poisson response with varying intercept
pois_bugsGroup()
makebugs simulateAbn
pois_bugs(nodename = "a", parentnames = c("b", "c"), nodesintercept = c(0.318077), parentcoefs = list("b"=c(b=0.3059395), "c"=c(c=0.5555)))
Run the code above in your browser using DataLab