This repository has been archived by the owner on May 30, 2024. It is now read-only.
Non-standard definition of density function for Gaussian distribution #67
Labels
bug
Something isn't working
In the documentation the expression given for the density of the Gaussian distribution assumed for the observation model
demcmc/doc/explanation/dem_theory.md
Line 70 in a6d184a
omits a factor of 2 in the denominator of the term inside the exponential compared to the usual definition of the probability density function for a Gaussian distribution - that is I think the more usual definition would be
This is also reflected in the implementation of the log probability density passed to
emcee
demcmc/src/demcmc/mcmc.py
Lines 29 to 31 in a6d184a
While this will still give a proper (normalizable) probability density function and so shouldn't cause problems when running MCMC, it does mean the$\sigma_i$ parameters no longer can be interpreted as the standard deviation of the observation noise (but are instead $\sqrt{2}$ times the standard deviation), which could be confusing. It might be this is just a different notational convention which is standard for this application, but if so it might be worth adding an explanatory note to the documentation to avoid possibility of confusing people like me who are more used to the $\sigma_i$ being the standard deviation!
The text was updated successfully, but these errors were encountered: