Hi.
I and my colleagues are having difficulty in using probit()
as a function (it works fine as a link). This is not only in
WinBUGS (where there is a listed error) but also in Classic
Bugs Ver 0.6. Anyone else had this problem.
To test it I personally used:
model dummy;
var x, p;
{
p ~ dunif(0.5,0.55);
x <- probit(p);
}
Which falls over with one of Bugs's characteristically
obscure error messages: **** gp.rts: case selector error:
54 ****
Compare this with putting the log function in, which works
perfectly.
Hoping I am doing something ridiculous.
Good luck to all (we need it!)
Brian
----------------------
Brian McArdle
[log in to unmask]
(64)9 3737599 X5845
Fax (64)9 3737018
Department of Statistics
University of Auckland
Private Bag 92019
Auckland
New Zealand
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|