Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85326

Re: Monte Carlo probability calculation in Python

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 <python-python-list@m.gmane.org>
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 <sturla.molden@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18529.1423312244.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


Paul  Moore <p.f.moore@gmail.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Monte Carlo probability calculation in Python Paul  Moore <p.f.moore@gmail.com> - 2015-02-05 08:20 -0800
  Re: Monte Carlo probability calculation in Python Joel Goldstick <joel.goldstick@gmail.com> - 2015-02-05 11:27 -0500
    Re: Monte Carlo probability calculation in Python Paul  Moore <p.f.moore@gmail.com> - 2015-02-05 08:33 -0800
      Re: Monte Carlo probability calculation in Python Sturla Molden <sturla.molden@gmail.com> - 2015-02-07 12:30 +0000
  Re: Monte Carlo probability calculation in Python Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-02-05 16:56 +0000
    Re: Monte Carlo probability calculation in Python Paul  Moore <p.f.moore@gmail.com> - 2015-02-05 11:25 -0800
      Re: Monte Carlo probability calculation in Python Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-02-05 20:56 +0000
      Re: Monte Carlo probability calculation in Python Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-05 14:00 -0700
        Re: Monte Carlo probability calculation in Python Paul  Moore <p.f.moore@gmail.com> - 2015-02-05 15:02 -0800
          Re: Monte Carlo probability calculation in Python Paul  Moore <p.f.moore@gmail.com> - 2015-02-06 14:54 -0800
            Re: Monte Carlo probability calculation in Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-07 10:49 +1100
              Re: Monte Carlo probability calculation in Python Paul  Moore <p.f.moore@gmail.com> - 2015-02-09 13:57 -0800
                Re: Monte Carlo probability calculation in Python Paul  Moore <p.f.moore@gmail.com> - 2015-02-10 06:40 -0800

csiph-web