
25 May
2007
25 May
'07
midnight
Hi, I'm trying to upgrade some software to use boost 1.34 from an earlier version, but I'm stuck on this particular function because I don't understand statistics. #include <boost/integer.hpp> #include <boost/random/gamma_distribution.hpp> inline double alpha_value(int df, double chisq) { if (chisq < 0.0 || df < 1) { return 0.0; } return boost::math::gamma_Q(((double)df) / 2.0, chisq / 2.0); } Does anyone know the equivalent way of doing this in 1.34? Thanks -John