betaRootA: Find shape1 (alpha) Parameter of Beta Distribution for Given...

Description Usage Arguments Value Examples

Description

Given a user-specified mean value, betaRootA uses uniroot to find the shape1 (alpha) parameter of the distribution that will give that mean. Parameter shape2 may also be given as user input, but has a default value of 1.

Usage

1

Arguments

mean

the mean of the beta distribution

beta

beta parameter of the beta distribution

Value

numeric value

Examples

1
betaRootA(mean = 0.95, beta = 20)

smitdave/MASH documentation built on May 30, 2019, 5:02 a.m.