Re: [R] Problems with R2WinBUGS

2008-04-18 Thread isabella
Hello, Further to my previous e-mail, I think I know why I am having problems with the initialization of model parameters in R2WinBUGS. My model.bug file contains a portion of code which defines some pairwise odds ratios (e.g., or[1,2], or[1,3], or[1,4], or[2,3], or[2,4],

Re: [R] Problems with R2WinBUGS

2008-04-17 Thread isabella
Dear Ben, Thank you very much for your reply to my R2WinBUGS query. As requested, I am attaching the following files to this e-mail: 1) The .odc file containing the WinBUGS code I am trying to run from R. The nodes to be monitored for posterior inference are: T, best, d, lor,

[R] Problems with R2WinBUGS

2008-04-16 Thread isabella
Hello, I am trying to use R2WinBUGS to conduct a mixed treatment comparison (MTC) analysis. On the surface, it seems to me that I am following the correct steps: (1) reading the data into R, (2) specifying initial values for the parameters in the model and (3) fitting the model

Re: [R] Problems with R2WinBUGS

2008-04-16 Thread Ben Bolker
isabella at ghement.ca writes: Hello, I am trying to use R2WinBUGS to conduct a mixed treatment comparison (MTC) analysis. Thank you in advance for any help you may be able to provide! Can you please provide your model.bug file? Ben Bolker