JAGS
1 program
Added 2026-02-11T13:55:56Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Just Another Gibbs Sampler
Provenance: commit 5ed8bb0569 · authored 2026-02-11T14:56:52+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Linear Regression
Provenance: commit 5ed8bb0569 · authored 2026-02-11T14:56:52+01:00 · agent claude-code · model sonnet · WebSearch disabled
model {
# Likelihood
for (i in 1:N) {
y[i] ~ dnorm(mu[i], tau)
mu[i] <- alpha + beta * x[i]
}
# Priors
alpha ~ dnorm(0, 0.001)
beta ~ dnorm(0, 0.001)
tau ~ dgamma(0.001, 0.001)
sigma <- 1 / sqrt(tau)
}