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