Skip to main content

MCMC demo

programming
simulation
statistics
Published

March 29, 2021

This is a tiny demo of the MCMC algorithm from the emcee library, which computes the posterior for some parameters based on the likelihood function and priors on the parameters.

100%|██████████| 100/100 [00:00<00:00, 168.91it/s]
1.962706921253352 0.04570914440079373