Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'mathematics': 0.05; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'seemed': 0.09; '(another': 0.16; 'example).': 0.16; 'pointers.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'statistics.': 0.16; 'wrote:': 0.18; 'numerical': 0.19; 'header:User-Agent:1': 0.23; 'paul': 0.24; 'header:X-Complaints-To:1': 0.27; 'topic': 0.29; "i'm": 0.30; '(which': 0.31; 'yes.': 0.31; 'this.': 0.32; 'probably': 0.32; 'quite': 0.32; 'bugs': 0.33; "i'd": 0.34; 'problem': 0.35; 'something': 0.35; 'convert': 0.35; 'there': 0.35; 'really': 0.36; 'described': 0.36; 'grateful': 0.36; 'integration': 0.37; 'application': 0.37; 'turn': 0.37; 'solving': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'above,': 0.60; 'chain': 0.60; 'simply': 0.61; 'kind': 0.63; 'such': 0.63; 'received:178': 0.74; 'emcee': 0.84; 'hardcore': 0.84; 'monte': 0.84; 'simulation.': 0.84; 'lot,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Sturla Molden Subject: Re: Monte Carlo probability calculation in Python Date: Sat, 7 Feb 2015 12:30:28 +0000 (UTC) References: <63f603bc-431c-45e6-a496-0a28132f99d6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: ip-155-53-72-178.dialup.ice.net User-Agent: NewsTap/4.0.1 (iPad) X-: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423312244 news.xs4all.nl 2902 [2001:888:2000:d::a6]:52923 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3872 X-Received-Body-CRC: 3239237665 Xref: csiph.com comp.lang.python:85326 Paul Moore wrote: > > Yes. And a number of other variations. None gave anything that seemed to > relate. It's quite likely though that I'm simply not understanding how > things like pymc (which came up in the searches) might help me, or how to > convert my problem into a Monte Carlo integration problem (another topic > that came up a lot, for example). So if there are specific links from > such a search that match well to the problem as I described it above, I'd > be really grateful for pointers. PyMC and emcee are used for solving complicated integrals that often turn up in Bayesian statistics. They have the same usecase as the R-like application BUGS (WinBUGS). If you don't know what Markov Chain Monte Carlo, Gibbs sampler or Metropolis-Hastings means you probably don't want this. It is rather hardcore numerical mathematics for solving a particular problem (multidimensional integrals that are not analytically tractable), not something you would use for any kind of Monte Carlo simulation. Sturla