Debian Codegraph @

examples/TestXML/testLognormalPrior.xml

raw symbols SCIP
1 <?xml version="1.0" standalone="yes"?>
2 <!-- Generated by BEAUTi v1.4.5 -->
3 <!-- by Alexei J. Drummond and Andrew Rambaut -->
4 <!-- Department of Computer Science, University of Auckland and -->
5 <!-- Institute of Evolutionary Biology, University of Edinburgh -->
6 <!-- http://beast.bio.ed.ac.uk/ -->
7 <beast>
8
9 <!-- This is a simple constant population size coalescent model -->
10 <!-- that is used to generate an initial tree for the chain. -->
11 <constantSize id="demo" units="substitutions">
12 <populationSize>
13 <parameter id="param" value="6.0"/>
14 </populationSize>
15 </constantSize>
16
17 <operators id="operators">
18 <scaleOperator scaleFactor="0.75" weight="1">
19 <parameter idref="param"/>
20 </scaleOperator>
21 </operators>
22
23 <dummyLikelihood id="likelihood">
24 <constantSize idref="demo"/>
25 </dummyLikelihood>
26
27 <mcmc id="mcmc" chainLength="1000000" autoOptimize="true">
28 <posterior id="posterior">
29 <prior id="prior">
30 <logNormalPrior mean="1" stdev="1" offset="0.0" meanInRealSpace="false">
31 <parameter idref="param"/>
32 </logNormalPrior>
33 </prior>
34 <likelihood>
35 <dummyLikelihood idref="likelihood"/>
36 </likelihood>
37 </posterior>
38
39 <operators idref="operators"/>
40 <log id="screenLog" logEvery="10000">
41 <column label="Posterior" dp="4" width="12">
42 <posterior idref="posterior"/>
43 </column>
44 </log>
45 <log id="fileLog" logEvery="100" fileName="testLogNormalPrior.log">
46 <posterior idref="posterior"/>
47 <parameter idref="param"/>
48 </log>
49 </mcmc>
50
51 <report>
52 <property name="timer">
53 <object idref="mcmc"/>
54 </property>
55 </report>
56
57 <traceAnalysis fileName="testLogNormalPrior.log" burnIn="1000">
58 <!-- the expectation of a lognormal with mean and stdev in log space of 1,1 is e^1.5 -->
59 <expectation name="param" value="4.48168907"/>
60 </traceAnalysis>
61
62 </beast>