Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ - critical values probability distribution

were can I find reliable code for critical values for probability distributions? For instance, F critical values for the fisher test... ?

Thanks for any relevant reference.

like image 932
kiriloff Avatar asked Apr 23 '12 09:04

kiriloff


1 Answers

The Boost Math Toolkit contains the F distribution. To get critical values, use the quantile non-member function. If you can't use any third party tools, then you are in for a lot of work since most distributions do not have a closed form analytical expression for critical values. E.g. the normal distribution requires numerical integration.

like image 175
TemplateRex Avatar answered Sep 23 '22 13:09

TemplateRex