]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Update the MCMC-Laplace Readme.md file. 54/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 16 Apr 2019 23:19:39 +0000 (17:19 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 16 Apr 2019 23:19:39 +0000 (17:19 -0600)
MCMC-Laplace/Readme.md

index 2b0a14b00148360d8a750fc760340e6ce9160b04..094ef227e861f2ab34fe51b4d6447531e049b7b1 100644 (file)
@@ -223,3 +223,17 @@ representation of this random seed, so that it is safe to run the same
 program multiple times at the same time in the same directory, with
 each running program writing a different sequence of samples into
 separate files.
+
+The end result of the program is a file that contains the
+samples. Each line has 66 entries:
+- The first entry is the logarithm of the (non-normalized) posterior
+  probability of the sample; because the posterior is only known up to
+  a normalization constant, the absolute value is not relevant, but
+  the relative values of different samples are informative.
+- The second entry is the number of samples accepted up to this
+  point. By counting how many lines one is into a given file (i.e.,
+  counting the total number of samples up to this point), this number
+  is useful to compute the acceptance rate of the Metropolis-Hastings
+  algorithm.
+- The remaining 64 numbers are the entries of the current sample
+  vector.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.