Re: [R] R2WinBugs and Compare DIC versus BIC or AIC

2007-01-15 Thread Dae-Jin Lee
Thanks for your answer ! But If I have understood correctly, the procedure is correct and this only means that I have already generated the initial values From R. I define a function to generate the initial values as: inits. - function(){list(sdesp=runif(1),sdhet=runif(1),beta0=runif(1),

Re: [R] R2WinBugs and Compare DIC versus BIC or AIC

2007-01-15 Thread Uwe Ligges
Dae-Jin Lee wrote: Thanks for your answer ! But If I have understood correctly, the procedure is correct and this only means that I have already generated the initial values From R. I define a function to generate the initial values as: inits. -

Re: [R] R2WinBugs and Compare DIC versus BIC or AIC

2007-01-13 Thread Uwe Ligges
Dae-Jin Lee wrote: Dear All 1) I'm fitting spatial CAR models using R2Winbugs and although everything seems to go reasonably well (or I think so) the next message appears from WINBUGS 1.4 window: gen.inits() Command #Bugs: gen.inits cannot be executed (is greyed out) greyed

[R] R2WinBugs and Compare DIC versus BIC or AIC

2007-01-12 Thread Dae-Jin Lee
Dear All 1) I'm fitting spatial CAR models using R2Winbugs and although everything seems to go reasonably well (or I think so) the next message appears from WINBUGS 1.4 window: gen.inits() Command #Bugs: gen.inits cannot be executed (is greyed out) The question is if this message means that