critical value of a statistic test

20 views (last 30 days)
I need to calculate the critical value of a test statistics for a given data, in order to detect gross errors in a thermodynamic system.
Does anybody know how to do this? Is there any tool to calculate this value?
Thank you!
  2 Comments
José-Luis
José-Luis on 8 Sep 2014
Depends. What do you want to test? More details are needed to keep us from guessing.
Josep
Josep on 9 Sep 2014
Edited: Josep on 9 Sep 2014
Okay! I have a thermodynamic system with 53 measured variables and I am doing a gross error detection. For this, I have to compute an equation (a test statistics), for the combination of all the variables. If the value of the test is higher than the critical value, than it means that in this combination it would probably be an error. I have computed the test statistics for all the combinations for one variable, but now I need the critical value to compare and analyse the results. Here I attach you my code if you want.
Thank you!

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 8 Sep 2014
That depends on how the test statistics are distributed. If you know that, then you use the appropriate probability distribution and the value of the test statistic to get the probability. The critical value of the probability is generally considered to be p = 0.05.
  19 Comments
Josep
Josep on 10 Sep 2014
I have achieved all the results of the test to de detect gross errors in the system, only for the combination of one variable. I attach here the results, is it possible to achieve the same values of the test for different variables? the critical value is 25, so here I can see we have lots of errors in the variables, do you think I can trust the test?
I have also estimated the magnitude of the gross errors, if the result is negative, it means that I don't have a gross error in the variable?
Star Strider
Star Strider on 10 Sep 2014
I can only speak to the chi-squared results. If the critical value for the chi-square statistic is 25 (assuming alpha = 0.05), those values greater than 25 simply mean that their probabilities of being accounted for by chance are individually <0.05. They are significantly different from the expected value at alpha = 0.05. But that’s all you can say about them.
I don’t know how to interpret the rest of your data. I have no idea what the ‘gross errors’ mean, or how to interpret them. Sorry.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!