Print

Print


Hello, folks.

I have come across an error message when I compile the model with the data
that I cannot resolve.  The error message is as follows:

                    "variable not defined or not data for p.dc"

Now, p.dc is a parameter for the binormal distribution.  It relates to a
data variable dc[] which contains frequency counts or NA for total dropouts
from a placebo control group for trial i.  The relevant section of the
WinBugs program is

                     dc[i]~dbin(p.dc[i],nc[i]);

I have a similar statement for dt[] which does not generate the error
statement.  The comparable statement for the distribution of dt[] appears
before the one for dc[] in the WinBugs program and the data column for dt[]
proceeds dc[] in the data file.  I have looked for typographical errors in
both the program and the data without finding an error.

Does anyone have any suggestions about what might cause this error message.

Thank you.

John Cornell

****************************************************************************
*************************************************
Expectation, hope, intention towards possibility that has still not become:
this is not only a basic feature of human consciousness, but, concretely
corrected and grasped, a basic determination within objective reality as
a whole.

  --Ernst Bloch
  --The Principle of Hope (Vol. 1)





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%