.meanStd2Beta {RGAP}R Documentation

Converts the mean and standard deviation of a (possibly scaled) Beta-distributed variable into the two shape parameters \alpha and \beta.

Description

Converts the mean and standard deviation of a (possibly scaled) Beta-distributed variable into the two shape parameters \alpha and \beta.

Usage

.meanStd2Beta(m, std, lb = 0, ub = 1)

Arguments

m

mean parameter

std

standard deviation

lb

lower bound

ub

upper bound

Value

A vector with shape parameters \alpha and \beta.


[Package RGAP version 0.1.1 Index]