Learn R Programming

ActuDistns (version 2.0)

dbetad: Beta pdf

Description

Computes the pdf of the beta distribution

Usage

dbetad(x, a = 1, b = 1)

Arguments

x
scale or vector of values at which the pdf needs to be computed, values must be in the unit interval
a
the value of a parameter, must be positive
b
the value of b parameter, must be positive

Value

  • An object of the same length as x, giving the pdf values computed at x

References

S. Nadarajah, S. A. A. Bakar, Tabulations of survival models for actuarial use, submitted

Examples

Run this code
x=runif(10,min=0,max=1)
y=dbetad(x)

Run the code above in your browser using DataLab