CHI2GOF test response



Hi,

I'm trying to perform a chi2test and I'm not able to
interpret the result of tis function.

Here is the console window (lat is my test distribution):

nf = normfit(lat);
[h,p, stats] = chi2gof(lat,'cdf',@(x) normcdf(x,nf),
'nbins', 30, 'nparams',2)

h = 0
p = NaN
stats =

chi2stat: 1.3047e+003
df: 0
edges: [189.5294 225.3531 547.7660]
O: [3104 1893]
E: [1.8685e+003 3.1285e+003]

------------------

I don't understand how p could be "NaN" when h is equal to 0
(hypothesis not rejected).

If someone could help me it will be great.

Thanks.

Gael.
.



Relevant Pages

  • clutter modeling techniques
    ... I am a newbie in stats and mostly work in digital electronics. ... one of my recent jobs is clutter modeling, ... Clutter modeling is the term used in radar/sonar ... options that can give best results, should the distribution is known. ...
    (sci.stat.math)
  • Re: clutter modeling techniques
    ... > I am a newbie in stats and mostly work in digital electronics. ... Clutter modeling is the term used in radar/sonar ... > options that can give best results, should the distribution is known. ... chi-square test and KS test ...
    (sci.stat.math)
  • Re: clutter modeling techniques
    ... > I am a newbie in stats and mostly work in digital electronics. ... Clutter modeling is the term used in radar/sonar ... > options that can give best results, should the distribution is known. ... you can use maximum likelihood estimation to ...
    (sci.stat.math)
  • Re: WOW : BC Delayed until Jan 07
    ... T3 gear will be a lot more ... they've reworked the distribution of stats so you can't really compare ... there are mid-60 quest reward blue weapons that have stats similar ...
    (comp.sys.ibm.pc.games.rpg)