Re: [R] Censoring in R2OpenBUGS

2015-02-15 Thread arnabkm2007
+s789695n4703197...@n4.nabble.com wrote: On 12.02.2015 16:05, arnabkm2007 wrote: Hi, I am trying to run the following model for OpenBUGS and want to use R2OpenBUGS package. The model specifies weibull distribution for censored data. weibull.model - function() { for(i

Re: [R] Genrating Ordinal Responses in R

2015-02-14 Thread arnabkm2007
Thank you very much JS Huang. It helps. Thanks Regards, Arnab Arnab Kumar Maity Graduate Teaching Assistant Division of Statistics Northern Illinois University DeKalb, IL 60115 Email: ma...@math.niu.edu Ph: 779-777-3428 On Fri, Feb 13, 2015 at 5:03 PM, JS Huang [via R]

[R] Censoring in R2OpenBUGS

2015-02-12 Thread arnabkm2007
Hi, I am trying to run the following model for OpenBUGS and want to use R2OpenBUGS package. The model specifies weibull distribution for censored data. weibull.model - function() { for(i in 1:n) { exp.alpha[i] ~ dgamma(a.alpha, b.alpha) alpha[i] -