| 1 |
<?xml version="1.0" standalone="yes"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
<beast> |
| 8 |
|
| 9 |
|
| 10 |
|
| 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 |
|
| 59 |
<expectation name="param" value="4.48168907"/> |
| 60 |
</traceAnalysis> |
| 61 |
|
| 62 |
</beast> |