search for: dp_norm

Displaying 1 result from an estimated 1 matches for "dp_norm".

Did you mean: lp_norm
2010 Apr 08
1
a small question about R with Winbugs
...,y2,y3) N=nrow(y) C=6 theta0=as.vector(c(0,0)) S2=matrix(c(1,0,0,2),nrow=2) S3=matrix(c(1,0,0,1),nrow=2) data=list("y","N","C","theta0","S2","S3") inits=function(){list(alpha=rgamma(1,1.5,1),theta=mvrnorm(1,theta0,S2),T=rwish(3,S3),K=6)} dp_norm.sim=bugs(data,inits,model.file="dp_norm.txt",parameters=c("alpha","K"), n.chains=1,n.iter=500,n.burnin=50,n.thin=1,bugs.directory="C:/Program Files/WinBUGS14/",codaPkg=T,debug=T) -- View this message in context: http://n4.nabble.com/a-small-question-abo...