Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Fitting CDF of Beta distribution data
Date: Tue, 20 May 2008 18:07:03 +0000 (UTC)
Organization: AIR Worldwide Corp
Lines: 17
Message-ID: <g0v407$9e9$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1211306823 9673 172.30.248.35 (20 May 2008 18:07:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 20 May 2008 18:07:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1076536
Xref: news.mathworks.com comp.soft-sys.matlab:469526



Right now I am fitting the CDF data using the normal
distribution via the GLMFIT. Are there any way I can do the
same fitting but assuming the BETA distribution.

The current code I am using to fit Normal CDF data is as
shown below:
x = [0.1294;0.2211;0.3779;0.5559;0.7034;0.8901;1.1263;];
y = [0;0;0.004;0.007;0.029;0.078;0.192;];

Y    = roundn( [y*100  100*ones(length(y), 1)], 0);
b    = glmfit( x, Y, 'binomial', 'link', 'probit'); 

% Equivalent Normal parameters are (From Tom Lane):
mean   = -b(1)/b(2);
stdDev = 1/b(2);

Thank you very much for your help,