Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[51e927]: classic-bugs / vol1 / seeds / test4.cmd Maximize Restore History

Download this file

test4.cmd    19 lines (18 with data), 480 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
/* SEEDS example with uniform prior on the standard deviation of the
random effects. The autocorrelation is smaller than for other
parameterizations, allowing a shorter run.
*/
model in "seedsuni.bug"
data in "seeds-data.R"
load glm
compile, nchains(2)
inits in "seeds-init.R"
initialize
update 5000
monitor set alpha0 , thin(10)
monitor set alpha1 , thin(10)
monitor set alpha2 , thin(10)
monitor set alpha12 , thin(10)
monitor set sigma , thin(10)
update 10000
coda *