Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[1771d5]: classic-bugs / vol2 / eyes / test2.cmd Maximize Restore History

Download this file

test2.cmd    20 lines (17 with data), 528 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
/* We put a restriction on the mixture model, so that each group has at
least one observation. This is done by *pretending* that we have
some extra data: a censored indicator of the number of observations
in each group that tells us that there is at least one member.
This may or may not be cheating.
*/
model in "eyes2.bug"
data in "eyes-data.R"
compile, nchains(2)
parameters in "eyes-inits.R"
initialize
update 1000
monitor P, thin(20)
monitor lambda, thin(20)
monitor sigma, thin(20)
update 40000
coda *