Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 16579

BUGS is an acronym for Bayesian inference Using Gibbs Sampling; BUGS is also a software package for doing this. Use for all versions of BUGS, also WINBUGS and OpenBUGS.

3 votes
Accepted

Bayesian estimation of Dynamic Linear Models with RStan

It is perhaps easier to emphasize what models the Stan and the BUGS family cannot estimate. … Stan cannot estimate models with discrete unknowns, and the BUGS family cannot estimate models that cannot be written in the form of a Directed Acyclic Graph. …
Ben Goodrich's user avatar
  • 2,008
23 votes

How can I model a proportion with BUGS/JAGS/STAN?

Greg Snow gave a great answer. For completeness, here is the equivalent in Stan syntax. Although Stan has a beta distribution that you could use, it is faster to work out the logarithm of the beta den …
Ben Goodrich's user avatar
  • 2,008
2 votes
Accepted

Observed function of hidden random variables

A Gamma-distributed random variable that is multiplied by a constant is Gamma-distributed with the same shape and a new scale (see Wikipedia). So $T_j \times n_j$ is Gamma-distributed with shape $\alp …
Ben Goodrich's user avatar
  • 2,008