Path: news.mathworks.com!not-for-mail
From: "wang wang" <pligly@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: chi-square two sample test
Date: Thu, 12 Jun 2008 05:08:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <g2qavh$399$1@fred.mathworks.com>
References: <g2ls65$p3u$1@fred.mathworks.com> <g2lvan$1a3$1@fred.mathworks.com> <g2ntgq$r5e$1@fred.mathworks.com> <g2onqt$rmv$2@fred.mathworks.com>
Reply-To: "wang wang" <pligly@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1213247281 3369 172.30.248.37 (12 Jun 2008 05:08:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 12 Jun 2008 05:08:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1407754
Xref: news.mathworks.com comp.soft-sys.matlab:473415



Peter Perkins <Peter.PerkinsRemoveThis@mathworks.com> 
wrote in message <g2onqt$rmv$2@fred.mathworks.com>...
> wang wang wrote:
> 
> >  Peter&#65292;thanks for your reply.The parametric 
distribution 
> > which I used to fit the data set does not have an 
> > analytical expression.Only it's characteristic 
function is 
> > known.So I think maybe I can use the two sample test.I 
> > donnot know whether this is correct, please tell me if 
> > it's wrong.
> 
> My question would be, "what's your second sample?"

Thank you Peter,the second sample can be generated from 
the specific distribution whose parameters are estimated 
from the data set.This sample can be seen as come from the 
specific distribution,then maybe the chi-square two sample 
test can be used to test whether the generated sample and 
the original data set come from a common distribution