betafunctions (version 1.2.2)

rBetaMS: Random Draw from the Standard Beta PDD With Specific Mean and Variance.

Description

Draws random samples of observations from the Standard Beta probability density distribution with defined mean and variance.

Usage

rBetaMS(n, mean, var = NULL, sd = NULL)

Arguments

n

Number of observations to be drawn from under the Standard Beta PDD.

mean

The mean of the target Standard Beta probability density distribution.

var

The variance of the target Standard Beta probability density distribution.

sd

The standard deviation of the target Standard probability density distribution.

Value

A vector of length n, each value representing a random draw from the Standard Beta probability density distribution with defined mean and variance.