Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!y10g2000prg.googlegroups.com!not-for-mail
From: Mehdi <zeidouni@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Problem with chi2pdf command
Date: Tue, 20 Oct 2009 06:56:10 -0700 (PDT)
Organization: http://groups.google.com
Lines: 9
Message-ID: <6424e579-857f-4338-9eed-3c1cec652721@y10g2000prg.googlegroups.com>
NNTP-Posting-Host: 136.159.250.61
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1256046970 29820 127.0.0.1 (20 Oct 2009 13:56:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 20 Oct 2009 13:56:10 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: y10g2000prg.googlegroups.com; posting-host=136.159.250.61; 
	posting-account=ChACEQoAAAA8AqGZA8k-AHZJR_ViGrOl
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.14) 
	Gecko/2009082707 Firefox/3.0.14 GTB5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:578701


Hello everyone:
I am using the command below to find the probability of chi-square
larger than 0.0052 with 1 degree of freedom: chi2pdf(0.0052,1)
for this I am getting a probability of 5.5164 which is larger than 1
(the probability should vary between 0 and 1). Any comment on this is
much appreciated.

Yours,
Mehdi