Hello! I have boost libraries and I need quantile of F-distribution.
But unfortunatelty I've havent found an example of it on the internet.
As for the normal distribution it was
1 2 3
#include <boost/math/distributions/normal.hpp>
boost::math::normal dist(0.0, 1.0);
double z = quantile(dist, 1-5/100);
For F-distribution it should be someting like that with two degree of fredom and probability.
1 2 3
#include <boost/math/distributions/fisher_f.hpp>
boost::math::fisher_f dist(0.0, 1.0);
double z = quantile(dist, 0.95);