Library: | distribs |
See also: | cdfn2 pdfn2 cdfb2 pdfb2 cdfbin2 pdfbin2 cdfchi2 pdfchi2 cdff2 pdff2 cdft2 pdft2 |
Quantlet: | cdfb2 | |
Description: | Cdfb2 returns the values of the beta-distribution function with parameters a and b for the elements of an array. |
Usage: | y=cdfb2(x,a,b) | |
Input: | ||
x | input array | |
a | a scalar or an array of the same dimension as x containing the parameter a for beta-distribution | |
b | a scalar or an array of the same dimension as x containing the parameter b for beta-distribution | |
Output: | ||
y | output array, it contains the values of the specified beta-distribution function for the elements of array x |
library("distribs") a=#(0.5, 0.4)~#(0.01, 1)~#(-1,2) cdfb2(a, 0.5, 1.5)
Contents of y [1,] 0.81831 0.12711 0 [2,] 0.74778 1 1