rBeta.4P

0th

Percentile

Random Number Generation under the Four-Parameter Beta Probability Density Distribution.

Function for generating random numbers from a specified Four-Parameter Beta Distribution.

Usage
rBeta.4P(n, l, u, alpha, beta)
Arguments
n

Number of draws.

l

The first (lower) location parameter.

u

The second (upper) location parameter.

alpha

The first shape parameter.

beta

The second shape parameter.

Value

A vector with length n of random values drawn from the Four-Parameter Beta Distribution.

• rBeta.4P
Examples
# NOT RUN {
# Assume some variable follows a four-parameter beta distribution with
# location parameters l = 0.25 and u = .75, and shape
# parameters alpha = 5 and beta = 3. To draw a random
# value from this distribution using rBeta.4P():
rBeta.4P(n = 1, l = .25, u = .75, alpha = 5, beta = 3)
# }

Documentation reproduced from package betafunctions, version 1.2.2, License: CC0

Community examples

Looks like there are no examples yet.