Path: news.mathworks.com!not-for-mail
From: Ting <Ting_noreply@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: cdf of mixture distributions?
Date: Tue, 14 Oct 2008 15:23:28 -0400
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <gd2rjg$lj8$1@fred.mathworks.com>
References: <6d5ff2bf-cf4a-4163-a293-5dcad79478ed@v56g2000hsf.googlegroups.com>
NNTP-Posting-Host: sut.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1224012208 22120 172.31.57.42 (14 Oct 2008 19:23:28 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Oct 2008 19:23:28 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
In-Reply-To: <6d5ff2bf-cf4a-4163-a293-5dcad79478ed@v56g2000hsf.googlegroups.com>
Xref: news.mathworks.com comp.soft-sys.matlab:495157


perfreem@gmail.com wrote:
> hello all,
> 
> is there a generic way to compute the cdf of bimodal distributions,
> say, a mixture of gaussians in matlab? example: p*normpdf(10, 5) + (1-
> p)*normpdf(10, 6). how can i get the cdf of this result, aside from
> brute force binning and summing?
> 
> thank yous.

The statistical toolbox in Matlab supports computing CDF for mixture of 
Gaussian. See GMDISTRIBUTION and GMDISTRIBUTION/CDF.

-Ting Su
Mathworks