Skip to content

Likelihood ratio test for comparing MCMC sample means to a known value.

License

Notifications You must be signed in to change notification settings

tpapp/MCMC_LR_Tests.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCMC_LR_Test

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Build Status Coverage Status codecov.io

Compare the mean and covariance of a MCMC sample to a known value using a likelihood ratio test with a p-value.

For unit testing MCMC software. The returned p-values should be treated as a distance measure that has a distribution that is not too far away from the uniform, but the latter is not guaranteed. Simple testing can assert that p-values are bigger than a certain threshold, more complex testing can compare quantiles. See the docstrings of the exported functions mean_LR_pvalue and cov_LR_pvalue, and the unit tests.

References

Bai, Z., Jiang, D., Yao, J. F., & Zheng, S. (2009). Corrections to LRT on large-dimensional covariance matrix by RMT. The Annals of Statistics, 3822-3840.

Vats, D., Flegal, J. M., & Jones, G. L. (2015). Multivariate output analysis for Markov chain Monte Carlo. arXiv preprint arXiv:1512.07713.

About

Likelihood ratio test for comparing MCMC sample means to a known value.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages