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


Groups > comp.lang.python > #38090

Re: Maximum Likelihood Estimation

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <oscar.j.benjamin@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:sourceforge': 0.03; 'failing': 0.05; 'scipy': 0.05; 'linear': 0.07; 'parameter': 0.07; 'python': 0.09; 'analytic': 0.09; 'compute': 0.09; 'list).': 0.09; 'suggest': 0.11; 'url:)': 0.13; 'modules,': 0.16; 'to:name:python list': 0.16; 'with?': 0.16; 'wrote:': 0.17; 'mathematical': 0.17; '(or': 0.18; 'parameters': 0.20; 'trying': 0.21; 'assuming': 0.22; 'example': 0.23; '(you': 0.23; 'seems': 0.23; 'header:In-Reply- To:1': 0.25; 'topic': 0.27; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'probability': 0.29; 'case,': 0.29; 'lists': 0.31; 'asking': 0.32; 'problem': 0.33; 'to:addr:python- list': 0.33; 'likely': 0.33; 'agree': 0.34; 'received:google.com': 0.34; 'whatever': 0.35; 'problem,': 0.35; 'solving': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'url:org': 0.36; 'subject:: ': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'google': 0.39; 'skip:" 10': 0.40; 'your': 0.60; 'dedicated': 0.61; 'kind': 0.61; 'maximum': 0.63; 'more': 0.63; 'choose': 0.65; 'kindly': 0.67; '2013': 0.84; 'discrete': 0.84; 'estimation': 0.84; 'optimisation': 0.84; 'oscar': 0.84; 'mean.': 0.91; 'luck': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=2Kd1hKfEPOktKQBNjKi/xkYIAKYFPvs9meJLlX1AQjk=; b=WqYRnuV5/StLjcZByTzrdvWXAoL12L8skQymG4Bs/XAxLNbBhljWvWblHsx+4QS3f+ 9zANh9hW/7tpekq9c2Dcf57YK/qXQQEIjTKzHqaqb5fcT8D9SihG/Gr5IB7PGl07l17E 7ttIiXKcGOGaajTTdv+bpp0zeOLLjdyFUwnsw7KL+yLX1pHsQCDutO2zahRG3T/ZWV3c CTRUMv4vt131iQAPUK7DmoPUSCekC8wPkAM52mH+s1ZvqFYv3nR5Wvy3r+/3hSr9LF4H AbS+V52mzdu84Cid7FK+E5HQ3OPoT0I1dEXn3j+PwKe/Y4vWa0K78gjAGzUZOpYZ0JPR pdFA==
MIME-Version 1.0
X-Received by 10.112.11.105 with SMTP id p9mr6104610lbb.129.1359841272214; Sat, 02 Feb 2013 13:41:12 -0800 (PST)
In-Reply-To <20130202192609.0257968c157cdabdde805114@gmx.net>
References <e7aa8874-3692-4e32-ba52-5f4719761c24@googlegroups.com> <20130202192609.0257968c157cdabdde805114@gmx.net>
Date Sat, 2 Feb 2013 21:41:12 +0000
Subject Re: Maximum Likelihood Estimation
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
To Python List <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1302.1359841280.2939.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1359841280 news.xs4all.nl 6885 [2001:888:2000:d::a6]:35403
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38090

Show key headers only | View raw


On 2 February 2013 18:26, Wolfgang Keller <feliphil@gmx.net> wrote:
>> I am looking for a Python implementation of Maximum Likelihood
>> Estimation. If any one can kindly suggest. With a google search it
>> seems scipy,numpy,statsmodels have modules, but as I am not finding
>> proper example workouts I am failing to use them.
>
> For statistics I would suggest using R (http://www.r-project.org/)
> through RPy (http://rpy.sourceforge.net/).
>
> Both have dedicated mailinglists as well as extensive documentation.

I agree with Wolfgang that R is likely to be able to do what you want
and that you may have better luck asking this kind of question on
their mailing lists (or on the scipy mailing list).

In any case, though, you will need to be more specific about what you
mean. Maximum Likelihood Estimation (MLE) is a sufficiently vague
topic that there cannot really be an "implementation" of it. What kind
of model/data are you working with? Or are you working with pure
probability distributions? What kind of parameters are you trying to
find? Are the parameters you are trying to choose discrete or
continuous? Are you trying to find one parameter or several
simultaneously? Are you able to find an analytic solution that
transforms your MLE problem into a specific kind of mathematical
problem, such as solving a system of linear equations?

Assuming that you are able to compute directly the likelihood (or
log-likelihood) of whatever it is you are interested in, then your MLE
problem is simply an optimisation problem, so you may have better luck
searching for implementations of optimisation (you will still need to
answer the questions above to be able choose an optimisation method).


Oscar

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


Thread

Maximum Likelihood Estimation subhabangalore@gmail.com - 2013-02-01 09:17 -0800
  Re: Maximum Likelihood Estimation 88888 Dihedral <dihedral88888@googlemail.com> - 2013-02-01 09:37 -0800
    Re: Maximum Likelihood Estimation subhabangalore@gmail.com - 2013-02-01 10:47 -0800
      Re: Maximum Likelihood Estimation Michael Torrie <torriem@gmail.com> - 2013-02-01 11:59 -0700
      Re: Maximum Likelihood Estimation Jerry Hill <malaclypse2@gmail.com> - 2013-02-01 14:14 -0500
      RE: Maximum Likelihood Estimation tkhan10 <tkhan10@masonlive.gmu.edu> - 2013-02-01 19:01 +0000
        RE: Maximum Likelihood Estimation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-02 10:12 +1100
      Re: Maximum Likelihood Estimation 88888 Dihedral <dihedral88888@googlemail.com> - 2013-02-01 11:55 -0800
  Re: Maximum Likelihood Estimation subhabangalore@gmail.com - 2013-02-01 20:53 -0800
  Re: Maximum Likelihood Estimation Wolfgang Keller <feliphil@gmx.net> - 2013-02-02 19:26 +0100
    Re: Maximum Likelihood Estimation Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-02-02 21:41 +0000

csiph-web