WebBUGS
Conducting Bayesian Analysis Online Using BUGS
WebBUGS
>>
Main page
Recent changes
Syntax
History
Built-in models:3PL
!BUGS code {{ model{ for (i in 1:N){ for (j in 1:T){ p[i,j]<-c[j]+(1-c[j])/(1+exp(-alpha[j]*(theta[i]-beta[j]))) y[i,j]~dbern(p[i,j]) } theta[i]~dnorm(0,1) } for (j in 1:T){ alpha[j]~dnorm(0,.0001) beta[j]~dnorm(0, .0001) c[j]~dnorm(0,.001) } } }}
Password
Summary of changes
Powered by
LionWiki
. Last changed: 2014/11/12 02:49
Erase cookies
Syntax
History
WebBUGS