*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*
*
* where Y is a beta random variable with parameters k+1 and n-k.
*
- * Reference:
- *
+ * Reference:
+ *
* W. Feller, "An Introduction to Probability and Its
* Applications," volume 1. Wiley, 1968. Exercise 45, page 173,
* chapter 6.
*/
-#include <config.h>
#include <math.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_errno.h>
b = (double) n - k;
P = gsl_cdf_beta_Q( p, a, b);
}
-
+
return P;
}
double