Chi-squared test

I'm trying to do a chi squared test in matlab and can't figure out how to do it.
I want something like this to show up in the results of matlab:

these are the chi squared values at 0.995 and 0.005 for value 6.

Im doing the test against a Variance factor which i have already worked out. But not sure on how to get the chi-squared values and then graph and test it, to say whether it passes or fails/

Thanks all for any help you can provide cheers


  • If I understood your problem the test passes when the statistic Y lies on those values that you indicated and fails otherwise.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion