daily and writeup deriving marginal likelihood