From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3F9LMvm003997 for ; Fri, 15 Apr 2011 11:21:26 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQAAFkNqE2TnAFakWdsb2JhbACETpNzjT8UAQEBAQkLCwcUBSCyKpEigSmDTXgEkWw X-IronPort-AV: E=Sophos;i="4.64,217,1301868000"; d="scan'208";a="92920484" Received: from postin.uv.es ([147.156.1.90]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Apr 2011 11:21:25 +0200 Received: from post.uv.es (grajo.ci.uv.es [147.156.0.253]) by postin.uv.es (8.14.3/8.14.3) with ESMTP id p3F9LN2a005864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 15 Apr 2011 11:21:24 +0200 Received: from [172.22.69.225] (hx-dnat-244.ebi.ac.uk [193.62.194.244]) (authenticated bits=0) by post.uv.es (8.14.4/8.14.4) with ESMTP id p3F9LNfr030924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 15 Apr 2011 11:21:23 +0200 Message-ID: <4DA80E52.8040404@uv.es> Date: Fri, 15 Apr 2011 10:22:26 +0100 From: Miguel Pignatelli User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: caml-list@inria.fr References: <1302799455.8429.1240.camel@thinkpad> In-Reply-To: <1302799455.8429.1240.camel@thinkpad> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Userflux: User e-mail Flow checked by Userflux X-RelayDelay-Mem: Whitelisted relay grajo.ci.uv.es [147.156.0.253]. Not delayed Subject: [Caml-list] Gaussian probability Hi all, Maybe this is a long shot, but... I have a gaussian (normal) distribution defined by its mean and std deviation and I want to know the probability of a given known point in the curve. I have followed the formula given in [1] but I realized that there are cases where P > 1. After struggling myself for a while I realized that that formula expresses the probability *density* distribution that happens that can be > 1. Are you aware of any module in ocaml to calculate the probability [0