Dear list-members:
I got the error message:
**** m2rts: case selector error: 17 ****
time for Abort
Could some one of you explain to me what this error message means?
Thanks,
Martin Felix
[log in to unmask]
Department of Statistics
Penn State University
The program I was trying to run is the following:
Bugs>compile("surviv.bug")
model survival;
const
k=3, k1=4;
var
ns, #sample size
p[k1], #multinomial prob
n[k1], #multinomial counts
s[k]; #survival prob
data in "survival.dat";
inits in "survivalS.in";
{
s[1] ~ dunif(0,1);
s[2] ~ dunif(0,1);
s[3] ~ dunif(0,1);
p[1] <- 1/(1+s[1]+s[1]*s[2]+s[1]*s[2]*s[3]);
p[2] <- s[1]/(1+s[1]+s[1]*s[2]+s[1]*s[2]*s[3]);
p[3] <- (s[1]*s[2])/(1+s[1]+s[1]*s[2]+s[1]*s[2]*s[3]);
p[4] <- (s[1]*s[2]*s[3])/(1+s[1]+s[1]*s[2]+s[1]*s[2]*s[3]);
n[ ] ~ dmulti(p[],ns);
}
Parsing model declarations.
Loading data value file(s).
Parsing model specification.
Checking model graph for directed cycles.
Generating code.
Generating sampling distributions.
Generating initial values
Checking model specification.
Choosing update methods.
compilation took 00:00:00
Bugs>update(1)
**** m2rts: case selector error: 17 ****
time for Abort
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|