Beta {distributions3}R Documentation

Create a Beta distribution

Description

Create a Beta distribution

Usage

Beta(alpha = 1, beta = 1)

Arguments

alpha

The alpha parameter. alpha can be any value strictly greater than zero. Defaults to 1.

beta

The beta parameter. beta can be any value strictly greater than zero. Defaults to 1.

Value

A beta object.

See Also

Other continuous distributions: Cauchy(), ChiSquare(), Erlang(), Exponential(), FisherF(), Frechet(), GEV(), GP(), Gamma(), Gumbel(), LogNormal(), Logistic(), Normal(), RevWeibull(), StudentsT(), Tukey(), Uniform(), Weibull()

Examples


set.seed(27)

X <- Beta(1, 2)
X

random(X, 10)

pdf(X, 0.7)
log_pdf(X, 0.7)

cdf(X, 0.7)
quantile(X, 0.7)

mean(X)
variance(X)
skewness(X)
kurtosis(X)

cdf(X, quantile(X, 0.7))
quantile(X, cdf(X, 0.7))

[Package distributions3 version 0.2.1 Index]